diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt index 47609446..ecdebf7e 100644 --- a/3rdpartylicenses.txt +++ b/3rdpartylicenses.txt @@ -25,69 +25,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: dayjs -License: "MIT" - -MIT License - -Copyright (c) 2018-present, iamkun - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -------------------------------------------------------------------------------- Package: @angular/service-worker License: "MIT" --------------------------------------------------------------------------------- -Package: js-base64 -License: "BSD-3-Clause" - -Copyright (c) 2014, Dan Kogai -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of {{{project}}} nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -------------------------------------------------------------------------------- Package: zone.js License: "MIT" @@ -196,6 +138,32 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-------------------------------------------------------------------------------- +Package: dayjs +License: "MIT" + +MIT License + +Copyright (c) 2018-present, iamkun + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + -------------------------------------------------------------------------------- Package: tslib License: "0BSD" diff --git a/404.html b/404.html index aae91566..ef66743d 100644 --- a/404.html +++ b/404.html @@ -8,11 +8,11 @@ - + - + diff --git a/auth.module-GISTRWXJ.js b/auth.module-P2MDSZ43.js similarity index 97% rename from auth.module-GISTRWXJ.js rename to auth.module-P2MDSZ43.js index 6e8c8e0d..863307de 100644 --- a/auth.module-GISTRWXJ.js +++ b/auth.module-P2MDSZ43.js @@ -1,4 +1,4 @@ -import{a as G}from"./chunk-GLURFALA.js";import{a as Fe}from"./chunk-KAVP63DH.js";import{a as Re,e as Oe,h as De,j as Pe}from"./chunk-MHK45Q7K.js";import{$a as ee,Ba as g,Ca as w,Da as v,Db as ue,Ea as p,Eb as ge,Fa as d,Fb as _e,Ga as a,Ha as h,Ib as fe,Jb as U,Lc as C,Mc as Te,Na as y,Nc as W,Oc as Ae,Pa as K,Pc as Se,Qa as Z,Qb as xe,R as Y,Ra as J,Tb as ve,U as b,Ua as I,Va as T,W as me,X as f,Xa as l,Xc as q,Y as u,Yb as O,Yc as ie,Z as le,Zb as X,a as se,ac as ye,bb as te,bc as Ce,eb as pe,fa as x,ga as $,gb as N,hb as z,hd as we,ia as Q,jb as ce,jd as Ie,ka as P,na as L,nb as V,oa as he,ob as j,oc as Me,qa as S,qb as B,sa as k,tb as F,uc as Ee,ud as re,va as s,vb as R,wa as ke,yb as be,za as E}from"./chunk-LCFD4RLU.js";import"./chunk-OPXGAHDX.js";var Ge=["input"],He=["label"];var Ne=new P("mat-checkbox-default-options",{providedIn:"root",factory:ze});function ze(){return{color:"accent",clickAction:"check-indeterminate"}}var Ye=0,Le=ze(),$e=Se(W(Ae(Te(class{constructor(r){this._elementRef=r}})))),Ve=(()=>{let e=class extends $e{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=O(t)}constructor(t,c,i,n,m,M,A){super(c),this._changeDetectorRef=i,this._ngZone=n,this._animationMode=M,this._options=A,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new ce,this.indeterminateChange=new ce,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Le,this.color=this.defaultColor=this._options.color||Le.color,this.tabIndex=parseInt(m)||0,this.id=this._uniqueId=`${t}${++Ye}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(t){let c=O(t);c!=this.checked&&(this._checked=c,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){let c=O(t);c!==this.disabled&&(this._disabled=c,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){let c=t!=this._indeterminate;this._indeterminate=O(t),c&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_transitionCheckState(t){let c=this._currentCheckState,i=this._getAnimationTargetElement();if(!(c===t||!i)&&(this._currentAnimationClass&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(c,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);let n=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(n)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let t=this._options?.clickAction;!this.disabled&&t!=="noop"?(this.indeterminate&&t!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent()):!this.disabled&&t==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(t){t.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(t,c){if(this._animationMode==="NoopAnimations")return"";switch(t){case 0:if(c===1)return this._animationClasses.uncheckedToChecked;if(c==3)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return c===1?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return c===2?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return c===1?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(t){let c=this._inputElement;c&&(c.nativeElement.indeterminate=t)}},r=e;return(()=>{e.\u0275fac=function(c){ke()}})(),(()=>{e.\u0275dir=le({type:e,viewQuery:function(c,i){if(c&1&&(j(Ge,5),j(He,5),j(q,5)),c&2){let n;V(n=B())&&(i._inputElement=n.first),V(n=B())&&(i._labelElement=n.first),V(n=B())&&(i.ripple=n.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[E]})})(),r})();var oe=(()=>{let e=class{},r=e;return(()=>{e.\u0275fac=function(c){return new(c||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=b({})})(),r})();var Qe=function(r){return{enterDuration:r}},Ke=["*"],ne=class{},Ze={provide:Re,useExisting:Y(()=>ae),multi:!0},ae=(()=>{let e=class extends Ve{constructor(t,c,i,n,m,M,A){super("mat-checkbox-",t,c,n,m,M,A),this._focusMonitor=i,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(t){let c=new ne;return c.source=this,c.checked=t,c}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(t){t.stopPropagation(),super._handleInputClick()}focus(t,c){t?this._focusMonitor.focusVia(this._inputElement,t,c):this._inputElement.nativeElement.focus(c)}},r=e;return(()=>{e.\u0275fac=function(c){return new(c||e)(s(S),s(R),s(Me),s(F),Q("tabindex"),s(L,8),s(Ne,8))}})(),(()=>{e.\u0275cmp=f({type:e,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(c,i){c&2&&(ee("id",i.id),g("tabindex",null)("aria-label",null)("aria-labelledby",null),T("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before",i.labelPosition=="before")("_mat-animation-noopable",i._animationMode==="NoopAnimations"))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[te([Ze]),E],ngContentSelectors:Ke,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(c,i){if(c&1&&(Z(),d(0,"label",0,1)(2,"span",2)(3,"input",3,4),y("change",function(m){return i._onInteractionEvent(m)})("click",function(m){return i._onInputClick(m)}),a(),d(5,"span",5),h(6,"span",6),a(),h(7,"span",7),d(8,"span",8),x(),d(9,"svg",9),h(10,"path",10),a(),$(),h(11,"span",11),a()(),d(12,"span",12,13),y("cdkObserveContent",function(){return i._onLabelTextChange()}),d(14,"span",14),l(15,"\xA0"),a(),J(16),a()()),c&2){let n=v(1),m=v(13);g("for",i.inputId),k(2),T("mat-checkbox-inner-container-no-side-margin",!m.textContent||!m.textContent.trim()),k(1),p("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),g("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),k(2),p("matRippleTrigger",n)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",pe(18,Qe,i._animationMode==="NoopAnimations"?0:150))}},dependencies:[q,ye],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})})(),r})(),je=(()=>{let e=class{},r=e;return(()=>{e.\u0275fac=function(c){return new(c||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=b({imports:[ie,C,Ce,oe,C,oe]})})(),r})();var Be=new P("mat-progress-spinner-default-options",{providedIn:"root",factory:et});function et(){return{diameter:tt}}var tt=100;function it(r,e){if(r&1&&(x(),h(0,"circle",4)),r&2){let o=K(),t=v(1);I("animation-name","mat-progress-spinner-stroke-rotate-"+o._spinnerAnimationLabel)("stroke-dashoffset",o._getStrokeDashOffset(),"px")("stroke-dasharray",o._getStrokeCircumference(),"px")("stroke-width",o._getCircleStrokeWidth(),"%")("transform-origin",o._getCircleTransformOrigin(t)),g("r",o._getCircleRadius())}}function rt(r,e){if(r&1&&(x(),h(0,"circle",4)),r&2){let o=K(),t=v(1);I("stroke-dashoffset",o._getStrokeDashOffset(),"px")("stroke-dasharray",o._getStrokeCircumference(),"px")("stroke-width",o._getCircleStrokeWidth(),"%")("transform-origin",o._getCircleTransformOrigin(t)),g("r",o._getCircleRadius())}}var Ue=100,ot=10,nt=W(class{constructor(r){this._elementRef=r}},"primary"),at=` +import{a as G}from"./chunk-2P62XVQM.js";import{a as Fe}from"./chunk-NZ3JMIKG.js";import{a as Re,e as Oe,h as De,j as Pe}from"./chunk-AJ5EX2ND.js";import{$a as te,$b as Ce,Aa as w,Ba as v,Bb as ue,Ca as p,Cb as ge,Da as d,Db as _e,Ea as a,Fa as h,Gb as fe,Hb as U,Jc as C,Kc as Te,La as y,Lc as W,Mc as Ae,Na as K,Nc as Se,Oa as Z,Ob as xe,P as Y,Pa as J,Rb as ve,S as b,Sa as I,Ta as T,U as me,V as f,Va as l,Vc as q,W as u,Wb as O,Wc as ie,X as le,Xb as X,Za as ee,_b as ye,a as se,cb as pe,da as x,ea as $,eb as N,fb as z,fd as we,ga as Q,hb as ce,hd as Ie,ia as P,la as L,lb as V,ma as he,mb as j,mc as Me,oa as S,ob as B,qa as k,rb as F,sc as Ee,sd as re,ta as s,tb as R,ua as ke,wb as be,xa as E,za as g}from"./chunk-HFIM43UT.js";import"./chunk-OPXGAHDX.js";var Ge=["input"],He=["label"];var Ne=new P("mat-checkbox-default-options",{providedIn:"root",factory:ze});function ze(){return{color:"accent",clickAction:"check-indeterminate"}}var Ye=0,Le=ze(),$e=Se(W(Ae(Te(class{constructor(r){this._elementRef=r}})))),Ve=(()=>{let e=class extends $e{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(t){this._required=O(t)}constructor(t,c,i,n,m,M,A){super(c),this._changeDetectorRef=i,this._ngZone=n,this._animationMode=M,this._options=A,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new ce,this.indeterminateChange=new ce,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Le,this.color=this.defaultColor=this._options.color||Le.color,this.tabIndex=parseInt(m)||0,this.id=this._uniqueId=`${t}${++Ye}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(t){let c=O(t);c!=this.checked&&(this._checked=c,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){let c=O(t);c!==this.disabled&&(this._disabled=c,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){let c=t!=this._indeterminate;this._indeterminate=O(t),c&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_transitionCheckState(t){let c=this._currentCheckState,i=this._getAnimationTargetElement();if(!(c===t||!i)&&(this._currentAnimationClass&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(c,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);let n=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(n)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let t=this._options?.clickAction;!this.disabled&&t!=="noop"?(this.indeterminate&&t!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent()):!this.disabled&&t==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(t){t.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(t,c){if(this._animationMode==="NoopAnimations")return"";switch(t){case 0:if(c===1)return this._animationClasses.uncheckedToChecked;if(c==3)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return c===1?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return c===2?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return c===1?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(t){let c=this._inputElement;c&&(c.nativeElement.indeterminate=t)}},r=e;return(()=>{e.\u0275fac=function(c){ke()}})(),(()=>{e.\u0275dir=le({type:e,viewQuery:function(c,i){if(c&1&&(j(Ge,5),j(He,5),j(q,5)),c&2){let n;V(n=B())&&(i._inputElement=n.first),V(n=B())&&(i._labelElement=n.first),V(n=B())&&(i.ripple=n.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[E]})})(),r})();var oe=(()=>{let e=class{},r=e;return(()=>{e.\u0275fac=function(c){return new(c||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=b({})})(),r})();var Qe=function(r){return{enterDuration:r}},Ke=["*"],ne=class{},Ze={provide:Re,useExisting:Y(()=>ae),multi:!0},ae=(()=>{let e=class extends Ve{constructor(t,c,i,n,m,M,A){super("mat-checkbox-",t,c,n,m,M,A),this._focusMonitor=i,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(t){let c=new ne;return c.source=this,c.checked=t,c}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(t){t.stopPropagation(),super._handleInputClick()}focus(t,c){t?this._focusMonitor.focusVia(this._inputElement,t,c):this._inputElement.nativeElement.focus(c)}},r=e;return(()=>{e.\u0275fac=function(c){return new(c||e)(s(S),s(R),s(Me),s(F),Q("tabindex"),s(L,8),s(Ne,8))}})(),(()=>{e.\u0275cmp=f({type:e,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(c,i){c&2&&(ee("id",i.id),g("tabindex",null)("aria-label",null)("aria-labelledby",null),T("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before",i.labelPosition=="before")("_mat-animation-noopable",i._animationMode==="NoopAnimations"))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[te([Ze]),E],ngContentSelectors:Ke,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(c,i){if(c&1&&(Z(),d(0,"label",0,1)(2,"span",2)(3,"input",3,4),y("change",function(m){return i._onInteractionEvent(m)})("click",function(m){return i._onInputClick(m)}),a(),d(5,"span",5),h(6,"span",6),a(),h(7,"span",7),d(8,"span",8),x(),d(9,"svg",9),h(10,"path",10),a(),$(),h(11,"span",11),a()(),d(12,"span",12,13),y("cdkObserveContent",function(){return i._onLabelTextChange()}),d(14,"span",14),l(15,"\xA0"),a(),J(16),a()()),c&2){let n=v(1),m=v(13);g("for",i.inputId),k(2),T("mat-checkbox-inner-container-no-side-margin",!m.textContent||!m.textContent.trim()),k(1),p("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),g("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),k(2),p("matRippleTrigger",n)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",pe(18,Qe,i._animationMode==="NoopAnimations"?0:150))}},dependencies:[q,ye],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})})(),r})(),je=(()=>{let e=class{},r=e;return(()=>{e.\u0275fac=function(c){return new(c||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=b({imports:[ie,C,Ce,oe,C,oe]})})(),r})();var Be=new P("mat-progress-spinner-default-options",{providedIn:"root",factory:et});function et(){return{diameter:tt}}var tt=100;function it(r,e){if(r&1&&(x(),h(0,"circle",4)),r&2){let o=K(),t=v(1);I("animation-name","mat-progress-spinner-stroke-rotate-"+o._spinnerAnimationLabel)("stroke-dashoffset",o._getStrokeDashOffset(),"px")("stroke-dasharray",o._getStrokeCircumference(),"px")("stroke-width",o._getCircleStrokeWidth(),"%")("transform-origin",o._getCircleTransformOrigin(t)),g("r",o._getCircleRadius())}}function rt(r,e){if(r&1&&(x(),h(0,"circle",4)),r&2){let o=K(),t=v(1);I("stroke-dashoffset",o._getStrokeDashOffset(),"px")("stroke-dasharray",o._getStrokeCircumference(),"px")("stroke-width",o._getCircleStrokeWidth(),"%")("transform-origin",o._getCircleTransformOrigin(t)),g("r",o._getCircleRadius())}}var Ue=100,ot=10,nt=W(class{constructor(r){this._elementRef=r}},"primary"),at=` @keyframes mat-progress-spinner-stroke-rotate-DIAMETER { 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); } 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); } diff --git a/chunk-GLURFALA.js b/chunk-2P62XVQM.js similarity index 98% rename from chunk-GLURFALA.js rename to chunk-2P62XVQM.js index 4e5d3686..b6f60e0a 100644 --- a/chunk-GLURFALA.js +++ b/chunk-2P62XVQM.js @@ -1 +1 @@ -import{Fa as e,Ga as n,Ha as i,Jb as c,X as l,cb as a,fa as o,gd as d}from"./chunk-LCFD4RLU.js";var Z=(()=>{let C=class{},t=C;return(()=>{C.\u0275fac=function(r){return new(r||C)}})(),(()=>{C.\u0275cmp=l({type:C,selectors:[["rpl-logo"]],standalone:!0,features:[a],decls:34,vars:0,consts:[["width","192","height","192","viewBox","0 0 192 192","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M25 146C26.1046 146 27 145.105 27 144C27 142.895 26.1046 142 25 142C23.8954 142 23 142.895 23 144C23 145.105 23.8954 146 25 146Z","fill","currentColor"],["d","M37 146C38.1046 146 39 145.105 39 144C39 142.895 38.1046 142 37 142C35.8954 142 35 142.895 35 144C35 145.105 35.8954 146 37 146Z","fill","currentColor"],["d","M49 146C50.1046 146 51 145.105 51 144C51 142.895 50.1046 142 49 142C47.8954 142 47 142.895 47 144C47 145.105 47.8954 146 49 146Z","fill","currentColor"],["d","M61 146C62.1046 146 63 145.105 63 144C63 142.895 62.1046 142 61 142C59.8954 142 59 142.895 59 144C59 145.105 59.8954 146 61 146Z","fill","currentColor"],["d","M73 146C74.1046 146 75 145.105 75 144C75 142.895 74.1046 142 73 142C71.8954 142 71 142.895 71 144C71 145.105 71.8954 146 73 146Z","fill","currentColor"],["d","M85 146C86.1046 146 87 145.105 87 144C87 142.895 86.1046 142 85 142C83.8954 142 83 142.895 83 144C83 145.105 83.8954 146 85 146Z","fill","currentColor"],["d","M97 146C98.1046 146 99 145.105 99 144C99 142.895 98.1046 142 97 142C95.8954 142 95 142.895 95 144C95 145.105 95.8954 146 97 146Z","fill","currentColor"],["d","M31 154C32.1046 154 33 153.105 33 152C33 150.895 32.1046 150 31 150C29.8954 150 29 150.895 29 152C29 153.105 29.8954 154 31 154Z","fill","currentColor"],["d","M43 154C44.1046 154 45 153.105 45 152C45 150.895 44.1046 150 43 150C41.8954 150 41 150.895 41 152C41 153.105 41.8954 154 43 154Z","fill","currentColor"],["d","M55 154C56.1046 154 57 153.105 57 152C57 150.895 56.1046 150 55 150C53.8954 150 53 150.895 53 152C53 153.105 53.8954 154 55 154Z","fill","currentColor"],["d","M67 154C68.1046 154 69 153.105 69 152C69 150.895 68.1046 150 67 150C65.8954 150 65 150.895 65 152C65 153.105 65.8954 154 67 154Z","fill","currentColor"],["d","M79 154C80.1046 154 81 153.105 81 152C81 150.895 80.1046 150 79 150C77.8954 150 77 150.895 77 152C77 153.105 77.8954 154 79 154Z","fill","currentColor"],["d","M91 154C92.1046 154 93 153.105 93 152C93 150.895 92.1046 150 91 150C89.8954 150 89 150.895 89 152C89 153.105 89.8954 154 91 154Z","fill","currentColor"],["d","M37 162C38.1046 162 39 161.105 39 160C39 158.895 38.1046 158 37 158C35.8954 158 35 158.895 35 160C35 161.105 35.8954 162 37 162Z","fill","currentColor"],["d","M49 162C50.1046 162 51 161.105 51 160C51 158.895 50.1046 158 49 158C47.8954 158 47 158.895 47 160C47 161.105 47.8954 162 49 162Z","fill","currentColor"],["d","M61 162C62.1046 162 63 161.105 63 160C63 158.895 62.1046 158 61 158C59.8954 158 59 158.895 59 160C59 161.105 59.8954 162 61 162Z","fill","currentColor"],["d","M73 162C74.1046 162 75 161.105 75 160C75 158.895 74.1046 158 73 158C71.8954 158 71 158.895 71 160C71 161.105 71.8954 162 73 162Z","fill","currentColor"],["d","M85 162C86.1046 162 87 161.105 87 160C87 158.895 86.1046 158 85 158C83.8954 158 83 158.895 83 160C83 161.105 83.8954 162 85 162Z","fill","currentColor"],["d","M97 162C98.1046 162 99 161.105 99 160C99 158.895 98.1046 158 97 158C95.8954 158 95 158.895 95 160C95 161.105 95.8954 162 97 162Z","fill","currentColor"],["d","M43 170C44.1046 170 45 169.105 45 168C45 166.895 44.1046 166 43 166C41.8954 166 41 166.895 41 168C41 169.105 41.8954 170 43 170Z","fill","currentColor"],["d","M55 170C56.1046 170 57 169.105 57 168C57 166.895 56.1046 166 55 166C53.8954 166 53 166.895 53 168C53 169.105 53.8954 170 55 170Z","fill","currentColor"],["d","M67 170C68.1046 170 69 169.105 69 168C69 166.895 68.1046 166 67 166C65.8954 166 65 166.895 65 168C65 169.105 65.8954 170 67 170Z","fill","currentColor"],["d","M79 170C80.1046 170 81 169.105 81 168C81 166.895 80.1046 166 79 166C77.8954 166 77 166.895 77 168C77 169.105 77.8954 170 79 170Z","fill","currentColor"],["d","M91 170C92.1046 170 93 169.105 93 168C93 166.895 92.1046 166 91 166C89.8954 166 89 166.895 89 168C89 169.105 89.8954 170 91 170Z","fill","currentColor"],["d","M103 170C104.105 170 105 169.105 105 168C105 166.895 104.105 166 103 166C101.895 166 101 166.895 101 168C101 169.105 101.895 170 103 170Z","fill","currentColor"],["d","M162 26C163.105 26 164 25.1046 164 24C164 22.8954 163.105 22 162 22C160.895 22 160 22.8954 160 24C160 25.1046 160.895 26 162 26Z","fill","currentColor"],["d","M156 34C157.105 34 158 33.1046 158 32C158 30.8954 157.105 30 156 30C154.895 30 154 30.8954 154 32C154 33.1046 154.895 34 156 34Z","fill","currentColor"],["d","M168 34C169.105 34 170 33.1046 170 32C170 30.8954 169.105 30 168 30C166.895 30 166 30.8954 166 32C166 33.1046 166.895 34 168 34Z","fill","currentColor"],["d","M162 42C163.105 42 164 41.1046 164 40C164 38.8954 163.105 38 162 38C160.895 38 160 38.8954 160 40C160 41.1046 160.895 42 162 42Z","fill","currentColor"],["d","M156 50C157.105 50 158 49.1046 158 48C158 46.8954 157.105 46 156 46C154.895 46 154 46.8954 154 48C154 49.1046 154.895 50 156 50Z","fill","currentColor"],["d","M168 50C169.105 50 170 49.1046 170 48C170 46.8954 169.105 46 168 46C166.895 46 166 46.8954 166 48C166 49.1046 166.895 50 168 50Z","fill","currentColor"],["d","M162 22C156.5 22 154 25 154 30.5V50M162 22C167.5 22 170 25 170 30.5V50H154M162 22H105L44.5 22C39 22 36 25 36 30.5L36.5 142M36.5 142H22C22 153 30 170 45 170H127.5M36.5 142H100C100 153 107.5 170 127.5 170M127.5 170C142.5 170 154 153 154 142V50","stroke","currentColor","stroke-width","4"],["d","M96.636 48.72C104.268 48.72 110.316 50.628 114.78 54.444C119.316 58.26 121.584 63.408 121.584 69.888C121.584 76.584 119.316 81.768 114.78 85.44C110.316 89.04 104.268 90.84 96.636 90.84L95.556 91.488H79.032V120H67.584V48.72H96.636ZM95.772 81.876C100.452 81.876 103.908 80.94 106.14 79.068C108.444 77.124 109.596 74.172 109.596 70.212C109.596 66.324 108.444 63.408 106.14 61.464C103.908 59.52 100.452 58.548 95.772 58.548H79.032V81.876H95.772ZM102.576 84.252L125.796 120H112.512L92.64 88.788L102.576 84.252Z","fill","currentColor"]],template:function(r,M){r&1&&(o(),e(0,"svg",0),i(1,"path",1)(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18)(19,"path",19)(20,"path",20)(21,"path",21)(22,"path",22)(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33),n())},dependencies:[c,d],styles:["[_nghost-%COMP%]{display:inline-block;aspect-ratio:1/1}svg[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),t})();export{Z as a}; +import{Da as e,Ea as n,Fa as i,Hb as c,V as l,ab as a,da as o,ed as d}from"./chunk-HFIM43UT.js";var Z=(()=>{let C=class{},t=C;return(()=>{C.\u0275fac=function(r){return new(r||C)}})(),(()=>{C.\u0275cmp=l({type:C,selectors:[["rpl-logo"]],standalone:!0,features:[a],decls:34,vars:0,consts:[["width","192","height","192","viewBox","0 0 192 192","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M25 146C26.1046 146 27 145.105 27 144C27 142.895 26.1046 142 25 142C23.8954 142 23 142.895 23 144C23 145.105 23.8954 146 25 146Z","fill","currentColor"],["d","M37 146C38.1046 146 39 145.105 39 144C39 142.895 38.1046 142 37 142C35.8954 142 35 142.895 35 144C35 145.105 35.8954 146 37 146Z","fill","currentColor"],["d","M49 146C50.1046 146 51 145.105 51 144C51 142.895 50.1046 142 49 142C47.8954 142 47 142.895 47 144C47 145.105 47.8954 146 49 146Z","fill","currentColor"],["d","M61 146C62.1046 146 63 145.105 63 144C63 142.895 62.1046 142 61 142C59.8954 142 59 142.895 59 144C59 145.105 59.8954 146 61 146Z","fill","currentColor"],["d","M73 146C74.1046 146 75 145.105 75 144C75 142.895 74.1046 142 73 142C71.8954 142 71 142.895 71 144C71 145.105 71.8954 146 73 146Z","fill","currentColor"],["d","M85 146C86.1046 146 87 145.105 87 144C87 142.895 86.1046 142 85 142C83.8954 142 83 142.895 83 144C83 145.105 83.8954 146 85 146Z","fill","currentColor"],["d","M97 146C98.1046 146 99 145.105 99 144C99 142.895 98.1046 142 97 142C95.8954 142 95 142.895 95 144C95 145.105 95.8954 146 97 146Z","fill","currentColor"],["d","M31 154C32.1046 154 33 153.105 33 152C33 150.895 32.1046 150 31 150C29.8954 150 29 150.895 29 152C29 153.105 29.8954 154 31 154Z","fill","currentColor"],["d","M43 154C44.1046 154 45 153.105 45 152C45 150.895 44.1046 150 43 150C41.8954 150 41 150.895 41 152C41 153.105 41.8954 154 43 154Z","fill","currentColor"],["d","M55 154C56.1046 154 57 153.105 57 152C57 150.895 56.1046 150 55 150C53.8954 150 53 150.895 53 152C53 153.105 53.8954 154 55 154Z","fill","currentColor"],["d","M67 154C68.1046 154 69 153.105 69 152C69 150.895 68.1046 150 67 150C65.8954 150 65 150.895 65 152C65 153.105 65.8954 154 67 154Z","fill","currentColor"],["d","M79 154C80.1046 154 81 153.105 81 152C81 150.895 80.1046 150 79 150C77.8954 150 77 150.895 77 152C77 153.105 77.8954 154 79 154Z","fill","currentColor"],["d","M91 154C92.1046 154 93 153.105 93 152C93 150.895 92.1046 150 91 150C89.8954 150 89 150.895 89 152C89 153.105 89.8954 154 91 154Z","fill","currentColor"],["d","M37 162C38.1046 162 39 161.105 39 160C39 158.895 38.1046 158 37 158C35.8954 158 35 158.895 35 160C35 161.105 35.8954 162 37 162Z","fill","currentColor"],["d","M49 162C50.1046 162 51 161.105 51 160C51 158.895 50.1046 158 49 158C47.8954 158 47 158.895 47 160C47 161.105 47.8954 162 49 162Z","fill","currentColor"],["d","M61 162C62.1046 162 63 161.105 63 160C63 158.895 62.1046 158 61 158C59.8954 158 59 158.895 59 160C59 161.105 59.8954 162 61 162Z","fill","currentColor"],["d","M73 162C74.1046 162 75 161.105 75 160C75 158.895 74.1046 158 73 158C71.8954 158 71 158.895 71 160C71 161.105 71.8954 162 73 162Z","fill","currentColor"],["d","M85 162C86.1046 162 87 161.105 87 160C87 158.895 86.1046 158 85 158C83.8954 158 83 158.895 83 160C83 161.105 83.8954 162 85 162Z","fill","currentColor"],["d","M97 162C98.1046 162 99 161.105 99 160C99 158.895 98.1046 158 97 158C95.8954 158 95 158.895 95 160C95 161.105 95.8954 162 97 162Z","fill","currentColor"],["d","M43 170C44.1046 170 45 169.105 45 168C45 166.895 44.1046 166 43 166C41.8954 166 41 166.895 41 168C41 169.105 41.8954 170 43 170Z","fill","currentColor"],["d","M55 170C56.1046 170 57 169.105 57 168C57 166.895 56.1046 166 55 166C53.8954 166 53 166.895 53 168C53 169.105 53.8954 170 55 170Z","fill","currentColor"],["d","M67 170C68.1046 170 69 169.105 69 168C69 166.895 68.1046 166 67 166C65.8954 166 65 166.895 65 168C65 169.105 65.8954 170 67 170Z","fill","currentColor"],["d","M79 170C80.1046 170 81 169.105 81 168C81 166.895 80.1046 166 79 166C77.8954 166 77 166.895 77 168C77 169.105 77.8954 170 79 170Z","fill","currentColor"],["d","M91 170C92.1046 170 93 169.105 93 168C93 166.895 92.1046 166 91 166C89.8954 166 89 166.895 89 168C89 169.105 89.8954 170 91 170Z","fill","currentColor"],["d","M103 170C104.105 170 105 169.105 105 168C105 166.895 104.105 166 103 166C101.895 166 101 166.895 101 168C101 169.105 101.895 170 103 170Z","fill","currentColor"],["d","M162 26C163.105 26 164 25.1046 164 24C164 22.8954 163.105 22 162 22C160.895 22 160 22.8954 160 24C160 25.1046 160.895 26 162 26Z","fill","currentColor"],["d","M156 34C157.105 34 158 33.1046 158 32C158 30.8954 157.105 30 156 30C154.895 30 154 30.8954 154 32C154 33.1046 154.895 34 156 34Z","fill","currentColor"],["d","M168 34C169.105 34 170 33.1046 170 32C170 30.8954 169.105 30 168 30C166.895 30 166 30.8954 166 32C166 33.1046 166.895 34 168 34Z","fill","currentColor"],["d","M162 42C163.105 42 164 41.1046 164 40C164 38.8954 163.105 38 162 38C160.895 38 160 38.8954 160 40C160 41.1046 160.895 42 162 42Z","fill","currentColor"],["d","M156 50C157.105 50 158 49.1046 158 48C158 46.8954 157.105 46 156 46C154.895 46 154 46.8954 154 48C154 49.1046 154.895 50 156 50Z","fill","currentColor"],["d","M168 50C169.105 50 170 49.1046 170 48C170 46.8954 169.105 46 168 46C166.895 46 166 46.8954 166 48C166 49.1046 166.895 50 168 50Z","fill","currentColor"],["d","M162 22C156.5 22 154 25 154 30.5V50M162 22C167.5 22 170 25 170 30.5V50H154M162 22H105L44.5 22C39 22 36 25 36 30.5L36.5 142M36.5 142H22C22 153 30 170 45 170H127.5M36.5 142H100C100 153 107.5 170 127.5 170M127.5 170C142.5 170 154 153 154 142V50","stroke","currentColor","stroke-width","4"],["d","M96.636 48.72C104.268 48.72 110.316 50.628 114.78 54.444C119.316 58.26 121.584 63.408 121.584 69.888C121.584 76.584 119.316 81.768 114.78 85.44C110.316 89.04 104.268 90.84 96.636 90.84L95.556 91.488H79.032V120H67.584V48.72H96.636ZM95.772 81.876C100.452 81.876 103.908 80.94 106.14 79.068C108.444 77.124 109.596 74.172 109.596 70.212C109.596 66.324 108.444 63.408 106.14 61.464C103.908 59.52 100.452 58.548 95.772 58.548H79.032V81.876H95.772ZM102.576 84.252L125.796 120H112.512L92.64 88.788L102.576 84.252Z","fill","currentColor"]],template:function(r,M){r&1&&(o(),e(0,"svg",0),i(1,"path",1)(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7)(8,"path",8)(9,"path",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18)(19,"path",19)(20,"path",20)(21,"path",21)(22,"path",22)(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33),n())},dependencies:[c,d],styles:["[_nghost-%COMP%]{display:inline-block;aspect-ratio:1/1}svg[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),t})();export{Z as a}; diff --git a/chunk-XVSFZ2EY.js b/chunk-4ATFR6FD.js similarity index 98% rename from chunk-XVSFZ2EY.js rename to chunk-4ATFR6FD.js index 674e8a74..077ba168 100644 --- a/chunk-XVSFZ2EY.js +++ b/chunk-4ATFR6FD.js @@ -1 +1 @@ -import{a as it,b as Et,c as jt,d as x,e as R,f as Bt,g as lt,h as E,i as _,l as U}from"./chunk-T7HJLGDV.js";import{$a as Zt,A as k,Ac as C,Ba as O,Bc as F,Ca as A,Cc as P,Db as he,Ea as Yt,Ec as ot,Fa as Q,Ga as X,Gc as st,Ha as Ut,Jb as Kt,Jc as Xt,Kc as Jt,La as qt,Lc as N,M as Ct,Na as ct,O as ce,Oa as G,Pa as Dt,Qb as pe,T as b,U as w,Ub as Mt,V as d,W as le,X as v,Xa as kt,Xb as tt,Y as T,Ya as Wt,Z as At,ab as Y,cc as et,d as p,da as Ht,dc as B,ea as zt,ha as $t,hd as fe,j as re,jb as wt,jc as H,jd as ge,ka as g,kc as z,lb as Tt,na as Gt,nb as It,nc as Rt,ob as Ot,oc as $,p as yt,pc as ue,qa as I,qb as St,qc as Qt,sa as K,t as xt,tb as S,ua as f,v as D,va as c,vb as J,wa as de,xc as nt,yb as M,yc as L,za as y,zb as me,zc as at}from"./chunk-LCFD4RLU.js";import{a as h,b as vt}from"./chunk-OPXGAHDX.js";function we(a,i){}var V=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var ut=(()=>{let i=class extends jt{constructor(t,e,n,o,s,r,m,u){super(),this._elementRef=t,this._focusTrapFactory=e,this._config=o,this._interactivityChecker=s,this._ngZone=r,this._overlayRef=m,this._focusMonitor=u,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=j=>{this._portalOutlet.hasAttached();let bt=this._portalOutlet.attachDomPortal(j);return this._contentAttached(),bt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=n}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),e}attachTemplatePortal(t){this._portalOutlet.hasAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),e}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,e){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{t.removeEventListener("blur",n),t.removeEventListener("mousedown",n),t.removeAttribute("tabindex")};t.addEventListener("blur",n),t.addEventListener("mousedown",n)})),t.focus(e)}_focusByCssSelector(t,e){let n=this._elementRef.nativeElement.querySelector(t);n&&this._forceFocus(n,e)}_trapFocus(){let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(e=>{e||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let t=this._config.restoreFocus,e=null;if(typeof t=="string"?e=this._document.querySelector(t):typeof t=="boolean"?e=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(e=t),this._config.restoreFocus&&e&&typeof e.focus=="function"){let n=Mt(),o=this._elementRef.nativeElement;(!n||n===this._document.body||n===o||o.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,e=Mt();return t===e||t.contains(e)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Mt())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(I),c(z),c(M,8),c(V),c(H),c(S),c(E),c($))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(e,n){if(e&1&&Ot(x,7),e&2){let o;It(o=St())&&(n._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,n){e&2&&O("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[y],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){e&1&&A(0,we,0,0,"ng-template",0)},dependencies:[x],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})})(),a})(),dt=class{constructor(i,l){this.overlayRef=i,this.config=l,this.closed=new p,this.disableClose=l.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=l.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!tt(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{l.closeOnOverlayDetachments!==!1&&this.close()})}close(i,l){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=l?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(i),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",l=""){return this.overlayRef.updateSize({width:i,height:l}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}},_e=new g("DialogScrollStrategy"),Te=new g("DialogData"),Ie=new g("DefaultDialogConfig");function Oe(a){return()=>a.scrollStrategies.block()}var Se={provide:_e,deps:[_],useFactory:Oe},Me=0,ft=(()=>{let i=class{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,e,n,o,s,r){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p,this._afterOpenedAtThisLevel=new p,this._ariaHiddenElements=new Map,this.afterAllClosed=yt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ct(void 0))),this._scrollStrategy=r}open(t,e){let n=this._defaultOptions||new V;e=h(h({},n),e),e.id=e.id||`cdk-dialog-${Me++}`,e.id&&this.getDialogById(e.id);let o=this._getOverlayConfig(e),s=this._overlay.create(o),r=new dt(s,e),m=this._attachContainer(s,r,e);return r.containerInstance=m,this._attachDialogContent(t,r,m,e),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.closed.subscribe(()=>this._removeOpenDialog(r,!0)),this.afterOpened.next(r),r}closeAll(){te(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){te(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),te(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let e=new Bt({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachContainer(t,e,n){let o=n.injector||n.viewContainerRef?.injector,s=[{provide:V,useValue:n},{provide:dt,useValue:e},{provide:E,useValue:t}],r;n.container?typeof n.container=="function"?r=n.container:(r=n.container.type,s.push(...n.container.providers(n))):r=ut;let m=new it(r,n.viewContainerRef,f.create({parent:o||this._injector,providers:s}),n.componentFactoryResolver);return t.attach(m).instance}_attachDialogContent(t,e,n,o){if(t instanceof Tt){let s=this._createInjector(o,e,n,void 0),r={$implicit:o.data,dialogRef:e};o.templateContext&&(r=h(h({},r),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),n.attachTemplatePortal(new Et(t,null,r,s))}else{let s=this._createInjector(o,e,n,this._injector),r=n.attachComponentPortal(new it(t,o.viewContainerRef,s,o.componentFactoryResolver));e.componentInstance=r.instance}}_createInjector(t,e,n,o){let s=t.injector||t.viewContainerRef?.injector,r=[{provide:Te,useValue:t.data},{provide:dt,useValue:e}];return t.providers&&(typeof t.providers=="function"?r.push(...t.providers(e,t,n)):r.push(...t.providers)),t.direction&&(!s||!s.get(Qt,null,{optional:!0}))&&r.push({provide:Qt,useValue:{value:t.direction,change:re()}}),f.create({parent:s||o,providers:r})}_removeOpenDialog(t,e){let n=this.openDialogs.indexOf(t);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),e&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let o=e[n];o!==t&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(f),d(Ie,8),d(i,12),d(lt),d(_e))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();function te(a,i){let l=a.length;for(;l--;)i(a[l])}var gt=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=T({type:i})})(),(()=>{i.\u0275inj=w({providers:[ft,Se],imports:[U,R,ue,R]})})(),a})();function Ee(a,i){}var je={bottomSheetState:nt("state",[F("void, hidden",C({transform:"translateY(100%)"})),F("visible",C({transform:"translateY(0%)"})),P("visible => void, visible => hidden",at([L(`${Jt.COMPLEX} ${Xt.ACCELERATION_CURVE}`),st("@*",ot(),{optional:!0})])),P("void => visible",at([L(`${Jt.EXITING} ${Xt.DECELERATION_CURVE}`),st("@*",ot(),{optional:!0})]))])},Be=(()=>{let i=class extends ut{constructor(t,e,n,o,s,r,m,u,j,bt){super(t,e,n,o,s,r,m,bt),this._changeDetectorRef=j,this._animationState="void",this._animationStateChanged=new wt,this._breakpointSubscription=u.observe([B.Medium,B.Large,B.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",u.isMatched(B.Medium)),this._toggleClass("mat-bottom-sheet-container-large",u.isMatched(B.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",u.isMatched(B.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){t.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_captureInitialFocus(){}_toggleClass(t,e){this._elementRef.nativeElement.classList.toggle(t,e)}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(I),c(z),c(M,8),c(V),c(H),c(S),c(E),c(et),c(J),c($))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(e,n){e&1&&G("@state.start",function(s){return n._onAnimationStart(s)})("@state.done",function(s){return n._onAnimationDone(s)}),e&2&&(O("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel),Y("@state",n._animationState))},features:[y],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){e&1&&A(0,Ee,0,0,"ng-template",0)},dependencies:[x],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[je.bottomSheetState]}})})(),a})(),Le=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=T({type:i})})(),(()=>{i.\u0275inj=w({imports:[gt,N,R,N]})})(),a})(),Fe=new g("MatBottomSheetData"),ie=class{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}},Lt=class{get instance(){return this._ref.componentInstance}constructor(i,l,t){this._ref=i,this._afterOpened=new p,this.containerInstance=t,this.disableClose=l.disableClose,t._animationStateChanged.pipe(D(e=>e.phaseName==="done"&&e.toState==="visible"),k(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(D(e=>e.phaseName==="done"&&e.toState==="hidden"),k(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),i.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),xt(this.backdropClick(),this.keydownEvents().pipe(D(e=>e.keyCode===27))).subscribe(e=>{!this.disableClose&&(e.type!=="keydown"||!tt(e))&&(e.preventDefault(),this.dismiss())})}dismiss(i){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(D(l=>l.phaseName==="start"),k(1)).subscribe(l=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},l.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=i,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},Pe=new g("mat-bottom-sheet-default-options"),zi=(()=>{let i=class{get _openedBottomSheetRef(){let t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}constructor(t,e,n,o){this._overlay=t,this._parentBottomSheet=n,this._defaultOptions=o,this._bottomSheetRefAtThisLevel=null,this._dialog=e.get(ft)}open(t,e){let n=h(h({},this._defaultOptions||new ie),e),o;return this._dialog.open(t,vt(h({},n),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:Be,scrollStrategy:n.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:o}),providers:(s,r,m)=>(o=new Lt(s,n,m),[{provide:Lt,useValue:o},{provide:Fe,useValue:n.data}])})),o.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===o&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>o.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):o.containerInstance.enter(),this._openedBottomSheetRef=o,o}dismiss(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(f),d(i,12),d(Pe,8))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:Le})})(),a})();var q=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}};var ve=(()=>{let i=class extends ut{constructor(t,e,n,o,s,r,m,u){super(t,e,n,o,s,r,m,u),this._animationStateChanged=new wt}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(I),c(z),c(M,8),c(q),c(H),c(S),c(E),c($))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["ng-component"]],features:[y],decls:0,vars:0,template:function(e,n){},encapsulation:2})})(),a})();var Ft=class{constructor(i,l,t){this._ref=i,this._containerInstance=t,this._afterOpened=new p,this._beforeClosed=new p,this._state=0,this.disableClose=l.disableClose,this.id=i.id,t._animationStateChanged.pipe(D(e=>e.state==="opened"),k(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(D(e=>e.state==="closed"),k(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),xt(this.backdropClick(),this.keydownEvents().pipe(D(e=>e.keyCode===27&&!this.disableClose&&!tt(e)))).subscribe(e=>{this.disableClose||(e.preventDefault(),ye(this,e.type==="keydown"?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe(D(l=>l.state==="closing"),k(1)).subscribe(l=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),l.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let l=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?l.left(i.left):l.right(i.right):l.centerHorizontally(),i&&(i.top||i.bottom)?i.top?l.top(i.top):l.bottom(i.bottom):l.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",l=""){return this._ref.updateSize(i,l),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function ye(a,i,l){return a._closeInteractionType=i,a.close(l)}var He=0,xe=(()=>{let i=class{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,e,n,o,s,r,m,u,j,bt){this._overlay=t,this._defaultOptions=n,this._parentDialog=o,this._dialogRefConstructor=m,this._dialogContainerType=u,this._dialogDataToken=j,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p,this._afterOpenedAtThisLevel=new p,this._idPrefix="mat-dialog-",this.dialogConfigClass=q,this.afterAllClosed=yt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ct(void 0))),this._scrollStrategy=r,this._dialog=e.get(ft)}open(t,e){let n;e=h(h({},this._defaultOptions||new q),e),e.id=e.id||`${this._idPrefix}${He++}`,e.scrollStrategy=e.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(t,vt(h({},e),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:e},{provide:V,useValue:e}]},templateContext:()=>({dialogRef:n}),providers:(s,r,m)=>(n=new this._dialogRefConstructor(s,e,m),n.updatePosition(e?.position),[{provide:this._dialogContainerType,useValue:m},{provide:this._dialogDataToken,useValue:r.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentInstance=o.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(n);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),n}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}},a=i;return(()=>{i.\u0275fac=function(e){de()}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();var _t={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Ce={dialogContainer:nt("dialogContainer",[F("void, exit",C({opacity:0,transform:"scale(0.7)"})),F("enter",C({transform:"none"})),P("* => enter",at([L("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",C({transform:"none",opacity:1})),st("@*",ot(),{optional:!0})]),_t),P("* => void, * => exit",at([L("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",C({opacity:0})),st("@*",ot(),{optional:!0})]),_t)])};function $e(a,i){}var Ae={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Pt=class extends q{constructor(){super(...arguments),this.enterAnimationDuration=_t.params.enterAnimationDuration,this.exitAnimationDuration=_t.params.exitAnimationDuration}},Ge=(()=>{let i=class extends ve{_onAnimationDone({toState:t,totalTime:e}){t==="enter"?this._openAnimationDone(e):t==="exit"&&this._animationStateChanged.next({state:"closed",totalTime:e})}_onAnimationStart({toState:t,totalTime:e}){t==="enter"?this._animationStateChanged.next({state:"opening",totalTime:e}):(t==="exit"||t==="void")&&this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(t,e,n,o,s,r,m,u,j){super(t,e,n,o,s,r,m,j),this._changeDetectorRef=u,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Ae.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Ae.params.exitAnimationDuration}}}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(I),c(z),c(M,8),c(Pt),c(H),c(S),c(E),c(J),c($))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,n){e&1&&G("@dialogContainer.start",function(s){return n._onAnimationStart(s)})("@dialogContainer.done",function(s){return n._onAnimationDone(s)}),e&2&&(Zt("id",n._config.id),O("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),Y("@dialogContainer",n._getAnimationState()))},features:[y],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){e&1&&A(0,$e,0,0,"ng-template",0)},dependencies:[x],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Ce.dialogContainer]}})})(),a})(),ne=class extends Ft{},Ye=new g("MatDialogData"),Ue=new g("mat-dialog-default-options"),De=new g("mat-dialog-scroll-strategy");function qe(a){return()=>a.scrollStrategies.block()}var We={provide:De,deps:[_],useFactory:qe},Ze=(()=>{let i=class extends xe{constructor(t,e,n,o,s,r,m,u){super(t,e,o,r,m,s,ne,Ge,Ye,u),this.dialogConfigClass=Pt}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(f),d(me,8),d(Ue,8),d(De),d(i,12),d(lt),d(Gt,8))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();var On=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=T({type:i})})(),(()=>{i.\u0275inj=w({providers:[Ze,We],imports:[gt,U,R,N,N]})})(),a})();var Ke=Math.pow(2,31)-1,W=class{constructor(i,l){this._overlayRef=l,this._afterDismissed=new p,this._afterOpened=new p,this._onAction=new p,this._dismissedByAction=!1,this.containerInstance=i,i._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(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,Ke))}_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}},Nt=new g("MatSnackBarData"),Z=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}};var ae={snackBarState:nt("state",[F("void, hidden",C({transform:"scale(0.8)",opacity:0})),F("visible",C({transform:"scale(1)",opacity:1})),P("* => visible",L("150ms cubic-bezier(0, 0, 0.2, 1)")),P("* => void, * => hidden",L("75ms cubic-bezier(0.4, 0.0, 1, 1)",C({opacity:0})))])},Qe=0,oe=(()=>{let i=class extends jt{constructor(t,e,n,o,s){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=o,this.snackBarConfig=s,this._document=le(M),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new p,this._onExit=new p,this._onEnter=new p,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${Qe++}`,this.attachDomPortal=r=>{this._assertNotAttached();let m=this._portalOutlet.attachDomPortal(r);return this._afterPortalAttached(),m},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}onAnimationEnd(t){let{fromState:e,toState:n}=t;if((n==="void"&&e!=="void"||n==="hidden")&&this._completeExit(),n==="visible"){let o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(k(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(n=>t.classList.add(n)):t.classList.add(e)),this._exposeToModals()}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n{let e=t.getAttribute("aria-owns");if(e){let n=e.replace(this._liveElementId,"").trim();n.length>0?t.setAttribute("aria-owns",n):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),n?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(S),c(I),c(J),c(pe),c(Z))}})(),(()=>{i.\u0275dir=At({type:i,viewQuery:function(e,n){if(e&1&&Ot(x,7),e&2){let o;It(o=St())&&(n._portalOutlet=o.first)}},features:[y]})})(),a})();function ke(){return new Z}var Vt=new g("mat-snack-bar-default-options",{providedIn:"root",factory:ke}),se=(()=>{let i=class{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(t,e,n,o,s,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=r,this._snackBarRefAtThisLevel=null}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){let o=h(h({},this._defaultConfig),n);return o.data={message:t,action:e},o.announcementMessage===t&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let n=e&&e.viewContainerRef&&e.viewContainerRef.injector,o=f.create({parent:n||this._injector,providers:[{provide:Z,useValue:e}]}),s=new it(this.snackBarContainerComponent,e.viewContainerRef,o),r=t.attach(s);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){let n=h(h(h({},new Z),this._defaultConfig),e),o=this._createOverlay(n),s=this._attachSnackBarContainer(o,n),r=new W(s,o);if(t instanceof Tt){let m=new Et(t,null,{$implicit:n.data,snackBarRef:r});r.instance=s.attachTemplatePortal(m)}else{let m=this._createInjector(n,r),u=new it(t,void 0,m),j=s.attachComponentPortal(u);r.instance=j.instance}return this._breakpointObserver.observe(B.HandsetPortrait).pipe(ce(o.detachments())).subscribe(m=>{o.overlayElement.classList.toggle(this.handsetCssClass,m.matches)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(r,n),this._openedSnackBarRef=r,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){let e=new Bt;e.direction=t.direction;let n=this._overlay.position().global(),o=t.direction==="rtl",s=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!o||t.horizontalPosition==="end"&&o,r=!s&&t.horizontalPosition!=="center";return s?n.left("0"):r?n.right("0"):n.centerHorizontally(),t.verticalPosition==="top"?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){let n=t&&t.viewContainerRef&&t.viewContainerRef.injector;return f.create({parent:n||this._injector,providers:[{provide:W,useValue:e},{provide:Nt,useValue:t.data}]})}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(Rt),d(f),d(et),d(i,12),d(Vt))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();function Je(a,i){if(a&1){let l=qt();Q(0,"div",2)(1,"button",3),ct("click",function(){Ht(l);let e=Dt();return zt(e.action())}),kt(2),X()()}if(a&2){let l=Dt();K(2),Wt(l.data.action)}}function ti(a,i){}var ei=(()=>{let i=class{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(W),c(Nt))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,n){e&1&&(Q(0,"span",0),kt(1),X(),A(2,Je,3,1,"div",1)),e&2&&(K(1),Wt(n.data.message),K(1),Yt("ngIf",n.hasAction))},dependencies:[he,fe],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0})})(),a})(),ii=(()=>{let i=class extends oe{_afterPortalAttached(){super._afterPortalAttached(),this.snackBarConfig.horizontalPosition==="center"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),this.snackBarConfig.verticalPosition==="top"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}},a=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=$t(i)))(n||i)}}()})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,n){e&1&&G("@state.done",function(s){return n.onAnimationEnd(s)}),e&2&&Y("@state",n._animationState)},features:[y],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){e&1&&(Q(0,"div",0),A(1,ti,0,0,"ng-template",1),X(),Ut(2,"div")),e&2&&(K(2),O("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[x],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[ae.snackBarState]}})})(),a})(),ni=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=T({type:i})})(),(()=>{i.\u0275inj=w({imports:[U,R,Kt,ge,N,N]})})(),a})(),oa=(()=>{let i=class extends se{constructor(t,e,n,o,s,r){super(t,e,n,o,s,r),this.simpleSnackBarComponent=ei,this.snackBarContainerComponent=ii,this.handsetCssClass="mat-snack-bar-handset"}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(Rt),d(f),d(et),d(i,12),d(Vt))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:ni})})(),a})();var ca=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();export{Le as a,Fe as b,Lt as c,zi as d,ne as e,Ye as f,Ze as g,On as h,W as i,Nt as j,ni as k,oa as l,ca as m}; +import{a as it,b as Et,c as jt,d as x,e as R,f as Bt,g as lt,h as E,i as _,l as U}from"./chunk-BTQVCDJX.js";import{Aa as A,Ac as P,Bb as he,Ca as Yt,Cc as ot,Da as Q,Ea as X,Ec as st,Fa as Ut,Hb as Kt,Hc as Xt,Ic as Jt,Ja as qt,Jc as N,K as Ct,La as ct,M as ce,Ma as G,Na as Dt,Ob as pe,R as b,S as w,Sb as Mt,T as d,U as le,V as v,Va as kt,Vb as tt,W as T,Wa as Wt,X as At,Za as Zt,_a as Y,ac as et,ba as Ht,bc as B,ca as zt,d as p,fa as $t,fd as fe,hb as wt,hc as H,hd as ge,ia as g,ic as z,j as re,jb as Tt,la as Gt,lb as It,lc as Rt,mb as Ot,mc as $,nc as ue,oa as I,ob as St,oc as Qt,p as yt,qa as K,rb as S,sa as f,t as xt,ta as c,tb as J,ua as de,v as D,vc as nt,wb as M,wc as L,xa as y,xb as me,xc as at,yc as C,z as k,za as O,zc as F}from"./chunk-HFIM43UT.js";import{a as h,b as vt}from"./chunk-OPXGAHDX.js";function we(a,i){}var V=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var ut=(()=>{let i=class extends jt{constructor(t,e,n,o,s,r,m,u){super(),this._elementRef=t,this._focusTrapFactory=e,this._config=o,this._interactivityChecker=s,this._ngZone=r,this._overlayRef=m,this._focusMonitor=u,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=j=>{this._portalOutlet.hasAttached();let bt=this._portalOutlet.attachDomPortal(j);return this._contentAttached(),bt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=n}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),e}attachTemplatePortal(t){this._portalOutlet.hasAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),e}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,e){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{t.removeEventListener("blur",n),t.removeEventListener("mousedown",n),t.removeAttribute("tabindex")};t.addEventListener("blur",n),t.addEventListener("mousedown",n)})),t.focus(e)}_focusByCssSelector(t,e){let n=this._elementRef.nativeElement.querySelector(t);n&&this._forceFocus(n,e)}_trapFocus(){let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(e=>{e||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let t=this._config.restoreFocus,e=null;if(typeof t=="string"?e=this._document.querySelector(t):typeof t=="boolean"?e=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(e=t),this._config.restoreFocus&&e&&typeof e.focus=="function"){let n=Mt(),o=this._elementRef.nativeElement;(!n||n===this._document.body||n===o||o.contains(n))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let t=this._elementRef.nativeElement,e=Mt();return t===e||t.contains(e)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Mt())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(I),c(z),c(M,8),c(V),c(H),c(S),c(E),c($))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["cdk-dialog-container"]],viewQuery:function(e,n){if(e&1&&Ot(x,7),e&2){let o;It(o=St())&&(n._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,n){e&2&&O("id",n._config.id||null)("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null)},features:[y],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){e&1&&A(0,we,0,0,"ng-template",0)},dependencies:[x],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})})(),a})(),dt=class{constructor(i,l){this.overlayRef=i,this.config=l,this.closed=new p,this.disableClose=l.disableClose,this.backdropClick=i.backdropClick(),this.keydownEvents=i.keydownEvents(),this.outsidePointerEvents=i.outsidePointerEvents(),this.id=l.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!tt(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=i.detachments().subscribe(()=>{l.closeOnOverlayDetachments!==!1&&this.close()})}close(i,l){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=l?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(i),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(i="",l=""){return this.overlayRef.updateSize({width:i,height:l}),this}addPanelClass(i){return this.overlayRef.addPanelClass(i),this}removePanelClass(i){return this.overlayRef.removePanelClass(i),this}},_e=new g("DialogScrollStrategy"),Te=new g("DialogData"),Ie=new g("DefaultDialogConfig");function Oe(a){return()=>a.scrollStrategies.block()}var Se={provide:_e,deps:[_],useFactory:Oe},Me=0,ft=(()=>{let i=class{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,e,n,o,s,r){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p,this._afterOpenedAtThisLevel=new p,this._ariaHiddenElements=new Map,this.afterAllClosed=yt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ct(void 0))),this._scrollStrategy=r}open(t,e){let n=this._defaultOptions||new V;e=h(h({},n),e),e.id=e.id||`cdk-dialog-${Me++}`,e.id&&this.getDialogById(e.id);let o=this._getOverlayConfig(e),s=this._overlay.create(o),r=new dt(s,e),m=this._attachContainer(s,r,e);return r.containerInstance=m,this._attachDialogContent(t,r,m,e),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.closed.subscribe(()=>this._removeOpenDialog(r,!0)),this.afterOpened.next(r),r}closeAll(){te(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){te(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),te(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let e=new Bt({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachContainer(t,e,n){let o=n.injector||n.viewContainerRef?.injector,s=[{provide:V,useValue:n},{provide:dt,useValue:e},{provide:E,useValue:t}],r;n.container?typeof n.container=="function"?r=n.container:(r=n.container.type,s.push(...n.container.providers(n))):r=ut;let m=new it(r,n.viewContainerRef,f.create({parent:o||this._injector,providers:s}),n.componentFactoryResolver);return t.attach(m).instance}_attachDialogContent(t,e,n,o){if(t instanceof Tt){let s=this._createInjector(o,e,n,void 0),r={$implicit:o.data,dialogRef:e};o.templateContext&&(r=h(h({},r),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),n.attachTemplatePortal(new Et(t,null,r,s))}else{let s=this._createInjector(o,e,n,this._injector),r=n.attachComponentPortal(new it(t,o.viewContainerRef,s,o.componentFactoryResolver));e.componentInstance=r.instance}}_createInjector(t,e,n,o){let s=t.injector||t.viewContainerRef?.injector,r=[{provide:Te,useValue:t.data},{provide:dt,useValue:e}];return t.providers&&(typeof t.providers=="function"?r.push(...t.providers(e,t,n)):r.push(...t.providers)),t.direction&&(!s||!s.get(Qt,null,{optional:!0}))&&r.push({provide:Qt,useValue:{value:t.direction,change:re()}}),f.create({parent:s||o,providers:r})}_removeOpenDialog(t,e){let n=this.openDialogs.indexOf(t);n>-1&&(this.openDialogs.splice(n,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),e&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let o=e[n];o!==t&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(f),d(Ie,8),d(i,12),d(lt),d(_e))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();function te(a,i){let l=a.length;for(;l--;)i(a[l])}var gt=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=T({type:i})})(),(()=>{i.\u0275inj=w({providers:[ft,Se],imports:[U,R,ue,R]})})(),a})();function Ee(a,i){}var je={bottomSheetState:nt("state",[F("void, hidden",C({transform:"translateY(100%)"})),F("visible",C({transform:"translateY(0%)"})),P("visible => void, visible => hidden",at([L(`${Jt.COMPLEX} ${Xt.ACCELERATION_CURVE}`),st("@*",ot(),{optional:!0})])),P("void => visible",at([L(`${Jt.EXITING} ${Xt.DECELERATION_CURVE}`),st("@*",ot(),{optional:!0})]))])},Be=(()=>{let i=class extends ut{constructor(t,e,n,o,s,r,m,u,j,bt){super(t,e,n,o,s,r,m,bt),this._changeDetectorRef=j,this._animationState="void",this._animationStateChanged=new wt,this._breakpointSubscription=u.observe([B.Medium,B.Large,B.XLarge]).subscribe(()=>{this._toggleClass("mat-bottom-sheet-container-medium",u.isMatched(B.Medium)),this._toggleClass("mat-bottom-sheet-container-large",u.isMatched(B.Large)),this._toggleClass("mat-bottom-sheet-container-xlarge",u.isMatched(B.XLarge))})}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())}ngOnDestroy(){super.ngOnDestroy(),this._breakpointSubscription.unsubscribe(),this._destroyed=!0}_onAnimationDone(t){t.toState==="visible"&&this._trapFocus(),this._animationStateChanged.emit(t)}_onAnimationStart(t){this._animationStateChanged.emit(t)}_captureInitialFocus(){}_toggleClass(t,e){this._elementRef.nativeElement.classList.toggle(t,e)}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(I),c(z),c(M,8),c(V),c(H),c(S),c(E),c(et),c(J),c($))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["mat-bottom-sheet-container"]],hostAttrs:["tabindex","-1",1,"mat-bottom-sheet-container"],hostVars:4,hostBindings:function(e,n){e&1&&G("@state.start",function(s){return n._onAnimationStart(s)})("@state.done",function(s){return n._onAnimationDone(s)}),e&2&&(O("role",n._config.role)("aria-modal",n._config.ariaModal)("aria-label",n._config.ariaLabel),Y("@state",n._animationState))},features:[y],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){e&1&&A(0,Ee,0,0,"ng-template",0)},dependencies:[x],styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}.cdk-high-contrast-active .mat-bottom-sheet-container{outline:1px solid}.mat-bottom-sheet-container-xlarge,.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],encapsulation:2,data:{animation:[je.bottomSheetState]}})})(),a})(),Le=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=T({type:i})})(),(()=>{i.\u0275inj=w({imports:[gt,N,R,N]})})(),a})(),Fe=new g("MatBottomSheetData"),ie=class{constructor(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.ariaModal=!0,this.closeOnNavigation=!0,this.autoFocus="dialog",this.restoreFocus=!0}},Lt=class{get instance(){return this._ref.componentInstance}constructor(i,l,t){this._ref=i,this._afterOpened=new p,this.containerInstance=t,this.disableClose=l.disableClose,t._animationStateChanged.pipe(D(e=>e.phaseName==="done"&&e.toState==="visible"),k(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(D(e=>e.phaseName==="done"&&e.toState==="hidden"),k(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._ref.close(this._result)}),i.overlayRef.detachments().subscribe(()=>{this._ref.close(this._result)}),xt(this.backdropClick(),this.keydownEvents().pipe(D(e=>e.keyCode===27))).subscribe(e=>{!this.disableClose&&(e.type!=="keydown"||!tt(e))&&(e.preventDefault(),this.dismiss())})}dismiss(i){this.containerInstance&&(this.containerInstance._animationStateChanged.pipe(D(l=>l.phaseName==="start"),k(1)).subscribe(l=>{this._closeFallbackTimeout=setTimeout(()=>{this._ref.close(this._result)},l.totalTime+100),this._ref.overlayRef.detachBackdrop()}),this._result=i,this.containerInstance.exit(),this.containerInstance=null)}afterDismissed(){return this._ref.closed}afterOpened(){return this._afterOpened}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}},Pe=new g("mat-bottom-sheet-default-options"),zi=(()=>{let i=class{get _openedBottomSheetRef(){let t=this._parentBottomSheet;return t?t._openedBottomSheetRef:this._bottomSheetRefAtThisLevel}set _openedBottomSheetRef(t){this._parentBottomSheet?this._parentBottomSheet._openedBottomSheetRef=t:this._bottomSheetRefAtThisLevel=t}constructor(t,e,n,o){this._overlay=t,this._parentBottomSheet=n,this._defaultOptions=o,this._bottomSheetRefAtThisLevel=null,this._dialog=e.get(ft)}open(t,e){let n=h(h({},this._defaultOptions||new ie),e),o;return this._dialog.open(t,vt(h({},n),{disableClose:!0,closeOnOverlayDetachments:!1,maxWidth:"100%",container:Be,scrollStrategy:n.scrollStrategy||this._overlay.scrollStrategies.block(),positionStrategy:this._overlay.position().global().centerHorizontally().bottom("0"),templateContext:()=>({bottomSheetRef:o}),providers:(s,r,m)=>(o=new Lt(s,n,m),[{provide:Lt,useValue:o},{provide:Fe,useValue:n.data}])})),o.afterDismissed().subscribe(()=>{this._openedBottomSheetRef===o&&(this._openedBottomSheetRef=null)}),this._openedBottomSheetRef?(this._openedBottomSheetRef.afterDismissed().subscribe(()=>o.containerInstance?.enter()),this._openedBottomSheetRef.dismiss()):o.containerInstance.enter(),this._openedBottomSheetRef=o,o}dismiss(t){this._openedBottomSheetRef&&this._openedBottomSheetRef.dismiss(t)}ngOnDestroy(){this._bottomSheetRefAtThisLevel&&this._bottomSheetRefAtThisLevel.dismiss()}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(f),d(i,12),d(Pe,8))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:Le})})(),a})();var q=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}};var ve=(()=>{let i=class extends ut{constructor(t,e,n,o,s,r,m,u){super(t,e,n,o,s,r,m,u),this._animationStateChanged=new wt}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(I),c(z),c(M,8),c(q),c(H),c(S),c(E),c($))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["ng-component"]],features:[y],decls:0,vars:0,template:function(e,n){},encapsulation:2})})(),a})();var Ft=class{constructor(i,l,t){this._ref=i,this._containerInstance=t,this._afterOpened=new p,this._beforeClosed=new p,this._state=0,this.disableClose=l.disableClose,this.id=i.id,t._animationStateChanged.pipe(D(e=>e.state==="opened"),k(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(D(e=>e.state==="closed"),k(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),i.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),xt(this.backdropClick(),this.keydownEvents().pipe(D(e=>e.keyCode===27&&!this.disableClose&&!tt(e)))).subscribe(e=>{this.disableClose||(e.preventDefault(),ye(this,e.type==="keydown"?"keyboard":"mouse"))})}close(i){this._result=i,this._containerInstance._animationStateChanged.pipe(D(l=>l.state==="closing"),k(1)).subscribe(l=>{this._beforeClosed.next(i),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),l.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(i){let l=this._ref.config.positionStrategy;return i&&(i.left||i.right)?i.left?l.left(i.left):l.right(i.right):l.centerHorizontally(),i&&(i.top||i.bottom)?i.top?l.top(i.top):l.bottom(i.bottom):l.centerVertically(),this._ref.updatePosition(),this}updateSize(i="",l=""){return this._ref.updateSize(i,l),this}addPanelClass(i){return this._ref.addPanelClass(i),this}removePanelClass(i){return this._ref.removePanelClass(i),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function ye(a,i,l){return a._closeInteractionType=i,a.close(l)}var He=0,xe=(()=>{let i=class{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,e,n,o,s,r,m,u,j,bt){this._overlay=t,this._defaultOptions=n,this._parentDialog=o,this._dialogRefConstructor=m,this._dialogContainerType=u,this._dialogDataToken=j,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p,this._afterOpenedAtThisLevel=new p,this._idPrefix="mat-dialog-",this.dialogConfigClass=q,this.afterAllClosed=yt(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ct(void 0))),this._scrollStrategy=r,this._dialog=e.get(ft)}open(t,e){let n;e=h(h({},this._defaultOptions||new q),e),e.id=e.id||`${this._idPrefix}${He++}`,e.scrollStrategy=e.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(t,vt(h({},e),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:e},{provide:V,useValue:e}]},templateContext:()=>({dialogRef:n}),providers:(s,r,m)=>(n=new this._dialogRefConstructor(s,e,m),n.updatePosition(e?.position),[{provide:this._dialogContainerType,useValue:m},{provide:this._dialogDataToken,useValue:r.data},{provide:this._dialogRefConstructor,useValue:n}])}));return n.componentInstance=o.componentInstance,this.openDialogs.push(n),this.afterOpened.next(n),n.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(n);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),n}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}},a=i;return(()=>{i.\u0275fac=function(e){de()}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();var _t={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Ce={dialogContainer:nt("dialogContainer",[F("void, exit",C({opacity:0,transform:"scale(0.7)"})),F("enter",C({transform:"none"})),P("* => enter",at([L("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",C({transform:"none",opacity:1})),st("@*",ot(),{optional:!0})]),_t),P("* => void, * => exit",at([L("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",C({opacity:0})),st("@*",ot(),{optional:!0})]),_t)])};function $e(a,i){}var Ae={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Pt=class extends q{constructor(){super(...arguments),this.enterAnimationDuration=_t.params.enterAnimationDuration,this.exitAnimationDuration=_t.params.exitAnimationDuration}},Ge=(()=>{let i=class extends ve{_onAnimationDone({toState:t,totalTime:e}){t==="enter"?this._openAnimationDone(e):t==="exit"&&this._animationStateChanged.next({state:"closed",totalTime:e})}_onAnimationStart({toState:t,totalTime:e}){t==="enter"?this._animationStateChanged.next({state:"opening",totalTime:e}):(t==="exit"||t==="void")&&this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}constructor(t,e,n,o,s,r,m,u,j){super(t,e,n,o,s,r,m,j),this._changeDetectorRef=u,this._state="enter"}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||Ae.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||Ae.params.exitAnimationDuration}}}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(I),c(z),c(M,8),c(Pt),c(H),c(S),c(E),c(J),c($))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,n){e&1&&G("@dialogContainer.start",function(s){return n._onAnimationStart(s)})("@dialogContainer.done",function(s){return n._onAnimationDone(s)}),e&2&&(Zt("id",n._config.id),O("aria-modal",n._config.ariaModal)("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),Y("@dialogContainer",n._getAnimationState()))},features:[y],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,n){e&1&&A(0,$e,0,0,"ng-template",0)},dependencies:[x],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Ce.dialogContainer]}})})(),a})(),ne=class extends Ft{},Ye=new g("MatDialogData"),Ue=new g("mat-dialog-default-options"),De=new g("mat-dialog-scroll-strategy");function qe(a){return()=>a.scrollStrategies.block()}var We={provide:De,deps:[_],useFactory:qe},Ze=(()=>{let i=class extends xe{constructor(t,e,n,o,s,r,m,u){super(t,e,o,r,m,s,ne,Ge,Ye,u),this.dialogConfigClass=Pt}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(f),d(me,8),d(Ue,8),d(De),d(i,12),d(lt),d(Gt,8))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();var On=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=T({type:i})})(),(()=>{i.\u0275inj=w({providers:[Ze,We],imports:[gt,U,R,N,N]})})(),a})();var Ke=Math.pow(2,31)-1,W=class{constructor(i,l){this._overlayRef=l,this._afterDismissed=new p,this._afterOpened=new p,this._onAction=new p,this._dismissedByAction=!1,this.containerInstance=i,i._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(i){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(i,Ke))}_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}},Nt=new g("MatSnackBarData"),Z=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}};var ae={snackBarState:nt("state",[F("void, hidden",C({transform:"scale(0.8)",opacity:0})),F("visible",C({transform:"scale(1)",opacity:1})),P("* => visible",L("150ms cubic-bezier(0, 0, 0.2, 1)")),P("* => void, * => hidden",L("75ms cubic-bezier(0.4, 0.0, 1, 1)",C({opacity:0})))])},Qe=0,oe=(()=>{let i=class extends jt{constructor(t,e,n,o,s){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=o,this.snackBarConfig=s,this._document=le(M),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new p,this._onExit=new p,this._onEnter=new p,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${Qe++}`,this.attachDomPortal=r=>{this._assertNotAttached();let m=this._portalOutlet.attachDomPortal(r);return this._afterPortalAttached(),m},s.politeness==="assertive"&&!s.announcementMessage?this._live="assertive":s.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}onAnimationEnd(t){let{fromState:e,toState:n}=t;if((n==="void"&&e!=="void"||n==="hidden")&&this._completeExit(),n==="visible"){let o=this._onEnter;this._ngZone.run(()=>{o.next(),o.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(k(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(n=>t.classList.add(n)):t.classList.add(e)),this._exposeToModals()}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n{let e=t.getAttribute("aria-owns");if(e){let n=e.replace(this._liveElementId,"").trim();n.length>0?t.setAttribute("aria-owns",n):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),n?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(S),c(I),c(J),c(pe),c(Z))}})(),(()=>{i.\u0275dir=At({type:i,viewQuery:function(e,n){if(e&1&&Ot(x,7),e&2){let o;It(o=St())&&(n._portalOutlet=o.first)}},features:[y]})})(),a})();function ke(){return new Z}var Vt=new g("mat-snack-bar-default-options",{providedIn:"root",factory:ke}),se=(()=>{let i=class{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(t,e,n,o,s,r){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=r,this._snackBarRefAtThisLevel=null}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){let o=h(h({},this._defaultConfig),n);return o.data={message:t,action:e},o.announcementMessage===t&&(o.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,o)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let n=e&&e.viewContainerRef&&e.viewContainerRef.injector,o=f.create({parent:n||this._injector,providers:[{provide:Z,useValue:e}]}),s=new it(this.snackBarContainerComponent,e.viewContainerRef,o),r=t.attach(s);return r.instance.snackBarConfig=e,r.instance}_attach(t,e){let n=h(h(h({},new Z),this._defaultConfig),e),o=this._createOverlay(n),s=this._attachSnackBarContainer(o,n),r=new W(s,o);if(t instanceof Tt){let m=new Et(t,null,{$implicit:n.data,snackBarRef:r});r.instance=s.attachTemplatePortal(m)}else{let m=this._createInjector(n,r),u=new it(t,void 0,m),j=s.attachComponentPortal(u);r.instance=j.instance}return this._breakpointObserver.observe(B.HandsetPortrait).pipe(ce(o.detachments())).subscribe(m=>{o.overlayElement.classList.toggle(this.handsetCssClass,m.matches)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(r,n),this._openedSnackBarRef=r,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){let e=new Bt;e.direction=t.direction;let n=this._overlay.position().global(),o=t.direction==="rtl",s=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!o||t.horizontalPosition==="end"&&o,r=!s&&t.horizontalPosition!=="center";return s?n.left("0"):r?n.right("0"):n.centerHorizontally(),t.verticalPosition==="top"?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){let n=t&&t.viewContainerRef&&t.viewContainerRef.injector;return f.create({parent:n||this._injector,providers:[{provide:W,useValue:e},{provide:Nt,useValue:t.data}]})}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(Rt),d(f),d(et),d(i,12),d(Vt))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();function Je(a,i){if(a&1){let l=qt();Q(0,"div",2)(1,"button",3),ct("click",function(){Ht(l);let e=Dt();return zt(e.action())}),kt(2),X()()}if(a&2){let l=Dt();K(2),Wt(l.data.action)}}function ti(a,i){}var ei=(()=>{let i=class{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(c(W),c(Nt))}})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,n){e&1&&(Q(0,"span",0),kt(1),X(),A(2,Je,3,1,"div",1)),e&2&&(K(1),Wt(n.data.message),K(1),Yt("ngIf",n.hasAction))},dependencies:[he,fe],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}.mat-simple-snack-bar-content{overflow:hidden;text-overflow:ellipsis}"],encapsulation:2,changeDetection:0})})(),a})(),ii=(()=>{let i=class extends oe{_afterPortalAttached(){super._afterPortalAttached(),this.snackBarConfig.horizontalPosition==="center"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-center"),this.snackBarConfig.verticalPosition==="top"&&this._elementRef.nativeElement.classList.add("mat-snack-bar-top")}},a=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=$t(i)))(n||i)}}()})(),(()=>{i.\u0275cmp=v({type:i,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,n){e&1&&G("@state.done",function(s){return n.onAnimationEnd(s)}),e&2&&Y("@state",n._animationState)},features:[y],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){e&1&&(Q(0,"div",0),A(1,ti,0,0,"ng-template",1),X(),Ut(2,"div")),e&2&&(K(2),O("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[x],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],encapsulation:2,data:{animation:[ae.snackBarState]}})})(),a})(),ni=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=T({type:i})})(),(()=>{i.\u0275inj=w({imports:[U,R,Kt,ge,N,N]})})(),a})(),oa=(()=>{let i=class extends se{constructor(t,e,n,o,s,r){super(t,e,n,o,s,r),this.simpleSnackBarComponent=ei,this.snackBarContainerComponent=ii,this.handsetCssClass="mat-snack-bar-handset"}},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(d(_),d(Rt),d(f),d(et),d(i,12),d(Vt))}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:ni})})(),a})();var ca=(()=>{let i=class{},a=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=b({token:i,factory:i.\u0275fac})})(),a})();export{Le as a,Fe as b,Lt as c,zi as d,ne as e,Ye as f,Ze as g,On as h,W as i,Nt as j,ni as k,oa as l,ca as m}; diff --git a/chunk-5QDPU4Y2.js b/chunk-5QDPU4Y2.js new file mode 100644 index 00000000..826d112b --- /dev/null +++ b/chunk-5QDPU4Y2.js @@ -0,0 +1 @@ +import{a as j}from"./chunk-MILDH525.js";import{A as nt,C as it,D as st,G as at,I as ot,K as Z,L as ct,La as P,R as w,S as ut,W as lt,X as z,d as G,fa as Y,hb as H,m as et,oa as J,pa as ft,s as rt,ta as x}from"./chunk-HFIM43UT.js";var kt=(()=>{let t=class{constructor(r){this.elementRef=r,this.scrollDown=new H,this.scrollUp=new H,this.scrollTop$=new G,this.scrollTopDiff$=this.scrollTop$.pipe(Z(0),at(),et(([e,i])=>i-e)),this.scrollTopDiff$.subscribe(e=>{e>0&&this.scrollDown.emit(),e<0&&this.scrollUp.emit()})}onScroll(){this.scrollTop$.next(this.elementRef.nativeElement.scrollTop)}},s=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(x(J))}})(),(()=>{t.\u0275dir=z({type:t,selectors:[["","scrollUp",""],["","scrollDown",""]],hostBindings:function(e,i){e&1&&P("scroll",function(){return i.onScroll()})},outputs:{scrollDown:"scrollDown",scrollUp:"scrollUp"},standalone:!0})})(),s})(),Q=(()=>{let t=class{constructor(){this.scrollStopDelay=500}},s=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac})})(),s})(),Bt=(()=>{let t=class{constructor(r,e,i){this.config=r,this.renderer=e,this.elementRef=i,this.scrollStart=new H,this.scrollStop=new H,this.scroll$=new G,this.scrolling$=this.scroll$.pipe(ct(()=>rt(this.config.scrollStopDelay).pipe(nt(),Z(!0),st(!1))),it(),ot(1)),this.scrolling$.subscribe(a=>{a?this.scrollStart.emit():this.scrollStop.emit()}),this.scrollStart.subscribe(()=>{this.className&&this.renderer.addClass(this.elementRef.nativeElement,this.className)}),this.scrollStop.subscribe(()=>{this.className&&this.renderer.removeClass(this.elementRef.nativeElement,this.className)})}onScroll(){this.scroll$.next(null)}},s=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(x(Q),x(ft),x(J))}})(),(()=>{t.\u0275dir=z({type:t,selectors:[["","scrolling",""],["","scrollStart",""],["","scrollStop",""]],hostBindings:function(e,i){e&1&&P("scroll",function(){return i.onScroll()})},inputs:{className:["scrolling","className"]},outputs:{scrollStart:"scrollStart",scrollStop:"scrollStop"},standalone:!0})})(),s})();var Vt=(()=>{let t=class{static forRoot(r=new Q){return{ngModule:t,providers:[{provide:Q,useValue:r}]}}},s=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275mod=lt({type:t})})(),(()=>{t.\u0275inj=ut({})})(),s})();var zt=(()=>{let t=class extends j{identify(r){return r.id}},s=t;return(()=>{t.\u0275fac=function(){let r;return function(i){return(r||(r=Y(t)))(i||t)}}()})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),s})();var Qt=(()=>{let t=class extends j{identify(r){return r.id}},s=t;return(()=>{t.\u0275fac=function(){let r;return function(i){return(r||(r=Y(t)))(i||t)}}()})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),s})();var dt=60,vt=dt*60,pt=vt*24,Ot=pt*7,O=1e3,W=dt*O,X=vt*O,Dt=pt*O,St=Ot*O,R="millisecond",m="second",y="minute",I="hour",C="day",L="week",p="month",k="quarter",M="year",g="date",$t="YYYY-MM-DDTHH:mm:ssZ",K="Invalid Date",Ct=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Mt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var yt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var n=["th","st","nd","rd"],r=t%100;return"["+t+(n[(r-20)%10]||n[r]||n[0])+"]"}};var q=function(t,n,r){var e=String(t);return!e||e.length>=n?t:""+Array(n+1-e.length).join(r)+t},Nt=function(t){var n=-t.utcOffset(),r=Math.abs(n),e=Math.floor(r/60),i=r%60;return(n<=0?"+":"-")+q(e,2,"0")+":"+q(i,2,"0")},_t=function s(t,n){if(t.date()1)return s(a[0])}else{var c=t.name;N[c]=t,e=c}return!r&&e&&(F=e),e||!r&&F},h=function(t,n){if(tt(t))return t.clone();var r=typeof n=="object"?n:{};return r.date=t,r.args=arguments,new V(r)},Tt=function(t,n){return h(t,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})},o=It;o.l=B;o.i=tt;o.w=Tt;var xt=function(t){var n=t.date,r=t.utc;if(n===null)return new Date(NaN);if(o.u(n))return new Date;if(n instanceof Date)return new Date(n);if(typeof n=="string"&&!/Z$/i.test(n)){var e=n.match(Ct);if(e){var i=e[2]-1||0,a=(e[7]||"0").substring(0,3);return r?new Date(Date.UTC(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,a)):new Date(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,a)}}return new Date(n)},V=function(){function s(n){this.$L=B(n.locale,null,!0),this.parse(n)}var t=s.prototype;return t.parse=function(r){this.$d=xt(r),this.$x=r.x||{},this.init()},t.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},t.$utils=function(){return o},t.isValid=function(){return this.$d.toString()!==K},t.isSame=function(r,e){var i=h(r);return this.startOf(e)<=i&&i<=this.endOf(e)},t.isAfter=function(r,e){return h(r){let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275mod=g({type:t})})(),(()=>{t.\u0275inj=p({imports:[c,c]})})(),i})();var D=new r("MatList");var E=new r("MatNavList");var $=["*"],et='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}',at=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],lt=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];var J=W(A(class{})),nt=A(class{}),Qt=(()=>{let t=class extends J{constructor(){super(...arguments),this._stateChanges=new h}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}},i=t;return(()=>{t.\u0275fac=function(){let a;return function(l){return(a||(a=j(t)))(l||t)}}()})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[z([{provide:E,useExisting:t}]),b,y],ngContentSelectors:$,decls:1,vars:0,template:function(e,l){e&1&&(_(),m(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0})})(),i})(),Bt=(()=>{let t=class extends J{constructor(a){super(),this._elementRef=a,this._stateChanges=new h,this._getListType()==="action-list"&&(a.nativeElement.classList.add("mat-action-list"),a.nativeElement.setAttribute("role","group"))}_getListType(){let a=this._elementRef.nativeElement.nodeName.toLowerCase();return a==="mat-list"?"list":a==="mat-action-list"?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(s(F))}})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[z([{provide:D,useExisting:t}]),b,y],ngContentSelectors:$,decls:1,vars:0,template:function(e,l){e&1&&(_(),m(0))},styles:[et],encapsulation:2,changeDetection:0})})(),i})(),dt=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275dir=k({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]})})(),i})(),st=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275dir=k({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]})})(),i})();var Vt=(()=>{let t=class extends nt{constructor(a,e,l,d){super(),this._element=a,this._isInteractiveList=!1,this._destroyed=new h,this._disabled=!1,this._isInteractiveList=!!(l||d&&d._getListType()==="action-list"),this._list=l||d;let n=this._getHostElement();n.nodeName.toLowerCase()==="button"&&!n.hasAttribute("type")&&n.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(S(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!!(this._list&&this._list.disabled)}set disabled(a){this._disabled=H(a)}ngAfterContentInit(){q(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!!(this._list&&this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(s(F),s(B),s(E,8),s(D,8))}})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,l,d){if(e&1&&(u(d,dt,5),u(d,st,5),u(d,U,5)),e&2){let n;x(n=v())&&(l._avatar=n.first),x(n=v())&&(l._icon=n.first),x(n=v())&&(l._lines=n)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(e,l){e&2&&L("mat-list-item-disabled",l.disabled)("mat-list-item-with-avatar",l._avatar||l._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[b],ngContentSelectors:lt,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,l){e&1&&(_(at),C(0,"span",0),Q(1,"span",1),m(2),C(3,"span",2),m(4,1),I(),m(5,2),I()),e&2&&(P(1),N("matRippleTrigger",l._getHostElement())("matRippleDisabled",l._isRippleDisabled()))},dependencies:[K],encapsulation:2,changeDetection:0})})(),i})();var Ht=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275mod=g({type:t})})(),(()=>{t.\u0275inj=p({imports:[O,Y,c,M,V,O,c,M,Z]})})(),i})();var Xt=new r("LAYOUT_CONTEXT",{providedIn:"root",factory:()=>{let i=f(X),t=R({contentFavored:!1,navFabConfig:null,navBottomActions:null});return i.events.pipe(T(w=>w instanceof G)).subscribe(()=>t.mutate(w=>w.contentFavored=!1)),t}});export{Qt as a,Bt as b,st as c,Vt as d,Ht as e,Xt as f}; diff --git a/chunk-KMPJQAXK.js b/chunk-7UMKM2EO.js similarity index 86% rename from chunk-KMPJQAXK.js rename to chunk-7UMKM2EO.js index da4aaf3f..6a4aa4e4 100644 --- a/chunk-KMPJQAXK.js +++ b/chunk-7UMKM2EO.js @@ -1 +1 @@ -import{a as b,b as I}from"./chunk-VLKDZGSJ.js";import{Ea as u,Fa as m,Ga as f,Ha as r,X as o,Z as p,cb as a,fd as v,gd as M,id as y,ja as d,jd as C,lb as h,mb as g,sd as w,ud as D,va as c}from"./chunk-LCFD4RLU.js";var S=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["rpl-avatar"]],inputs:{contact:"contact"},standalone:!0,features:[a],decls:1,vars:1,consts:[["alt","Avatar",3,"src"]],template:function(e,l){if(e&1&&r(0,"img",0),e&2){let s;u("src",(s=l.contact.avatarUrl)!==null&&s!==void 0?s:"assets/avatar.png",d)}},styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px;border-radius:50%}img[_ngcontent-%COMP%]{width:inherit;height:inherit;border-radius:inherit}"],changeDetection:0})})(),i})();var x=(()=>{let t=class{constructor(n,e){this.viewContainer=n,this.templateRef=e,this.initialized=!1}set value(n){if(n!==this.valueCurrent){if(this.valueCurrent=n,!this.initialized){this.viewContainer.createEmbeddedView(this.templateRef),this.initialized=!0;return}this.viewContainer.clear(),this.viewContainer.createEmbeddedView(this.templateRef)}}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(c(g),c(h))}})(),(()=>{t.\u0275dir=p({type:t,selectors:[["","rplReattachOnChange",""]],inputs:{value:["rplReattachOnChange","value"]},standalone:!0})})(),i})();var A=(()=>{let t=class{constructor(){}ngOnInit(){}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["rpl-search-button"]],standalone:!0,features:[a],decls:2,vars:0,consts:[["mat-icon-button","","routerLink","/search","matTooltip","Search"],["fontSet","filled","fontIcon","search"]],template:function(e,l){e&1&&(m(0,"a",0),r(1,"mat-icon",1),f())},dependencies:[D,w,C,y,M,v,I,b],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})})(),i})();export{S as a,x as b,A as c}; +import{a as b,b as I}from"./chunk-TEA4CVZ4.js";import{Ca as u,Da as m,Ea as f,Fa as r,V as o,X as p,ab as a,dd as v,ed as M,gd as y,ha as d,hd as C,jb as h,kb as g,qd as w,sd as D,ta as c}from"./chunk-HFIM43UT.js";var S=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["rpl-avatar"]],inputs:{contact:"contact"},standalone:!0,features:[a],decls:1,vars:1,consts:[["alt","Avatar",3,"src"]],template:function(e,l){if(e&1&&r(0,"img",0),e&2){let s;u("src",(s=l.contact.avatarUrl)!==null&&s!==void 0?s:"assets/avatar.png",d)}},styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px;border-radius:50%}img[_ngcontent-%COMP%]{width:inherit;height:inherit;border-radius:inherit}"],changeDetection:0})})(),i})();var x=(()=>{let t=class{constructor(n,e){this.viewContainer=n,this.templateRef=e,this.initialized=!1}set value(n){if(n!==this.valueCurrent){if(this.valueCurrent=n,!this.initialized){this.viewContainer.createEmbeddedView(this.templateRef),this.initialized=!0;return}this.viewContainer.clear(),this.viewContainer.createEmbeddedView(this.templateRef)}}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(c(g),c(h))}})(),(()=>{t.\u0275dir=p({type:t,selectors:[["","rplReattachOnChange",""]],inputs:{value:["rplReattachOnChange","value"]},standalone:!0})})(),i})();var A=(()=>{let t=class{constructor(){}ngOnInit(){}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["rpl-search-button"]],standalone:!0,features:[a],decls:2,vars:0,consts:[["mat-icon-button","","routerLink","/search","matTooltip","Search"],["fontSet","filled","fontIcon","search"]],template:function(e,l){e&1&&(m(0,"a",0),r(1,"mat-icon",1),f())},dependencies:[D,w,C,y,M,v,I,b],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})})(),i})();export{S as a,x as b,A as c}; diff --git a/chunk-MHK45Q7K.js b/chunk-AJ5EX2ND.js similarity index 99% rename from chunk-MHK45Q7K.js rename to chunk-AJ5EX2ND.js index 880aea70..4c98763d 100644 --- a/chunk-MHK45Q7K.js +++ b/chunk-AJ5EX2ND.js @@ -1 +1 @@ -import{Ma as te,Na as F,R as v,S as A,U as M,Va as H,Y as E,Z as u,bb as _,ca as B,ha as ee,i as J,jb as m,ka as g,m as K,q as Q,qa as U,ra as R,va as o,vb as ie,wb as ne,xb as L,za as d}from"./chunk-LCFD4RLU.js";import{a as c,b as p}from"./chunk-OPXGAHDX.js";var he=(()=>{let e=class{constructor(i,r){this._renderer=i,this._elementRef=r,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(i,r){this._renderer.setProperty(this._elementRef.nativeElement,i,r)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(R),o(U))}})(),(()=>{e.\u0275dir=u({type:e})})(),t})(),Pe=(()=>{let e=class extends he{},t=e;return(()=>{e.\u0275fac=function(){let i;return function(s){return(i||(i=ee(e)))(s||e)}}()})(),(()=>{e.\u0275dir=u({type:e,features:[d]})})(),t})(),fe=new g("NgValueAccessor");var xe={provide:fe,useExisting:v(()=>pe),multi:!0};function ke(){let t=L()?L().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Ge=new g("CompositionEventMode"),pe=(()=>{let e=class extends he{constructor(i,r,s){super(i,r),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!ke())}writeValue(i){let r=i??"";this.setProperty("value",r)}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(R),o(U),o(Ge,8))}})(),(()=>{e.\u0275dir=u({type:e,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(r,s){r&1&&F("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},features:[_([xe]),d]})})(),t})();function h(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function ge(t){return t!=null&&typeof t.length=="number"}var $=new g("NgValidators"),q=new g("NgAsyncValidators"),Te=/^(?=.{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])?)*$/,re=class{static min(e){return je(e)}static max(e){return Be(e)}static required(e){return Ue(e)}static requiredTrue(e){return Re(e)}static email(e){return He(e)}static minLength(e){return Le(e)}static maxLength(e){return We(e)}static pattern(e){return $e(e)}static nullValidator(e){return me(e)}static compose(e){return De(e)}static composeAsync(e){return be(e)}};function je(t){return e=>{if(h(e.value)||h(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(h(e.value)||h(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function Ue(t){return h(t.value)?{required:!0}:null}function Re(t){return t.value===!0?null:{required:!0}}function He(t){return h(t.value)||Te.test(t.value)?null:{email:!0}}function Le(t){return e=>h(e.value)||!ge(e.value)?null:e.value.lengthge(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function $e(t){if(!t)return me;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),i=>{if(h(i.value))return null;let r=i.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function me(t){return null}function ye(t){return t!=null}function ve(t){return te(t)?J(t):t}function _e(t){let e={};return t.forEach(n=>{e=n!=null?c(c({},e),n):e}),Object.keys(e).length===0?null:e}function Ce(t,e){return e.map(n=>n(t))}function qe(t){return!t.validate}function Ve(t){return t.map(e=>qe(e)?e:n=>e.validate(n))}function De(t){if(!t)return null;let e=t.filter(ye);return e.length==0?null:function(n){return _e(Ce(n,e))}}function z(t){return t!=null?De(Ve(t)):null}function be(t){if(!t)return null;let e=t.filter(ye);return e.length==0?null:function(n){let i=Ce(n,e).map(ve);return Q(i).pipe(K(_e))}}function Z(t){return t!=null?be(Ve(t)):null}function se(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Ae(t){return t._rawValidators}function Me(t){return t._rawAsyncValidators}function W(t){return t?Array.isArray(t)?t:[t]:[]}function I(t,e){return Array.isArray(t)?t.includes(e):t===e}function oe(t,e){let n=W(e);return W(t).forEach(r=>{I(n,r)||n.push(r)}),n}function ae(t,e){return W(e).filter(n=>!I(t,n))}var S=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=z(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Z(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},f=class extends S{get formDirective(){return null}get path(){return null}},b=class extends S{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},O=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},ze={"[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"},jt=p(c({},ze),{"[class.ng-submitted]":"isSubmitted"}),Bt=(()=>{let e=class extends O{constructor(i){super(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(b,2))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,s){r&2&&H("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[d]})})(),t})(),Ut=(()=>{let e=class extends O{constructor(i){super(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(f,10))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,s){r&2&&H("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[d]})})(),t})();var C="VALID",w="INVALID",y="PENDING",V="DISABLED";function Ee(t){return(T(t)?t.validators:t)||null}function Ze(t){return Array.isArray(t)?z(t):t||null}function Fe(t,e){return(T(e)?e.asyncValidators:t)||null}function Xe(t){return Array.isArray(t)?Z(t):t||null}function T(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Ye(t,e,n){let i=t.controls;if(!(e?Object.keys(i):i).length)throw new A(1e3,"");if(!i[n])throw new A(1001,"")}function Je(t,e,n){t._forEachChild((i,r)=>{if(n[r]===void 0)throw new A(1002,"")})}var N=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===C}get invalid(){return this.status===w}get pending(){return this.status==y}get disabled(){return this.status===V}get enabled(){return this.status!==V}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(oe(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(oe(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(ae(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(ae(e,this._rawAsyncValidators))}hasValidator(e){return I(this._rawValidators,e)}hasAsyncValidator(e){return I(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=y,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=V,this.errors=null,this._forEachChild(i=>{i.disable(p(c({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(p(c({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=C,this._forEachChild(i=>{i.enable(p(c({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(p(c({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===C||this.status===y)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?V:C}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=y,this._hasOwnPendingAsyncValidator=!0;let n=ve(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(e,n){let i=n?this.get(n):this;return i&&i.errors?i.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new m,this.statusChanges=new m}_calculateStatus(){return this._allControlsDisabled()?V:this.errors?w:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(y)?y:this._anyControlsHaveStatus(w)?w:C}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){T(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Ze(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Xe(this._rawAsyncValidators)}},P=class extends N{constructor(e,n,i){super(Ee(n),Fe(i,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,i={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){Je(this,!0,e),Object.keys(e).forEach(i=>{Ye(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,i)=>(e[i]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,i)=>i._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let i=this.controls[n];i&&e(i,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,i]of Object.entries(this.controls))if(this.contains(n)&&e(i))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(e,n){let i=e;return this._forEachChild((r,s)=>{i=n(i,r,s)}),i}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var j=new g("CallSetDisabledState",{providedIn:"root",factory:()=>X}),X="always";function Ke(t,e){return[...e.path,t]}function x(t,e,n=X){Y(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),et(t,e),it(t,e),tt(t,e),Qe(t,e)}function le(t,e,n=!0){let i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),G(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function k(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function Qe(t,e){if(e.valueAccessor.setDisabledState){let n=i=>{e.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Y(t,e){let n=Ae(t);e.validator!==null?t.setValidators(se(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let i=Me(t);e.asyncValidator!==null?t.setAsyncValidators(se(i,e.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();k(e._rawValidators,r),k(e._rawAsyncValidators,r)}function G(t,e){let n=!1;if(t!==null){if(e.validator!==null){let r=Ae(t);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==e.validator);s.length!==r.length&&(n=!0,t.setValidators(s))}}if(e.asyncValidator!==null){let r=Me(t);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==e.asyncValidator);s.length!==r.length&&(n=!0,t.setAsyncValidators(s))}}}let i=()=>{};return k(e._rawValidators,i),k(e._rawAsyncValidators,i),n}function et(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&we(t,e)})}function tt(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&we(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function we(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function it(t,e){let n=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function Ie(t,e){t==null,Y(t,e)}function nt(t,e){return G(t,e)}function rt(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function st(t){return Object.getPrototypeOf(t.constructor)===Pe}function Se(t,e){t._syncPendingControls(),e.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function ot(t,e){if(!e)return null;Array.isArray(e);let n,i,r;return e.forEach(s=>{s.constructor===pe?n=s:st(s)?i=s:r=s}),r||i||n||null}function at(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var lt={provide:f,useExisting:v(()=>ut)},D=(()=>Promise.resolve())(),ut=(()=>{let e=class extends f{constructor(i,r,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new m,this.form=new P({},z(i),Z(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){D.then(()=>{let r=this._findContainer(i.path);i.control=r.registerControl(i.name,i.control),x(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){D.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){D.then(()=>{let r=this._findContainer(i.path),s=new P({});Ie(s,i),r.registerControl(i.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){D.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,r){D.then(()=>{this.form.get(i.path).setValue(r)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,Se(this.form,this._directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o($,10),o(q,10),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,s){r&1&&F("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_([lt]),d]})})(),t})();function ue(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function ce(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Oe=class extends N{constructor(e=null,n,i){super(Ee(n),Fe(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),T(n)&&(n.nonNullable||n.initialValueIsDefault)&&(ce(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ue(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ue(this._onDisabledChange,e)}_forEachChild(e){}_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(e){ce(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ct=t=>t instanceof Oe;var dt={provide:b,useExisting:v(()=>ht)},de=(()=>Promise.resolve())(),ht=(()=>{let e=class extends b{constructor(i,r,s,a,l,Ne){super(),this._changeDetectorRef=l,this.callSetDisabledState=Ne,this.control=new Oe,this._registered=!1,this.name="",this.update=new m,this._parent=i,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=ot(this,a)}ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){let r=i.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),rt(i,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(i){this.viewModel=i,this.update.emit(i)}_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(){x(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(i){de.then(()=>{this.control.setValue(i,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(i){let r=i.isDisabled.currentValue,s=r!==0&&ne(r);de.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(i){return this._parent?Ke(i,this._parent):[i]}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(f,9),o($,10),o(q,10),o(fe,10),o(ie,8),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_([dt]),d,B]})})(),t})();var ft=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({})})(),t})();var pt={provide:f,useExisting:v(()=>gt)},gt=(()=>{let e=class extends f{constructor(i,r,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new m,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(G(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let r=this.form.get(i.path);return x(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){le(i.control||null,i,!1),at(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,r){this.form.get(i.path).setValue(r)}onSubmit(i){return this.submitted=!0,Se(this.form,this.directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,s=this.form.get(i.path);r!==s&&(le(r||null,i),ct(s)&&(x(s,i,this.callSetDisabledState),i.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);Ie(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let r=this.form.get(i.path);r&&nt(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&G(this._oldForm,this)}_checkFormPresent(){this.form}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o($,10),o(q,10),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,s){r&1&&F("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_([pt]),d,B]})})(),t})();var mt=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({imports:[ft]})})(),t})();var Ht=(()=>{let e=class{static withConfig(i){return{ngModule:e,providers:[{provide:j,useValue:i.callSetDisabledState??X}]}}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({imports:[mt]})})(),t})();export{fe as a,pe as b,re as c,b as d,Bt as e,Ut as f,ut as g,ht as h,gt as i,Ht as j}; +import{$a as _,Ka as te,La as F,P as v,Q as A,S as M,Ta as H,W as E,X as u,aa as B,fa as ee,hb as m,i as J,ia as g,m as K,oa as U,pa as R,q as Q,ta as o,tb as ie,ub as ne,vb as L,xa as d}from"./chunk-HFIM43UT.js";import{a as c,b as p}from"./chunk-OPXGAHDX.js";var he=(()=>{let e=class{constructor(i,r){this._renderer=i,this._elementRef=r,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(i,r){this._renderer.setProperty(this._elementRef.nativeElement,i,r)}registerOnTouched(i){this.onTouched=i}registerOnChange(i){this.onChange=i}setDisabledState(i){this.setProperty("disabled",i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(R),o(U))}})(),(()=>{e.\u0275dir=u({type:e})})(),t})(),Pe=(()=>{let e=class extends he{},t=e;return(()=>{e.\u0275fac=function(){let i;return function(s){return(i||(i=ee(e)))(s||e)}}()})(),(()=>{e.\u0275dir=u({type:e,features:[d]})})(),t})(),fe=new g("NgValueAccessor");var xe={provide:fe,useExisting:v(()=>pe),multi:!0};function ke(){let t=L()?L().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Ge=new g("CompositionEventMode"),pe=(()=>{let e=class extends he{constructor(i,r,s){super(i,r),this._compositionMode=s,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!ke())}writeValue(i){let r=i??"";this.setProperty("value",r)}_handleInput(i){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(i)}_compositionStart(){this._composing=!0}_compositionEnd(i){this._composing=!1,this._compositionMode&&this.onChange(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(R),o(U),o(Ge,8))}})(),(()=>{e.\u0275dir=u({type:e,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(r,s){r&1&&F("input",function(l){return s._handleInput(l.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(l){return s._compositionEnd(l.target.value)})},features:[_([xe]),d]})})(),t})();function h(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function ge(t){return t!=null&&typeof t.length=="number"}var $=new g("NgValidators"),q=new g("NgAsyncValidators"),Te=/^(?=.{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])?)*$/,re=class{static min(e){return je(e)}static max(e){return Be(e)}static required(e){return Ue(e)}static requiredTrue(e){return Re(e)}static email(e){return He(e)}static minLength(e){return Le(e)}static maxLength(e){return We(e)}static pattern(e){return $e(e)}static nullValidator(e){return me(e)}static compose(e){return De(e)}static composeAsync(e){return be(e)}};function je(t){return e=>{if(h(e.value)||h(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(h(e.value)||h(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function Ue(t){return h(t.value)?{required:!0}:null}function Re(t){return t.value===!0?null:{required:!0}}function He(t){return h(t.value)||Te.test(t.value)?null:{email:!0}}function Le(t){return e=>h(e.value)||!ge(e.value)?null:e.value.lengthge(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function $e(t){if(!t)return me;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),i=>{if(h(i.value))return null;let r=i.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}function me(t){return null}function ye(t){return t!=null}function ve(t){return te(t)?J(t):t}function _e(t){let e={};return t.forEach(n=>{e=n!=null?c(c({},e),n):e}),Object.keys(e).length===0?null:e}function Ce(t,e){return e.map(n=>n(t))}function qe(t){return!t.validate}function Ve(t){return t.map(e=>qe(e)?e:n=>e.validate(n))}function De(t){if(!t)return null;let e=t.filter(ye);return e.length==0?null:function(n){return _e(Ce(n,e))}}function z(t){return t!=null?De(Ve(t)):null}function be(t){if(!t)return null;let e=t.filter(ye);return e.length==0?null:function(n){let i=Ce(n,e).map(ve);return Q(i).pipe(K(_e))}}function Z(t){return t!=null?be(Ve(t)):null}function se(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Ae(t){return t._rawValidators}function Me(t){return t._rawAsyncValidators}function W(t){return t?Array.isArray(t)?t:[t]:[]}function I(t,e){return Array.isArray(t)?t.includes(e):t===e}function oe(t,e){let n=W(e);return W(t).forEach(r=>{I(n,r)||n.push(r)}),n}function ae(t,e){return W(e).filter(n=>!I(t,n))}var S=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=z(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Z(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},f=class extends S{get formDirective(){return null}get path(){return null}},b=class extends S{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},O=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},ze={"[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"},jt=p(c({},ze),{"[class.ng-submitted]":"isSubmitted"}),Bt=(()=>{let e=class extends O{constructor(i){super(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(b,2))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,s){r&2&&H("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[d]})})(),t})(),Ut=(()=>{let e=class extends O{constructor(i){super(i)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(f,10))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,s){r&2&&H("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[d]})})(),t})();var C="VALID",w="INVALID",y="PENDING",V="DISABLED";function Ee(t){return(T(t)?t.validators:t)||null}function Ze(t){return Array.isArray(t)?z(t):t||null}function Fe(t,e){return(T(e)?e.asyncValidators:t)||null}function Xe(t){return Array.isArray(t)?Z(t):t||null}function T(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Ye(t,e,n){let i=t.controls;if(!(e?Object.keys(i):i).length)throw new A(1e3,"");if(!i[n])throw new A(1001,"")}function Je(t,e,n){t._forEachChild((i,r)=>{if(n[r]===void 0)throw new A(1002,"")})}var N=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===C}get invalid(){return this.status===w}get pending(){return this.status==y}get disabled(){return this.status===V}get enabled(){return this.status!==V}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(oe(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(oe(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(ae(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(ae(e,this._rawAsyncValidators))}hasValidator(e){return I(this._rawValidators,e)}hasAsyncValidator(e){return I(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=y,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=V,this.errors=null,this._forEachChild(i=>{i.disable(p(c({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(p(c({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=C,this._forEachChild(i=>{i.enable(p(c({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(p(c({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===C||this.status===y)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?V:C}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=y,this._hasOwnPendingAsyncValidator=!0;let n=ve(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((i,r)=>i&&i._find(r),this)}getError(e,n){let i=n?this.get(n):this;return i&&i.errors?i.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new m,this.statusChanges=new m}_calculateStatus(){return this._allControlsDisabled()?V:this.errors?w:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(y)?y:this._anyControlsHaveStatus(w)?w:C}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){T(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Ze(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Xe(this._rawAsyncValidators)}},P=class extends N{constructor(e,n,i){super(Ee(n),Fe(i,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,i={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,i={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){Je(this,!0,e),Object.keys(e).forEach(i=>{Ye(this,!0,i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(i=>{let r=this.controls[i];r&&r.patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((i,r)=>{i.reset(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,i)=>(e[i]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,i)=>i._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let i=this.controls[n];i&&e(i,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,i]of Object.entries(this.controls))if(this.contains(n)&&e(i))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,i,r)=>((i.enabled||this.disabled)&&(n[r]=i.value),n))}_reduceChildren(e,n){let i=e;return this._forEachChild((r,s)=>{i=n(i,r,s)}),i}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var j=new g("CallSetDisabledState",{providedIn:"root",factory:()=>X}),X="always";function Ke(t,e){return[...e.path,t]}function x(t,e,n=X){Y(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),et(t,e),it(t,e),tt(t,e),Qe(t,e)}function le(t,e,n=!0){let i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),G(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function k(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function Qe(t,e){if(e.valueAccessor.setDisabledState){let n=i=>{e.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function Y(t,e){let n=Ae(t);e.validator!==null?t.setValidators(se(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let i=Me(t);e.asyncValidator!==null?t.setAsyncValidators(se(i,e.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();k(e._rawValidators,r),k(e._rawAsyncValidators,r)}function G(t,e){let n=!1;if(t!==null){if(e.validator!==null){let r=Ae(t);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==e.validator);s.length!==r.length&&(n=!0,t.setValidators(s))}}if(e.asyncValidator!==null){let r=Me(t);if(Array.isArray(r)&&r.length>0){let s=r.filter(a=>a!==e.asyncValidator);s.length!==r.length&&(n=!0,t.setAsyncValidators(s))}}}let i=()=>{};return k(e._rawValidators,i),k(e._rawAsyncValidators,i),n}function et(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&we(t,e)})}function tt(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&we(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function we(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function it(t,e){let n=(i,r)=>{e.valueAccessor.writeValue(i),r&&e.viewToModelUpdate(i)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function Ie(t,e){t==null,Y(t,e)}function nt(t,e){return G(t,e)}function rt(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function st(t){return Object.getPrototypeOf(t.constructor)===Pe}function Se(t,e){t._syncPendingControls(),e.forEach(n=>{let i=n.control;i.updateOn==="submit"&&i._pendingChange&&(n.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function ot(t,e){if(!e)return null;Array.isArray(e);let n,i,r;return e.forEach(s=>{s.constructor===pe?n=s:st(s)?i=s:r=s}),r||i||n||null}function at(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var lt={provide:f,useExisting:v(()=>ut)},D=(()=>Promise.resolve())(),ut=(()=>{let e=class extends f{constructor(i,r,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new m,this.form=new P({},z(i),Z(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(i){D.then(()=>{let r=this._findContainer(i.path);i.control=r.registerControl(i.name,i.control),x(i.control,i,this.callSetDisabledState),i.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(i)})}getControl(i){return this.form.get(i.path)}removeControl(i){D.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name),this._directives.delete(i)})}addFormGroup(i){D.then(()=>{let r=this._findContainer(i.path),s=new P({});Ie(s,i),r.registerControl(i.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(i){D.then(()=>{let r=this._findContainer(i.path);r&&r.removeControl(i.name)})}getFormGroup(i){return this.form.get(i.path)}updateModel(i,r){D.then(()=>{this.form.get(i.path).setValue(r)})}setValue(i){this.control.setValue(i)}onSubmit(i){return this.submitted=!0,Se(this.form,this._directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(i){return i.pop(),i.length?this.form.get(i):this.form}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o($,10),o(q,10),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,s){r&1&&F("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_([lt]),d]})})(),t})();function ue(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function ce(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Oe=class extends N{constructor(e=null,n,i){super(Ee(n),Fe(i,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),T(n)&&(n.nonNullable||n.initialValueIsDefault)&&(ce(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(i=>i(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){ue(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){ue(this._onDisabledChange,e)}_forEachChild(e){}_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(e){ce(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var ct=t=>t instanceof Oe;var dt={provide:b,useExisting:v(()=>ht)},de=(()=>Promise.resolve())(),ht=(()=>{let e=class extends b{constructor(i,r,s,a,l,Ne){super(),this._changeDetectorRef=l,this.callSetDisabledState=Ne,this.control=new Oe,this._registered=!1,this.name="",this.update=new m,this._parent=i,this._setValidators(r),this._setAsyncValidators(s),this.valueAccessor=ot(this,a)}ngOnChanges(i){if(this._checkForErrors(),!this._registered||"name"in i){if(this._registered&&(this._checkName(),this.formDirective)){let r=i.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in i&&this._updateDisabled(i),rt(i,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(i){this.viewModel=i,this.update.emit(i)}_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(){x(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(i){de.then(()=>{this.control.setValue(i,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(i){let r=i.isDisabled.currentValue,s=r!==0&&ne(r);de.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(i){return this._parent?Ke(i,this._parent):[i]}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o(f,9),o($,10),o(q,10),o(fe,10),o(ie,8),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_([dt]),d,B]})})(),t})();var ft=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({})})(),t})();var pt={provide:f,useExisting:v(()=>gt)},gt=(()=>{let e=class extends f{constructor(i,r,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new m,this._setValidators(i),this._setAsyncValidators(r)}ngOnChanges(i){this._checkFormPresent(),i.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(G(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(i){let r=this.form.get(i.path);return x(r,i,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(i),r}getControl(i){return this.form.get(i.path)}removeControl(i){le(i.control||null,i,!1),at(this.directives,i)}addFormGroup(i){this._setUpFormContainer(i)}removeFormGroup(i){this._cleanUpFormContainer(i)}getFormGroup(i){return this.form.get(i.path)}addFormArray(i){this._setUpFormContainer(i)}removeFormArray(i){this._cleanUpFormContainer(i)}getFormArray(i){return this.form.get(i.path)}updateModel(i,r){this.form.get(i.path).setValue(r)}onSubmit(i){return this.submitted=!0,Se(this.form,this.directives),this.ngSubmit.emit(i),i?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(i=void 0){this.form.reset(i),this.submitted=!1}_updateDomValue(){this.directives.forEach(i=>{let r=i.control,s=this.form.get(i.path);r!==s&&(le(r||null,i),ct(s)&&(x(s,i,this.callSetDisabledState),i.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(i){let r=this.form.get(i.path);Ie(r,i),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(i){if(this.form){let r=this.form.get(i.path);r&&nt(r,i)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Y(this.form,this),this._oldForm&&G(this._oldForm,this)}_checkFormPresent(){this.form}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)(o($,10),o(q,10),o(j,8))}})(),(()=>{e.\u0275dir=u({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,s){r&1&&F("submit",function(l){return s.onSubmit(l)})("reset",function(){return s.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_([pt]),d,B]})})(),t})();var mt=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({imports:[ft]})})(),t})();var Ht=(()=>{let e=class{static withConfig(i){return{ngModule:e,providers:[{provide:j,useValue:i.callSetDisabledState??X}]}}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275mod=E({type:e})})(),(()=>{e.\u0275inj=M({imports:[mt]})})(),t})();export{fe as a,pe as b,re as c,b as d,Bt as e,Ut as f,ut as g,ht as h,gt as i,Ht as j}; diff --git a/chunk-BTQVCDJX.js b/chunk-BTQVCDJX.js new file mode 100644 index 00000000..53d12383 --- /dev/null +++ b/chunk-BTQVCDJX.js @@ -0,0 +1 @@ +import{$,M as B,N as wt,Ob as Y,Qb as xt,R as w,S as I,T as u,Tb as q,U as j,Ub as G,Vb as Mt,W as L,Wb as R,X as O,Yb as K,Z as Ct,Zb as f,_ as Z,a as C,aa as Et,b as gt,d as E,f as vt,hb as b,ia as St,jb as U,kb as T,la as kt,na as V,oa as k,oc as J,pc as At,ra as N,rb as x,rc as Ft,sa as P,sb as Ot,sc as Q,t as yt,ta as v,uc as tt,v as mt,va as D,wa as Pt,wb as m,xa as Rt,xb as Dt,z as bt}from"./chunk-HFIM43UT.js";import{a as F,b as _t}from"./chunk-OPXGAHDX.js";var M=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},et=class extends M{constructor(t,s,e,i,o){super(),this.component=t,this.viewContainerRef=s,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=o}},A=class extends M{constructor(t,s,e,i){super(),this.templateRef=t,this.viewContainerRef=s,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,s=this.context){return this.context=s,super.attach(t)}detach(){return this.context=void 0,super.detach()}},it=class extends M{constructor(t){super(),this.element=t instanceof k?t.nativeElement:t}},H=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof et)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof A)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof it)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var X=class extends H{constructor(t,s,e,i,o){super(),this.outletElement=t,this._componentFactoryResolver=s,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");a.parentNode.insertBefore(h,a),this.outletElement.appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=o}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||P.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let s=t.viewContainerRef,e=s.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=s.indexOf(e);i!==-1&&s.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var _e=(()=>{let t=class extends H{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new b,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");r.setAttachedHost(this),a.parentNode.insertBefore(h,a),this._getRootNode().appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(v(V),v(T),v(m))}})(),(()=>{t.\u0275dir=O({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Rt]})})(),n})();var Bt=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275mod=L({type:t})})(),(()=>{t.\u0275inj=I({})})(),n})();var It=xt(),st=class{constructor(t,s){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=s}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=f(-this._previousScrollPosition.left),t.style.top=f(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,s=this._document.body,e=t.style,i=s.style,o=e.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),It&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),It&&(e.scrollBehavior=o,i.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let s=this._document.body,e=this._viewportRuler.getViewportSize();return s.scrollHeight>e.height||s.scrollWidth>e.width}};var ot=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._ngZone=s,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(mt(s=>!s||!this._overlayRef.overlayElement.contains(s.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let s=this._viewportRuler.getViewportScrollPosition().top;Math.abs(s-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},W=class{enable(){}disable(){}attach(){}};function nt(n,t){return t.some(s=>{let e=n.bottoms.bottom,o=n.rights.right;return e||i||o||r})}function jt(n,t){return t.some(s=>{let e=n.tops.bottom,o=n.lefts.right;return e||i||o||r})}var rt=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._viewportRuler=s,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let s=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();nt(s,[{width:e,height:i,bottom:i,right:e,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}},Zt=(()=>{let t=class{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new W,this.close=a=>new ot(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new st(this._viewportRuler,this._document),this.reposition=a=>new rt(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=r}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(Ft),u(Q),u(x),u(m))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),z=class{constructor(t){if(this.scrollStrategy=new W,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let s=Object.keys(t);for(let e of s)t[e]!==void 0&&(this[e]=t[e])}}};var at=class{constructor(t,s){this.connectionPair=t,this.scrollableViewProperties=s}};var Yt=(()=>{let t=class{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(m))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),$t=(()=>{let t=class extends Yt{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{let r=this._attachedOverlays;for(let a=r.length-1;a>-1;a--)if(r[a]._keydownEvents.observers.length>0){let h=r[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>h.next(o)):h.next(o);break}}}add(e){super.add(e),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)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(m),u(x,8))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Ut=(()=>{let t=class extends Yt{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=q(r)},this._clickListener=r=>{let a=q(r),h=r.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(h))break;let g=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(r)):g.next(r)}}}add(e){if(super.add(e),!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 e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(m),u(Y),u(x,8))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Ht=(()=>{let t=class{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||G()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{t.\u0275fac=function(i){return new(i||t)(u(m),u(Y))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),ht=class{constructor(t,s,e,i,o,r,a,h,c,l=!1){this._portalOutlet=t,this._host=s,this._pane=e,this._config=i,this._ngZone=o,this._keyboardDispatcher=r,this._document=a,this._location=h,this._outsideClickDispatcher=c,this._animationsDisabled=l,this._backdropElement=null,this._backdropClick=new E,this._attachments=new E,this._detachments=new E,this._locationChanges=C.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new E,this._outsidePointerEvents=new E,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let s=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(bt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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 s?.onDestroy=="function"&&s.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),s}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=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._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=F(F({},this._config),t),this._updateElementSize()}setDirection(t){this._config=_t(F({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=f(this._config.width),t.height=f(this._config.height),t.minWidth=f(this._config.minWidth),t.minHeight=f(this._config.minHeight),t.maxWidth=f(this._config.maxWidth),t.maxHeight=f(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,s,e){let i=K(s||[]).filter(o=>!!o);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(B(yt(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()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Lt="cdk-overlay-connected-position-bounding-box",qt=/([A-Za-z%]+)$/,lt=class{get positions(){return this._preferredPositions}constructor(t,s,e,i,o){this._viewportRuler=s,this._document=e,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new E,this._resizeSubscription=C.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Lt),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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 t=this._originRect,s=this._overlayRect,e=this._viewportRect,i=this._containerRect,o=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(t,i,a),c=this._getOverlayPoint(h,s,a),l=this._getOverlayFit(c,s,e,a);if(l.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(l,c,e)){o.push({position:a,origin:h,overlayRect:s,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleAreah&&(h=l,a=c)}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&&S(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Lt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let s=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,s)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,s,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let r=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=e.originX=="start"?r:a}s.left<0&&(i-=s.left);let o;return e.originY=="center"?o=t.top+t.height/2:o=e.originY=="top"?t.top:t.bottom,s.top<0&&(o-=s.top),{x:i,y:o}}_getOverlayPoint(t,s,e){let i;e.overlayX=="center"?i=-s.width/2:e.overlayX==="start"?i=this._isRtl()?-s.width:0:i=this._isRtl()?0:-s.width;let o;return e.overlayY=="center"?o=-s.height/2:o=e.overlayY=="top"?0:-s.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,s,e,i){let o=Nt(s),{x:r,y:a}=t,h=this._getOffset(i,"x"),c=this._getOffset(i,"y");h&&(r+=h),c&&(a+=c);let l=0-r,d=r+o.width-e.width,g=0-a,_=a+o.height-e.height,p=this._subtractOverflows(o.width,l,d),y=this._subtractOverflows(o.height,g,_),pt=p*y;return{visibleArea:pt,isCompletelyWithinViewport:o.width*o.height===pt,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,s,e){if(this._hasFlexibleDimensions){let i=e.bottom-s.y,o=e.right-s.x,r=Vt(this._overlayRef.getConfig().minHeight),a=Vt(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportVertically||r!=null&&r<=i,c=t.fitsInViewportHorizontally||a!=null&&a<=o;return h&&c}return!1}_pushOverlayOnScreen(t,s,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Nt(s),o=this._viewportRect,r=Math.max(t.x+i.width-o.width,0),a=Math.max(t.y+i.height-o.height,0),h=Math.max(o.top-e.top-t.y,0),c=Math.max(o.left-e.left-t.x,0),l=0,d=0;return i.width<=o.width?l=c||-r:l=t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-p/2)}let h=s.overlayX==="start"&&!i||s.overlayX==="end"&&i,c=s.overlayX==="end"&&!i||s.overlayX==="start"&&i,l,d,g;if(c)g=e.width-t.x+this._viewportMargin,l=t.x-this._viewportMargin;else if(h)d=t.x,l=e.right-t.x;else{let _=Math.min(e.right-t.x+e.left,t.x),p=this._lastBoundingBoxSize.width;l=_*2,d=t.x-_,l>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:r,left:d,bottom:a,right:g,width:l,height:o}}_setBoundingBoxStyles(t,s){let e=this._calculateBoundingBoxRect(t,s);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=f(e.height),i.top=f(e.top),i.bottom=f(e.bottom),i.width=f(e.width),i.left=f(e.left),i.right=f(e.right),s.overlayX==="center"?i.alignItems="center":i.alignItems=s.overlayX==="end"?"flex-end":"flex-start",s.overlayY==="center"?i.justifyContent="center":i.justifyContent=s.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=f(o)),r&&(i.maxWidth=f(r))}this._lastBoundingBoxSize=e,S(this._boundingBox.style,i)}_resetBoundingBoxStyles(){S(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){S(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,s){let e={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let l=this._viewportRuler.getViewportScrollPosition();S(e,this._getExactOverlayY(s,t,l)),S(e,this._getExactOverlayX(s,t,l))}else e.position="static";let a="",h=this._getOffset(s,"x"),c=this._getOffset(s,"y");h&&(a+=`translateX(${h}px) `),c&&(a+=`translateY(${c}px)`),e.transform=a.trim(),r.maxHeight&&(i?e.maxHeight=f(r.maxHeight):o&&(e.maxHeight="")),r.maxWidth&&(i?e.maxWidth=f(r.maxWidth):o&&(e.maxWidth="")),S(this._pane.style,e)}_getExactOverlayY(t,s,e){let i={top:"",bottom:""},o=this._getOverlayPoint(s,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),t.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(o.y+this._overlayRect.height)}px`}else i.top=f(o.y);return i}_getExactOverlayX(t,s,e){let i={left:"",right:""},o=this._getOverlayPoint(s,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let r;if(this._isRtl()?r=t.overlayX==="end"?"left":"right":r=t.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`}else i.left=f(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),s=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:jt(t,e),isOriginOutsideView:nt(t,e),isOverlayClipped:jt(s,e),isOverlayOutsideView:nt(s,e)}}_subtractOverflows(t,...s){return s.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,s=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+s-this._viewportMargin,width:t-2*this._viewportMargin,height:s-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,s){return s==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&K(t).forEach(s=>{s!==""&&this._appliedPanelClasses.indexOf(s)===-1&&(this._appliedPanelClasses.push(s),this._pane.classList.add(s))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof k)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let s=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+s,height:e,width:s}}};function S(n,t){for(let s in t)t.hasOwnProperty(s)&&(n[s]=t[s]);return n}function Vt(n){if(typeof n!="number"&&n!=null){let[t,s]=n.split(qt);return!s||s==="px"?parseFloat(t):null}return n||null}function Nt(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}var Tt="cdk-global-overlay-wrapper",ct=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let s=t.getConfig();this._overlayRef=t,this._width&&!s.width&&t.updateSize({width:this._width}),this._height&&!s.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Tt),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:r,maxHeight:a}=e,h=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),l=this._xPosition,d=this._xOffset,g=this._overlayRef.getConfig().direction==="rtl",_="",p="",y="";h?y="flex-start":l==="center"?(y="center",g?p=d:_=d):g?l==="left"||l==="end"?(y="flex-end",_=d):(l==="right"||l==="start")&&(y="flex-start",p=d):l==="left"||l==="start"?(y="flex-start",_=d):(l==="right"||l==="end")&&(y="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=h?"0":_,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=h?"0":p,s.justifyContent=y,s.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement,e=s.style;s.classList.remove(Tt),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Gt=(()=>{let t=class{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new ct}flexibleConnectedTo(e){return new lt(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(Q),u(m),u(Y),u(Ht))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Kt=0,dt=(()=>{let t=class{constructor(e,i,o,r,a,h,c,l,d,g,_,p){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=h,this._ngZone=c,this._document=l,this._directionality=d,this._location=g,this._outsideClickDispatcher=_,this._animationsModuleType=p}create(e){let i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),a=new z(e);return a.direction=a.direction||this._directionality.value,new ht(r,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${Kt++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Ot)),new X(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(Zt),u(Ht),u(V),u(Gt),u($t),u(P),u(x),u(m),u(J),u(Dt),u(Ut),u(kt,8))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Jt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Xt=new St("cdk-connected-overlay-scroll-strategy"),Qt=(()=>{let t=class{constructor(e){this.elementRef=e}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(v(k))}})(),(()=>{t.\u0275dir=O({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})})(),n})(),Ve=(()=>{let t=class{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=R(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=R(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=R(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=R(e)}get push(){return this._push}set push(e){this._push=R(e)}constructor(e,i,o,r,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=C.EMPTY,this._attachSubscription=C.EMPTY,this._detachSubscription=C.EMPTY,this._positionSubscription=C.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new b,this.positionChange=new b,this.attach=new b,this.detach=new b,this.overlayKeydown=new b,this.overlayOutsideClick=new b,this._templatePortal=new A(i,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Jt);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Mt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new z({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Qt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(wt(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(v(dt),v(U),v(T),v(Xt),v(J,8))}})(),(()=>{t.\u0275dir=O({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Et]})})(),n})();function te(n){return()=>n.scrollStrategies.reposition()}var ee={provide:Xt,deps:[dt],useFactory:te},Ne=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275mod=L({type:t})})(),(()=>{t.\u0275inj=I({providers:[dt,ee],imports:[At,Bt,tt,tt]})})(),n})();function ie(n){n||(N(ie),n=j(D));let t=new gt(s=>n.onDestroy(s.next.bind(s)));return s=>s.pipe(B(t))}function se(n,t){!t?.injector&&N(se);let s=t?.injector??j(P),e=new vt(1),i=Pt(()=>{let o;try{o=n()}catch(r){$(()=>e.error(r));return}$(()=>e.next(o))},{injector:s,manualCleanup:!0});return s.get(D).onDestroy(()=>{i.destroy(),e.complete()}),e.asObservable()}var ut=class extends Error{constructor(t,s){super(oe(t,s)),this.code=t}};function oe(n,t){return`${`NG0${Math.abs(n)}`}${t?": "+t:""}`}var ne=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();var ft=class{constructor(t){this.ref=t}deref(){return this.ref}},ze=ne.WeakRef??ft;function re(n,t){let s=!t?.manualCleanup;s&&!t?.injector&&N(re);let e=s?t?.injector?.get(D)??j(D):null,i;t?.requireSync?i=Z({kind:0}):i=Z({kind:1,value:t?.initialValue});let o=n.subscribe({next:r=>i.set({kind:1,value:r}),error:r=>i.set({kind:2,error:r})});return e?.onDestroy(o.unsubscribe.bind(o)),Ct(()=>{let r=i();switch(r.kind){case 1:return r.value;case 2:throw r.error;case 0:throw new ut(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}export{et as a,A as b,H as c,_e as d,Bt as e,z as f,Ht as g,ht as h,dt as i,Qt as j,Ve as k,Ne as l,ie as m,se as n,re as o}; diff --git a/chunk-NEYEICGN.js b/chunk-CKWROFPT.js similarity index 98% rename from chunk-NEYEICGN.js rename to chunk-CKWROFPT.js index 706eb72b..2927f18d 100644 --- a/chunk-NEYEICGN.js +++ b/chunk-CKWROFPT.js @@ -1 +1 @@ -import{o as ze}from"./chunk-T7HJLGDV.js";import{Ac as w,Dc as ut,Fc as Qt,G as Ee,Gc as C,H as Re,Jc as H,K as Fe,L as De,M as Ae,N as Ne,Q as jt,T as ft,U as Ce,V as z,W as D,Y as _e,Z as P,b as Se,bb as Kt,c as je,cc as Ve,e as Te,h as Me,j as Wt,jb as Jt,ka as J,lb as ke,m as St,mb as $e,md as Ue,qa as Be,ua as Pe,va as g,yc as k,za as Gt,zc as Zt}from"./chunk-LCFD4RLU.js";import{a as F,b as pt,e as c}from"./chunk-OPXGAHDX.js";function Tt(t,e){var o={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(o[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(t);nMath.min(Math.max(o,t),e);var Xt=.001,_r=.01,He=10,Br=.05,Pr=1;function qe({duration:t=800,bounce:e=.25,velocity:o=0,mass:r=1}){let n,s;Mt(t<=He*1e3,"Spring duration must be 10 seconds or less");let i=1-e;i=mt(Br,Pr,i),t=mt(_r,He,t/1e3),i<1?(n=p=>{let f=p*i,u=f*t,O=f-o,T=Et(p,i),R=Math.exp(-u);return Xt-O/T*R},s=p=>{let u=p*i*t,O=u*o+o,T=Math.pow(i,2)*Math.pow(p,2)*t,R=Math.exp(-u),N=Et(Math.pow(p,2),i);return(-n(p)+Xt>0?-1:1)*((O-T)*R)/N}):(n=p=>{let f=Math.exp(-p*t),u=(p-o)*t+1;return-Xt+f*u},s=p=>{let f=Math.exp(-p*t),u=(o-p)*(t*t);return f*u});let a=5/t,l=$r(n,s,a);if(t=t*1e3,isNaN(l))return{stiffness:100,damping:10,duration:t};{let p=Math.pow(l,2)*r;return{stiffness:p,damping:i*2*Math.sqrt(r*p),duration:t}}}var kr=12;function $r(t,e,o){let r=o;for(let n=1;nt[o]!==void 0)}function zr(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!Le(t,Ur)&&Le(t,Vr)){let o=qe(t);e=Object.assign(Object.assign(Object.assign({},e),o),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}function Rt(t){var{from:e=0,to:o=1,restSpeed:r=2,restDelta:n}=t,s=Tt(t,["from","to","restSpeed","restDelta"]);let i={done:!1,value:e},{stiffness:a,damping:l,mass:p,velocity:f,duration:u,isResolvedFromDuration:O}=zr(s),T=Ye,R=Ye;function N(){let b=f?-(f/1e3):0,x=o-e,h=l/(2*Math.sqrt(a*p)),d=Math.sqrt(a/p)/1e3;if(n===void 0&&(n=Math.min(Math.abs(o-e)/100,.4)),h<1){let m=Et(d,h);T=y=>{let I=Math.exp(-h*d*y);return o-I*((b+h*d*x)/m*Math.sin(m*y)+x*Math.cos(m*y))},R=y=>{let I=Math.exp(-h*d*y);return h*d*I*(Math.sin(m*y)*(b+h*d*x)/m+x*Math.cos(m*y))-I*(Math.cos(m*y)*(b+h*d*x)-m*x*Math.sin(m*y))}}else if(h===1)T=m=>o-Math.exp(-d*m)*(x+(b+d*x)*m);else{let m=d*Math.sqrt(h*h-1);T=y=>{let I=Math.exp(-h*d*y),K=Math.min(m*y,300);return o-I*((b+h*d*x)*Math.sinh(K)+m*x*Math.cosh(K))/m}}}return N(),{next:b=>{let x=T(b);if(O)i.done=b>=u;else{let h=R(b)*1e3,d=Math.abs(h)<=r,m=Math.abs(o-x)<=n;i.done=d&&m}return i.value=i.done?o:x,i},flipTarget:()=>{f=-f,[e,o]=[o,e],N()}}}Rt.needsInterpolation=(t,e)=>typeof t=="string"||typeof e=="string";var Ye=t=>0;var te=(t,e,o)=>{let r=e-t;return r===0?1:(o-t)/r};var v=(t,e,o)=>-o*t+o*e+t;var Ft=(t,e)=>o=>Math.max(Math.min(o,e),t),$=t=>t%1?Number(t.toFixed(5)):t,Q=/(-)?([\d]*\.?[\d])+/g,Dt=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,We=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function _(t){return typeof t=="string"}var X={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},At=Object.assign(Object.assign({},X),{transform:Ft(0,1)}),Wn=Object.assign(Object.assign({},X),{default:1});var dt=t=>({test:e=>_(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Jn=dt("deg"),tt=dt("%"),Zn=dt("px"),Qn=dt("vh"),Xn=dt("vw"),to=Object.assign(Object.assign({},tt),{parse:t=>tt.parse(t)/100,transform:t=>tt.transform(t*100)});var et=(t,e)=>o=>!!(_(o)&&We.test(o)&&o.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(o,e)),Nt=(t,e,o)=>r=>{if(!_(r))return r;let[n,s,i,a]=r.match(Q);return{[t]:parseFloat(n),[e]:parseFloat(s),[o]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}};var A={test:et("hsl","hue"),parse:Nt("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:o,alpha:r=1})=>"hsla("+Math.round(t)+", "+tt.transform($(e))+", "+tt.transform($(o))+", "+$(At.transform(r))+")"};var Hr=Ft(0,255),Ct=Object.assign(Object.assign({},X),{transform:t=>Math.round(Hr(t))}),S={test:et("rgb","red"),parse:Nt("red","green","blue"),transform:({red:t,green:e,blue:o,alpha:r=1})=>"rgba("+Ct.transform(t)+", "+Ct.transform(e)+", "+Ct.transform(o)+", "+$(At.transform(r))+")"};function qr(t){let e="",o="",r="",n="";return t.length>5?(e=t.substr(1,2),o=t.substr(3,2),r=t.substr(5,2),n=t.substr(7,2)):(e=t.substr(1,1),o=t.substr(2,1),r=t.substr(3,1),n=t.substr(4,1),e+=e,o+=o,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var rt={test:et("#"),parse:qr,transform:S.transform};var V={test:t=>S.test(t)||rt.test(t)||A.test(t),parse:t=>S.test(t)?S.parse(t):A.test(t)?A.parse(t):rt.parse(t),transform:t=>_(t)?t:t.hasOwnProperty("red")?S.transform(t):A.transform(t)};var Ge="${c}",Ke="${n}";function Lr(t){var e,o,r,n;return isNaN(t)&&_(t)&&((o=(e=t.match(Q))===null||e===void 0?void 0:e.length)!==null&&o!==void 0?o:0)+((n=(r=t.match(Dt))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0)>0}function Je(t){typeof t=="number"&&(t=`${t}`);let e=[],o=0,r=t.match(Dt);r&&(o=r.length,t=t.replace(Dt,Ge),e.push(...r.map(V.parse)));let n=t.match(Q);return n&&(t=t.replace(Q,Ke),e.push(...n.map(X.parse))),{values:e,numColors:o,tokenised:t}}function Ze(t){return Je(t).values}function Qe(t){let{values:e,numColors:o,tokenised:r}=Je(t),n=e.length;return s=>{let i=r;for(let a=0;atypeof t=="number"?0:t;function Wr(t){let e=Ze(t);return Qe(t)(e.map(Yr))}var _t={test:Lr,parse:Ze,createTransformer:Qe,getAnimatableNone:Wr};function ee(t,e,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+(e-t)*6*o:o<1/2?e:o<2/3?t+(e-t)*(2/3-o)*6:t}function re({hue:t,saturation:e,lightness:o,alpha:r}){t/=360,e/=100,o/=100;let n=0,s=0,i=0;if(!e)n=s=i=o;else{let a=o<.5?o*(1+e):o+e-o*e,l=2*o-a;n=ee(l,a,t+1/3),s=ee(l,a,t),i=ee(l,a,t-1/3)}return{red:Math.round(n*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}var Gr=(t,e,o)=>{let r=t*t,n=e*e;return Math.sqrt(Math.max(0,o*(n-r)+r))},Kr=[rt,S,A],Xe=t=>Kr.find(e=>e.test(t)),tr=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,Bt=(t,e)=>{let o=Xe(t),r=Xe(e);Z(!!o,tr(t)),Z(!!r,tr(e));let n=o.parse(t),s=r.parse(e);o===A&&(n=re(n),o=S),r===A&&(s=re(s),r=S);let i=Object.assign({},n);return a=>{for(let l in i)l!=="alpha"&&(i[l]=Gr(n[l],s[l],a));return i.alpha=v(n.alpha,s.alpha,a),o.transform(i)}};var er=t=>typeof t=="number";var Jr=(t,e)=>o=>e(t(o)),Pt=(...t)=>t.reduce(Jr);function nr(t,e){return er(t)?o=>v(t,e,o):V.test(t)?Bt(t,e):oe(t,e)}var ne=(t,e)=>{let o=[...t],r=o.length,n=t.map((s,i)=>nr(s,e[i]));return s=>{for(let i=0;i{let o=Object.assign(Object.assign({},t),e),r={};for(let n in o)t[n]!==void 0&&e[n]!==void 0&&(r[n]=nr(t[n],e[n]));return n=>{for(let s in r)o[s]=r[s](n);return o}};function rr(t){let e=_t.parse(t),o=e.length,r=0,n=0,s=0;for(let i=0;i{let o=_t.createTransformer(e),r=rr(t),n=rr(e);return r.numHSL===n.numHSL&&r.numRGB===n.numRGB&&r.numNumbers>=n.numNumbers?Pt(ne(r.parsed,n.parsed),o):(Mt(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i=>`${i>0?e:t}`)};var Zr=(t,e)=>o=>v(t,e,o);function Qr(t){if(typeof t=="number")return Zr;if(typeof t=="string")return V.test(t)?Bt:oe;if(Array.isArray(t))return ne;if(typeof t=="object")return or}function Xr(t,e,o){let r=[],n=o||Qr(t[0]),s=t.length-1;for(let i=0;io(te(t,e,r))}function en(t,e){let o=t.length,r=o-1;return n=>{let s=0,i=!1;if(n<=t[0]?i=!0:n>=t[r]&&(s=r-1,i=!0),!i){let l=1;for(;ln||l===r);l++);s=l-1}let a=te(t[s],t[s+1],n);return e[s](a)}}function kt(t,e,{clamp:o=!0,ease:r,mixer:n}={}){let s=t.length;Z(s===e.length,"Both input and output ranges must be the same length"),Z(!r||!Array.isArray(r)||r.length===s-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[s-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());let i=Xr(e,r,n),a=s===2?tn(t,i):en(t,i);return o?l=>a(mt(t[0],t[s-1],l)):a}var ht=t=>e=>1-t(1-e),$t=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,sr=t=>e=>Math.pow(e,t),se=t=>e=>e*e*((t+1)*e-t),ir=t=>{let e=se(t);return o=>(o*=2)<1?.5*e(o):.5*(2-Math.pow(2,-10*(o-1)))};var ar=1.525,rn=4/11,nn=8/11,on=9/10,gt=t=>t,xt=sr(2),ie=ht(xt),q=$t(xt),cr=t=>1-Math.sin(Math.acos(t)),lr=ht(cr),sn=$t(lr),ae=se(ar),an=ht(ae),cn=$t(ae),ln=ir(ar),pn=4356/361,fn=35442/1805,un=16061/1805,pr=t=>{if(t===1||t===0)return t;let e=t*t;return te||q).splice(0,t.length-1)}function hn(t){let e=t.length;return t.map((o,r)=>r!==0?r/(e-1):0)}function gn(t,e){return t.map(o=>o*e)}function yt({from:t=0,to:e=1,ease:o,offset:r,duration:n=300}){let s={done:!1,value:t},i=Array.isArray(e)?e:[t,e],a=gn(r&&r.length===i.length?r:hn(i),n);function l(){return kt(a,i,{ease:Array.isArray(o)?o:dn(i,o)})}let p=l();return{next:f=>(s.value=p(f),s.done=f>=n,s),flipTarget:()=>{i.reverse(),p=l()}}}function fr({velocity:t=0,from:e=0,power:o=.8,timeConstant:r=350,restDelta:n=.5,modifyTarget:s}){let i={done:!1,value:e},a=o*t,l=e+a,p=s===void 0?l:s(l);return p!==l&&(a=p-e),{next:f=>{let u=-a*Math.exp(-f/r);return i.done=!(u>n||u<-n),i.value=i.done?p:p+u,i},flipTarget:()=>{}}}var ur={keyframes:yt,spring:Rt,decay:fr};function mr(t){if(Array.isArray(t.to))return yt;if(ur[t.type])return ur[t.type];let e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?yt:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?Rt:yt}var ce=16.666666666666668,xn=typeof performance<"u"?()=>performance.now():()=>Date.now(),le=typeof window<"u"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(xn()),ce);function dr(t){let e=[],o=[],r=0,n=!1,s=!1,i=new WeakSet,a={schedule:(l,p=!1,f=!1)=>{let u=f&&n,O=u?e:o;return p&&i.add(l),O.indexOf(l)===-1&&(O.push(l),u&&n&&(r=e.length)),l},cancel:l=>{let p=o.indexOf(l);p!==-1&&o.splice(p,1),i.delete(l)},process:l=>{if(n){s=!0;return}if(n=!0,[e,o]=[o,e],o.length=0,r=e.length,r)for(let p=0;p(t[e]=dr(()=>wt=!0),t),{}),bn=vt.reduce((t,e)=>{let o=Vt[e];return t[e]=(r,n=!1,s=!1)=>(wt||vn(),o.schedule(r,n,s)),t},{}),hr=vt.reduce((t,e)=>(t[e]=Vt[e].cancel,t),{}),xs=vt.reduce((t,e)=>(t[e]=()=>Vt[e].process(bt),t),{}),wn=t=>Vt[t].process(bt),gr=t=>{wt=!1,bt.delta=pe?ce:Math.max(Math.min(t-bt.timestamp,yn),1),bt.timestamp=t,fe=!0,vt.forEach(wn),fe=!1,wt&&(pe=!1,le(gr))},vn=()=>{wt=!0,pe=!0,fe||le(gr)};var xr=bn;function ue(t,e,o=0){return t-e-o}function yr(t,e,o=0,r=!0){return r?ue(e+-t,e,o):e-(t-e)+o}function br(t,e,o,r){return r?t>=e+o:t<=-o}var On=t=>{let e=({delta:o})=>t(o);return{start:()=>xr.update(e,!0),stop:()=>hr.update(e)}};function me(t){var e,o,{from:r,autoplay:n=!0,driver:s=On,elapsed:i=0,repeat:a=0,repeatType:l="loop",repeatDelay:p=0,onPlay:f,onStop:u,onComplete:O,onRepeat:T,onUpdate:R}=t,N=Tt(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=N,x,h=0,d=N.duration,m,y=!1,I=!0,K,ve=mr(N);!((o=(e=ve).needsInterpolation)===null||o===void 0)&&o.call(e,r,b)&&(K=kt([0,100],[r,b],{clamp:!1}),r=0,b=100);let Oe=ve(Object.assign(Object.assign({},N),{from:r,to:b}));function Dr(){h++,l==="reverse"?(I=h%2===0,i=yr(i,d,p,I)):(i=ue(i,d,p),l==="mirror"&&Oe.flipTarget()),y=!1,T&&T()}function Ar(){x.stop(),O&&O()}function Nr(Yt){if(I||(Yt=-Yt),i+=Yt,!y){let Ie=Oe.next(Math.max(0,i));m=Ie.value,K&&(m=K(m)),y=I?Ie.done:i<=0}R?.(m),y&&(h===0&&(d??(d=i)),h{u?.(),x.stop()}}}var wr=(t,e)=>1-3*e+3*t,vr=(t,e)=>3*e-6*t,Or=t=>3*t,Ht=(t,e,o)=>((wr(e,o)*t+vr(e,o))*t+Or(e))*t,Ir=(t,e,o)=>3*wr(e,o)*t*t+2*vr(e,o)*t+Or(e),In=1e-7,Sn=10;function jn(t,e,o,r,n){let s,i,a=0;do i=e+(o-e)/2,s=Ht(i,r,n)-t,s>0?o=i:e=i;while(Math.abs(s)>In&&++a=Mn?En(i,u,t,o):O===0?u:jn(i,a,a+Ut,t,o)}return i=>i===0||i===1?i:Ht(s(i),e,r)}var Ot=class{constructor(e,o){c(this,"promise");c(this,"stopper");this.promise=e,this.stopper=o}then(e,o){return this.promise.then(e,o)}stop(){this.stopper()}},nt=class extends Ot{constructor(e){let o=Promise.all(e).then(n=>n.every(s=>s===M.Completed)?M.Completed:M.Stopped),r=()=>e.forEach(n=>n.stop());super(o,r)}},M;(function(t){t.Completed="completed",t.Stopped="stopped"})(M=M||(M={}));var E=class{constructor(e){c(this,"top");c(this,"left");c(this,"right");c(this,"bottom");this.top=e.top,this.left=e.left,this.right=e.right,this.bottom=e.bottom}static from(e){return new E(e.getBoundingClientRect())}width(){return this.right-this.left}height(){return this.bottom-this.top}midpoint(){return{x:v(this.left,this.right,.5),y:v(this.top,this.bottom,.5)}}},It=class{constructor(e){c(this,"origin");c(this,"scale");c(this,"translate");this.origin=e.origin,this.scale=e.scale,this.translate=e.translate}apply(e){let o=e-this.origin;return this.origin+o*this.scale+this.translate}};var L=class{snapshot(e){if(!e.measured())throw new Error(`Node "${e.id}" not measured`);let o=F({},e);return o.children=new Set(e.children),o}snapshotTree(e,o={}){let r=new j,n=new Set;return e.traverse(s=>{if(!(o.filter&&!o.filter(s))){if(n.has(s.id))throw new Error(`Node ID conflict: "${s.id}"`);n.add(s.id),o.measure&&s.measure(),r.set(s.id,this.snapshot(s))}},{includeSelf:!0}),r}},j=class extends Map{merge(e){for(let[o,r]of e)this.set(o,r)}};var Y=class{constructor(e,o,r){c(this,"engine");c(this,"easingParser");c(this,"planners");this.engine=e,this.easingParser=o,this.planners=r}animate(e){let{root:o,from:r,estimation:n=!1}=e;typeof e.easing=="string"&&(e.easing=this.easingParser.parse(e.easing));let{duration:s=225,easing:i=q}=e;this.initialize(o);let a=this.getAnimationPlans(o,r,n),l=this.engine.animate(o,{duration:s,easing:i,plans:a});return l.then(p=>{p===M.Completed&&o.traverse(f=>f.reset(),{includeSelf:!0})}),l}initialize(e){e.traverse(o=>o.reset(),{includeSelf:!0}),e.traverse(o=>o.measure(),{includeSelf:!0})}getAnimationPlans(e,o,r){let n=new Map;return e.traverse(s=>{if(!s.measured())throw new Error("Unknown node");let i=o.get(s.id);if(n.has(s.id)&&s.element===i?.element)return;let a={root:e,node:s,snapshots:o,snapshot:i},l=pt(F({},this.planners.reduce((p,f)=>F(F({},p),f.buildPlan(a)),{})),{boundingBox:this.getBoundingBoxRoute(a,r)});n.set(s.id,l)},{includeSelf:!0}),n}getBoundingBoxRoute(e,o){let{root:r,node:n,snapshot:s,snapshots:i}=e,a=s?.boundingBox||o&&this.estimateBoundingBoxRouteStart(r,n,i)||n.boundingBox,l=n.boundingBox;return{from:a,to:l}}estimateBoundingBoxRouteStart(e,o,r){if(!o.measured())throw new Error("Unknown node");let n=o,s;for(;(s=r.get(n.id))===void 0;){if(n===e||!n.parent)return;n=n.parent}if(!n.measured())throw new Error("Unknown ancestor");let a=n.calculateTransform(s.boundingBox).x.scale;return new E({top:s.boundingBox.top-(n.boundingBox.top-o.boundingBox.top)*a,left:s.boundingBox.left-(n.boundingBox.left-o.boundingBox.left)*a,right:s.boundingBox.right-(n.boundingBox.right-o.boundingBox.right)*a,bottom:s.boundingBox.top-(n.boundingBox.top-o.boundingBox.bottom)*a})}},B=class{constructor(e){c(this,"node");c(this,"snapshots");c(this,"animator");c(this,"snapper");c(this,"animationConfig");this.node=e.node,this.snapshots=e.storage??new j,[this.animator,this.snapper]=e.deps,this.animationConfig=e.animation??{}}snapshot(e){let o=this.snapper.snapshotTree(this.node,e);this.snapshots.merge(o)}animate(e){return this.animator.animate(pt(F(F({},this.animationConfig),e),{root:this.node,from:this.snapshots}))}},ot=class{parse(e){if(e==="linear")return gt;if(e==="ease")return q;if(e==="ease-in")return xt;if(e==="ease-out")return ie;if(e==="ease-in-out")return q;if(e.startsWith("cubic-bezier")){let[o,r,n,s]=e.replace("cubic-bezier(","").replace(")","").split(",").map(i=>parseFloat(i));return de(o,r,n,s)}throw new Error(`Unsupported easing string: ${e}`)}};var st=class{constructor(e){c(this,"handlers");c(this,"records",new WeakMap);this.handlers=e}animate(e,o){this.records.get(e)?.stop();let r,n=new Promise(i=>{let{duration:a,easing:l,plan:p}=o,f=u=>this.handleFrame(e,p,u);f(0),r=me({from:0,to:1,duration:a,ease:l,onUpdate:f,onComplete:()=>i(M.Completed),onStop:()=>i(M.Stopped)}).stop}),s=new he(e,n,()=>r());return this.records.set(e,s),s}handleFrame(e,o,r){let n=this.calcFrameBoundingBox(o.boundingBox,r);this.handlers.forEach(s=>s.handleFrame(e,r,o)),e.project(n)}calcFrameBoundingBox(e,o){let{from:r,to:n}=e;return new E({top:v(r.top,n.top,o),left:v(r.left,n.left,o),right:v(r.right,n.right,o),bottom:v(r.bottom,n.bottom,o)})}},he=class extends Ot{constructor(o,r,n){super(r,n);c(this,"node");this.node=o}},it=class{constructor(e){c(this,"engine");c(this,"records",new WeakMap);this.engine=e}animate(e,o){this.records.get(e)?.stop();let{duration:r,easing:n,plans:s}=o,i=[];e.traverse(l=>{let p=s.get(l.id);if(!p)throw new Error("Unknown node");let f={duration:r,easing:n,plan:p},u=this.engine.animate(l,f);i.push(u)},{includeSelf:!0});let a=new ge(e,i);return this.records.set(e,a),a}},ge=class extends nt{constructor(o,r){super(r);c(this,"root");this.root=o}};var U=(()=>{let e=class{constructor(r,n){c(this,"element");c(this,"components");c(this,"id",`anonymous-${e.idNext++}`);c(this,"activated",!0);c(this,"parent");c(this,"children",new Set);c(this,"boundingBox");c(this,"transform");c(this,"identified",!1);this.element=r,this.components=n}identifyAs(r){if(this.identified)throw new Error(`Node "${this.id}" already identified`);this.id=r,this.identified=!0}activate(){this.activated=!0}deactivate(){this.activated=!1}attach(r){this.parent=r,r.children.add(this)}detach(){if(!this.parent)throw new Error("Missing parent");this.parent.children.delete(this),this.parent=void 0}traverse(r,n={}){n.includeSelf??=!1,n.includeDeactivated??=!1,n.includeSelf&&r(this),this.children.forEach(s=>{!n.includeDeactivated&&!s.activated||s.traverse(r,pt(F({},n),{includeSelf:!0}))})}track(){let r=[],n=this.parent;for(;n;)r.unshift(n),n=n.parent;return r}reset(){this.transform=void 0,this.element.style.transform="",this.element.style.borderRadius=""}measure(){let r=E.from(this.element);this.boundingBox=r,this.components.forEach(n=>Object.assign(this,n.measureProperties(this.element,r)))}measured(){return!!this.boundingBox}project(r){if(!this.measured())throw new Error("Node not measured");this.transform=this.calculateTransform(r);let n={x:1,y:1},s=this.track();for(let f of s)f.transform&&(n.x*=f.transform.x.scale,n.y*=f.transform.y.scale);let i=this.transform,a=i.x.translate/n.x,l=i.y.translate/n.y;this.element.style.transform=[`translate3d(${a}px, ${l}px, 0)`,`scale(${i.x.scale}, ${i.y.scale})`].join(" ");let p={scaleX:n.x*this.transform.x.scale,scaleY:n.y*this.transform.y.scale};this.components.forEach(f=>{f.cancelDistortion(this.element,this,p)})}calculateTransform(r){let n=this.calculateTransformedBoundingBox(),s=n.midpoint(),i=r.midpoint(),a={x:new It({origin:s.x,scale:r.width()/n.width(),translate:i.x-s.x}),y:new It({origin:s.y,scale:r.height()/n.height(),translate:i.y-s.y})};return isNaN(a.x.scale)&&(a.x.scale=1),isNaN(a.y.scale)&&(a.y.scale=1),a}calculateTransformedBoundingBox(){if(!this.measured())throw new Error("Node not measured");let r=this.boundingBox;for(let n of this.track()){if(!n.boundingBox||!n.transform)continue;let s=n.transform;r=new E({top:s.y.apply(r.top),left:s.x.apply(r.left),right:s.x.apply(r.right),bottom:s.y.apply(r.bottom)})}return r}},t=e;return c(t,"idNext",1),t})();var xe=class{constructor(e,o){c(this,"map");c(this,"secondsBeforeDeletion");c(this,"timeouts",new Map);this.map=e,this.secondsBeforeDeletion=o}stale(e){let o=setTimeout(()=>this.performDeletion(e),this.secondsBeforeDeletion*1e3);this.timeouts.set(e,o)}refresh(e){let o=this.timeouts.get(e);clearTimeout(o),this.timeouts.delete(e)}performDeletion(e){this.map.delete(e),this.timeouts.delete(e)}},W=class extends Set{},G=class extends Set{},Sr=(()=>{let e=class{constructor(r,n,s){c(this,"nodeRegistry");c(this,"entryRegistry");c(this,"snapshots");this.nodeRegistry=r,this.entryRegistry=n,this.snapshots=s}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(z(W),z(G),z(j))}),c(t,"\u0275prov",ft({token:e,factory:e.\u0275fac})),t})(),jr=(()=>{let e=class extends xe{constructor(r){super(r,10)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(z(j))}),c(t,"\u0275prov",ft({token:e,factory:e.\u0275fac})),t})(),bi=(()=>{let e=class extends B{constructor(n,s,i,a,l){super({node:n,deps:[s,i],storage:a});c(this,"nodeRegistry");c(this,"animationConfig",{});this.nodeRegistry=l}set lpjAnimation(n){typeof n!="string"&&(this.animationConfig=n)}snapshot(n){if(this.nodeRegistry&&n?.filter){let i=n.filter,a=this.nodeRegistry;n.filter=l=>a.has(l)&&i(l)}let s=this.snapper.snapshotTree(this.node,n);this.snapshots.merge(s)}},t=e;return c(t,"\u0275fac",function(s){return new(s||e)(g(U,2),g(Y),g(L),g(j,8),g(W,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode","","lpjAnimation",""]],inputs:{lpjAnimation:"lpjAnimation"},exportAs:["lpjAnimation"],standalone:!0,features:[Kt([{provide:B,useExisting:e}]),Gt]})),t})(),wi=(()=>{let e=class{constructor(r,n){c(this,"templateRef");c(this,"viewContainer");c(this,"source");c(this,"current");this.templateRef=r,this.viewContainer=n}set lpjAnimationScope(r){r!==""&&(this.source=r)}ngOnInit(){let r=this.createInjector();this.current=r.get(Sr),this.viewContainer.createEmbeddedView(this.templateRef,{$implicit:this.current},{injector:r})}createInjector(){let{nodeRegistry:r=new W,entryRegistry:n=new G,snapshots:s=new j}=this.source??{};return Pe.create({providers:[{provide:Sr},{provide:W,useValue:r},{provide:G,useValue:n},{provide:j,useValue:s},{provide:jr}]})}static ngTemplateContextGuard(r,n){return!0}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(ke),g($e))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimationScope",""]],inputs:{lpjAnimationScope:"lpjAnimationScope"},standalone:!0})),t})(),vi=(()=>{let e=class{constructor(r,n,s){c(this,"node");c(this,"registry");c(this,"snapshots");this.node=r,this.registry=n,this.snapshots=s}ngOnInit(){this.registry?.add(this.node),this.snapshots?.refresh(this.node.id)}ngOnDestroy(){this.registry?.delete(this.node),this.snapshots?.stale(this.node.id)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(U,2),g(W,8),g(jr,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode",""]],standalone:!0})),t})(),Oi=(()=>{let e=class{constructor(r,n){c(this,"entry");c(this,"registry");this.entry=r,this.registry=n}ngOnInit(){this.registry?.add(this.entry)}ngOnDestroy(){this.registry?.delete(this.entry)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(B,2),g(G,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimation",""]],standalone:!0})),t})(),Dn=(()=>{let e=class{constructor(r){c(this,"entryRegistry");c(this,"trigger$",new Te(Me));c(this,"targets",[]);c(this,"animationTrigger",new Jt);c(this,"animationSettle",new Jt);this.entryRegistry=r}set lpjAnimationTrigger(r){let n=r instanceof Se?r.pipe(Ae(Wt(r))):Wt(r);this.trigger$.next(n)}set lpjAnimationTriggerFor(r){this.targets=Array.isArray(r)?r:[r]}ngOnInit(){this.trigger$.pipe(Ee(),De(1),jt(()=>this.animationTrigger.emit()),jt(()=>this.snapshot()),Ne(()=>je().pipe(Re())),St(()=>this.animate()),jt(r=>r.then(()=>this.animationSettle.emit()))).subscribe()}snapshot(){this.resolveTargets().forEach(r=>r.snapshot({measure:!0}))}animate(){let r=this.resolveTargets().map(n=>n.animate());return new nt(r)}resolveTargets(){return this.targets.map(r=>this.resolveTarget(r))}resolveTarget(r){if(r instanceof B)return r;this.entryRegistry||this.resolveFailed(r,"no context provided");let n=Array.from(this.entryRegistry),s=r instanceof U?r.id:r,i=n.find(a=>a.node.id===s);return i||this.resolveFailed(r,"not found"),i}resolveFailed(r,n){throw new Error(`Failed to resolve target ${r}: ${n}`)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(G,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimationTrigger",""]],inputs:{lpjAnimationTrigger:"lpjAnimationTrigger",lpjAnimationTriggerFor:"lpjAnimationTriggerFor"},outputs:{animationTrigger:"animationTrigger",animationSettle:"animationSettle"},standalone:!0})),t})(),Ii=(()=>{let e=class{constructor(r,n){n.lpjAnimationTriggerFor=r}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(B,2),g(Dn,2))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimation","","lpjAnimationTrigger",""]],standalone:!0})),t})(),Si=(()=>{let e=class extends U{set lpjNode(r){typeof r=="string"?(r&&this.identifyAs(r),this.activate()):this.deactivate()}constructor(r,n,s){super(r.nativeElement,n),s&&this.attach(s)}ngOnDestroy(){this.parent&&this.detach()}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(Be),g(Tr),g(U,12))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode",""]],inputs:{lpjNode:"lpjNode"},exportAs:["lpjNode"],standalone:!0,features:[Kt([{provide:U,useExisting:e}]),Gt]})),t})(),Tr=new J("PROJECTION_COMPONENTS",{factory:()=>[]}),Mr=new J("ANIMATION_HANDLERS",{factory:()=>[]}),Er=new J("ANIMATION_PLANNERS",{factory:()=>[]});var An=[{provide:Y,useFactory:()=>new Y(D(it),D(ot),D(Er))},{provide:st,useFactory:()=>new st(D(Mr))},{provide:it,useFactory:()=>new it(D(st))},{provide:ot,useFactory:()=>new ot},{provide:L,useFactory:()=>new L}],ji=(()=>{let e=class{static forRoot(r={}){let n=(s,i)=>i.map(a=>({provide:s,useClass:a,multi:!0}));return{ngModule:e,providers:[An,n(Tr,r.components??[]),n(Mr,r.animationHandlers??[]),n(Er,r.animationPlanners??[])]}}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)}),c(t,"\u0275mod",_e({type:e})),c(t,"\u0275inj",Ce({})),t})();var at=(()=>(at=at||{},at.Inbox="Inbox",at.Trash="Trash",at.Spam="Spam",at))(),ct=(()=>(ct=ct||{},ct.Starred="Starred",ct.Sent="Sent",ct.Drafts="Drafts",ct))();function Ni(){let t=D(Ue);return()=>t.getContext("primary")?.route?.snapshot?.data?.animationId??"none"}var lt=class{static apply(...e){return Qt(this.content)}},ye=class extends lt{},qt=ye;(()=>{ye.content=ut([C("mat-drawer",w({transform:"none"}),{optional:!0})])})();var be=class extends lt{},Lt=be;(()=>{be.content=ut([C("router-outlet ~ *",[k("1ms",w({}))],{optional:!0})])})();var we=class extends lt{},Rr=we;(()=>{we.content=ut([qt.apply(),Zt([C(":leave",[w({position:"absolute"}),Lt.apply(),w({opacity:1}),k(`90ms ${H.ACCELERATION_CURVE}`,w({opacity:0}))],{optional:!0}),C(":enter",[w({transform:"scale(92%)",opacity:0}),k(`210ms 90ms ${H.DECELERATION_CURVE}`,w({transform:"scale(1)",opacity:1}))])])])})();var Fr=class extends lt{static apply(e,o,r={incoming:":enter",outgoing:":leave"}){let n=e==="x"?{overflowX:"visible",overflowY:"*",transformIncomingFrom:"translateX(30px)",transformIncomingTo:"translateX(0)",transformOutgoingFrom:"translateX(0)",transformOutgoingTo:"translateX(-30px)"}:e==="y"?{overflowX:"*",overflowY:"visible",transformIncomingFrom:"translateY(30px)",transformIncomingTo:"translateY(0)",transformOutgoingFrom:"translateY(0)",transformOutgoingTo:"translateY(-30px)"}:{overflowX:"visible",overflowY:"visible",transformIncomingFrom:"scale(80%)",transformIncomingTo:"scale(100%)",transformOutgoingFrom:"scale(100%)",transformOutgoingTo:"scale(110%)"};return o==="backward"&&([n.transformIncomingFrom,n.transformIncomingTo,n.transformOutgoingFrom,n.transformOutgoingTo]=[n.transformOutgoingTo,n.transformOutgoingFrom,n.transformIncomingTo,n.transformIncomingFrom]),Qt(ut([qt.apply(),Zt([C(r.outgoing,[w({transform:n.transformOutgoingFrom}),k(`300ms ${H.STANDARD_CURVE}`,w({transform:n.transformOutgoingTo}))]),C(r.incoming,[w({transform:n.transformIncomingFrom}),k(`300ms ${H.STANDARD_CURVE}`,w({transform:n.transformIncomingTo}))]),C(r.outgoing,[Lt.apply(),k(`90ms ${H.ACCELERATION_CURVE}`,w({opacity:0}))]),C(r.incoming,[w({opacity:0}),k(`210ms 90ms ${H.DECELERATION_CURVE}`,w({opacity:1}))])])]))}};var Nn=(()=>{let e=class{constructor(r){this.observer=r,this.config={["tablet-portrait"]:"(min-width: 600px)",["tablet-landscape"]:"(min-width: 905px)",laptop:"(min-width: 1240px)",desktop:"(min-width: 1440px)"},this.breakpoints$=this.observer.observe(Object.values(this.config)).pipe(St(n=>this.parseState(n)),Fe(1))}parseState(r){let n={};for(let s in this.config){let i=s,a=this.config[i];n[i]=r.breakpoints[a]}return n}},t=e;return(()=>{e.\u0275fac=function(n){return new(n||e)(z(Ve))}})(),(()=>{e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Vi=new J("BREAKPOINTS",{providedIn:"root",factory:()=>ze(D(Nn).breakpoints$,{initialValue:{["tablet-portrait"]:!1,["tablet-landscape"]:!1,laptop:!1,desktop:!1}})});export{L as a,j as b,Y as c,U as d,bi as e,wi as f,vi as g,Oi as h,Dn as i,Ii as j,Si as k,ji as l,at as m,ct as n,Ni as o,Rr as p,Fr as q,Vi as r}; +import{o as ze}from"./chunk-BTQVCDJX.js";import{$a as Kt,Bc as ut,Dc as Qt,E as Ee,Ec as C,F as Re,Hc as H,I as Fe,J as De,K as Ae,L as Ne,O as jt,R as ft,S as Ce,T as z,U as D,W as _e,X as P,ac as Ve,b as Se,c as je,e as Te,h as Me,hb as Jt,ia as J,j as Wt,jb as ke,kb as $e,kd as Ue,m as St,oa as Be,sa as Pe,ta as g,wc as k,xa as Gt,xc as Zt,yc as w}from"./chunk-HFIM43UT.js";import{a as F,b as pt,e as c}from"./chunk-OPXGAHDX.js";function Tt(t,e){var o={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(o[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,r=Object.getOwnPropertySymbols(t);nMath.min(Math.max(o,t),e);var Xt=.001,_r=.01,He=10,Br=.05,Pr=1;function qe({duration:t=800,bounce:e=.25,velocity:o=0,mass:r=1}){let n,s;Mt(t<=He*1e3,"Spring duration must be 10 seconds or less");let i=1-e;i=mt(Br,Pr,i),t=mt(_r,He,t/1e3),i<1?(n=p=>{let f=p*i,u=f*t,O=f-o,T=Et(p,i),R=Math.exp(-u);return Xt-O/T*R},s=p=>{let u=p*i*t,O=u*o+o,T=Math.pow(i,2)*Math.pow(p,2)*t,R=Math.exp(-u),N=Et(Math.pow(p,2),i);return(-n(p)+Xt>0?-1:1)*((O-T)*R)/N}):(n=p=>{let f=Math.exp(-p*t),u=(p-o)*t+1;return-Xt+f*u},s=p=>{let f=Math.exp(-p*t),u=(o-p)*(t*t);return f*u});let a=5/t,l=$r(n,s,a);if(t=t*1e3,isNaN(l))return{stiffness:100,damping:10,duration:t};{let p=Math.pow(l,2)*r;return{stiffness:p,damping:i*2*Math.sqrt(r*p),duration:t}}}var kr=12;function $r(t,e,o){let r=o;for(let n=1;nt[o]!==void 0)}function zr(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!Le(t,Ur)&&Le(t,Vr)){let o=qe(t);e=Object.assign(Object.assign(Object.assign({},e),o),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}function Rt(t){var{from:e=0,to:o=1,restSpeed:r=2,restDelta:n}=t,s=Tt(t,["from","to","restSpeed","restDelta"]);let i={done:!1,value:e},{stiffness:a,damping:l,mass:p,velocity:f,duration:u,isResolvedFromDuration:O}=zr(s),T=Ye,R=Ye;function N(){let b=f?-(f/1e3):0,x=o-e,h=l/(2*Math.sqrt(a*p)),d=Math.sqrt(a/p)/1e3;if(n===void 0&&(n=Math.min(Math.abs(o-e)/100,.4)),h<1){let m=Et(d,h);T=y=>{let I=Math.exp(-h*d*y);return o-I*((b+h*d*x)/m*Math.sin(m*y)+x*Math.cos(m*y))},R=y=>{let I=Math.exp(-h*d*y);return h*d*I*(Math.sin(m*y)*(b+h*d*x)/m+x*Math.cos(m*y))-I*(Math.cos(m*y)*(b+h*d*x)-m*x*Math.sin(m*y))}}else if(h===1)T=m=>o-Math.exp(-d*m)*(x+(b+d*x)*m);else{let m=d*Math.sqrt(h*h-1);T=y=>{let I=Math.exp(-h*d*y),K=Math.min(m*y,300);return o-I*((b+h*d*x)*Math.sinh(K)+m*x*Math.cosh(K))/m}}}return N(),{next:b=>{let x=T(b);if(O)i.done=b>=u;else{let h=R(b)*1e3,d=Math.abs(h)<=r,m=Math.abs(o-x)<=n;i.done=d&&m}return i.value=i.done?o:x,i},flipTarget:()=>{f=-f,[e,o]=[o,e],N()}}}Rt.needsInterpolation=(t,e)=>typeof t=="string"||typeof e=="string";var Ye=t=>0;var te=(t,e,o)=>{let r=e-t;return r===0?1:(o-t)/r};var v=(t,e,o)=>-o*t+o*e+t;var Ft=(t,e)=>o=>Math.max(Math.min(o,e),t),$=t=>t%1?Number(t.toFixed(5)):t,Q=/(-)?([\d]*\.?[\d])+/g,Dt=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,We=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function _(t){return typeof t=="string"}var X={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},At=Object.assign(Object.assign({},X),{transform:Ft(0,1)}),Wn=Object.assign(Object.assign({},X),{default:1});var dt=t=>({test:e=>_(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Jn=dt("deg"),tt=dt("%"),Zn=dt("px"),Qn=dt("vh"),Xn=dt("vw"),to=Object.assign(Object.assign({},tt),{parse:t=>tt.parse(t)/100,transform:t=>tt.transform(t*100)});var et=(t,e)=>o=>!!(_(o)&&We.test(o)&&o.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(o,e)),Nt=(t,e,o)=>r=>{if(!_(r))return r;let[n,s,i,a]=r.match(Q);return{[t]:parseFloat(n),[e]:parseFloat(s),[o]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}};var A={test:et("hsl","hue"),parse:Nt("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:o,alpha:r=1})=>"hsla("+Math.round(t)+", "+tt.transform($(e))+", "+tt.transform($(o))+", "+$(At.transform(r))+")"};var Hr=Ft(0,255),Ct=Object.assign(Object.assign({},X),{transform:t=>Math.round(Hr(t))}),S={test:et("rgb","red"),parse:Nt("red","green","blue"),transform:({red:t,green:e,blue:o,alpha:r=1})=>"rgba("+Ct.transform(t)+", "+Ct.transform(e)+", "+Ct.transform(o)+", "+$(At.transform(r))+")"};function qr(t){let e="",o="",r="",n="";return t.length>5?(e=t.substr(1,2),o=t.substr(3,2),r=t.substr(5,2),n=t.substr(7,2)):(e=t.substr(1,1),o=t.substr(2,1),r=t.substr(3,1),n=t.substr(4,1),e+=e,o+=o,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var rt={test:et("#"),parse:qr,transform:S.transform};var V={test:t=>S.test(t)||rt.test(t)||A.test(t),parse:t=>S.test(t)?S.parse(t):A.test(t)?A.parse(t):rt.parse(t),transform:t=>_(t)?t:t.hasOwnProperty("red")?S.transform(t):A.transform(t)};var Ge="${c}",Ke="${n}";function Lr(t){var e,o,r,n;return isNaN(t)&&_(t)&&((o=(e=t.match(Q))===null||e===void 0?void 0:e.length)!==null&&o!==void 0?o:0)+((n=(r=t.match(Dt))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0)>0}function Je(t){typeof t=="number"&&(t=`${t}`);let e=[],o=0,r=t.match(Dt);r&&(o=r.length,t=t.replace(Dt,Ge),e.push(...r.map(V.parse)));let n=t.match(Q);return n&&(t=t.replace(Q,Ke),e.push(...n.map(X.parse))),{values:e,numColors:o,tokenised:t}}function Ze(t){return Je(t).values}function Qe(t){let{values:e,numColors:o,tokenised:r}=Je(t),n=e.length;return s=>{let i=r;for(let a=0;atypeof t=="number"?0:t;function Wr(t){let e=Ze(t);return Qe(t)(e.map(Yr))}var _t={test:Lr,parse:Ze,createTransformer:Qe,getAnimatableNone:Wr};function ee(t,e,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+(e-t)*6*o:o<1/2?e:o<2/3?t+(e-t)*(2/3-o)*6:t}function re({hue:t,saturation:e,lightness:o,alpha:r}){t/=360,e/=100,o/=100;let n=0,s=0,i=0;if(!e)n=s=i=o;else{let a=o<.5?o*(1+e):o+e-o*e,l=2*o-a;n=ee(l,a,t+1/3),s=ee(l,a,t),i=ee(l,a,t-1/3)}return{red:Math.round(n*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}var Gr=(t,e,o)=>{let r=t*t,n=e*e;return Math.sqrt(Math.max(0,o*(n-r)+r))},Kr=[rt,S,A],Xe=t=>Kr.find(e=>e.test(t)),tr=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,Bt=(t,e)=>{let o=Xe(t),r=Xe(e);Z(!!o,tr(t)),Z(!!r,tr(e));let n=o.parse(t),s=r.parse(e);o===A&&(n=re(n),o=S),r===A&&(s=re(s),r=S);let i=Object.assign({},n);return a=>{for(let l in i)l!=="alpha"&&(i[l]=Gr(n[l],s[l],a));return i.alpha=v(n.alpha,s.alpha,a),o.transform(i)}};var er=t=>typeof t=="number";var Jr=(t,e)=>o=>e(t(o)),Pt=(...t)=>t.reduce(Jr);function nr(t,e){return er(t)?o=>v(t,e,o):V.test(t)?Bt(t,e):oe(t,e)}var ne=(t,e)=>{let o=[...t],r=o.length,n=t.map((s,i)=>nr(s,e[i]));return s=>{for(let i=0;i{let o=Object.assign(Object.assign({},t),e),r={};for(let n in o)t[n]!==void 0&&e[n]!==void 0&&(r[n]=nr(t[n],e[n]));return n=>{for(let s in r)o[s]=r[s](n);return o}};function rr(t){let e=_t.parse(t),o=e.length,r=0,n=0,s=0;for(let i=0;i{let o=_t.createTransformer(e),r=rr(t),n=rr(e);return r.numHSL===n.numHSL&&r.numRGB===n.numRGB&&r.numNumbers>=n.numNumbers?Pt(ne(r.parsed,n.parsed),o):(Mt(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i=>`${i>0?e:t}`)};var Zr=(t,e)=>o=>v(t,e,o);function Qr(t){if(typeof t=="number")return Zr;if(typeof t=="string")return V.test(t)?Bt:oe;if(Array.isArray(t))return ne;if(typeof t=="object")return or}function Xr(t,e,o){let r=[],n=o||Qr(t[0]),s=t.length-1;for(let i=0;io(te(t,e,r))}function en(t,e){let o=t.length,r=o-1;return n=>{let s=0,i=!1;if(n<=t[0]?i=!0:n>=t[r]&&(s=r-1,i=!0),!i){let l=1;for(;ln||l===r);l++);s=l-1}let a=te(t[s],t[s+1],n);return e[s](a)}}function kt(t,e,{clamp:o=!0,ease:r,mixer:n}={}){let s=t.length;Z(s===e.length,"Both input and output ranges must be the same length"),Z(!r||!Array.isArray(r)||r.length===s-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[s-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());let i=Xr(e,r,n),a=s===2?tn(t,i):en(t,i);return o?l=>a(mt(t[0],t[s-1],l)):a}var ht=t=>e=>1-t(1-e),$t=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,sr=t=>e=>Math.pow(e,t),se=t=>e=>e*e*((t+1)*e-t),ir=t=>{let e=se(t);return o=>(o*=2)<1?.5*e(o):.5*(2-Math.pow(2,-10*(o-1)))};var ar=1.525,rn=4/11,nn=8/11,on=9/10,gt=t=>t,xt=sr(2),ie=ht(xt),q=$t(xt),cr=t=>1-Math.sin(Math.acos(t)),lr=ht(cr),sn=$t(lr),ae=se(ar),an=ht(ae),cn=$t(ae),ln=ir(ar),pn=4356/361,fn=35442/1805,un=16061/1805,pr=t=>{if(t===1||t===0)return t;let e=t*t;return te||q).splice(0,t.length-1)}function hn(t){let e=t.length;return t.map((o,r)=>r!==0?r/(e-1):0)}function gn(t,e){return t.map(o=>o*e)}function yt({from:t=0,to:e=1,ease:o,offset:r,duration:n=300}){let s={done:!1,value:t},i=Array.isArray(e)?e:[t,e],a=gn(r&&r.length===i.length?r:hn(i),n);function l(){return kt(a,i,{ease:Array.isArray(o)?o:dn(i,o)})}let p=l();return{next:f=>(s.value=p(f),s.done=f>=n,s),flipTarget:()=>{i.reverse(),p=l()}}}function fr({velocity:t=0,from:e=0,power:o=.8,timeConstant:r=350,restDelta:n=.5,modifyTarget:s}){let i={done:!1,value:e},a=o*t,l=e+a,p=s===void 0?l:s(l);return p!==l&&(a=p-e),{next:f=>{let u=-a*Math.exp(-f/r);return i.done=!(u>n||u<-n),i.value=i.done?p:p+u,i},flipTarget:()=>{}}}var ur={keyframes:yt,spring:Rt,decay:fr};function mr(t){if(Array.isArray(t.to))return yt;if(ur[t.type])return ur[t.type];let e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?yt:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?Rt:yt}var ce=16.666666666666668,xn=typeof performance<"u"?()=>performance.now():()=>Date.now(),le=typeof window<"u"?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(xn()),ce);function dr(t){let e=[],o=[],r=0,n=!1,s=!1,i=new WeakSet,a={schedule:(l,p=!1,f=!1)=>{let u=f&&n,O=u?e:o;return p&&i.add(l),O.indexOf(l)===-1&&(O.push(l),u&&n&&(r=e.length)),l},cancel:l=>{let p=o.indexOf(l);p!==-1&&o.splice(p,1),i.delete(l)},process:l=>{if(n){s=!0;return}if(n=!0,[e,o]=[o,e],o.length=0,r=e.length,r)for(let p=0;p(t[e]=dr(()=>wt=!0),t),{}),bn=vt.reduce((t,e)=>{let o=Vt[e];return t[e]=(r,n=!1,s=!1)=>(wt||vn(),o.schedule(r,n,s)),t},{}),hr=vt.reduce((t,e)=>(t[e]=Vt[e].cancel,t),{}),xs=vt.reduce((t,e)=>(t[e]=()=>Vt[e].process(bt),t),{}),wn=t=>Vt[t].process(bt),gr=t=>{wt=!1,bt.delta=pe?ce:Math.max(Math.min(t-bt.timestamp,yn),1),bt.timestamp=t,fe=!0,vt.forEach(wn),fe=!1,wt&&(pe=!1,le(gr))},vn=()=>{wt=!0,pe=!0,fe||le(gr)};var xr=bn;function ue(t,e,o=0){return t-e-o}function yr(t,e,o=0,r=!0){return r?ue(e+-t,e,o):e-(t-e)+o}function br(t,e,o,r){return r?t>=e+o:t<=-o}var On=t=>{let e=({delta:o})=>t(o);return{start:()=>xr.update(e,!0),stop:()=>hr.update(e)}};function me(t){var e,o,{from:r,autoplay:n=!0,driver:s=On,elapsed:i=0,repeat:a=0,repeatType:l="loop",repeatDelay:p=0,onPlay:f,onStop:u,onComplete:O,onRepeat:T,onUpdate:R}=t,N=Tt(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=N,x,h=0,d=N.duration,m,y=!1,I=!0,K,ve=mr(N);!((o=(e=ve).needsInterpolation)===null||o===void 0)&&o.call(e,r,b)&&(K=kt([0,100],[r,b],{clamp:!1}),r=0,b=100);let Oe=ve(Object.assign(Object.assign({},N),{from:r,to:b}));function Dr(){h++,l==="reverse"?(I=h%2===0,i=yr(i,d,p,I)):(i=ue(i,d,p),l==="mirror"&&Oe.flipTarget()),y=!1,T&&T()}function Ar(){x.stop(),O&&O()}function Nr(Yt){if(I||(Yt=-Yt),i+=Yt,!y){let Ie=Oe.next(Math.max(0,i));m=Ie.value,K&&(m=K(m)),y=I?Ie.done:i<=0}R?.(m),y&&(h===0&&(d??(d=i)),h{u?.(),x.stop()}}}var wr=(t,e)=>1-3*e+3*t,vr=(t,e)=>3*e-6*t,Or=t=>3*t,Ht=(t,e,o)=>((wr(e,o)*t+vr(e,o))*t+Or(e))*t,Ir=(t,e,o)=>3*wr(e,o)*t*t+2*vr(e,o)*t+Or(e),In=1e-7,Sn=10;function jn(t,e,o,r,n){let s,i,a=0;do i=e+(o-e)/2,s=Ht(i,r,n)-t,s>0?o=i:e=i;while(Math.abs(s)>In&&++a=Mn?En(i,u,t,o):O===0?u:jn(i,a,a+Ut,t,o)}return i=>i===0||i===1?i:Ht(s(i),e,r)}var Ot=class{constructor(e,o){c(this,"promise");c(this,"stopper");this.promise=e,this.stopper=o}then(e,o){return this.promise.then(e,o)}stop(){this.stopper()}},nt=class extends Ot{constructor(e){let o=Promise.all(e).then(n=>n.every(s=>s===M.Completed)?M.Completed:M.Stopped),r=()=>e.forEach(n=>n.stop());super(o,r)}},M;(function(t){t.Completed="completed",t.Stopped="stopped"})(M=M||(M={}));var E=class{constructor(e){c(this,"top");c(this,"left");c(this,"right");c(this,"bottom");this.top=e.top,this.left=e.left,this.right=e.right,this.bottom=e.bottom}static from(e){return new E(e.getBoundingClientRect())}width(){return this.right-this.left}height(){return this.bottom-this.top}midpoint(){return{x:v(this.left,this.right,.5),y:v(this.top,this.bottom,.5)}}},It=class{constructor(e){c(this,"origin");c(this,"scale");c(this,"translate");this.origin=e.origin,this.scale=e.scale,this.translate=e.translate}apply(e){let o=e-this.origin;return this.origin+o*this.scale+this.translate}};var L=class{snapshot(e){if(!e.measured())throw new Error(`Node "${e.id}" not measured`);let o=F({},e);return o.children=new Set(e.children),o}snapshotTree(e,o={}){let r=new j,n=new Set;return e.traverse(s=>{if(!(o.filter&&!o.filter(s))){if(n.has(s.id))throw new Error(`Node ID conflict: "${s.id}"`);n.add(s.id),o.measure&&s.measure(),r.set(s.id,this.snapshot(s))}},{includeSelf:!0}),r}},j=class extends Map{merge(e){for(let[o,r]of e)this.set(o,r)}};var Y=class{constructor(e,o,r){c(this,"engine");c(this,"easingParser");c(this,"planners");this.engine=e,this.easingParser=o,this.planners=r}animate(e){let{root:o,from:r,estimation:n=!1}=e;typeof e.easing=="string"&&(e.easing=this.easingParser.parse(e.easing));let{duration:s=225,easing:i=q}=e;this.initialize(o);let a=this.getAnimationPlans(o,r,n),l=this.engine.animate(o,{duration:s,easing:i,plans:a});return l.then(p=>{p===M.Completed&&o.traverse(f=>f.reset(),{includeSelf:!0})}),l}initialize(e){e.traverse(o=>o.reset(),{includeSelf:!0}),e.traverse(o=>o.measure(),{includeSelf:!0})}getAnimationPlans(e,o,r){let n=new Map;return e.traverse(s=>{if(!s.measured())throw new Error("Unknown node");let i=o.get(s.id);if(n.has(s.id)&&s.element===i?.element)return;let a={root:e,node:s,snapshots:o,snapshot:i},l=pt(F({},this.planners.reduce((p,f)=>F(F({},p),f.buildPlan(a)),{})),{boundingBox:this.getBoundingBoxRoute(a,r)});n.set(s.id,l)},{includeSelf:!0}),n}getBoundingBoxRoute(e,o){let{root:r,node:n,snapshot:s,snapshots:i}=e,a=s?.boundingBox||o&&this.estimateBoundingBoxRouteStart(r,n,i)||n.boundingBox,l=n.boundingBox;return{from:a,to:l}}estimateBoundingBoxRouteStart(e,o,r){if(!o.measured())throw new Error("Unknown node");let n=o,s;for(;(s=r.get(n.id))===void 0;){if(n===e||!n.parent)return;n=n.parent}if(!n.measured())throw new Error("Unknown ancestor");let a=n.calculateTransform(s.boundingBox).x.scale;return new E({top:s.boundingBox.top-(n.boundingBox.top-o.boundingBox.top)*a,left:s.boundingBox.left-(n.boundingBox.left-o.boundingBox.left)*a,right:s.boundingBox.right-(n.boundingBox.right-o.boundingBox.right)*a,bottom:s.boundingBox.top-(n.boundingBox.top-o.boundingBox.bottom)*a})}},B=class{constructor(e){c(this,"node");c(this,"snapshots");c(this,"animator");c(this,"snapper");c(this,"animationConfig");this.node=e.node,this.snapshots=e.storage??new j,[this.animator,this.snapper]=e.deps,this.animationConfig=e.animation??{}}snapshot(e){let o=this.snapper.snapshotTree(this.node,e);this.snapshots.merge(o)}animate(e){return this.animator.animate(pt(F(F({},this.animationConfig),e),{root:this.node,from:this.snapshots}))}},ot=class{parse(e){if(e==="linear")return gt;if(e==="ease")return q;if(e==="ease-in")return xt;if(e==="ease-out")return ie;if(e==="ease-in-out")return q;if(e.startsWith("cubic-bezier")){let[o,r,n,s]=e.replace("cubic-bezier(","").replace(")","").split(",").map(i=>parseFloat(i));return de(o,r,n,s)}throw new Error(`Unsupported easing string: ${e}`)}};var st=class{constructor(e){c(this,"handlers");c(this,"records",new WeakMap);this.handlers=e}animate(e,o){this.records.get(e)?.stop();let r,n=new Promise(i=>{let{duration:a,easing:l,plan:p}=o,f=u=>this.handleFrame(e,p,u);f(0),r=me({from:0,to:1,duration:a,ease:l,onUpdate:f,onComplete:()=>i(M.Completed),onStop:()=>i(M.Stopped)}).stop}),s=new he(e,n,()=>r());return this.records.set(e,s),s}handleFrame(e,o,r){let n=this.calcFrameBoundingBox(o.boundingBox,r);this.handlers.forEach(s=>s.handleFrame(e,r,o)),e.project(n)}calcFrameBoundingBox(e,o){let{from:r,to:n}=e;return new E({top:v(r.top,n.top,o),left:v(r.left,n.left,o),right:v(r.right,n.right,o),bottom:v(r.bottom,n.bottom,o)})}},he=class extends Ot{constructor(o,r,n){super(r,n);c(this,"node");this.node=o}},it=class{constructor(e){c(this,"engine");c(this,"records",new WeakMap);this.engine=e}animate(e,o){this.records.get(e)?.stop();let{duration:r,easing:n,plans:s}=o,i=[];e.traverse(l=>{let p=s.get(l.id);if(!p)throw new Error("Unknown node");let f={duration:r,easing:n,plan:p},u=this.engine.animate(l,f);i.push(u)},{includeSelf:!0});let a=new ge(e,i);return this.records.set(e,a),a}},ge=class extends nt{constructor(o,r){super(r);c(this,"root");this.root=o}};var U=(()=>{let e=class{constructor(r,n){c(this,"element");c(this,"components");c(this,"id",`anonymous-${e.idNext++}`);c(this,"activated",!0);c(this,"parent");c(this,"children",new Set);c(this,"boundingBox");c(this,"transform");c(this,"identified",!1);this.element=r,this.components=n}identifyAs(r){if(this.identified)throw new Error(`Node "${this.id}" already identified`);this.id=r,this.identified=!0}activate(){this.activated=!0}deactivate(){this.activated=!1}attach(r){this.parent=r,r.children.add(this)}detach(){if(!this.parent)throw new Error("Missing parent");this.parent.children.delete(this),this.parent=void 0}traverse(r,n={}){n.includeSelf??=!1,n.includeDeactivated??=!1,n.includeSelf&&r(this),this.children.forEach(s=>{!n.includeDeactivated&&!s.activated||s.traverse(r,pt(F({},n),{includeSelf:!0}))})}track(){let r=[],n=this.parent;for(;n;)r.unshift(n),n=n.parent;return r}reset(){this.transform=void 0,this.element.style.transform="",this.element.style.borderRadius=""}measure(){let r=E.from(this.element);this.boundingBox=r,this.components.forEach(n=>Object.assign(this,n.measureProperties(this.element,r)))}measured(){return!!this.boundingBox}project(r){if(!this.measured())throw new Error("Node not measured");this.transform=this.calculateTransform(r);let n={x:1,y:1},s=this.track();for(let f of s)f.transform&&(n.x*=f.transform.x.scale,n.y*=f.transform.y.scale);let i=this.transform,a=i.x.translate/n.x,l=i.y.translate/n.y;this.element.style.transform=[`translate3d(${a}px, ${l}px, 0)`,`scale(${i.x.scale}, ${i.y.scale})`].join(" ");let p={scaleX:n.x*this.transform.x.scale,scaleY:n.y*this.transform.y.scale};this.components.forEach(f=>{f.cancelDistortion(this.element,this,p)})}calculateTransform(r){let n=this.calculateTransformedBoundingBox(),s=n.midpoint(),i=r.midpoint(),a={x:new It({origin:s.x,scale:r.width()/n.width(),translate:i.x-s.x}),y:new It({origin:s.y,scale:r.height()/n.height(),translate:i.y-s.y})};return isNaN(a.x.scale)&&(a.x.scale=1),isNaN(a.y.scale)&&(a.y.scale=1),a}calculateTransformedBoundingBox(){if(!this.measured())throw new Error("Node not measured");let r=this.boundingBox;for(let n of this.track()){if(!n.boundingBox||!n.transform)continue;let s=n.transform;r=new E({top:s.y.apply(r.top),left:s.x.apply(r.left),right:s.x.apply(r.right),bottom:s.y.apply(r.bottom)})}return r}},t=e;return c(t,"idNext",1),t})();var xe=class{constructor(e,o){c(this,"map");c(this,"secondsBeforeDeletion");c(this,"timeouts",new Map);this.map=e,this.secondsBeforeDeletion=o}stale(e){let o=setTimeout(()=>this.performDeletion(e),this.secondsBeforeDeletion*1e3);this.timeouts.set(e,o)}refresh(e){let o=this.timeouts.get(e);clearTimeout(o),this.timeouts.delete(e)}performDeletion(e){this.map.delete(e),this.timeouts.delete(e)}},W=class extends Set{},G=class extends Set{},Sr=(()=>{let e=class{constructor(r,n,s){c(this,"nodeRegistry");c(this,"entryRegistry");c(this,"snapshots");this.nodeRegistry=r,this.entryRegistry=n,this.snapshots=s}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(z(W),z(G),z(j))}),c(t,"\u0275prov",ft({token:e,factory:e.\u0275fac})),t})(),jr=(()=>{let e=class extends xe{constructor(r){super(r,10)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(z(j))}),c(t,"\u0275prov",ft({token:e,factory:e.\u0275fac})),t})(),bi=(()=>{let e=class extends B{constructor(n,s,i,a,l){super({node:n,deps:[s,i],storage:a});c(this,"nodeRegistry");c(this,"animationConfig",{});this.nodeRegistry=l}set lpjAnimation(n){typeof n!="string"&&(this.animationConfig=n)}snapshot(n){if(this.nodeRegistry&&n?.filter){let i=n.filter,a=this.nodeRegistry;n.filter=l=>a.has(l)&&i(l)}let s=this.snapper.snapshotTree(this.node,n);this.snapshots.merge(s)}},t=e;return c(t,"\u0275fac",function(s){return new(s||e)(g(U,2),g(Y),g(L),g(j,8),g(W,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode","","lpjAnimation",""]],inputs:{lpjAnimation:"lpjAnimation"},exportAs:["lpjAnimation"],standalone:!0,features:[Kt([{provide:B,useExisting:e}]),Gt]})),t})(),wi=(()=>{let e=class{constructor(r,n){c(this,"templateRef");c(this,"viewContainer");c(this,"source");c(this,"current");this.templateRef=r,this.viewContainer=n}set lpjAnimationScope(r){r!==""&&(this.source=r)}ngOnInit(){let r=this.createInjector();this.current=r.get(Sr),this.viewContainer.createEmbeddedView(this.templateRef,{$implicit:this.current},{injector:r})}createInjector(){let{nodeRegistry:r=new W,entryRegistry:n=new G,snapshots:s=new j}=this.source??{};return Pe.create({providers:[{provide:Sr},{provide:W,useValue:r},{provide:G,useValue:n},{provide:j,useValue:s},{provide:jr}]})}static ngTemplateContextGuard(r,n){return!0}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(ke),g($e))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimationScope",""]],inputs:{lpjAnimationScope:"lpjAnimationScope"},standalone:!0})),t})(),vi=(()=>{let e=class{constructor(r,n,s){c(this,"node");c(this,"registry");c(this,"snapshots");this.node=r,this.registry=n,this.snapshots=s}ngOnInit(){this.registry?.add(this.node),this.snapshots?.refresh(this.node.id)}ngOnDestroy(){this.registry?.delete(this.node),this.snapshots?.stale(this.node.id)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(U,2),g(W,8),g(jr,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode",""]],standalone:!0})),t})(),Oi=(()=>{let e=class{constructor(r,n){c(this,"entry");c(this,"registry");this.entry=r,this.registry=n}ngOnInit(){this.registry?.add(this.entry)}ngOnDestroy(){this.registry?.delete(this.entry)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(B,2),g(G,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimation",""]],standalone:!0})),t})(),Dn=(()=>{let e=class{constructor(r){c(this,"entryRegistry");c(this,"trigger$",new Te(Me));c(this,"targets",[]);c(this,"animationTrigger",new Jt);c(this,"animationSettle",new Jt);this.entryRegistry=r}set lpjAnimationTrigger(r){let n=r instanceof Se?r.pipe(Ae(Wt(r))):Wt(r);this.trigger$.next(n)}set lpjAnimationTriggerFor(r){this.targets=Array.isArray(r)?r:[r]}ngOnInit(){this.trigger$.pipe(Ee(),De(1),jt(()=>this.animationTrigger.emit()),jt(()=>this.snapshot()),Ne(()=>je().pipe(Re())),St(()=>this.animate()),jt(r=>r.then(()=>this.animationSettle.emit()))).subscribe()}snapshot(){this.resolveTargets().forEach(r=>r.snapshot({measure:!0}))}animate(){let r=this.resolveTargets().map(n=>n.animate());return new nt(r)}resolveTargets(){return this.targets.map(r=>this.resolveTarget(r))}resolveTarget(r){if(r instanceof B)return r;this.entryRegistry||this.resolveFailed(r,"no context provided");let n=Array.from(this.entryRegistry),s=r instanceof U?r.id:r,i=n.find(a=>a.node.id===s);return i||this.resolveFailed(r,"not found"),i}resolveFailed(r,n){throw new Error(`Failed to resolve target ${r}: ${n}`)}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(G,8))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimationTrigger",""]],inputs:{lpjAnimationTrigger:"lpjAnimationTrigger",lpjAnimationTriggerFor:"lpjAnimationTriggerFor"},outputs:{animationTrigger:"animationTrigger",animationSettle:"animationSettle"},standalone:!0})),t})(),Ii=(()=>{let e=class{constructor(r,n){n.lpjAnimationTriggerFor=r}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(B,2),g(Dn,2))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjAnimation","","lpjAnimationTrigger",""]],standalone:!0})),t})(),Si=(()=>{let e=class extends U{set lpjNode(r){typeof r=="string"?(r&&this.identifyAs(r),this.activate()):this.deactivate()}constructor(r,n,s){super(r.nativeElement,n),s&&this.attach(s)}ngOnDestroy(){this.parent&&this.detach()}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)(g(Be),g(Tr),g(U,12))}),c(t,"\u0275dir",P({type:e,selectors:[["","lpjNode",""]],inputs:{lpjNode:"lpjNode"},exportAs:["lpjNode"],standalone:!0,features:[Kt([{provide:U,useExisting:e}]),Gt]})),t})(),Tr=new J("PROJECTION_COMPONENTS",{factory:()=>[]}),Mr=new J("ANIMATION_HANDLERS",{factory:()=>[]}),Er=new J("ANIMATION_PLANNERS",{factory:()=>[]});var An=[{provide:Y,useFactory:()=>new Y(D(it),D(ot),D(Er))},{provide:st,useFactory:()=>new st(D(Mr))},{provide:it,useFactory:()=>new it(D(st))},{provide:ot,useFactory:()=>new ot},{provide:L,useFactory:()=>new L}],ji=(()=>{let e=class{static forRoot(r={}){let n=(s,i)=>i.map(a=>({provide:s,useClass:a,multi:!0}));return{ngModule:e,providers:[An,n(Tr,r.components??[]),n(Mr,r.animationHandlers??[]),n(Er,r.animationPlanners??[])]}}},t=e;return c(t,"\u0275fac",function(n){return new(n||e)}),c(t,"\u0275mod",_e({type:e})),c(t,"\u0275inj",Ce({})),t})();var at=(()=>(at=at||{},at.Inbox="Inbox",at.Trash="Trash",at.Spam="Spam",at))(),ct=(()=>(ct=ct||{},ct.Starred="Starred",ct.Sent="Sent",ct.Drafts="Drafts",ct))();function Ni(){let t=D(Ue);return()=>t.getContext("primary")?.route?.snapshot?.data?.animationId??"none"}var lt=class{static apply(...e){return Qt(this.content)}},ye=class extends lt{},qt=ye;(()=>{ye.content=ut([C("mat-drawer",w({transform:"none"}),{optional:!0})])})();var be=class extends lt{},Lt=be;(()=>{be.content=ut([C("router-outlet ~ *",[k("1ms",w({}))],{optional:!0})])})();var we=class extends lt{},Rr=we;(()=>{we.content=ut([qt.apply(),Zt([C(":leave",[w({position:"absolute"}),Lt.apply(),w({opacity:1}),k(`90ms ${H.ACCELERATION_CURVE}`,w({opacity:0}))],{optional:!0}),C(":enter",[w({transform:"scale(92%)",opacity:0}),k(`210ms 90ms ${H.DECELERATION_CURVE}`,w({transform:"scale(1)",opacity:1}))])])])})();var Fr=class extends lt{static apply(e,o,r={incoming:":enter",outgoing:":leave"}){let n=e==="x"?{overflowX:"visible",overflowY:"*",transformIncomingFrom:"translateX(30px)",transformIncomingTo:"translateX(0)",transformOutgoingFrom:"translateX(0)",transformOutgoingTo:"translateX(-30px)"}:e==="y"?{overflowX:"*",overflowY:"visible",transformIncomingFrom:"translateY(30px)",transformIncomingTo:"translateY(0)",transformOutgoingFrom:"translateY(0)",transformOutgoingTo:"translateY(-30px)"}:{overflowX:"visible",overflowY:"visible",transformIncomingFrom:"scale(80%)",transformIncomingTo:"scale(100%)",transformOutgoingFrom:"scale(100%)",transformOutgoingTo:"scale(110%)"};return o==="backward"&&([n.transformIncomingFrom,n.transformIncomingTo,n.transformOutgoingFrom,n.transformOutgoingTo]=[n.transformOutgoingTo,n.transformOutgoingFrom,n.transformIncomingTo,n.transformIncomingFrom]),Qt(ut([qt.apply(),Zt([C(r.outgoing,[w({transform:n.transformOutgoingFrom}),k(`300ms ${H.STANDARD_CURVE}`,w({transform:n.transformOutgoingTo}))]),C(r.incoming,[w({transform:n.transformIncomingFrom}),k(`300ms ${H.STANDARD_CURVE}`,w({transform:n.transformIncomingTo}))]),C(r.outgoing,[Lt.apply(),k(`90ms ${H.ACCELERATION_CURVE}`,w({opacity:0}))]),C(r.incoming,[w({opacity:0}),k(`210ms 90ms ${H.DECELERATION_CURVE}`,w({opacity:1}))])])]))}};var Nn=(()=>{let e=class{constructor(r){this.observer=r,this.config={["tablet-portrait"]:"(min-width: 600px)",["tablet-landscape"]:"(min-width: 905px)",laptop:"(min-width: 1240px)",desktop:"(min-width: 1440px)"},this.breakpoints$=this.observer.observe(Object.values(this.config)).pipe(St(n=>this.parseState(n)),Fe(1))}parseState(r){let n={};for(let s in this.config){let i=s,a=this.config[i];n[i]=r.breakpoints[a]}return n}},t=e;return(()=>{e.\u0275fac=function(n){return new(n||e)(z(Ve))}})(),(()=>{e.\u0275prov=ft({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Vi=new J("BREAKPOINTS",{providedIn:"root",factory:()=>ze(D(Nn).breakpoints$,{initialValue:{["tablet-portrait"]:!1,["tablet-landscape"]:!1,laptop:!1,desktop:!1}})});export{L as a,j as b,Y as c,U as d,bi as e,wi as f,vi as g,Oi as h,Dn as i,Ii as j,Si as k,ji as l,at as m,ct as n,Ni as o,Rr as p,Fr as q,Vi as r}; diff --git a/chunk-FHI7K4TK.js b/chunk-FHI7K4TK.js new file mode 100644 index 00000000..43f22490 --- /dev/null +++ b/chunk-FHI7K4TK.js @@ -0,0 +1 @@ +import{$a as z,Ca as N,Da as C,Ea as I,Fa as Q,Hb as V,Jc as c,Kc as W,M as S,Mc as A,Oa as _,Pa as m,Qc as U,Rc as q,S as p,Sc as O,Ta as L,U as f,V as o,Vc as K,W as g,Wb as H,Wc as Y,X as k,Yc as M,_ as R,aa as y,d as h,fa as j,ia as r,id as G,lb as x,nb as u,oa as F,ob as v,pd as X,qa as P,ta as s,tb as B,v as T,xa as b}from"./chunk-HFIM43UT.js";var Z=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275mod=g({type:t})})(),(()=>{t.\u0275inj=p({imports:[c,c]})})(),i})();var D=new r("MatList");var E=new r("MatNavList");var $=["*"],et='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}',at=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],lt=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];var J=W(A(class{})),nt=A(class{}),Qt=(()=>{let t=class extends J{constructor(){super(...arguments),this._stateChanges=new h}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}},i=t;return(()=>{t.\u0275fac=function(){let a;return function(l){return(a||(a=j(t)))(l||t)}}()})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[z([{provide:E,useExisting:t}]),b,y],ngContentSelectors:$,decls:1,vars:0,template:function(e,l){e&1&&(_(),m(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0})})(),i})(),Bt=(()=>{let t=class extends J{constructor(a){super(),this._elementRef=a,this._stateChanges=new h,this._getListType()==="action-list"&&(a.nativeElement.classList.add("mat-action-list"),a.nativeElement.setAttribute("role","group"))}_getListType(){let a=this._elementRef.nativeElement.nodeName.toLowerCase();return a==="mat-list"?"list":a==="mat-action-list"?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(s(F))}})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[z([{provide:D,useExisting:t}]),b,y],ngContentSelectors:$,decls:1,vars:0,template:function(e,l){e&1&&(_(),m(0))},styles:[et],encapsulation:2,changeDetection:0})})(),i})(),dt=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275dir=k({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]})})(),i})(),st=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275dir=k({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]})})(),i})();var Vt=(()=>{let t=class extends nt{constructor(a,e,l,d){super(),this._element=a,this._isInteractiveList=!1,this._destroyed=new h,this._disabled=!1,this._isInteractiveList=!!(l||d&&d._getListType()==="action-list"),this._list=l||d;let n=this._getHostElement();n.nodeName.toLowerCase()==="button"&&!n.hasAttribute("type")&&n.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(S(this._destroyed)).subscribe(()=>{e.markForCheck()})}get disabled(){return this._disabled||!!(this._list&&this._list.disabled)}set disabled(a){this._disabled=H(a)}ngAfterContentInit(){q(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!!(this._list&&this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)(s(F),s(B),s(E,8),s(D,8))}})(),(()=>{t.\u0275cmp=o({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,l,d){if(e&1&&(u(d,dt,5),u(d,st,5),u(d,U,5)),e&2){let n;x(n=v())&&(l._avatar=n.first),x(n=v())&&(l._icon=n.first),x(n=v())&&(l._lines=n)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(e,l){e&2&&L("mat-list-item-disabled",l.disabled)("mat-list-item-with-avatar",l._avatar||l._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[b],ngContentSelectors:lt,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,l){e&1&&(_(at),C(0,"span",0),Q(1,"span",1),m(2),C(3,"span",2),m(4,1),I(),m(5,2),I()),e&2&&(P(1),N("matRippleTrigger",l._getHostElement())("matRippleDisabled",l._isRippleDisabled()))},dependencies:[K],encapsulation:2,changeDetection:0})})(),i})();var Ht=(()=>{let t=class{},i=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275mod=g({type:t})})(),(()=>{t.\u0275inj=p({imports:[O,Y,c,M,V,O,c,M,Z]})})(),i})();var Xt=new r("LAYOUT_CONTEXT",{providedIn:"root",factory:()=>{let i=f(X),t=R({contentFavored:!1,navFabConfig:null,navBottomActions:null});return i.events.pipe(T(w=>w instanceof G)).subscribe(()=>t.mutate(w=>w.contentFavored=!1)),t}});export{Qt as a,Bt as b,st as c,Vt as d,Ht as e,Xt as f}; diff --git a/chunk-GWX3GFXN.js b/chunk-GWX3GFXN.js deleted file mode 100644 index 4335a8a0..00000000 --- a/chunk-GWX3GFXN.js +++ /dev/null @@ -1 +0,0 @@ -import{K as m,M as d,Q as x,T as y,d as f,e as v,ha as w,m as a,v as l}from"./chunk-LCFD4RLU.js";import{a as u,b as p}from"./chunk-OPXGAHDX.js";var n=class extends Error{},o=class extends n{},c=class extends n{},b=class extends n{},g=class extends n{};var h=class{constructor(){this.updatesSubject=new f,this.updates$=this.updatesSubject.asObservable(),this.entities=new Map}query(t=()=>!0){let r=new Set;for(let[e,i]of this.entities)t(i.value)&&r.add(e);return this.updates$.pipe(a(e=>e.curr&&t(e.curr)?(r.add(e.id),!0):r.delete(e.id)),d(!0),l(Boolean),a(()=>[...r].map(e=>{let i=this.entities.get(e);if(!i)throw new Error("Entity in results but missing");return i.value})),m(1))}retrieve(t){let r=this.entities.get(t);if(!r)throw new o;return r}insert(t){let r=this.identify(t);if(this.entities.has(r))throw new c;let e=new v(t);return this.entities.set(r,e),this.createUpdate({id:r,prev:null,curr:t,entity$:e,undo:()=>this.delete(r)})}patch(t,r){let e=this.entities.get(t);if(!e)throw new o;let i=e.value;return e.next(u(u({},i),r)),this.createUpdate({id:t,prev:i,curr:e.value,entity$:e,undo:()=>this.patch(t,i)})}insertOrPatch(t){let r=this.identify(t);return this.entities.get(r)?this.patch(r,t):this.insert(t)}delete(t){let r=this.entities.get(t);if(!r)throw new o;let e=r.value;return r.complete(),this.entities.delete(t),this.createUpdate({id:t,prev:e,curr:null,entity$:r,undo:()=>this.insert(e)})}exists(t){let r=this.entities.has(t);return this.updates$.pipe(l(e=>e.id===t),x(e=>{e.curr===null?r=!1:r=!0}),d(null),a(()=>r))}createUpdate(t){let r=p(u({},t),{[Symbol.observable]:()=>t.entity$});return this.updatesSubject.next(r),r}};var D=(()=>{let t=class extends h{identify(e){return e.id}},s=t;return(()=>{t.\u0275fac=function(){let e;return function(j){return(e||(e=w(t)))(j||t)}}()})(),(()=>{t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})})(),s})();export{b as a,g as b,h as c,D as d}; diff --git a/chunk-GXVGJF2N.js b/chunk-GXVGJF2N.js new file mode 100644 index 00000000..df34c872 --- /dev/null +++ b/chunk-GXVGJF2N.js @@ -0,0 +1 @@ +import{a as m,b as u,c as k,f as p}from"./chunk-5QDPU4Y2.js";import{f as I}from"./chunk-FHI7K4TK.js";import{m as d}from"./chunk-BTQVCDJX.js";import{Hb as T,Oa as w,Pa as S,U as s,V as x,X as b,Y as i,ab as C,ya as f}from"./chunk-HFIM43UT.js";var Y=(()=>{let e=class{transform(o,r){return o instanceof Array?r.query(a=>o.includes(r.identify(a))):r.retrieve(o)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275pipe=i({name:"resolveRef",type:e,pure:!0,standalone:!0})})(),t})();var X=(()=>{let e=class{constructor(){this.layoutContext=s(I),this.scrollDirections=s(m),this.scrollDirections.scrollUp.pipe(d()).subscribe(()=>{this.layoutContext.mutate(o=>o.contentFavored=!1)}),this.scrollDirections.scrollDown.pipe(d()).subscribe(()=>{this.layoutContext.mutate(o=>o.contentFavored=!0)})}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275dir=b({type:e,selectors:[["","rplLayoutContent",""]],standalone:!0,features:[f([m])]})})(),t})();var F=["second","minute","hour","day","week","month","year"];function A(t,e){if(e===0)return["just now","right now"];var n=F[Math.floor(e/2)];return t>1&&(n+="s"),[t+" "+n+" ago","in "+t+" "+n]}var L=["\u79D2","\u5206\u949F","\u5C0F\u65F6","\u5929","\u5468","\u4E2A\u6708","\u5E74"];function O(t,e){if(e===0)return["\u521A\u521A","\u7247\u523B\u540E"];var n=L[~~(e/2)];return[t+" "+n+"\u524D",t+" "+n+"\u540E"]}var g={},c=function(t,e){g[t]=e},h=function(t){return g[t]||g.en_US};var v=[60,60,24,7,4.345238095238096,12];function P(t){return t instanceof Date?t:!isNaN(t)||/^\d+$/.test(t)?new Date(parseInt(t)):(t=(t||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(t))}function D(t,e){var n=t<0?1:0;t=Math.abs(t);for(var o=t,r=0;t>=v[r]&&r(r===0?9:1)&&(r+=1),e(t,r,o)[n].replace("%s",t.toString())}function y(t,e){var n=e?P(e):new Date;return(+n-+P(t))/1e3}var M=function(t,e,n){var o=y(t,n&&n.relativeDate);return D(o,h(e))};c("en_US",A);c("zh_CN",O);var j="en_US_abbr";c(j,(t,e)=>[["just now","right now"],["%s secs ago","in %s secs"],["1 min ago","in 1 min"],["%s mins ago","in %s mins"],["1 hr ago","in 1 hr"],["%s hrs ago","in %s hrs"],["1 day ago","in 1 day"],["%s days ago","in %s days"],["1 week ago","in 1 week"],["%s weeks ago","in %s weeks"],["1 month ago","in 1 month"],["%s months ago","in %s months"],["1 year ago","in 1 year"],["%s years ago","in %s years"]][e]);var E=(()=>{let e=class{transform(o,...r){return M(o,j)}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275pipe=i({name:"dateDistance",type:e,pure:!0,standalone:!0})})(),t})();var Mt=(()=>{let e=class{constructor(){this.dateDistancePipe=new E}transform(o){let r=p(o),a=p();return r.diff(a,"week")>-1?this.dateDistancePipe.transform(o):r.diff(a,"year")>-1?r.format("MMM D"):r.format("MMM D, YYYY")}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275pipe=i({name:"readableDate",type:e,pure:!0,standalone:!0})})(),t})();var _=["*"],kt=(()=>{let e=class{constructor(){let o=s(u);o.className="scrolling"}},t=e;return(()=>{e.\u0275fac=function(r){return new(r||e)}})(),(()=>{e.\u0275cmp=x({type:e,selectors:[["rpl-scrollable-area"]],standalone:!0,features:[C,f([u])],ngContentSelectors:_,decls:1,vars:0,template:function(r,a){r&1&&(w(),S(0))},dependencies:[T,k],styles:["[_nghost-%COMP%]{display:block;overflow-y:auto}@supports (overflow: overlay){[_nghost-%COMP%]{overflow-y:overlay}}[_nghost-%COMP%]::-webkit-scrollbar{width:8px;height:8px}[_nghost-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.scrolling[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:#0000001f}[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#0006}"],changeDetection:0})})(),t})();export{Y as a,X as b,Mt as c,kt as d}; diff --git a/chunk-LCFD4RLU.js b/chunk-HFIM43UT.js similarity index 90% rename from chunk-LCFD4RLU.js rename to chunk-HFIM43UT.js index 16ccfae2..834e3e76 100644 --- a/chunk-LCFD4RLU.js +++ b/chunk-HFIM43UT.js @@ -1,8 +1,8 @@ -import{a as D,b as me}from"./chunk-OPXGAHDX.js";function T(t){return typeof t=="function"}function yr(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var qo=yr(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: +import{a as D,b as me}from"./chunk-OPXGAHDX.js";function T(t){return typeof t=="function"}function yr(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Wo=yr(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription: ${r.map((n,i)=>`${i+1}) ${n.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=r});function Wt(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var X=class{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(T(n))try{n()}catch(o){e=o instanceof qo?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{_h(o)}catch(s){e=e??[],s instanceof qo?e=[...e,...s.errors]:e.push(s)}}if(e)throw new qo(e)}}add(e){var r;if(e&&e!==this)if(this.closed)_h(e);else{if(e instanceof X){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Wt(r,e)}remove(e){let{_finalizers:r}=this;r&&Wt(r,e),e instanceof X&&e._removeParent(this)}};X.EMPTY=(()=>{let t=new X;return t.closed=!0,t})();var Bc=X.EMPTY;function Go(t){return t instanceof X||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function _h(t){T(t)?t():t.unsubscribe()}var ot={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var vr={setTimeout(t,e,...r){let{delegate:n}=vr;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=vr;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Ko(t){vr.setTimeout(()=>{let{onUnhandledError:e}=ot;if(e)e(t);else throw t})}function qt(){}var wh=(()=>$c("C",void 0,void 0))();function Dh(t){return $c("E",void 0,t)}function Eh(t){return $c("N",t,void 0)}function $c(t,e,r){return{kind:t,value:e,error:r}}var Nn=null;function br(t){if(ot.useDeprecatedSynchronousErrorHandling){let e=!Nn;if(e&&(Nn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Nn;if(Nn=null,r)throw n}}else t()}function Ch(t){ot.useDeprecatedSynchronousErrorHandling&&Nn&&(Nn.errorThrown=!0,Nn.error=t)}var On=class extends X{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Go(e)&&e.add(this)):this.destination=I_}static create(e,r,n){return new st(e,r,n)}next(e){this.isStopped?Hc(Eh(e),this):this._next(e)}error(e){this.isStopped?Hc(Dh(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Hc(wh,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},E_=Function.prototype.bind;function Uc(t,e){return E_.call(t,e)}var zc=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Zo(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Zo(n)}else Zo(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Zo(r)}}},st=class extends On{constructor(e,r,n){super();let i;if(T(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&ot.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Uc(e.next,o),error:e.error&&Uc(e.error,o),complete:e.complete&&Uc(e.complete,o)}):i=e}this.destination=new zc(i)}};function Zo(t){ot.useDeprecatedSynchronousErrorHandling?Ch(t):Ko(t)}function C_(t){throw t}function Hc(t,e){let{onStoppedNotification:r}=ot;r&&vr.setTimeout(()=>r(t,e))}var I_={closed:!0,next:qt,error:C_,complete:qt};var _r=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function we(t){return t}function Wc(...t){return qc(t)}function qc(t){return t.length===0?we:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var R=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=T_(r)?r:new st(r,n,i);return br(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Ih(n),new n((i,o)=>{let s=new st({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[_r](){return this}pipe(...r){return qc(r)(this)}toPromise(r){return r=Ih(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Ih(t){var e;return(e=t??ot.Promise)!==null&&e!==void 0?e:Promise}function S_(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function T_(t){return t&&t instanceof On||S_(t)&&Go(t)}function Gc(t){return T(t?.lift)}function M(t){return e=>{if(Gc(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function A(t,e,r,n,i){return new Kc(t,e,r,n,i)}var Kc=class extends On{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function wr(){return M((t,e)=>{let r=null;t._refCount++;let n=A(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Gt=class extends R{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Gc(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new X;let r=this.getSubject();e.add(this.source.subscribe(A(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=X.EMPTY)}return e}refCount(){return wr()(this)}};var Zc={now(){return(Zc.delegate||performance).now()},delegate:void 0};var Dr={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=Dr;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let i=e(o=>{r=void 0,t(o)});return new X(()=>r?.(i))},requestAnimationFrame(...t){let{delegate:e}=Dr;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Dr;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};function M_(t){return t?Sh(t):A_}function Sh(t){return new R(e=>{let r=t||Zc,n=r.now(),i=0,o=()=>{e.closed||(i=Dr.requestAnimationFrame(s=>{i=0;let a=r.now();e.next({timestamp:t?a:s,elapsed:a-n}),o()}))};return o(),()=>{i&&Dr.cancelAnimationFrame(i)}})}var A_=Sh();var Th=yr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=(()=>{class t extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Qo(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Th}next(r){br(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){br(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){br(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?Bc:(this.currentObservers=null,o.push(r),new X(()=>{this.currentObservers=null,Wt(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new R;return r.source=this,r}}return t.create=(e,r)=>new Qo(e,r),t})(),Qo=class extends z{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Bc}};var ge=class extends z{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var vi={now(){return(vi.delegate||Date).now()},delegate:void 0};var bi=class extends z{constructor(e=1/0,r=1/0,n=vi){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(n.push(e),!i&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,o=i.slice();for(let s=0;sMh(e)&&t()),e},clearImmediate(t){Mh(t)}};var{setImmediate:R_,clearImmediate:N_}=Ah,wi={setImmediate(...t){let{delegate:e}=wi;return(e?.setImmediate||R_)(...t)},clearImmediate(t){let{delegate:e}=wi;return(e?.clearImmediate||N_)(t)},delegate:void 0};var Xo=class extends Er{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=wi.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(wi.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var un=class{constructor(e,r=un.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};un.now=vi.now;var Cr=class extends un{constructor(e,r=un.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var Jo=class extends Cr{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var xh=new Jo(Xo);var Fn=new Cr(Er),Rh=Fn;var Re=new R(t=>t.complete());function es(t){return t&&T(t.schedule)}function Xc(t){return t[t.length-1]}function ts(t){return T(Xc(t))?t.pop():void 0}function bt(t){return es(Xc(t))?t.pop():void 0}function Nh(t,e){return typeof Xc(t)=="number"?t.pop():e}function Fh(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(u){try{l(n.next(u))}catch(d){s(d)}}function c(u){try{l(n.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):i(u.value).then(a,c)}l((n=n.apply(t,e||[])).next())})}function Oh(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pn(t){return this instanceof Pn?(this.v=t,this):new Pn(t)}function Ph(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(h){return new Promise(function(m,g){o.push([f,h,m,g])>1||a(f,h)})})}function a(f,h){try{c(n[f](h))}catch(m){d(o[0][3],m)}}function c(f){f.value instanceof Pn?Promise.resolve(f.value.v).then(l,u):d(o[0][2],f)}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function kh(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Oh=="function"?Oh(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var Ir=t=>t&&typeof t.length=="number"&&typeof t!="function";function ns(t){return T(t?.then)}function rs(t){return T(t[_r])}function is(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function os(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function O_(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ss=O_();function as(t){return T(t?.[ss])}function cs(t){return Ph(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield Pn(r.read());if(i)return yield Pn(void 0);yield yield Pn(n)}}finally{r.releaseLock()}})}function ls(t){return T(t?.getReader)}function W(t){if(t instanceof R)return t;if(t!=null){if(rs(t))return F_(t);if(Ir(t))return P_(t);if(ns(t))return k_(t);if(is(t))return Lh(t);if(as(t))return L_(t);if(ls(t))return j_(t)}throw os(t)}function F_(t){return new R(e=>{let r=t[_r]();if(T(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function P_(t){return new R(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Ko)})}function L_(t){return new R(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Lh(t){return new R(e=>{V_(t,e).catch(r=>e.error(r))})}function j_(t){return Lh(cs(t))}function V_(t,e){var r,n,i,o;return Fh(this,void 0,void 0,function*(){try{for(r=kh(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Ne(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function us(t,e=0){return M((r,n)=>{r.subscribe(A(n,i=>Ne(n,t,()=>n.next(i),e),()=>Ne(n,t,()=>n.complete(),e),i=>Ne(n,t,()=>n.error(i),e)))})}function ds(t,e=0){return M((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function jh(t,e){return W(t).pipe(ds(e),us(e))}function Vh(t,e){return W(t).pipe(ds(e),us(e))}function Bh(t,e){return new R(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function $h(t,e){return new R(r=>{let n;return Ne(r,e,()=>{n=t[ss](),Ne(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>T(n?.return)&&n.return()})}function fs(t,e){if(!t)throw new Error("Iterable cannot be null");return new R(r=>{Ne(r,e,()=>{let n=t[Symbol.asyncIterator]();Ne(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Uh(t,e){return fs(cs(t),e)}function Hh(t,e){if(t!=null){if(rs(t))return jh(t,e);if(Ir(t))return Bh(t,e);if(ns(t))return Vh(t,e);if(is(t))return fs(t,e);if(as(t))return $h(t,e);if(ls(t))return Uh(t,e)}throw os(t)}function ee(t,e){return e?Hh(t,e):W(t)}function C(...t){let e=bt(t);return ee(t,e)}function Kt(t,e){let r=T(t)?t:()=>t,n=i=>i.error(r());return new R(e?i=>e.schedule(n,0,i):n)}function Di(t){return!!t&&(t instanceof R||T(t.lift)&&T(t.subscribe))}var at=yr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function B_(t,e){let r=typeof e=="object";return new Promise((n,i)=>{let o=new st({next:s=>{n(s),o.unsubscribe()},error:i,complete:()=>{r?n(e.defaultValue):i(new at)}});t.subscribe(o)})}function zh(t){return t instanceof Date&&!isNaN(t)}function O(t,e){return M((r,n)=>{let i=0;r.subscribe(A(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:$_}=Array;function U_(t,e){return $_(e)?t(...e):t(e)}function Sr(t){return O(e=>U_(t,e))}var{isArray:H_}=Array,{getPrototypeOf:z_,prototype:W_,keys:q_}=Object;function hs(t){if(t.length===1){let e=t[0];if(H_(e))return{args:e,keys:null};if(G_(e)){let r=q_(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function G_(t){return t&&typeof t=="object"&&z_(t)===W_}function ps(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function kn(...t){let e=bt(t),r=ts(t),{args:n,keys:i}=hs(t);if(n.length===0)return ee([],e);let o=new R(K_(n,e,i?s=>ps(i,s):we));return r?o.pipe(Sr(r)):o}function K_(t,e,r=we){return n=>{Wh(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let l=ee(t[c],e),u=!1;l.subscribe(A(n,d=>{o[c]=d,u||(u=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Wh(t,e,r){t?Ne(r,t,e):e()}function qh(t,e,r,n,i,o,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&e.complete()},h=g=>l{o&&e.next(g),l++;let _=!1;W(r(g,u++)).subscribe(A(e,b=>{i?.(b),o?h(b):e.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&lm(b)):m(b)}f()}catch(b){e.error(b)}}))};return t.subscribe(A(e,h,()=>{d=!0,f()})),()=>{a?.()}}function te(t,e,r=1/0){return T(e)?te((n,i)=>O((o,s)=>e(n,o,i,s))(W(t(n,i))),r):(typeof e=="number"&&(r=e),M((n,i)=>qh(n,i,t,r)))}function _t(t=1/0){return te(we,t)}function Gh(){return _t(1)}function Ge(...t){return Gh()(ee(t,bt(t)))}function ms(t){return new R(e=>{W(t()).subscribe(e)})}function Jc(...t){let e=ts(t),{args:r,keys:n}=hs(t),i=new R(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(n?ps(n,a):a),o.complete())}))}});return e?i.pipe(Sr(e)):i}var Z_=["addListener","removeListener"],Q_=["addEventListener","removeEventListener"],Y_=["on","off"];function Ei(t,e,r,n){if(T(r)&&(n=r,r=void 0),n)return Ei(t,e,r).pipe(Sr(n));let[i,o]=ew(t)?Q_.map(s=>a=>t[s](e,a,r)):X_(t)?Z_.map(Kh(t,e)):J_(t)?Y_.map(Kh(t,e)):[];if(!i&&Ir(t))return te(s=>Ei(s,e,r))(W(t));if(!i)throw new TypeError("Invalid event target");return new R(s=>{let a=(...c)=>s.next(1o(a)})}function Kh(t,e){return r=>n=>t[r](e,n)}function X_(t){return T(t.addListener)&&T(t.removeListener)}function J_(t){return T(t.on)&&T(t.off)}function ew(t){return T(t.addEventListener)&&T(t.removeEventListener)}function Ci(t=0,e,r=Rh){let n=-1;return e!=null&&(es(e)?r=e:n=e),new R(i=>{let o=zh(t)?+t-r.now():t;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},o)})}function el(...t){let e=bt(t),r=Nh(t,1/0),n=t;return n.length?n.length===1?W(n[0]):_t(r)(ee(n,e)):Re}var tw=new R(qt);function fe(t,e){return M((r,n)=>{let i=0;r.subscribe(A(n,o=>t.call(e,o,i++)&&n.next(o)))})}function Zh(t){return M((e,r)=>{let n=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let l=i;i=null,r.next(l)}s&&r.complete()},c=()=>{o=null,s&&r.complete()};e.subscribe(A(r,l=>{n=!0,i=l,o||W(t(l)).subscribe(o=A(r,a,c))},()=>{s=!0,(!n||!o||o.closed)&&r.complete()}))})}function gs(t,e=Fn){return Zh(()=>Ci(t,e))}function nw(t,e=null){return e=e??t,M((r,n)=>{let i=[],o=0;r.subscribe(A(n,s=>{let a=null;o++%e===0&&i.push([]);for(let c of i)c.push(s),t<=c.length&&(a=a??[],a.push(c));if(a)for(let c of a)Wt(i,c),n.next(c)},()=>{for(let s of i)n.next(s);n.complete()},void 0,()=>{i=null}))})}function Ke(t){return M((e,r)=>{let n=null,i=!1,o;n=e.subscribe(A(r,void 0,void 0,s=>{o=W(t(s,Ke(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function Qh(t,e,r,n,i){return(o,s)=>{let a=r,c=e,l=0;o.subscribe(A(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function wt(t,e){return T(e)?te(t,e,1):te(t,1)}function Yh(t){return new R(e=>t.subscribe(e))}var rw={connector:()=>new z};function ys(t,e=rw){let{connector:r}=e;return M((n,i)=>{let o=r();W(t(Yh(o))).subscribe(i),i.add(n.subscribe(o))})}function dn(t,e=Fn){return M((r,n)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let l=o;o=null,n.next(l)}};function c(){let l=s+t,u=e.now();if(u{o=l,s=e.now(),i||(i=e.schedule(c,t),n.add(i))},()=>{a(),n.complete()},void 0,()=>{o=i=null}))})}function fn(t){return M((e,r)=>{let n=!1;e.subscribe(A(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function ve(t){return t<=0?()=>Re:M((e,r)=>{let n=0;e.subscribe(A(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function tl(){return M((t,e)=>{t.subscribe(A(e,qt))})}function Ii(t){return O(()=>t)}function nl(t,e){return e?r=>Ge(e.pipe(ve(1),tl()),r.pipe(nl(t))):te((r,n)=>W(t(r,n)).pipe(ve(1),Ii(r)))}function iw(t,e=Fn){let r=Ci(t,e);return nl(()=>r)}function Ln(t,e=we){return t=t??ow,M((r,n)=>{let i,o=!0;r.subscribe(A(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function ow(t,e){return t===e}function Si(t=sw){return M((e,r)=>{let n=!1;e.subscribe(A(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function sw(){return new at}function aw(...t){return e=>Ge(e,C(...t))}function rl(t,e){return e?r=>r.pipe(rl((n,i)=>W(t(n,i)).pipe(O((o,s)=>e(n,o,i,s))))):M((r,n)=>{let i=0,o=null,s=!1;r.subscribe(A(n,a=>{o||(o=A(n,void 0,()=>{o=null,s&&n.complete()}),W(t(a,i++)).subscribe(o))},()=>{s=!0,!o&&n.complete()}))})}function cw(){return rl(we)}function Dt(t){return M((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Ze(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):we,ve(1),r?fn(e):Si(()=>new at))}function Tr(t){return t<=0?()=>Re:M((e,r)=>{let n=[];e.subscribe(A(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function il(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):we,Tr(1),r?fn(e):Si(()=>new at))}function Xh(t,e){let r=T(t)?t:()=>t;return T(e)?ys(e,{connector:r}):n=>new Gt(n,r)}function Jh(){return M((t,e)=>{let r,n=!1;t.subscribe(A(e,i=>{let o=r;r=i,n&&e.next([o,i]),n=!0}))})}function lw(t){return t?e=>ys(t)(e):e=>Xh(new z)(e)}function ol(t,e){return M(Qh(t,e,arguments.length>=2,!0))}function hn(t={}){let{connector:e=()=>new z,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,u=d=!1},m=()=>{let g=s;h(),g?.unsubscribe()};return M((g,_)=>{l++,!d&&!u&&f();let b=c=c??e();_.add(()=>{l--,l===0&&!d&&!u&&(a=sl(m,i))}),b.subscribe(_),!s&&l>0&&(s=new st({next:k=>b.next(k),error:k=>{d=!0,f(),a=sl(h,r,k),b.error(k)},complete:()=>{u=!0,f(),a=sl(h,n),b.complete()}}),W(g).subscribe(s))})(o)}}function sl(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new st({next:()=>{n.unsubscribe(),t()}});return W(e(...r)).subscribe(n)}function ep(t,e,r){let n,i=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=t:n=t??1/0,hn({connector:()=>new bi(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Mr(t){return fe((e,r)=>t<=r)}function Zt(...t){let e=bt(t);return M((r,n)=>{(e?Ge(t,r,e):Ge(t,r)).subscribe(n)})}function De(t,e){return M((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(A(n,c=>{i?.unsubscribe();let l=0,u=o++;W(t(c,u)).subscribe(i=A(n,d=>n.next(e?e(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function jn(t){return M((e,r)=>{W(t).subscribe(A(r,()=>r.complete(),qt)),!r.closed&&e.subscribe(r)})}function uw(t,e=!1){return M((r,n)=>{let i=0;r.subscribe(A(n,o=>{let s=t(o,i++);(s||e)&&n.next(o),!s&&n.complete()}))})}function ne(t,e,r){let n=T(t)||e||r?{next:t,error:e,complete:r}:t;return n?M((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(A(o,c=>{var l;(l=n.next)===null||l===void 0||l.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var l;a=!1,(l=n.error)===null||l===void 0||l.call(n,c),o.error(c)},()=>{var c,l;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(l=n.finalize)===null||l===void 0||l.call(n)}))}):we}function J(t){for(let e in t)if(t[e]===J)return e;throw Error("Could not find renamed property on target object.")}function vs(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Se(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Se).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` -`);return r===-1?e:e.substring(0,r)}function El(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var dw=J({__forward_ref__:J});function Up(t){return t.__forward_ref__=Up,t.toString=function(){return Se(this())},t}function Ee(t){return Hp(t)?t():t}function Hp(t){return typeof t=="function"&&t.hasOwnProperty(dw)&&t.__forward_ref__===Up}function zp(t){return t&&!!t.\u0275providers}var Wp="https://g.co/ng/security#xss",y=class extends Error{constructor(e,r){super(Cu(e,r)),this.code=e}};function Cu(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Pr(t){return typeof t=="string"?t:t==null?"":String(t)}function fw(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Pr(t)}function hw(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new y(-200,`Circular dependency in DI detected for ${t}${r}`)}function Iu(t,e){let r=e?` in ${e}`:"";throw new y(-201,!1)}function pw(t,e){t==null&&mw(e,t,null,"!=")}function mw(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function G(t){return{providers:t.providers||[],imports:t.imports||[]}}function sa(t){return tp(t,Gp)||tp(t,Kp)}function qp(t){return sa(t)!==null}function tp(t,e){return t.hasOwnProperty(e)?t[e]:null}function gw(t){let e=t&&(t[Gp]||t[Kp]);return e||null}function np(t){return t&&(t.hasOwnProperty(rp)||t.hasOwnProperty(yw))?t[rp]:null}var Gp=J({\u0275prov:J}),rp=J({\u0275inj:J}),Kp=J({ngInjectableDef:J}),yw=J({ngInjectorDef:J}),N=(()=>(N=N||{},N[N.Default=0]="Default",N[N.Host=1]="Host",N[N.Self=2]="Self",N[N.SkipSelf=4]="SkipSelf",N[N.Optional=8]="Optional",N))(),Cl;function Zp(){return Cl}function Qe(t){let e=Cl;return Cl=t,e}function Qp(t,e,r){let n=sa(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&N.Optional)return null;if(e!==void 0)return e;Iu(Se(t),"Injector")}var Ce=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();var vw={},xi=vw,Il="__NG_DI_FLAG__",Ls="ngTempTokenPath",bw="ngTokenPath",_w=/\n/gm,ww="\u0275",ip="__source",Or;function Dw(){return Or}function Ar(t){let e=Or;return Or=t,e}function Ew(t,e=N.Default){if(Or===void 0)throw new y(-203,!1);return Or===null?Qp(t,void 0,e):Or.get(t,e&N.Optional?null:void 0,e)}function p(t,e=N.Default){return(Zp()||Ew)(Ee(t),e)}function w(t,e=N.Default){return p(t,aa(e))}function aa(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Sl(t){let e=[];for(let r=0;r{let t=new X;return t.closed=!0,t})();var Bc=X.EMPTY;function qo(t){return t instanceof X||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function _h(t){T(t)?t():t.unsubscribe()}var ot={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var vr={setTimeout(t,e,...r){let{delegate:n}=vr;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=vr;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Go(t){vr.setTimeout(()=>{let{onUnhandledError:e}=ot;if(e)e(t);else throw t})}function Wt(){}var wh=(()=>$c("C",void 0,void 0))();function Dh(t){return $c("E",void 0,t)}function Eh(t){return $c("N",t,void 0)}function $c(t,e,r){return{kind:t,value:e,error:r}}var Nn=null;function br(t){if(ot.useDeprecatedSynchronousErrorHandling){let e=!Nn;if(e&&(Nn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Nn;if(Nn=null,r)throw n}}else t()}function Ch(t){ot.useDeprecatedSynchronousErrorHandling&&Nn&&(Nn.errorThrown=!0,Nn.error=t)}var On=class extends X{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,qo(e)&&e.add(this)):this.destination=I_}static create(e,r,n){return new st(e,r,n)}next(e){this.isStopped?Hc(Eh(e),this):this._next(e)}error(e){this.isStopped?Hc(Dh(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Hc(wh,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},E_=Function.prototype.bind;function Uc(t,e){return E_.call(t,e)}var zc=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){Ko(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){Ko(n)}else Ko(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Ko(r)}}},st=class extends On{constructor(e,r,n){super();let i;if(T(e)||!e)i={next:e??void 0,error:r??void 0,complete:n??void 0};else{let o;this&&ot.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Uc(e.next,o),error:e.error&&Uc(e.error,o),complete:e.complete&&Uc(e.complete,o)}):i=e}this.destination=new zc(i)}};function Ko(t){ot.useDeprecatedSynchronousErrorHandling?Ch(t):Go(t)}function C_(t){throw t}function Hc(t,e){let{onStoppedNotification:r}=ot;r&&vr.setTimeout(()=>r(t,e))}var I_={closed:!0,next:Wt,error:C_,complete:Wt};var _r=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function we(t){return t}function Wc(...t){return qc(t)}function qc(t){return t.length===0?we:t.length===1?t[0]:function(r){return t.reduce((n,i)=>i(n),r)}}var R=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let o=T_(r)?r:new st(r,n,i);return br(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=Ih(n),new n((i,o)=>{let s=new st({next:a=>{try{r(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[_r](){return this}pipe(...r){return qc(r)(this)}toPromise(r){return r=Ih(r),new r((n,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>n(o))})}}return t.create=e=>new t(e),t})();function Ih(t){var e;return(e=t??ot.Promise)!==null&&e!==void 0?e:Promise}function S_(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function T_(t){return t&&t instanceof On||S_(t)&&qo(t)}function Gc(t){return T(t?.lift)}function M(t){return e=>{if(Gc(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function A(t,e,r,n,i){return new Kc(t,e,r,n,i)}var Kc=class extends On{constructor(e,r,n,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=i?function(a){try{i(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function wr(){return M((t,e)=>{let r=null;t._refCount++;let n=A(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var qt=class extends R{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Gc(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new X;let r=this.getSubject();e.add(this.source.subscribe(A(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=X.EMPTY)}return e}refCount(){return wr()(this)}};var Zc={now(){return(Zc.delegate||performance).now()},delegate:void 0};var Dr={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=Dr;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let i=e(o=>{r=void 0,t(o)});return new X(()=>r?.(i))},requestAnimationFrame(...t){let{delegate:e}=Dr;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=Dr;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};function M_(t){return t?Sh(t):A_}function Sh(t){return new R(e=>{let r=t||Zc,n=r.now(),i=0,o=()=>{e.closed||(i=Dr.requestAnimationFrame(s=>{i=0;let a=r.now();e.next({timestamp:t?a:s,elapsed:a-n}),o()}))};return o(),()=>{i&&Dr.cancelAnimationFrame(i)}})}var A_=Sh();var Th=yr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var z=(()=>{class t extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new Zo(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new Th}next(r){br(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){br(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){br(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:o}=this;return n||i?Bc:(this.currentObservers=null,o.push(r),new X(()=>{this.currentObservers=null,zt(o,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:o}=this;n?r.error(i):o&&r.complete()}asObservable(){let r=new R;return r.source=this,r}}return t.create=(e,r)=>new Zo(e,r),t})(),Zo=class extends z{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Bc}};var ge=class extends z{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var vi={now(){return(vi.delegate||Date).now()},delegate:void 0};var bi=class extends z{constructor(e=1/0,r=1/0,n=vi){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(n.push(e),!i&&n.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:i}=this,o=i.slice();for(let s=0;sMh(e)&&t()),e},clearImmediate(t){Mh(t)}};var{setImmediate:R_,clearImmediate:N_}=Ah,wi={setImmediate(...t){let{delegate:e}=wi;return(e?.setImmediate||R_)(...t)},clearImmediate(t){let{delegate:e}=wi;return(e?.clearImmediate||N_)(t)},delegate:void 0};var Yo=class extends Er{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=wi.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var i;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(wi.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var un=class{constructor(e,r=un.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};un.now=vi.now;var Cr=class extends un{constructor(e,r=un.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var Xo=class extends Cr{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,i;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,i){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw i}}};var xh=new Xo(Yo);var Fn=new Cr(Er),Rh=Fn;var Re=new R(t=>t.complete());function Jo(t){return t&&T(t.schedule)}function Xc(t){return t[t.length-1]}function es(t){return T(Xc(t))?t.pop():void 0}function bt(t){return Jo(Xc(t))?t.pop():void 0}function Nh(t,e){return typeof Xc(t)=="number"?t.pop():e}function Fh(t,e,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(u){try{l(n.next(u))}catch(d){s(d)}}function c(u){try{l(n.throw(u))}catch(d){s(d)}}function l(u){u.done?o(u.value):i(u.value).then(a,c)}l((n=n.apply(t,e||[])).next())})}function Oh(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pn(t){return this instanceof Pn?(this.v=t,this):new Pn(t)}function Ph(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){n[f]&&(i[f]=function(h){return new Promise(function(m,g){o.push([f,h,m,g])>1||a(f,h)})})}function a(f,h){try{c(n[f](h))}catch(m){d(o[0][3],m)}}function c(f){f.value instanceof Pn?Promise.resolve(f.value.v).then(l,u):d(o[0][2],f)}function l(f){a("next",f)}function u(f){a("throw",f)}function d(f,h){f(h),o.shift(),o.length&&a(o[0][0],o[0][1])}}function kh(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Oh=="function"?Oh(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=t[o]&&function(s){return new Promise(function(a,c){s=t[o](s),i(a,c,s.done,s.value)})}}function i(o,s,a,c){Promise.resolve(c).then(function(l){o({value:l,done:a})},s)}}var Ir=t=>t&&typeof t.length=="number"&&typeof t!="function";function ts(t){return T(t?.then)}function ns(t){return T(t[_r])}function rs(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function is(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function O_(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var os=O_();function ss(t){return T(t?.[os])}function as(t){return Ph(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:i}=yield Pn(r.read());if(i)return yield Pn(void 0);yield yield Pn(n)}}finally{r.releaseLock()}})}function cs(t){return T(t?.getReader)}function W(t){if(t instanceof R)return t;if(t!=null){if(ns(t))return F_(t);if(Ir(t))return P_(t);if(ts(t))return k_(t);if(rs(t))return Lh(t);if(ss(t))return L_(t);if(cs(t))return j_(t)}throw is(t)}function F_(t){return new R(e=>{let r=t[_r]();if(T(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function P_(t){return new R(e=>{for(let r=0;r{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Go)})}function L_(t){return new R(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Lh(t){return new R(e=>{V_(t,e).catch(r=>e.error(r))})}function j_(t){return Lh(as(t))}function V_(t,e){var r,n,i,o;return Fh(this,void 0,void 0,function*(){try{for(r=kh(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function Ne(t,e,r,n=0,i=!1){let o=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(o),!i)return o}function ls(t,e=0){return M((r,n)=>{r.subscribe(A(n,i=>Ne(n,t,()=>n.next(i),e),()=>Ne(n,t,()=>n.complete(),e),i=>Ne(n,t,()=>n.error(i),e)))})}function us(t,e=0){return M((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function jh(t,e){return W(t).pipe(us(e),ls(e))}function Vh(t,e){return W(t).pipe(us(e),ls(e))}function Bh(t,e){return new R(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function $h(t,e){return new R(r=>{let n;return Ne(r,e,()=>{n=t[os](),Ne(r,e,()=>{let i,o;try{({value:i,done:o}=n.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>T(n?.return)&&n.return()})}function ds(t,e){if(!t)throw new Error("Iterable cannot be null");return new R(r=>{Ne(r,e,()=>{let n=t[Symbol.asyncIterator]();Ne(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Uh(t,e){return ds(as(t),e)}function Hh(t,e){if(t!=null){if(ns(t))return jh(t,e);if(Ir(t))return Bh(t,e);if(ts(t))return Vh(t,e);if(rs(t))return ds(t,e);if(ss(t))return $h(t,e);if(cs(t))return Uh(t,e)}throw is(t)}function ee(t,e){return e?Hh(t,e):W(t)}function C(...t){let e=bt(t);return ee(t,e)}function Gt(t,e){let r=T(t)?t:()=>t,n=i=>i.error(r());return new R(e?i=>e.schedule(n,0,i):n)}function Di(t){return!!t&&(t instanceof R||T(t.lift)&&T(t.subscribe))}var at=yr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function B_(t,e){let r=typeof e=="object";return new Promise((n,i)=>{let o=new st({next:s=>{n(s),o.unsubscribe()},error:i,complete:()=>{r?n(e.defaultValue):i(new at)}});t.subscribe(o)})}function zh(t){return t instanceof Date&&!isNaN(t)}function O(t,e){return M((r,n)=>{let i=0;r.subscribe(A(n,o=>{n.next(t.call(e,o,i++))}))})}var{isArray:$_}=Array;function U_(t,e){return $_(e)?t(...e):t(e)}function Sr(t){return O(e=>U_(t,e))}var{isArray:H_}=Array,{getPrototypeOf:z_,prototype:W_,keys:q_}=Object;function fs(t){if(t.length===1){let e=t[0];if(H_(e))return{args:e,keys:null};if(G_(e)){let r=q_(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function G_(t){return t&&typeof t=="object"&&z_(t)===W_}function hs(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function kn(...t){let e=bt(t),r=es(t),{args:n,keys:i}=fs(t);if(n.length===0)return ee([],e);let o=new R(K_(n,e,i?s=>hs(i,s):we));return r?o.pipe(Sr(r)):o}function K_(t,e,r=we){return n=>{Wh(e,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let c=0;c{let l=ee(t[c],e),u=!1;l.subscribe(A(n,d=>{o[c]=d,u||(u=!0,a--),a||n.next(r(o.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Wh(t,e,r){t?Ne(r,t,e):e()}function qh(t,e,r,n,i,o,s,a){let c=[],l=0,u=0,d=!1,f=()=>{d&&!c.length&&!l&&e.complete()},h=g=>l{o&&e.next(g),l++;let _=!1;W(r(g,u++)).subscribe(A(e,b=>{i?.(b),o?h(b):e.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;c.length&&lm(b)):m(b)}f()}catch(b){e.error(b)}}))};return t.subscribe(A(e,h,()=>{d=!0,f()})),()=>{a?.()}}function te(t,e,r=1/0){return T(e)?te((n,i)=>O((o,s)=>e(n,o,i,s))(W(t(n,i))),r):(typeof e=="number"&&(r=e),M((n,i)=>qh(n,i,t,r)))}function _t(t=1/0){return te(we,t)}function Gh(){return _t(1)}function Ge(...t){return Gh()(ee(t,bt(t)))}function ps(t){return new R(e=>{W(t()).subscribe(e)})}function Jc(...t){let e=es(t),{args:r,keys:n}=fs(t),i=new R(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||o.next(n?hs(n,a):a),o.complete())}))}});return e?i.pipe(Sr(e)):i}var Z_=["addListener","removeListener"],Q_=["addEventListener","removeEventListener"],Y_=["on","off"];function Ei(t,e,r,n){if(T(r)&&(n=r,r=void 0),n)return Ei(t,e,r).pipe(Sr(n));let[i,o]=ew(t)?Q_.map(s=>a=>t[s](e,a,r)):X_(t)?Z_.map(Kh(t,e)):J_(t)?Y_.map(Kh(t,e)):[];if(!i&&Ir(t))return te(s=>Ei(s,e,r))(W(t));if(!i)throw new TypeError("Invalid event target");return new R(s=>{let a=(...c)=>s.next(1o(a)})}function Kh(t,e){return r=>n=>t[r](e,n)}function X_(t){return T(t.addListener)&&T(t.removeListener)}function J_(t){return T(t.on)&&T(t.off)}function ew(t){return T(t.addEventListener)&&T(t.removeEventListener)}function Ci(t=0,e,r=Rh){let n=-1;return e!=null&&(Jo(e)?r=e:n=e),new R(i=>{let o=zh(t)?+t-r.now():t;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},o)})}function el(...t){let e=bt(t),r=Nh(t,1/0),n=t;return n.length?n.length===1?W(n[0]):_t(r)(ee(n,e)):Re}var tw=new R(Wt);function fe(t,e){return M((r,n)=>{let i=0;r.subscribe(A(n,o=>t.call(e,o,i++)&&n.next(o)))})}function Zh(t){return M((e,r)=>{let n=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let l=i;i=null,r.next(l)}s&&r.complete()},c=()=>{o=null,s&&r.complete()};e.subscribe(A(r,l=>{n=!0,i=l,o||W(t(l)).subscribe(o=A(r,a,c))},()=>{s=!0,(!n||!o||o.closed)&&r.complete()}))})}function ms(t,e=Fn){return Zh(()=>Ci(t,e))}function nw(t,e=null){return e=e??t,M((r,n)=>{let i=[],o=0;r.subscribe(A(n,s=>{let a=null;o++%e===0&&i.push([]);for(let c of i)c.push(s),t<=c.length&&(a=a??[],a.push(c));if(a)for(let c of a)zt(i,c),n.next(c)},()=>{for(let s of i)n.next(s);n.complete()},void 0,()=>{i=null}))})}function Ke(t){return M((e,r)=>{let n=null,i=!1,o;n=e.subscribe(A(r,void 0,void 0,s=>{o=W(t(s,Ke(t)(e))),n?(n.unsubscribe(),n=null,o.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,o.subscribe(r))})}function Qh(t,e,r,n,i){return(o,s)=>{let a=r,c=e,l=0;o.subscribe(A(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),n&&s.next(c)},i&&(()=>{a&&s.next(c),s.complete()})))}}function Kt(t,e){return T(e)?te(t,e,1):te(t,1)}function Yh(t){return new R(e=>t.subscribe(e))}var rw={connector:()=>new z};function gs(t,e=rw){let{connector:r}=e;return M((n,i)=>{let o=r();W(t(Yh(o))).subscribe(i),i.add(n.subscribe(o))})}function dn(t,e=Fn){return M((r,n)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let l=o;o=null,n.next(l)}};function c(){let l=s+t,u=e.now();if(u{o=l,s=e.now(),i||(i=e.schedule(c,t),n.add(i))},()=>{a(),n.complete()},void 0,()=>{o=i=null}))})}function fn(t){return M((e,r)=>{let n=!1;e.subscribe(A(r,i=>{n=!0,r.next(i)},()=>{n||r.next(t),r.complete()}))})}function ve(t){return t<=0?()=>Re:M((e,r)=>{let n=0;e.subscribe(A(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function tl(){return M((t,e)=>{t.subscribe(A(e,Wt))})}function Ii(t){return O(()=>t)}function nl(t,e){return e?r=>Ge(e.pipe(ve(1),tl()),r.pipe(nl(t))):te((r,n)=>W(t(r,n)).pipe(ve(1),Ii(r)))}function iw(t,e=Fn){let r=Ci(t,e);return nl(()=>r)}function Ln(t,e=we){return t=t??ow,M((r,n)=>{let i,o=!0;r.subscribe(A(n,s=>{let a=e(s);(o||!t(i,a))&&(o=!1,i=a,n.next(s))}))})}function ow(t,e){return t===e}function ys(t=sw){return M((e,r)=>{let n=!1;e.subscribe(A(r,i=>{n=!0,r.next(i)},()=>n?r.complete():r.error(t())))})}function sw(){return new at}function aw(...t){return e=>Ge(e,C(...t))}function rl(t,e){return e?r=>r.pipe(rl((n,i)=>W(t(n,i)).pipe(O((o,s)=>e(n,o,i,s))))):M((r,n)=>{let i=0,o=null,s=!1;r.subscribe(A(n,a=>{o||(o=A(n,void 0,()=>{o=null,s&&n.complete()}),W(t(a,i++)).subscribe(o))},()=>{s=!0,!o&&n.complete()}))})}function cw(){return rl(we)}function wt(t){return M((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Ze(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):we,ve(1),r?fn(e):ys(()=>new at))}function Tr(t){return t<=0?()=>Re:M((e,r)=>{let n=[];e.subscribe(A(r,i=>{n.push(i),t{for(let i of n)r.next(i);r.complete()},void 0,()=>{n=null}))})}function il(t,e){let r=arguments.length>=2;return n=>n.pipe(t?fe((i,o)=>t(i,o,n)):we,Tr(1),r?fn(e):ys(()=>new at))}function Xh(t,e){let r=T(t)?t:()=>t;return T(e)?gs(e,{connector:r}):n=>new qt(n,r)}function Jh(){return M((t,e)=>{let r,n=!1;t.subscribe(A(e,i=>{let o=r;r=i,n&&e.next([o,i]),n=!0}))})}function lw(t){return t?e=>gs(t)(e):e=>Xh(new z)(e)}function ol(t,e){return M(Qh(t,e,arguments.length>=2,!0))}function hn(t={}){let{connector:e=()=>new z,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,c,l=0,u=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,u=d=!1},m=()=>{let g=s;h(),g?.unsubscribe()};return M((g,_)=>{l++,!d&&!u&&f();let b=c=c??e();_.add(()=>{l--,l===0&&!d&&!u&&(a=sl(m,i))}),b.subscribe(_),!s&&l>0&&(s=new st({next:k=>b.next(k),error:k=>{d=!0,f(),a=sl(h,r,k),b.error(k)},complete:()=>{u=!0,f(),a=sl(h,n),b.complete()}}),W(g).subscribe(s))})(o)}}function sl(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new st({next:()=>{n.unsubscribe(),t()}});return W(e(...r)).subscribe(n)}function ep(t,e,r){let n,i=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=t:n=t??1/0,hn({connector:()=>new bi(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Mr(t){return fe((e,r)=>t<=r)}function Zt(...t){let e=bt(t);return M((r,n)=>{(e?Ge(t,r,e):Ge(t,r)).subscribe(n)})}function De(t,e){return M((r,n)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&n.complete();r.subscribe(A(n,c=>{i?.unsubscribe();let l=0,u=o++;W(t(c,u)).subscribe(i=A(n,d=>n.next(e?e(c,d,u,l++):d),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function jn(t){return M((e,r)=>{W(t).subscribe(A(r,()=>r.complete(),Wt)),!r.closed&&e.subscribe(r)})}function uw(t,e=!1){return M((r,n)=>{let i=0;r.subscribe(A(n,o=>{let s=t(o,i++);(s||e)&&n.next(o),!s&&n.complete()}))})}function ne(t,e,r){let n=T(t)||e||r?{next:t,error:e,complete:r}:t;return n?M((i,o)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;i.subscribe(A(o,c=>{var l;(l=n.next)===null||l===void 0||l.call(n,c),o.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),o.complete()},c=>{var l;a=!1,(l=n.error)===null||l===void 0||l.call(n,c),o.error(c)},()=>{var c,l;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(l=n.finalize)===null||l===void 0||l.call(n)}))}):we}function J(t){for(let e in t)if(t[e]===J)return e;throw Error("Could not find renamed property on target object.")}function vs(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function Se(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Se).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` +`);return r===-1?e:e.substring(0,r)}function El(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var dw=J({__forward_ref__:J});function Up(t){return t.__forward_ref__=Up,t.toString=function(){return Se(this())},t}function Ee(t){return Hp(t)?t():t}function Hp(t){return typeof t=="function"&&t.hasOwnProperty(dw)&&t.__forward_ref__===Up}function zp(t){return t&&!!t.\u0275providers}var Wp="https://g.co/ng/security#xss",y=class extends Error{constructor(e,r){super(Cu(e,r)),this.code=e}};function Cu(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function Pr(t){return typeof t=="string"?t:t==null?"":String(t)}function fw(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Pr(t)}function hw(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new y(-200,`Circular dependency in DI detected for ${t}${r}`)}function Iu(t,e){let r=e?` in ${e}`:"";throw new y(-201,!1)}function pw(t,e){t==null&&mw(e,t,null,"!=")}function mw(t,e,r,n){throw new Error(`ASSERTION ERROR: ${t}`+(n==null?"":` [Expected=> ${r} ${n} ${e} <=Actual]`))}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function G(t){return{providers:t.providers||[],imports:t.imports||[]}}function sa(t){return tp(t,Gp)||tp(t,Kp)}function qp(t){return sa(t)!==null}function tp(t,e){return t.hasOwnProperty(e)?t[e]:null}function gw(t){let e=t&&(t[Gp]||t[Kp]);return e||null}function np(t){return t&&(t.hasOwnProperty(rp)||t.hasOwnProperty(yw))?t[rp]:null}var Gp=J({\u0275prov:J}),rp=J({\u0275inj:J}),Kp=J({ngInjectableDef:J}),yw=J({ngInjectorDef:J}),N=(()=>(N=N||{},N[N.Default=0]="Default",N[N.Host=1]="Host",N[N.Self=2]="Self",N[N.SkipSelf=4]="SkipSelf",N[N.Optional=8]="Optional",N))(),Cl;function Zp(){return Cl}function Qe(t){let e=Cl;return Cl=t,e}function Qp(t,e,r){let n=sa(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&N.Optional)return null;if(e!==void 0)return e;Iu(Se(t),"Injector")}var Ce=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();var vw={},Ai=vw,Il="__NG_DI_FLAG__",Ls="ngTempTokenPath",bw="ngTokenPath",_w=/\n/gm,ww="\u0275",ip="__source",Or;function Dw(){return Or}function Ar(t){let e=Or;return Or=t,e}function Ew(t,e=N.Default){if(Or===void 0)throw new y(-203,!1);return Or===null?Qp(t,void 0,e):Or.get(t,e&N.Optional?null:void 0,e)}function p(t,e=N.Default){return(Zp()||Ew)(Ee(t),e)}function w(t,e=N.Default){return p(t,aa(e))}function aa(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Sl(t){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Se(a)))}i=`{${o.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(_w,` - `)}`}function Ui(t){return{toString:t}.toString()}var pn=(()=>(pn=pn||{},pn[pn.OnPush=0]="OnPush",pn[pn.Default=1]="Default",pn))(),Fe=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Fe||(Fe={})),Fe))(),Qt={},Oe=[],Tw=J({\u0275cmp:J}),Mw=J({\u0275dir:J}),Aw=J({\u0275pipe:J}),xw=J({\u0275mod:J}),js=J({\u0275fac:J}),Mi=J({__NG_ELEMENT_ID__:J}),op=J({__NG_ENV_ID__:J});function Xp(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function Tl(t,e,r){let n=0;for(;ne){s=o-1;break}}}for(;oo?f="":f=i[d+1].toLowerCase();let h=n&8?f:null;if(h&&Xp(h,l,0)!==-1||n&2&&l!==f){if(ct(n))return!1;s=!0}}}}return ct(n)||s}function ct(t){return(t&1)===0}function Pw(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!ct(s)&&(e+=ap(o,i),i=""),n=s,o=o||!ct(n);r++}return i!==""&&(e+=ap(o,i)),e}function $w(t){return t.map(Bw).join(",")}function Uw(t){let e=[],r=[],n=1,i=2;for(;n{let e=am(t),r=me(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===pn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Fe.Emulated,styles:t.styles||Oe,_:null,schemas:t.schemas||null,tView:null,id:""});cm(r);let n=t.dependencies;return r.directiveDefs=lp(n,!1),r.pipeDefs=lp(n,!0),r.id=Ww(r),r})}function Hw(t){return gn(t)||Su(t)}function zw(t){return t!==null}function K(t){return Ui(()=>({type:t.type,bootstrap:t.bootstrap||Oe,declarations:t.declarations||Oe,imports:t.imports||Oe,exports:t.exports||Oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function cp(t,e){if(t==null)return Qt;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),r[i]=n,e&&(e[i]=o)}return r}function le(t){return Ui(()=>{let e=am(t);return cm(e),e})}function rm(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 gn(t){return t[Tw]||null}function Su(t){return t[Mw]||null}function im(t){return t[Aw]||null}function om(t){let e=gn(t)||Su(t)||im(t);return e!==null?e.standalone:!1}function sm(t,e){let r=t[xw]||null;if(!r&&e===!0)throw new Error(`Type ${Se(t)} does not have '\u0275mod' property.`);return r}function am(t){let e={};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:e,inputTransforms:null,inputConfig:t.inputs||Qt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Oe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cp(t.inputs,e),outputs:cp(t.outputs)}}function cm(t){t.features?.forEach(e=>e(t))}function lp(t,e){if(!t)return null;let r=e?im:Hw;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(zw)}function Ww(t){let e=0,r=[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 r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var Nt=0,V=1,U=2,he=3,ut=4,Ti=5,je=6,Ni=7,Ye=8,kr=9,$n=10,re=11,Oi=12,up=13,Hr=14,dt=15,Hi=16,xr=17,St=18,ca=19,lm=20,mn=21,Vs=22,Ms=23,As=24,Pe=25;var Tu=1,um=2,Un=7,Bs=8,Lr=9;var Le=11;function Vn(t){return Array.isArray(t)&&typeof t[Tu]=="object"}function en(t){return Array.isArray(t)&&t[Tu]===!0}function Mu(t){return(t.flags&4)!==0}function la(t){return t.componentOffset>-1}function ua(t){return(t.flags&1)===1}function Yt(t){return!!t.template}function qw(t){return(t[U]&512)!==0}function Hn(t,e){let r=t.hasOwnProperty(js);return r?t[js]:null}var Gw=Symbol("SIGNAL");function Au(t,e,r={}){return e[Gw]=t,Object.assign(e,r)}function dm(t,e){return(t===null||typeof t!="object")&&Object.is(t,e)}var Ml=class{constructor(e){this.ref=e}deref(){return this.ref}},Kw=Ce.WeakRef??Ml;function Zw(t){return new Kw(t)}var Qw=0,Et=null,bs=!1;function be(t){let e=Et;return Et=t,e}var jr=class{constructor(){this.id=Qw++,this.ref=Zw(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(let[e,r]of this.producers){let n=r.producerNode.deref();if(n===void 0||r.atTrackingVersion!==this.trackingVersion){this.producers.delete(e),n?.consumers.delete(this.id);continue}if(n.producerPollStatus(r.seenValueVersion))return!0}return!1}producerMayHaveChanged(){let e=bs;bs=!0;try{for(let[r,n]of this.consumers){let i=n.consumerNode.deref();if(i===void 0||i.trackingVersion!==n.atTrackingVersion){this.consumers.delete(r),i?.producers.delete(this.id);continue}i.onConsumerDependencyMayHaveChanged()}}finally{bs=e}}producerAccessed(){if(bs)throw new Error("");if(Et===null)return;let e=Et.producers.get(this.id);e===void 0?(e={consumerNode:Et.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Et.trackingVersion},Et.producers.set(this.id,e),this.consumers.set(Et.id,e)):(e.seenValueVersion=this.valueVersion,e.atTrackingVersion=Et.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return Et?.consumerAllowSignalWrites!==!1}producerPollStatus(e){return this.valueVersion!==e?!0:(this.onProducerUpdateValueVersion(),this.valueVersion!==e)}};function GV(t,e){let r=new Al(t,e?.equal??dm);return Au(r,r.signal.bind(r))}var al=Symbol("UNSET"),cl=Symbol("COMPUTING"),_s=Symbol("ERRORED"),Al=class extends jr{constructor(e,r){super(),this.computation=e,this.equal=r,this.value=al,this.error=null,this.stale=!0,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}onProducerUpdateValueVersion(){if(this.stale){if(this.value!==al&&this.value!==cl&&!this.consumerPollProducersForChange()){this.stale=!1;return}this.recomputeValue()}}recomputeValue(){if(this.value===cl)throw new Error("Detected cycle in computations.");let e=this.value;this.value=cl,this.trackingVersion++;let r=be(this),n;try{n=this.computation()}catch(i){n=_s,this.error=i}finally{be(r)}if(this.stale=!1,e!==al&&e!==_s&&n!==_s&&this.equal(e,n)){this.value=e;return}this.value=n,this.valueVersion++}signal(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===_s)throw this.error;return this.value}};function Yw(){throw new Error}var fm=Yw;function ll(){fm()}function Xw(t){fm=t}var dp=null,xl=class extends jr{constructor(e,r){super(),this.value=e,this.equal=r,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){}onProducerUpdateValueVersion(){}set(e){this.producerUpdatesAllowed||ll(),this.equal(this.value,e)||(this.value=e,this.valueVersion++,this.producerMayHaveChanged(),dp?.())}update(e){this.producerUpdatesAllowed||ll(),this.set(e(this.value))}mutate(e){this.producerUpdatesAllowed||ll(),e(this.value),this.valueVersion++,this.producerMayHaveChanged(),dp?.()}asReadonly(){return this.readonlySignal===void 0&&(this.readonlySignal=Au(this,()=>this.signal())),this.readonlySignal}signal(){return this.producerAccessed(),this.value}};function KV(t,e){let r=new xl(t,e?.equal??dm);return Au(r,r.signal.bind(r),{set:r.set.bind(r),update:r.update.bind(r),mutate:r.mutate.bind(r),asReadonly:r.asReadonly.bind(r)})}function xu(t){let e=be(null);try{return t()}finally{be(e)}}var fp=()=>{},Rl=class extends jr{constructor(e,r,n){super(),this.watch=e,this.schedule=r,this.dirty=!1,this.cleanupFn=fp,this.registerOnCleanup=i=>{this.cleanupFn=i},this.consumerAllowSignalWrites=n}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,this.trackingVersion!==0&&!this.consumerPollProducersForChange())return;let e=be(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=fp,this.watch(this.registerOnCleanup)}finally{be(e)}}cleanup(){this.cleanupFn()}},Nl=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Ot(){return hm}function hm(t){return t.type.prototype.ngOnChanges&&(t.setInput=eD),Jw}Ot.ngInherit=!0;function Jw(){let t=mm(this),e=t?.current;if(e){let r=t.previous;if(r===Qt)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function eD(t,e,r,n){let i=this.declaredInputs[r],o=mm(t)||tD(t,{previous:Qt,current:null}),s=o.current||(o.current={}),a=o.previous,c=a[i];s[i]=new Nl(c&&c.currentValue,e,a===Qt),t[n]=e}var pm="__ngSimpleChanges__";function mm(t){return t[pm]||null}function tD(t,e){return t[pm]=e}var hp=null;var Ct=function(t,e,r){hp?.(t,e,r)},gm="svg",nD="math";function Tt(t){for(;Array.isArray(t);)t=t[Nt];return t}function rD(t){for(;Array.isArray(t);){if(typeof t[Tu]=="object")return t;t=t[Nt]}return null}function ym(t,e){return Tt(e[t])}function Xe(t,e){return Tt(e[t.index])}function vm(t,e){return t.data[e]}function Ru(t,e){return t[e]}function bn(t,e){let r=e[t];return Vn(r)?r:r[Nt]}function iD(t){return(t[U]&4)===4}function oD(t){return(t[U]&128)===128}function sD(t){return en(t[he])}function Vr(t,e){return e==null?null:t[e]}function bm(t){t[xr]=0}function aD(t){t[U]&1024||(t[U]|=1024,wm(t,1))}function _m(t){t[U]&1024&&(t[U]&=-1025,wm(t,-1))}function wm(t,e){let r=t[he];if(r===null)return;r[Ti]+=e;let n=r;for(r=r[he];r!==null&&(e===1&&n[Ti]===1||e===-1&&n[Ti]===0);)r[Ti]+=e,n=r,r=r[he]}function Dm(t,e){if((t[U]&256)===256)throw new y(911,!1);t[mn]===null&&(t[mn]=[]),t[mn].push(e)}function cD(t,e){if(t[mn]===null)return;let r=t[mn].indexOf(e);r!==-1&&t[mn].splice(r,1)}var B={lFrame:Am(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function lD(){return B.lFrame.elementDepthCount}function uD(){B.lFrame.elementDepthCount++}function dD(){B.lFrame.elementDepthCount--}function Em(){return B.bindingsEnabled}function Cm(){return B.skipHydrationRootTNode!==null}function fD(t){return B.skipHydrationRootTNode===t}function hD(){B.skipHydrationRootTNode=null}function j(){return B.lFrame.lView}function oe(){return B.lFrame.tView}function ZV(t){return B.lFrame.contextLView=t,t[Ye]}function QV(t){return B.lFrame.contextLView=null,t}function Te(){let t=Im();for(;t!==null&&t.type===64;)t=t.parent;return t}function Im(){return B.lFrame.currentTNode}function pD(){let t=B.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Qn(t,e){let r=B.lFrame;r.currentTNode=t,r.isParent=e}function Nu(){return B.lFrame.isParent}function Ou(){B.lFrame.isParent=!1}function mD(){return B.lFrame.contextLView}function zi(){let t=B.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function gD(){return B.lFrame.bindingIndex}function yD(t){return B.lFrame.bindingIndex=t}function Wi(){return B.lFrame.bindingIndex++}function Fu(t){let e=B.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function vD(){return B.lFrame.inI18n}function bD(t,e){let r=B.lFrame;r.bindingIndex=r.bindingRootIndex=t,Ol(e)}function _D(){return B.lFrame.currentDirectiveIndex}function Ol(t){B.lFrame.currentDirectiveIndex=t}function Pu(t){let e=B.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Sm(){return B.lFrame.currentQueryIndex}function ku(t){B.lFrame.currentQueryIndex=t}function wD(t){let e=t[V];return e.type===2?e.declTNode:e.type===1?t[je]:null}function Tm(t,e,r){if(r&N.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&N.Host);)if(i=wD(o),i===null||(o=o[Hr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=B.lFrame=Mm();return n.currentTNode=e,n.lView=t,!0}function Lu(t){let e=Mm(),r=t[V];B.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Mm(){let t=B.lFrame,e=t===null?null:t.child;return e===null?Am(t):e}function Am(t){let e={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=e),e}function xm(){let t=B.lFrame;return B.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Rm=xm;function ju(){let t=xm();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 DD(t){return(B.lFrame.contextLView=ED(t,B.lFrame.contextLView))[Ye]}function ED(t,e){for(;t>0;)e=e[Hr],t--;return e}function Yn(){return B.lFrame.selectedIndex}function zn(t){B.lFrame.selectedIndex=t}function zr(){let t=B.lFrame;return vm(t.tView,t.selectedIndex)}function YV(){B.lFrame.currentNamespace=gm}function XV(){CD()}function CD(){B.lFrame.currentNamespace=null}function ID(){return B.lFrame.currentNamespace}var Nm=!0;function da(){return Nm}function fa(t){Nm=t}function SD(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=hm(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function ha(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[xr]+=65536),(a>13>16&&(t[U]&3)===e&&(t[U]+=8192,pp(a,o)):pp(a,o)}var Fr=-1,Wn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function MD(t){return t instanceof Wn}function AD(t){return(t.flags&8)!==0}function xD(t){return(t.flags&16)!==0}function Fm(t){return t!==Fr}function $s(t){let e=t&32767;return t&32767}function RD(t){return t>>16}function Us(t,e){let r=RD(t),n=e;for(;r>0;)n=n[Hr],r--;return n}var Fl=!0;function Hs(t){let e=Fl;return Fl=t,e}var ND=256,Pm=ND-1,km=5,OD=0,It={};function FD(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Mi)&&(n=r[Mi]),n==null&&(n=r[Mi]=OD++);let i=n&Pm,o=1<>km)]|=o}function zs(t,e){let r=Lm(t,e);if(r!==-1)return r;let n=e[V];n.firstCreatePass&&(t.injectorIndex=e.length,dl(n.data,t),dl(e,null),dl(n.blueprint,null));let i=Vu(t,e),o=t.injectorIndex;if(Fm(i)){let s=$s(i),a=Us(i,e),c=a[V].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|c[s+l]}return e[o+8]=i,o}function dl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Lm(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Vu(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Um(i),n===null)return Fr;if(r++,i=i[Hr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Fr}function Pl(t,e,r){FD(t,e,r)}function PD(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+u,f=i?a+u:l;for(let h=d;h=c&&m.type===r)return h}if(i){let h=s[c];if(h&&Yt(h)&&h.type===r)return c}return null}function qn(t,e,r,n){let i=t[r],o=e.data;if(MD(i)){let s=i;s.resolving&&hw(fw(o[r]));let a=Hs(s.canSeeViewProviders);s.resolving=!0;let c=s.injectImpl?Qe(s.injectImpl):null,l=Tm(t,n,N.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&SD(r,o[r],e)}finally{c!==null&&Qe(c),Hs(a),s.resolving=!1,Rm()}}return i}function LD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Mi)?t[Mi]:void 0;return typeof e=="number"?e>=0?e&Pm:jD:e}function mp(t,e,r){let n=1<>km)]&n)}function gp(t,e){return!(t&N.Self)&&!(t&N.Host&&e)}var Bn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Bm(this._tNode,this._lView,e,aa(n),r)}};function jD(){return new Bn(Te(),j())}function Bu(t){return Ui(()=>{let e=t.prototype.constructor,r=e[js]||kl(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[js]||kl(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function kl(t){return Hp(t)?()=>{let e=kl(Ee(t));return e&&e()}:Hn(t)}function VD(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[U]&2048&&!(s[U]&512);){let a=$m(o,s,r,n|N.Self,It);if(a!==It)return a;let c=o.parent;if(!c){let l=s[lm];if(l){let u=l.get(r,It,n);if(u!==It)return u}c=Um(s),s=s[Hr]}o=c}return i}function Um(t){let e=t[V],r=e.type;return r===2?e.declTNode:r===1?t[je]:null}function qi(t){return PD(Te(),t)}var ws="__parameters__";function BD(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Hm(t,e,r){return Ui(()=>{let n=BD(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(ws)?c[ws]:Object.defineProperty(c,ws,{value:[]})[ws];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function $D(t){let e=Ce.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function UD(t){return typeof t=="function"}function HD(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?$u(r,e):e(r))}function zm(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Ws(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Wm(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function pa(t,e,r){let n=Gi(t,e);return n>=0?t[n|1]=r:(n=~n,WD(t,n,e,r)),n}function fl(t,e){let r=Gi(t,e);if(r>=0)return t[r|1]}function Gi(t,e){return qD(t,e,1)}function qD(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(d=>{i.template=d}));let a=i.styleUrls,c=i.styles||(i.styles=[]),l=i.styles.length;a&&a.forEach((d,f)=>{c.push(""),s.push(n(d).then(h=>{c[l+f]=h,a.splice(a.indexOf(d),1),a.length==0&&(i.styleUrls=void 0)}))});let u=Promise.all(s).then(()=>XD(o));e.push(u)}),ZD(),Promise.all(e).then(()=>{})}var qs=new Map,KD=new Set;function ZD(){let t=qs;return qs=new Map,t}function QD(){return qs.size===0}function YD(t){return typeof t=="string"?t:t.text()}function XD(t){KD.delete(t)}function Ll(t){return(t.flags&128)===128}var Me=(()=>(Me=Me||{},Me[Me.Important=1]="Important",Me[Me.DashCase=2]="DashCase",Me))(),JD=/^>|^->||--!>|)/,tE="\u200B$1\u200B";function nE(t){return t.replace(JD,e=>e.replace(eE,tE))}var qm=new Map,rE=0;function iE(){return rE++}function oE(t){qm.set(t[ca],t)}function sE(t){qm.delete(t[ca])}var yp="__ngContext__";function yn(t,e){Vn(e)?(t[yp]=e[ca],oE(e)):t[yp]=e}var aE;function Uu(t,e){return aE(t,e)}function Hu(t){let e=t[he];return en(e)?e[he]:e}function Gm(t){return Zm(t[Oi])}function Km(t){return Zm(t[ut])}function Zm(t){for(;t!==null&&!en(t);)t=t[ut];return t}function Rr(t,e,r,n,i){if(n!=null){let o,s=!1;en(n)?o=n:Vn(n)&&(s=!0,n=n[Nt]);let a=Tt(n);t===0&&r!==null?i==null?eg(e,r,a):Gs(e,r,a,i||null,!0):t===1&&r!==null?Gs(e,r,a,i||null,!0):t===2?CE(e,a,s):t===3&&e.destroyNode(a),o!=null&&SE(e,t,o,r,i)}}function cE(t,e){return t.createText(e)}function lE(t,e,r){t.setValue(e,r)}function uE(t,e){return t.createComment(nE(e))}function Qm(t,e,r){return t.createElement(e,r)}function dE(t,e){let r=e[re];Zi(t,e,r,2,null,null),e[Nt]=null,e[je]=null}function fE(t,e,r,n,i,o){n[Nt]=i,n[je]=e,Zi(t,n,r,1,i,o)}function hE(t,e){Zi(t,e,e[re],2,null,null)}function pE(t){let e=t[Oi];if(!e)return hl(t[V],t);for(;e;){let r=null;if(Vn(e))r=e[Oi];else{let n=e[Le];n&&(r=n)}if(!r){for(;e&&!e[ut]&&e!==t;)Vn(e)&&hl(e[V],e),e=e[he];e===null&&(e=t),Vn(e)&&hl(e[V],e),r=e&&e[ut]}e=r}}function mE(t,e,r,n){let i=Le+n,o=r.length;n>0&&(r[i-1][ut]=e),n0&&(t[r-1][ut]=n[ut]);let o=Ws(t,Le+e);dE(n[V],n);let s=o[St];s!==null&&s.detachView(o[V]),n[he]=null,n[ut]=null,n[U]&=-129}return n}function Xm(t,e){if(!(e[U]&256)){let r=e[re];e[Ms]?.destroy(),e[As]?.destroy(),r.destroyNode&&Zi(t,e,r,3,null,null),pE(e)}}function hl(t,e){if(!(e[U]&256)){e[U]&=-129,e[U]|=256,vE(t,e),yE(t,e),e[V].type===1&&e[re].destroy();let r=e[Hi];if(r!==null&&en(e[he])){r!==e[he]&&Ym(r,e);let n=e[St];n!==null&&n.detachView(t)}sE(e)}}function yE(t,e){let r=t.cleanup,n=e[Ni];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Ni]=null);let i=e[mn];if(i!==null){e[mn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Fe.None||o===Fe.Emulated)return null}return Xe(n,r)}}function Gs(t,e,r,n,i){t.insertBefore(e,r,n,i)}function eg(t,e,r){t.appendChild(e,r)}function vp(t,e,r,n,i){n!==null?Gs(t,e,r,n,i):eg(t,e,r)}function _E(t,e,r,n){t.removeChild(e,r,n)}function zu(t,e){return t.parentNode(e)}function wE(t,e){return t.nextSibling(e)}function tg(t,e,r){return EE(t,e,r)}function DE(t,e,r){return t.type&40?Xe(t,r):null}var EE=DE,bp;function ma(t,e,r,n){let i=Jm(t,n,e),o=e[re],s=n.parent||e[je],a=tg(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ds}function ga(t){return AE()?.createHTML(t)||t}var Bl;function sg(t){Bl=t}function xE(){if(Bl!==void 0)return Bl;if(typeof document<"u")return document;throw new y(210,!1)}var Es;function RE(){if(Es===void 0&&(Es=null,Ce.trustedTypes))try{Es=Ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Es}function _p(t){return RE()?.createScriptURL(t)||t}var Xt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wp})`}},$l=class extends Xt{getTypeName(){return"HTML"}},Ul=class extends Xt{getTypeName(){return"Style"}},Hl=class extends Xt{getTypeName(){return"Script"}},zl=class extends Xt{getTypeName(){return"URL"}},Wl=class extends Xt{getTypeName(){return"ResourceURL"}};function Ft(t){return t instanceof Xt?t.changingThisBreaksApplicationSecurity:t}function _n(t,e){let r=NE(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Wp})`)}return r===e}function NE(t){return t instanceof Xt&&t.getTypeName()||null}function ag(t){return new $l(t)}function cg(t){return new Ul(t)}function lg(t){return new Hl(t)}function ug(t){return new zl(t)}function dg(t){return new Wl(t)}function OE(t){let e=new Gl(t);return FE()?new ql(e):e}var ql=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(ga(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Gl=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=ga(e),r}};function FE(){try{return!!new window.DOMParser().parseFromString(ga(""),"text/html")}catch{return!1}}var PE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ya(t){return t=String(t),t.match(PE)?t:"unsafe:"+t}function tn(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Qi(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var fg=tn("area,br,col,hr,img,wbr"),hg=tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pg=tn("rp,rt"),kE=Qi(pg,hg),LE=Qi(hg,tn("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")),jE=Qi(pg,tn("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")),wp=Qi(fg,LE,jE,kE),mg=tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),VE=tn("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"),BE=tn("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"),$E=Qi(mg,VE,BE),UE=tn("script,style,template"),Kl=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0;for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){r=r.firstChild;continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=this.checkClobberedElement(r,r.nextSibling);if(i){r=i;break}r=this.checkClobberedElement(r,r.parentNode)}}return this.buf.join("")}startElement(e){let r=e.nodeName.toLowerCase();if(!wp.hasOwnProperty(r))return this.sanitizedSomething=!0,!UE.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=e.nodeName.toLowerCase();wp.hasOwnProperty(r)&&!fg.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(Dp(e))}checkClobberedElement(e,r){if(r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return r}},HE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zE=/([^\#-~ |!])/g;function Dp(t){return t.replace(/&/g,"&").replace(HE,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(zE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Cs;function gg(t,e){let r=null;try{Cs=Cs||OE(t);let n=e?String(e):"";r=Cs.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=Cs.getInertBodyElement(n)}while(n!==o);let a=new Kl().sanitizeChildren(Ep(r)||r);return ga(a)}finally{if(r){let n=Ep(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Ep(t){return"content"in t&&WE(t)?t.content:null}function WE(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Q=(()=>(Q=Q||{},Q[Q.NONE=0]="NONE",Q[Q.HTML=1]="HTML",Q[Q.STYLE=2]="STYLE",Q[Q.SCRIPT=3]="SCRIPT",Q[Q.URL=4]="URL",Q[Q.RESOURCE_URL=5]="RESOURCE_URL",Q))();function qE(t){let e=vg();return e?e.sanitize(Q.URL,t)||"":_n(t,"URL")?Ft(t):ya(Pr(t))}function GE(t){let e=vg();if(e)return _p(e.sanitize(Q.RESOURCE_URL,t)||"");if(_n(t,"ResourceURL"))return _p(Ft(t));throw new y(904,!1)}function KE(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?GE:qE}function yg(t,e,r){return KE(e,r)(t)}function vg(){let t=j();return t&&t[$n].sanitizer}var E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=v({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}},Yi=new E("ENVIRONMENT_INITIALIZER"),bg=new E("INJECTOR",-1),_g=new E("INJECTOR_DEF_TYPES"),Ks=class{get(e,r=xi){if(r===xi){let n=new Error(`NullInjectorError: No provider for ${Se(e)}!`);throw n.name="NullInjectorError",n}return r}};function va(t){return{\u0275providers:t}}function ZE(...t){return{\u0275providers:wg(!0,t),\u0275fromNgModule:!0}}function wg(t,...e){let r=[],n=new Set,i;return $u(e,o=>{let s=o;Zl(s,r,[],n)&&(i||=[],i.push(s))}),i!==void 0&&Dg(i,r),r}function Dg(t,e){for(let r=0;r{e.push(o)})}}function Zl(t,e,r,n){if(t=Ee(t),!t)return!1;let i=null,o=np(t),s=!o&&gn(t);if(!o&&!s){let c=t.ngModule;if(o=np(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Zl(l,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let l;try{$u(o.imports,u=>{Zl(u,e,r,n)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Dg(l,e)}if(!a){let l=Hn(i)||(()=>new i);e.push({provide:i,useFactory:l,deps:Oe},{provide:_g,useValue:i,multi:!0},{provide:Yi,useValue:()=>p(i),multi:!0})}let c=o.providers;if(c!=null&&!a){let l=t;qu(c,u=>{e.push(u)})}}else return!1;return i!==t&&t.providers!==void 0}function qu(t,e){for(let r of t)zp(r)&&(r=r.\u0275providers),Array.isArray(r)?qu(r,e):e(r)}var QE=J({provide:String,useValue:J});function Eg(t){return t!==null&&typeof t=="object"&&QE in t}function YE(t){return!!(t&&t.useExisting)}function XE(t){return!!(t&&t.useFactory)}function Br(t){return typeof t=="function"}function JE(t){return!!t.useClass}var ba=new E("Set Injector scope."),Fs={},e0={},pl;function Gu(){return pl===void 0&&(pl=new Ks),pl}var Ae=class{},Zs=class extends Ae{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yl(e,s=>this.processProvider(s)),this.records.set(bg,Nr(void 0,this)),i.has("environment")&&this.records.set(Ae,Nr(void 0,this));let o=this.records.get(ba);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_g.multi,Oe,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;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()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Ar(this),n=Qe(void 0);try{return e()}finally{Ar(r),Qe(n)}}get(e,r=xi,n=N.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(op))return e[op](this);n=aa(n);let i=Ar(this),o=Qe(void 0);try{if(!(n&N.SkipSelf)){let a=this.records.get(e);if(a===void 0){let c=o0(e)&&sa(e);c&&this.injectableDefInScope(c)?a=Nr(Ql(e),Fs):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&N.Self?Gu():this.parent;return r=n&N.Optional&&r===xi?null:r,s.get(e,r)}catch(s){if(s.name==="NullInjectorError"){if((s[Ls]=s[Ls]||[]).unshift(Se(e)),i)throw s;return Iw(s,e,"R3InjectorError",this.source)}else throw s}finally{Qe(o),Ar(i)}}resolveInjectorInitializers(){let e=Ar(this),r=Qe(void 0);try{let n=this.get(Yi.multi,Oe,N.Self);for(let i of n)i()}finally{Ar(e),Qe(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Se(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(e){e=Ee(e);let r=Br(e)?e:Ee(e&&e.provide),n=n0(e);if(!Br(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Nr(void 0,Fs,!0),i.factory=()=>Sl(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}else{let i=this.records.get(r)}this.records.set(r,n)}hydrate(e,r){return r.value===Fs&&(r.value=e0,r.value=r.factory()),typeof r.value=="object"&&r.value&&i0(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ee(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Ql(t){let e=sa(t),r=e!==null?e.factory:Hn(t);if(r!==null)return r;if(t instanceof E)throw new y(204,!1);if(t instanceof Function)return t0(t);throw new y(204,!1)}function t0(t){let e=t.length;if(e>0){let n=Wm(e,"?");throw new y(204,!1)}let r=gw(t);return r!==null?()=>r.factory(t):()=>new t}function n0(t){if(Eg(t))return Nr(void 0,t.useValue);{let e=Cg(t);return Nr(e,Fs)}}function Cg(t,e,r){let n;if(Br(t)){let i=Ee(t);return Hn(i)||Ql(i)}else if(Eg(t))n=()=>Ee(t.useValue);else if(XE(t))n=()=>t.useFactory(...Sl(t.deps||[]));else if(YE(t))n=()=>p(Ee(t.useExisting));else{let i=Ee(t&&(t.useClass||t.provide));if(r0(t))n=()=>new i(...Sl(t.deps));else return Hn(i)||Ql(i)}return n}function Nr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function r0(t){return!!t.deps}function i0(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function o0(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function Yl(t,e){for(let r of t)Array.isArray(r)?Yl(r,e):r&&zp(r)?Yl(r.\u0275providers,e):e(r)}var Wr=new E("AppId",{providedIn:"root",factory:()=>s0}),s0="ng",Ku=new E("Platform Initializer"),Pt=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var kt=new E("AnimationModuleType"),Xi=new E("CSP nonce",{providedIn:"root",factory:()=>xE().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var a0="h",c0="b";var l0=(t,e)=>null;function Ig(t,e){return l0(t,e)}var Xl=class{},Qs=class{};function u0(t){let e=Error(`No component factory found for ${Se(t)}.`);return e[d0]=t,e}var d0="ngComponent";var Jl=class{resolveComponentFactory(e){throw u0(e)}},_a=(()=>{let e=class{},t=e;return(()=>{e.NULL=new Jl})(),t})();function f0(){return qr(Te(),j())}function qr(t,e){return new ae(Xe(t,e))}var ae=(()=>{let e=class{constructor(n){this.nativeElement=n}},t=e;return(()=>{e.__NG_ELEMENT_ID__=f0})(),t})();function h0(t){return t instanceof ae?t.nativeElement:t}var Mt=class{},Gr=(()=>{let e=class{constructor(){this.destroyNode=null}},t=e;return(()=>{e.__NG_ELEMENT_ID__=()=>p0()})(),t})();function p0(){let t=j(),e=Te(),r=bn(e.index,t);return(Vn(r)?r:t)[re]}var m0=(()=>{let e=class{},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:()=>null})})(),t})(),Gn=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},g0=new Gn("16.1.3"),ml={};function wa(t){for(;t;){t[U]|=64;let e=Hu(t);if(qw(t)&&!e)return t;t=e}return null}var y0="ngOriginalError";function gl(t){return t[y0]}var Ve=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&gl(e);for(;r&&gl(r);)r=gl(r);return r||null}};var Sg=!1,v0=new E("",{providedIn:"root",factory:()=>Sg});function Tg(t){return t instanceof Function?t():t}var Ys=class extends jr{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(e){this._lView=e}onConsumerDependencyMayHaveChanged(){wa(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(e,r,n){let i=be(this);this.trackingVersion++;try{e(r,n)}finally{be(i)}}destroy(){this.trackingVersion++}},Xs=null;function Mg(){return Xs??=new Ys,Xs}function Ag(t,e){return t[e]??Mg()}function xg(t,e){let r=Mg();r.hasReadASignal&&(t[e]=Xs,r.lView=t,Xs=new Ys)}var Be={};function Ji(t){Rg(oe(),j(),Yn()+t,!1)}function Rg(t,e,r,n){if(!n)if((e[U]&3)===3){let o=t.preOrderCheckHooks;o!==null&&xs(e,o,r)}else{let o=t.preOrderHooks;o!==null&&Rs(e,o,0,r)}zn(r)}function b0(t){if(!Zp()&&!Dw())throw new y(-203,!1)}function Cp(t,e=null,r=null,n){let i=Ng(t,e,r,n);return i.resolveInjectorInitializers(),i}function Ng(t,e=null,r=null,n,i=new Set){let o=[r||Oe,ZE(t)];return n=n||(typeof t=="object"?void 0:Se(t)),new Zs(o,e||Gu(),n||null,i)}var ft=(()=>{let e=class{static create(n,i){if(Array.isArray(n))return Cp({name:""},i,n,"");{let o=n.name??"";return Cp({name:o},n.parent,n.providers,o)}}},t=e;return(()=>{e.THROW_IF_NOT_FOUND=xi})(),(()=>{e.NULL=new Ks})(),(()=>{e.\u0275prov=v({token:e,providedIn:"any",factory:()=>p(bg)})})(),(()=>{e.__NG_ELEMENT_ID__=-1})(),t})();function S(t,e=N.Default){let r=j();if(r===null)return p(t,e);let n=Te();return Bm(n,r,Ee(t),e)}function Da(){let t="invalid";throw new Error(t)}function _0(t,e){let r=t.hostBindingOpCodes;if(r===null)return;let n=Ag(e,As);try{for(let i=0;iPe&&Rg(t,e,Pe,!1),Ct(a?2:0,i),a)o.runInContext(r,n,i);else{let l=be(null);try{r(n,i)}finally{be(l)}}}finally{a&&e[Ms]===null&&xg(e,Ms),zn(s),Ct(a?3:1,i)}}function Zu(t,e,r){if(Mu(e)){let n=be(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function S0(t,e,r,n){let i=$g(e);i.push(r),t.firstCreatePass&&Ug(t).push(n,i.length-1)}function T0(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return Cm()&&(a|=128),{type:r,index:n,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ip(t,e,r,n){for(let i in t)if(t.hasOwnProperty(i)){r=r===null?{}:r;let o=t[i];n===null?Sp(r,e,i,o):n.hasOwnProperty(i)&&Sp(r,e,n[i],o)}return r}function Sp(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function M0(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,l=null;for(let u=n;u0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function O0(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;la(r)&&B0(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||zs(r,e),yn(n,e);let s=r.initialInputs;for(let a=i;a{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=Z0})(),(()=>{e.__NG_ENV_ID__=n=>n})(),t})(),nu=class extends Wg{constructor(e){super(),this._lView=e}onDestroy(e){return Dm(this._lView,e),()=>cD(this._lView,e)}};function Z0(){return new nu(j())}var qg=(()=>{let e=class{constructor(){this.all=new Set,this.queue=new Map}create(n,i,o){let s=typeof Zone>"u"?null:Zone.current,a=new Rl(n,u=>{this.all.has(u)&&this.queue.set(u,s)},o);this.all.add(a),a.notify();let c,l=()=>{a.cleanup(),c?.(),this.all.delete(a),this.queue.delete(a)};return c=i?.onDestroy(l),{destroy:l}}flush(){if(this.queue.size!==0)for(let[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return this.queue.size===0}},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:()=>new e})})(),t})();function Q0(t,e){!e?.injector&&b0(Q0);let r=e?.injector??w(ft),n=r.get(qg),i=e?.manualCleanup!==!0?r.get(Wg):null;return n.create(t,i,!!e?.allowSignalWrites)}function Js(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0){Zg(t,1);let i=t[V].components;i!==null&&Yg(t,i,1)}}function Yg(t,e,r){for(let n=0;n-1&&(jl(e,n),Ws(r,n))}this._attachedToViewContainer=!1}Xm(this._lView[V],this._lView)}onDestroy(e){Dm(this._lView,e)}markForCheck(){wa(this._cdRefInjectingView||this._lView)}detach(){this._lView[U]&=-129}reattach(){this._lView[U]|=128}detectChanges(){Gg(this._lView[V],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,hE(this._lView[V],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=e}},ru=class extends Kn{constructor(e){super(e),this._view=e}detectChanges(){let e=this._view,r=e[V],n=e[Ye];Gg(r,e,n,!1)}checkNoChanges(){}get context(){return null}},ea=class extends _a{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=gn(e);return new $r(r,this.ngModule)}};function Tp(t){let e=[];for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];e.push({propName:n,templateName:r})}return e}function J0(t){let e=t.toLowerCase();return e==="svg"?gm:e==="math"?nD:null}var iu=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=aa(n);let i=this.injector.get(e,ml,n);return i!==ml||r===ml?i:this.parentInjector.get(e,r,n)}},$r=class extends Qs{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Tp(e.inputs);if(r!==null)for(let i of n)r.hasOwnProperty(i.propName)&&(i.transform=r[i.propName]);return n}get outputs(){return Tp(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=$w(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,i){i=i||this.ngModule;let o=i instanceof Ae?i:i?.injector;o&&this.componentDef.getStandaloneInjector!==null&&(o=this.componentDef.getStandaloneInjector(o)||o);let s=o?new iu(e,o):e,a=s.get(Mt,null);if(a===null)throw new y(407,!1);let c=s.get(m0,null),l=s.get(qg,null),u={rendererFactory:a,sanitizer:c,effectManager:l},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=n?E0(d,n,this.componentDef.encapsulation,s):Qm(d,f,J0(f)),m=4608,g=this.componentDef.onPush?576:528,_=this.componentDef.signals?m:g,b=Xu(0,null,null,1,0,null,null,null,null,null,null),k=Ea(null,b,null,_,null,null,u,d,s,null,null);Lu(k);let Y,L;try{let ue=this.componentDef,ce,de=null;ue.findHostDirectiveDefs?(ce=[],de=new Map,ue.findHostDirectiveDefs(ue,ce,de),ce.push(ue)):ce=[ue];let rt=eC(k,h),it=tC(rt,h,ue,ce,k,u,d);L=vm(b,Pe),h&&iC(d,ue,h,n),r!==void 0&&oC(L,this.ngContentSelectors,r),Y=rC(it,ue,ce,de,k,[sC]),td(b,k,null)}finally{ju()}return new ou(this.componentType,Y,qr(L,k),k,L)}},ou=class extends Xl{constructor(e,r,n,i,o){super(),this.location=n,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new ru(i),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let o=this._rootLView;ed(o[V],o,i,e,r),this.previousInputValues.set(e,r);let s=bn(this._tNode.index,o);wa(s)}}get injector(){return new Bn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function eC(t,e){let r=t[V],n=Pe;return t[n]=e,Kr(r,n,2,"#host",null)}function tC(t,e,r,n,i,o,s){let a=i[V];nC(n,t,e,s);let c=null;e!==null&&(c=Ig(e,i[kr]));let l=o.rendererFactory.createRenderer(e,r),u=16;r.signals?u=4096:r.onPush&&(u=64);let d=Ea(i,Pg(r),null,u,i[t.index],t,o,l,null,null,c);return a.firstCreatePass&&eu(a,t,n.length-1),Ca(i,d),i[t.index]=d}function nC(t,e,r,n){for(let i of t)e.mergedAttrs=Ri(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(Js(e,e.mergedAttrs,!0),r!==null&&og(n,r,e))}function rC(t,e,r,n,i,o){let s=Te(),a=i[V],c=Xe(s,i);kg(a,i,s,r,null,n);for(let u=0;u0&&ig(t,r,o.join(" "))}}function oC(t,e,r){let n=t.projection=[];for(let i=0;i=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=Ri(i.hostAttrs,r=Ri(r,i.hostAttrs))}}function Is(t){return t===Qt?{}:t===Oe?[]:t}function lC(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function uC(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function dC(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function JV(t){return e=>{e.findHostDirectiveDefs=Xg,e.hostDirectives=(Array.isArray(t)?t:t()).map(r=>typeof r=="function"?{directive:Ee(r),inputs:Qt,outputs:Qt}:{directive:Ee(r.directive),inputs:Mp(r.inputs),outputs:Mp(r.outputs)})}}function Xg(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives){let i=Su(n.directive);fC(i.declaredInputs,n.inputs),Xg(i,e,r),r.set(i,n),e.push(i)}}function Mp(t){if(t===void 0||t.length===0)return Qt;let e={};for(let r=0;r=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function tB(t){let e=mD();return Ru(e,Pe+t)}function to(t,e,r){let n=j(),i=Wi();if(At(n,i,e)){let o=oe(),s=zr();eo(o,s,n,t,e,n[re],r,!1)}return to}function su(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";ed(t,r,o[s],s,n)}function wC(t,e,r,n,i,o){let s=e.consts,a=Vr(s,i),c=Kr(e,t,2,n,a);return Ju(e,r,c,Vr(s,o)),c.attrs!==null&&Js(c,c.attrs,!1),c.mergedAttrs!==null&&Js(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Jn(t,e,r,n){let i=j(),o=oe(),s=Pe+t,a=i[re],c=o.firstCreatePass?wC(s,o,i,e,r,n):o.data[s],l=DC(o,i,c,a,e,t);i[s]=l;let u=ua(c);return Qn(c,!0),og(a,l,c),(c.flags&32)!==32&&da()&&ma(o,i,l,c),lD()===0&&yn(l,i),uD(),u&&(Qu(o,i,c),Zu(o,c,i)),n!==null&&Yu(i,c),Jn}function er(){let t=Te();Nu()?Ou():(t=t.parent,Qn(t,!1));let e=t;fD(e)&&hD(),dD();let r=oe();return r.firstCreatePass&&(ha(r,t),Mu(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&AD(e)&&su(r,e,j(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&xD(e)&&su(r,e,j(),e.stylesWithoutHost,!1),er}function Dn(t,e,r,n){return Jn(t,e,r,n),er(),Dn}var DC=(t,e,r,n,i,o)=>(fa(!0),Qm(n,i,ID()));function EC(t,e,r,n,i){let o=e.consts,s=Vr(o,n),a=Kr(e,t,8,"ng-container",s);s!==null&&Js(a,s,!0);let c=Vr(o,i);return Ju(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function ty(t,e,r){let n=j(),i=oe(),o=t+Pe,s=i.firstCreatePass?EC(o,i,n,e,r):i.data[o];Qn(s,!0);let a=IC(i,n,s,t);return n[o]=a,da()&&ma(i,n,a,s),yn(a,n),ua(s)&&(Qu(i,n,s),Zu(i,s,n)),r!=null&&Yu(n,s),ty}function ny(){let t=Te(),e=oe();return Nu()?Ou():(t=t.parent,Qn(t,!1)),e.firstCreatePass&&(ha(e,t),Mu(t)&&e.queries.elementEnd(t)),ny}function CC(t,e,r){return ty(t,e,r),ny(),CC}var IC=(t,e,r,n)=>(fa(!0),uE(e[re],""));function nB(){return j()}function Zr(t){return!!t&&typeof t.then=="function"}function sd(t){return!!t&&typeof t.subscribe=="function"}function Ia(t,e,r,n){let i=j(),o=oe(),s=Te();return ry(o,i,i[re],s,t,e,n),Ia}function SC(t,e){let r=Te(),n=j(),i=oe(),o=Pu(i.data),s=Hg(o,r,n);return ry(i,n,s,r,t,e),SC}function TC(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function ry(t,e,r,n,i,o,s){let a=ua(n),l=t.firstCreatePass&&Ug(t),u=e[Ye],d=$g(e),f=!0;if(n.type&3||s){let g=Xe(n,e),_=s?s(g):g,b=d.length,k=s?L=>s(Tt(L[n.index])):n.index,Y=null;if(!s&&a&&(Y=TC(t,e,i,n.index)),Y!==null){let L=Y.__ngLastListenerFn__||Y;L.__ngNextListenerFn__=o,Y.__ngLastListenerFn__=o,f=!1}else{o=xp(n,e,u,o,!1);let L=r.listen(_,i,o);d.push(o,L),l&&l.push(i,k,b,b+1)}}else o=xp(n,e,u,o,!1);let h=n.outputs,m;if(f&&h!==null&&(m=h[i])){let g=m.length;if(g)for(let _=0;_-1?bn(t.index,e):e;wa(a);let c=Ap(e,r,n,s),l=o.__ngNextListenerFn__;for(;l;)c=Ap(e,r,l,s)&&c,l=l.__ngNextListenerFn__;return i&&c===!1&&s.preventDefault(),c}}function MC(t=1){return DD(t)}function AC(t,e){let r=null,n=kw(t);for(let i=0;i>17&32767}function NC(t){return(t&2)==2}function OC(t,e){return t&131071|e<<17}function au(t){return t|2}function Ur(t){return(t&131068)>>2}function yl(t,e){return t&-131069|e<<2}function FC(t){return(t&1)===1}function cu(t){return t|1}function PC(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Zn(s),c=Ur(s);t[n]=r;let l=!1,u;if(Array.isArray(r)){let d=r;u=d[1],(u===null||Gi(d,u)>0)&&(l=!0)}else u=r;if(i)if(c!==0){let f=Zn(t[a+1]);t[n+1]=Ss(f,a),f!==0&&(t[f+1]=yl(t[f+1],n)),t[a+1]=OC(t[a+1],n)}else t[n+1]=Ss(a,0),a!==0&&(t[a+1]=yl(t[a+1],n)),a=n;else t[n+1]=Ss(c,0),a===0?a=n:t[c+1]=yl(t[c+1],n),c=n;l&&(t[n+1]=au(t[n+1])),Rp(t,u,n,!0,o),Rp(t,u,n,!1,o),kC(e,u,t,n,o),s=Ss(a,c),o?e.classBindings=s:e.styleBindings=s}function kC(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&Gi(o,e)>=0&&(r[n+1]=cu(r[n+1]))}function Rp(t,e,r,n,i){let o=t[r+1],s=e===null,a=n?Zn(o):Ur(o),c=!1;for(;a!==0&&(c===!1||s);){let l=t[a],u=t[a+1];LC(l,e)&&(c=!0,t[a+1]=n?cu(u):au(u)),a=n?Zn(u):Ur(u)}c&&(t[r+1]=n?au(o):cu(o))}function LC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?Gi(t,e)>=0:!1}var lt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jC(t){return t.substring(lt.key,lt.keyEnd)}function VC(t){return BC(t),iy(t,oy(t,0,lt.textEnd))}function iy(t,e){let r=lt.textEnd;return r===e?-1:(e=lt.keyEnd=$C(t,lt.key=e,r),oy(t,e,r))}function BC(t){lt.key=0,lt.keyEnd=0,lt.value=0,lt.valueEnd=0,lt.textEnd=t.length}function oy(t,e,r){for(;e32;)e++;return e}function ad(t,e,r){return ay(t,e,r,!1),ad}function Je(t,e){return ay(t,e,null,!0),Je}function rB(t){cy(GC,sy,t,!0)}function sy(t,e){for(let r=VC(e);r>=0;r=iy(e,r))pa(t,jC(e),!0)}function ay(t,e,r,n){let i=j(),o=oe(),s=Fu(2);if(o.firstUpdatePass&&uy(o,t,s,n),e!==Be&&At(i,s,e)){let a=o.data[Yn()];dy(o,a,i,i[re],t,i[s+1]=ZC(e,r),n,s)}}function cy(t,e,r,n){let i=oe(),o=Fu(2);i.firstUpdatePass&&uy(i,null,o,n);let s=j();if(r!==Be&&At(s,o,r)){let a=i.data[Yn()];if(fy(a,n)&&!ly(i,o)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=El(c,r||"")),su(i,a,s,r,n)}else KC(i,a,s,s[re],s[o+1],s[o+1]=qC(t,e,r),n,o)}}function ly(t,e){return e>=t.expandoStartIndex}function uy(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Yn()],s=ly(t,r);fy(o,n)&&e===null&&!s&&(e=!1),e=UC(i,o,e,n),PC(i,o,e,r,s,n)}}function UC(t,e,r,n){let i=Pu(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=vl(null,t,e,r,n),r=Fi(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=vl(i,t,e,r,n),o===null){let c=HC(t,e,n);c!==void 0&&Array.isArray(c)&&(c=vl(null,t,e,c[1],n),c=Fi(c,e.attrs,n),zC(t,e,n,c))}else o=WC(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function HC(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Ur(n)!==0)return t[Zn(n)]}function zC(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Zn(i)]=n}function WC(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=r[i+1];f===Be&&(f=d?Oe:void 0);let h=d?fl(f,n):u===n?f:void 0;if(l&&!ta(h)&&(h=fl(c,n)),ta(h)&&(a=h,s))return a;let m=t[i+1];i=s?Zn(m):Ur(m)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=fl(c,n))}return a}function ta(t){return t!==void 0}function ZC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Se(Ft(t)))),t}function fy(t,e){return(t.flags&(e?8:16))!==0}function QC(t,e=""){let r=j(),n=oe(),i=t+Pe,o=n.firstCreatePass?Kr(n,i,1,e,null):n.data[i],s=YC(n,r,o,e,t);r[i]=s,da()&&ma(n,r,s,o),Qn(o,!1)}var YC=(t,e,r,n,i)=>(fa(!0),cE(e[re],n));function XC(t){return cd("",t,""),XC}function cd(t,e,r){let n=j(),i=od(n,t,e,r);return i!==Be&&W0(n,Yn(),i),cd}function iB(t,e,r){let n=j(),i=od(n,t,e,r);cy(pa,sy,i,!0)}function hy(t,e,r){let n=j(),i=Wi();if(At(n,i,e)){let o=oe(),s=zr();eo(o,s,n,t,e,n[re],r,!0)}return hy}function JC(t,e,r){let n=j(),i=Wi();if(At(n,i,e)){let o=oe(),s=zr(),a=Pu(o.data),c=Hg(a,s,n);eo(o,s,n,t,e,c,r,!0)}return JC}var na="en-US";var eI=na;function tI(t){pw(t,"Expected localeId to be defined"),typeof t=="string"&&(eI=t.toLowerCase().replace(/_/g,"-"))}function nI(t,e,r){let n=oe();if(n.firstCreatePass){let i=Yt(t);lu(r,n.data,n.blueprint,i,!0),lu(e,n.data,n.blueprint,i,!1)}}function lu(t,e,r,n,i){if(t=Ee(t),Array.isArray(t))for(let o=0;o>20;if(Br(t)||!t.multi){let h=new Wn(c,i,S),m=_l(a,e,i?u:u+f,d);m===-1?(Pl(zs(l,s),o,a),bl(o,t,e.length),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),r.push(h),s.push(h)):(r[m]=h,s[m]=h)}else{let h=_l(a,e,u+f,d),m=_l(a,e,u,u+f),g=h>=0&&r[h],_=m>=0&&r[m];if(i&&!_||!i&&!g){Pl(zs(l,s),o,a);let b=oI(i?iI:rI,r.length,i,n,c);!i&&_&&(r[m].providerFactory=b),bl(o,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),r.push(b),s.push(b)}else{let b=py(r[i?m:h],c,!i&&n);bl(o,t,h>-1?h:m,b)}!i&&n&&_&&r[m].componentProviders++}}}function bl(t,e,r,n){let i=Br(e),o=JE(e);if(i||o){let c=(o?Ee(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=l.indexOf(r);u===-1?l.push(r,[n,c]):l[u+1].push(n,c)}else l.push(r,c)}}}function py(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function _l(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>nI(n,i?i(t):t,e)}}var Jt=class{},Pi=class{};function my(t,e){return new ki(t,e??null,[])}var ki=class extends Jt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ea(this);let i=sm(e);this._bootstrapComponents=Tg(i.bootstrap),this._r3Injector=Ng(e,r,[{provide:Jt,useValue:this},{provide:_a,useValue:this.componentFactoryResolver},...n],Se(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},ra=class extends Pi{constructor(e){super(),this.moduleType=e}create(e){return new ki(this.moduleType,e,[])}};function sI(t,e,r){return new ki(t,e,r)}var du=class extends Jt{constructor(e){super(),this.componentFactoryResolver=new ea(this),this.instance=null;let r=new Zs([...e.providers,{provide:Jt,useValue:this},{provide:_a,useValue:this.componentFactoryResolver}],e.parent||Gu(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Sa(t,e,r=null){return new du({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var aI=(()=>{let e=class{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){let i=wg(!1,n.type),o=i.length>0?Sa([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(p(Ae))})})(),t})();function ud(t){t.getStandaloneInjector=e=>e.get(aI).getOrCreateStandaloneInjector(t)}function oB(t,e,r){let n=zi()+t,i=j();return i[n]===Be?id(i,n,r?e.call(r):e()):pC(i,n)}function sB(t,e,r,n){return yy(j(),zi(),t,e,r,n)}function aB(t,e,r,n,i){return vy(j(),zi(),t,e,r,n,i)}function gy(t,e){let r=t[e];return r===Be?void 0:r}function yy(t,e,r,n,i,o){let s=e+r;return At(t,s,i)?id(t,s+1,o?n.call(o,i):n(i)):gy(t,s+1)}function vy(t,e,r,n,i,o,s){let a=e+r;return ey(t,a,i,o)?id(t,a+2,s?n.call(s,i,o):n(i,o)):gy(t,a+2)}function cB(t,e){let r=oe(),n,i=t+Pe;r.firstCreatePass?(n=cI(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=Hn(n.type,!0)),s=Qe(S);try{let a=Hs(!1),c=o();return Hs(a),_C(r,j(),i,c),c}finally{Qe(s)}}function cI(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function lB(t,e,r){let n=t+Pe,i=j(),o=Ru(i,n);return by(i,n)?yy(i,zi(),e,o.transform,r,o):o.transform(r)}function uB(t,e,r,n){let i=t+Pe,o=j(),s=Ru(o,i);return by(o,i)?vy(o,zi(),e,s.transform,r,n,s):s.transform(r,n)}function by(t,e){return t[V].data[e].pure}var fu=class extends z{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=wl(o),i&&(i=wl(i)),s&&(s=wl(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof X&&e.add(a),a}};function wl(t){return e=>{setTimeout(t,void 0,e)}}var ie=fu;function lI(){return this._results[Symbol.iterator]()}var vn=class{get changes(){return this._changes||(this._changes=new ie)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let r=vn.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=lI)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){let n=this;n.dirty=!1;let i=zD(e);(this._changesDetected=!HD(n._results,i,r))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},xt=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=fI})(),t})(),uI=xt,dI=class extends uI{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r,null)}createEmbeddedViewImpl(e,r,n){let o=this._declarationLView[U]&4096?4096:16,s=this._declarationTContainer.tView,a=Ea(this._declarationLView,s,e,o,null,s.declTNode,null,null,null,r||null,n||null),c=this._declarationLView[this._declarationTContainer.index];a[Hi]=c;let l=this._declarationLView[St];return l!==null&&(a[St]=l.createEmbeddedView(s)),td(s,a,e),new Kn(a)}};function fI(){return Ta(Te(),j())}function Ta(t,e){return t.type&4?new dI(e,t,qr(t,e)):null}var hI=(t,e)=>null;function Op(t,e){return hI(t,e)}var $e=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=pI})(),t})();function pI(){let t=Te();return wy(t,j())}var mI=$e,_y=class extends mI{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return qr(this._hostTNode,this._hostLView)}get injector(){return new Bn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Vu(this._hostTNode,this._hostLView);if(Fm(e)){let r=Us(e,this._hostLView),n=$s(e),i=r[V].data[n+8];return new Bn(i,r)}else return new Bn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Fp(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Op(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s),c=!!s&&!Ll(this._hostTNode);return this.insertImpl(a,i,c),a}createComponent(e,r,n,i,o){let s=e&&!UD(e),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let c=s?e:new $r(gn(e)),l=n||this.parentInjector;if(!o&&c.ngModule==null){let _=(s?l:this.parentInjector).get(Ae,null);_&&(o=_)}let u=gn(c.componentType??{}),d=Op(this._lContainer,u?.id??null),f=d?.firstChild??null,h=c.create(l,i,f,o),m=!!d&&!Ll(this._hostTNode);return this.insertImpl(h.hostView,a,m),h}insert(e,r){return this.insertImpl(e,r,!1)}insertImpl(e,r,n){let i=e._lView,o=i[V];if(sD(i)){let c=this.indexOf(e);if(c!==-1)this.detach(c);else{let l=i[he],u=new _y(l,l[je],l[he]);u.detach(u.indexOf(e))}}let s=this._adjustIndex(r),a=this._lContainer;if(mE(o,i,a,s),!n){let c=Vl(s,a),l=i[re],u=zu(l,a[Un]);u!==null&&fE(o,a[je],l,i,u,c)}return e.attachToViewContainerRef(),zm(Dl(a),s,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Fp(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=jl(this._lContainer,r);n&&(Ws(Dl(this._lContainer),r),Xm(n[V],n))}detach(e){let r=this._adjustIndex(e,-1),n=jl(this._lContainer,r);return n&&Ws(Dl(this._lContainer),r)!=null?new Kn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Fp(t){return t[Bs]}function Dl(t){return t[Bs]||(t[Bs]=[])}function wy(t,e){let r,n=e[t.index];return en(n)?r=n:(r=Vg(n,e,null,t),e[t.index]=r,Ca(e,r)),yI(r,e,t,n),new _y(r,t,e)}function gI(t,e){let r=t[re],n=r.createComment(""),i=Xe(e,t),o=zu(r,i);return Gs(r,o,n,wE(r,i),!1),n}var yI=vI;function vI(t,e,r,n){if(t[Un])return;let i;r.type&8?i=Tt(n):i=gI(e,r),t[Un]=i}var Li=class{constructor(e){this.queryList=e,this.matches=null}clone(){return new Li(this.queryList)}setDirty(){this.queryList.setDirty()}},ji=class{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let l=o[a+1],u=e[-c];for(let d=Le;d{let e=class{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=w(Ma,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Zr(s))n.push(s);else if(sd(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Qr=(()=>{let e=class{log(n){console.log(n)}warn(n){console.warn(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function SI(){return typeof $localize<"u"&&$localize.locale||na}var Aa=new E("LocaleId",{providedIn:"root",factory:()=>w(Aa,N.Optional|N.SkipSelf)||SI()});var Yr=(()=>{let e=class{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ge(!1)}add(){this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),pu=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},xa=(()=>{let e=class{compileModuleSync(n){return new ra(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=sm(n),s=Tg(o.declarations).reduce((a,c)=>{let l=gn(c);return l&&a.push(new $r(l)),a},[]);return new pu(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),TI=new E("compilerOptions");function Pp(...t){}function MI(){let t=Ce.requestAnimationFrame,e=Ce.cancelAnimationFrame;if(typeof Zone<"u"&&t&&e){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}var P=class{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ie(!1),this.onMicrotaskEmpty=new ie(!1),this.onStable=new ie(!1),this.onError=new ie(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=MI().nativeRequestAnimationFrame,RI(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!P.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(P.isInAngularZone())throw new y(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,AI,Pp,Pp);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},AI={};function dd(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 xI(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ce,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,mu(t),t.isCheckStableRunning=!0,dd(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),mu(t))}function RI(t){let e=()=>{xI(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{try{return kp(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Lp(t)}},onInvoke:(r,n,i,o,s,a,c)=>{try{return kp(t),r.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Lp(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,mu(t),dd(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function mu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function kp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Lp(t){t._nesting--,dd(t)}var gu=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ie,this.onMicrotaskEmpty=new ie,this.onStable=new ie,this.onError=new ie}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}},My=new E("",{providedIn:"root",factory:Ay});function Ay(){let t=w(P),e=!0,r=new R(i=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(e),i.complete()})}),n=new R(i=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,i.next(!0))})})});let s=t.onUnstable.subscribe(()=>{P.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}});return el(r,n.pipe(hn()))}var fd=new E(""),ro=new E(""),Ra=(()=>{let e=class{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,hd||(NI(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(P),p(Na),p(ro))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),Na=(()=>{let e=class{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return hd?.findTestabilityInTree(this,n,i)??null}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function NI(t){hd=t}var hd,Ai=null,xy=new E("AllowMultipleToken"),Ry=new E("PlatformDestroyListeners"),Oa=new E("appBootstrapListener");function OI(t,e,r){let n=new ra(r);return Promise.resolve(n)}function FI(){Xw(()=>{throw new y(600,!1)})}function PI(t){return t.isBoundToModule}var $i=class{constructor(e,r){this.name=e,this.token=r}};function kI(t){if(Ai&&!Ai.get(xy,!1))throw new y(400,!1);FI(),Ai=t;let e=t.get(Oy);return LI(t),e}function LI(t){t.get(Ku,null)?.forEach(r=>r())}function pd(t,e,r=[]){let n=`Platform: ${e}`,i=new E(n);return(o=[])=>{let s=Ny();if(!s||s.injector.get(xy,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):kI(VI(a,n))}return jI(i)}}function jI(t){let e=Ny();if(!e)throw new y(401,!1);return e}function VI(t=[],e){return ft.create({name:e,providers:[{provide:ba,useValue:"platform"},{provide:Ry,useValue:new Set([()=>Ai=null])},...t]})}function Ny(){return Ai?.get(Oy)??null}var Oy=(()=>{let e=class{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=$I(i?.ngZone,BI({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{let s=sI(n.moduleType,this.injector,WI(()=>o)),a=s.injector.get(Ve,null);return o.runOutsideAngular(()=>{let c=o.onError.subscribe({next:l=>{a.handleError(l)}});s.onDestroy(()=>{ks(this._modules,s),c.unsubscribe()})}),UI(a,o,()=>{let c=s.injector.get(Ty);return c.runInitializers(),c.donePromise.then(()=>{let l=s.injector.get(Aa,na);return tI(l||na),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,i=[]){let o=Fy({},i);return OI(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let i=n.injector.get(nn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(i);else throw new y(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get(Ry,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(ft))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function BI(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function $I(t="zone.js",e){return t==="noop"?new gu:t==="zone.js"?new P(e):t}function UI(t,e,r){try{let n=r();return Zr(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Fy(t,e){return Array.isArray(e)?e.reduce(Fy,t):D(D({},t),e)}var nn=(()=>{let e=class{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(Py),this.zoneIsStable=w(My),this.componentTypes=[],this.components=[],this.isStable=w(Yr).hasPendingTasks.pipe(De(n=>n?C(!1):this.zoneIsStable),Ln(),hn()),this._injector=w(Ae)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Qs;if(!this._injector.get(Ty).done){let m="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&om(n)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new y(405,!1)}let a;o?a=n:a=this._injector.get(_a).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=PI(a)?void 0:this._injector.get(Jt),l=i||a.selector,u=a.create(ft.NULL,[],l,c),d=u.location.nativeElement,f=u.injector.get(fd,null);return f?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),ks(this.components,u),f?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new y(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;ks(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Oa,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ks(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function ks(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function jp(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Py=new E("",{providedIn:"root",factory:()=>w(Ve).handleError.bind(void 0)});function HI(){let t=w(P),e=w(Ve);return r=>t.runOutsideAngular(()=>e.handleError(r))}var zI=(()=>{let e=class{constructor(){this.zone=w(P),this.applicationRef=w(nn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function WI(t){return[{provide:P,useFactory:t},{provide:Yi,multi:!0,useFactory:()=>{let e=w(zI,{optional:!0});return()=>e.initialize()}},{provide:Py,useFactory:HI},{provide:My,useFactory:Ay}]}var En=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=qI})(),t})();function qI(t){return GI(Te(),j(),(t&16)===16)}function GI(t,e,r){if(la(t)&&!r){let n=bn(t.index,e);return new Kn(n,n)}else if(t.type&47){let n=e[dt];return new Kn(n,e)}return null}var yu=class{constructor(){}supports(e){return Jg(e)}create(e){return new vu(e)}},KI=(t,e)=>e,vu=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||KI}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new bu(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}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(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new oa),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new oa),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},bu=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},_u=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},oa=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new _u,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Vp(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new Eu(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},Eu=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Bp(){return new io([new yu])}var io=(()=>{let e=class{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Bp()),deps:[[e,new Ki,new Xn]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new y(901,!1)}},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:Bp})})(),t})();function $p(){return new md([new wu])}var md=(()=>{let e=class{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||$p()),deps:[[e,new Ki,new Xn]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new y(901,!1)}},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:$p})})(),t})();var ky=pd(null,"core",[]),Ly=(()=>{let e=class{constructor(n){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(nn))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})();function oo(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function jy(t){let e=gn(t);if(!e)return null;let r=new $r(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var yd=null;function or(){return yd}function qy(t){yd||(yd=t)}var Fa=class{},H=new E("DocumentToken"),Ed=(()=>{let e=class{historyGo(n){throw new Error("Not implemented")}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(ZI))()},providedIn:"platform"})})(),t})(),Gy=new E("Location Initialized"),ZI=(()=>{let e=class extends Ed{constructor(){super(),this._doc=w(H),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return or().getBaseHref(this._doc)}onPopState(n){let i=or().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=or().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>new e)()},providedIn:"platform"})})(),t})();function Cd(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Vy(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function rn(t){return t&&t[0]!=="?"?"?"+t:t}var on=(()=>{let e=class{historyGo(n){throw new Error("Not implemented")}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(Id))()},providedIn:"root"})})(),t})(),Ky=new E("appBaseHref"),Id=(()=>{let e=class extends on{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??w(H).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Cd(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+rn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+rn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+rn(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ed),p(Ky,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Zy=(()=>{let e=class extends on{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Cd(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+rn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+rn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ed),p(Ky,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),ka=(()=>{let e=class{constructor(n){this._subject=new ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=XI(Vy(By(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+rn(i))}normalize(n){return e.stripTrailingSlash(YI(this._basePath,By(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}},t=e;return(()=>{e.normalizeQueryParams=rn})(),(()=>{e.joinWithSlash=Cd})(),(()=>{e.stripTrailingSlash=Vy})(),(()=>{e.\u0275fac=function(i){return new(i||e)(p(on))}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return QI()},providedIn:"root"})})(),t})();function QI(){return new ka(p(on))}function YI(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function By(t){return t.replace(/\/index.html$/,"")}function XI(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function La(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var gd=/\s+/,$y=[],OB=(()=>{let e=class{constructor(n,i,o,s){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=o,this._renderer=s,this.initialClasses=$y,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(gd):$y}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(gd):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(gd).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(io),S(md),S(ae),S(Gr))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})})(),t})(),FB=(()=>{let e=class{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null}ngOnChanges(n){let{_viewContainerRef:i,ngComponentOutletNgModule:o,ngComponentOutletNgModuleFactory:s}=this;if(i.clear(),this._componentRef=void 0,this.ngComponentOutlet){let a=this.ngComponentOutletInjector||i.parentInjector;(n.ngComponentOutletNgModule||n.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),o?this._moduleRef=my(o,Uy(a)):s?this._moduleRef=s.create(Uy(a)):this._moduleRef=void 0),this._componentRef=i.createComponent(this.ngComponentOutlet,{index:i.length,injector:a,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Ot]})})(),t})();function Uy(t){return t.get(Jt).injector}var vd=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,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}},PB=(()=>{let e=class{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(!1)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new vd(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),Hy(c,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Hy(s,o)})}static ngTemplateContextGuard(n,i){return!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e),S(xt),S(io))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})})(),t})();function Hy(t,e){t.context.$implicit=e.item}var kB=(()=>{let e=class{constructor(n,i){this._viewContainer=n,this._context=new bd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){zy("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){zy("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e),S(xt))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})})(),t})(),bd=class{constructor(){this.$implicit=null,this.ngIf=null}};function zy(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Se(e)}'.`)}var Pa=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},Qy=(()=>{let e=class{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let i=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let i of this._defaultViews)i.enforceState(n)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})})(),t})(),LB=(()=>{let e=class{constructor(n,i,o){this.ngSwitch=o,o._addCase(),this._view=new Pa(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e),S(xt),S(Qy,9))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})})(),t})(),jB=(()=>{let e=class{constructor(n,i,o){o._addDefault(new Pa(n,i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e),S(xt),S(Qy,9))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0})})(),t})();var VB=(()=>{let e=class{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(n.ngTemplateOutlet||n.ngTemplateOutletInjector){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){let{ngTemplateOutlet:o,ngTemplateOutletContext:s,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(o,s,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&n.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ot]})})(),t})();function JI(t,e){return new y(2100,!1)}var _d=class{createSubscription(e,r){return xu(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){xu(()=>e.unsubscribe())}},wd=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},eS=new wd,tS=new _d,BB=(()=>{let e=class{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Zr(n))return eS;if(sd(n))return tS;throw JI(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this._ref.markForCheck())}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(En,16))}})(),(()=>{e.\u0275pipe=rm({name:"async",type:e,pure:!1,standalone:!0})})(),t})();var Sd=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})(),Td="browser",nS="server";function Yy(t){return t===Td}function Md(t){return t===nS}var Xy=(()=>{let e=class{},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:()=>new Dd(p(H),window)})})(),t})(),Dd=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let r=rS(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){let r=this.window.history;r&&r.scrollRestoration&&(r.scrollRestoration=e)}}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;let e=Wy(this.window.history)||Wy(Object.getPrototypeOf(this.window.history));return!!e&&!!(e.writable||e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function Wy(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}function rS(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var Xr=class{};var so=class{},Va=class{},ht=class{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof ht?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new ht;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof ht?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var xd=class{encodeKey(e){return ev(e)}encodeValue(e){return ev(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function sS(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var aS=/%(\d[a-f0-9])/gi,cS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ev(t){return encodeURIComponent(t).replace(aS,(e,r)=>cS[r]??e)}function ja(t){return`${t}`}var jt=class{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new xd,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=sS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(ja):[ja(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new jt({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(ja(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(ja(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Rd=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function lS(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function tv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function nv(t){return typeof Blob<"u"&&t instanceof Blob}function rv(t){return typeof FormData<"u"&&t instanceof FormData}function uS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var sr=class{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(lS(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,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.headers||(this.headers=new ht),this.context||(this.context=new Rd),!this.params)this.params=new jt,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ad.set(f,e.setHeaders[f]),c)),e.setParams&&(l=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),l)),new sr(r,n,o,{params:l,headers:c,context:u,reportProgress:a,responseType:i,withCredentials:s})}},pe=(()=>(pe=pe||{},pe[pe.Sent=0]="Sent",pe[pe.UploadProgress=1]="UploadProgress",pe[pe.ResponseHeader=2]="ResponseHeader",pe[pe.DownloadProgress=3]="DownloadProgress",pe[pe.Response=4]="Response",pe[pe.User=5]="User",pe))(),ao=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new ht,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},co=class extends ao{constructor(e={}){super(e),this.type=pe.ResponseHeader}clone(e={}){return new co({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Jr=class extends ao{constructor(e={}){super(e),this.type=pe.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new Jr({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ba=class extends ao{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function Ad(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Nd=(()=>{let e=class{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof sr)s=n;else{let l;o.headers instanceof ht?l=o.headers:l=new ht(o.headers);let u;o.params&&(o.params instanceof jt?u=o.params:u=new jt({fromObject:o.params})),s=new sr(n,i,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}let a=C(s).pipe(wt(l=>this.handler.handle(l)));if(n instanceof sr||o.observe==="events")return a;let c=a.pipe(fe(l=>l instanceof Jr));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(O(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(O(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(O(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(O(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new jt().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Ad(o,i))}post(n,i,o={}){return this.request("POST",n,Ad(o,i))}put(n,i,o={}){return this.request("PUT",n,Ad(o,i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(so))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function av(t,e){return e(t)}function dS(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function fS(t,e,r){return(n,i)=>r.runInContext(()=>e(n,o=>t(o,i)))}var hS=new E(""),Od=new E(""),pS=new E("");function mS(){let t=null;return(e,r)=>{t===null&&(t=(w(hS,{optional:!0})??[]).reduceRight(dS,av));let n=w(Yr),i=n.add();return t(e,r).pipe(Dt(()=>n.remove(i)))}}var iv=(()=>{let e=class extends so{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=w(Yr)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Od),...this.injector.get(pS,[])]));this.chain=o.reduceRight((s,a)=>fS(s,a,this.injector),av)}let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Dt(()=>this.pendingTasks.remove(i)))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Va),p(Ae))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();var gS=/^\)\]\}',?\n/;function yS(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var ov=(()=>{let e=class{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new y(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ee(i.\u0275loadImpl()):C(null)).pipe(De(()=>new R(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((_,b)=>a.setRequestHeader(_,b.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let _=n.detectContentTypeHeader();_!==null&&a.setRequestHeader("Content-Type",_)}if(n.responseType){let _=n.responseType.toLowerCase();a.responseType=_!=="json"?_:"text"}let c=n.serializeBody(),l=null,u=()=>{if(l!==null)return l;let _=a.statusText||"OK",b=new ht(a.getAllResponseHeaders()),k=yS(a)||n.url;return l=new co({headers:b,status:a.status,statusText:_,url:k}),l},d=()=>{let{headers:_,status:b,statusText:k,url:Y}=u(),L=null;b!==204&&(L=typeof a.response>"u"?a.responseText:a.response),b===0&&(b=L?200:0);let ue=b>=200&&b<300;if(n.responseType==="json"&&typeof L=="string"){let ce=L;L=L.replace(gS,"");try{L=L!==""?JSON.parse(L):null}catch(de){L=ce,ue&&(ue=!1,L={error:de,text:L})}}ue?(s.next(new Jr({body:L,headers:_,status:b,statusText:k,url:Y||void 0})),s.complete()):s.error(new Ba({error:L,headers:_,status:b,statusText:k,url:Y||void 0}))},f=_=>{let{url:b}=u(),k=new Ba({error:_,status:a.status||0,statusText:a.statusText||"Unknown Error",url:b||void 0});s.error(k)},h=!1,m=_=>{h||(s.next(u()),h=!0);let b={type:pe.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),n.responseType==="text"&&a.responseText&&(b.partialText=a.responseText),s.next(b)},g=_=>{let b={type:pe.UploadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),s.next(b)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",m),c!==null&&a.upload&&a.upload.addEventListener("progress",g)),a.send(c),s.next({type:pe.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",m),c!==null&&a.upload&&a.upload.removeEventListener("progress",g)),a.readyState!==a.DONE&&a.abort()}})))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Xr))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),cv=new E("XSRF_ENABLED"),vS="XSRF-TOKEN",bS=new E("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>vS}),_S="X-XSRF-TOKEN",wS=new E("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>_S}),$a=class{},DS=(()=>{let e=class{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=La(n,this.cookieName),this.lastCookieString=n),this.lastToken}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(Pt),p(bS))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function ES(t,e){let r=t.url.toLowerCase();if(!w(cv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=w($a).getToken(),i=w(wS);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var _e=(()=>(_e=_e||{},_e[_e.Interceptors=0]="Interceptors",_e[_e.LegacyInterceptors=1]="LegacyInterceptors",_e[_e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",_e[_e.NoXsrfProtection=3]="NoXsrfProtection",_e[_e.JsonpSupport=4]="JsonpSupport",_e[_e.RequestsMadeViaParent=5]="RequestsMadeViaParent",_e[_e.Fetch=6]="Fetch",_e))();function CS(t,e){return{\u0275kind:t,\u0275providers:e}}function IS(...t){let e=[Nd,ov,iv,{provide:so,useExisting:iv},{provide:Va,useExisting:ov},{provide:Od,useValue:ES,multi:!0},{provide:cv,useValue:!0},{provide:$a,useClass:DS}];for(let r of t)e.push(...r.\u0275providers);return va(e)}var sv=new E("LEGACY_INTERCEPTOR_FN");function SS(){return CS(_e.LegacyInterceptors,[{provide:sv,useFactory:mS},{provide:Od,useExisting:sv,multi:!0}])}var YB=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:[IS(SS())]})})(),t})();var kd=class extends Fa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},uo=class extends kd{static makeCurrent(){qy(new uo)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=MS();return r==null?null:AS(r)}resetBaseElement(){lo=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return La(document.cookie,e)}},lo=null;function MS(){return lo=lo||document.querySelector("base"),lo?lo.getAttribute("href"):null}var Ua;function AS(t){Ua=Ua||document.createElement("a"),Ua.setAttribute("href",t);let e=Ua.pathname;return e.charAt(0)==="/"?e:`/${e}`}var Ld=class{addToWindow(e){Ce.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new y(5103,!1);return o},Ce.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ce.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=Ce.getAllAngularTestabilities(),o=i.length,s=!1,a=function(c){s=s||c,o--,o==0&&n(s)};i.forEach(c=>{c.whenStable(a)})};Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?or().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},xS=(()=>{let e=class{build(){return new XMLHttpRequest}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),Ha=new E("EventManagerPlugins"),dv=(()=>{let e=class{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new y(5101,!1);return this._eventNameToPlugin.set(n,i),i}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ha),p(P))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),fo=class{constructor(e){this._doc=e}},Fd="ng-app-id",fv=(()=>{let e=class{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Md(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Fd}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(Fd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Fd,this.appId),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i);n.appendChild(o);let s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(Wr),p(Xi,8),p(Pt))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),Pd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Bd=/%COMP%/g,hv="%COMP%",RS=`_nghost-${hv}`,NS=`_ngcontent-${hv}`,OS=!1,FS=new E("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>OS});function PS(t){return NS.replace(Bd,t)}function kS(t){return RS.replace(Bd,t)}function pv(t,e){return e.map(r=>r.replace(Bd,t))}var za=(()=>{let e=class{constructor(n,i,o,s,a,c,l,u=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Md(c),this.defaultRenderer=new ho(n,a,l,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Fe.ShadowDom&&(i=me(D({},i),{encapsulation:Fe.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof Wa?o.applyToHost(n):o instanceof po&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Fe.Emulated:s=new Wa(l,u,i,this.appId,d,a,c,f);break;case Fe.ShadowDom:return new jd(l,u,n,i,a,c,this.nonce,f);default:s=new po(l,u,i,d,a,c,f);break}s.onDestroy=()=>o.delete(i.id),o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(dv),p(fv),p(Wr),p(FS),p(H),p(Pt),p(P),p(Xi))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),ho=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Pd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(lv(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(lv(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new y(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=Pd[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Pd[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Me.DashCase|Me.Important)?e.style.setProperty(r,n,i&Me.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Me.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e[r]=n}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=or().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function lv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var jd=class extends ho{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=pv(i.id,i.styles);for(let u of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},po=class extends ho{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.rendererUsageCount=0,this.styles=c?pv(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestroy&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,this.rendererUsageCount===0&&this.onDestroy?.())}},Wa=class extends po{constructor(e,r,n,i,o,s,a,c){let l=i+"-"+n.id;super(e,r,n,o,s,a,c,l),this.contentAttr=PS(l),this.hostAttr=kS(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},LS=(()=>{let e=class extends fo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),uv=["alt","control","meta","shift"],jS={"\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"},VS={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},BS=(()=>{let e=class extends fo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>or().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),uv.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=s,i.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(n,i){let o=jS[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),uv.forEach(a=>{if(a!==o){let c=VS[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){switch(n){case"esc":return"escape";default:return n}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function $S(){uo.makeCurrent()}function US(){return new Ve}function HS(){return sg(document),document}var zS=[{provide:Pt,useValue:Td},{provide:Ku,useValue:$S,multi:!0},{provide:H,useFactory:HS,deps:[]}],l2=pd(ky,"browser",zS),WS=new E(""),qS=[{provide:ro,useClass:Ld,deps:[]},{provide:fd,useClass:Ra,deps:[P,Na,ro]},{provide:Ra,useClass:Ra,deps:[P,Na,ro]}],GS=[{provide:ba,useValue:"root"},{provide:Ve,useFactory:US,deps:[]},{provide:Ha,useClass:LS,multi:!0,deps:[H,P,Pt]},{provide:Ha,useClass:BS,multi:!0,deps:[H]},za,fv,dv,{provide:Mt,useExisting:za},{provide:Xr,useClass:xS,deps:[]},[]],mv=(()=>{let e=class{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Wr,useValue:n.appId}]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(WS,12))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:[...GS,...qS],imports:[Sd,Ly]})})(),t})();function KS(){return new $d(p(H))}var $d=(()=>{let e=class{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:function(i){let o=null;return i?o=new i:o=KS(),o},providedIn:"root"})})(),t})();var ZS={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Vd=new E("HammerGestureConfig"),gv=new E("HammerLoader"),QS=(()=>{let e=class{constructor(){this.events=[],this.overrides={}}buildHammer(n){let i=new Hammer(n,this.options);i.get("pinch").set({enable:!0}),i.get("rotate").set({enable:!0});for(let o in this.overrides)i.get(o).set(this.overrides[o]);return i}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),YS=(()=>{let e=class extends fo{constructor(n,i,o,s){super(n),this._config=i,this.console=o,this.loader=s,this._loaderPromise=null}supports(n){return!(!ZS.hasOwnProperty(n.toLowerCase())&&!this.isCustomEvent(n)||!window.Hammer&&!this.loader)}addEventListener(n,i,o){let s=this.manager.getZone();if(i=i.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||s.runOutsideAngular(()=>this.loader());let a=!1,c=()=>{a=!0};return s.runOutsideAngular(()=>this._loaderPromise.then(()=>{if(!window.Hammer){c=()=>{};return}a||(c=this.addEventListener(n,i,o))}).catch(()=>{c=()=>{}})),()=>{c()}}return s.runOutsideAngular(()=>{let a=this._config.buildHammer(n),c=function(l){s.runGuarded(function(){o(l)})};return a.on(i,c),()=>{a.off(i,c),typeof a.destroy=="function"&&a.destroy()}})}isCustomEvent(n){return this._config.events.indexOf(n)>-1}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(Vd),p(Qr),p(gv,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),u2=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:[{provide:Ha,useClass:YS,multi:!0,deps:[H,Vd,Qr,[new Xn,gv]]},{provide:Vd,useClass:QS,deps:[]}]})})(),t})(),Ud=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=p(yv),o},providedIn:"root"})})(),t})();function XS(t){return new yv(t.get(H))}var yv=(()=>{let e=class extends Ud{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case Q.NONE:return i;case Q.HTML:return _n(i,"HTML")?Ft(i):gg(this._doc,String(i)).toString();case Q.STYLE:return _n(i,"Style")?Ft(i):i;case Q.SCRIPT:if(_n(i,"Script"))return Ft(i);throw new y(5200,!1);case Q.URL:return _n(i,"URL")?Ft(i):ya(String(i));case Q.RESOURCE_URL:if(_n(i,"ResourceURL"))return Ft(i);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(n){return ag(n)}bypassSecurityTrustStyle(n){return cg(n)}bypassSecurityTrustScript(n){return lg(n)}bypassSecurityTrustUrl(n){return ug(n)}bypassSecurityTrustResourceUrl(n){return dg(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:function(i){let o=null;return i?o=new i:o=XS(p(ft)),o},providedIn:"root"})})(),t})();function Vt(t){return t!=null&&`${t}`!="false"}function mo(t,e=0){return JS(t)?Number(t):e}function JS(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Hd(t){return Array.isArray(t)?t:[t]}function h2(t){return t==null?"":typeof t=="string"?t:`${t}px`}function pt(t){return t instanceof ae?t.nativeElement:t}var Wd;try{Wd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Wd=!1}var Ue=(()=>{let e=class{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Yy(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Wd)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Pt))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var go;function eT(){if(go==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>go=!0}))}finally{go=go||!1}return go}function ei(t){return eT()?t:!!t.capture}var ar;function _2(){if(ar==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ar=!1,ar;if("scrollBehavior"in document.documentElement.style)ar=!0;else{let t=Element.prototype.scrollTo;t?ar=!/\{\s*\[native code\]\s*\}/.test(t.toString()):ar=!1}}return ar}var zd;function tT(){if(zd==null){let t=typeof document<"u"?document.head:null;zd=!!(t&&(t.createShadowRoot||t.attachShadow))}return zd}function bv(t){if(tT()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function nT(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Cn(t){return t.composedPath?t.composedPath()[0]:t.target}function _v(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var rT=new E("cdk-dir-doc",{providedIn:"root",factory:iT});function iT(){return w(H)}var oT=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function sT(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?oT.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var x2=(()=>{let e=class{constructor(n){if(this.value="ltr",this.change=new ie,n){let i=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=sT(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(rT,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var ti=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})();var wv=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,n=!0,i){this._multiple=e,this._emitChanges=n,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new z,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!n.has(o)).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e){if(this.compareWith){for(let r of this._selection)if(this.compareWith(e,r))return r;return e}else return e}};var aT=20,B2=(()=>{let e=class{constructor(n,i,o){this._ngZone=n,this._platform=i,this._scrolled=new z,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=aT){return this._platform.isBrowser?new R(i=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(gs(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):C()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){let o=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(fe(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let o=pt(i),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return Ei(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(P),p(Ue),p(H,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var cT=20,$2=(()=>{let e=class{constructor(n,i,o){this._platform=n,this._change=new z,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,i=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||i.scrollY||o.scrollTop||0,c=-s.left||n.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(n=cT){return n>0?this._change.pipe(gs(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue),p(P),p(H,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var Dv=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})(),U2=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[ti,Dv,ti,Dv]})})(),t})();function Ga(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Ev=(()=>{let e=class{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),lT=(()=>{let e=class{constructor(n){this._mutationObserverFactory=n,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((n,i)=>this._cleanupObserver(i))}observe(n){let i=pt(n);return new R(o=>{let a=this._observeElement(i).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{let i=new z,o=this._mutationObserverFactory.create(s=>i.next(s));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:i,count:1})}return this._observedElements.get(n).stream}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){let{observer:i,stream:o}=this._observedElements.get(n);i&&i.disconnect(),o.complete(),this._observedElements.delete(n)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ev))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),e$=(()=>{let e=class{get disabled(){return this._disabled}set disabled(n){this._disabled=Vt(n),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(n){this._debounce=mo(n),this._subscribe()}constructor(n,i,o){this._contentObserver=n,this._elementRef=i,this._ngZone=o,this.event=new ie,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let n=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?n.pipe(dn(this.debounce)):n).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(lT),S(ae),S(P))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})})(),t})(),Cv=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:[Ev]})})(),t})();var Iv=new Set,cr,uT=(()=>{let e=class{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fT}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&dT(n,this._nonce),this._matchMedia(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue),p(Xi,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function dT(t,e){if(!Iv.has(t))try{cr||(cr=document.createElement("style"),e&&(cr.nonce=e),cr.setAttribute("type","text/css"),document.head.appendChild(cr)),cr.sheet&&(cr.sheet.insertRule(`@media ${t} {body{ }}`,0),Iv.add(t))}catch(r){console.error(r)}}function fT(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Tv=(()=>{let e=class{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new z}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Sv(Hd(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=Sv(Hd(n)).map(a=>this._registerQuery(a).observable),s=kn(o);return s=Ge(s.pipe(ve(1)),s.pipe(Mr(1),dn(0))),s.pipe(O(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:u})=>{c.matches=c.matches||l,c.breakpoints[u]=l}),c}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new R(a=>{let c=l=>this._zone.run(()=>a.next(l));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Zt(i),O(({matches:a})=>({query:n,matches:a})),jn(this._destroySubject)),mql:i};return this._queries.set(n,s),s}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(uT),p(P))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Sv(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var u$={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 Fv=" ";function RT(t,e,r){let n=Qa(t,e);n.some(i=>i.trim()==r.trim())||(n.push(r.trim()),t.setAttribute(e,n.join(Fv)))}function NT(t,e,r){let i=Qa(t,e).filter(o=>o!=r.trim());i.length?t.setAttribute(e,i.join(Fv)):t.removeAttribute(e)}function Qa(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var Pv="cdk-describedby-message",Ka="cdk-describedby-host",Kd=0,M$=(()=>{let e=class{constructor(n,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Kd++}`,this._document=n,this._id=w(Wr)+"-"+Kd++}describe(n,i,o){if(!this._canBeDescribed(n,i))return;let s=qd(i,o);typeof i!="string"?(Mv(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,i,o){if(!i||!this._isElementNode(n))return;let s=qd(i,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof i=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${Ka}="${this._id}"]`);for(let i=0;io.indexOf(Pv)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let o=this._messageRegistry.get(i);RT(n,"aria-describedby",o.messageElement.id),n.setAttribute(Ka,this._id),o.referenceCount++}_removeMessageReference(n,i){let o=this._messageRegistry.get(i);o.referenceCount--,NT(n,"aria-describedby",o.messageElement.id),n.removeAttribute(Ka)}_isElementDescribedByMessage(n,i){let o=Qa(n,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(Ue))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function qd(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function Mv(t,e){t.id||(t.id=`${Pv}-${e}-${Kd++}`)}var Ya=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new z,this._typeaheadSubscription=X.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=r=>r.disabled,this._pressedLetters=[],this.tabOut=new z,this.change=new z,e instanceof vn&&(this._itemChangesSubscription=e.changes.subscribe(r=>{if(this._activeItem){let i=r.toArray().indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ne(r=>this._pressedLetters.push(r)),dn(e),fe(()=>this._pressedLetters.length>0),O(()=>this._pressedLetters.join(""))).subscribe(r=>{let n=this._getItemsArray();for(let i=1;i!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){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=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),n=typeof e=="number"?e:r.indexOf(e),i=r[n];this._activeItem=i??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let n=1;n<=r.length;n++){let i=(this._activeItemIndex+e*n+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=r,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof vn?this._items.toArray():this._items}},Av=class extends Ya{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},xv=class extends Ya{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var OT=(()=>{let e=class{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return PT(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let i=FT(HT(n));if(i&&(Rv(i)===-1||!this.isVisible(i)))return!1;let o=n.nodeName.toLowerCase(),s=Rv(n);return n.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!$T(n)?!1:o==="audio"?n.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,i){return UT(n)&&!this.isDisabled(n)&&(i?.ignoreVisibility||this.isVisible(n))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function FT(t){try{return t.frameElement}catch{return null}}function PT(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function kT(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function LT(t){return VT(t)&&t.type=="hidden"}function jT(t){return BT(t)&&t.hasAttribute("href")}function VT(t){return t.nodeName.toLowerCase()=="input"}function BT(t){return t.nodeName.toLowerCase()=="a"}function kv(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function Rv(t){if(!kv(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function $T(t){let e=t.nodeName.toLowerCase(),r=e==="input"&&t.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function UT(t){return LT(t)?!1:kT(t)||jT(t)||t.hasAttribute("contenteditable")||kv(t)}function HT(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Zd=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,r,n,i,o=!1){this._element=e,this._checker=r,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let n=this._getFirstTabbableElement(r);return n?.focus(e),!!n}return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let n=0;n=0;n--){let i=r[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[n]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(ve(1)).subscribe(e)}},A$=(()=>{let e=class{constructor(n,i,o){this._checker=n,this._ngZone=i,this._document=o}create(n,i=!1){return new Zd(n,this._checker,this._ngZone,this._document,i)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(OT),p(P),p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Qd(t){return t.buttons===0||t.offsetX===0&&t.offsetY===0}function Yd(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var zT=new E("cdk-input-modality-detector-options"),WT={ignoreKeys:[18,17,224,91,16]},Lv=650,ni=ei({passive:!0,capture:!0}),qT=(()=>{let e=class{get mostRecentModality(){return this._modality.value}constructor(n,i,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new ge(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Cn(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Yd(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Cn(a)},this._options=D(D({},WT),s),this.modalityDetected=this._modality.pipe(Mr(1)),this.modalityChanged=this.modalityDetected.pipe(Ln()),n.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,ni),o.addEventListener("mousedown",this._onMousedown,ni),o.addEventListener("touchstart",this._onTouchstart,ni)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ni),document.removeEventListener("mousedown",this._onMousedown,ni),document.removeEventListener("touchstart",this._onTouchstart,ni))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue),p(P),p(H),p(zT,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),GT=new E("liveAnnouncerElement",{providedIn:"root",factory:KT});function KT(){return null}var ZT=new E("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),QT=0,x$=(()=>{let e=class{constructor(n,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...i){let o=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),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 n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{e.\u0275fac=function(i){return new(i||e)(p(GT,8),p(P),p(H),p(ZT,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var YT=new E("cdk-focus-monitor-default-options"),Za=ei({passive:!0,capture:!0}),Xd=(()=>{let e=class{constructor(n,i,o,s,a){this._ngZone=n,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new z,this._rootNodeFocusAndBlurListener=c=>{let l=Cn(c);for(let u=l;u;u=u.parentElement)c.type==="focus"?this._onFocus(c,u):this._onBlur(c,u)},this._document=s,this._detectionMode=a?.detectionMode||0}monitor(n,i=!1){let o=pt(n);if(!this._platform.isBrowser||o.nodeType!==1)return C();let s=bv(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let c={checkChildren:i,subject:new z,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let i=pt(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){let s=pt(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,l])=>this._originChanged(c,i,l)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===1||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===0){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Lv:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,i){let o=this._elementInfo.get(i),s=Cn(n);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(n,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Za),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Za)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(jn(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Za),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Za),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a{e.\u0275fac=function(i){return new(i||e)(p(P),p(Ue),p(qT),p(H,8),p(YT,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var Nv="cdk-high-contrast-black-on-white",Ov="cdk-high-contrast-white-on-black",Gd="cdk-high-contrast-active",Jd=(()=>{let e=class{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=w(Tv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Gd,Nv,Ov),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===1?n.add(Gd,Nv):i===2&&n.add(Gd,Ov)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue),p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),R$=(()=>{let e=class{constructor(n){n._applyBodyHighContrastModeCssClasses()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Jd))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[Cv]})})(),t})();var yo=class{},Xa=class{},Bt="*";function O$(t,e){return{type:7,name:t,definitions:e,options:{}}}function F$(t,e=null){return{type:4,styles:e,timings:t}}function P$(t,e=null){return{type:3,steps:t,options:e}}function Ja(t,e=null){return{type:2,steps:t,options:e}}function ef(t){return{type:6,styles:t,offset:null}}function k$(t,e,r){return{type:0,name:t,styles:e,options:r}}function L$(t,e,r=null){return{type:1,expr:t,animation:e,options:r}}function j$(t,e=null){return{type:8,animation:t,options:e}}function V$(t=null){return{type:9,options:t}}function B$(t,e=null){return{type:10,animation:t,options:e}}function $$(t,e,r=null){return{type:11,selector:t,animation:e,options:r}}function U$(t,e){return{type:12,timings:t,animation:e}}var In=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},vo=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==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(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},ec="!";function Vv(t){return new y(3e3,!1)}function XT(){return new y(3100,!1)}function JT(){return new y(3101,!1)}function eM(t){return new y(3001,!1)}function tM(t){return new y(3003,!1)}function nM(t){return new y(3004,!1)}function rM(t,e){return new y(3005,!1)}function iM(){return new y(3006,!1)}function oM(){return new y(3007,!1)}function sM(t,e){return new y(3008,!1)}function aM(t){return new y(3002,!1)}function cM(t,e,r,n,i){return new y(3010,!1)}function lM(){return new y(3011,!1)}function uM(){return new y(3012,!1)}function dM(){return new y(3200,!1)}function fM(){return new y(3202,!1)}function hM(){return new y(3013,!1)}function pM(t){return new y(3014,!1)}function mM(t){return new y(3015,!1)}function gM(t){return new y(3016,!1)}function yM(t,e){return new y(3404,!1)}function vM(t){return new y(3502,!1)}function bM(t){return new y(3503,!1)}function _M(){return new y(3300,!1)}function wM(t){return new y(3504,!1)}function DM(t){return new y(3301,!1)}function EM(t,e){return new y(3302,!1)}function CM(t){return new y(3303,!1)}function IM(t,e){return new y(3400,!1)}function SM(t){return new y(3401,!1)}function TM(t){return new y(3402,!1)}function MM(t,e){return new y(3505,!1)}function Sn(t){switch(t.length){case 0:return new In;case 1:return t[0];default:return new vo(t)}}function Jv(t,e,r=new Map,n=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(c=>{let l=c.get("offset"),u=l==s,d=u&&a||new Map;c.forEach((f,h)=>{let m=h,g=f;if(h!=="offset")switch(m=t.normalizePropertyName(m,i),g){case ec:g=r.get(h);break;case Bt:g=n.get(h);break;default:g=t.normalizeStyleValue(h,m,g,i);break}d.set(m,g)}),u||o.push(d),a=d,s=l}),i.length)throw vM(i);return o}function wf(t,e,r,n){switch(e){case"start":t.onStart(()=>n(r&&tf(r,"start",t)));break;case"done":t.onDone(()=>n(r&&tf(r,"done",t)));break;case"destroy":t.onDestroy(()=>n(r&&tf(r,"destroy",t)));break}}function tf(t,e,r){let n=r.totalTime,i=!!r.disabled,o=Df(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function Df(t,e,r,n,i="",o=0,s){return{element:t,triggerName:e,fromState:r,toState:n,phaseName:i,totalTime:o,disabled:!!s}}function ze(t,e,r){let n=t.get(e);return n||t.set(e,n=r),n}function Bv(t){let e=t.indexOf(":"),r=t.substring(1,e),n=t.slice(e+1);return[r,n]}var AM=(()=>typeof document>"u"?null:document.documentElement)();function Ef(t){let e=t.parentNode||t.host||null;return e===AM?null:e}function xM(t){return t.substring(1,6)=="ebkit"}var lr=null,$v=!1;function RM(t){lr||(lr=NM()||{},$v=lr.style?"WebkitAppearance"in lr.style:!1);let e=!0;return lr.style&&!xM(t)&&(e=t in lr.style,!e&&$v&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in lr.style)),e}function NM(){return typeof document<"u"?document.body:null}function eb(t,e){for(;e;){if(e===t)return!0;e=Ef(e)}return!1}function tb(t,e,r){if(r)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}var Cf=(()=>{let e=class{validateStyleProperty(n){return RM(n)}matchesElement(n,i){return!1}containsElement(n,i){return eb(n,i)}getParentElement(n){return Ef(n)}query(n,i,o){return tb(n,i,o)}computeStyle(n,i,o){return o||""}animate(n,i,o,s,a,c=[],l){return new In(o,s)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),So=(()=>{let e=class{},t=e;return(()=>{e.NOOP=new Cf})(),t})(),OM=1e3,nb="{{",FM="}}",rb="ng-enter",cf="ng-leave",tc="ng-trigger",oc=".ng-trigger",Uv="ng-animating",lf=".ng-animating";function sn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:uf(parseFloat(e[1]),e[2])}function uf(t,e){switch(e){case"s":return t*OM;default:return t}}function sc(t,e,r){return t.hasOwnProperty("duration")?t:PM(t,e,r)}function PM(t,e,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(Vv(t)),{duration:0,delay:0,easing:""};i=uf(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=uf(parseFloat(c),a[4]));let l=a[5];l&&(s=l)}else i=t;if(!r){let a=!1,c=e.length;i<0&&(e.push(XT()),a=!0),o<0&&(e.push(JT()),a=!0),a&&e.splice(c,0,Vv(t))}return{duration:i,delay:o,easing:s}}function To(t,e={}){return Object.keys(t).forEach(r=>{e[r]=t[r]}),e}function ib(t){let e=new Map;return Object.keys(t).forEach(r=>{let n=t[r];e.set(r,n)}),e}function kM(t){return t.length?t[0]instanceof Map?t:t.map(e=>ib(e)):[]}function ii(t,e=new Map,r){if(r)for(let[n,i]of r)e.set(n,i);for(let[n,i]of t)e.set(n,i);return e}function $t(t,e,r){e.forEach((n,i)=>{let o=If(i);r&&!r.has(i)&&r.set(i,t.style[o]),t.style[o]=n})}function dr(t,e){e.forEach((r,n)=>{let i=If(n);t.style[i]=""})}function bo(t){return Array.isArray(t)?t.length==1?t[0]:Ja(t):t}function LM(t,e,r){let n=e.params||{},i=ob(t);i.length&&i.forEach(o=>{n.hasOwnProperty(o)||r.push(eM(o))})}var df=new RegExp(`${nb}\\s*(.+?)\\s*${FM}`,"g");function ob(t){let e=[];if(typeof t=="string"){let r;for(;r=df.exec(t);)e.push(r[1]);df.lastIndex=0}return e}function wo(t,e,r){let n=t.toString(),i=n.replace(df,(o,s)=>{let a=e[s];return a==null&&(r.push(tM(s)),a=""),a.toString()});return i==n?t:i}function ac(t){let e=[],r=t.next();for(;!r.done;)e.push(r.value),r=t.next();return e}var jM=/-+([a-z0-9])/g;function If(t){return t.replace(jM,(...e)=>e[1].toUpperCase())}function VM(t,e){return t===0||e===0}function BM(t,e,r){if(r.size&&e.length){let n=e[0],i=[];if(r.forEach((o,s)=>{n.has(s)||i.push(s),n.set(s,o)}),i.length)for(let o=1;os.set(a,sb(t,a)))}}return e}function He(t,e,r){switch(e.type){case 7:return t.visitTrigger(e,r);case 0:return t.visitState(e,r);case 1:return t.visitTransition(e,r);case 2:return t.visitSequence(e,r);case 3:return t.visitGroup(e,r);case 4:return t.visitAnimate(e,r);case 5:return t.visitKeyframes(e,r);case 6:return t.visitStyle(e,r);case 8:return t.visitReference(e,r);case 9:return t.visitAnimateChild(e,r);case 10:return t.visitAnimateRef(e,r);case 11:return t.visitQuery(e,r);case 12:return t.visitStagger(e,r);default:throw nM(e.type)}}function sb(t,e){return window.getComputedStyle(t)[e]}var cc="*";function $M(t,e){let r=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>UM(n,r,e)):r.push(t),r}function UM(t,e,r){if(t[0]==":"){let c=HM(t,r);if(typeof c=="function"){e.push(c);return}t=c}let n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(mM(t)),e;let i=n[1],o=n[2],s=n[3];e.push(Hv(i,s));let a=i==cc&&s==cc;o[0]=="<"&&!a&&e.push(Hv(s,i))}function HM(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n) *"}}var nc=new Set(["true","1"]),rc=new Set(["false","0"]);function Hv(t,e){let r=nc.has(t)||rc.has(t),n=nc.has(e)||rc.has(e);return(i,o)=>{let s=t==cc||t==i,a=e==cc||e==o;return!s&&r&&typeof i=="boolean"&&(s=i?nc.has(t):rc.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?nc.has(e):rc.has(e)),s&&a}}var ab=":self",zM=new RegExp(`s*${ab}s*,?`,"g");function cb(t,e,r,n){return new ff(t).build(e,r,n)}var zv="",ff=class{constructor(e){this._driver=e}build(e,r,n){let i=new hf(r);return this._resetContextStyleTimingState(i),He(this,bo(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=zv,e.collectedStyles=new Map,e.collectedStyles.set(zv,new Map),e.currentTime=0}visitTrigger(e,r){let n=r.queryCount=0,i=r.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&r.errors.push(iM()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==0){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,o.push(this.visitState(c,r))}),c.name=l}else if(a.type==1){let c=this.visitTransition(a,r);n+=c.queryCount,i+=c.depCount,s.push(c)}else r.errors.push(oM())}),{type:7,name:e.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(e,r){let n=this.visitStyle(e.styles,r),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=i||{};if(n.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{ob(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size){let a=ac(o.values());r.errors.push(sM(e.name,a))}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let n=He(this,bo(e.animation),r);return{type:1,matchers:$M(e.expr,r.errors),animation:n,queryCount:r.queryCount,depCount:r.depCount,options:ur(e.options)}}visitSequence(e,r){return{type:2,steps:e.steps.map(n=>He(this,n,r)),options:ur(e.options)}}visitGroup(e,r){let n=r.currentTime,i=0,o=e.steps.map(s=>{r.currentTime=n;let a=He(this,s,r);return i=Math.max(i,r.currentTime),a});return r.currentTime=i,{type:3,steps:o,options:ur(e.options)}}visitAnimate(e,r){let n=KM(e.timings,r.errors);r.currentAnimateTimings=n;let i,o=e.styles?e.styles:ef({});if(o.type==5)i=this.visitKeyframes(o,r);else{let s=e.styles,a=!1;if(!s){a=!0;let l={};n.easing&&(l.easing=n.easing),s=ef(l)}r.currentTime+=n.duration+n.delay;let c=this.visitStyle(s,r);c.isEmptyStep=a,i=c}return r.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,r){let n=this._makeStyleAst(e,r);return this._validateStyleAst(n,r),n}_makeStyleAst(e,r){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===Bt?n.push(a):r.errors.push(aM(a)):n.push(ib(a));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let c of a.values())if(c.toString().indexOf(nb)>=0){o=!0;break}}}),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let n=r.currentAnimateTimings,i=r.currentTime,o=r.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let l=r.collectedStyles.get(r.currentQuerySelector),u=l.get(c),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(r.errors.push(cM(c,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&l.set(c,{startTime:o,endTime:i}),r.options&&LM(a,r.options,r.errors)})})}visitKeyframes(e,r){let n={type:5,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(lM()),n;let i=1,o=0,s=[],a=!1,c=!1,l=0,u=e.steps.map(b=>{let k=this._makeStyleAst(b,r),Y=k.offset!=null?k.offset:GM(k.styles),L=0;return Y!=null&&(o++,L=k.offset=Y),c=c||L<0||L>1,a=a||L0&&o{let Y=f>0?k==h?1:f*k:s[k],L=Y*_;r.currentTime=m+g.delay+L,g.duration=L,this._validateStyleAst(b,r),b.offset=Y,n.styles.push(b)}),n}visitReference(e,r){return{type:8,animation:He(this,bo(e.animation),r),options:ur(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:9,options:ur(e.options)}}visitAnimateRef(e,r){return{type:10,animation:this.visitReference(e.animation,r),options:ur(e.options)}}visitQuery(e,r){let n=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=WM(e.selector);r.currentQuerySelector=n.length?n+" "+o:o,ze(r.collectedStyles,r.currentQuerySelector,new Map);let a=He(this,bo(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:ur(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(hM());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:sc(e.timings,r.errors,!0);return{type:12,animation:He(this,bo(e.animation),r),timings:n,options:null}}};function WM(t){let e=!!t.split(/\s*,\s*/).find(r=>r==ab);return e&&(t=t.replace(zM,"")),t=t.replace(/@\*/g,oc).replace(/@\w+/g,r=>oc+"-"+r.slice(1)).replace(/:animating/g,lf),[t,e]}function qM(t){return t?To(t):null}var hf=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function GM(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function KM(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=sc(t,e).duration;return nf(o,0,"")}let r=t;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=nf(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=sc(r,e);return nf(i.duration,i.delay,i.easing)}function ur(t){return t?(t=To(t),t.params&&(t.params=qM(t.params))):t={},t}function nf(t,e,r){return{duration:t,delay:e,easing:r}}function Sf(t,e,r,n,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:r,postStyleProps:n,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var Do=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,r){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},ZM=1,QM=":enter",YM=new RegExp(QM,"g"),XM=":leave",JM=new RegExp(XM,"g");function lb(t,e,r,n,i,o=new Map,s=new Map,a,c,l=[]){return new pf().buildKeyframes(t,e,r,n,i,o,s,a,c,l)}var pf=class{buildKeyframes(e,r,n,i,o,s,a,c,l,u=[]){l=l||new Do;let d=new Eo(e,r,l,i,o,u,[]);d.options=c;let f=c.delay?sn(c.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,c),He(this,n,d);let h=d.timelines.filter(m=>m.containsAnimation());if(h.length&&a.size){let m;for(let g=h.length-1;g>=0;g--){let _=h[g];if(_.element===r){m=_;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,c)}return h.length?h.map(m=>m.buildKeyframes()):[Sf(r,[],[],[],0,f,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let n=r.subInstructions.get(r.element);if(n){let i=r.createSubContext(e.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=e}visitAnimateRef(e,r){let n=r.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,n),this.visitReference(e.animation,n),r.transformIntoNewTimeline(n.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,n){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:sn(wo(o,i?.params??{},r.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,r,n){let o=r.currentTimeline.currentTime,s=n.duration!=null?sn(n.duration):null,a=n.delay!=null?sn(n.delay):null;return s!==0&&e.forEach(c=>{let l=r.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),He(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let n=r.subContextCount,i=r,o=e.options;if(o&&(o.params||o.delay)&&(i=r.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==6&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=lc);let s=sn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>He(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let n=[],i=r.currentTimeline.currentTime,o=e.options&&e.options.delay?sn(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),He(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>r.currentTimeline.mergeTimelineCollectedStyles(s)),r.transformIntoNewTimeline(i),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let n=e.strValue,i=r.params?wo(n,r.params,r.errors):n;return sc(i,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let n=r.currentAnimateTimings=this._visitTiming(e.timings,r),i=r.currentTimeline;n.delay&&(r.incrementTime(n.delay),i.snapshotCurrentStyles());let o=e.style;o.type==5?this.visitKeyframes(o,r):(r.incrementTime(n.duration),this.visitStyle(o,r),i.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let n=r.currentTimeline,i=r.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let n=r.currentAnimateTimings,i=r.currentTimeline.duration,o=n.duration,a=r.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*o),a.setStyles(c.styles,c.easing,r.errors,r.options),a.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(a),r.transformIntoNewTimeline(i+o),r.previousNode=e}visitQuery(e,r){let n=r.currentTimeline.currentTime,i=e.options||{},o=i.delay?sn(i.delay):0;o&&(r.previousNode.type===6||n==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=lc);let s=n,a=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,r.errors);r.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{r.currentQueryIndex=u;let d=r.createSubContext(e.options,l);o&&d.delayNextStep(o),l===r.element&&(c=d.currentTimeline),He(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let f=d.currentTimeline.currentTime;s=Math.max(s,f)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(s),c&&(r.currentTimeline.mergeTimelineCollectedStyles(c),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let n=r.parentContext,i=r.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(r.currentQueryTotal-1),c=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=n.currentStaggerTime;break}let u=r.currentTimeline;c&&u.delayNextStep(c);let d=u.currentTime;He(this,e.animation,r),r.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},lc={},Eo=class{constructor(e,r,n,i,o,s,a,c){this._driver=e,this.element=r,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=lc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new oi(this._driver,r,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let n=e,i=this.options;n.duration!=null&&(i.duration=sn(n.duration)),n.delay!=null&&(i.delay=sn(n.delay));let o=n.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!r||!s.hasOwnProperty(a))&&(s[a]=wo(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let n=e.params={};Object.keys(r).forEach(i=>{n[i]=r[i]})}}return e}createSubContext(e=null,r,n){let i=r||this.element,o=new Eo(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=lc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,n){let i={duration:r??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new mf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,n,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(YM,"."+this._enterClassName),e=e.replace(JM,"."+this._leaveClassName);let c=n!=1,l=this._driver.query(this.element,e,c);n!==0&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),a.push(...l)}return!o&&a.length==0&&s.push(pM(r)),a}},oi=class{constructor(e,r,n,i){this._driver=e,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,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(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new oi(this._driver,e,r||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+=ZM,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||Bt),this._currentKeyframe.set(r,Bt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,n,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},s=eA(e,this._globalTimelineStyles);for(let[a,c]of s){let l=wo(c,o,n);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Bt),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,n)=>{let i=this._styleSummary.get(n);(!i||r.time>i.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let l=ii(a,new Map,this._backFill);l.forEach((u,d)=>{u===ec?e.add(d):u===Bt&&r.add(d)}),n||l.set("offset",c/this.duration),i.push(l)});let o=e.size?ac(e.values()):[],s=r.size?ac(r.values()):[];if(n){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return Sf(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},mf=class extends oi{constructor(e,r,n,i,o,s,a=!1){super(e,r,s.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],s=n+r,a=r/s,c=ii(e[0]);c.set("offset",0),o.push(c);let l=ii(e[0]);l.set("offset",Wv(a)),o.push(l);let u=e.length-1;for(let d=1;d<=u;d++){let f=ii(e[d]),h=f.get("offset"),m=r+h*n;f.set("offset",Wv(m/s)),o.push(f)}n=s,r=0,i="",e=o}return Sf(this.element,e,this.preStyleProps,this.postStyleProps,n,r,i,!0)}};function Wv(t,e=3){let r=Math.pow(10,e-1);return Math.round(t*r)/r}function eA(t,e){let r=new Map,n;return t.forEach(i=>{if(i==="*"){n=n||e.keys();for(let o of n)r.set(o,Bt)}else ii(i,r)}),r}var fr=class{};var tA=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"]),uc=class extends fr{normalizePropertyName(e,r){return If(e)}normalizeStyleValue(e,r,n,i){let o="",s=n.toString().trim();if(tA.has(r)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(rM(e,n))}return s+o}};function qv(t,e,r,n,i,o,s,a,c,l,u,d,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:r,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:f}}var rf={},dc=class{constructor(e,r,n){this._triggerName=e,this.ast=r,this._stateStyles=n}match(e,r,n,i){return nA(this.ast.matchers,e,r,n,i)}buildStyles(e,r,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(r,n):new Map}build(e,r,n,i,o,s,a,c,l,u){let d=[],f=this.ast.options&&this.ast.options.params||rf,h=a&&a.params||rf,m=this.buildStyles(n,h,d),g=c&&c.params||rf,_=this.buildStyles(i,g,d),b=new Set,k=new Map,Y=new Map,L=i==="void",ue={params:rA(g,f),delay:this.ast.options?.delay},ce=u?[]:lb(e,r,this.ast.animation,o,s,m,_,ue,l,d),de=0;if(ce.forEach(it=>{de=Math.max(it.duration+it.delay,de)}),d.length)return qv(r,this._triggerName,n,i,L,m,_,[],[],k,Y,de,d);ce.forEach(it=>{let zt=it.element,gh=ze(k,zt,new Set);it.preStyleProps.forEach(xn=>gh.add(xn));let yi=ze(Y,zt,new Set);it.postStyleProps.forEach(xn=>yi.add(xn)),zt!==r&&b.add(zt)});let rt=ac(b.values());return qv(r,this._triggerName,n,i,L,m,_,ce,rt,k,Y,de)}};function nA(t,e,r,n,i){return t.some(o=>o(e,r,n,i))}function rA(t,e){let r=To(e);for(let n in t)t.hasOwnProperty(n)&&t[n]!=null&&(r[n]=t[n]);return r}var gf=class{constructor(e,r,n){this.styles=e,this.defaultParams=r,this.normalizer=n}buildStyles(e,r){let n=new Map,i=To(this.defaultParams);return Object.keys(e).forEach(o=>{let s=e[o];s!==null&&(i[o]=s)}),this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=wo(s,i,r));let c=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,c,s,r),n.set(a,s)})}),n}};function iA(t,e,r){return new yf(t,e,r)}var yf=class{constructor(e,r,n){this.name=e,this.ast=r,this._normalizer=n,this.transitionFactories=[],this.states=new Map,r.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new gf(i.style,o,n))}),Gv(this.states,"true","1"),Gv(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new dc(e,i,this.states))}),this.fallbackTransition=oA(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,n,i){return this.transitionFactories.find(s=>s.match(e,r,n,i))||null}matchStyles(e,r,n){return this.fallbackTransition.buildStyles(e,r,n)}};function oA(t,e,r){let o={type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0};return new dc(t,o,e)}function Gv(t,e,r){t.has(e)?t.has(r)||t.set(r,t.get(e)):t.has(r)&&t.set(e,t.get(r))}var sA=new Do,vf=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,r){let n=[],i=[],o=cb(this._driver,r,n,i);if(n.length)throw bM(n);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,n){let i=e.element,o=Jv(this._normalizer,e.keyframes,r,n);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,n={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=lb(this._driver,r,o,rb,cf,new Map,new Map,n,sA,i),s.forEach(u=>{let d=ze(a,u.element,new Map);u.postStyleProps.forEach(f=>d.set(f,null))})):(i.push(_M()),s=[]),i.length)throw wM(i);a.forEach((u,d)=>{u.forEach((f,h)=>{u.set(h,this._driver.computeStyle(d,h,Bt))})});let c=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),l=Sn(c);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let n=this.players.indexOf(r);n>=0&&this.players.splice(n,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw DM(e);return r}listen(e,r,n,i){let o=Df(r,"","","");return wf(this._getPlayer(e),n,o,i),()=>{}}command(e,r,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let s=i[0]||{};this.create(e,r,s);return}let o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Kv="ng-animate-queued",aA=".ng-animate-queued",of="ng-animate-disabled",cA=".ng-animate-disabled",lA="ng-star-inserted",uA=".ng-star-inserted",dA=[],ub={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},fA={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},et="__ng_removed",Co=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=pA(i),n){let o=To(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let n=this.options.params;Object.keys(r).forEach(i=>{n[i]==null&&(n[i]=r[i])})}}},_o="void",sf=new Co(_o),bf=class{constructor(e,r,n){this.id=e,this.hostElement=r,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,tt(r,this._hostClassName)}listen(e,r,n,i){if(!this._triggers.has(r))throw EM(n,r);if(n==null||n.length==0)throw CM(r);if(!mA(n))throw IM(n,r);let o=ze(this._elementListeners,e,[]),s={name:r,phase:n,callback:i};o.push(s);let a=ze(this._engine.statesByElement,e,new Map);return a.has(r)||(tt(e,tc),tt(e,tc+"-"+r),a.set(r,sf)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(r)||a.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw SM(e);return r}trigger(e,r,n,i=!0){let o=this._getTrigger(r),s=new Io(this.id,r,e),a=this._engine.statesByElement.get(e);a||(tt(e,tc),tt(e,tc+"-"+r),this._engine.statesByElement.set(e,a=new Map));let c=a.get(r),l=new Co(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(r,l),c||(c=sf),!(l.value===_o)&&c.value===l.value){if(!vA(c.params,l.params)){let g=[],_=o.matchStyles(c.value,c.params,g),b=o.matchStyles(l.value,l.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{dr(e,_),$t(e,b)})}return}let f=ze(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==r&&g.queued&&g.destroy()});let h=o.matchTransition(c.value,l.value,e,l.params),m=!1;if(!h){if(!i)return;h=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:h,fromState:c,toState:l,player:s,isFallbackTransition:m}),m||(tt(e,Kv),s.onStart(()=>{ri(e,Kv)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);let _=this._engine.playersByElement.get(e);if(_){let b=_.indexOf(s);b>=0&&_.splice(b,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,n)=>{this._elementListeners.set(n,r.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let n=this._engine.driver.query(e,oc,!0);n.forEach(i=>{if(i[et])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,r,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,r,n,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let u=this.trigger(e,l,_o,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),n&&Sn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(r&&n){let i=new Set;r.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,l=n.get(s)||sf,u=new Co(_o),d=new Io(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,r){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let i=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,r);else{let o=e[et];(!o||o===ub)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,r))}}insertNode(e,r){tt(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let c=Df(o,n.triggerName,n.fromState.value,n.toState.value);c._data=e,wf(n.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):r.push(n)}),this._queue=[],r.sort((n,i)=>{let o=n.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let r=!1;return this._elementListeners.has(e)&&(r=!0),r=!!this._queue.find(n=>n.element===e)||r,r}},_f=class{_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,n){this.bodyNode=e,this.driver=r,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,r){let n=new bf(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(n,r):(this.newHostElements.set(r,n),this.collectEnterElement(r)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,r){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(r);for(;a;){let c=i.get(a);if(c){let l=n.indexOf(c);n.splice(l+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return i.set(r,e),e}register(e,r){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,r)),n}registerTrigger(e,r,n){let i=this._namespaceLookup[e];i&&i.register(r,n)&&this.totalAnimations++}destroy(e,r){if(!e)return;let n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>n.destroy(r))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&r.add(o)}}return r}trigger(e,r,n,i){if(ic(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,n,i),!0}return!1}insertNode(e,r,n,i){if(!ic(r))return;let o=r[et];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(r,n)}i&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),tt(e,of)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ri(e,of))}removeNode(e,r,n){if(ic(r)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(r,n):this.markElementAsRemoved(e,r,!1,n);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,n)}else this._onRemovalComplete(r,n)}markElementAsRemoved(e,r,n,i,o){this.collectedLeaveElements.push(r),r[et]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,n,i,o){return ic(r)?this._fetchNamespace(e).listen(r,n,i,o):()=>{}}_buildInstruction(e,r,n,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,oc,!0);r.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,lf,!0),r.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Sn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let r=e[et];if(r&&r.setForRemoval){if(e[et]=ub,r.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(r.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}e.classList?.contains(of)&&this.markElementAsDisabled(e,!1),this.driver.query(e,cA,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],r.length?Sn(r).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw TM(e)}_flushAnimations(e,r){let n=new Do,i=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(I=>{u.add(I);let x=this.driver.query(I,aA,!0);for(let F=0;F{let F=rb+g++;m.set(x,F),I.forEach(q=>tt(q,F))});let _=[],b=new Set,k=new Set;for(let I=0;Ib.add(q)):k.add(x))}let Y=new Map,L=Yv(f,Array.from(b));L.forEach((I,x)=>{let F=cf+g++;Y.set(x,F),I.forEach(q=>tt(q,F))}),e.push(()=>{h.forEach((I,x)=>{let F=m.get(x);I.forEach(q=>ri(q,F))}),L.forEach((I,x)=>{let F=Y.get(x);I.forEach(q=>ri(q,F))}),_.forEach(I=>{this.processLeaveNode(I)})});let ue=[],ce=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(r).forEach(F=>{let q=F.player,ye=F.element;if(ue.push(q),this.collectedEnterElements.length){let Ie=ye[et];if(Ie&&Ie.setForMove){if(Ie.previousTriggersValues&&Ie.previousTriggersValues.has(F.triggerName)){let Rn=Ie.previousTriggersValues.get(F.triggerName),qe=this.statesByElement.get(F.element);if(qe&&qe.has(F.triggerName)){let Wo=qe.get(F.triggerName);Wo.value=Rn,qe.set(F.triggerName,Wo)}}q.destroy();return}}let vt=!d||!this.driver.containsElement(d,ye),ke=Y.get(ye),ln=m.get(ye),se=this._buildInstruction(F,n,ln,ke,vt);if(se.errors&&se.errors.length){ce.push(se);return}if(vt){q.onStart(()=>dr(ye,se.fromStyles)),q.onDestroy(()=>$t(ye,se.toStyles)),i.push(q);return}if(F.isFallbackTransition){q.onStart(()=>dr(ye,se.fromStyles)),q.onDestroy(()=>$t(ye,se.toStyles)),i.push(q);return}let bh=[];se.timelines.forEach(Ie=>{Ie.stretchStartingKeyframe=!0,this.disabledNodes.has(Ie.element)||bh.push(Ie)}),se.timelines=bh,n.append(ye,se.timelines);let D_={instruction:se,player:q,element:ye};s.push(D_),se.queriedElements.forEach(Ie=>ze(a,Ie,[]).push(q)),se.preStyleProps.forEach((Ie,Rn)=>{if(Ie.size){let qe=c.get(Rn);qe||c.set(Rn,qe=new Set),Ie.forEach((Wo,Vc)=>qe.add(Vc))}}),se.postStyleProps.forEach((Ie,Rn)=>{let qe=l.get(Rn);qe||l.set(Rn,qe=new Set),Ie.forEach((Wo,Vc)=>qe.add(Vc))})});if(ce.length){let I=[];ce.forEach(x=>{I.push(MM(x.triggerName,x.errors))}),ue.forEach(x=>x.destroy()),this.reportError(I)}let de=new Map,rt=new Map;s.forEach(I=>{let x=I.element;n.has(x)&&(rt.set(x,x),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,de))}),i.forEach(I=>{let x=I.element;this._getPreviousPlayers(x,!1,I.namespaceId,I.triggerName,null).forEach(q=>{ze(de,x,[]).push(q),q.destroy()})});let it=_.filter(I=>Xv(I,c,l)),zt=new Map;Qv(zt,this.driver,k,l,Bt).forEach(I=>{Xv(I,c,l)&&it.push(I)});let yi=new Map;h.forEach((I,x)=>{Qv(yi,this.driver,new Set(I),c,ec)}),it.forEach(I=>{let x=zt.get(I),F=yi.get(I);zt.set(I,new Map([...x?.entries()??[],...F?.entries()??[]]))});let xn=[],yh=[],vh={};s.forEach(I=>{let{element:x,player:F,instruction:q}=I;if(n.has(x)){if(u.has(x)){F.onDestroy(()=>$t(x,q.toStyles)),F.disabled=!0,F.overrideTotalTime(q.totalTime),i.push(F);return}let ye=vh;if(rt.size>1){let ke=x,ln=[];for(;ke=ke.parentNode;){let se=rt.get(ke);if(se){ye=se;break}ln.push(ke)}ln.forEach(se=>rt.set(se,ye))}let vt=this._buildAnimation(F.namespaceId,q,de,o,yi,zt);if(F.setRealPlayer(vt),ye===vh)xn.push(F);else{let ke=this.playersByElement.get(ye);ke&&ke.length&&(F.parentPlayer=Sn(ke)),i.push(F)}}else dr(x,q.fromStyles),F.onDestroy(()=>$t(x,q.toStyles)),yh.push(F),u.has(x)&&i.push(F)}),yh.forEach(I=>{let x=o.get(I.element);if(x&&x.length){let F=Sn(x);I.setRealPlayer(F)}}),i.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I<_.length;I++){let x=_[I],F=x[et];if(ri(x,cf),F&&F.hasAnimation)continue;let q=[];if(a.size){let vt=a.get(x);vt&&vt.length&&q.push(...vt);let ke=this.driver.query(x,lf,!0);for(let ln=0;ln!vt.destroyed);ye.length?gA(this,x,ye):this.processLeaveNode(x)}return _.length=0,xn.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();let x=this.players.indexOf(I);this.players.splice(x,1)}),I.play()}),xn}elementContainsData(e,r){let n=!1,i=r[et];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(r)&&(n=!0),this.playersByQueriedElement.has(r)&&(n=!0),this.statesByElement.has(r)&&(n=!0),this._fetchNamespace(e).elementContainsData(r)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,n,i,o){let s=[];if(r){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let c=!o||o==_o;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(n||i)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,r,n){let i=r.triggerName,o=r.element,s=r.isRemovalTransition?void 0:e,a=r.isRemovalTransition?void 0:i;for(let c of r.timelines){let l=c.element,u=l!==o,d=ze(n,l,[]);this._getPreviousPlayers(l,u,s,a,r.toState).forEach(h=>{let m=h.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),h.destroy(),d.push(h)})}dr(o,r.fromStyles)}_buildAnimation(e,r,n,i,o,s){let a=r.triggerName,c=r.element,l=[],u=new Set,d=new Set,f=r.timelines.map(m=>{let g=m.element;u.add(g);let _=g[et];if(_&&_.removedBeforeQueried)return new In(m.duration,m.delay);let b=g!==c,k=yA((n.get(g)||dA).map(de=>de.getRealPlayer())).filter(de=>{let rt=de;return rt.element?rt.element===g:!1}),Y=o.get(g),L=s.get(g),ue=Jv(this._normalizer,m.keyframes,Y,L),ce=this._buildPlayer(m,ue,k);if(m.subTimeline&&i&&d.add(g),b){let de=new Io(e,a,g);de.setRealPlayer(ce),l.push(de)}return ce});l.forEach(m=>{ze(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>hA(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>tt(m,Uv));let h=Sn(f);return h.onDestroy(()=>{u.forEach(m=>ri(m,Uv)),$t(c,r.toStyles)}),d.forEach(m=>{ze(i,m,[]).push(h)}),h}_buildPlayer(e,r,n){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,n):new In(e.duration,e.delay)}},Io=class{constructor(e,r,n){this.namespaceId=e,this.triggerName=r,this.element=n,this._player=new In,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((r,n)=>{r.forEach(i=>wf(e,n,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){ze(this._queuedCallbacks,e,[]).push(r)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function hA(t,e,r){let n=t.get(e);if(n){if(n.length){let i=n.indexOf(r);n.splice(i,1)}n.length==0&&t.delete(e)}return n}function pA(t){return t??null}function ic(t){return t&&t.nodeType===1}function mA(t){return t=="start"||t=="done"}function Zv(t,e){let r=t.style.display;return t.style.display=e??"none",r}function Qv(t,e,r,n,i){let o=[];r.forEach(c=>o.push(Zv(c)));let s=[];n.forEach((c,l)=>{let u=new Map;c.forEach(d=>{let f=e.computeStyle(l,d,i);u.set(d,f),(!f||f.length==0)&&(l[et]=fA,s.push(l))}),t.set(l,u)});let a=0;return r.forEach(c=>Zv(c,o[a++])),s}function Yv(t,e){let r=new Map;if(t.forEach(a=>r.set(a,[])),e.length==0)return r;let n=1,i=new Set(e),o=new Map;function s(a){if(!a)return n;let c=o.get(a);if(c)return c;let l=a.parentNode;return r.has(l)?c=l:i.has(l)?c=n:c=s(l),o.set(a,c),c}return e.forEach(a=>{let c=s(a);c!==n&&r.get(c).push(a)}),r}function tt(t,e){t.classList?.add(e)}function ri(t,e){t.classList?.remove(e)}function gA(t,e,r){Sn(r).onDone(()=>t.processLeaveNode(e))}function yA(t){let e=[];return db(t,e),e}function db(t,e){for(let r=0;ri.add(o)):e.set(t,n),r.delete(t),!0}var Tn=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new _f(e,r,n),this._timelineEngine=new vf(e,r,n),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,r,n,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let c=[],l=[],u=cb(this._driver,o,c,l);if(c.length)throw yM(i,c);l.length&&void 0,a=iA(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(r,i,a)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,n,i){this._transitionEngine.insertNode(e,r,n,i)}onRemove(e,r,n){this._transitionEngine.removeNode(e,r,n)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,n,i){if(n.charAt(0)=="@"){let[o,s]=Bv(n),a=i;this._timelineEngine.command(o,r,s,a)}else this._transitionEngine.trigger(e,r,n,i)}listen(e,r,n,i,o){if(n.charAt(0)=="@"){let[s,a]=Bv(n);return this._timelineEngine.listen(s,r,a,o)}return this._transitionEngine.listen(e,r,n,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function bA(t,e){let r=null,n=null;return Array.isArray(e)&&e.length?(r=af(e[0]),e.length>1&&(n=af(e[e.length-1]))):e instanceof Map&&(r=af(e)),r||n?new _A(t,r,n):null}var _A=(()=>{let e=class{constructor(n,i,o){this._element=n,this._startStyles=i,this._endStyles=o,this._state=0;let s=e.initialStylesByElement.get(n);s||e.initialStylesByElement.set(n,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&$t(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&($t(this._element,this._initialStyles),this._endStyles&&($t(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(dr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(dr(this._element,this._endStyles),this._endStyles=null),$t(this._element,this._initialStyles),this._state=3)}},t=e;return(()=>{e.initialStylesByElement=new WeakMap})(),t})();function af(t){let e=null;return t.forEach((r,n)=>{wA(n)&&(e=e||new Map,e.set(n,r))}),e}function wA(t){return t==="display"||t==="position"}var fc=class{constructor(e,r,n,i){this.element=e,this.keyframes=r,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(n=>{r.push(Object.fromEntries(n))}),r}_triggerWebAnimation(e,r,n){return e.animate(this._convertKeyframesToObject(r),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,i)=>{i!=="offset"&&e.set(i,this._finished?n:sb(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},hc=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,r){return!1}containsElement(e,r){return eb(e,r)}getParentElement(e){return Ef(e)}query(e,r,n){return tb(e,r,n)}computeStyle(e,r,n){return window.getComputedStyle(e)[r]}animate(e,r,n,i,o,s=[]){let a=i==0?"both":"forwards",c={duration:n,delay:i,fill:a};o&&(c.easing=o);let l=new Map,u=s.filter(h=>h instanceof fc);VM(n,i)&&u.forEach(h=>{h.currentSnapshot.forEach((m,g)=>l.set(g,m))});let d=kM(r).map(h=>ii(h));d=BM(e,d,l);let f=bA(e,d);return new fc(e,d,c,f)}};var EA=(()=>{let e=class extends yo{constructor(n,i){super(),this._nextAnimationId=0;let o={id:"0",encapsulation:Fe.None,styles:[],data:{animation:[]}};this._renderer=n.createRenderer(i.body,o)}build(n){let i=this._nextAnimationId.toString();this._nextAnimationId++;let o=Array.isArray(n)?Ja(n):n;return hb(this._renderer,null,i,"register",[o]),new Tf(i,this._renderer)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Mt),p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),Tf=class extends Xa{constructor(e,r){super(),this._id=e,this._renderer=r}create(e,r){return new Mf(this._id,e,r||{},this._renderer)}},Mf=class{constructor(e,r,n,i){this.id=e,this.element=r,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,r){return this._renderer.listen(this.element,`@@${this.id}:${e}`,r)}_command(e,...r){return hb(this._renderer,this.element,this.id,e,r)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}};function hb(t,e,r,n,i){return t.setProperty(e,`@@${r}:${n}`,i)}var pc="@",pb="@.disabled",CA=(()=>{let e=class{constructor(n,i,o){this.delegate=n,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(s,a)=>{let c=a?.parentNode(s);c&&a.removeChild(c,s)}}createRenderer(n,i){let o="",s=this.delegate.createRenderer(n,i);if(!n||!i||!i.data||!i.data.animation){let d=this._rendererCache.get(s);if(!d){let f=()=>this._rendererCache.delete(s);d=new mc(o,s,this.engine,f),this._rendererCache.set(s,d)}return d}let a=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,n);let l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(a,c,n,d.name,d)};return i.data.animation.forEach(l),new Af(this,c,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,i,o){if(n>=0&&ni(o));return}this._animationCallbacksBuffer.length==0&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{let[a,c]=s;a(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o])}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()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Mt),p(Tn),p(P))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),mc=class{constructor(e,r,n,i){this.namespaceId=e,this.delegate=r,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,n,i=!0){this.delegate.insertBefore(e,r,n),this.engine.onInsert(this.namespaceId,r,e,i)}removeChild(e,r,n){this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,n,i){this.delegate.setAttribute(e,r,n,i)}removeAttribute(e,r,n){this.delegate.removeAttribute(e,r,n)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,n,i){this.delegate.setStyle(e,r,n,i)}removeStyle(e,r,n){this.delegate.removeStyle(e,r,n)}setProperty(e,r,n){r.charAt(0)==pc&&r==pb?this.disableAnimations(e,!!n):this.delegate.setProperty(e,r,n)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,n){return this.delegate.listen(e,r,n)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},Af=class extends mc{constructor(e,r,n,i,o){super(r,n,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,n){r.charAt(0)==pc?r.charAt(1)=="."&&r==pb?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,r.slice(1),n):this.delegate.setProperty(e,r,n)}listen(e,r,n){if(r.charAt(0)==pc){let i=IA(e),o=r.slice(1),s="";return o.charAt(0)!=pc&&([o,s]=SA(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,n,a)})}return this.delegate.listen(e,r,n)}};function IA(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function SA(t){let e=t.indexOf("."),r=t.substring(0,e),n=t.slice(e+1);return[r,n]}var TA=(()=>{let e=class extends Tn{constructor(n,i,o,s){super(n.body,i,o)}ngOnDestroy(){this.flush()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(So),p(fr),p(nn))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function MA(){return new uc}function AA(t,e,r){return new CA(t,e,r)}var mb=[{provide:yo,useClass:EA},{provide:fr,useFactory:MA},{provide:Tn,useClass:TA},{provide:Mt,useFactory:AA,deps:[za,Tn,P]}],fb=[{provide:So,useFactory:()=>new hc},{provide:kt,useValue:"BrowserAnimations"},...mb],xA=[{provide:So,useClass:Cf},{provide:kt,useValue:"NoopAnimations"},...mb],tU=(()=>{let e=class{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?xA:fb}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:fb,imports:[mv]})})(),t})();var OA=["text"];var SU=(()=>{let e=class{},t=e;return(()=>{e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"})(),(()=>{e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"})(),(()=>{e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"})(),(()=>{e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"})(),t})(),TU=(()=>{let e=class{},t=e;return(()=>{e.COMPLEX="375ms"})(),(()=>{e.ENTERING="225ms"})(),(()=>{e.EXITING="195ms"})(),t})();function FA(){return!0}var PA=new E("mat-sanity-checks",{providedIn:"root",factory:FA}),mt=(()=>{let e=class{constructor(n,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return _v()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Jd),p(PA,8),p(H))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[ti,ti]})})(),t})();function wb(t){return class extends t{get disabled(){return this._disabled}set disabled(e){this._disabled=Vt(e)}constructor(...e){super(...e),this._disabled=!1}}}function gc(t,e){return class extends t{get color(){return this._color}set color(r){let n=r||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...r){super(...r),this.defaultColor=e,this.color=e}}}function Db(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Vt(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function MU(t,e=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(r){this._tabIndex=r!=null?mo(r):this.defaultTabIndex}constructor(...r){super(...r),this._tabIndex=e,this.defaultTabIndex=e}}}function AU(t){return class extends t{updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,n=this.errorStateMatcher||this._defaultErrorStateMatcher,i=this.ngControl?this.ngControl.control:null,o=n.isErrorState(i,r);o!==e&&(this.errorState=o,this.stateChanges.next())}constructor(...e){super(...e),this.errorState=!1}}}var xU=(()=>{let e=class{isErrorState(n,i){return!!(n&&n.invalid&&(n.touched||i&&i.submitted))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),RU=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})})(),t})();function NU(t,e,r="mat"){t.changes.pipe(Zt(t)).subscribe(({length:n})=>{Mo(e,`${r}-2-line`,!1),Mo(e,`${r}-3-line`,!1),Mo(e,`${r}-multi-line`,!1),n===2||n===3?Mo(e,`${r}-${n}-line`,!0):n>3&&Mo(e,`${r}-multi-line`,!0)})}function Mo(t,e,r){t.nativeElement.classList.toggle(e,r)}var OU=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[mt,mt]})})(),t})(),xf=class{constructor(e,r,n,i=!1){this._renderer=e,this.element=r,this.config=n,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}},gb=ei({passive:!0,capture:!0}),Rf=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=Cn(e);r&&this._events.get(e.type)?.forEach((n,i)=>{(i===r||i.contains(r))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,n,i){let o=this._events.get(r);if(o){let s=o.get(n);s?s.add(i):o.set(n,new Set([i]))}else this._events.set(r,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,gb)})}removeHandler(e,r,n){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(n),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,gb)))}},yb={enterDuration:225,exitDuration:150},kA=800,vb=ei({passive:!0,capture:!0}),bb=["mousedown","touchstart"],_b=["mouseup","mouseleave","touchend","touchcancel"],Ao=class{constructor(e,r,n,i){this._target=e,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=pt(n))}fadeInRipple(e,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=D(D({},yb),n.animation);n.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=n.radius||LA(e,r,i),a=e-i.left,c=r-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`,n.color!=null&&(u.style.backgroundColor=n.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),f=d.transitionProperty,h=d.transitionDuration,m=f==="none"||h==="0s"||h==="0s, 0s"||i.width===0&&i.height===0,g=new xf(this,u,n,m);u.style.transform="scale3d(1, 1, 1)",g.state=0,n.persistent||(this._mostRecentTransientRipple=g);let _=null;return!m&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let b=()=>this._finishRippleTransition(g),k=()=>this._destroyRipple(g);u.addEventListener("transitionend",b),u.addEventListener("transitioncancel",k),_={onTransitionEnd:b,onTransitionCancel:k}}),this._activeRipples.set(g,_),(m||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(e){if(e.state===2||e.state===3)return;let r=e.element,n=D(D({},yb),e.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=pt(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,bb.forEach(n=>{Ao._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{_b.forEach(r=>{this._triggerElement.addEventListener(r,this,vb)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===0?this._startFadeOutTransition(e):e.state===2&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=1,!n&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=Qd(e),n=this._lastTouchStartEvent&&Date.now(){let r=e.state===1||e.config.terminateOnPointerUp&&e.state===0;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(bb.forEach(r=>Ao._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&_b.forEach(r=>e.removeEventListener(r,this,vb)))}},Nf=Ao;(()=>{Ao._eventManager=new Rf})();function LA(t,e,r){let n=Math.max(Math.abs(t-r.left),Math.abs(t-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(n*n+i*i)}var jA=new E("mat-ripple-global-options"),xo=(()=>{let e=class{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,i,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Nf(this,i,n,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:D(D(D({},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(n,i=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,i,D(D({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,D(D({},this.rippleConfig),n))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(ae),S(P),S(Ue),S(jA,8),S(kt,8))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&Je("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})})(),t})(),Eb=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[mt,mt]})})(),t})(),FU=(()=>{let e=class{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(kt,8))}})(),(()=>{e.\u0275cmp=Rt({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&Je("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})})(),t})(),PU=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[mt]})})(),t})(),kU=new E("MAT_OPTION_PARENT_COMPONENT");var LU=new E("MatOptgroup");var VA=0,Of=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},jU=(()=>{let e=class{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=Vt(n)}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,i,o,s){this._element=n,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${VA++}`,this.onSelectionChange=new ie,this._stateChanges=new z}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(n,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!Ga(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new Of(this,n))}},t=e;return(()=>{e.\u0275fac=function(i){Da()}})(),(()=>{e.\u0275dir=le({type:e,viewQuery:function(i,o){if(i&1&&no(OA,7),i&2){let s;rr(s=ir())&&(o._text=s.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})})(),t})();function VU(t,e,r){if(r.length){let n=e.toArray(),i=r.toArray(),o=0;for(let s=0;sr+n?Math.max(0,t-n+e):r}var $A=["*"],yc;function UA(){if(yc===void 0&&(yc=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(yc=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return yc}function Ro(t){return UA()?.createHTML(t)||t}function Cb(t){return Error(`Unable to find icon with the name "${t}"`)}function HA(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Ib(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function Sb(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var an=class{constructor(e,r,n){this.url=e,this.svgText=r,this.options=n}},zA=(()=>{let e=class{constructor(n,i,o,s){this._httpClient=n,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,i,o){return this.addSvgIconInNamespace("",n,i,o)}addSvgIconLiteral(n,i,o){return this.addSvgIconLiteralInNamespace("",n,i,o)}addSvgIconInNamespace(n,i,o,s){return this._addSvgIconConfig(n,i,new an(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,i,o,s){let a=this._sanitizer.sanitize(Q.HTML,o);if(!a)throw Sb(o);let c=Ro(a);return this._addSvgIconConfig(n,i,new an("",c,s))}addSvgIconSet(n,i){return this.addSvgIconSetInNamespace("",n,i)}addSvgIconSetLiteral(n,i){return this.addSvgIconSetLiteralInNamespace("",n,i)}addSvgIconSetInNamespace(n,i,o){return this._addSvgIconSetConfig(n,new an(i,null,o))}addSvgIconSetLiteralInNamespace(n,i,o){let s=this._sanitizer.sanitize(Q.HTML,i);if(!s)throw Sb(i);let a=Ro(s);return this._addSvgIconSetConfig(n,new an("",a,o))}registerFontClassAlias(n,i=n){return this._fontCssClassesByAlias.set(n,i),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let i=this._sanitizer.sanitize(Q.RESOURCE_URL,n);if(!i)throw Ib(n);let o=this._cachedIconsByUrl.get(i);return o?C(vc(o)):this._loadSvgIconFromConfig(new an(n,null)).pipe(ne(s=>this._cachedIconsByUrl.set(i,s)),O(s=>vc(s)))}getNamedSvgIcon(n,i=""){let o=Tb(i,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(n,a):Kt(Cb(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?C(vc(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(O(i=>vc(i)))}_getSvgFromIconSetConfigs(n,i){let o=this._extractIconWithNameFromAnySet(n,i);if(o)return C(o);let s=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Ke(c=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(Q.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(u)),C(null)})));return Jc(s).pipe(O(()=>{let a=this._extractIconWithNameFromAnySet(n,i);if(!a)throw Cb(n);return a}))}_extractIconWithNameFromAnySet(n,i){for(let o=i.length-1;o>=0;o--){let s=i[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(a,n,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(ne(i=>n.svgText=i),O(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?C(null):this._fetchIcon(n).pipe(ne(i=>n.svgText=i))}_extractSvgIconFromSet(n,i,o){let s=n.querySelector(`[id="${i}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let c=this._svgElementFromString(Ro(""));return c.appendChild(a),this._setSvgAttributes(c,o)}_svgElementFromString(n){let i=this._document.createElement("DIV");i.innerHTML=n;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(n){let i=this._svgElementFromString(Ro("")),o=n.attributes;for(let s=0;sRo(u)),Dt(()=>this._inProgressUrlFetches.delete(a)),hn());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(n,i,o){return this._svgIconConfigs.set(Tb(n,i),o),this}_addSvgIconSetConfig(n,i){let o=this._iconSetConfigs.get(n);return o?o.push(i):this._iconSetConfigs.set(n,[i]),this}_svgElementFromConfig(n){if(!n.svgElement){let i=this._svgElementFromString(n.svgText);this._setSvgAttributes(i,n.options),n.svgElement=i}return n.svgElement}_getIconConfigFromResolvers(n,i){for(let o=0;o{e.\u0275fac=function(i){return new(i||e)(p(Nd,8),p(Ud),p(H,8),p(Ve))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function vc(t){return t.cloneNode(!0)}function Tb(t,e){return t+":"+e}function WA(t){return!!(t.url&&t.options)}var qA=gc(class{constructor(t){this._elementRef=t}}),GA=new E("MAT_ICON_DEFAULT_OPTIONS"),KA=new E("mat-icon-location",{providedIn:"root",factory:ZA});function ZA(){let t=w(H),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var Mb=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],QA=Mb.map(t=>`[${t}]`).join(", "),YA=/^url\(['"]?#(.*?)['"]?\)$/,aH=(()=>{let e=class extends qA{get inline(){return this._inline}set inline(n){this._inline=Vt(n)}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let i=this._cleanupFontValue(n);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let i=this._cleanupFontValue(n);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(n,i,o,s,a,c){super(n),this._iconRegistry=i,this._location=s,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=X.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let i=n.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.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(n){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,i=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=n.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),i.forEach(o=>n.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let i=n.querySelectorAll(QA),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let c=i[s],l=c.getAttribute(a),u=l?l.match(YA):null;if(u){let d=o.get(c);d||(d=[],o.set(c,d)),d.push({name:a,value:u[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[i,o]=this._splitIconName(n);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(ve(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${i}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(ae),S(zA),qi("aria-hidden"),S(KA),S(Ve),S(GA,8))}})(),(()=>{e.\u0275cmp=Rt({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(i,o){i&2&&(Lt("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Je("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[wn],ngContentSelectors:$A,decls:1,vars:0,template:function(i,o){i&1&&(tr(),nr(0))},styles:[".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})})(),t})(),cH=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[mt,mt]})})(),t})();var Ab=["mat-button",""],xb=["*"],XA=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}",JA="accent",ex=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],tx=gc(wb(Db(class{constructor(t){this._elementRef=t}}))),nx=(()=>{let e=class extends tx{constructor(n,i,o){super(n),this._focusMonitor=i,this._animationMode=o,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(let s of ex)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);n.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color=JA)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(n,i){n?this._focusMonitor.focusVia(this._getHostElement(),n,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...n){return n.some(i=>this._getHostElement().hasAttribute(i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(ae),S(Xd),S(kt,8))}})(),(()=>{e.\u0275cmp=Rt({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(i,o){if(i&1&&no(xo,5),i&2){let s;rr(s=ir())&&(o.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(i,o){i&2&&(Lt("disabled",o.disabled||null),Je("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-button-disabled",o.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[wn],attrs:Ab,ngContentSelectors:xb,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,o){i&1&&(tr(),Jn(0,"span",0),nr(1),er(),Dn(2,"span",1)(3,"span",2)),i&2&&(Ji(2),Je("mat-button-ripple-round",o.isRoundButton||o.isIconButton),to("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",o.isIconButton)("matRippleTrigger",o._getHostElement()))},dependencies:[xo],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})})(),t})(),hH=(()=>{let e=class extends nx{constructor(n,i,o,s){super(i,n,o),this._ngZone=s,this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(Xd),S(ae),S(kt,8),S(P,8))}})(),(()=>{e.\u0275cmp=Rt({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(i,o){i&2&&(Lt("tabindex",o.disabled?-1:o.tabIndex)("disabled",o.disabled||null)("aria-disabled",o.disabled.toString()),Je("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-button-disabled",o.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[wn],attrs:Ab,ngContentSelectors:xb,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,o){i&1&&(tr(),Jn(0,"span",0),nr(1),er(),Dn(2,"span",1)(3,"span",2)),i&2&&(Ji(2),Je("mat-button-ripple-round",o.isRoundButton||o.isIconButton),to("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",o.isIconButton)("matRippleTrigger",o._getHostElement()))},dependencies:[xo],styles:[XA],encapsulation:2,changeDetection:0})})(),t})(),pH=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[Eb,mt,mt]})})(),t})();var $="primary",ko=Symbol("RouteTitle"),jf=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function fi(t){return new jf(t)}function rx(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Kb(t){return t.length>0?t[t.length-1]:null}function Mn(t){return Di(t)?t:Zr(t)?ee(Promise.resolve(t)):C(t)}var ox={exact:Qb,subset:Yb},Zb={exact:sx,subset:ax,ignored:()=>!0};function Rb(t,e,r){return ox[r.paths](t.root,e.root,r.matrixParams)&&Zb[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function sx(t,e){return Ut(t,e)}function Qb(t,e,r){if(!pr(t.segments,e.segments)||!wc(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Qb(t.children[n],e.children[n],r))return!1;return!0}function ax(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Gb(t[r],e[r]))}function Yb(t,e,r){return Xb(t,e,e.segments,r)}function Xb(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!pr(i,r)||e.hasChildren()||!wc(i,r,n))}else if(t.segments.length===r.length){if(!pr(t.segments,r)||!wc(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!Yb(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!pr(t.segments,i)||!wc(t.segments,i,n)||!t.children[$]?!1:Xb(t.children[$],e,o,n)}}function wc(t,e,r){return e.every((n,i)=>Zb[r](t[i].parameters,n.parameters))}var An=class{constructor(e=new Z([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fi(this.queryParams)),this._queryParamMap}toString(){return ux.serialize(this)}},Z=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dc(this)}},hr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=fi(this.parameters)),this._parameterMap}toString(){return e_(this)}};function cx(t,e){return pr(t,e)&&t.every((r,n)=>Ut(r.parameters,e[n].parameters))}function pr(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function lx(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var Pc=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>new Lo)()},providedIn:"root"})})(),t})(),Lo=class{parse(e){let r=new Bf(e);return new An(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${No(e.root,!0)}`,n=hx(e.queryParams),i=typeof e.fragment=="string"?`#${dx(e.fragment)}`:"";return`${r}${n}${i}`}},ux=new Lo;function Dc(t){return t.segments.map(e=>e_(e)).join("/")}function No(t,e){if(!t.hasChildren())return Dc(t);if(e){let r=t.children[$]?No(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${No(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=lx(t,(n,i)=>i===$?[No(t.children[$],!1)]:[`${i}:${No(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${Dc(t)}/${r[0]}`:`${Dc(t)}/(${r.join("//")})`}}function Jb(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function bc(t){return Jb(t).replace(/%3B/gi,";")}function dx(t){return encodeURI(t)}function Vf(t){return Jb(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ec(t){return decodeURIComponent(t)}function Nb(t){return Ec(t.replace(/\+/g,"%20"))}function e_(t){return`${Vf(t.path)}${fx(t.parameters)}`}function fx(t){return Object.keys(t).map(e=>`;${Vf(e)}=${Vf(t[e])}`).join("")}function hx(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(i=>`${bc(r)}=${bc(i)}`).join("&"):`${bc(r)}=${bc(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var px=/^[^\/()?;#]+/;function Ff(t){let e=t.match(px);return e?e[0]:""}var mx=/^[^\/()?;=#]+/;function gx(t){let e=t.match(mx);return e?e[0]:""}var yx=/^[^=?&#]+/;function vx(t){let e=t.match(yx);return e?e[0]:""}var bx=/^[^&#]+/;function _x(t){let e=t.match(bx);return e?e[0]:""}var Bf=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Z([],{}):new Z([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[$]=new Z(e,r)),n}parseSegment(){let e=Ff(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(e),new hr(Ec(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=gx(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Ff(this.remaining);i&&(n=i,this.capture(n))}e[Ec(r)]=Ec(n)}parseQueryParam(e){let r=vx(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=_x(this.remaining);s&&(n=s,this.capture(n))}let i=Nb(r),o=Nb(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Ff(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new Z([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new y(4011,!1)}};function t_(t){return t.segments.length>0?new Z([],{[$]:t}):t}function n_(t){let e={};for(let n of Object.keys(t.children)){let i=t.children[n],o=n_(i);if(n===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new Z(t.segments,e);return wx(r)}function wx(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new Z(t.segments.concat(e.segments),e.children)}return t}function hi(t){return t instanceof An}function Dx(t,e,r=null,n=null){let i=r_(t);return i_(i,e,r,n)}function r_(t){let e;function r(o){let s={};for(let c of o.children){let l=r(c);s[c.outlet]=l}let a=new Z(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=t_(n);return e??i}function i_(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Pf(i,i,i,r,n);let o=Ex(e);if(o.toRoot())return Pf(i,i,new Z([],{}),r,n);let s=Cx(o,i,t),a=s.processChildren?Fo(s.segmentGroup,s.index,o.commands):s_(s.segmentGroup,s.index,o.commands);return Pf(i,s.segmentGroup,a,r,n)}function Cc(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function jo(t){return typeof t=="object"&&t!=null&&t.outlets}function Pf(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;t===e?s=r:s=o_(t,e,r);let a=t_(n_(s));return new An(a,o,i)}function o_(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=o_(o,e,r)}),new Z(t.segments,n)}var Ic=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Cc(n[0]))throw new y(4003,!1);let i=n.find(jo);if(i&&i!==Kb(n))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ex(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ic(!0,0,t);let e=0,r=!1,n=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===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ic(r,e,n)}var ci=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function Cx(t,e,r){if(t.isAbsolute)return new ci(e,!0,0);if(!r)return new ci(e,!1,NaN);if(r.parent===null)return new ci(r,!0,0);let n=Cc(t.commands[0])?0:1,i=r.segments.length-1+n;return Ix(r,i,t.numberOfDoubleDots)}function Ix(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new y(4005,!1);i=n.segments.length}return new ci(n,!1,i-o)}function Sx(t){return jo(t[0])?t[0].outlets:{[$]:t}}function s_(t,e,r){if(t||(t=new Z([],{})),t.segments.length===0&&t.hasChildren())return Fo(t,e,r);let n=Tx(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=s_(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new Z(t.segments,i)}}function Tx(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(jo(a))break;let c=`${a}`,l=n0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Fb(c,l,s))return o;n+=2}else{if(!Fb(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function $f(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=$f(new Z([],{}),0,n))}),e}function Ob(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Fb(t,e,r){return t==r.path&&Ut(e,r.parameters)}var Vo="imperative",nt=class{constructor(e,r){this.id=e,this.url=r}},Bo=class extends nt{constructor(e,r,n="imperative",i=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},cn=class extends nt{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},pi=class extends nt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},mr=class extends nt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=16}},Sc=class extends nt{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Uf=class extends nt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hf=class extends nt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zf=class extends nt{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Wf=class extends nt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qf=class extends nt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Gf=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Kf=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Zf=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qf=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yf=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xf=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tc=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}};var Jf=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Uo,this.attachRef=null}},Uo=(()=>{let e=class{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Jf,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Mc=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=eh(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=eh(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=th(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return th(e,this._root).map(r=>r.value)}};function eh(t,e){if(t===e.value)return e;for(let r of e.children){let n=eh(t,r);if(n)return n}return null}function th(t,e){if(t===e.value)return[e];for(let r of e.children){let n=th(t,r);if(n.length)return n.unshift(e),n}return[]}var gt=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function ai(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Ac=class extends Mc{constructor(e,r){super(e),this.snapshot=r,lh(this,e)}toString(){return this.snapshot.toString()}};function a_(t,e){let r=Ax(t,e),n=new ge([new hr("",{})]),i=new ge({}),o=new ge({}),s=new ge({}),a=new ge(""),c=new gr(n,i,s,a,o,$,e,r.root);return c.snapshot=r.root,new Ac(new gt(c,[]),r)}function Ax(t,e){let r={},n={},i={},o="",s=new li([],r,i,o,n,$,e,null,{});return new xc("",new gt(s,[]))}var gr=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(O(l=>l[ko]))??C(void 0),this.url=e,this.params=r,this.queryParams=n,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._paramMap=this.params.pipe(O(e=>fi(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(O(e=>fi(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function c_(t,e="emptyOnly"){let r=t.pathFromRoot,n=0;if(e!=="always")for(n=r.length-1;n>=1;){let i=r[n],o=r[n-1];if(i.routeConfig&&i.routeConfig.path==="")n--;else if(!o.component)n--;else break}return xx(r.slice(n))}function xx(t){return t.reduce((e,r)=>{let n=D(D({},e.params),r.params),i=D(D({},e.data),r.data),o=D(D(D(D({},r.data),e.resolve),r.routeConfig?.data),r._resolvedData);return{params:n,data:i,resolve:o}},{params:{},data:{},resolve:{}})}var li=class{get title(){return this.data?.[ko]}constructor(e,r,n,i,o,s,a,c,l){this.url=e,this.params=r,this.queryParams=n,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||(this._paramMap=fi(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fi(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},xc=class extends Mc{constructor(e,r){super(r),this.url=e,lh(this,r)}toString(){return l_(this._root)}};function lh(t,e){e.value._routerState=t,e.children.forEach(r=>lh(t,r))}function l_(t){let e=t.children.length>0?` { ${t.children.map(l_).join(", ")} } `:"";return`${t.value}${e}`}function kf(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,Ut(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),Ut(e.params,r.params)||t.paramsSubject.next(r.params),ix(e.url,r.url)||t.urlSubject.next(r.url),Ut(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function nh(t,e){let r=Ut(t.params,e.params)&&cx(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||nh(t.parent,e.parent))}var Rx=(()=>{let e=class{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new ie,this.deactivateEvents=new ie,this.attachEvents=new ie,this.detachEvents=new ie,this.parentContexts=w(Uo),this.location=w($e),this.changeDetector=w(En),this.environmentInjector=w(Ae),this.inputBinder=w(kc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new rh(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ot]})})(),t})(),rh=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===gr?this.route:e===Uo?this.childContexts:this.parent.get(e,r)}},kc=new E(""),Pb=(()=>{let e=class{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=kn([i.queryParams,i.params,i.data]).pipe(De(([s,a,c],l)=>(c=D(D(D({},s),a),c),l===0?C(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=jy(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function Nx(t,e,r){let n=$o(t,e._root,r?r._root:void 0);return new Ac(n,e)}function $o(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=Ox(t,e,r);return new gt(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>$o(t,a)),s}}let n=Fx(e.value),i=e.children.map(o=>$o(t,o));return new gt(n,i)}}function Ox(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return $o(t,n,i);return $o(t,n)})}function Fx(t){return new gr(new ge(t.url),new ge(t.params),new ge(t.queryParams),new ge(t.fragment),new ge(t.data),t.outlet,t.component,t)}var u_="ngNavigationCancelingError";function d_(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=hi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=f_(!1,0,e);return i.url=r,i.navigationBehaviorOptions=n,i}function f_(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[u_]=!0,n.cancellationCode=e,r&&(n.url=r),n}function kb(t){return h_(t)&&hi(t.url)}function h_(t){return t&&t[u_]}var Px=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=Rt({type:e,selectors:[["ng-component"]],standalone:!0,features:[ud],decls:1,vars:0,template:function(i,o){i&1&&Dn(0,"router-outlet")},dependencies:[Rx],encapsulation:2})})(),t})();function kx(t,e){return t.providers&&!t._injector&&(t._injector=Sa(t.providers,e,`Route: ${t.path}`)),t._injector??e}function uh(t){let e=t.children&&t.children.map(uh),r=e?me(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=Px),r}function yt(t){return t.outlet||$}function Lx(t,e){let r=t.filter(n=>yt(n)===e);return r.push(...t.filter(n=>yt(n)!==e)),r}function Ho(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var jx=(t,e,r,n)=>O(i=>(new ih(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),ih=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),kf(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=ai(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=ai(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=ai(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=ai(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Xf(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Qf(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(kf(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.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),kf(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Ho(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},Rc=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ui=class{constructor(e,r){this.component=e,this.route=r}};function Vx(t,e,r){let n=t._root,i=e?e._root:null;return Oo(n,i,r,[n.value])}function Bx(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function gi(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!qp(t)?t:e.get(t):n}function Oo(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ai(e);return t.children.forEach(s=>{$x(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Po(a,r.getContext(s),i)),i}function $x(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Ux(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Rc(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Oo(t,e,a?a.children:null,n,i):Oo(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ui(a.outlet.component,s))}else s&&Po(e,a,i),i.canActivateChecks.push(new Rc(n)),o.component?Oo(t,null,a?a.children:null,n,i):Oo(t,null,r,n,i);return i}function Ux(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!pr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!pr(t.url,e.url)||!Ut(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nh(t,e)||!Ut(t.queryParams,e.queryParams);case"paramsChange":default:return!nh(t,e)}}function Po(t,e,r){let n=ai(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Po(s,e.children.getContext(o),r):Po(s,null,r):Po(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new ui(e.outlet.component,i)):r.canDeactivateChecks.push(new ui(null,i)):r.canDeactivateChecks.push(new ui(null,i))}function zo(t){return typeof t=="function"}function Hx(t){return typeof t=="boolean"}function zx(t){return t&&zo(t.canLoad)}function Wx(t){return t&&zo(t.canActivate)}function qx(t){return t&&zo(t.canActivateChild)}function Gx(t){return t&&zo(t.canDeactivate)}function Kx(t){return t&&zo(t.canMatch)}function p_(t){return t instanceof at||t?.name==="EmptyError"}var _c=Symbol("INITIAL_VALUE");function mi(){return De(t=>kn(t.map(e=>e.pipe(ve(1),Zt(_c)))).pipe(O(e=>{for(let r of e)if(r!==!0){if(r===_c)return _c;if(r===!1||r instanceof An)return r}return!0}),fe(e=>e!==_c),ve(1)))}function Zx(t,e){return te(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?C(me(D({},r),{guardsResult:!0})):Qx(s,n,i,t).pipe(te(a=>a&&Hx(a)?Yx(n,o,t,e):C(a)),O(a=>me(D({},r),{guardsResult:a})))})}function Qx(t,e,r,n){return ee(t).pipe(te(i=>nR(i.component,i.route,r,e,n)),Ze(i=>i!==!0,!0))}function Yx(t,e,r,n){return ee(e).pipe(wt(i=>Ge(Jx(i.route.parent,n),Xx(i.route,n),tR(t,i.path,r),eR(t,i.route,r))),Ze(i=>i!==!0,!0))}function Xx(t,e){return t!==null&&e&&e(new Yf(t)),C(!0)}function Jx(t,e){return t!==null&&e&&e(new Zf(t)),C(!0)}function eR(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return C(!0);let i=n.map(o=>ms(()=>{let s=Ho(e)??r,a=gi(o,s),c=Wx(a)?a.canActivate(e,t):s.runInContext(()=>a(e,t));return Mn(c).pipe(Ze())}));return C(i).pipe(mi())}function tR(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>Bx(s)).filter(s=>s!==null).map(s=>ms(()=>{let a=s.guards.map(c=>{let l=Ho(s.node)??r,u=gi(c,l),d=qx(u)?u.canActivateChild(n,t):l.runInContext(()=>u(n,t));return Mn(d).pipe(Ze())});return C(a).pipe(mi())}));return C(o).pipe(mi())}function nR(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return C(!0);let s=o.map(a=>{let c=Ho(e)??i,l=gi(a,c),u=Gx(l)?l.canDeactivate(t,e,r,n):c.runInContext(()=>l(t,e,r,n));return Mn(u).pipe(Ze())});return C(s).pipe(mi())}function rR(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return C(!0);let o=i.map(s=>{let a=gi(s,t),c=zx(a)?a.canLoad(e,r):t.runInContext(()=>a(e,r));return Mn(c)});return C(o).pipe(mi(),m_(n))}function m_(t){return Wc(ne(e=>{if(hi(e))throw d_(t,e)}),O(e=>e===!0))}function iR(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return C(!0);let o=i.map(s=>{let a=gi(s,t),c=Kx(a)?a.canMatch(e,r):t.runInContext(()=>a(e,r));return Mn(c)});return C(o).pipe(mi(),m_(n))}var di=class{constructor(e){this.segmentGroup=e||null}},Nc=class{constructor(e){this.urlTree=e}};function si(t){return Kt(new di(t))}function Lb(t){return Kt(new Nc(t))}function oR(t){return Kt(new y(4e3,!1))}function sR(t){return Kt(f_(!1,3))}var oh=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}noMatchError(e){return new y(4002,!1)}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return C(n);if(i.numberOfChildren>1||!i.children[$])return oR(e.redirectTo);i=i.children[$]}}applyRedirectCommands(e,r,n){return this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n)}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new An(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new Z(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},sh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function aR(t,e,r,n,i){let o=dh(t,e,r);return o.matched?(n=kx(e,n),iR(n,e,r,i).pipe(O(s=>s===!0?o:D({},sh)))):C(o)}function dh(t,e,r){if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},sh):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||rx)(r,t,e);if(!i)return D({},sh);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function jb(t,e,r,n){return r.length>0&&uR(t,r,n)?{segmentGroup:new Z(e,lR(n,new Z(r,t.children))),slicedSegments:[]}:r.length===0&&dR(t,r,n)?{segmentGroup:new Z(t.segments,cR(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new Z(t.segments,t.children),slicedSegments:r}}function cR(t,e,r,n,i){let o={};for(let s of n)if(Lc(t,r,s)&&!i[yt(s)]){let a=new Z([],{});o[yt(s)]=a}return D(D({},i),o)}function lR(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&yt(n)!==$){let i=new Z([],{});r[yt(n)]=i}return r}function uR(t,e,r){return r.some(n=>Lc(t,e,n)&&yt(n)!==$)}function dR(t,e,r){return r.some(n=>Lc(t,e,n))}function Lc(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function fR(t,e,r,n){return yt(t)!==n&&(n===$||!Lc(e,r,t))?!1:t.path==="**"?!0:dh(e,t,r).matched}function hR(t,e,r){return e.length===0&&!t.children[r]}function pR(t,e,r,n,i,o,s="emptyOnly"){return new ah(t,e,r,n,i,s,o).recognize()}var ah=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new oh(this.urlSerializer,this.urlTree)}noMatchError(e){return new y(4002,!1)}recognize(){let e=jb(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,$).pipe(Ke(r=>{if(r instanceof Nc)return this.allowRedirects=!1,this.urlTree=r.urlTree,this.match(r.urlTree);throw r instanceof di?this.noMatchError(r):r}),O(r=>{let n=new li([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},$,this.rootComponentType,null,{}),i=new gt(n,r),o=new xc("",i),s=Dx(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e.root,$).pipe(Ke(n=>{throw n instanceof di?this.noMatchError(n):n}))}inheritParamsAndData(e){let r=e.value,n=c_(r,this.paramsInheritanceStrategy);r.params=Object.freeze(n.params),r.data=Object.freeze(n.data),e.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0)}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return ee(i).pipe(wt(o=>{let s=n.children[o],a=Lx(r,o);return this.processSegmentGroup(e,a,s,o)}),ol((o,s)=>(o.push(...s),o)),fn(null),il(),te(o=>{if(o===null)return si(n);let s=g_(o);return mR(s),C(s)}))}processSegment(e,r,n,i,o,s){return ee(r).pipe(wt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(Ke(c=>{if(c instanceof di)return C(null);throw c}))),Ze(a=>!!a),Ke(a=>{if(p_(a))return hR(n,i,o)?C([]):si(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return fR(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):si(i):si(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){return i.path==="**"?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,n,i){let o=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Lb(o):this.applyRedirects.lineralizeSegments(n,o).pipe(te(s=>{let a=new Z(s,{});return this.processSegment(e,r,a,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:c,remainingSegments:l,positionalParamSegments:u}=dh(r,i,o);if(!a)return si(r);let d=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,u);return i.redirectTo.startsWith("/")?Lb(d):this.applyRedirects.lineralizeSegments(i,d).pipe(te(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a;if(n.path==="**"){let c=i.length>0?Kb(i).parameters:{},l=new li(i,c,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Vb(n),yt(n),n.component??n._loadedComponent??null,n,Bb(n));a=C({snapshot:l,consumedSegments:[],remainingSegments:[]}),r.children={}}else a=aR(r,n,i,e,this.urlSerializer).pipe(O(({matched:c,consumedSegments:l,remainingSegments:u,parameters:d})=>c?{snapshot:new li(l,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Vb(n),yt(n),n.component??n._loadedComponent??null,n,Bb(n)),consumedSegments:l,remainingSegments:u}:null));return a.pipe(De(c=>c===null?si(r):(e=n._injector??e,this.getChildConfig(e,n,i).pipe(De(({routes:l})=>{let u=n._loadedInjector??e,{snapshot:d,consumedSegments:f,remainingSegments:h}=c,{segmentGroup:m,slicedSegments:g}=jb(r,f,h,l);if(g.length===0&&m.hasChildren())return this.processChildren(u,l,m).pipe(O(b=>b===null?null:[new gt(d,b)]));if(l.length===0&&g.length===0)return C([new gt(d,[])]);let _=yt(n)===o;return this.processSegment(u,l,m,g,_?$:o,!0).pipe(O(b=>[new gt(d,b)]))})))))}getChildConfig(e,r,n){return r.children?C({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?C({routes:r._loadedRoutes,injector:r._loadedInjector}):rR(e,r,n,this.urlSerializer).pipe(te(i=>i?this.configLoader.loadChildren(e,r).pipe(ne(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):sR(r))):C({routes:[],injector:e})}};function mR(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function gR(t){let e=t.value.routeConfig;return e&&e.path===""}function g_(t){let e=[],r=new Set;for(let n of t){if(!gR(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=g_(n.children);e.push(new gt(n.value,i))}return e.filter(n=>!r.has(n))}function Vb(t){return t.data||{}}function Bb(t){return t.resolve||{}}function yR(t,e,r,n,i,o){return te(s=>pR(t,e,r,n,s.extractedUrl,i,o).pipe(O(({state:a,tree:c})=>me(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function vR(t,e){return te(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return C(r);let o=0;return ee(i).pipe(wt(s=>bR(s.route,n,t,e)),ne(()=>o++),Tr(1),te(s=>o===i.length?C(r):Re))})}function bR(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!$b(i)&&(o[ko]=i.title),_R(o,t,e,n).pipe(O(s=>(t._resolvedData=s,t.data=c_(t,r).resolve,i&&$b(i)&&(t.data[ko]=i.title),null)))}function _R(t,e,r,n){let i=wR(t);if(i.length===0)return C({});let o={};return ee(i).pipe(te(s=>DR(t[s],e,r,n).pipe(Ze(),ne(a=>{o[s]=a}))),Tr(1),Ii(o),Ke(s=>p_(s)?Re:Kt(s)))}function wR(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function DR(t,e,r,n){let i=Ho(e)??n,o=gi(t,i),s=o.resolve?o.resolve(e,r):i.runInContext(()=>o(e,r));return Mn(s)}function $b(t){return typeof t.title=="string"||t.title===null}function Lf(t){return De(e=>{let r=t(e);return r?ee(r).pipe(O(()=>e)):C(e)})}var Oc=new E("ROUTES"),fh=(()=>{let e=class{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=w(xa)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return C(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Mn(n.loadComponent()).pipe(O(Ub),ne(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Dt(()=>{this.componentLoaders.delete(n)})),o=new Gt(i,()=>new z).pipe(wr());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return C({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(O(c=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,u,d=!1;return Array.isArray(c)?(u=c,d=!0):(l=c.create(n).injector,u=l.get(Oc,[],N.Self|N.Optional).flat()),{routes:u.map(uh),injector:l}}),Dt(()=>{this.childrenLoaders.delete(i)})),a=new Gt(s,()=>new z).pipe(wr());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(n){return Mn(n()).pipe(O(Ub),te(i=>i instanceof Pi||Array.isArray(i)?C(i):ee(this.compiler.compileModuleAsync(i))))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function ER(t){return t&&typeof t=="object"&&"default"in t}function Ub(t){return ER(t)?t.default:t}var hh=(()=>{let e=class{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new z,this.configLoader=w(fh),this.environmentInjector=w(Ae),this.urlSerializer=w(Pc),this.rootContexts=w(Uo),this.inputBindingEnabled=w(kc,{optional:!0})!==null,this.navigationId=0,this.afterPreactivation=()=>C(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Gf(o)),i=o=>this.events.next(new Kf(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(me(D(D({},this.transitions.value),n),{id:i}))}setupNavigations(n){return this.transitions=new ge({id:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Vo,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fe(i=>i.id!==0),O(i=>me(D({},i),{extractedUrl:n.urlHandlingStrategy.extract(i.rawUrl)})),De(i=>{let o=!1,s=!1;return C(i).pipe(ne(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?me(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),De(a=>{let c=n.browserUrlTree.toString(),l=!n.navigated||a.extractedUrl.toString()!==c||c!==n.currentUrlTree.toString(),u=a.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&u!=="reload"){let d="";return this.events.next(new mr(a.id,n.serializeUrl(i.rawUrl),d,0)),n.rawUrlTree=a.rawUrl,a.resolve(null),Re}if(n.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Hb(a.source)&&(n.browserUrlTree=a.extractedUrl),C(a).pipe(De(d=>{let f=this.transitions?.getValue();return this.events.next(new Bo(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Re:Promise.resolve(d)}),yR(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),ne(d=>{if(i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=me(D({},this.currentNavigation),{finalUrl:d.urlAfterRedirects}),n.urlUpdateStrategy==="eager"){if(!d.extras.skipLocationChange){let h=n.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);n.setBrowserUrl(h,d)}n.browserUrlTree=d.urlAfterRedirects}let f=new Uf(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){let{id:d,extractedUrl:f,source:h,restoredState:m,extras:g}=a,_=new Bo(d,this.urlSerializer.serialize(f),h,m);this.events.next(_);let b=a_(f,this.rootComponentType).snapshot;return i=me(D({},a),{targetSnapshot:b,urlAfterRedirects:f,extras:me(D({},g),{skipLocationChange:!1,replaceUrl:!1})}),C(i)}else{let d="";return this.events.next(new mr(a.id,n.serializeUrl(i.extractedUrl),d,1)),n.rawUrlTree=a.rawUrl,a.resolve(null),Re}}),ne(a=>{let c=new Hf(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),O(a=>(i=me(D({},a),{guards:Vx(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),i)),Zx(this.environmentInjector,a=>this.events.next(a)),ne(a=>{if(i.guardsResult=a.guardsResult,hi(a.guardsResult))throw d_(this.urlSerializer,a.guardsResult);let c=new zf(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),fe(a=>a.guardsResult?!0:(n.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),Lf(a=>{if(a.guards.canActivateChecks.length)return C(a).pipe(ne(c=>{let l=new Wf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),De(c=>{let l=!1;return C(c).pipe(vR(n.paramsInheritanceStrategy,this.environmentInjector),ne({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),ne(c=>{let l=new qf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),Lf(a=>{let c=l=>{let u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(l.routeConfig).pipe(ne(d=>{l.component=d}),O(()=>{})));for(let d of l.children)u.push(...c(d));return u};return kn(c(a.targetSnapshot.root)).pipe(fn(),ve(1))}),Lf(()=>this.afterPreactivation()),O(a=>{let c=Nx(n.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i=me(D({},a),{targetRouterState:c}),i}),ne(a=>{n.currentUrlTree=a.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),n.routerState=a.targetRouterState,n.urlUpdateStrategy==="deferred"&&(a.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,a),n.browserUrlTree=a.urlAfterRedirects)}),jx(this.rootContexts,n.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ve(1),ne({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new cn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),Dt(()=>{if(!o&&!s){let a="";this.cancelNavigationTransition(i,a,1)}this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Ke(a=>{if(s=!0,h_(a)){kb(a)||(n.navigated=!0,n.restoreHistory(i,!0));let c=new pi(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode);if(this.events.next(c),!kb(a))i.resolve(!1);else{let l=n.urlHandlingStrategy.merge(a.url,n.rawUrlTree),u={skipLocationChange:i.extras.skipLocationChange,replaceUrl:n.urlUpdateStrategy==="eager"||Hb(i.source)};n.scheduleNavigation(l,Vo,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}else{n.restoreHistory(i,!0);let c=new Sc(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);this.events.next(c);try{i.resolve(n.errorHandler(a))}catch(l){i.reject(l)}}return Re}))}))}cancelNavigationTransition(n,i,o){let s=new pi(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Hb(t){return t!==Vo}var y_=(()=>{let e=class{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(n){return n.data[ko]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(CR))()},providedIn:"root"})})(),t})(),CR=(()=>{let e=class extends y_{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p($d))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),IR=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(SR))()},providedIn:"root"})})(),t})(),ch=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},SR=(()=>{let e=class extends ch{},t=e;return(()=>{e.\u0275fac=function(){let n;return function(o){return(n||(n=Bu(e)))(o||e)}}()})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),ph=new E("",{providedIn:"root",factory:()=>({})}),TR=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(MR))()},providedIn:"root"})})(),t})(),MR=(()=>{let e=class{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),We=(()=>(We=We||{},We[We.COMPLETE=0]="COMPLETE",We[We.FAILED=1]="FAILED",We[We.REDIRECTING=2]="REDIRECTING",We))();function v_(t,e){t.events.pipe(fe(r=>r instanceof cn||r instanceof pi||r instanceof Sc||r instanceof mr),O(r=>r instanceof cn||r instanceof mr?We.COMPLETE:(r instanceof pi?r.code===0||r.code===1:!1)?We.REDIRECTING:We.FAILED),fe(r=>r!==We.REDIRECTING),ve(1)).subscribe(()=>{e()})}function AR(t){throw t}function xR(t,e,r){return e.parse("/")}var RR={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},NR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ht=(()=>{let e=class{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if(this.canceledNavigationResolution==="computed")return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=w(Qr),this.isNgZoneEnabled=!1,this.options=w(ph,{optional:!0})||{},this.pendingTasks=w(Yr),this.errorHandler=this.options.errorHandler||AR,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||xR,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=w(TR),this.routeReuseStrategy=w(IR),this.titleStrategy=w(y_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=w(Oc,{optional:!0})?.flat()??[],this.navigationTransitions=w(hh),this.urlSerializer=w(Pc),this.location=w(ka),this.componentInputBindingEnabled=!!w(kc,{optional:!0}),this.isNgZoneEnabled=w(P)instanceof P&&P.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new An,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=a_(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId??0},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){let n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Vo,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{let i=n.type==="popstate"?"popstate":"hashchange";i==="popstate"&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,i,n.state)},0)}))}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=D({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(uh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=i,u=l?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=r_(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return i_(f,n,d,u??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=hi(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Vo,null,i)}navigate(n,i={skipLocationChange:!1}){return OR(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let i;try{i=this.urlSerializer.parse(n)}catch(o){i=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return i}isActive(n,i){let o;if(i===!0?o=D({},RR):i===!1?o=D({},NR):o=i,hi(n))return Rb(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Rb(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.keys(n).reduce((i,o)=>{let s=n[o];return s!=null&&(i[o]=s),i},{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,u;a?(c=a.resolve,l=a.reject,u=a.promise):u=new Promise((f,h)=>{c=f,l=h});let d=this.pendingTasks.add();return v_(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(f=>Promise.reject(f))}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=D(D({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=D(D({},i.extras.state),this.generateNgRouterState(i.id,(this.browserPageId??0)+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId??this.currentPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&s===0&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function OR(t){for(let e=0;e{let e=class{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new z,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof cn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:yg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(Ht),S(gr),qi("tabindex"),S(Gr),S(ae),S(on))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&Ia("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&Lt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",oo],skipLocationChange:["skipLocationChange","skipLocationChange",oo],replaceUrl:["replaceUrl","replaceUrl",oo],routerLink:"routerLink"},standalone:!0,features:[nd,Ot]})})(),t})(),OH=(()=>{let e=class{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ie,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof cn&&this.update()})}ngAfterContentInit(){C(this.links.changes,C(null)).pipe(_t()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=ee(n).pipe(_t()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){let i=FR(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>o.urlTree?n.isActive(o.urlTree,i):!1}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(Ht),S(ae),S(Gr),S(En),S(zb,8))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&Ey(s,zb,5),i&2){let a;rr(a=ir())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ot]})})(),t})();function FR(t){return!!t.paths}var Fc=class{};var PR=(()=>{let e=class{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(fe(n=>n instanceof cn),wt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Sa(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return ee(o).pipe(_t())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=C(null);let s=o.pipe(te(a=>a===null?C(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ee([s,a]).pipe(_t())}else return s})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ht),p(xa),p(Ae),p(Fc),p(fh))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),b_=new E(""),kR=(()=>{let e=class{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.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(n=>{n instanceof Bo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof cn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof mr&&n.code===0&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Tc&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Tc(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){Da()}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function LR(t){return t.routerState.root}function jc(t,e){return{\u0275kind:t,\u0275providers:e}}function jR(){let t=w(ft);return e=>{let r=t.get(nn);if(e!==r.components[0])return;let n=t.get(Ht),i=t.get(__);t.get(mh)===1&&n.initialNavigation(),t.get(w_,null,N.Optional)?.setUpPreloading(),t.get(b_,null,N.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var __=new E("",{factory:()=>new z}),mh=new E("",{providedIn:"root",factory:()=>1});function VR(){return jc(2,[{provide:mh,useValue:0},{provide:Ma,multi:!0,deps:[ft],useFactory:e=>{let r=e.get(Gy,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ht),o=e.get(__);v_(i,()=>{n(!0)}),e.get(hh).afterPreactivation=()=>(n(!0),o.closed?C(void 0):o),i.initialNavigation()}))}}])}function BR(){return jc(3,[{provide:Ma,multi:!0,useFactory:()=>{let e=w(Ht);return()=>{e.setUpLocationChangeListener()}}},{provide:mh,useValue:2}])}var w_=new E("");function $R(t){return jc(0,[{provide:w_,useExisting:PR},{provide:Fc,useExisting:t}])}function UR(){return jc(8,[Pb,{provide:kc,useExisting:Pb}])}var Wb=new E("ROUTER_FORROOT_GUARD"),HR=[ka,{provide:Pc,useClass:Lo},Ht,Uo,{provide:gr,useFactory:LR,deps:[Ht]},fh,[]];function zR(){return new $i("Router",Ht)}var FH=(()=>{let e=class{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[HR,[],{provide:Oc,multi:!0,useValue:n},{provide:Wb,useFactory:KR,deps:[[Ht,new Xn,new Ki]]},{provide:ph,useValue:i||{}},i?.useHash?qR():GR(),WR(),i?.preloadingStrategy?$R(i.preloadingStrategy).\u0275providers:[],{provide:$i,multi:!0,useFactory:zR},i?.initialNavigation?ZR(i):[],i?.bindToComponentInputs?UR().\u0275providers:[],QR()]}}static forChild(n){return{ngModule:e,providers:[{provide:Oc,multi:!0,useValue:n}]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Wb,8))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})();function WR(){return{provide:b_,useFactory:()=>{let t=w(Xy),e=w(P),r=w(ph),n=w(hh),i=w(Pc);return r.scrollOffset&&t.setOffset(r.scrollOffset),new kR(i,n,t,e,r)}}}function qR(){return{provide:on,useClass:Zy}}function GR(){return{provide:on,useClass:Id}}function KR(t){return"guarded"}function ZR(t){return[t.initialNavigation==="disabled"?BR().\u0275providers:[],t.initialNavigation==="enabledBlocking"?VR().\u0275providers:[]]}var qb=new E("");function QR(){return[{provide:qb,useFactory:jR},{provide:Oa,multi:!0,useExisting:qb}]}export{X as a,R as b,M_ as c,z as d,ge as e,bi as f,xh as g,Re as h,ee as i,C as j,Kt as k,B_ as l,O as m,kn as n,Ge as o,ms as p,Jc as q,Ei as r,Ci as s,el as t,tw as u,fe as v,nw as w,Ke as x,wt as y,dn as z,ve as A,tl as B,iw as C,Ln as D,Si as E,aw as F,cw as G,Ze as H,Jh as I,lw as J,ep as K,Mr as L,Zt as M,De as N,jn as O,uw as P,ne as Q,Up as R,y as S,v as T,G as U,p as V,w as W,Rt as X,K as Y,le as Z,rm as _,GV as $,KV as aa,xu as ba,Ot as ca,ZV as da,QV as ea,YV as fa,XV as ga,Bu as ha,qi as ia,qE as ja,E as ka,va as la,Pt as ma,kt as na,Xi as oa,_a as pa,ae as qa,Gr as ra,Ji as sa,b0 as ta,ft as ua,S as va,Da as wa,Wg as xa,Q0 as ya,wn as za,JV as Aa,Lt as Ba,yC as Ca,tB as Da,to as Ea,Jn as Fa,er as Ga,Dn as Ha,ty as Ia,ny as Ja,CC as Ka,nB as La,Zr as Ma,Ia as Na,SC as Oa,MC as Pa,tr as Qa,nr as Ra,xC as Sa,RC as Ta,ad as Ua,Je as Va,rB as Wa,QC as Xa,XC as Ya,cd as Za,iB as _a,hy as $a,JC as ab,ld as bb,ud as cb,oB as db,sB as eb,aB as fb,cB as gb,lB as hb,uB as ib,ie as jb,vn as kb,xt as lb,$e as mb,rr as nb,no as ob,Ey as pb,ir as qb,hB as rb,Ma as sb,P as tb,nn as ub,En as vb,oo as wb,or as xb,H as yb,ka as zb,OB as Ab,FB as Bb,PB as Cb,kB as Db,Qy as Eb,LB as Fb,jB as Gb,VB as Hb,BB as Ib,Sd as Jb,Yy as Kb,YB as Lb,l2 as Mb,mv as Nb,u2 as Ob,Ud as Pb,Ue as Qb,ei as Rb,_2 as Sb,bv as Tb,nT as Ub,Cn as Vb,_v as Wb,Ga as Xb,Vt as Yb,mo as Zb,Hd as _b,h2 as $b,e$ as ac,Cv as bc,Tv as cc,u$ as dc,RT as ec,NT as fc,M$ as gc,Av as hc,xv as ic,OT as jc,A$ as kc,Qd as lc,Yd as mc,x$ as nc,Xd as oc,R$ as pc,x2 as qc,ti as rc,wv as sc,B2 as tc,$2 as uc,Dv as vc,U2 as wc,O$ as xc,F$ as yc,P$ as zc,ef as Ac,k$ as Bc,L$ as Cc,j$ as Dc,V$ as Ec,B$ as Fc,$$ as Gc,U$ as Hc,tU as Ic,SU as Jc,TU as Kc,mt as Lc,wb as Mc,gc as Nc,Db as Oc,MU as Pc,AU as Qc,xU as Rc,RU as Sc,NU as Tc,OU as Uc,Nf as Vc,jA as Wc,xo as Xc,Eb as Yc,FU as Zc,PU as _c,kU as $c,LU as ad,jU as bd,VU as cd,BU as dd,zA as ed,aH as fd,cH as gd,nx as hd,hH as id,pH as jd,Bo as kd,cn as ld,Uo as md,gr as nd,Rx as od,y_ as pd,CR as qd,Ht as rd,zb as sd,OH as td,FH as ud}; + `)}`}function $i(t){return{toString:t}.toString()}var pn=(()=>(pn=pn||{},pn[pn.OnPush=0]="OnPush",pn[pn.Default=1]="Default",pn))(),Fe=(()=>(function(t){t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom"}(Fe||(Fe={})),Fe))(),Qt={},Oe=[],Tw=J({\u0275cmp:J}),Mw=J({\u0275dir:J}),Aw=J({\u0275pipe:J}),xw=J({\u0275mod:J}),js=J({\u0275fac:J}),Ti=J({__NG_ELEMENT_ID__:J}),op=J({__NG_ENV_ID__:J});function Xp(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===n||t.charCodeAt(i+o)<=32)return i}r=i+1}}function Tl(t,e,r){let n=0;for(;ne){s=o-1;break}}}for(;oo?f="":f=i[d+1].toLowerCase();let h=n&8?f:null;if(h&&Xp(h,l,0)!==-1||n&2&&l!==f){if(ct(n))return!1;s=!0}}}}return ct(n)||s}function ct(t){return(t&1)===0}function Pw(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!ct(s)&&(e+=ap(o,i),i=""),n=s,o=o||!ct(n);r++}return i!==""&&(e+=ap(o,i)),e}function $w(t){return t.map(Bw).join(",")}function Uw(t){let e=[],r=[],n=1,i=2;for(;n{let e=am(t),r=me(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===pn.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Fe.Emulated,styles:t.styles||Oe,_:null,schemas:t.schemas||null,tView:null,id:""});cm(r);let n=t.dependencies;return r.directiveDefs=lp(n,!1),r.pipeDefs=lp(n,!0),r.id=Ww(r),r})}function Hw(t){return gn(t)||Su(t)}function zw(t){return t!==null}function K(t){return $i(()=>({type:t.type,bootstrap:t.bootstrap||Oe,declarations:t.declarations||Oe,imports:t.imports||Oe,exports:t.exports||Oe,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function cp(t,e){if(t==null)return Qt;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),r[i]=n,e&&(e[i]=o)}return r}function le(t){return $i(()=>{let e=am(t);return cm(e),e})}function rm(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 gn(t){return t[Tw]||null}function Su(t){return t[Mw]||null}function im(t){return t[Aw]||null}function om(t){let e=gn(t)||Su(t)||im(t);return e!==null?e.standalone:!1}function sm(t,e){let r=t[xw]||null;if(!r&&e===!0)throw new Error(`Type ${Se(t)} does not have '\u0275mod' property.`);return r}function am(t){let e={};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:e,inputTransforms:null,inputConfig:t.inputs||Qt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Oe,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cp(t.inputs,e),outputs:cp(t.outputs)}}function cm(t){t.features?.forEach(e=>e(t))}function lp(t,e){if(!t)return null;let r=e?im:Hw;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(zw)}function Ww(t){let e=0,r=[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 r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var Rt=0,V=1,U=2,he=3,ut=4,Si=5,je=6,Ri=7,Ye=8,kr=9,$n=10,re=11,Ni=12,up=13,Hr=14,dt=15,Ui=16,xr=17,It=18,ca=19,lm=20,mn=21,Vs=22,Ms=23,As=24,Pe=25;var Tu=1,um=2,Un=7,Bs=8,Lr=9;var Le=11;function Vn(t){return Array.isArray(t)&&typeof t[Tu]=="object"}function en(t){return Array.isArray(t)&&t[Tu]===!0}function Mu(t){return(t.flags&4)!==0}function la(t){return t.componentOffset>-1}function ua(t){return(t.flags&1)===1}function Yt(t){return!!t.template}function qw(t){return(t[U]&512)!==0}function Hn(t,e){let r=t.hasOwnProperty(js);return r?t[js]:null}var Gw=Symbol("SIGNAL");function Au(t,e,r={}){return e[Gw]=t,Object.assign(e,r)}function dm(t,e){return(t===null||typeof t!="object")&&Object.is(t,e)}var Ml=class{constructor(e){this.ref=e}deref(){return this.ref}},Kw=Ce.WeakRef??Ml;function Zw(t){return new Kw(t)}var Qw=0,Dt=null,bs=!1;function be(t){let e=Dt;return Dt=t,e}var jr=class{constructor(){this.id=Qw++,this.ref=Zw(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(let[e,r]of this.producers){let n=r.producerNode.deref();if(n===void 0||r.atTrackingVersion!==this.trackingVersion){this.producers.delete(e),n?.consumers.delete(this.id);continue}if(n.producerPollStatus(r.seenValueVersion))return!0}return!1}producerMayHaveChanged(){let e=bs;bs=!0;try{for(let[r,n]of this.consumers){let i=n.consumerNode.deref();if(i===void 0||i.trackingVersion!==n.atTrackingVersion){this.consumers.delete(r),i?.producers.delete(this.id);continue}i.onConsumerDependencyMayHaveChanged()}}finally{bs=e}}producerAccessed(){if(bs)throw new Error("");if(Dt===null)return;let e=Dt.producers.get(this.id);e===void 0?(e={consumerNode:Dt.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:Dt.trackingVersion},Dt.producers.set(this.id,e),this.consumers.set(Dt.id,e)):(e.seenValueVersion=this.valueVersion,e.atTrackingVersion=Dt.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return Dt?.consumerAllowSignalWrites!==!1}producerPollStatus(e){return this.valueVersion!==e?!0:(this.onProducerUpdateValueVersion(),this.valueVersion!==e)}};function WV(t,e){let r=new Al(t,e?.equal??dm);return Au(r,r.signal.bind(r))}var al=Symbol("UNSET"),cl=Symbol("COMPUTING"),_s=Symbol("ERRORED"),Al=class extends jr{constructor(e,r){super(),this.computation=e,this.equal=r,this.value=al,this.error=null,this.stale=!0,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){this.stale||(this.stale=!0,this.producerMayHaveChanged())}onProducerUpdateValueVersion(){if(this.stale){if(this.value!==al&&this.value!==cl&&!this.consumerPollProducersForChange()){this.stale=!1;return}this.recomputeValue()}}recomputeValue(){if(this.value===cl)throw new Error("Detected cycle in computations.");let e=this.value;this.value=cl,this.trackingVersion++;let r=be(this),n;try{n=this.computation()}catch(i){n=_s,this.error=i}finally{be(r)}if(this.stale=!1,e!==al&&e!==_s&&n!==_s&&this.equal(e,n)){this.value=e;return}this.value=n,this.valueVersion++}signal(){if(this.onProducerUpdateValueVersion(),this.producerAccessed(),this.value===_s)throw this.error;return this.value}};function Yw(){throw new Error}var fm=Yw;function ll(){fm()}function Xw(t){fm=t}var dp=null,xl=class extends jr{constructor(e,r){super(),this.value=e,this.equal=r,this.consumerAllowSignalWrites=!1}onConsumerDependencyMayHaveChanged(){}onProducerUpdateValueVersion(){}set(e){this.producerUpdatesAllowed||ll(),this.equal(this.value,e)||(this.value=e,this.valueVersion++,this.producerMayHaveChanged(),dp?.())}update(e){this.producerUpdatesAllowed||ll(),this.set(e(this.value))}mutate(e){this.producerUpdatesAllowed||ll(),e(this.value),this.valueVersion++,this.producerMayHaveChanged(),dp?.()}asReadonly(){return this.readonlySignal===void 0&&(this.readonlySignal=Au(this,()=>this.signal())),this.readonlySignal}signal(){return this.producerAccessed(),this.value}};function qV(t,e){let r=new xl(t,e?.equal??dm);return Au(r,r.signal.bind(r),{set:r.set.bind(r),update:r.update.bind(r),mutate:r.mutate.bind(r),asReadonly:r.asReadonly.bind(r)})}function xu(t){let e=be(null);try{return t()}finally{be(e)}}var fp=()=>{},Rl=class extends jr{constructor(e,r,n){super(),this.watch=e,this.schedule=r,this.dirty=!1,this.cleanupFn=fp,this.registerOnCleanup=i=>{this.cleanupFn=i},this.consumerAllowSignalWrites=n}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,this.trackingVersion!==0&&!this.consumerPollProducersForChange())return;let e=be(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=fp,this.watch(this.registerOnCleanup)}finally{be(e)}}cleanup(){this.cleanupFn()}},Nl=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Nt(){return hm}function hm(t){return t.type.prototype.ngOnChanges&&(t.setInput=eD),Jw}Nt.ngInherit=!0;function Jw(){let t=mm(this),e=t?.current;if(e){let r=t.previous;if(r===Qt)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function eD(t,e,r,n){let i=this.declaredInputs[r],o=mm(t)||tD(t,{previous:Qt,current:null}),s=o.current||(o.current={}),a=o.previous,c=a[i];s[i]=new Nl(c&&c.currentValue,e,a===Qt),t[n]=e}var pm="__ngSimpleChanges__";function mm(t){return t[pm]||null}function tD(t,e){return t[pm]=e}var hp=null;var Et=function(t,e,r){hp?.(t,e,r)},gm="svg",nD="math";function St(t){for(;Array.isArray(t);)t=t[Rt];return t}function rD(t){for(;Array.isArray(t);){if(typeof t[Tu]=="object")return t;t=t[Rt]}return null}function ym(t,e){return St(e[t])}function Xe(t,e){return St(e[t.index])}function vm(t,e){return t.data[e]}function Ru(t,e){return t[e]}function bn(t,e){let r=e[t];return Vn(r)?r:r[Rt]}function iD(t){return(t[U]&4)===4}function oD(t){return(t[U]&128)===128}function sD(t){return en(t[he])}function Vr(t,e){return e==null?null:t[e]}function bm(t){t[xr]=0}function aD(t){t[U]&1024||(t[U]|=1024,wm(t,1))}function _m(t){t[U]&1024&&(t[U]&=-1025,wm(t,-1))}function wm(t,e){let r=t[he];if(r===null)return;r[Si]+=e;let n=r;for(r=r[he];r!==null&&(e===1&&n[Si]===1||e===-1&&n[Si]===0);)r[Si]+=e,n=r,r=r[he]}function Dm(t,e){if((t[U]&256)===256)throw new y(911,!1);t[mn]===null&&(t[mn]=[]),t[mn].push(e)}function cD(t,e){if(t[mn]===null)return;let r=t[mn].indexOf(e);r!==-1&&t[mn].splice(r,1)}var B={lFrame:Am(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function lD(){return B.lFrame.elementDepthCount}function uD(){B.lFrame.elementDepthCount++}function dD(){B.lFrame.elementDepthCount--}function Em(){return B.bindingsEnabled}function Cm(){return B.skipHydrationRootTNode!==null}function fD(t){return B.skipHydrationRootTNode===t}function hD(){B.skipHydrationRootTNode=null}function j(){return B.lFrame.lView}function oe(){return B.lFrame.tView}function GV(t){return B.lFrame.contextLView=t,t[Ye]}function KV(t){return B.lFrame.contextLView=null,t}function Te(){let t=Im();for(;t!==null&&t.type===64;)t=t.parent;return t}function Im(){return B.lFrame.currentTNode}function pD(){let t=B.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Qn(t,e){let r=B.lFrame;r.currentTNode=t,r.isParent=e}function Nu(){return B.lFrame.isParent}function Ou(){B.lFrame.isParent=!1}function mD(){return B.lFrame.contextLView}function Hi(){let t=B.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function gD(){return B.lFrame.bindingIndex}function yD(t){return B.lFrame.bindingIndex=t}function zi(){return B.lFrame.bindingIndex++}function Fu(t){let e=B.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function vD(){return B.lFrame.inI18n}function bD(t,e){let r=B.lFrame;r.bindingIndex=r.bindingRootIndex=t,Ol(e)}function _D(){return B.lFrame.currentDirectiveIndex}function Ol(t){B.lFrame.currentDirectiveIndex=t}function Pu(t){let e=B.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Sm(){return B.lFrame.currentQueryIndex}function ku(t){B.lFrame.currentQueryIndex=t}function wD(t){let e=t[V];return e.type===2?e.declTNode:e.type===1?t[je]:null}function Tm(t,e,r){if(r&N.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(r&N.Host);)if(i=wD(o),i===null||(o=o[Hr],i.type&10))break;if(i===null)return!1;e=i,t=o}let n=B.lFrame=Mm();return n.currentTNode=e,n.lView=t,!0}function Lu(t){let e=Mm(),r=t[V];B.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Mm(){let t=B.lFrame,e=t===null?null:t.child;return e===null?Am(t):e}function Am(t){let e={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=e),e}function xm(){let t=B.lFrame;return B.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Rm=xm;function ju(){let t=xm();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 DD(t){return(B.lFrame.contextLView=ED(t,B.lFrame.contextLView))[Ye]}function ED(t,e){for(;t>0;)e=e[Hr],t--;return e}function Yn(){return B.lFrame.selectedIndex}function zn(t){B.lFrame.selectedIndex=t}function zr(){let t=B.lFrame;return vm(t.tView,t.selectedIndex)}function ZV(){B.lFrame.currentNamespace=gm}function QV(){CD()}function CD(){B.lFrame.currentNamespace=null}function ID(){return B.lFrame.currentNamespace}var Nm=!0;function da(){return Nm}function fa(t){Nm=t}function SD(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(n){let s=hm(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}i&&(r.preOrderHooks??=[]).push(0-t,i),o&&((r.preOrderHooks??=[]).push(t,o),(r.preOrderCheckHooks??=[]).push(t,o))}function ha(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r=n)break}else e[c]<0&&(t[xr]+=65536),(a>13>16&&(t[U]&3)===e&&(t[U]+=8192,pp(a,o)):pp(a,o)}var Fr=-1,Wn=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function MD(t){return t instanceof Wn}function AD(t){return(t.flags&8)!==0}function xD(t){return(t.flags&16)!==0}function Fm(t){return t!==Fr}function $s(t){let e=t&32767;return t&32767}function RD(t){return t>>16}function Us(t,e){let r=RD(t),n=e;for(;r>0;)n=n[Hr],r--;return n}var Fl=!0;function Hs(t){let e=Fl;return Fl=t,e}var ND=256,Pm=ND-1,km=5,OD=0,Ct={};function FD(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Ti)&&(n=r[Ti]),n==null&&(n=r[Ti]=OD++);let i=n&Pm,o=1<>km)]|=o}function zs(t,e){let r=Lm(t,e);if(r!==-1)return r;let n=e[V];n.firstCreatePass&&(t.injectorIndex=e.length,dl(n.data,t),dl(e,null),dl(n.blueprint,null));let i=Vu(t,e),o=t.injectorIndex;if(Fm(i)){let s=$s(i),a=Us(i,e),c=a[V].data;for(let l=0;l<8;l++)e[o+l]=a[s+l]|c[s+l]}return e[o+8]=i,o}function dl(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Lm(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Vu(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Um(i),n===null)return Fr;if(r++,i=i[Hr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return Fr}function Pl(t,e,r){FD(t,e,r)}function PD(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i>20,d=n?a:a+u,f=i?a+u:l;for(let h=d;h=c&&m.type===r)return h}if(i){let h=s[c];if(h&&Yt(h)&&h.type===r)return c}return null}function qn(t,e,r,n){let i=t[r],o=e.data;if(MD(i)){let s=i;s.resolving&&hw(fw(o[r]));let a=Hs(s.canSeeViewProviders);s.resolving=!0;let c=s.injectImpl?Qe(s.injectImpl):null,l=Tm(t,n,N.Default);try{i=t[r]=s.factory(void 0,o,t,n),e.firstCreatePass&&r>=n.directiveStart&&SD(r,o[r],e)}finally{c!==null&&Qe(c),Hs(a),s.resolving=!1,Rm()}}return i}function LD(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Ti)?t[Ti]:void 0;return typeof e=="number"?e>=0?e&Pm:jD:e}function mp(t,e,r){let n=1<>km)]&n)}function gp(t,e){return!(t&N.Self)&&!(t&N.Host&&e)}var Bn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Bm(this._tNode,this._lView,e,aa(n),r)}};function jD(){return new Bn(Te(),j())}function Bu(t){return $i(()=>{let e=t.prototype.constructor,r=e[js]||kl(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let o=i[js]||kl(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function kl(t){return Hp(t)?()=>{let e=kl(Ee(t));return e&&e()}:Hn(t)}function VD(t,e,r,n,i){let o=t,s=e;for(;o!==null&&s!==null&&s[U]&2048&&!(s[U]&512);){let a=$m(o,s,r,n|N.Self,Ct);if(a!==Ct)return a;let c=o.parent;if(!c){let l=s[lm];if(l){let u=l.get(r,Ct,n);if(u!==Ct)return u}c=Um(s),s=s[Hr]}o=c}return i}function Um(t){let e=t[V],r=e.type;return r===2?e.declTNode:r===1?t[je]:null}function Wi(t){return PD(Te(),t)}var ws="__parameters__";function BD(t){return function(...r){if(t){let n=t(...r);for(let i in n)this[i]=n[i]}}}function Hm(t,e,r){return $i(()=>{let n=BD(e);function i(...o){if(this instanceof i)return n.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(ws)?c[ws]:Object.defineProperty(c,ws,{value:[]})[ws];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function $D(t){let e=Ce.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function UD(t){return typeof t=="function"}function HD(t,e,r){if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(r)?$u(r,e):e(r))}function zm(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Ws(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Wm(t,e){let r=[];for(let n=0;ne;){let o=i-2;t[i]=t[o],i--}t[e]=r,t[e+1]=n}}function pa(t,e,r){let n=qi(t,e);return n>=0?t[n|1]=r:(n=~n,WD(t,n,e,r)),n}function fl(t,e){let r=qi(t,e);if(r>=0)return t[r|1]}function qi(t,e){return qD(t,e,1)}function qD(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let o=n+(i-n>>1),s=t[o<e?i=o:n=o+1}return~(i<{let s=[];i.templateUrl&&s.push(n(i.templateUrl).then(d=>{i.template=d}));let a=i.styleUrls,c=i.styles||(i.styles=[]),l=i.styles.length;a&&a.forEach((d,f)=>{c.push(""),s.push(n(d).then(h=>{c[l+f]=h,a.splice(a.indexOf(d),1),a.length==0&&(i.styleUrls=void 0)}))});let u=Promise.all(s).then(()=>XD(o));e.push(u)}),ZD(),Promise.all(e).then(()=>{})}var qs=new Map,KD=new Set;function ZD(){let t=qs;return qs=new Map,t}function QD(){return qs.size===0}function YD(t){return typeof t=="string"?t:t.text()}function XD(t){KD.delete(t)}function Ll(t){return(t.flags&128)===128}var Me=(()=>(Me=Me||{},Me[Me.Important=1]="Important",Me[Me.DashCase=2]="DashCase",Me))(),JD=/^>|^->||--!>|)/,tE="\u200B$1\u200B";function nE(t){return t.replace(JD,e=>e.replace(eE,tE))}var qm=new Map,rE=0;function iE(){return rE++}function oE(t){qm.set(t[ca],t)}function sE(t){qm.delete(t[ca])}var yp="__ngContext__";function yn(t,e){Vn(e)?(t[yp]=e[ca],oE(e)):t[yp]=e}var aE;function Uu(t,e){return aE(t,e)}function Hu(t){let e=t[he];return en(e)?e[he]:e}function Gm(t){return Zm(t[Ni])}function Km(t){return Zm(t[ut])}function Zm(t){for(;t!==null&&!en(t);)t=t[ut];return t}function Rr(t,e,r,n,i){if(n!=null){let o,s=!1;en(n)?o=n:Vn(n)&&(s=!0,n=n[Rt]);let a=St(n);t===0&&r!==null?i==null?eg(e,r,a):Gs(e,r,a,i||null,!0):t===1&&r!==null?Gs(e,r,a,i||null,!0):t===2?CE(e,a,s):t===3&&e.destroyNode(a),o!=null&&SE(e,t,o,r,i)}}function cE(t,e){return t.createText(e)}function lE(t,e,r){t.setValue(e,r)}function uE(t,e){return t.createComment(nE(e))}function Qm(t,e,r){return t.createElement(e,r)}function dE(t,e){let r=e[re];Ki(t,e,r,2,null,null),e[Rt]=null,e[je]=null}function fE(t,e,r,n,i,o){n[Rt]=i,n[je]=e,Ki(t,n,r,1,i,o)}function hE(t,e){Ki(t,e,e[re],2,null,null)}function pE(t){let e=t[Ni];if(!e)return hl(t[V],t);for(;e;){let r=null;if(Vn(e))r=e[Ni];else{let n=e[Le];n&&(r=n)}if(!r){for(;e&&!e[ut]&&e!==t;)Vn(e)&&hl(e[V],e),e=e[he];e===null&&(e=t),Vn(e)&&hl(e[V],e),r=e&&e[ut]}e=r}}function mE(t,e,r,n){let i=Le+n,o=r.length;n>0&&(r[i-1][ut]=e),n0&&(t[r-1][ut]=n[ut]);let o=Ws(t,Le+e);dE(n[V],n);let s=o[It];s!==null&&s.detachView(o[V]),n[he]=null,n[ut]=null,n[U]&=-129}return n}function Xm(t,e){if(!(e[U]&256)){let r=e[re];e[Ms]?.destroy(),e[As]?.destroy(),r.destroyNode&&Ki(t,e,r,3,null,null),pE(e)}}function hl(t,e){if(!(e[U]&256)){e[U]&=-129,e[U]|=256,vE(t,e),yE(t,e),e[V].type===1&&e[re].destroy();let r=e[Ui];if(r!==null&&en(e[he])){r!==e[he]&&Ym(r,e);let n=e[It];n!==null&&n.detachView(t)}sE(e)}}function yE(t,e){let r=t.cleanup,n=e[Ri];if(r!==null)for(let o=0;o=0?n[s]():n[-s].unsubscribe(),o+=2}else{let s=n[r[o+1]];r[o].call(s)}n!==null&&(e[Ri]=null);let i=e[mn];if(i!==null){e[mn]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[n.directiveStart+i];if(o===Fe.None||o===Fe.Emulated)return null}return Xe(n,r)}}function Gs(t,e,r,n,i){t.insertBefore(e,r,n,i)}function eg(t,e,r){t.appendChild(e,r)}function vp(t,e,r,n,i){n!==null?Gs(t,e,r,n,i):eg(t,e,r)}function _E(t,e,r,n){t.removeChild(e,r,n)}function zu(t,e){return t.parentNode(e)}function wE(t,e){return t.nextSibling(e)}function tg(t,e,r){return EE(t,e,r)}function DE(t,e,r){return t.type&40?Xe(t,r):null}var EE=DE,bp;function ma(t,e,r,n){let i=Jm(t,n,e),o=e[re],s=n.parent||e[je],a=tg(s,n,e);if(i!=null)if(Array.isArray(r))for(let c=0;ct,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ds}function ga(t){return AE()?.createHTML(t)||t}var Bl;function sg(t){Bl=t}function xE(){if(Bl!==void 0)return Bl;if(typeof document<"u")return document;throw new y(210,!1)}var Es;function RE(){if(Es===void 0&&(Es=null,Ce.trustedTypes))try{Es=Ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Es}function _p(t){return RE()?.createScriptURL(t)||t}var Xt=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wp})`}},$l=class extends Xt{getTypeName(){return"HTML"}},Ul=class extends Xt{getTypeName(){return"Style"}},Hl=class extends Xt{getTypeName(){return"Script"}},zl=class extends Xt{getTypeName(){return"URL"}},Wl=class extends Xt{getTypeName(){return"ResourceURL"}};function Ot(t){return t instanceof Xt?t.changingThisBreaksApplicationSecurity:t}function _n(t,e){let r=NE(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Wp})`)}return r===e}function NE(t){return t instanceof Xt&&t.getTypeName()||null}function ag(t){return new $l(t)}function cg(t){return new Ul(t)}function lg(t){return new Hl(t)}function ug(t){return new zl(t)}function dg(t){return new Wl(t)}function OE(t){let e=new Gl(t);return FE()?new ql(e):e}var ql=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(ga(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Gl=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=ga(e),r}};function FE(){try{return!!new window.DOMParser().parseFromString(ga(""),"text/html")}catch{return!1}}var PE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ya(t){return t=String(t),t.match(PE)?t:"unsafe:"+t}function tn(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function Zi(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var fg=tn("area,br,col,hr,img,wbr"),hg=tn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pg=tn("rp,rt"),kE=Zi(pg,hg),LE=Zi(hg,tn("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")),jE=Zi(pg,tn("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")),wp=Zi(fg,LE,jE,kE),mg=tn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),VE=tn("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"),BE=tn("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"),$E=Zi(mg,VE,BE),UE=tn("script,style,template"),Kl=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0;for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){r=r.firstChild;continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=this.checkClobberedElement(r,r.nextSibling);if(i){r=i;break}r=this.checkClobberedElement(r,r.parentNode)}}return this.buf.join("")}startElement(e){let r=e.nodeName.toLowerCase();if(!wp.hasOwnProperty(r))return this.sanitizedSomething=!0,!UE.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let i=0;i"),!0}endElement(e){let r=e.nodeName.toLowerCase();wp.hasOwnProperty(r)&&!fg.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(Dp(e))}checkClobberedElement(e,r){if(r&&(e.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return r}},HE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,zE=/([^\#-~ |!])/g;function Dp(t){return t.replace(/&/g,"&").replace(HE,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(zE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var Cs;function gg(t,e){let r=null;try{Cs=Cs||OE(t);let n=e?String(e):"";r=Cs.getInertBodyElement(n);let i=5,o=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=o,o=r.innerHTML,r=Cs.getInertBodyElement(n)}while(n!==o);let a=new Kl().sanitizeChildren(Ep(r)||r);return ga(a)}finally{if(r){let n=Ep(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Ep(t){return"content"in t&&WE(t)?t.content:null}function WE(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Q=(()=>(Q=Q||{},Q[Q.NONE=0]="NONE",Q[Q.HTML=1]="HTML",Q[Q.STYLE=2]="STYLE",Q[Q.SCRIPT=3]="SCRIPT",Q[Q.URL=4]="URL",Q[Q.RESOURCE_URL=5]="RESOURCE_URL",Q))();function qE(t){let e=vg();return e?e.sanitize(Q.URL,t)||"":_n(t,"URL")?Ot(t):ya(Pr(t))}function GE(t){let e=vg();if(e)return _p(e.sanitize(Q.RESOURCE_URL,t)||"");if(_n(t,"ResourceURL"))return _p(Ot(t));throw new y(904,!1)}function KE(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?GE:qE}function yg(t,e,r){return KE(e,r)(t)}function vg(){let t=j();return t&&t[$n].sanitizer}var E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=v({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}},Qi=new E("ENVIRONMENT_INITIALIZER"),bg=new E("INJECTOR",-1),_g=new E("INJECTOR_DEF_TYPES"),Ks=class{get(e,r=Ai){if(r===Ai){let n=new Error(`NullInjectorError: No provider for ${Se(e)}!`);throw n.name="NullInjectorError",n}return r}};function va(t){return{\u0275providers:t}}function ZE(...t){return{\u0275providers:wg(!0,t),\u0275fromNgModule:!0}}function wg(t,...e){let r=[],n=new Set,i;return $u(e,o=>{let s=o;Zl(s,r,[],n)&&(i||=[],i.push(s))}),i!==void 0&&Dg(i,r),r}function Dg(t,e){for(let r=0;r{e.push(o)})}}function Zl(t,e,r,n){if(t=Ee(t),!t)return!1;let i=null,o=np(t),s=!o&&gn(t);if(!o&&!s){let c=t.ngModule;if(o=np(c),o)i=c;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=n.has(i);if(s){if(a)return!1;if(n.add(i),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Zl(l,e,r,n)}}else if(o){if(o.imports!=null&&!a){n.add(i);let l;try{$u(o.imports,u=>{Zl(u,e,r,n)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Dg(l,e)}if(!a){let l=Hn(i)||(()=>new i);e.push({provide:i,useFactory:l,deps:Oe},{provide:_g,useValue:i,multi:!0},{provide:Qi,useValue:()=>p(i),multi:!0})}let c=o.providers;if(c!=null&&!a){let l=t;qu(c,u=>{e.push(u)})}}else return!1;return i!==t&&t.providers!==void 0}function qu(t,e){for(let r of t)zp(r)&&(r=r.\u0275providers),Array.isArray(r)?qu(r,e):e(r)}var QE=J({provide:String,useValue:J});function Eg(t){return t!==null&&typeof t=="object"&&QE in t}function YE(t){return!!(t&&t.useExisting)}function XE(t){return!!(t&&t.useFactory)}function Br(t){return typeof t=="function"}function JE(t){return!!t.useClass}var ba=new E("Set Injector scope."),Fs={},e0={},pl;function Gu(){return pl===void 0&&(pl=new Ks),pl}var Ae=class{},Zs=class extends Ae{get destroyed(){return this._destroyed}constructor(e,r,n,i){super(),this.parent=r,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Yl(e,s=>this.processProvider(s)),this.records.set(bg,Nr(void 0,this)),i.has("environment")&&this.records.set(Ae,Nr(void 0,this));let o=this.records.get(ba);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(_g.multi,Oe,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;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()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Ar(this),n=Qe(void 0);try{return e()}finally{Ar(r),Qe(n)}}get(e,r=Ai,n=N.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(op))return e[op](this);n=aa(n);let i=Ar(this),o=Qe(void 0);try{if(!(n&N.SkipSelf)){let a=this.records.get(e);if(a===void 0){let c=o0(e)&&sa(e);c&&this.injectableDefInScope(c)?a=Nr(Ql(e),Fs):a=null,this.records.set(e,a)}if(a!=null)return this.hydrate(e,a)}let s=n&N.Self?Gu():this.parent;return r=n&N.Optional&&r===Ai?null:r,s.get(e,r)}catch(s){if(s.name==="NullInjectorError"){if((s[Ls]=s[Ls]||[]).unshift(Se(e)),i)throw s;return Iw(s,e,"R3InjectorError",this.source)}else throw s}finally{Qe(o),Ar(i)}}resolveInjectorInitializers(){let e=Ar(this),r=Qe(void 0);try{let n=this.get(Qi.multi,Oe,N.Self);for(let i of n)i()}finally{Ar(e),Qe(r)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(Se(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new y(205,!1)}processProvider(e){e=Ee(e);let r=Br(e)?e:Ee(e&&e.provide),n=n0(e);if(!Br(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Nr(void 0,Fs,!0),i.factory=()=>Sl(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}else{let i=this.records.get(r)}this.records.set(r,n)}hydrate(e,r){return r.value===Fs&&(r.value=e0,r.value=r.factory()),typeof r.value=="object"&&r.value&&i0(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}injectableDefInScope(e){if(!e.providedIn)return!1;let r=Ee(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function Ql(t){let e=sa(t),r=e!==null?e.factory:Hn(t);if(r!==null)return r;if(t instanceof E)throw new y(204,!1);if(t instanceof Function)return t0(t);throw new y(204,!1)}function t0(t){let e=t.length;if(e>0){let n=Wm(e,"?");throw new y(204,!1)}let r=gw(t);return r!==null?()=>r.factory(t):()=>new t}function n0(t){if(Eg(t))return Nr(void 0,t.useValue);{let e=Cg(t);return Nr(e,Fs)}}function Cg(t,e,r){let n;if(Br(t)){let i=Ee(t);return Hn(i)||Ql(i)}else if(Eg(t))n=()=>Ee(t.useValue);else if(XE(t))n=()=>t.useFactory(...Sl(t.deps||[]));else if(YE(t))n=()=>p(Ee(t.useExisting));else{let i=Ee(t&&(t.useClass||t.provide));if(r0(t))n=()=>new i(...Sl(t.deps));else return Hn(i)||Ql(i)}return n}function Nr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function r0(t){return!!t.deps}function i0(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function o0(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function Yl(t,e){for(let r of t)Array.isArray(r)?Yl(r,e):r&&zp(r)?Yl(r.\u0275providers,e):e(r)}var Wr=new E("AppId",{providedIn:"root",factory:()=>s0}),s0="ng",Ku=new E("Platform Initializer"),Ft=new E("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Pt=new E("AnimationModuleType"),Yi=new E("CSP nonce",{providedIn:"root",factory:()=>xE().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var a0="h",c0="b";var l0=(t,e)=>null;function Ig(t,e){return l0(t,e)}var Xl=class{},Qs=class{};function u0(t){let e=Error(`No component factory found for ${Se(t)}.`);return e[d0]=t,e}var d0="ngComponent";var Jl=class{resolveComponentFactory(e){throw u0(e)}},_a=(()=>{let e=class{},t=e;return(()=>{e.NULL=new Jl})(),t})();function f0(){return qr(Te(),j())}function qr(t,e){return new ae(Xe(t,e))}var ae=(()=>{let e=class{constructor(n){this.nativeElement=n}},t=e;return(()=>{e.__NG_ELEMENT_ID__=f0})(),t})();function h0(t){return t instanceof ae?t.nativeElement:t}var Tt=class{},Gr=(()=>{let e=class{constructor(){this.destroyNode=null}},t=e;return(()=>{e.__NG_ELEMENT_ID__=()=>p0()})(),t})();function p0(){let t=j(),e=Te(),r=bn(e.index,t);return(Vn(r)?r:t)[re]}var m0=(()=>{let e=class{},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:()=>null})})(),t})(),Gn=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},g0=new Gn("16.1.3"),ml={};function wa(t){for(;t;){t[U]|=64;let e=Hu(t);if(qw(t)&&!e)return t;t=e}return null}var y0="ngOriginalError";function gl(t){return t[y0]}var Ve=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&gl(e);for(;r&&gl(r);)r=gl(r);return r||null}};var Sg=!1,v0=new E("",{providedIn:"root",factory:()=>Sg});function Tg(t){return t instanceof Function?t():t}var Ys=class extends jr{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(e){this._lView=e}onConsumerDependencyMayHaveChanged(){wa(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(e,r,n){let i=be(this);this.trackingVersion++;try{e(r,n)}finally{be(i)}}destroy(){this.trackingVersion++}},Xs=null;function Mg(){return Xs??=new Ys,Xs}function Ag(t,e){return t[e]??Mg()}function xg(t,e){let r=Mg();r.hasReadASignal&&(t[e]=Xs,r.lView=t,Xs=new Ys)}var Be={};function Xi(t){Rg(oe(),j(),Yn()+t,!1)}function Rg(t,e,r,n){if(!n)if((e[U]&3)===3){let o=t.preOrderCheckHooks;o!==null&&xs(e,o,r)}else{let o=t.preOrderHooks;o!==null&&Rs(e,o,0,r)}zn(r)}function b0(t){if(!Zp()&&!Dw())throw new y(-203,!1)}function Cp(t,e=null,r=null,n){let i=Ng(t,e,r,n);return i.resolveInjectorInitializers(),i}function Ng(t,e=null,r=null,n,i=new Set){let o=[r||Oe,ZE(t)];return n=n||(typeof t=="object"?void 0:Se(t)),new Zs(o,e||Gu(),n||null,i)}var ft=(()=>{let e=class{static create(n,i){if(Array.isArray(n))return Cp({name:""},i,n,"");{let o=n.name??"";return Cp({name:o},n.parent,n.providers,o)}}},t=e;return(()=>{e.THROW_IF_NOT_FOUND=Ai})(),(()=>{e.NULL=new Ks})(),(()=>{e.\u0275prov=v({token:e,providedIn:"any",factory:()=>p(bg)})})(),(()=>{e.__NG_ELEMENT_ID__=-1})(),t})();function S(t,e=N.Default){let r=j();if(r===null)return p(t,e);let n=Te();return Bm(n,r,Ee(t),e)}function Da(){let t="invalid";throw new Error(t)}function _0(t,e){let r=t.hostBindingOpCodes;if(r===null)return;let n=Ag(e,As);try{for(let i=0;iPe&&Rg(t,e,Pe,!1),Et(a?2:0,i),a)o.runInContext(r,n,i);else{let l=be(null);try{r(n,i)}finally{be(l)}}}finally{a&&e[Ms]===null&&xg(e,Ms),zn(s),Et(a?3:1,i)}}function Zu(t,e,r){if(Mu(e)){let n=be(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function S0(t,e,r,n){let i=$g(e);i.push(r),t.firstCreatePass&&Ug(t).push(n,i.length-1)}function T0(t,e,r,n,i,o){let s=e?e.injectorIndex:-1,a=0;return Cm()&&(a|=128),{type:r,index:n,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Ip(t,e,r,n){for(let i in t)if(t.hasOwnProperty(i)){r=r===null?{}:r;let o=t[i];n===null?Sp(r,e,i,o):n.hasOwnProperty(i)&&Sp(r,e,n[i],o)}return r}function Sp(t,e,r,n){t.hasOwnProperty(r)?t[r].push(e,n):t[r]=[e,n]}function M0(t,e,r){let n=e.directiveStart,i=e.directiveEnd,o=t.data,s=e.attrs,a=[],c=null,l=null;for(let u=n;u0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function O0(t,e,r,n){let i=r.directiveStart,o=r.directiveEnd;la(r)&&B0(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||zs(r,e),yn(n,e);let s=r.initialInputs;for(let a=i;a{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=Z0})(),(()=>{e.__NG_ENV_ID__=n=>n})(),t})(),nu=class extends Wg{constructor(e){super(),this._lView=e}onDestroy(e){return Dm(this._lView,e),()=>cD(this._lView,e)}};function Z0(){return new nu(j())}var qg=(()=>{let e=class{constructor(){this.all=new Set,this.queue=new Map}create(n,i,o){let s=typeof Zone>"u"?null:Zone.current,a=new Rl(n,u=>{this.all.has(u)&&this.queue.set(u,s)},o);this.all.add(a),a.notify();let c,l=()=>{a.cleanup(),c?.(),this.all.delete(a),this.queue.delete(a)};return c=i?.onDestroy(l),{destroy:l}}flush(){if(this.queue.size!==0)for(let[n,i]of this.queue)this.queue.delete(n),i?i.run(()=>n.run()):n.run()}get isQueueEmpty(){return this.queue.size===0}},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:()=>new e})})(),t})();function Q0(t,e){!e?.injector&&b0(Q0);let r=e?.injector??w(ft),n=r.get(qg),i=e?.manualCleanup!==!0?r.get(Wg):null;return n.create(t,i,!!e?.allowSignalWrites)}function Js(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,o=0;if(e!==null)for(let s=0;s0){Zg(t,1);let i=t[V].components;i!==null&&Yg(t,i,1)}}function Yg(t,e,r){for(let n=0;n-1&&(jl(e,n),Ws(r,n))}this._attachedToViewContainer=!1}Xm(this._lView[V],this._lView)}onDestroy(e){Dm(this._lView,e)}markForCheck(){wa(this._cdRefInjectingView||this._lView)}detach(){this._lView[U]&=-129}reattach(){this._lView[U]|=128}detectChanges(){Gg(this._lView[V],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,hE(this._lView[V],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=e}},ru=class extends Kn{constructor(e){super(e),this._view=e}detectChanges(){let e=this._view,r=e[V],n=e[Ye];Gg(r,e,n,!1)}checkNoChanges(){}get context(){return null}},ea=class extends _a{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=gn(e);return new $r(r,this.ngModule)}};function Tp(t){let e=[];for(let r in t)if(t.hasOwnProperty(r)){let n=t[r];e.push({propName:n,templateName:r})}return e}function J0(t){let e=t.toLowerCase();return e==="svg"?gm:e==="math"?nD:null}var iu=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=aa(n);let i=this.injector.get(e,ml,n);return i!==ml||r===ml?i:this.parentInjector.get(e,r,n)}},$r=class extends Qs{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Tp(e.inputs);if(r!==null)for(let i of n)r.hasOwnProperty(i.propName)&&(i.transform=r[i.propName]);return n}get outputs(){return Tp(this.componentDef.outputs)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=$w(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,i){i=i||this.ngModule;let o=i instanceof Ae?i:i?.injector;o&&this.componentDef.getStandaloneInjector!==null&&(o=this.componentDef.getStandaloneInjector(o)||o);let s=o?new iu(e,o):e,a=s.get(Tt,null);if(a===null)throw new y(407,!1);let c=s.get(m0,null),l=s.get(qg,null),u={rendererFactory:a,sanitizer:c,effectManager:l},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=n?E0(d,n,this.componentDef.encapsulation,s):Qm(d,f,J0(f)),m=4608,g=this.componentDef.onPush?576:528,_=this.componentDef.signals?m:g,b=Xu(0,null,null,1,0,null,null,null,null,null,null),k=Ea(null,b,null,_,null,null,u,d,s,null,null);Lu(k);let Y,L;try{let ue=this.componentDef,ce,de=null;ue.findHostDirectiveDefs?(ce=[],de=new Map,ue.findHostDirectiveDefs(ue,ce,de),ce.push(ue)):ce=[ue];let rt=eC(k,h),it=tC(rt,h,ue,ce,k,u,d);L=vm(b,Pe),h&&iC(d,ue,h,n),r!==void 0&&oC(L,this.ngContentSelectors,r),Y=rC(it,ue,ce,de,k,[sC]),td(b,k,null)}finally{ju()}return new ou(this.componentType,Y,qr(L,k),k,L)}},ou=class extends Xl{constructor(e,r,n,i,o){super(),this.location=n,this._rootLView=i,this._tNode=o,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new ru(i),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let o=this._rootLView;ed(o[V],o,i,e,r),this.previousInputValues.set(e,r);let s=bn(this._tNode.index,o);wa(s)}}get injector(){return new Bn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function eC(t,e){let r=t[V],n=Pe;return t[n]=e,Kr(r,n,2,"#host",null)}function tC(t,e,r,n,i,o,s){let a=i[V];nC(n,t,e,s);let c=null;e!==null&&(c=Ig(e,i[kr]));let l=o.rendererFactory.createRenderer(e,r),u=16;r.signals?u=4096:r.onPush&&(u=64);let d=Ea(i,Pg(r),null,u,i[t.index],t,o,l,null,null,c);return a.firstCreatePass&&eu(a,t,n.length-1),Ca(i,d),i[t.index]=d}function nC(t,e,r,n){for(let i of t)e.mergedAttrs=xi(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(Js(e,e.mergedAttrs,!0),r!==null&&og(n,r,e))}function rC(t,e,r,n,i,o){let s=Te(),a=i[V],c=Xe(s,i);kg(a,i,s,r,null,n);for(let u=0;u0&&ig(t,r,o.join(" "))}}function oC(t,e,r){let n=t.projection=[];for(let i=0;i=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=xi(i.hostAttrs,r=xi(r,i.hostAttrs))}}function Is(t){return t===Qt?{}:t===Oe?[]:t}function lC(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function uC(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,o)=>{e(n,i,o),r(n,i,o)}:t.contentQueries=e}function dC(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function YV(t){return e=>{e.findHostDirectiveDefs=Xg,e.hostDirectives=(Array.isArray(t)?t:t()).map(r=>typeof r=="function"?{directive:Ee(r),inputs:Qt,outputs:Qt}:{directive:Ee(r.directive),inputs:Mp(r.inputs),outputs:Mp(r.outputs)})}}function Xg(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives){let i=Su(n.directive);fC(i.declaredInputs,n.inputs),Xg(i,e,r),r.set(i,n),e.push(i)}}function Mp(t){if(t===void 0||t.length===0)return Qt;let e={};for(let r=0;r=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function JV(t){let e=mD();return Ru(e,Pe+t)}function eo(t,e,r){let n=j(),i=zi();if(Mt(n,i,e)){let o=oe(),s=zr();Ji(o,s,n,t,e,n[re],r,!1)}return eo}function su(t,e,r,n,i){let o=e.inputs,s=i?"class":"style";ed(t,r,o[s],s,n)}function wC(t,e,r,n,i,o){let s=e.consts,a=Vr(s,i),c=Kr(e,t,2,n,a);return Ju(e,r,c,Vr(s,o)),c.attrs!==null&&Js(c,c.attrs,!1),c.mergedAttrs!==null&&Js(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Jn(t,e,r,n){let i=j(),o=oe(),s=Pe+t,a=i[re],c=o.firstCreatePass?wC(s,o,i,e,r,n):o.data[s],l=DC(o,i,c,a,e,t);i[s]=l;let u=ua(c);return Qn(c,!0),og(a,l,c),(c.flags&32)!==32&&da()&&ma(o,i,l,c),lD()===0&&yn(l,i),uD(),u&&(Qu(o,i,c),Zu(o,c,i)),n!==null&&Yu(i,c),Jn}function er(){let t=Te();Nu()?Ou():(t=t.parent,Qn(t,!1));let e=t;fD(e)&&hD(),dD();let r=oe();return r.firstCreatePass&&(ha(r,t),Mu(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&AD(e)&&su(r,e,j(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&xD(e)&&su(r,e,j(),e.stylesWithoutHost,!1),er}function Dn(t,e,r,n){return Jn(t,e,r,n),er(),Dn}var DC=(t,e,r,n,i,o)=>(fa(!0),Qm(n,i,ID()));function EC(t,e,r,n,i){let o=e.consts,s=Vr(o,n),a=Kr(e,t,8,"ng-container",s);s!==null&&Js(a,s,!0);let c=Vr(o,i);return Ju(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function ty(t,e,r){let n=j(),i=oe(),o=t+Pe,s=i.firstCreatePass?EC(o,i,n,e,r):i.data[o];Qn(s,!0);let a=IC(i,n,s,t);return n[o]=a,da()&&ma(i,n,a,s),yn(a,n),ua(s)&&(Qu(i,n,s),Zu(i,s,n)),r!=null&&Yu(n,s),ty}function ny(){let t=Te(),e=oe();return Nu()?Ou():(t=t.parent,Qn(t,!1)),e.firstCreatePass&&(ha(e,t),Mu(t)&&e.queries.elementEnd(t)),ny}function CC(t,e,r){return ty(t,e,r),ny(),CC}var IC=(t,e,r,n)=>(fa(!0),uE(e[re],""));function eB(){return j()}function Zr(t){return!!t&&typeof t.then=="function"}function sd(t){return!!t&&typeof t.subscribe=="function"}function Ia(t,e,r,n){let i=j(),o=oe(),s=Te();return ry(o,i,i[re],s,t,e,n),Ia}function SC(t,e){let r=Te(),n=j(),i=oe(),o=Pu(i.data),s=Hg(o,r,n);return ry(i,n,s,r,t,e),SC}function TC(t,e,r,n){let i=t.cleanup;if(i!=null)for(let o=0;oc?a[c]:null}typeof s=="string"&&(o+=2)}return null}function ry(t,e,r,n,i,o,s){let a=ua(n),l=t.firstCreatePass&&Ug(t),u=e[Ye],d=$g(e),f=!0;if(n.type&3||s){let g=Xe(n,e),_=s?s(g):g,b=d.length,k=s?L=>s(St(L[n.index])):n.index,Y=null;if(!s&&a&&(Y=TC(t,e,i,n.index)),Y!==null){let L=Y.__ngLastListenerFn__||Y;L.__ngNextListenerFn__=o,Y.__ngLastListenerFn__=o,f=!1}else{o=xp(n,e,u,o,!1);let L=r.listen(_,i,o);d.push(o,L),l&&l.push(i,k,b,b+1)}}else o=xp(n,e,u,o,!1);let h=n.outputs,m;if(f&&h!==null&&(m=h[i])){let g=m.length;if(g)for(let _=0;_-1?bn(t.index,e):e;wa(a);let c=Ap(e,r,n,s),l=o.__ngNextListenerFn__;for(;l;)c=Ap(e,r,l,s)&&c,l=l.__ngNextListenerFn__;return i&&c===!1&&s.preventDefault(),c}}function MC(t=1){return DD(t)}function AC(t,e){let r=null,n=kw(t);for(let i=0;i>17&32767}function NC(t){return(t&2)==2}function OC(t,e){return t&131071|e<<17}function au(t){return t|2}function Ur(t){return(t&131068)>>2}function yl(t,e){return t&-131069|e<<2}function FC(t){return(t&1)===1}function cu(t){return t|1}function PC(t,e,r,n,i,o){let s=o?e.classBindings:e.styleBindings,a=Zn(s),c=Ur(s);t[n]=r;let l=!1,u;if(Array.isArray(r)){let d=r;u=d[1],(u===null||qi(d,u)>0)&&(l=!0)}else u=r;if(i)if(c!==0){let f=Zn(t[a+1]);t[n+1]=Ss(f,a),f!==0&&(t[f+1]=yl(t[f+1],n)),t[a+1]=OC(t[a+1],n)}else t[n+1]=Ss(a,0),a!==0&&(t[a+1]=yl(t[a+1],n)),a=n;else t[n+1]=Ss(c,0),a===0?a=n:t[c+1]=yl(t[c+1],n),c=n;l&&(t[n+1]=au(t[n+1])),Rp(t,u,n,!0,o),Rp(t,u,n,!1,o),kC(e,u,t,n,o),s=Ss(a,c),o?e.classBindings=s:e.styleBindings=s}function kC(t,e,r,n,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&qi(o,e)>=0&&(r[n+1]=cu(r[n+1]))}function Rp(t,e,r,n,i){let o=t[r+1],s=e===null,a=n?Zn(o):Ur(o),c=!1;for(;a!==0&&(c===!1||s);){let l=t[a],u=t[a+1];LC(l,e)&&(c=!0,t[a+1]=n?cu(u):au(u)),a=n?Zn(u):Ur(u)}c&&(t[r+1]=n?au(o):cu(o))}function LC(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?qi(t,e)>=0:!1}var lt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jC(t){return t.substring(lt.key,lt.keyEnd)}function VC(t){return BC(t),iy(t,oy(t,0,lt.textEnd))}function iy(t,e){let r=lt.textEnd;return r===e?-1:(e=lt.keyEnd=$C(t,lt.key=e,r),oy(t,e,r))}function BC(t){lt.key=0,lt.keyEnd=0,lt.value=0,lt.valueEnd=0,lt.textEnd=t.length}function oy(t,e,r){for(;e32;)e++;return e}function ad(t,e,r){return ay(t,e,r,!1),ad}function Je(t,e){return ay(t,e,null,!0),Je}function tB(t){cy(GC,sy,t,!0)}function sy(t,e){for(let r=VC(e);r>=0;r=iy(e,r))pa(t,jC(e),!0)}function ay(t,e,r,n){let i=j(),o=oe(),s=Fu(2);if(o.firstUpdatePass&&uy(o,t,s,n),e!==Be&&Mt(i,s,e)){let a=o.data[Yn()];dy(o,a,i,i[re],t,i[s+1]=ZC(e,r),n,s)}}function cy(t,e,r,n){let i=oe(),o=Fu(2);i.firstUpdatePass&&uy(i,null,o,n);let s=j();if(r!==Be&&Mt(s,o,r)){let a=i.data[Yn()];if(fy(a,n)&&!ly(i,o)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=El(c,r||"")),su(i,a,s,r,n)}else KC(i,a,s,s[re],s[o+1],s[o+1]=qC(t,e,r),n,o)}}function ly(t,e){return e>=t.expandoStartIndex}function uy(t,e,r,n){let i=t.data;if(i[r+1]===null){let o=i[Yn()],s=ly(t,r);fy(o,n)&&e===null&&!s&&(e=!1),e=UC(i,o,e,n),PC(i,o,e,r,s,n)}}function UC(t,e,r,n){let i=Pu(t),o=n?e.residualClasses:e.residualStyles;if(i===null)(n?e.classBindings:e.styleBindings)===0&&(r=vl(null,t,e,r,n),r=Oi(r,e.attrs,n),o=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=vl(i,t,e,r,n),o===null){let c=HC(t,e,n);c!==void 0&&Array.isArray(c)&&(c=vl(null,t,e,c[1],n),c=Oi(c,e.attrs,n),zC(t,e,n,c))}else o=WC(t,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),r}function HC(t,e,r){let n=r?e.classBindings:e.styleBindings;if(Ur(n)!==0)return t[Zn(n)]}function zC(t,e,r,n){let i=r?e.classBindings:e.styleBindings;t[Zn(i)]=n}function WC(t,e,r){let n,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let c=t[i],l=Array.isArray(c),u=l?c[1]:c,d=u===null,f=r[i+1];f===Be&&(f=d?Oe:void 0);let h=d?fl(f,n):u===n?f:void 0;if(l&&!ta(h)&&(h=fl(c,n)),ta(h)&&(a=h,s))return a;let m=t[i+1];i=s?Zn(m):Ur(m)}if(e!==null){let c=o?e.residualClasses:e.residualStyles;c!=null&&(a=fl(c,n))}return a}function ta(t){return t!==void 0}function ZC(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Se(Ot(t)))),t}function fy(t,e){return(t.flags&(e?8:16))!==0}function QC(t,e=""){let r=j(),n=oe(),i=t+Pe,o=n.firstCreatePass?Kr(n,i,1,e,null):n.data[i],s=YC(n,r,o,e,t);r[i]=s,da()&&ma(n,r,s,o),Qn(o,!1)}var YC=(t,e,r,n,i)=>(fa(!0),cE(e[re],n));function XC(t){return cd("",t,""),XC}function cd(t,e,r){let n=j(),i=od(n,t,e,r);return i!==Be&&W0(n,Yn(),i),cd}function nB(t,e,r){let n=j(),i=od(n,t,e,r);cy(pa,sy,i,!0)}function hy(t,e,r){let n=j(),i=zi();if(Mt(n,i,e)){let o=oe(),s=zr();Ji(o,s,n,t,e,n[re],r,!0)}return hy}function JC(t,e,r){let n=j(),i=zi();if(Mt(n,i,e)){let o=oe(),s=zr(),a=Pu(o.data),c=Hg(a,s,n);Ji(o,s,n,t,e,c,r,!0)}return JC}var na="en-US";var eI=na;function tI(t){pw(t,"Expected localeId to be defined"),typeof t=="string"&&(eI=t.toLowerCase().replace(/_/g,"-"))}function nI(t,e,r){let n=oe();if(n.firstCreatePass){let i=Yt(t);lu(r,n.data,n.blueprint,i,!0),lu(e,n.data,n.blueprint,i,!1)}}function lu(t,e,r,n,i){if(t=Ee(t),Array.isArray(t))for(let o=0;o>20;if(Br(t)||!t.multi){let h=new Wn(c,i,S),m=_l(a,e,i?u:u+f,d);m===-1?(Pl(zs(l,s),o,a),bl(o,t,e.length),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),r.push(h),s.push(h)):(r[m]=h,s[m]=h)}else{let h=_l(a,e,u+f,d),m=_l(a,e,u,u+f),g=h>=0&&r[h],_=m>=0&&r[m];if(i&&!_||!i&&!g){Pl(zs(l,s),o,a);let b=oI(i?iI:rI,r.length,i,n,c);!i&&_&&(r[m].providerFactory=b),bl(o,t,e.length,0),e.push(a),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),r.push(b),s.push(b)}else{let b=py(r[i?m:h],c,!i&&n);bl(o,t,h>-1?h:m,b)}!i&&n&&_&&r[m].componentProviders++}}}function bl(t,e,r,n){let i=Br(e),o=JE(e);if(i||o){let c=(o?Ee(e.useClass):e).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=l.indexOf(r);u===-1?l.push(r,[n,c]):l[u+1].push(n,c)}else l.push(r,c)}}}function py(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function _l(t,e,r,n){for(let i=r;i{r.providersResolver=(n,i)=>nI(n,i?i(t):t,e)}}var Jt=class{},Fi=class{};function my(t,e){return new Pi(t,e??null,[])}var Pi=class extends Jt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ea(this);let i=sm(e);this._bootstrapComponents=Tg(i.bootstrap),this._r3Injector=Ng(e,r,[{provide:Jt,useValue:this},{provide:_a,useValue:this.componentFactoryResolver},...n],Se(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},ra=class extends Fi{constructor(e){super(),this.moduleType=e}create(e){return new Pi(this.moduleType,e,[])}};function sI(t,e,r){return new Pi(t,e,r)}var du=class extends Jt{constructor(e){super(),this.componentFactoryResolver=new ea(this),this.instance=null;let r=new Zs([...e.providers,{provide:Jt,useValue:this},{provide:_a,useValue:this.componentFactoryResolver}],e.parent||Gu(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Sa(t,e,r=null){return new du({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var aI=(()=>{let e=class{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){let i=wg(!1,n.type),o=i.length>0?Sa([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(p(Ae))})})(),t})();function ud(t){t.getStandaloneInjector=e=>e.get(aI).getOrCreateStandaloneInjector(t)}function rB(t,e,r){let n=Hi()+t,i=j();return i[n]===Be?id(i,n,r?e.call(r):e()):pC(i,n)}function iB(t,e,r,n){return yy(j(),Hi(),t,e,r,n)}function oB(t,e,r,n,i){return vy(j(),Hi(),t,e,r,n,i)}function gy(t,e){let r=t[e];return r===Be?void 0:r}function yy(t,e,r,n,i,o){let s=e+r;return Mt(t,s,i)?id(t,s+1,o?n.call(o,i):n(i)):gy(t,s+1)}function vy(t,e,r,n,i,o,s){let a=e+r;return ey(t,a,i,o)?id(t,a+2,s?n.call(s,i,o):n(i,o)):gy(t,a+2)}function sB(t,e){let r=oe(),n,i=t+Pe;r.firstCreatePass?(n=cI(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??=[]).push(i,n.onDestroy)):n=r.data[i];let o=n.factory||(n.factory=Hn(n.type,!0)),s=Qe(S);try{let a=Hs(!1),c=o();return Hs(a),_C(r,j(),i,c),c}finally{Qe(s)}}function cI(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function aB(t,e,r){let n=t+Pe,i=j(),o=Ru(i,n);return by(i,n)?yy(i,Hi(),e,o.transform,r,o):o.transform(r)}function cB(t,e,r,n){let i=t+Pe,o=j(),s=Ru(o,i);return by(o,i)?vy(o,Hi(),e,s.transform,r,n,s):s.transform(r,n)}function by(t,e){return t[V].data[e].pure}var fu=class extends z{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,r,n){let i=e,o=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;i=c.next?.bind(c),o=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(o=wl(o),i&&(i=wl(i)),s&&(s=wl(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof X&&e.add(a),a}};function wl(t){return e=>{setTimeout(t,void 0,e)}}var ie=fu;function lI(){return this._results[Symbol.iterator]()}var vn=class{get changes(){return this._changes||(this._changes=new ie)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let r=vn.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=lI)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){let n=this;n.dirty=!1;let i=zD(e);(this._changesDetected=!HD(n._results,i,r))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},At=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=fI})(),t})(),uI=At,dI=class extends uI{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r,null)}createEmbeddedViewImpl(e,r,n){let o=this._declarationLView[U]&4096?4096:16,s=this._declarationTContainer.tView,a=Ea(this._declarationLView,s,e,o,null,s.declTNode,null,null,null,r||null,n||null),c=this._declarationLView[this._declarationTContainer.index];a[Ui]=c;let l=this._declarationLView[It];return l!==null&&(a[It]=l.createEmbeddedView(s)),td(s,a,e),new Kn(a)}};function fI(){return Ta(Te(),j())}function Ta(t,e){return t.type&4?new dI(e,t,qr(t,e)):null}var hI=(t,e)=>null;function Op(t,e){return hI(t,e)}var $e=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=pI})(),t})();function pI(){let t=Te();return wy(t,j())}var mI=$e,_y=class extends mI{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return qr(this._hostTNode,this._hostLView)}get injector(){return new Bn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Vu(this._hostTNode,this._hostLView);if(Fm(e)){let r=Us(e,this._hostLView),n=$s(e),i=r[V].data[n+8];return new Bn(i,r)}else return new Bn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Fp(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Le}createEmbeddedView(e,r,n){let i,o;typeof n=="number"?i=n:n!=null&&(i=n.index,o=n.injector);let s=Op(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s),c=!!s&&!Ll(this._hostTNode);return this.insertImpl(a,i,c),a}createComponent(e,r,n,i,o){let s=e&&!UD(e),a;if(s)a=r;else{let g=r||{};a=g.index,n=g.injector,i=g.projectableNodes,o=g.environmentInjector||g.ngModuleRef}let c=s?e:new $r(gn(e)),l=n||this.parentInjector;if(!o&&c.ngModule==null){let _=(s?l:this.parentInjector).get(Ae,null);_&&(o=_)}let u=gn(c.componentType??{}),d=Op(this._lContainer,u?.id??null),f=d?.firstChild??null,h=c.create(l,i,f,o),m=!!d&&!Ll(this._hostTNode);return this.insertImpl(h.hostView,a,m),h}insert(e,r){return this.insertImpl(e,r,!1)}insertImpl(e,r,n){let i=e._lView,o=i[V];if(sD(i)){let c=this.indexOf(e);if(c!==-1)this.detach(c);else{let l=i[he],u=new _y(l,l[je],l[he]);u.detach(u.indexOf(e))}}let s=this._adjustIndex(r),a=this._lContainer;if(mE(o,i,a,s),!n){let c=Vl(s,a),l=i[re],u=zu(l,a[Un]);u!==null&&fE(o,a[je],l,i,u,c)}return e.attachToViewContainerRef(),zm(Dl(a),s,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Fp(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=jl(this._lContainer,r);n&&(Ws(Dl(this._lContainer),r),Xm(n[V],n))}detach(e){let r=this._adjustIndex(e,-1),n=jl(this._lContainer,r);return n&&Ws(Dl(this._lContainer),r)!=null?new Kn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Fp(t){return t[Bs]}function Dl(t){return t[Bs]||(t[Bs]=[])}function wy(t,e){let r,n=e[t.index];return en(n)?r=n:(r=Vg(n,e,null,t),e[t.index]=r,Ca(e,r)),yI(r,e,t,n),new _y(r,t,e)}function gI(t,e){let r=t[re],n=r.createComment(""),i=Xe(e,t),o=zu(r,i);return Gs(r,o,n,wE(r,i),!1),n}var yI=vI;function vI(t,e,r,n){if(t[Un])return;let i;r.type&8?i=St(n):i=gI(e,r),t[Un]=i}var ki=class{constructor(e){this.queryList=e,this.matches=null}clone(){return new ki(this.queryList)}setDirty(){this.queryList.setDirty()}},Li=class{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)n.push(s[a/2]);else{let l=o[a+1],u=e[-c];for(let d=Le;d{let e=class{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,i)=>{this.resolve=n,this.reject=i}),this.appInits=w(Ma,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let s=o();if(Zr(s))n.push(s);else if(sd(s)){let a=new Promise((c,l)=>{s.subscribe({complete:c,error:l})});n.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(o=>{this.reject(o)}),n.length===0&&i(),this.initialized=!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Qr=(()=>{let e=class{log(n){console.log(n)}warn(n){console.warn(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function SI(){return typeof $localize<"u"&&$localize.locale||na}var Aa=new E("LocaleId",{providedIn:"root",factory:()=>w(Aa,N.Optional|N.SkipSelf)||SI()});var Yr=(()=>{let e=class{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ge(!1)}add(){this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),pu=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},xa=(()=>{let e=class{compileModuleSync(n){return new ra(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),o=sm(n),s=Tg(o.declarations).reduce((a,c)=>{let l=gn(c);return l&&a.push(new $r(l)),a},[]);return new pu(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),TI=new E("compilerOptions");function Pp(...t){}function MI(){let t=Ce.requestAnimationFrame,e=Ce.cancelAnimationFrame;if(typeof Zone<"u"&&t&&e){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}var P=class{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ie(!1),this.onMicrotaskEmpty=new ie(!1),this.onStable=new ie(!1),this.onError=new ie(!1),typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&r,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=MI().nativeRequestAnimationFrame,RI(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!P.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(P.isInAngularZone())throw new y(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,AI,Pp,Pp);try{return o.runTask(s,r,n)}finally{o.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},AI={};function dd(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 xI(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ce,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,mu(t),t.isCheckStableRunning=!0,dd(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),mu(t))}function RI(t){let e=()=>{xI(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,i,o,s,a)=>{try{return kp(t),r.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Lp(t)}},onInvoke:(r,n,i,o,s,a,c)=>{try{return kp(t),r.invoke(i,o,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&e(),Lp(t)}},onHasTask:(r,n,i,o)=>{r.hasTask(i,o),n===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,mu(t),dd(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,n,i,o)=>(r.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function mu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function kp(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Lp(t){t._nesting--,dd(t)}var gu=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ie,this.onMicrotaskEmpty=new ie,this.onStable=new ie,this.onError=new ie}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,i){return e.apply(r,n)}},My=new E("",{providedIn:"root",factory:Ay});function Ay(){let t=w(P),e=!0,r=new R(i=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(e),i.complete()})}),n=new R(i=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,i.next(!0))})})});let s=t.onUnstable.subscribe(()=>{P.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),s.unsubscribe()}});return el(r,n.pipe(hn()))}var fd=new E(""),no=new E(""),Ra=(()=>{let e=class{constructor(n,i,o){this._ngZone=n,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,hd||(NI(o),o.addToWindow(i)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{P.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&this._pendingCount===0&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(n)?(clearTimeout(i.timeoutId),!1):!0),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:o})}whenStable(n,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,i,o){return[]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(P),p(Na),p(no))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),Na=(()=>{let e=class{constructor(){this._applications=new Map}registerApplication(n,i){this._applications.set(n,i)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,i=!0){return hd?.findTestabilityInTree(this,n,i)??null}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function NI(t){hd=t}var hd,Mi=null,xy=new E("AllowMultipleToken"),Ry=new E("PlatformDestroyListeners"),Oa=new E("appBootstrapListener");function OI(t,e,r){let n=new ra(r);return Promise.resolve(n)}function FI(){Xw(()=>{throw new y(600,!1)})}function PI(t){return t.isBoundToModule}var Bi=class{constructor(e,r){this.name=e,this.token=r}};function kI(t){if(Mi&&!Mi.get(xy,!1))throw new y(400,!1);FI(),Mi=t;let e=t.get(Oy);return LI(t),e}function LI(t){t.get(Ku,null)?.forEach(r=>r())}function pd(t,e,r=[]){let n=`Platform: ${e}`,i=new E(n);return(o=[])=>{let s=Ny();if(!s||s.injector.get(xy,!1)){let a=[...r,...o,{provide:i,useValue:!0}];t?t(a):kI(VI(a,n))}return jI(i)}}function jI(t){let e=Ny();if(!e)throw new y(401,!1);return e}function VI(t=[],e){return ft.create({name:e,providers:[{provide:ba,useValue:"platform"},{provide:Ry,useValue:new Set([()=>Mi=null])},...t]})}function Ny(){return Mi?.get(Oy)??null}var Oy=(()=>{let e=class{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,i){let o=$I(i?.ngZone,BI({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return o.run(()=>{let s=sI(n.moduleType,this.injector,WI(()=>o)),a=s.injector.get(Ve,null);return o.runOutsideAngular(()=>{let c=o.onError.subscribe({next:l=>{a.handleError(l)}});s.onDestroy(()=>{ks(this._modules,s),c.unsubscribe()})}),UI(a,o,()=>{let c=s.injector.get(Ty);return c.runInitializers(),c.donePromise.then(()=>{let l=s.injector.get(Aa,na);return tI(l||na),this._moduleDoBootstrap(s),s})})})}bootstrapModule(n,i=[]){let o=Fy({},i);return OI(this.injector,o,n).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(n){let i=n.injector.get(nn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(i);else throw new y(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new y(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let n=this._injector.get(Ry,null);n&&(n.forEach(i=>i()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(ft))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})})(),t})();function BI(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function $I(t="zone.js",e){return t==="noop"?new gu:t==="zone.js"?new P(e):t}function UI(t,e,r){try{let n=r();return Zr(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Fy(t,e){return Array.isArray(e)?e.reduce(Fy,t):D(D({},t),e)}var nn=(()=>{let e=class{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=w(Py),this.zoneIsStable=w(My),this.componentTypes=[],this.components=[],this.isStable=w(Yr).hasPendingTasks.pipe(De(n=>n?C(!1):this.zoneIsStable),Ln(),hn()),this._injector=w(Ae)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,i){let o=n instanceof Qs;if(!this._injector.get(Ty).done){let m="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&om(n)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new y(405,!1)}let a;o?a=n:a=this._injector.get(_a).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=PI(a)?void 0:this._injector.get(Jt),l=i||a.selector,u=a.create(ft.NULL,[],l,c),d=u.location.nativeElement,f=u.injector.get(fd,null);return f?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),ks(this.components,u),f?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new y(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;ks(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let i=this._injector.get(Oa,[]);i.push(...this._bootstrapListeners),i.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ks(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function ks(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function jp(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var Py=new E("",{providedIn:"root",factory:()=>w(Ve).handleError.bind(void 0)});function HI(){let t=w(P),e=w(Ve);return r=>t.runOutsideAngular(()=>e.handleError(r))}var zI=(()=>{let e=class{constructor(){this.zone=w(P),this.applicationRef=w(nn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function WI(t){return[{provide:P,useFactory:t},{provide:Qi,multi:!0,useFactory:()=>{let e=w(zI,{optional:!0});return()=>e.initialize()}},{provide:Py,useFactory:HI},{provide:My,useFactory:Ay}]}var En=(()=>{let e=class{},t=e;return(()=>{e.__NG_ELEMENT_ID__=qI})(),t})();function qI(t){return GI(Te(),j(),(t&16)===16)}function GI(t,e,r){if(la(t)&&!r){let n=bn(t.index,e);return new Kn(n,n)}else if(t.type&47){let n=e[dt];return new Kn(n,e)}return null}var yu=class{constructor(){}supports(e){return Jg(e)}create(e){return new vu(e)}},KI=(t,e)=>e,vu=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||KI}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,i=0,o=null;for(;r||n;){let s=!n||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new bu(r,n),o,i)),e}_verifyReinsertion(e,r,n,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}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(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new oa),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new oa),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},bu=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},_u=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},oa=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new _u,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,i=this.map.get(n);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Vp(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n{if(r&&r.key===i)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let o=this._getOrCreateRecordForKey(i,n);r=this._insertBeforeOrAppend(r,o)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,r);let o=i._prev,s=i._next;return o&&(o._next=s),s&&(s._prev=o),i._next=null,i._prev=null,i}let n=new Eu(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},Eu=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function Bp(){return new ro([new yu])}var ro=(()=>{let e=class{constructor(n){this.factories=n}static create(n,i){if(i!=null){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||Bp()),deps:[[e,new Gi,new Xn]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i!=null)return i;throw new y(901,!1)}},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:Bp})})(),t})();function $p(){return new md([new wu])}var md=(()=>{let e=class{constructor(n){this.factories=n}static create(n,i){if(i){let o=i.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||$p()),deps:[[e,new Gi,new Xn]]}}find(n){let i=this.factories.find(o=>o.supports(n));if(i)return i;throw new y(901,!1)}},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:$p})})(),t})();var ky=pd(null,"core",[]),Ly=(()=>{let e=class{constructor(n){}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(nn))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})();function io(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function jy(t){let e=gn(t);if(!e)return null;let r=new $r(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var yd=null;function or(){return yd}function qy(t){yd||(yd=t)}var Fa=class{},H=new E("DocumentToken"),Ed=(()=>{let e=class{historyGo(n){throw new Error("Not implemented")}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(ZI))()},providedIn:"platform"})})(),t})(),Gy=new E("Location Initialized"),ZI=(()=>{let e=class extends Ed{constructor(){super(),this._doc=w(H),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return or().getBaseHref(this._doc)}onPopState(n){let i=or().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",n,!1),()=>i.removeEventListener("popstate",n)}onHashChange(n){let i=or().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",n,!1),()=>i.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,i,o){this._history.pushState(n,i,o)}replaceState(n,i,o){this._history.replaceState(n,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>new e)()},providedIn:"platform"})})(),t})();function Cd(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function Vy(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function rn(t){return t&&t[0]!=="?"?"?"+t:t}var on=(()=>{let e=class{historyGo(n){throw new Error("Not implemented")}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(Id))()},providedIn:"root"})})(),t})(),Ky=new E("appBaseHref"),Id=(()=>{let e=class extends on{constructor(n,i){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??w(H).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Cd(this._baseHref,n)}path(n=!1){let i=this._platformLocation.pathname+rn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${i}${o}`:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+rn(s));this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+rn(s));this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ed),p(Ky,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Zy=(()=>{let e=class extends on{constructor(n,i){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(n){let i=Cd(this._baseHref,n);return i.length>0?"#"+i:i}pushState(n,i,o,s){let a=this.prepareExternalUrl(o+rn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,i,a)}replaceState(n,i,o,s){let a=this.prepareExternalUrl(o+rn(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ed),p(Ky,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),ka=(()=>{let e=class{constructor(n){this._subject=new ie,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=XI(Vy(By(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+rn(i))}normalize(n){return e.stripTrailingSlash(YI(this._basePath,By(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",o=null){this._locationStrategy.pushState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn(i)),o)}replaceState(n,i="",o=null){this._locationStrategy.replaceState(o,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+rn(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(o=>o(n,i))}subscribe(n,i,o){return this._subject.subscribe({next:n,error:i,complete:o})}},t=e;return(()=>{e.normalizeQueryParams=rn})(),(()=>{e.joinWithSlash=Cd})(),(()=>{e.stripTrailingSlash=Vy})(),(()=>{e.\u0275fac=function(i){return new(i||e)(p(on))}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return QI()},providedIn:"root"})})(),t})();function QI(){return new ka(p(on))}function YI(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function By(t){return t.replace(/\/index.html$/,"")}function XI(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}function La(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,o]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var gd=/\s+/,$y=[],RB=(()=>{let e=class{constructor(n,i,o,s){this._iterableDiffers=n,this._keyValueDiffers=i,this._ngEl=o,this._renderer=s,this.initialClasses=$y,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(gd):$y}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(gd):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],o=n[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(gd).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(ro),S(md),S(ae),S(Gr))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})})(),t})(),NB=(()=>{let e=class{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null}ngOnChanges(n){let{_viewContainerRef:i,ngComponentOutletNgModule:o,ngComponentOutletNgModuleFactory:s}=this;if(i.clear(),this._componentRef=void 0,this.ngComponentOutlet){let a=this.ngComponentOutletInjector||i.parentInjector;(n.ngComponentOutletNgModule||n.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),o?this._moduleRef=my(o,Uy(a)):s?this._moduleRef=s.create(Uy(a)):this._moduleRef=void 0),this._componentRef=i.createComponent(this.ngComponentOutlet,{index:i.length,injector:a,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Nt]})})(),t})();function Uy(t){return t.get(Jt).injector}var vd=class{constructor(e,r,n,i){this.$implicit=e,this.ngForOf=r,this.index=n,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}},OB=(()=>{let e=class{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,i,o){this._viewContainer=n,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(!1)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let i=this._viewContainer;n.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new vd(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let c=i.get(s);i.move(c,a),Hy(c,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Hy(s,o)})}static ngTemplateContextGuard(n,i){return!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e),S(At),S(ro))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})})(),t})();function Hy(t,e){t.context.$implicit=e.item}var FB=(()=>{let e=class{constructor(n,i){this._viewContainer=n,this._context=new bd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){zy("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){zy("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,i){return!0}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e),S(At))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})})(),t})(),bd=class{constructor(){this.$implicit=null,this.ngIf=null}};function zy(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Se(e)}'.`)}var Pa=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},Qy=(()=>{let e=class{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let i=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let i of this._defaultViews)i.enforceState(n)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})})(),t})(),PB=(()=>{let e=class{constructor(n,i,o){this.ngSwitch=o,o._addCase(),this._view=new Pa(n,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e),S(At),S(Qy,9))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})})(),t})(),kB=(()=>{let e=class{constructor(n,i,o){o._addDefault(new Pa(n,i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e),S(At),S(Qy,9))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0})})(),t})();var LB=(()=>{let e=class{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(n.ngTemplateOutlet||n.ngTemplateOutletInjector){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){let{ngTemplateOutlet:o,ngTemplateOutletContext:s,ngTemplateOutletInjector:a}=this;this._viewRef=i.createEmbeddedView(o,s,a?{injector:a}:void 0)}else this._viewRef=null}else this._viewRef&&n.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S($e))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Nt]})})(),t})();function JI(t,e){return new y(2100,!1)}var _d=class{createSubscription(e,r){return xu(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){xu(()=>e.unsubscribe())}},wd=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},eS=new wd,tS=new _d,jB=(()=>{let e=class{constructor(n){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue:(n&&this._subscribe(n),this._latestValue)}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,i=>this._updateLatestValue(n,i))}_selectStrategy(n){if(Zr(n))return eS;if(sd(n))return tS;throw JI(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,i){n===this._obj&&(this._latestValue=i,this._ref.markForCheck())}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(En,16))}})(),(()=>{e.\u0275pipe=rm({name:"async",type:e,pure:!1,standalone:!0})})(),t})();var Sd=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})(),Td="browser",nS="server";function Yy(t){return t===Td}function Md(t){return t===nS}var Xy=(()=>{let e=class{},t=e;return(()=>{e.\u0275prov=v({token:e,providedIn:"root",factory:()=>new Dd(p(H),window)})})(),t})(),Dd=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(!this.supportsScrolling())return;let r=rS(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){let r=this.window.history;r&&r.scrollRestoration&&(r.scrollRestoration=e)}}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;let e=Wy(this.window.history)||Wy(Object.getPrototypeOf(this.window.history));return!!e&&!!(e.writable||e.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}};function Wy(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}function rS(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(s)return s}i=n.nextNode()}}return null}var Xr=class{};var oo=class{},Va=class{},ht=class{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),o=i.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof ht?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new ht;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof ht?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var xd=class{encodeKey(e){return ev(e)}encodeValue(e){return ev(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function sS(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var aS=/%(\d[a-f0-9])/gi,cS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ev(t){return encodeURIComponent(t).replace(aS,(e,r)=>cS[r]??e)}function ja(t){return`${t}`}var Lt=class{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new xd,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=sS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(ja):[ja(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(o=>{r.push({param:n,value:o,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new Lt({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(ja(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(ja(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Rd=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function lS(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function tv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function nv(t){return typeof Blob<"u"&&t instanceof Blob}function rv(t){return typeof FormData<"u"&&t instanceof FormData}function uS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var sr=class{constructor(e,r,n,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(lS(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,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.headers||(this.headers=new ht),this.context||(this.context=new Rd),!this.params)this.params=new Lt,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":ad.set(f,e.setHeaders[f]),c)),e.setParams&&(l=Object.keys(e.setParams).reduce((d,f)=>d.set(f,e.setParams[f]),l)),new sr(r,n,o,{params:l,headers:c,context:u,reportProgress:a,responseType:i,withCredentials:s})}},pe=(()=>(pe=pe||{},pe[pe.Sent=0]="Sent",pe[pe.UploadProgress=1]="UploadProgress",pe[pe.ResponseHeader=2]="ResponseHeader",pe[pe.DownloadProgress=3]="DownloadProgress",pe[pe.Response=4]="Response",pe[pe.User=5]="User",pe))(),so=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new ht,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},ao=class extends so{constructor(e={}){super(e),this.type=pe.ResponseHeader}clone(e={}){return new ao({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Jr=class extends so{constructor(e={}){super(e),this.type=pe.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new Jr({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Ba=class extends so{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function Ad(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Nd=(()=>{let e=class{constructor(n){this.handler=n}request(n,i,o={}){let s;if(n instanceof sr)s=n;else{let l;o.headers instanceof ht?l=o.headers:l=new ht(o.headers);let u;o.params&&(o.params instanceof Lt?u=o.params:u=new Lt({fromObject:o.params})),s=new sr(n,i,o.body!==void 0?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}let a=C(s).pipe(Kt(l=>this.handler.handle(l)));if(n instanceof sr||o.observe==="events")return a;let c=a.pipe(fe(l=>l instanceof Jr));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(O(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(O(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(O(l=>{if(l.body!==null&&typeof l.body!="string")throw new Error("Response is not a string.");return l.body}));case"json":default:return c.pipe(O(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new Lt().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,o={}){return this.request("PATCH",n,Ad(o,i))}post(n,i,o={}){return this.request("POST",n,Ad(o,i))}put(n,i,o={}){return this.request("PUT",n,Ad(o,i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(oo))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function av(t,e){return e(t)}function dS(t,e){return(r,n)=>e.intercept(r,{handle:i=>t(i,n)})}function fS(t,e,r){return(n,i)=>r.runInContext(()=>e(n,o=>t(o,i)))}var hS=new E(""),Od=new E(""),pS=new E("");function mS(){let t=null;return(e,r)=>{t===null&&(t=(w(hS,{optional:!0})??[]).reduceRight(dS,av));let n=w(Yr),i=n.add();return t(e,r).pipe(wt(()=>n.remove(i)))}}var iv=(()=>{let e=class extends oo{constructor(n,i){super(),this.backend=n,this.injector=i,this.chain=null,this.pendingTasks=w(Yr)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Od),...this.injector.get(pS,[])]));this.chain=o.reduceRight((s,a)=>fS(s,a,this.injector),av)}let i=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(wt(()=>this.pendingTasks.remove(i)))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Va),p(Ae))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();var gS=/^\)\]\}',?\n/;function yS(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var ov=(()=>{let e=class{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new y(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?ee(i.\u0275loadImpl()):C(null)).pipe(De(()=>new R(s=>{let a=i.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((_,b)=>a.setRequestHeader(_,b.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let _=n.detectContentTypeHeader();_!==null&&a.setRequestHeader("Content-Type",_)}if(n.responseType){let _=n.responseType.toLowerCase();a.responseType=_!=="json"?_:"text"}let c=n.serializeBody(),l=null,u=()=>{if(l!==null)return l;let _=a.statusText||"OK",b=new ht(a.getAllResponseHeaders()),k=yS(a)||n.url;return l=new ao({headers:b,status:a.status,statusText:_,url:k}),l},d=()=>{let{headers:_,status:b,statusText:k,url:Y}=u(),L=null;b!==204&&(L=typeof a.response>"u"?a.responseText:a.response),b===0&&(b=L?200:0);let ue=b>=200&&b<300;if(n.responseType==="json"&&typeof L=="string"){let ce=L;L=L.replace(gS,"");try{L=L!==""?JSON.parse(L):null}catch(de){L=ce,ue&&(ue=!1,L={error:de,text:L})}}ue?(s.next(new Jr({body:L,headers:_,status:b,statusText:k,url:Y||void 0})),s.complete()):s.error(new Ba({error:L,headers:_,status:b,statusText:k,url:Y||void 0}))},f=_=>{let{url:b}=u(),k=new Ba({error:_,status:a.status||0,statusText:a.statusText||"Unknown Error",url:b||void 0});s.error(k)},h=!1,m=_=>{h||(s.next(u()),h=!0);let b={type:pe.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),n.responseType==="text"&&a.responseText&&(b.partialText=a.responseText),s.next(b)},g=_=>{let b={type:pe.UploadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),s.next(b)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",m),c!==null&&a.upload&&a.upload.addEventListener("progress",g)),a.send(c),s.next({type:pe.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",m),c!==null&&a.upload&&a.upload.removeEventListener("progress",g)),a.readyState!==a.DONE&&a.abort()}})))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Xr))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),cv=new E("XSRF_ENABLED"),vS="XSRF-TOKEN",bS=new E("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>vS}),_S="X-XSRF-TOKEN",wS=new E("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>_S}),$a=class{},DS=(()=>{let e=class{constructor(n,i,o){this.doc=n,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=La(n,this.cookieName),this.lastCookieString=n),this.lastToken}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(Ft),p(bS))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function ES(t,e){let r=t.url.toLowerCase();if(!w(cv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=w($a).getToken(),i=w(wS);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var _e=(()=>(_e=_e||{},_e[_e.Interceptors=0]="Interceptors",_e[_e.LegacyInterceptors=1]="LegacyInterceptors",_e[_e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",_e[_e.NoXsrfProtection=3]="NoXsrfProtection",_e[_e.JsonpSupport=4]="JsonpSupport",_e[_e.RequestsMadeViaParent=5]="RequestsMadeViaParent",_e[_e.Fetch=6]="Fetch",_e))();function CS(t,e){return{\u0275kind:t,\u0275providers:e}}function IS(...t){let e=[Nd,ov,iv,{provide:oo,useExisting:iv},{provide:Va,useExisting:ov},{provide:Od,useValue:ES,multi:!0},{provide:cv,useValue:!0},{provide:$a,useClass:DS}];for(let r of t)e.push(...r.\u0275providers);return va(e)}var sv=new E("LEGACY_INTERCEPTOR_FN");function SS(){return CS(_e.LegacyInterceptors,[{provide:sv,useFactory:mS},{provide:Od,useExisting:sv,multi:!0}])}var ZB=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:[IS(SS())]})})(),t})();var kd=class extends Fa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},lo=class extends kd{static makeCurrent(){qy(new lo)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=MS();return r==null?null:AS(r)}resetBaseElement(){co=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return La(document.cookie,e)}},co=null;function MS(){return co=co||document.querySelector("base"),co?co.getAttribute("href"):null}var Ua;function AS(t){Ua=Ua||document.createElement("a"),Ua.setAttribute("href",t);let e=Ua.pathname;return e.charAt(0)==="/"?e:`/${e}`}var Ld=class{addToWindow(e){Ce.getAngularTestability=(n,i=!0)=>{let o=e.findTestabilityInTree(n,i);if(o==null)throw new y(5103,!1);return o},Ce.getAllAngularTestabilities=()=>e.getAllTestabilities(),Ce.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let i=Ce.getAllAngularTestabilities(),o=i.length,s=!1,a=function(c){s=s||c,o--,o==0&&n(s)};i.forEach(c=>{c.whenStable(a)})};Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let i=e.getTestability(r);return i??(n?or().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},xS=(()=>{let e=class{build(){return new XMLHttpRequest}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),Ha=new E("EventManagerPlugins"),dv=(()=>{let e=class{constructor(n,i){this._zone=i,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,o){return this._findPluginFor(i).addEventListener(n,i,o)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(s=>s.supports(n)),!i)throw new y(5101,!1);return this._eventNameToPlugin.set(n,i),i}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ha),p(P))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),uo=class{constructor(e){this._doc=e}},Fd="ng-app-id",fv=(()=>{let e=class{constructor(n,i,o,s={}){this.doc=n,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Md(s),this.resetHostNodes()}addStyles(n){for(let i of n)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(n){for(let i of n)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(i=>i.remove()),n.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let i of this.getAllStyles())this.addStyleToHost(n,i)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let i of this.hostNodes)this.addStyleToHost(i,n)}onStyleRemoved(n){let i=this.styleRef;i.get(n)?.elements?.forEach(o=>o.remove()),i.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Fd}="${this.appId}"]`);if(n?.length){let i=new Map;return n.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(n,i){let o=this.styleRef;if(o.has(n)){let s=o.get(n);return s.usage+=i,s.usage}return o.set(n,{usage:i,elements:[]}),i}getStyleElement(n,i){let o=this.styleNodesInDOM,s=o?.get(i);if(s?.parentNode===n)return o.delete(i),s.removeAttribute(Fd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(Fd,this.appId),a}}addStyleToHost(n,i){let o=this.getStyleElement(n,i);n.appendChild(o);let s=this.styleRef,a=s.get(i)?.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(Wr),p(Yi,8),p(Ft))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),Pd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Bd=/%COMP%/g,hv="%COMP%",RS=`_nghost-${hv}`,NS=`_ngcontent-${hv}`,OS=!1,FS=new E("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>OS});function PS(t){return NS.replace(Bd,t)}function kS(t){return RS.replace(Bd,t)}function pv(t,e){return e.map(r=>r.replace(Bd,t))}var za=(()=>{let e=class{constructor(n,i,o,s,a,c,l,u=null){this.eventManager=n,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Md(c),this.defaultRenderer=new fo(n,a,l,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Fe.ShadowDom&&(i=me(D({},i),{encapsulation:Fe.Emulated}));let o=this.getOrCreateRenderer(n,i);return o instanceof Wa?o.applyToHost(n):o instanceof ho&&o.applyStyles(),o}getOrCreateRenderer(n,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Fe.Emulated:s=new Wa(l,u,i,this.appId,d,a,c,f);break;case Fe.ShadowDom:return new jd(l,u,n,i,a,c,this.nonce,f);default:s=new ho(l,u,i,d,a,c,f);break}s.onDestroy=()=>o.delete(i.id),o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(dv),p(fv),p(Wr),p(FS),p(H),p(Ft),p(P),p(Yi))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),fo=class{constructor(e,r,n,i){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Pd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(lv(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(lv(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new y(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,i){if(i){r=i+":"+r;let o=Pd[i];o?e.setAttributeNS(o,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let i=Pd[n];i?e.removeAttributeNS(i,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,i){i&(Me.DashCase|Me.Important)?e.style.setProperty(r,n,i&Me.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Me.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e[r]=n}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=or().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function lv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var jd=class extends fo{constructor(e,r,n,i,o,s,a,c){super(e,o,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=pv(i.id,i.styles);for(let u of l){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ho=class extends fo{constructor(e,r,n,i,o,s,a,c){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.rendererUsageCount=0,this.styles=c?pv(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestroy&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,this.rendererUsageCount===0&&this.onDestroy?.())}},Wa=class extends ho{constructor(e,r,n,i,o,s,a,c){let l=i+"-"+n.id;super(e,r,n,o,s,a,c,l),this.contentAttr=PS(l),this.hostAttr=kS(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},LS=(()=>{let e=class extends uo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,o){return n.addEventListener(i,o,!1),()=>this.removeEventListener(n,i,o)}removeEventListener(n,i,o){return n.removeEventListener(i,o)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),uv=["alt","control","meta","shift"],jS={"\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"},VS={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},BS=(()=>{let e=class extends uo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>or().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let i=n.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",c=i.indexOf("code");if(c>-1&&(i.splice(c,1),a="code."),uv.forEach(u=>{let d=i.indexOf(u);d>-1&&(i.splice(d,1),a+=u+".")}),a+=s,i.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=a,l}static matchEventFullKeyCode(n,i){let o=jS[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(o=n.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),uv.forEach(a=>{if(a!==o){let c=VS[a];c(n)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(n,i,o){return s=>{e.matchEventFullKeyCode(s,n)&&o.runGuarded(()=>i(s))}}static _normalizeKey(n){switch(n){case"esc":return"escape";default:return n}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function $S(){lo.makeCurrent()}function US(){return new Ve}function HS(){return sg(document),document}var zS=[{provide:Ft,useValue:Td},{provide:Ku,useValue:$S,multi:!0},{provide:H,useFactory:HS,deps:[]}],a2=pd(ky,"browser",zS),WS=new E(""),qS=[{provide:no,useClass:Ld,deps:[]},{provide:fd,useClass:Ra,deps:[P,Na,no]},{provide:Ra,useClass:Ra,deps:[P,Na,no]}],GS=[{provide:ba,useValue:"root"},{provide:Ve,useFactory:US,deps:[]},{provide:Ha,useClass:LS,multi:!0,deps:[H,P,Ft]},{provide:Ha,useClass:BS,multi:!0,deps:[H]},za,fv,dv,{provide:Tt,useExisting:za},{provide:Xr,useClass:xS,deps:[]},[]],mv=(()=>{let e=class{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Wr,useValue:n.appId}]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(WS,12))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:[...GS,...qS],imports:[Sd,Ly]})})(),t})();function KS(){return new $d(p(H))}var $d=(()=>{let e=class{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:function(i){let o=null;return i?o=new i:o=KS(),o},providedIn:"root"})})(),t})();var ZS={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Vd=new E("HammerGestureConfig"),gv=new E("HammerLoader"),QS=(()=>{let e=class{constructor(){this.events=[],this.overrides={}}buildHammer(n){let i=new Hammer(n,this.options);i.get("pinch").set({enable:!0}),i.get("rotate").set({enable:!0});for(let o in this.overrides)i.get(o).set(this.overrides[o]);return i}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),YS=(()=>{let e=class extends uo{constructor(n,i,o,s){super(n),this._config=i,this.console=o,this.loader=s,this._loaderPromise=null}supports(n){return!(!ZS.hasOwnProperty(n.toLowerCase())&&!this.isCustomEvent(n)||!window.Hammer&&!this.loader)}addEventListener(n,i,o){let s=this.manager.getZone();if(i=i.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||s.runOutsideAngular(()=>this.loader());let a=!1,c=()=>{a=!0};return s.runOutsideAngular(()=>this._loaderPromise.then(()=>{if(!window.Hammer){c=()=>{};return}a||(c=this.addEventListener(n,i,o))}).catch(()=>{c=()=>{}})),()=>{c()}}return s.runOutsideAngular(()=>{let a=this._config.buildHammer(n),c=function(l){s.runGuarded(function(){o(l)})};return a.on(i,c),()=>{a.off(i,c),typeof a.destroy=="function"&&a.destroy()}})}isCustomEvent(n){return this._config.events.indexOf(n)>-1}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(Vd),p(Qr),p(gv,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),c2=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:[{provide:Ha,useClass:YS,multi:!0,deps:[H,Vd,Qr,[new Xn,gv]]},{provide:Vd,useClass:QS,deps:[]}]})})(),t})(),Ud=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=p(yv),o},providedIn:"root"})})(),t})();function XS(t){return new yv(t.get(H))}var yv=(()=>{let e=class extends Ud{constructor(n){super(),this._doc=n}sanitize(n,i){if(i==null)return null;switch(n){case Q.NONE:return i;case Q.HTML:return _n(i,"HTML")?Ot(i):gg(this._doc,String(i)).toString();case Q.STYLE:return _n(i,"Style")?Ot(i):i;case Q.SCRIPT:if(_n(i,"Script"))return Ot(i);throw new y(5200,!1);case Q.URL:return _n(i,"URL")?Ot(i):ya(String(i));case Q.RESOURCE_URL:if(_n(i,"ResourceURL"))return Ot(i);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(n){return ag(n)}bypassSecurityTrustStyle(n){return cg(n)}bypassSecurityTrustScript(n){return lg(n)}bypassSecurityTrustUrl(n){return ug(n)}bypassSecurityTrustResourceUrl(n){return dg(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:function(i){let o=null;return i?o=new i:o=XS(p(ft)),o},providedIn:"root"})})(),t})();function jt(t){return t!=null&&`${t}`!="false"}function po(t,e=0){return JS(t)?Number(t):e}function JS(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Hd(t){return Array.isArray(t)?t:[t]}function d2(t){return t==null?"":typeof t=="string"?t:`${t}px`}function pt(t){return t instanceof ae?t.nativeElement:t}var Wd;try{Wd=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Wd=!1}var Ue=(()=>{let e=class{constructor(n){this._platformId=n,this.isBrowser=this._platformId?Yy(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Wd)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ft))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var mo;function eT(){if(mo==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>mo=!0}))}finally{mo=mo||!1}return mo}function ei(t){return eT()?t:!!t.capture}var ar;function v2(){if(ar==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ar=!1,ar;if("scrollBehavior"in document.documentElement.style)ar=!0;else{let t=Element.prototype.scrollTo;t?ar=!/\{\s*\[native code\]\s*\}/.test(t.toString()):ar=!1}}return ar}var zd;function tT(){if(zd==null){let t=typeof document<"u"?document.head:null;zd=!!(t&&(t.createShadowRoot||t.attachShadow))}return zd}function bv(t){if(tT()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function nT(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Cn(t){return t.composedPath?t.composedPath()[0]:t.target}function _v(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var rT=new E("cdk-dir-doc",{providedIn:"root",factory:iT});function iT(){return w(H)}var oT=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function sT(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?oT.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var M2=(()=>{let e=class{constructor(n){if(this.value="ltr",this.change=new ie,n){let i=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.value=sT(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(rT,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var ti=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})();var wv=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,n=!0,i){this._multiple=e,this._emitChanges=n,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new z,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,n=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!n.has(o)).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e){if(this.compareWith){for(let r of this._selection)if(this.compareWith(e,r))return r;return e}else return e}};var aT=20,j2=(()=>{let e=class{constructor(n,i,o){this._ngZone=n,this._platform=i,this._scrolled=new z,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let i=this.scrollContainers.get(n);i&&(i.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=aT){return this._platform.isBrowser?new R(i=>{this._globalSubscription||this._addGlobalListener();let o=n>0?this._scrolled.pipe(ms(n)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):C()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((n,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(n,i){let o=this.getAncestorScrollContainers(n);return this.scrolled(i).pipe(fe(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(n){let i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,n)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(n,i){let o=pt(i),s=n.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let n=this._getWindow();return Ei(n.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(P),p(Ue),p(H,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var cT=20,V2=(()=>{let e=class{constructor(n,i,o){this._platform=n,this._change=new z,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(n.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,i=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect(),a=-s.top||n.body.scrollTop||i.scrollY||o.scrollTop||0,c=-s.left||n.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:a,left:c}}change(n=cT){return n>0?this._change.pipe(ms(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue),p(P),p(H,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var Dv=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})(),B2=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[ti,Dv,ti,Dv]})})(),t})();function Ga(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Ev=(()=>{let e=class{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),lT=(()=>{let e=class{constructor(n){this._mutationObserverFactory=n,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((n,i)=>this._cleanupObserver(i))}observe(n){let i=pt(n);return new R(o=>{let a=this._observeElement(i).subscribe(o);return()=>{a.unsubscribe(),this._unobserveElement(i)}})}_observeElement(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{let i=new z,o=this._mutationObserverFactory.create(s=>i.next(s));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:i,count:1})}return this._observedElements.get(n).stream}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){let{observer:i,stream:o}=this._observedElements.get(n);i&&i.disconnect(),o.complete(),this._observedElements.delete(n)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ev))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),X2=(()=>{let e=class{get disabled(){return this._disabled}set disabled(n){this._disabled=jt(n),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(n){this._debounce=po(n),this._subscribe()}constructor(n,i,o){this._contentObserver=n,this._elementRef=i,this._ngZone=o,this.event=new ie,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let n=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?n.pipe(dn(this.debounce)):n).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(lT),S(ae),S(P))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})})(),t})(),Cv=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:[Ev]})})(),t})();var Iv=new Set,cr,uT=(()=>{let e=class{constructor(n,i){this._platform=n,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fT}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&dT(n,this._nonce),this._matchMedia(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue),p(Yi,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function dT(t,e){if(!Iv.has(t))try{cr||(cr=document.createElement("style"),e&&(cr.nonce=e),cr.setAttribute("type","text/css"),document.head.appendChild(cr)),cr.sheet&&(cr.sheet.insertRule(`@media ${t} {body{ }}`,0),Iv.add(t))}catch(r){console.error(r)}}function fT(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Tv=(()=>{let e=class{constructor(n,i){this._mediaMatcher=n,this._zone=i,this._queries=new Map,this._destroySubject=new z}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Sv(Hd(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let o=Sv(Hd(n)).map(a=>this._registerQuery(a).observable),s=kn(o);return s=Ge(s.pipe(ve(1)),s.pipe(Mr(1),dn(0))),s.pipe(O(a=>{let c={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:u})=>{c.matches=c.matches||l,c.breakpoints[u]=l}),c}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),s={observable:new R(a=>{let c=l=>this._zone.run(()=>a.next(l));return i.addListener(c),()=>{i.removeListener(c)}}).pipe(Zt(i),O(({matches:a})=>({query:n,matches:a})),jn(this._destroySubject)),mql:i};return this._queries.set(n,s),s}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(uT),p(P))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Sv(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var c$={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 Fv=" ";function RT(t,e,r){let n=Qa(t,e);n.some(i=>i.trim()==r.trim())||(n.push(r.trim()),t.setAttribute(e,n.join(Fv)))}function NT(t,e,r){let i=Qa(t,e).filter(o=>o!=r.trim());i.length?t.setAttribute(e,i.join(Fv)):t.removeAttribute(e)}function Qa(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var Pv="cdk-describedby-message",Ka="cdk-describedby-host",Kd=0,S$=(()=>{let e=class{constructor(n,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=`${Kd++}`,this._document=n,this._id=w(Wr)+"-"+Kd++}describe(n,i,o){if(!this._canBeDescribed(n,i))return;let s=qd(i,o);typeof i!="string"?(Mv(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,i,o){if(!i||!this._isElementNode(n))return;let s=qd(i,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof i=="string"){let a=this._messageRegistry.get(s);a&&a.referenceCount===0&&this._deleteMessageElement(s)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${Ka}="${this._id}"]`);for(let i=0;io.indexOf(Pv)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let o=this._messageRegistry.get(i);RT(n,"aria-describedby",o.messageElement.id),n.setAttribute(Ka,this._id),o.referenceCount++}_removeMessageReference(n,i){let o=this._messageRegistry.get(i);o.referenceCount--,NT(n,"aria-describedby",o.messageElement.id),n.removeAttribute(Ka)}_isElementDescribedByMessage(n,i){let o=Qa(n,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":`${i}`.trim(),s=n.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(Ue))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function qd(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function Mv(t,e){t.id||(t.id=`${Pv}-${e}-${Kd++}`)}var Ya=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new z,this._typeaheadSubscription=X.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=r=>r.disabled,this._pressedLetters=[],this.tabOut=new z,this.change=new z,e instanceof vn&&(this._itemChangesSubscription=e.changes.subscribe(r=>{if(this._activeItem){let i=r.toArray().indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(ne(r=>this._pressedLetters.push(r)),dn(e),fe(()=>this._pressedLetters.length>0),O(()=>this._pressedLetters.join(""))).subscribe(r=>{let n=this._getItemsArray();for(let i=1;i!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){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=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),n=typeof e=="number"?e:r.indexOf(e),i=r[n];this._activeItem=i??null,this._activeItemIndex=n}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let n=1;n<=r.length;n++){let i=(this._activeItemIndex+e*n+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=r,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof vn?this._items.toArray():this._items}},Av=class extends Ya{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},xv=class extends Ya{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var OT=(()=>{let e=class{constructor(n){this._platform=n}isDisabled(n){return n.hasAttribute("disabled")}isVisible(n){return PT(n)&&getComputedStyle(n).visibility==="visible"}isTabbable(n){if(!this._platform.isBrowser)return!1;let i=FT(HT(n));if(i&&(Rv(i)===-1||!this.isVisible(i)))return!1;let o=n.nodeName.toLowerCase(),s=Rv(n);return n.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!$T(n)?!1:o==="audio"?n.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||n.hasAttribute("controls"):n.tabIndex>=0}isFocusable(n,i){return UT(n)&&!this.isDisabled(n)&&(i?.ignoreVisibility||this.isVisible(n))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function FT(t){try{return t.frameElement}catch{return null}}function PT(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function kT(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function LT(t){return VT(t)&&t.type=="hidden"}function jT(t){return BT(t)&&t.hasAttribute("href")}function VT(t){return t.nodeName.toLowerCase()=="input"}function BT(t){return t.nodeName.toLowerCase()=="a"}function kv(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function Rv(t){if(!kv(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function $T(t){let e=t.nodeName.toLowerCase(),r=e==="input"&&t.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function UT(t){return LT(t)?!1:kT(t)||jT(t)||t.hasAttribute("contenteditable")||kv(t)}function HT(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var Zd=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,r,n,i,o=!1){this._element=e,this._checker=r,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let n=this._getFirstTabbableElement(r);return n?.focus(e),!!n}return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let n=0;n=0;n--){let i=r[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[n]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(ve(1)).subscribe(e)}},T$=(()=>{let e=class{constructor(n,i,o){this._checker=n,this._ngZone=i,this._document=o}create(n,i=!1){return new Zd(n,this._checker,this._ngZone,this._document,i)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(OT),p(P),p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Qd(t){return t.buttons===0||t.offsetX===0&&t.offsetY===0}function Yd(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var zT=new E("cdk-input-modality-detector-options"),WT={ignoreKeys:[18,17,224,91,16]},Lv=650,ni=ei({passive:!0,capture:!0}),qT=(()=>{let e=class{get mostRecentModality(){return this._modality.value}constructor(n,i,o,s){this._platform=n,this._mostRecentTarget=null,this._modality=new ge(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(c=>c===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Cn(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Yd(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Cn(a)},this._options=D(D({},WT),s),this.modalityDetected=this._modality.pipe(Mr(1)),this.modalityChanged=this.modalityDetected.pipe(Ln()),n.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,ni),o.addEventListener("mousedown",this._onMousedown,ni),o.addEventListener("touchstart",this._onTouchstart,ni)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ni),document.removeEventListener("mousedown",this._onMousedown,ni),document.removeEventListener("touchstart",this._onTouchstart,ni))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue),p(P),p(H),p(zT,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),GT=new E("liveAnnouncerElement",{providedIn:"root",factory:KT});function KT(){return null}var ZT=new E("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),QT=0,M$=(()=>{let e=class{constructor(n,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=n||this._createLiveElement()}announce(n,...i){let o=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(c=>this._currentResolve=c)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=n,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),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 n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{e.\u0275fac=function(i){return new(i||e)(p(GT,8),p(P),p(H),p(ZT,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var YT=new E("cdk-focus-monitor-default-options"),Za=ei({passive:!0,capture:!0}),Xd=(()=>{let e=class{constructor(n,i,o,s,a){this._ngZone=n,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new z,this._rootNodeFocusAndBlurListener=c=>{let l=Cn(c);for(let u=l;u;u=u.parentElement)c.type==="focus"?this._onFocus(c,u):this._onBlur(c,u)},this._document=s,this._detectionMode=a?.detectionMode||0}monitor(n,i=!1){let o=pt(n);if(!this._platform.isBrowser||o.nodeType!==1)return C();let s=bv(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let c={checkChildren:i,subject:new z,rootNode:s};return this._elementInfo.set(o,c),this._registerGlobalListeners(c),c.subject}stopMonitoring(n){let i=pt(n),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(n,i,o){let s=pt(n),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([c,l])=>this._originChanged(c,i,l)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===1||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===0){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Lv:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,i){let o=this._elementInfo.get(i),s=Cn(n);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(n,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Za),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Za)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(jn(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Za),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Za),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,o){this._setClasses(n,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((o,s)=>{(s===n||o.checkChildren&&s.contains(n))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let a=0;a{e.\u0275fac=function(i){return new(i||e)(p(P),p(Ue),p(qT),p(H,8),p(YT,8))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();var Nv="cdk-high-contrast-black-on-white",Ov="cdk-high-contrast-white-on-black",Gd="cdk-high-contrast-active",Jd=(()=>{let e=class{constructor(n,i){this._platform=n,this._document=i,this._breakpointSubscription=w(Tv).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Gd,Nv,Ov),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===1?n.add(Gd,Nv):i===2&&n.add(Gd,Ov)}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ue),p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),A$=(()=>{let e=class{constructor(n){n._applyBodyHighContrastModeCssClasses()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Jd))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[Cv]})})(),t})();var go=class{},Xa=class{},Vt="*";function R$(t,e){return{type:7,name:t,definitions:e,options:{}}}function N$(t,e=null){return{type:4,styles:e,timings:t}}function O$(t,e=null){return{type:3,steps:t,options:e}}function Ja(t,e=null){return{type:2,steps:t,options:e}}function ef(t){return{type:6,styles:t,offset:null}}function F$(t,e,r){return{type:0,name:t,styles:e,options:r}}function P$(t,e,r=null){return{type:1,expr:t,animation:e,options:r}}function k$(t,e=null){return{type:8,animation:t,options:e}}function L$(t=null){return{type:9,options:t}}function j$(t,e=null){return{type:10,animation:t,options:e}}function V$(t,e,r=null){return{type:11,selector:t,animation:e,options:r}}function B$(t,e){return{type:12,timings:t,animation:e}}var In=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},yo=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++n==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(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},ec="!";function Vv(t){return new y(3e3,!1)}function XT(){return new y(3100,!1)}function JT(){return new y(3101,!1)}function eM(t){return new y(3001,!1)}function tM(t){return new y(3003,!1)}function nM(t){return new y(3004,!1)}function rM(t,e){return new y(3005,!1)}function iM(){return new y(3006,!1)}function oM(){return new y(3007,!1)}function sM(t,e){return new y(3008,!1)}function aM(t){return new y(3002,!1)}function cM(t,e,r,n,i){return new y(3010,!1)}function lM(){return new y(3011,!1)}function uM(){return new y(3012,!1)}function dM(){return new y(3200,!1)}function fM(){return new y(3202,!1)}function hM(){return new y(3013,!1)}function pM(t){return new y(3014,!1)}function mM(t){return new y(3015,!1)}function gM(t){return new y(3016,!1)}function yM(t,e){return new y(3404,!1)}function vM(t){return new y(3502,!1)}function bM(t){return new y(3503,!1)}function _M(){return new y(3300,!1)}function wM(t){return new y(3504,!1)}function DM(t){return new y(3301,!1)}function EM(t,e){return new y(3302,!1)}function CM(t){return new y(3303,!1)}function IM(t,e){return new y(3400,!1)}function SM(t){return new y(3401,!1)}function TM(t){return new y(3402,!1)}function MM(t,e){return new y(3505,!1)}function Sn(t){switch(t.length){case 0:return new In;case 1:return t[0];default:return new yo(t)}}function Jv(t,e,r=new Map,n=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(c=>{let l=c.get("offset"),u=l==s,d=u&&a||new Map;c.forEach((f,h)=>{let m=h,g=f;if(h!=="offset")switch(m=t.normalizePropertyName(m,i),g){case ec:g=r.get(h);break;case Vt:g=n.get(h);break;default:g=t.normalizeStyleValue(h,m,g,i);break}d.set(m,g)}),u||o.push(d),a=d,s=l}),i.length)throw vM(i);return o}function wf(t,e,r,n){switch(e){case"start":t.onStart(()=>n(r&&tf(r,"start",t)));break;case"done":t.onDone(()=>n(r&&tf(r,"done",t)));break;case"destroy":t.onDestroy(()=>n(r&&tf(r,"destroy",t)));break}}function tf(t,e,r){let n=r.totalTime,i=!!r.disabled,o=Df(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,n??t.totalTime,i),s=t._data;return s!=null&&(o._data=s),o}function Df(t,e,r,n,i="",o=0,s){return{element:t,triggerName:e,fromState:r,toState:n,phaseName:i,totalTime:o,disabled:!!s}}function ze(t,e,r){let n=t.get(e);return n||t.set(e,n=r),n}function Bv(t){let e=t.indexOf(":"),r=t.substring(1,e),n=t.slice(e+1);return[r,n]}var AM=(()=>typeof document>"u"?null:document.documentElement)();function Ef(t){let e=t.parentNode||t.host||null;return e===AM?null:e}function xM(t){return t.substring(1,6)=="ebkit"}var lr=null,$v=!1;function RM(t){lr||(lr=NM()||{},$v=lr.style?"WebkitAppearance"in lr.style:!1);let e=!0;return lr.style&&!xM(t)&&(e=t in lr.style,!e&&$v&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in lr.style)),e}function NM(){return typeof document<"u"?document.body:null}function eb(t,e){for(;e;){if(e===t)return!0;e=Ef(e)}return!1}function tb(t,e,r){if(r)return Array.from(t.querySelectorAll(e));let n=t.querySelector(e);return n?[n]:[]}var Cf=(()=>{let e=class{validateStyleProperty(n){return RM(n)}matchesElement(n,i){return!1}containsElement(n,i){return eb(n,i)}getParentElement(n){return Ef(n)}query(n,i,o){return tb(n,i,o)}computeStyle(n,i,o){return o||""}animate(n,i,o,s,a,c=[],l){return new In(o,s)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),Io=(()=>{let e=class{},t=e;return(()=>{e.NOOP=new Cf})(),t})(),OM=1e3,nb="{{",FM="}}",rb="ng-enter",cf="ng-leave",tc="ng-trigger",oc=".ng-trigger",Uv="ng-animating",lf=".ng-animating";function sn(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:uf(parseFloat(e[1]),e[2])}function uf(t,e){switch(e){case"s":return t*OM;default:return t}}function sc(t,e,r){return t.hasOwnProperty("duration")?t:PM(t,e,r)}function PM(t,e,r){let n=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof t=="string"){let a=t.match(n);if(a===null)return e.push(Vv(t)),{duration:0,delay:0,easing:""};i=uf(parseFloat(a[1]),a[2]);let c=a[3];c!=null&&(o=uf(parseFloat(c),a[4]));let l=a[5];l&&(s=l)}else i=t;if(!r){let a=!1,c=e.length;i<0&&(e.push(XT()),a=!0),o<0&&(e.push(JT()),a=!0),a&&e.splice(c,0,Vv(t))}return{duration:i,delay:o,easing:s}}function So(t,e={}){return Object.keys(t).forEach(r=>{e[r]=t[r]}),e}function ib(t){let e=new Map;return Object.keys(t).forEach(r=>{let n=t[r];e.set(r,n)}),e}function kM(t){return t.length?t[0]instanceof Map?t:t.map(e=>ib(e)):[]}function ii(t,e=new Map,r){if(r)for(let[n,i]of r)e.set(n,i);for(let[n,i]of t)e.set(n,i);return e}function Bt(t,e,r){e.forEach((n,i)=>{let o=If(i);r&&!r.has(i)&&r.set(i,t.style[o]),t.style[o]=n})}function dr(t,e){e.forEach((r,n)=>{let i=If(n);t.style[i]=""})}function vo(t){return Array.isArray(t)?t.length==1?t[0]:Ja(t):t}function LM(t,e,r){let n=e.params||{},i=ob(t);i.length&&i.forEach(o=>{n.hasOwnProperty(o)||r.push(eM(o))})}var df=new RegExp(`${nb}\\s*(.+?)\\s*${FM}`,"g");function ob(t){let e=[];if(typeof t=="string"){let r;for(;r=df.exec(t);)e.push(r[1]);df.lastIndex=0}return e}function _o(t,e,r){let n=t.toString(),i=n.replace(df,(o,s)=>{let a=e[s];return a==null&&(r.push(tM(s)),a=""),a.toString()});return i==n?t:i}function ac(t){let e=[],r=t.next();for(;!r.done;)e.push(r.value),r=t.next();return e}var jM=/-+([a-z0-9])/g;function If(t){return t.replace(jM,(...e)=>e[1].toUpperCase())}function VM(t,e){return t===0||e===0}function BM(t,e,r){if(r.size&&e.length){let n=e[0],i=[];if(r.forEach((o,s)=>{n.has(s)||i.push(s),n.set(s,o)}),i.length)for(let o=1;os.set(a,sb(t,a)))}}return e}function He(t,e,r){switch(e.type){case 7:return t.visitTrigger(e,r);case 0:return t.visitState(e,r);case 1:return t.visitTransition(e,r);case 2:return t.visitSequence(e,r);case 3:return t.visitGroup(e,r);case 4:return t.visitAnimate(e,r);case 5:return t.visitKeyframes(e,r);case 6:return t.visitStyle(e,r);case 8:return t.visitReference(e,r);case 9:return t.visitAnimateChild(e,r);case 10:return t.visitAnimateRef(e,r);case 11:return t.visitQuery(e,r);case 12:return t.visitStagger(e,r);default:throw nM(e.type)}}function sb(t,e){return window.getComputedStyle(t)[e]}var cc="*";function $M(t,e){let r=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(n=>UM(n,r,e)):r.push(t),r}function UM(t,e,r){if(t[0]==":"){let c=HM(t,r);if(typeof c=="function"){e.push(c);return}t=c}let n=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return r.push(mM(t)),e;let i=n[1],o=n[2],s=n[3];e.push(Hv(i,s));let a=i==cc&&s==cc;o[0]=="<"&&!a&&e.push(Hv(s,i))}function HM(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,n)=>parseFloat(n)>parseFloat(r);case":decrement":return(r,n)=>parseFloat(n) *"}}var nc=new Set(["true","1"]),rc=new Set(["false","0"]);function Hv(t,e){let r=nc.has(t)||rc.has(t),n=nc.has(e)||rc.has(e);return(i,o)=>{let s=t==cc||t==i,a=e==cc||e==o;return!s&&r&&typeof i=="boolean"&&(s=i?nc.has(t):rc.has(t)),!a&&n&&typeof o=="boolean"&&(a=o?nc.has(e):rc.has(e)),s&&a}}var ab=":self",zM=new RegExp(`s*${ab}s*,?`,"g");function cb(t,e,r,n){return new ff(t).build(e,r,n)}var zv="",ff=class{constructor(e){this._driver=e}build(e,r,n){let i=new hf(r);return this._resetContextStyleTimingState(i),He(this,vo(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=zv,e.collectedStyles=new Map,e.collectedStyles.set(zv,new Map),e.currentTime=0}visitTrigger(e,r){let n=r.queryCount=0,i=r.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&r.errors.push(iM()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==0){let c=a,l=c.name;l.toString().split(/\s*,\s*/).forEach(u=>{c.name=u,o.push(this.visitState(c,r))}),c.name=l}else if(a.type==1){let c=this.visitTransition(a,r);n+=c.queryCount,i+=c.depCount,s.push(c)}else r.errors.push(oM())}),{type:7,name:e.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(e,r){let n=this.visitStyle(e.styles,r),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,s=i||{};if(n.styles.forEach(a=>{a instanceof Map&&a.forEach(c=>{ob(c).forEach(l=>{s.hasOwnProperty(l)||o.add(l)})})}),o.size){let a=ac(o.values());r.errors.push(sM(e.name,a))}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let n=He(this,vo(e.animation),r);return{type:1,matchers:$M(e.expr,r.errors),animation:n,queryCount:r.queryCount,depCount:r.depCount,options:ur(e.options)}}visitSequence(e,r){return{type:2,steps:e.steps.map(n=>He(this,n,r)),options:ur(e.options)}}visitGroup(e,r){let n=r.currentTime,i=0,o=e.steps.map(s=>{r.currentTime=n;let a=He(this,s,r);return i=Math.max(i,r.currentTime),a});return r.currentTime=i,{type:3,steps:o,options:ur(e.options)}}visitAnimate(e,r){let n=KM(e.timings,r.errors);r.currentAnimateTimings=n;let i,o=e.styles?e.styles:ef({});if(o.type==5)i=this.visitKeyframes(o,r);else{let s=e.styles,a=!1;if(!s){a=!0;let l={};n.easing&&(l.easing=n.easing),s=ef(l)}r.currentTime+=n.duration+n.delay;let c=this.visitStyle(s,r);c.isEmptyStep=a,i=c}return r.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(e,r){let n=this._makeStyleAst(e,r);return this._validateStyleAst(n,r),n}_makeStyleAst(e,r){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===Vt?n.push(a):r.errors.push(aM(a)):n.push(ib(a));let o=!1,s=null;return n.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(s=a.get("easing"),a.delete("easing")),!o)){for(let c of a.values())if(c.toString().indexOf(nb)>=0){o=!0;break}}}),{type:6,styles:n,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let n=r.currentAnimateTimings,i=r.currentTime,o=r.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,c)=>{let l=r.collectedStyles.get(r.currentQuerySelector),u=l.get(c),d=!0;u&&(o!=i&&o>=u.startTime&&i<=u.endTime&&(r.errors.push(cM(c,u.startTime,u.endTime,o,i)),d=!1),o=u.startTime),d&&l.set(c,{startTime:o,endTime:i}),r.options&&LM(a,r.options,r.errors)})})}visitKeyframes(e,r){let n={type:5,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(lM()),n;let i=1,o=0,s=[],a=!1,c=!1,l=0,u=e.steps.map(b=>{let k=this._makeStyleAst(b,r),Y=k.offset!=null?k.offset:GM(k.styles),L=0;return Y!=null&&(o++,L=k.offset=Y),c=c||L<0||L>1,a=a||L0&&o{let Y=f>0?k==h?1:f*k:s[k],L=Y*_;r.currentTime=m+g.delay+L,g.duration=L,this._validateStyleAst(b,r),b.offset=Y,n.styles.push(b)}),n}visitReference(e,r){return{type:8,animation:He(this,vo(e.animation),r),options:ur(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:9,options:ur(e.options)}}visitAnimateRef(e,r){return{type:10,animation:this.visitReference(e.animation,r),options:ur(e.options)}}visitQuery(e,r){let n=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=WM(e.selector);r.currentQuerySelector=n.length?n+" "+o:o,ze(r.collectedStyles,r.currentQuerySelector,new Map);let a=He(this,vo(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:ur(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(hM());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:sc(e.timings,r.errors,!0);return{type:12,animation:He(this,vo(e.animation),r),timings:n,options:null}}};function WM(t){let e=!!t.split(/\s*,\s*/).find(r=>r==ab);return e&&(t=t.replace(zM,"")),t=t.replace(/@\*/g,oc).replace(/@\w+/g,r=>oc+"-"+r.slice(1)).replace(/:animating/g,lf),[t,e]}function qM(t){return t?So(t):null}var hf=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function GM(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(r=>{if(r instanceof Map&&r.has("offset")){let n=r;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let r=t;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function KM(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=sc(t,e).duration;return nf(o,0,"")}let r=t;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=nf(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=sc(r,e);return nf(i.duration,i.delay,i.easing)}function ur(t){return t?(t=So(t),t.params&&(t.params=qM(t.params))):t={},t}function nf(t,e,r){return{duration:t,delay:e,easing:r}}function Sf(t,e,r,n,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:r,postStyleProps:n,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var wo=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,r){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},ZM=1,QM=":enter",YM=new RegExp(QM,"g"),XM=":leave",JM=new RegExp(XM,"g");function lb(t,e,r,n,i,o=new Map,s=new Map,a,c,l=[]){return new pf().buildKeyframes(t,e,r,n,i,o,s,a,c,l)}var pf=class{buildKeyframes(e,r,n,i,o,s,a,c,l,u=[]){l=l||new wo;let d=new Do(e,r,l,i,o,u,[]);d.options=c;let f=c.delay?sn(c.delay):0;d.currentTimeline.delayNextStep(f),d.currentTimeline.setStyles([s],null,d.errors,c),He(this,n,d);let h=d.timelines.filter(m=>m.containsAnimation());if(h.length&&a.size){let m;for(let g=h.length-1;g>=0;g--){let _=h[g];if(_.element===r){m=_;break}}m&&!m.allowOnlyTimelineStyles()&&m.setStyles([a],null,d.errors,c)}return h.length?h.map(m=>m.buildKeyframes()):[Sf(r,[],[],[],0,f,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let n=r.subInstructions.get(r.element);if(n){let i=r.createSubContext(e.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=e}visitAnimateRef(e,r){let n=r.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,n),this.visitReference(e.animation,n),r.transformIntoNewTimeline(n.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,n){for(let i of e){let o=i?.delay;if(o){let s=typeof o=="number"?o:sn(_o(o,i?.params??{},r.errors));n.delayNextStep(s)}}}_visitSubInstructions(e,r,n){let o=r.currentTimeline.currentTime,s=n.duration!=null?sn(n.duration):null,a=n.delay!=null?sn(n.delay):null;return s!==0&&e.forEach(c=>{let l=r.appendInstructionToTimeline(c,s,a);o=Math.max(o,l.duration+l.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),He(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let n=r.subContextCount,i=r,o=e.options;if(o&&(o.params||o.delay)&&(i=r.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==6&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=lc);let s=sn(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>He(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let n=[],i=r.currentTimeline.currentTime,o=e.options&&e.options.delay?sn(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),He(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(s=>r.currentTimeline.mergeTimelineCollectedStyles(s)),r.transformIntoNewTimeline(i),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let n=e.strValue,i=r.params?_o(n,r.params,r.errors):n;return sc(i,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let n=r.currentAnimateTimings=this._visitTiming(e.timings,r),i=r.currentTimeline;n.delay&&(r.incrementTime(n.delay),i.snapshotCurrentStyles());let o=e.style;o.type==5?this.visitKeyframes(o,r):(r.incrementTime(n.duration),this.visitStyle(o,r),i.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let n=r.currentTimeline,i=r.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let n=r.currentAnimateTimings,i=r.currentTimeline.duration,o=n.duration,a=r.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(c=>{let l=c.offset||0;a.forwardTime(l*o),a.setStyles(c.styles,c.easing,r.errors,r.options),a.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(a),r.transformIntoNewTimeline(i+o),r.previousNode=e}visitQuery(e,r){let n=r.currentTimeline.currentTime,i=e.options||{},o=i.delay?sn(i.delay):0;o&&(r.previousNode.type===6||n==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=lc);let s=n,a=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,r.errors);r.currentQueryTotal=a.length;let c=null;a.forEach((l,u)=>{r.currentQueryIndex=u;let d=r.createSubContext(e.options,l);o&&d.delayNextStep(o),l===r.element&&(c=d.currentTimeline),He(this,e.animation,d),d.currentTimeline.applyStylesToKeyframe();let f=d.currentTimeline.currentTime;s=Math.max(s,f)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(s),c&&(r.currentTimeline.mergeTimelineCollectedStyles(c),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let n=r.parentContext,i=r.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(r.currentQueryTotal-1),c=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":c=a-c;break;case"full":c=n.currentStaggerTime;break}let u=r.currentTimeline;c&&u.delayNextStep(c);let d=u.currentTime;He(this,e.animation,r),r.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},lc={},Do=class{constructor(e,r,n,i,o,s,a,c){this._driver=e,this.element=r,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=lc,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new oi(this._driver,r,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let n=e,i=this.options;n.duration!=null&&(i.duration=sn(n.duration)),n.delay!=null&&(i.delay=sn(n.delay));let o=n.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!r||!s.hasOwnProperty(a))&&(s[a]=_o(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let n=e.params={};Object.keys(r).forEach(i=>{n[i]=r[i]})}}return e}createSubContext(e=null,r,n){let i=r||this.element,o=new Do(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=lc,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,n){let i={duration:r??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new mf(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,n,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(YM,"."+this._enterClassName),e=e.replace(JM,"."+this._leaveClassName);let c=n!=1,l=this._driver.query(this.element,e,c);n!==0&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),a.push(...l)}return!o&&a.length==0&&s.push(pM(r)),a}},oi=class{constructor(e,r,n,i){this._driver=e,this.element=r,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,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(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new oi(this._driver,e,r||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+=ZM,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,n]of this._globalTimelineStyles)this._backFill.set(r,n||Vt),this._currentKeyframe.set(r,Vt);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,n,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},s=eA(e,this._globalTimelineStyles);for(let[a,c]of s){let l=_o(c,o,n);this._pendingStyles.set(a,l),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??Vt),this._updateStyle(a,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,n)=>{let i=this._styleSummary.get(n);(!i||r.time>i.time)&&this._updateStyle(n,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,n=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,c)=>{let l=ii(a,new Map,this._backFill);l.forEach((u,d)=>{u===ec?e.add(d):u===Vt&&r.add(d)}),n||l.set("offset",c/this.duration),i.push(l)});let o=e.size?ac(e.values()):[],s=r.size?ac(r.values()):[];if(n){let a=i[0],c=new Map(a);a.set("offset",0),c.set("offset",1),i=[a,c]}return Sf(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},mf=class extends oi{constructor(e,r,n,i,o,s,a=!1){super(e,r,s.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],s=n+r,a=r/s,c=ii(e[0]);c.set("offset",0),o.push(c);let l=ii(e[0]);l.set("offset",Wv(a)),o.push(l);let u=e.length-1;for(let d=1;d<=u;d++){let f=ii(e[d]),h=f.get("offset"),m=r+h*n;f.set("offset",Wv(m/s)),o.push(f)}n=s,r=0,i="",e=o}return Sf(this.element,e,this.preStyleProps,this.postStyleProps,n,r,i,!0)}};function Wv(t,e=3){let r=Math.pow(10,e-1);return Math.round(t*r)/r}function eA(t,e){let r=new Map,n;return t.forEach(i=>{if(i==="*"){n=n||e.keys();for(let o of n)r.set(o,Vt)}else ii(i,r)}),r}var fr=class{};var tA=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"]),uc=class extends fr{normalizePropertyName(e,r){return If(e)}normalizeStyleValue(e,r,n,i){let o="",s=n.toString().trim();if(tA.has(r)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(rM(e,n))}return s+o}};function qv(t,e,r,n,i,o,s,a,c,l,u,d,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:r,fromStyles:o,toState:n,toStyles:s,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:d,errors:f}}var rf={},dc=class{constructor(e,r,n){this._triggerName=e,this.ast=r,this._stateStyles=n}match(e,r,n,i){return nA(this.ast.matchers,e,r,n,i)}buildStyles(e,r,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(r,n):new Map}build(e,r,n,i,o,s,a,c,l,u){let d=[],f=this.ast.options&&this.ast.options.params||rf,h=a&&a.params||rf,m=this.buildStyles(n,h,d),g=c&&c.params||rf,_=this.buildStyles(i,g,d),b=new Set,k=new Map,Y=new Map,L=i==="void",ue={params:rA(g,f),delay:this.ast.options?.delay},ce=u?[]:lb(e,r,this.ast.animation,o,s,m,_,ue,l,d),de=0;if(ce.forEach(it=>{de=Math.max(it.duration+it.delay,de)}),d.length)return qv(r,this._triggerName,n,i,L,m,_,[],[],k,Y,de,d);ce.forEach(it=>{let Ht=it.element,gh=ze(k,Ht,new Set);it.preStyleProps.forEach(xn=>gh.add(xn));let yi=ze(Y,Ht,new Set);it.postStyleProps.forEach(xn=>yi.add(xn)),Ht!==r&&b.add(Ht)});let rt=ac(b.values());return qv(r,this._triggerName,n,i,L,m,_,ce,rt,k,Y,de)}};function nA(t,e,r,n,i){return t.some(o=>o(e,r,n,i))}function rA(t,e){let r=So(e);for(let n in t)t.hasOwnProperty(n)&&t[n]!=null&&(r[n]=t[n]);return r}var gf=class{constructor(e,r,n){this.styles=e,this.defaultParams=r,this.normalizer=n}buildStyles(e,r){let n=new Map,i=So(this.defaultParams);return Object.keys(e).forEach(o=>{let s=e[o];s!==null&&(i[o]=s)}),this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=_o(s,i,r));let c=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,c,s,r),n.set(a,s)})}),n}};function iA(t,e,r){return new yf(t,e,r)}var yf=class{constructor(e,r,n){this.name=e,this.ast=r,this._normalizer=n,this.transitionFactories=[],this.states=new Map,r.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new gf(i.style,o,n))}),Gv(this.states,"true","1"),Gv(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new dc(e,i,this.states))}),this.fallbackTransition=oA(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,n,i){return this.transitionFactories.find(s=>s.match(e,r,n,i))||null}matchStyles(e,r,n){return this.fallbackTransition.buildStyles(e,r,n)}};function oA(t,e,r){let o={type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0};return new dc(t,o,e)}function Gv(t,e,r){t.has(e)?t.has(r)||t.set(r,t.get(e)):t.has(r)&&t.set(e,t.get(r))}var sA=new wo,vf=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,r){let n=[],i=[],o=cb(this._driver,r,n,i);if(n.length)throw bM(n);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,n){let i=e.element,o=Jv(this._normalizer,e.keyframes,r,n);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,n={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=lb(this._driver,r,o,rb,cf,new Map,new Map,n,sA,i),s.forEach(u=>{let d=ze(a,u.element,new Map);u.postStyleProps.forEach(f=>d.set(f,null))})):(i.push(_M()),s=[]),i.length)throw wM(i);a.forEach((u,d)=>{u.forEach((f,h)=>{u.set(h,this._driver.computeStyle(d,h,Vt))})});let c=s.map(u=>{let d=a.get(u.element);return this._buildPlayer(u,new Map,d)}),l=Sn(c);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let n=this.players.indexOf(r);n>=0&&this.players.splice(n,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw DM(e);return r}listen(e,r,n,i){let o=Df(r,"","","");return wf(this._getPlayer(e),n,o,i),()=>{}}command(e,r,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let s=i[0]||{};this.create(e,r,s);return}let o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Kv="ng-animate-queued",aA=".ng-animate-queued",of="ng-animate-disabled",cA=".ng-animate-disabled",lA="ng-star-inserted",uA=".ng-star-inserted",dA=[],ub={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},fA={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},et="__ng_removed",Eo=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=pA(i),n){let o=So(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let n=this.options.params;Object.keys(r).forEach(i=>{n[i]==null&&(n[i]=r[i])})}}},bo="void",sf=new Eo(bo),bf=class{constructor(e,r,n){this.id=e,this.hostElement=r,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,tt(r,this._hostClassName)}listen(e,r,n,i){if(!this._triggers.has(r))throw EM(n,r);if(n==null||n.length==0)throw CM(r);if(!mA(n))throw IM(n,r);let o=ze(this._elementListeners,e,[]),s={name:r,phase:n,callback:i};o.push(s);let a=ze(this._engine.statesByElement,e,new Map);return a.has(r)||(tt(e,tc),tt(e,tc+"-"+r),a.set(r,sf)),()=>{this._engine.afterFlush(()=>{let c=o.indexOf(s);c>=0&&o.splice(c,1),this._triggers.has(r)||a.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw SM(e);return r}trigger(e,r,n,i=!0){let o=this._getTrigger(r),s=new Co(this.id,r,e),a=this._engine.statesByElement.get(e);a||(tt(e,tc),tt(e,tc+"-"+r),this._engine.statesByElement.set(e,a=new Map));let c=a.get(r),l=new Eo(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),a.set(r,l),c||(c=sf),!(l.value===bo)&&c.value===l.value){if(!vA(c.params,l.params)){let g=[],_=o.matchStyles(c.value,c.params,g),b=o.matchStyles(l.value,l.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{dr(e,_),Bt(e,b)})}return}let f=ze(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==r&&g.queued&&g.destroy()});let h=o.matchTransition(c.value,l.value,e,l.params),m=!1;if(!h){if(!i)return;h=o.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:h,fromState:c,toState:l,player:s,isFallbackTransition:m}),m||(tt(e,Kv),s.onStart(()=>{ri(e,Kv)})),s.onDone(()=>{let g=this.players.indexOf(s);g>=0&&this.players.splice(g,1);let _=this._engine.playersByElement.get(e);if(_){let b=_.indexOf(s);b>=0&&_.splice(b,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,n)=>{this._elementListeners.set(n,r.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let n=this._engine.driver.query(e,oc,!0);n.forEach(i=>{if(i[et])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,r,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,r,n,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((c,l)=>{if(s.set(l,c.value),this._triggers.has(l)){let u=this.trigger(e,l,bo,i);u&&a.push(u)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),n&&Sn(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(r&&n){let i=new Set;r.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let c=this._triggers.get(s).fallbackTransition,l=n.get(s)||sf,u=new Eo(bo),d=new Co(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:c,fromState:l,toState:u,player:d,isFallbackTransition:!0})})}}removeNode(e,r){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let i=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(n.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,r);else{let o=e[et];(!o||o===ub)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,r))}}insertNode(e,r){tt(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let o=n.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==n.triggerName){let c=Df(o,n.triggerName,n.fromState.value,n.toState.value);c._data=e,wf(n.player,a.phase,c,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):r.push(n)}),this._queue=[],r.sort((n,i)=>{let o=n.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let r=!1;return this._elementListeners.has(e)&&(r=!0),r=!!this._queue.find(n=>n.element===e)||r,r}},_f=class{_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,n){this.bodyNode=e,this.driver=r,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,r){let n=new bf(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(n,r):(this.newHostElements.set(r,n),this.collectEnterElement(r)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,r){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let s=!1,a=this.driver.getParentElement(r);for(;a;){let c=i.get(a);if(c){let l=n.indexOf(c);n.splice(l+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||n.unshift(e)}else n.push(e);return i.set(r,e),e}register(e,r){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,r)),n}registerTrigger(e,r,n){let i=this._namespaceLookup[e];i&&i.register(r,n)&&this.totalAnimations++}destroy(e,r){if(!e)return;let n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1)}),this.afterFlushAnimationsDone(()=>n.destroy(r))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&r.add(o)}}return r}trigger(e,r,n,i){if(ic(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,n,i),!0}return!1}insertNode(e,r,n,i){if(!ic(r))return;let o=r[et];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(r,n)}i&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),tt(e,of)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ri(e,of))}removeNode(e,r,n){if(ic(r)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(r,n):this.markElementAsRemoved(e,r,!1,n);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,n)}else this._onRemovalComplete(r,n)}markElementAsRemoved(e,r,n,i,o){this.collectedLeaveElements.push(r),r[et]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,n,i,o){return ic(r)?this._fetchNamespace(e).listen(r,n,i,o):()=>{}}_buildInstruction(e,r,n,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,oc,!0);r.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,lf,!0),r.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Sn(this.players).onDone(()=>e());e()})}processLeaveNode(e){let r=e[et];if(r&&r.setForRemoval){if(e[et]=ub,r.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(r.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}e.classList?.contains(of)&&this.markElementAsDisabled(e,!1),this.driver.query(e,cA,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nn()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],r.length?Sn(r).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw TM(e)}_flushAnimations(e,r){let n=new wo,i=[],o=new Map,s=[],a=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(I=>{u.add(I);let x=this.driver.query(I,aA,!0);for(let F=0;F{let F=rb+g++;m.set(x,F),I.forEach(q=>tt(q,F))});let _=[],b=new Set,k=new Set;for(let I=0;Ib.add(q)):k.add(x))}let Y=new Map,L=Yv(f,Array.from(b));L.forEach((I,x)=>{let F=cf+g++;Y.set(x,F),I.forEach(q=>tt(q,F))}),e.push(()=>{h.forEach((I,x)=>{let F=m.get(x);I.forEach(q=>ri(q,F))}),L.forEach((I,x)=>{let F=Y.get(x);I.forEach(q=>ri(q,F))}),_.forEach(I=>{this.processLeaveNode(I)})});let ue=[],ce=[];for(let I=this._namespaceList.length-1;I>=0;I--)this._namespaceList[I].drainQueuedTransitions(r).forEach(F=>{let q=F.player,ye=F.element;if(ue.push(q),this.collectedEnterElements.length){let Ie=ye[et];if(Ie&&Ie.setForMove){if(Ie.previousTriggersValues&&Ie.previousTriggersValues.has(F.triggerName)){let Rn=Ie.previousTriggersValues.get(F.triggerName),qe=this.statesByElement.get(F.element);if(qe&&qe.has(F.triggerName)){let zo=qe.get(F.triggerName);zo.value=Rn,qe.set(F.triggerName,zo)}}q.destroy();return}}let vt=!d||!this.driver.containsElement(d,ye),ke=Y.get(ye),ln=m.get(ye),se=this._buildInstruction(F,n,ln,ke,vt);if(se.errors&&se.errors.length){ce.push(se);return}if(vt){q.onStart(()=>dr(ye,se.fromStyles)),q.onDestroy(()=>Bt(ye,se.toStyles)),i.push(q);return}if(F.isFallbackTransition){q.onStart(()=>dr(ye,se.fromStyles)),q.onDestroy(()=>Bt(ye,se.toStyles)),i.push(q);return}let bh=[];se.timelines.forEach(Ie=>{Ie.stretchStartingKeyframe=!0,this.disabledNodes.has(Ie.element)||bh.push(Ie)}),se.timelines=bh,n.append(ye,se.timelines);let D_={instruction:se,player:q,element:ye};s.push(D_),se.queriedElements.forEach(Ie=>ze(a,Ie,[]).push(q)),se.preStyleProps.forEach((Ie,Rn)=>{if(Ie.size){let qe=c.get(Rn);qe||c.set(Rn,qe=new Set),Ie.forEach((zo,Vc)=>qe.add(Vc))}}),se.postStyleProps.forEach((Ie,Rn)=>{let qe=l.get(Rn);qe||l.set(Rn,qe=new Set),Ie.forEach((zo,Vc)=>qe.add(Vc))})});if(ce.length){let I=[];ce.forEach(x=>{I.push(MM(x.triggerName,x.errors))}),ue.forEach(x=>x.destroy()),this.reportError(I)}let de=new Map,rt=new Map;s.forEach(I=>{let x=I.element;n.has(x)&&(rt.set(x,x),this._beforeAnimationBuild(I.player.namespaceId,I.instruction,de))}),i.forEach(I=>{let x=I.element;this._getPreviousPlayers(x,!1,I.namespaceId,I.triggerName,null).forEach(q=>{ze(de,x,[]).push(q),q.destroy()})});let it=_.filter(I=>Xv(I,c,l)),Ht=new Map;Qv(Ht,this.driver,k,l,Vt).forEach(I=>{Xv(I,c,l)&&it.push(I)});let yi=new Map;h.forEach((I,x)=>{Qv(yi,this.driver,new Set(I),c,ec)}),it.forEach(I=>{let x=Ht.get(I),F=yi.get(I);Ht.set(I,new Map([...x?.entries()??[],...F?.entries()??[]]))});let xn=[],yh=[],vh={};s.forEach(I=>{let{element:x,player:F,instruction:q}=I;if(n.has(x)){if(u.has(x)){F.onDestroy(()=>Bt(x,q.toStyles)),F.disabled=!0,F.overrideTotalTime(q.totalTime),i.push(F);return}let ye=vh;if(rt.size>1){let ke=x,ln=[];for(;ke=ke.parentNode;){let se=rt.get(ke);if(se){ye=se;break}ln.push(ke)}ln.forEach(se=>rt.set(se,ye))}let vt=this._buildAnimation(F.namespaceId,q,de,o,yi,Ht);if(F.setRealPlayer(vt),ye===vh)xn.push(F);else{let ke=this.playersByElement.get(ye);ke&&ke.length&&(F.parentPlayer=Sn(ke)),i.push(F)}}else dr(x,q.fromStyles),F.onDestroy(()=>Bt(x,q.toStyles)),yh.push(F),u.has(x)&&i.push(F)}),yh.forEach(I=>{let x=o.get(I.element);if(x&&x.length){let F=Sn(x);I.setRealPlayer(F)}}),i.forEach(I=>{I.parentPlayer?I.syncPlayerEvents(I.parentPlayer):I.destroy()});for(let I=0;I<_.length;I++){let x=_[I],F=x[et];if(ri(x,cf),F&&F.hasAnimation)continue;let q=[];if(a.size){let vt=a.get(x);vt&&vt.length&&q.push(...vt);let ke=this.driver.query(x,lf,!0);for(let ln=0;ln!vt.destroyed);ye.length?gA(this,x,ye):this.processLeaveNode(x)}return _.length=0,xn.forEach(I=>{this.players.push(I),I.onDone(()=>{I.destroy();let x=this.players.indexOf(I);this.players.splice(x,1)}),I.play()}),xn}elementContainsData(e,r){let n=!1,i=r[et];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(r)&&(n=!0),this.playersByQueriedElement.has(r)&&(n=!0),this.statesByElement.has(r)&&(n=!0),this._fetchNamespace(e).elementContainsData(r)||n}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,n,i,o){let s=[];if(r){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let c=!o||o==bo;a.forEach(l=>{l.queued||!c&&l.triggerName!=i||s.push(l)})}}return(n||i)&&(s=s.filter(a=>!(n&&n!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,r,n){let i=r.triggerName,o=r.element,s=r.isRemovalTransition?void 0:e,a=r.isRemovalTransition?void 0:i;for(let c of r.timelines){let l=c.element,u=l!==o,d=ze(n,l,[]);this._getPreviousPlayers(l,u,s,a,r.toState).forEach(h=>{let m=h.getRealPlayer();m.beforeDestroy&&m.beforeDestroy(),h.destroy(),d.push(h)})}dr(o,r.fromStyles)}_buildAnimation(e,r,n,i,o,s){let a=r.triggerName,c=r.element,l=[],u=new Set,d=new Set,f=r.timelines.map(m=>{let g=m.element;u.add(g);let _=g[et];if(_&&_.removedBeforeQueried)return new In(m.duration,m.delay);let b=g!==c,k=yA((n.get(g)||dA).map(de=>de.getRealPlayer())).filter(de=>{let rt=de;return rt.element?rt.element===g:!1}),Y=o.get(g),L=s.get(g),ue=Jv(this._normalizer,m.keyframes,Y,L),ce=this._buildPlayer(m,ue,k);if(m.subTimeline&&i&&d.add(g),b){let de=new Co(e,a,g);de.setRealPlayer(ce),l.push(de)}return ce});l.forEach(m=>{ze(this.playersByQueriedElement,m.element,[]).push(m),m.onDone(()=>hA(this.playersByQueriedElement,m.element,m))}),u.forEach(m=>tt(m,Uv));let h=Sn(f);return h.onDestroy(()=>{u.forEach(m=>ri(m,Uv)),Bt(c,r.toStyles)}),d.forEach(m=>{ze(i,m,[]).push(h)}),h}_buildPlayer(e,r,n){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,n):new In(e.duration,e.delay)}},Co=class{constructor(e,r,n){this.namespaceId=e,this.triggerName=r,this.element=n,this._player=new In,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((r,n)=>{r.forEach(i=>wf(e,n,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){ze(this._queuedCallbacks,e,[]).push(r)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function hA(t,e,r){let n=t.get(e);if(n){if(n.length){let i=n.indexOf(r);n.splice(i,1)}n.length==0&&t.delete(e)}return n}function pA(t){return t??null}function ic(t){return t&&t.nodeType===1}function mA(t){return t=="start"||t=="done"}function Zv(t,e){let r=t.style.display;return t.style.display=e??"none",r}function Qv(t,e,r,n,i){let o=[];r.forEach(c=>o.push(Zv(c)));let s=[];n.forEach((c,l)=>{let u=new Map;c.forEach(d=>{let f=e.computeStyle(l,d,i);u.set(d,f),(!f||f.length==0)&&(l[et]=fA,s.push(l))}),t.set(l,u)});let a=0;return r.forEach(c=>Zv(c,o[a++])),s}function Yv(t,e){let r=new Map;if(t.forEach(a=>r.set(a,[])),e.length==0)return r;let n=1,i=new Set(e),o=new Map;function s(a){if(!a)return n;let c=o.get(a);if(c)return c;let l=a.parentNode;return r.has(l)?c=l:i.has(l)?c=n:c=s(l),o.set(a,c),c}return e.forEach(a=>{let c=s(a);c!==n&&r.get(c).push(a)}),r}function tt(t,e){t.classList?.add(e)}function ri(t,e){t.classList?.remove(e)}function gA(t,e,r){Sn(r).onDone(()=>t.processLeaveNode(e))}function yA(t){let e=[];return db(t,e),e}function db(t,e){for(let r=0;ri.add(o)):e.set(t,n),r.delete(t),!0}var Tn=class{constructor(e,r,n){this.bodyNode=e,this._driver=r,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new _f(e,r,n),this._timelineEngine=new vf(e,r,n),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,r,n,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let c=[],l=[],u=cb(this._driver,o,c,l);if(c.length)throw yM(i,c);l.length&&void 0,a=iA(i,u,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(r,i,a)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,n,i){this._transitionEngine.insertNode(e,r,n,i)}onRemove(e,r,n){this._transitionEngine.removeNode(e,r,n)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,n,i){if(n.charAt(0)=="@"){let[o,s]=Bv(n),a=i;this._timelineEngine.command(o,r,s,a)}else this._transitionEngine.trigger(e,r,n,i)}listen(e,r,n,i,o){if(n.charAt(0)=="@"){let[s,a]=Bv(n);return this._timelineEngine.listen(s,r,a,o)}return this._transitionEngine.listen(e,r,n,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function bA(t,e){let r=null,n=null;return Array.isArray(e)&&e.length?(r=af(e[0]),e.length>1&&(n=af(e[e.length-1]))):e instanceof Map&&(r=af(e)),r||n?new _A(t,r,n):null}var _A=(()=>{let e=class{constructor(n,i,o){this._element=n,this._startStyles=i,this._endStyles=o,this._state=0;let s=e.initialStylesByElement.get(n);s||e.initialStylesByElement.set(n,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Bt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Bt(this._element,this._initialStyles),this._endStyles&&(Bt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(dr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(dr(this._element,this._endStyles),this._endStyles=null),Bt(this._element,this._initialStyles),this._state=3)}},t=e;return(()=>{e.initialStylesByElement=new WeakMap})(),t})();function af(t){let e=null;return t.forEach((r,n)=>{wA(n)&&(e=e||new Map,e.set(n,r))}),e}function wA(t){return t==="display"||t==="position"}var fc=class{constructor(e,r,n,i){this.element=e,this.keyframes=r,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(n=>{r.push(Object.fromEntries(n))}),r}_triggerWebAnimation(e,r,n){return e.animate(this._convertKeyframesToObject(r),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,i)=>{i!=="offset"&&e.set(i,this._finished?n:sb(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},hc=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,r){return!1}containsElement(e,r){return eb(e,r)}getParentElement(e){return Ef(e)}query(e,r,n){return tb(e,r,n)}computeStyle(e,r,n){return window.getComputedStyle(e)[r]}animate(e,r,n,i,o,s=[]){let a=i==0?"both":"forwards",c={duration:n,delay:i,fill:a};o&&(c.easing=o);let l=new Map,u=s.filter(h=>h instanceof fc);VM(n,i)&&u.forEach(h=>{h.currentSnapshot.forEach((m,g)=>l.set(g,m))});let d=kM(r).map(h=>ii(h));d=BM(e,d,l);let f=bA(e,d);return new fc(e,d,c,f)}};var EA=(()=>{let e=class extends go{constructor(n,i){super(),this._nextAnimationId=0;let o={id:"0",encapsulation:Fe.None,styles:[],data:{animation:[]}};this._renderer=n.createRenderer(i.body,o)}build(n){let i=this._nextAnimationId.toString();this._nextAnimationId++;let o=Array.isArray(n)?Ja(n):n;return hb(this._renderer,null,i,"register",[o]),new Tf(i,this._renderer)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Tt),p(H))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),Tf=class extends Xa{constructor(e,r){super(),this._id=e,this._renderer=r}create(e,r){return new Mf(this._id,e,r||{},this._renderer)}},Mf=class{constructor(e,r,n,i){this.id=e,this.element=r,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,r){return this._renderer.listen(this.element,`@@${this.id}:${e}`,r)}_command(e,...r){return hb(this._renderer,this.element,this.id,e,r)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(e){this._command("setPosition",e)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}};function hb(t,e,r,n,i){return t.setProperty(e,`@@${r}:${n}`,i)}var pc="@",pb="@.disabled",CA=(()=>{let e=class{constructor(n,i,o){this.delegate=n,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(s,a)=>{let c=a?.parentNode(s);c&&a.removeChild(c,s)}}createRenderer(n,i){let o="",s=this.delegate.createRenderer(n,i);if(!n||!i||!i.data||!i.data.animation){let d=this._rendererCache.get(s);if(!d){let f=()=>this._rendererCache.delete(s);d=new mc(o,s,this.engine,f),this._rendererCache.set(s,d)}return d}let a=i.id,c=i.id+"-"+this._currentId;this._currentId++,this.engine.register(c,n);let l=d=>{Array.isArray(d)?d.forEach(l):this.engine.registerTrigger(a,c,n,d.name,d)};return i.data.animation.forEach(l),new Af(this,c,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(n,i,o){if(n>=0&&ni(o));return}this._animationCallbacksBuffer.length==0&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{let[a,c]=s;a(c)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o])}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()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Tt),p(Tn),p(P))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})(),mc=class{constructor(e,r,n,i){this.namespaceId=e,this.delegate=r,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,n,i=!0){this.delegate.insertBefore(e,r,n),this.engine.onInsert(this.namespaceId,r,e,i)}removeChild(e,r,n){this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,n,i){this.delegate.setAttribute(e,r,n,i)}removeAttribute(e,r,n){this.delegate.removeAttribute(e,r,n)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,n,i){this.delegate.setStyle(e,r,n,i)}removeStyle(e,r,n){this.delegate.removeStyle(e,r,n)}setProperty(e,r,n){r.charAt(0)==pc&&r==pb?this.disableAnimations(e,!!n):this.delegate.setProperty(e,r,n)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,n){return this.delegate.listen(e,r,n)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},Af=class extends mc{constructor(e,r,n,i,o){super(r,n,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,n){r.charAt(0)==pc?r.charAt(1)=="."&&r==pb?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,r.slice(1),n):this.delegate.setProperty(e,r,n)}listen(e,r,n){if(r.charAt(0)==pc){let i=IA(e),o=r.slice(1),s="";return o.charAt(0)!=pc&&([o,s]=SA(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let c=a._data||-1;this.factory.scheduleListenerCallback(c,n,a)})}return this.delegate.listen(e,r,n)}};function IA(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function SA(t){let e=t.indexOf("."),r=t.substring(0,e),n=t.slice(e+1);return[r,n]}var TA=(()=>{let e=class extends Tn{constructor(n,i,o,s){super(n.body,i,o)}ngOnDestroy(){this.flush()}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(H),p(Io),p(fr),p(nn))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function MA(){return new uc}function AA(t,e,r){return new CA(t,e,r)}var mb=[{provide:go,useClass:EA},{provide:fr,useFactory:MA},{provide:Tn,useClass:TA},{provide:Tt,useFactory:AA,deps:[za,Tn,P]}],fb=[{provide:Io,useFactory:()=>new hc},{provide:Pt,useValue:"BrowserAnimations"},...mb],xA=[{provide:Io,useClass:Cf},{provide:Pt,useValue:"NoopAnimations"},...mb],J$=(()=>{let e=class{static withConfig(n){return{ngModule:e,providers:n.disableAnimations?xA:fb}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({providers:fb,imports:[mv]})})(),t})();var OA=["text"];var CU=(()=>{let e=class{},t=e;return(()=>{e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)"})(),(()=>{e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)"})(),(()=>{e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)"})(),(()=>{e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)"})(),t})(),IU=(()=>{let e=class{},t=e;return(()=>{e.COMPLEX="375ms"})(),(()=>{e.ENTERING="225ms"})(),(()=>{e.EXITING="195ms"})(),t})();function FA(){return!0}var PA=new E("mat-sanity-checks",{providedIn:"root",factory:FA}),mt=(()=>{let e=class{constructor(n,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,n._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(n){return _v()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[n]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Jd),p(PA,8),p(H))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[ti,ti]})})(),t})();function wb(t){return class extends t{get disabled(){return this._disabled}set disabled(e){this._disabled=jt(e)}constructor(...e){super(...e),this._disabled=!1}}}function gc(t,e){return class extends t{get color(){return this._color}set color(r){let n=r||this.defaultColor;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),n&&this._elementRef.nativeElement.classList.add(`mat-${n}`),this._color=n)}constructor(...r){super(...r),this.defaultColor=e,this.color=e}}}function Db(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=jt(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function SU(t,e=0){return class extends t{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(r){this._tabIndex=r!=null?po(r):this.defaultTabIndex}constructor(...r){super(...r),this._tabIndex=e,this.defaultTabIndex=e}}}function TU(t){return class extends t{updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,n=this.errorStateMatcher||this._defaultErrorStateMatcher,i=this.ngControl?this.ngControl.control:null,o=n.isErrorState(i,r);o!==e&&(this.errorState=o,this.stateChanges.next())}constructor(...e){super(...e),this.errorState=!1}}}var MU=(()=>{let e=class{isErrorState(n,i){return!!(n&&n.invalid&&(n.touched||i&&i.submitted))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),AU=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]})})(),t})();function xU(t,e,r="mat"){t.changes.pipe(Zt(t)).subscribe(({length:n})=>{To(e,`${r}-2-line`,!1),To(e,`${r}-3-line`,!1),To(e,`${r}-multi-line`,!1),n===2||n===3?To(e,`${r}-${n}-line`,!0):n>3&&To(e,`${r}-multi-line`,!0)})}function To(t,e,r){t.nativeElement.classList.toggle(e,r)}var RU=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[mt,mt]})})(),t})(),xf=class{constructor(e,r,n,i=!1){this._renderer=e,this.element=r,this.config=n,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}},gb=ei({passive:!0,capture:!0}),Rf=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=Cn(e);r&&this._events.get(e.type)?.forEach((n,i)=>{(i===r||i.contains(r))&&n.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,n,i){let o=this._events.get(r);if(o){let s=o.get(n);s?s.add(i):o.set(n,new Set([i]))}else this._events.set(r,new Map([[n,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,gb)})}removeHandler(e,r,n){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(n),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,gb)))}},yb={enterDuration:225,exitDuration:150},kA=800,vb=ei({passive:!0,capture:!0}),bb=["mousedown","touchstart"],_b=["mouseup","mouseleave","touchend","touchcancel"],Mo=class{constructor(e,r,n,i){this._target=e,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=pt(n))}fadeInRipple(e,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=D(D({},yb),n.animation);n.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=n.radius||LA(e,r,i),a=e-i.left,c=r-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`,n.color!=null&&(u.style.backgroundColor=n.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),f=d.transitionProperty,h=d.transitionDuration,m=f==="none"||h==="0s"||h==="0s, 0s"||i.width===0&&i.height===0,g=new xf(this,u,n,m);u.style.transform="scale3d(1, 1, 1)",g.state=0,n.persistent||(this._mostRecentTransientRipple=g);let _=null;return!m&&(l||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let b=()=>this._finishRippleTransition(g),k=()=>this._destroyRipple(g);u.addEventListener("transitionend",b),u.addEventListener("transitioncancel",k),_={onTransitionEnd:b,onTransitionCancel:k}}),this._activeRipples.set(g,_),(m||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(e){if(e.state===2||e.state===3)return;let r=e.element,n=D(D({},yb),e.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=pt(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,bb.forEach(n=>{Mo._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{_b.forEach(r=>{this._triggerElement.addEventListener(r,this,vb)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===0?this._startFadeOutTransition(e):e.state===2&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=1,!n&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=Qd(e),n=this._lastTouchStartEvent&&Date.now(){let r=e.state===1||e.config.terminateOnPointerUp&&e.state===0;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(bb.forEach(r=>Mo._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&_b.forEach(r=>e.removeEventListener(r,this,vb)))}},Nf=Mo;(()=>{Mo._eventManager=new Rf})();function LA(t,e,r){let n=Math.max(Math.abs(t-r.left),Math.abs(t-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(n*n+i*i)}var jA=new E("mat-ripple-global-options"),Ao=(()=>{let e=class{get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}constructor(n,i,o,s,a){this._elementRef=n,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new Nf(this,i,n,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:D(D(D({},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(n,i=0,o){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,i,D(D({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,D(D({},this.rippleConfig),n))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(ae),S(P),S(Ue),S(jA,8),S(Pt,8))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&Je("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})})(),t})(),Eb=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[mt,mt]})})(),t})(),NU=(()=>{let e=class{constructor(n){this._animationMode=n,this.state="unchecked",this.disabled=!1,this.appearance="full"}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(Pt,8))}})(),(()=>{e.\u0275cmp=xt({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&Je("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0})})(),t})(),OU=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[mt]})})(),t})(),FU=new E("MAT_OPTION_PARENT_COMPONENT");var PU=new E("MatOptgroup");var VA=0,Of=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},kU=(()=>{let e=class{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=jt(n)}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(n,i,o,s){this._element=n,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${VA++}`,this.onSelectionChange=new ie,this._stateChanges=new z}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(n,i){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!Ga(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new Of(this,n))}},t=e;return(()=>{e.\u0275fac=function(i){Da()}})(),(()=>{e.\u0275dir=le({type:e,viewQuery:function(i,o){if(i&1&&to(OA,7),i&2){let s;rr(s=ir())&&(o._text=s.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}})})(),t})();function LU(t,e,r){if(r.length){let n=e.toArray(),i=r.toArray(),o=0;for(let s=0;sr+n?Math.max(0,t-n+e):r}var $A=["*"],yc;function UA(){if(yc===void 0&&(yc=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(yc=t.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return yc}function xo(t){return UA()?.createHTML(t)||t}function Cb(t){return Error(`Unable to find icon with the name "${t}"`)}function HA(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function Ib(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function Sb(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var an=class{constructor(e,r,n){this.url=e,this.svgText=r,this.options=n}},zA=(()=>{let e=class{constructor(n,i,o,s){this._httpClient=n,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(n,i,o){return this.addSvgIconInNamespace("",n,i,o)}addSvgIconLiteral(n,i,o){return this.addSvgIconLiteralInNamespace("",n,i,o)}addSvgIconInNamespace(n,i,o,s){return this._addSvgIconConfig(n,i,new an(o,null,s))}addSvgIconResolver(n){return this._resolvers.push(n),this}addSvgIconLiteralInNamespace(n,i,o,s){let a=this._sanitizer.sanitize(Q.HTML,o);if(!a)throw Sb(o);let c=xo(a);return this._addSvgIconConfig(n,i,new an("",c,s))}addSvgIconSet(n,i){return this.addSvgIconSetInNamespace("",n,i)}addSvgIconSetLiteral(n,i){return this.addSvgIconSetLiteralInNamespace("",n,i)}addSvgIconSetInNamespace(n,i,o){return this._addSvgIconSetConfig(n,new an(i,null,o))}addSvgIconSetLiteralInNamespace(n,i,o){let s=this._sanitizer.sanitize(Q.HTML,i);if(!s)throw Sb(i);let a=xo(s);return this._addSvgIconSetConfig(n,new an("",a,o))}registerFontClassAlias(n,i=n){return this._fontCssClassesByAlias.set(n,i),this}classNameForFontAlias(n){return this._fontCssClassesByAlias.get(n)||n}setDefaultFontSetClass(...n){return this._defaultFontSetClass=n,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(n){let i=this._sanitizer.sanitize(Q.RESOURCE_URL,n);if(!i)throw Ib(n);let o=this._cachedIconsByUrl.get(i);return o?C(vc(o)):this._loadSvgIconFromConfig(new an(n,null)).pipe(ne(s=>this._cachedIconsByUrl.set(i,s)),O(s=>vc(s)))}getNamedSvgIcon(n,i=""){let o=Tb(i,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,n),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(i);return a?this._getSvgFromIconSetConfigs(n,a):Gt(Cb(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(n){return n.svgText?C(vc(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe(O(i=>vc(i)))}_getSvgFromIconSetConfigs(n,i){let o=this._extractIconWithNameFromAnySet(n,i);if(o)return C(o);let s=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(Ke(c=>{let u=`Loading icon set URL: ${this._sanitizer.sanitize(Q.RESOURCE_URL,a.url)} failed: ${c.message}`;return this._errorHandler.handleError(new Error(u)),C(null)})));return Jc(s).pipe(O(()=>{let a=this._extractIconWithNameFromAnySet(n,i);if(!a)throw Cb(n);return a}))}_extractIconWithNameFromAnySet(n,i){for(let o=i.length-1;o>=0;o--){let s=i[o];if(s.svgText&&s.svgText.toString().indexOf(n)>-1){let a=this._svgElementFromConfig(s),c=this._extractSvgIconFromSet(a,n,s.options);if(c)return c}}return null}_loadSvgIconFromConfig(n){return this._fetchIcon(n).pipe(ne(i=>n.svgText=i),O(()=>this._svgElementFromConfig(n)))}_loadSvgIconSetFromConfig(n){return n.svgText?C(null):this._fetchIcon(n).pipe(ne(i=>n.svgText=i))}_extractSvgIconFromSet(n,i,o){let s=n.querySelector(`[id="${i}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let c=this._svgElementFromString(xo(""));return c.appendChild(a),this._setSvgAttributes(c,o)}_svgElementFromString(n){let i=this._document.createElement("DIV");i.innerHTML=n;let o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(n){let i=this._svgElementFromString(xo("")),o=n.attributes;for(let s=0;sxo(u)),wt(()=>this._inProgressUrlFetches.delete(a)),hn());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(n,i,o){return this._svgIconConfigs.set(Tb(n,i),o),this}_addSvgIconSetConfig(n,i){let o=this._iconSetConfigs.get(n);return o?o.push(i):this._iconSetConfigs.set(n,[i]),this}_svgElementFromConfig(n){if(!n.svgElement){let i=this._svgElementFromString(n.svgText);this._setSvgAttributes(i,n.options),n.svgElement=i}return n.svgElement}_getIconConfigFromResolvers(n,i){for(let o=0;o{e.\u0275fac=function(i){return new(i||e)(p(Nd,8),p(Ud),p(H,8),p(Ve))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function vc(t){return t.cloneNode(!0)}function Tb(t,e){return t+":"+e}function WA(t){return!!(t.url&&t.options)}var qA=gc(class{constructor(t){this._elementRef=t}}),GA=new E("MAT_ICON_DEFAULT_OPTIONS"),KA=new E("mat-icon-location",{providedIn:"root",factory:ZA});function ZA(){let t=w(H),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}var Mb=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],QA=Mb.map(t=>`[${t}]`).join(", "),YA=/^url\(['"]?#(.*?)['"]?\)$/,oH=(()=>{let e=class extends qA{get inline(){return this._inline}set inline(n){this._inline=jt(n)}get svgIcon(){return this._svgIcon}set svgIcon(n){n!==this._svgIcon&&(n?this._updateSvgIcon(n):this._svgIcon&&this._clearSvgElement(),this._svgIcon=n)}get fontSet(){return this._fontSet}set fontSet(n){let i=this._cleanupFontValue(n);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(n){let i=this._cleanupFontValue(n);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(n,i,o,s,a,c){super(n),this._iconRegistry=i,this._location=s,this._errorHandler=a,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=X.EMPTY,c&&(c.color&&(this.color=this.defaultColor=c.color),c.fontSet&&(this.fontSet=c.fontSet)),o||n.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(n){if(!n)return["",""];let i=n.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${n}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let n=this._elementsWithExternalReferences;if(n&&n.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(n){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(n)}_clearSvgElement(){let n=this._elementRef.nativeElement,i=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=n.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let n=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>n.classList.remove(o)),i.forEach(o=>n.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(n){return typeof n=="string"?n.trim().split(" ")[0]:n}_prependPathToReferences(n){let i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${n}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(n){let i=n.querySelectorAll(QA),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let c=i[s],l=c.getAttribute(a),u=l?l.match(YA):null;if(u){let d=o.get(c);d||(d=[],o.set(c,d)),d.push({name:a,value:u[1]})}})}_updateSvgIcon(n){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),n){let[i,o]=this._splitIconName(n);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(ve(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${i}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(ae),S(zA),Wi("aria-hidden"),S(KA),S(Ve),S(GA,8))}})(),(()=>{e.\u0275cmp=xt({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(i,o){i&2&&(kt("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),Je("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[wn],ngContentSelectors:$A,decls:1,vars:0,template:function(i,o){i&1&&(tr(),nr(0))},styles:[".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})})(),t})(),sH=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[mt,mt]})})(),t})();var Ab=["mat-button",""],xb=["*"],XA=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}",JA="accent",ex=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],tx=gc(wb(Db(class{constructor(t){this._elementRef=t}}))),nx=(()=>{let e=class extends tx{constructor(n,i,o){super(n),this._focusMonitor=i,this._animationMode=o,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(let s of ex)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);n.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color=JA)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(n,i){n?this._focusMonitor.focusVia(this._getHostElement(),n,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...n){return n.some(i=>this._getHostElement().hasAttribute(i))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(ae),S(Xd),S(Pt,8))}})(),(()=>{e.\u0275cmp=xt({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(i,o){if(i&1&&to(Ao,5),i&2){let s;rr(s=ir())&&(o.ripple=s.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(i,o){i&2&&(kt("disabled",o.disabled||null),Je("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-button-disabled",o.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[wn],attrs:Ab,ngContentSelectors:xb,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,o){i&1&&(tr(),Jn(0,"span",0),nr(1),er(),Dn(2,"span",1)(3,"span",2)),i&2&&(Xi(2),Je("mat-button-ripple-round",o.isRoundButton||o.isIconButton),eo("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",o.isIconButton)("matRippleTrigger",o._getHostElement()))},dependencies:[Ao],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-datepicker-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})})(),t})(),dH=(()=>{let e=class extends nx{constructor(n,i,o,s){super(i,n,o),this._ngZone=s,this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(Xd),S(ae),S(Pt,8),S(P,8))}})(),(()=>{e.\u0275cmp=xt({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(i,o){i&2&&(kt("tabindex",o.disabled?-1:o.tabIndex)("disabled",o.disabled||null)("aria-disabled",o.disabled.toString()),Je("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-button-disabled",o.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[wn],attrs:Ab,ngContentSelectors:xb,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(i,o){i&1&&(tr(),Jn(0,"span",0),nr(1),er(),Dn(2,"span",1)(3,"span",2)),i&2&&(Xi(2),Je("mat-button-ripple-round",o.isRoundButton||o.isIconButton),eo("matRippleDisabled",o._isRippleDisabled())("matRippleCentered",o.isIconButton)("matRippleTrigger",o._getHostElement()))},dependencies:[Ao],styles:[XA],encapsulation:2,changeDetection:0})})(),t})(),fH=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({imports:[Eb,mt,mt]})})(),t})();var $="primary",Po=Symbol("RouteTitle"),jf=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function fi(t){return new jf(t)}function rx(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.lengthn[o]===i)}else return t===e}function Kb(t){return t.length>0?t[t.length-1]:null}function Mn(t){return Di(t)?t:Zr(t)?ee(Promise.resolve(t)):C(t)}var ox={exact:Qb,subset:Yb},Zb={exact:sx,subset:ax,ignored:()=>!0};function Rb(t,e,r){return ox[r.paths](t.root,e.root,r.matrixParams)&&Zb[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function sx(t,e){return $t(t,e)}function Qb(t,e,r){if(!pr(t.segments,e.segments)||!wc(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Qb(t.children[n],e.children[n],r))return!1;return!0}function ax(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Gb(t[r],e[r]))}function Yb(t,e,r){return Xb(t,e,e.segments,r)}function Xb(t,e,r,n){if(t.segments.length>r.length){let i=t.segments.slice(0,r.length);return!(!pr(i,r)||e.hasChildren()||!wc(i,r,n))}else if(t.segments.length===r.length){if(!pr(t.segments,r)||!wc(t.segments,r,n))return!1;for(let i in e.children)if(!t.children[i]||!Yb(t.children[i],e.children[i],n))return!1;return!0}else{let i=r.slice(0,t.segments.length),o=r.slice(t.segments.length);return!pr(t.segments,i)||!wc(t.segments,i,n)||!t.children[$]?!1:Xb(t.children[$],e,o,n)}}function wc(t,e,r){return e.every((n,i)=>Zb[r](t[i].parameters,n.parameters))}var An=class{constructor(e=new Z([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fi(this.queryParams)),this._queryParamMap}toString(){return ux.serialize(this)}},Z=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dc(this)}},hr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap||(this._parameterMap=fi(this.parameters)),this._parameterMap}toString(){return e_(this)}};function cx(t,e){return pr(t,e)&&t.every((r,n)=>$t(r.parameters,e[n].parameters))}function pr(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function lx(t,e){let r=[];return Object.entries(t.children).forEach(([n,i])=>{n===$&&(r=r.concat(e(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==$&&(r=r.concat(e(i,n)))}),r}var Pc=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>new ko)()},providedIn:"root"})})(),t})(),ko=class{parse(e){let r=new Bf(e);return new An(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Ro(e.root,!0)}`,n=hx(e.queryParams),i=typeof e.fragment=="string"?`#${dx(e.fragment)}`:"";return`${r}${n}${i}`}},ux=new ko;function Dc(t){return t.segments.map(e=>e_(e)).join("/")}function Ro(t,e){if(!t.hasChildren())return Dc(t);if(e){let r=t.children[$]?Ro(t.children[$],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==$&&n.push(`${i}:${Ro(o,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=lx(t,(n,i)=>i===$?[Ro(t.children[$],!1)]:[`${i}:${Ro(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[$]!=null?`${Dc(t)}/${r[0]}`:`${Dc(t)}/(${r.join("//")})`}}function Jb(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function bc(t){return Jb(t).replace(/%3B/gi,";")}function dx(t){return encodeURI(t)}function Vf(t){return Jb(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ec(t){return decodeURIComponent(t)}function Nb(t){return Ec(t.replace(/\+/g,"%20"))}function e_(t){return`${Vf(t.path)}${fx(t.parameters)}`}function fx(t){return Object.keys(t).map(e=>`;${Vf(e)}=${Vf(t[e])}`).join("")}function hx(t){let e=Object.keys(t).map(r=>{let n=t[r];return Array.isArray(n)?n.map(i=>`${bc(r)}=${bc(i)}`).join("&"):`${bc(r)}=${bc(n)}`}).filter(r=>!!r);return e.length?`?${e.join("&")}`:""}var px=/^[^\/()?;#]+/;function Ff(t){let e=t.match(px);return e?e[0]:""}var mx=/^[^\/()?;=#]+/;function gx(t){let e=t.match(mx);return e?e[0]:""}var yx=/^[^=?&#]+/;function vx(t){let e=t.match(yx);return e?e[0]:""}var bx=/^[^&#]+/;function _x(t){let e=t.match(bx);return e?e[0]:""}var Bf=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Z([],{}):new Z([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[$]=new Z(e,r)),n}parseSegment(){let e=Ff(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(e),new hr(Ec(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=gx(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let i=Ff(this.remaining);i&&(n=i,this.capture(n))}e[Ec(r)]=Ec(n)}parseQueryParam(e){let r=vx(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=_x(this.remaining);s&&(n=s,this.capture(n))}let i=Nb(r),o=Nb(n);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Ff(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=$);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[$]:new Z([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new y(4011,!1)}};function t_(t){return t.segments.length>0?new Z([],{[$]:t}):t}function n_(t){let e={};for(let n of Object.keys(t.children)){let i=t.children[n],o=n_(i);if(n===$&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let r=new Z(t.segments,e);return wx(r)}function wx(t){if(t.numberOfChildren===1&&t.children[$]){let e=t.children[$];return new Z(t.segments.concat(e.segments),e.children)}return t}function hi(t){return t instanceof An}function Dx(t,e,r=null,n=null){let i=r_(t);return i_(i,e,r,n)}function r_(t){let e;function r(o){let s={};for(let c of o.children){let l=r(c);s[c.outlet]=l}let a=new Z(o.url,s);return o===t&&(e=a),a}let n=r(t.root),i=t_(n);return e??i}function i_(t,e,r,n){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return Pf(i,i,i,r,n);let o=Ex(e);if(o.toRoot())return Pf(i,i,new Z([],{}),r,n);let s=Cx(o,i,t),a=s.processChildren?Oo(s.segmentGroup,s.index,o.commands):s_(s.segmentGroup,s.index,o.commands);return Pf(i,s.segmentGroup,a,r,n)}function Cc(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Lo(t){return typeof t=="object"&&t!=null&&t.outlets}function Pf(t,e,r,n,i){let o={};n&&Object.entries(n).forEach(([c,l])=>{o[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;t===e?s=r:s=o_(t,e,r);let a=t_(n_(s));return new An(a,o,i)}function o_(t,e,r){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===e?n[i]=r:n[i]=o_(o,e,r)}),new Z(t.segments,n)}var Ic=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Cc(n[0]))throw new y(4003,!1);let i=n.find(Lo);if(i&&i!==Kb(n))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Ex(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ic(!0,0,t);let e=0,r=!1,n=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===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Ic(r,e,n)}var ci=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function Cx(t,e,r){if(t.isAbsolute)return new ci(e,!0,0);if(!r)return new ci(e,!1,NaN);if(r.parent===null)return new ci(r,!0,0);let n=Cc(t.commands[0])?0:1,i=r.segments.length-1+n;return Ix(r,i,t.numberOfDoubleDots)}function Ix(t,e,r){let n=t,i=e,o=r;for(;o>i;){if(o-=i,n=n.parent,!n)throw new y(4005,!1);i=n.segments.length}return new ci(n,!1,i-o)}function Sx(t){return Lo(t[0])?t[0].outlets:{[$]:t}}function s_(t,e,r){if(t||(t=new Z([],{})),t.segments.length===0&&t.hasChildren())return Oo(t,e,r);let n=Tx(t,e,r),i=r.slice(n.commandIndex);if(n.match&&n.pathIndex{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=s_(t.children[o],e,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new Z(t.segments,i)}}function Tx(t,e,r){let n=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=t.segments[i],a=r[n];if(Lo(a))break;let c=`${a}`,l=n0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Fb(c,l,s))return o;n+=2}else{if(!Fb(c,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function $f(t,e,r){let n=t.segments.slice(0,e),i=0;for(;i{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=$f(new Z([],{}),0,n))}),e}function Ob(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Fb(t,e,r){return t==r.path&&$t(e,r.parameters)}var jo="imperative",nt=class{constructor(e,r){this.id=e,this.url=r}},Vo=class extends nt{constructor(e,r,n="imperative",i=null){super(e,r),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},cn=class extends nt{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},pi=class extends nt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},mr=class extends nt{constructor(e,r,n,i){super(e,r),this.reason=n,this.code=i,this.type=16}},Sc=class extends nt{constructor(e,r,n,i){super(e,r),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Uf=class extends nt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hf=class extends nt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},zf=class extends nt{constructor(e,r,n,i,o){super(e,r),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Wf=class extends nt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qf=class extends nt{constructor(e,r,n,i){super(e,r),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Gf=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Kf=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Zf=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qf=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Yf=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xf=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tc=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=15}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}};var Jf=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new $o,this.attachRef=null}},$o=(()=>{let e=class{constructor(){this.contexts=new Map}onChildOutletCreated(n,i){let o=this.getOrCreateContext(n);o.outlet=i,this.contexts.set(n,o)}onChildOutletDestroyed(n){let i=this.getContext(n);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let i=this.getContext(n);return i||(i=new Jf,this.contexts.set(n,i)),i}getContext(n){return this.contexts.get(n)||null}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),Mc=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=eh(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=eh(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=th(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return th(e,this._root).map(r=>r.value)}};function eh(t,e){if(t===e.value)return e;for(let r of e.children){let n=eh(t,r);if(n)return n}return null}function th(t,e){if(t===e.value)return[e];for(let r of e.children){let n=th(t,r);if(n.length)return n.unshift(e),n}return[]}var gt=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function ai(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Ac=class extends Mc{constructor(e,r){super(e),this.snapshot=r,lh(this,e)}toString(){return this.snapshot.toString()}};function a_(t,e){let r=Ax(t,e),n=new ge([new hr("",{})]),i=new ge({}),o=new ge({}),s=new ge({}),a=new ge(""),c=new gr(n,i,s,a,o,$,e,r.root);return c.snapshot=r.root,new Ac(new gt(c,[]),r)}function Ax(t,e){let r={},n={},i={},o="",s=new li([],r,i,o,n,$,e,null,{});return new xc("",new gt(s,[]))}var gr=class{constructor(e,r,n,i,o,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(O(l=>l[Po]))??C(void 0),this.url=e,this.params=r,this.queryParams=n,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._paramMap=this.params.pipe(O(e=>fi(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(O(e=>fi(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function c_(t,e="emptyOnly"){let r=t.pathFromRoot,n=0;if(e!=="always")for(n=r.length-1;n>=1;){let i=r[n],o=r[n-1];if(i.routeConfig&&i.routeConfig.path==="")n--;else if(!o.component)n--;else break}return xx(r.slice(n))}function xx(t){return t.reduce((e,r)=>{let n=D(D({},e.params),r.params),i=D(D({},e.data),r.data),o=D(D(D(D({},r.data),e.resolve),r.routeConfig?.data),r._resolvedData);return{params:n,data:i,resolve:o}},{params:{},data:{},resolve:{}})}var li=class{get title(){return this.data?.[Po]}constructor(e,r,n,i,o,s,a,c,l){this.url=e,this.params=r,this.queryParams=n,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||(this._paramMap=fi(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=fi(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},xc=class extends Mc{constructor(e,r){super(r),this.url=e,lh(this,r)}toString(){return l_(this._root)}};function lh(t,e){e.value._routerState=t,e.children.forEach(r=>lh(t,r))}function l_(t){let e=t.children.length>0?` { ${t.children.map(l_).join(", ")} } `:"";return`${t.value}${e}`}function kf(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,$t(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),$t(e.params,r.params)||t.paramsSubject.next(r.params),ix(e.url,r.url)||t.urlSubject.next(r.url),$t(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function nh(t,e){let r=$t(t.params,e.params)&&cx(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||nh(t.parent,e.parent))}var Rx=(()=>{let e=class{constructor(){this.activated=null,this._activatedRoute=null,this.name=$,this.activateEvents=new ie,this.deactivateEvents=new ie,this.attachEvents=new ie,this.detachEvents=new ie,this.parentContexts=w($o),this.location=w($e),this.changeDetector=w(En),this.environmentInjector=w(Ae),this.inputBinder=w(kc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:i,previousValue:o}=n.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,i){this.activated=n,this._activatedRoute=i,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,i){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=n;let o=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,l=new rh(n,c,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:l,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Nt]})})(),t})(),rh=class{constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===gr?this.route:e===$o?this.childContexts:this.parent.get(e,r)}},kc=new E(""),Pb=(()=>{let e=class{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:i}=n,o=kn([i.queryParams,i.params,i.data]).pipe(De(([s,a,c],l)=>(c=D(D(D({},s),a),c),l===0?C(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(n);return}let a=jy(i.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,o)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function Nx(t,e,r){let n=Bo(t,e._root,r?r._root:void 0);return new Ac(n,e)}function Bo(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let i=Ox(t,e,r);return new gt(n,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Bo(t,a)),s}}let n=Fx(e.value),i=e.children.map(o=>Bo(t,o));return new gt(n,i)}}function Ox(t,e,r){return e.children.map(n=>{for(let i of r.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Bo(t,n,i);return Bo(t,n)})}function Fx(t){return new gr(new ge(t.url),new ge(t.params),new ge(t.queryParams),new ge(t.fragment),new ge(t.data),t.outlet,t.component,t)}var u_="ngNavigationCancelingError";function d_(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=hi(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=f_(!1,0,e);return i.url=r,i.navigationBehaviorOptions=n,i}function f_(t,e,r){let n=new Error("NavigationCancelingError: "+(t||""));return n[u_]=!0,n.cancellationCode=e,r&&(n.url=r),n}function kb(t){return h_(t)&&hi(t.url)}function h_(t){return t&&t[u_]}var Px=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=xt({type:e,selectors:[["ng-component"]],standalone:!0,features:[ud],decls:1,vars:0,template:function(i,o){i&1&&Dn(0,"router-outlet")},dependencies:[Rx],encapsulation:2})})(),t})();function kx(t,e){return t.providers&&!t._injector&&(t._injector=Sa(t.providers,e,`Route: ${t.path}`)),t._injector??e}function uh(t){let e=t.children&&t.children.map(uh),r=e?me(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==$&&(r.component=Px),r}function yt(t){return t.outlet||$}function Lx(t,e){let r=t.filter(n=>yt(n)===e);return r.push(...t.filter(n=>yt(n)!==e)),r}function Uo(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var jx=(t,e,r,n)=>O(i=>(new ih(e,i.targetRouterState,i.currentRouterState,r,n).activate(t),i)),ih=class{constructor(e,r,n,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),kf(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let i=ai(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else o&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=ai(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),i=n&&e.value.component?n.children:r,o=ai(e);for(let s of Object.keys(o))this.deactivateRouteAndItsChildren(o[s],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let i=ai(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Xf(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Qf(e.value.snapshot))}activateRoutes(e,r,n){let i=e.value,o=r?r.value:null;if(kf(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(i.component){let s=n.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),kf(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Uo(i.snapshot);s.attachRef=null,s.route=i,s.injector=a,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,n)}},Rc=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},ui=class{constructor(e,r){this.component=e,this.route=r}};function Vx(t,e,r){let n=t._root,i=e?e._root:null;return No(n,i,r,[n.value])}function Bx(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function gi(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!qp(t)?t:e.get(t):n}function No(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ai(e);return t.children.forEach(s=>{$x(s,o[s.value.outlet],r,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Fo(a,r.getContext(s),i)),i}function $x(t,e,r,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let c=Ux(s,o,o.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Rc(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?No(t,e,a?a.children:null,n,i):No(t,e,r,n,i),c&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ui(a.outlet.component,s))}else s&&Fo(e,a,i),i.canActivateChecks.push(new Rc(n)),o.component?No(t,null,a?a.children:null,n,i):No(t,null,r,n,i);return i}function Ux(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!pr(t.url,e.url);case"pathParamsOrQueryParamsChange":return!pr(t.url,e.url)||!$t(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!nh(t,e)||!$t(t.queryParams,e.queryParams);case"paramsChange":default:return!nh(t,e)}}function Fo(t,e,r){let n=ai(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?e?Fo(s,e.children.getContext(o),r):Fo(s,null,r):Fo(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new ui(e.outlet.component,i)):r.canDeactivateChecks.push(new ui(null,i)):r.canDeactivateChecks.push(new ui(null,i))}function Ho(t){return typeof t=="function"}function Hx(t){return typeof t=="boolean"}function zx(t){return t&&Ho(t.canLoad)}function Wx(t){return t&&Ho(t.canActivate)}function qx(t){return t&&Ho(t.canActivateChild)}function Gx(t){return t&&Ho(t.canDeactivate)}function Kx(t){return t&&Ho(t.canMatch)}function p_(t){return t instanceof at||t?.name==="EmptyError"}var _c=Symbol("INITIAL_VALUE");function mi(){return De(t=>kn(t.map(e=>e.pipe(ve(1),Zt(_c)))).pipe(O(e=>{for(let r of e)if(r!==!0){if(r===_c)return _c;if(r===!1||r instanceof An)return r}return!0}),fe(e=>e!==_c),ve(1)))}function Zx(t,e){return te(r=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?C(me(D({},r),{guardsResult:!0})):Qx(s,n,i,t).pipe(te(a=>a&&Hx(a)?Yx(n,o,t,e):C(a)),O(a=>me(D({},r),{guardsResult:a})))})}function Qx(t,e,r,n){return ee(t).pipe(te(i=>nR(i.component,i.route,r,e,n)),Ze(i=>i!==!0,!0))}function Yx(t,e,r,n){return ee(e).pipe(Kt(i=>Ge(Jx(i.route.parent,n),Xx(i.route,n),tR(t,i.path,r),eR(t,i.route,r))),Ze(i=>i!==!0,!0))}function Xx(t,e){return t!==null&&e&&e(new Yf(t)),C(!0)}function Jx(t,e){return t!==null&&e&&e(new Zf(t)),C(!0)}function eR(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return C(!0);let i=n.map(o=>ps(()=>{let s=Uo(e)??r,a=gi(o,s),c=Wx(a)?a.canActivate(e,t):s.runInContext(()=>a(e,t));return Mn(c).pipe(Ze())}));return C(i).pipe(mi())}function tR(t,e,r){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>Bx(s)).filter(s=>s!==null).map(s=>ps(()=>{let a=s.guards.map(c=>{let l=Uo(s.node)??r,u=gi(c,l),d=qx(u)?u.canActivateChild(n,t):l.runInContext(()=>u(n,t));return Mn(d).pipe(Ze())});return C(a).pipe(mi())}));return C(o).pipe(mi())}function nR(t,e,r,n,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return C(!0);let s=o.map(a=>{let c=Uo(e)??i,l=gi(a,c),u=Gx(l)?l.canDeactivate(t,e,r,n):c.runInContext(()=>l(t,e,r,n));return Mn(u).pipe(Ze())});return C(s).pipe(mi())}function rR(t,e,r,n){let i=e.canLoad;if(i===void 0||i.length===0)return C(!0);let o=i.map(s=>{let a=gi(s,t),c=zx(a)?a.canLoad(e,r):t.runInContext(()=>a(e,r));return Mn(c)});return C(o).pipe(mi(),m_(n))}function m_(t){return Wc(ne(e=>{if(hi(e))throw d_(t,e)}),O(e=>e===!0))}function iR(t,e,r,n){let i=e.canMatch;if(!i||i.length===0)return C(!0);let o=i.map(s=>{let a=gi(s,t),c=Kx(a)?a.canMatch(e,r):t.runInContext(()=>a(e,r));return Mn(c)});return C(o).pipe(mi(),m_(n))}var di=class{constructor(e){this.segmentGroup=e||null}},Nc=class{constructor(e){this.urlTree=e}};function si(t){return Gt(new di(t))}function Lb(t){return Gt(new Nc(t))}function oR(t){return Gt(new y(4e3,!1))}function sR(t){return Gt(f_(!1,3))}var oh=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}noMatchError(e){return new y(4002,!1)}lineralizeSegments(e,r){let n=[],i=r.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return C(n);if(i.numberOfChildren>1||!i.children[$])return oR(e.redirectTo);i=i.children[$]}}applyRedirectCommands(e,r,n){return this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n)}applyRedirectCreateUrlTree(e,r,n,i){let o=this.createSegmentGroup(e,r.root,n,i);return new An(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);n[i]=r[a]}else n[i]=o}),n}createSegmentGroup(e,r,n,i){let o=this.createSegments(e,r.segments,n,i),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,i)}),new Z(o,s)}createSegments(e,r,n,i){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,n))}findPosParam(e,r,n){let i=n[r.path.substring(1)];if(!i)throw new y(4001,!1);return i}findOrReturn(e,r){let n=0;for(let i of r){if(i.path===e.path)return r.splice(n),i;n++}return e}},sh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function aR(t,e,r,n,i){let o=dh(t,e,r);return o.matched?(n=kx(e,n),iR(n,e,r,i).pipe(O(s=>s===!0?o:D({},sh)))):C(o)}function dh(t,e,r){if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},sh):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||rx)(r,t,e);if(!i)return D({},sh);let o={};Object.entries(i.posParams??{}).forEach(([a,c])=>{o[a]=c.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function jb(t,e,r,n){return r.length>0&&uR(t,r,n)?{segmentGroup:new Z(e,lR(n,new Z(r,t.children))),slicedSegments:[]}:r.length===0&&dR(t,r,n)?{segmentGroup:new Z(t.segments,cR(t,e,r,n,t.children)),slicedSegments:r}:{segmentGroup:new Z(t.segments,t.children),slicedSegments:r}}function cR(t,e,r,n,i){let o={};for(let s of n)if(Lc(t,r,s)&&!i[yt(s)]){let a=new Z([],{});o[yt(s)]=a}return D(D({},i),o)}function lR(t,e){let r={};r[$]=e;for(let n of t)if(n.path===""&&yt(n)!==$){let i=new Z([],{});r[yt(n)]=i}return r}function uR(t,e,r){return r.some(n=>Lc(t,e,n)&&yt(n)!==$)}function dR(t,e,r){return r.some(n=>Lc(t,e,n))}function Lc(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function fR(t,e,r,n){return yt(t)!==n&&(n===$||!Lc(e,r,t))?!1:t.path==="**"?!0:dh(e,t,r).matched}function hR(t,e,r){return e.length===0&&!t.children[r]}function pR(t,e,r,n,i,o,s="emptyOnly"){return new ah(t,e,r,n,i,s,o).recognize()}var ah=class{constructor(e,r,n,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new oh(this.urlSerializer,this.urlTree)}noMatchError(e){return new y(4002,!1)}recognize(){let e=jb(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,e,$).pipe(Ke(r=>{if(r instanceof Nc)return this.allowRedirects=!1,this.urlTree=r.urlTree,this.match(r.urlTree);throw r instanceof di?this.noMatchError(r):r}),O(r=>{let n=new li([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},$,this.rootComponentType,null,{}),i=new gt(n,r),o=new xc("",i),s=Dx(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e.root,$).pipe(Ke(n=>{throw n instanceof di?this.noMatchError(n):n}))}inheritParamsAndData(e){let r=e.value,n=c_(r,this.paramsInheritanceStrategy);r.params=Object.freeze(n.params),r.data=Object.freeze(n.data),e.children.forEach(i=>this.inheritParamsAndData(i))}processSegmentGroup(e,r,n,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n):this.processSegment(e,r,n,n.segments,i,!0)}processChildren(e,r,n){let i=[];for(let o of Object.keys(n.children))o==="primary"?i.unshift(o):i.push(o);return ee(i).pipe(Kt(o=>{let s=n.children[o],a=Lx(r,o);return this.processSegmentGroup(e,a,s,o)}),ol((o,s)=>(o.push(...s),o)),fn(null),il(),te(o=>{if(o===null)return si(n);let s=g_(o);return mR(s),C(s)}))}processSegment(e,r,n,i,o,s){return ee(r).pipe(Kt(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,n,i,o,s).pipe(Ke(c=>{if(c instanceof di)return C(null);throw c}))),Ze(a=>!!a),Ke(a=>{if(p_(a))return hR(n,i,o)?C([]):si(n);throw a}))}processSegmentAgainstRoute(e,r,n,i,o,s,a){return fR(n,i,o,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,n,o,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,n,o,s):si(i):si(i)}expandSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){return i.path==="**"?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,r,n,i){let o=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Lb(o):this.applyRedirects.lineralizeSegments(n,o).pipe(te(s=>{let a=new Z(s,{});return this.processSegment(e,r,a,s,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,r,n,i,o,s){let{matched:a,consumedSegments:c,remainingSegments:l,positionalParamSegments:u}=dh(r,i,o);if(!a)return si(r);let d=this.applyRedirects.applyRedirectCommands(c,i.redirectTo,u);return i.redirectTo.startsWith("/")?Lb(d):this.applyRedirects.lineralizeSegments(i,d).pipe(te(f=>this.processSegment(e,n,r,f.concat(l),s,!1)))}matchSegmentAgainstRoute(e,r,n,i,o,s){let a;if(n.path==="**"){let c=i.length>0?Kb(i).parameters:{},l=new li(i,c,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Vb(n),yt(n),n.component??n._loadedComponent??null,n,Bb(n));a=C({snapshot:l,consumedSegments:[],remainingSegments:[]}),r.children={}}else a=aR(r,n,i,e,this.urlSerializer).pipe(O(({matched:c,consumedSegments:l,remainingSegments:u,parameters:d})=>c?{snapshot:new li(l,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Vb(n),yt(n),n.component??n._loadedComponent??null,n,Bb(n)),consumedSegments:l,remainingSegments:u}:null));return a.pipe(De(c=>c===null?si(r):(e=n._injector??e,this.getChildConfig(e,n,i).pipe(De(({routes:l})=>{let u=n._loadedInjector??e,{snapshot:d,consumedSegments:f,remainingSegments:h}=c,{segmentGroup:m,slicedSegments:g}=jb(r,f,h,l);if(g.length===0&&m.hasChildren())return this.processChildren(u,l,m).pipe(O(b=>b===null?null:[new gt(d,b)]));if(l.length===0&&g.length===0)return C([new gt(d,[])]);let _=yt(n)===o;return this.processSegment(u,l,m,g,_?$:o,!0).pipe(O(b=>[new gt(d,b)]))})))))}getChildConfig(e,r,n){return r.children?C({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?C({routes:r._loadedRoutes,injector:r._loadedInjector}):rR(e,r,n,this.urlSerializer).pipe(te(i=>i?this.configLoader.loadChildren(e,r).pipe(ne(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):sR(r))):C({routes:[],injector:e})}};function mR(t){t.sort((e,r)=>e.value.outlet===$?-1:r.value.outlet===$?1:e.value.outlet.localeCompare(r.value.outlet))}function gR(t){let e=t.value.routeConfig;return e&&e.path===""}function g_(t){let e=[],r=new Set;for(let n of t){if(!gR(n)){e.push(n);continue}let i=e.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),r.add(i)):e.push(n)}for(let n of r){let i=g_(n.children);e.push(new gt(n.value,i))}return e.filter(n=>!r.has(n))}function Vb(t){return t.data||{}}function Bb(t){return t.resolve||{}}function yR(t,e,r,n,i,o){return te(s=>pR(t,e,r,n,s.extractedUrl,i,o).pipe(O(({state:a,tree:c})=>me(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function vR(t,e){return te(r=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=r;if(!i.length)return C(r);let o=0;return ee(i).pipe(Kt(s=>bR(s.route,n,t,e)),ne(()=>o++),Tr(1),te(s=>o===i.length?C(r):Re))})}function bR(t,e,r,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!$b(i)&&(o[Po]=i.title),_R(o,t,e,n).pipe(O(s=>(t._resolvedData=s,t.data=c_(t,r).resolve,i&&$b(i)&&(t.data[Po]=i.title),null)))}function _R(t,e,r,n){let i=wR(t);if(i.length===0)return C({});let o={};return ee(i).pipe(te(s=>DR(t[s],e,r,n).pipe(Ze(),ne(a=>{o[s]=a}))),Tr(1),Ii(o),Ke(s=>p_(s)?Re:Gt(s)))}function wR(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function DR(t,e,r,n){let i=Uo(e)??n,o=gi(t,i),s=o.resolve?o.resolve(e,r):i.runInContext(()=>o(e,r));return Mn(s)}function $b(t){return typeof t.title=="string"||t.title===null}function Lf(t){return De(e=>{let r=t(e);return r?ee(r).pipe(O(()=>e)):C(e)})}var Oc=new E("ROUTES"),fh=(()=>{let e=class{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=w(xa)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return C(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let i=Mn(n.loadComponent()).pipe(O(Ub),ne(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),wt(()=>{this.componentLoaders.delete(n)})),o=new qt(i,()=>new z).pipe(wr());return this.componentLoaders.set(n,o),o}loadChildren(n,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return C({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(O(c=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,u,d=!1;return Array.isArray(c)?(u=c,d=!0):(l=c.create(n).injector,u=l.get(Oc,[],N.Self|N.Optional).flat()),{routes:u.map(uh),injector:l}}),wt(()=>{this.childrenLoaders.delete(i)})),a=new qt(s,()=>new z).pipe(wr());return this.childrenLoaders.set(i,a),a}loadModuleFactoryOrRoutes(n){return Mn(n()).pipe(O(Ub),te(i=>i instanceof Fi||Array.isArray(i)?C(i):ee(this.compiler.compileModuleAsync(i))))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function ER(t){return t&&typeof t=="object"&&"default"in t}function Ub(t){return ER(t)?t.default:t}var hh=(()=>{let e=class{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new z,this.configLoader=w(fh),this.environmentInjector=w(Ae),this.urlSerializer=w(Pc),this.rootContexts=w($o),this.inputBindingEnabled=w(kc,{optional:!0})!==null,this.navigationId=0,this.afterPreactivation=()=>C(void 0),this.rootComponentType=null;let n=o=>this.events.next(new Gf(o)),i=o=>this.events.next(new Kf(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let i=++this.navigationId;this.transitions?.next(me(D(D({},this.transitions.value),n),{id:i}))}setupNavigations(n){return this.transitions=new ge({id:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:jo,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(fe(i=>i.id!==0),O(i=>me(D({},i),{extractedUrl:n.urlHandlingStrategy.extract(i.rawUrl)})),De(i=>{let o=!1,s=!1;return C(i).pipe(ne(a=>{this.currentNavigation={id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?me(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),De(a=>{let c=n.browserUrlTree.toString(),l=!n.navigated||a.extractedUrl.toString()!==c||c!==n.currentUrlTree.toString(),u=a.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&u!=="reload"){let d="";return this.events.next(new mr(a.id,n.serializeUrl(i.rawUrl),d,0)),n.rawUrlTree=a.rawUrl,a.resolve(null),Re}if(n.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return Hb(a.source)&&(n.browserUrlTree=a.extractedUrl),C(a).pipe(De(d=>{let f=this.transitions?.getValue();return this.events.next(new Vo(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),f!==this.transitions?.getValue()?Re:Promise.resolve(d)}),yR(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),ne(d=>{if(i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=me(D({},this.currentNavigation),{finalUrl:d.urlAfterRedirects}),n.urlUpdateStrategy==="eager"){if(!d.extras.skipLocationChange){let h=n.urlHandlingStrategy.merge(d.urlAfterRedirects,d.rawUrl);n.setBrowserUrl(h,d)}n.browserUrlTree=d.urlAfterRedirects}let f=new Uf(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(f)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){let{id:d,extractedUrl:f,source:h,restoredState:m,extras:g}=a,_=new Vo(d,this.urlSerializer.serialize(f),h,m);this.events.next(_);let b=a_(f,this.rootComponentType).snapshot;return i=me(D({},a),{targetSnapshot:b,urlAfterRedirects:f,extras:me(D({},g),{skipLocationChange:!1,replaceUrl:!1})}),C(i)}else{let d="";return this.events.next(new mr(a.id,n.serializeUrl(i.extractedUrl),d,1)),n.rawUrlTree=a.rawUrl,a.resolve(null),Re}}),ne(a=>{let c=new Hf(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(c)}),O(a=>(i=me(D({},a),{guards:Vx(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),i)),Zx(this.environmentInjector,a=>this.events.next(a)),ne(a=>{if(i.guardsResult=a.guardsResult,hi(a.guardsResult))throw d_(this.urlSerializer,a.guardsResult);let c=new zf(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.events.next(c)}),fe(a=>a.guardsResult?!0:(n.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),Lf(a=>{if(a.guards.canActivateChecks.length)return C(a).pipe(ne(c=>{let l=new Wf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),De(c=>{let l=!1;return C(c).pipe(vR(n.paramsInheritanceStrategy,this.environmentInjector),ne({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(c),this.cancelNavigationTransition(c,"",2))}}))}),ne(c=>{let l=new qf(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}))}),Lf(a=>{let c=l=>{let u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(l.routeConfig).pipe(ne(d=>{l.component=d}),O(()=>{})));for(let d of l.children)u.push(...c(d));return u};return kn(c(a.targetSnapshot.root)).pipe(fn(),ve(1))}),Lf(()=>this.afterPreactivation()),O(a=>{let c=Nx(n.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return i=me(D({},a),{targetRouterState:c}),i}),ne(a=>{n.currentUrlTree=a.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),n.routerState=a.targetRouterState,n.urlUpdateStrategy==="deferred"&&(a.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,a),n.browserUrlTree=a.urlAfterRedirects)}),jx(this.rootContexts,n.routeReuseStrategy,a=>this.events.next(a),this.inputBindingEnabled),ve(1),ne({next:a=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new cn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0)},complete:()=>{o=!0}}),wt(()=>{if(!o&&!s){let a="";this.cancelNavigationTransition(i,a,1)}this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),Ke(a=>{if(s=!0,h_(a)){kb(a)||(n.navigated=!0,n.restoreHistory(i,!0));let c=new pi(i.id,this.urlSerializer.serialize(i.extractedUrl),a.message,a.cancellationCode);if(this.events.next(c),!kb(a))i.resolve(!1);else{let l=n.urlHandlingStrategy.merge(a.url,n.rawUrlTree),u={skipLocationChange:i.extras.skipLocationChange,replaceUrl:n.urlUpdateStrategy==="eager"||Hb(i.source)};n.scheduleNavigation(l,jo,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}else{n.restoreHistory(i,!0);let c=new Sc(i.id,this.urlSerializer.serialize(i.extractedUrl),a,i.targetSnapshot??void 0);this.events.next(c);try{i.resolve(n.errorHandler(a))}catch(l){i.reject(l)}}return Re}))}))}cancelNavigationTransition(n,i,o){let s=new pi(n.id,this.urlSerializer.serialize(n.extractedUrl),i,o);this.events.next(s),n.resolve(!1)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function Hb(t){return t!==jo}var y_=(()=>{let e=class{buildTitle(n){let i,o=n.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(s=>s.outlet===$);return i}getResolvedTitleForRoute(n){return n.data[Po]}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(CR))()},providedIn:"root"})})(),t})(),CR=(()=>{let e=class extends y_{constructor(n){super(),this.title=n}updateTitle(n){let i=this.buildTitle(n);i!==void 0&&this.title.setTitle(i)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p($d))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),IR=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(SR))()},providedIn:"root"})})(),t})(),ch=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},SR=(()=>{let e=class extends ch{},t=e;return(()=>{e.\u0275fac=function(){let n;return function(o){return(n||(n=Bu(e)))(o||e)}}()})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),ph=new E("",{providedIn:"root",factory:()=>({})}),TR=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:function(){return(()=>w(MR))()},providedIn:"root"})})(),t})(),MR=(()=>{let e=class{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,i){return n}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),We=(()=>(We=We||{},We[We.COMPLETE=0]="COMPLETE",We[We.FAILED=1]="FAILED",We[We.REDIRECTING=2]="REDIRECTING",We))();function v_(t,e){t.events.pipe(fe(r=>r instanceof cn||r instanceof pi||r instanceof Sc||r instanceof mr),O(r=>r instanceof cn||r instanceof mr?We.COMPLETE:(r instanceof pi?r.code===0||r.code===1:!1)?We.REDIRECTING:We.FAILED),fe(r=>r!==We.REDIRECTING),ve(1)).subscribe(()=>{e()})}function AR(t){throw t}function xR(t,e,r){return e.parse("/")}var RR={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},NR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ut=(()=>{let e=class{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if(this.canceledNavigationResolution==="computed")return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=w(Qr),this.isNgZoneEnabled=!1,this.options=w(ph,{optional:!0})||{},this.pendingTasks=w(Yr),this.errorHandler=this.options.errorHandler||AR,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||xR,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=w(TR),this.routeReuseStrategy=w(IR),this.titleStrategy=w(y_),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=w(Oc,{optional:!0})?.flat()??[],this.navigationTransitions=w(hh),this.urlSerializer=w(Pc),this.location=w(ka),this.componentInputBindingEnabled=!!w(kc,{optional:!0}),this.isNgZoneEnabled=w(P)instanceof P&&P.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new An,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=a_(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId??0},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){let n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),jo,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{let i=n.type==="popstate"?"popstate":"hashchange";i==="popstate"&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,i,n.state)},0)}))}navigateToSyncWithBrowser(n,i,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let l=D({},o);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(s.state=l)}let c=this.parseUrl(n);this.scheduleNavigation(c,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(uh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:l}=i,u=l?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=r_(h)}catch{(typeof n[0]!="string"||!n[0].startsWith("/"))&&(n=[]),f=this.currentUrlTree.root}return i_(f,n,d,u??null)}navigateByUrl(n,i={skipLocationChange:!1}){let o=hi(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,jo,null,i)}navigate(n,i={skipLocationChange:!1}){return OR(n),this.navigateByUrl(this.createUrlTree(n,i),i)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){let i;try{i=this.urlSerializer.parse(n)}catch(o){i=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return i}isActive(n,i){let o;if(i===!0?o=D({},RR):i===!1?o=D({},NR):o=i,hi(n))return Rb(this.currentUrlTree,n,o);let s=this.parseUrl(n);return Rb(this.currentUrlTree,s,o)}removeEmptyProps(n){return Object.keys(n).reduce((i,o)=>{let s=n[o];return s!=null&&(i[o]=s),i},{})}scheduleNavigation(n,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let c,l,u;a?(c=a.resolve,l=a.reject,u=a.promise):u=new Promise((f,h)=>{c=f,l=h});let d=this.pendingTasks.add();return v_(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(f=>Promise.reject(f))}setBrowserUrl(n,i){let o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=D(D({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=D(D({},i.extras.state),this.generateNgRouterState(i.id,(this.browserPageId??0)+1));this.location.go(o,"",s)}}restoreHistory(n,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId??this.currentPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&s===0&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,i){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:i}:{navigationId:n}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})();function OR(t){for(let e=0;e{let e=class{constructor(n,i,o,s,a,c){this.router=n,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.commands=null,this.onChanges=new z,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let l=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof cn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n!=null?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,i,o,s,a){if(this.urlTree===null||this.isAnchorElement&&(n!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,c),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let n=this.href===null?null:yg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,n,i):o.removeAttribute(s,n)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(Ut),S(gr),Wi("tabindex"),S(Gr),S(ae),S(on))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&Ia("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&kt("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",io],skipLocationChange:["skipLocationChange","skipLocationChange",io],replaceUrl:["replaceUrl","replaceUrl",io],routerLink:"routerLink"},standalone:!0,features:[nd,Nt]})})(),t})(),RH=(()=>{let e=class{get isActive(){return this._isActive}constructor(n,i,o,s,a){this.router=n,this.element=i,this.renderer=o,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ie,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof cn&&this.update()})}ngAfterContentInit(){C(this.links.changes,C(null)).pipe(_t()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=ee(n).pipe(_t()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let i=Array.isArray(n)?n:n.split(" ");this.classes=i.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(i=>{n?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){let i=FR(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>o.urlTree?n.isActive(o.urlTree,i):!1}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(S(Ut),S(ae),S(Gr),S(En),S(zb,8))}})(),(()=>{e.\u0275dir=le({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(i,o,s){if(i&1&&Ey(s,zb,5),i&2){let a;rr(a=ir())&&(o.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Nt]})})(),t})();function FR(t){return!!t.paths}var Fc=class{};var PR=(()=>{let e=class{constructor(n,i,o,s,a){this.router=n,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(fe(n=>n instanceof cn),Kt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,i){let o=[];for(let s of i){s.providers&&!s._injector&&(s._injector=Sa(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&o.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&o.push(this.processRoutes(c,s.children??s._loadedRoutes))}return ee(o).pipe(_t())}preloadConfig(n,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(n,i):o=C(null);let s=o.pipe(te(a=>a===null?C(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return ee([s,a]).pipe(_t())}else return s})}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Ut),p(xa),p(Ae),p(Fc),p(fh))}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})})(),t})(),b_=new E(""),kR=(()=>{let e=class{constructor(n,i,o,s,a={}){this.urlSerializer=n,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.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(n=>{n instanceof Vo?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof cn?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof mr&&n.code===0&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof Tc&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Tc(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}},t=e;return(()=>{e.\u0275fac=function(i){Da()}})(),(()=>{e.\u0275prov=v({token:e,factory:e.\u0275fac})})(),t})();function LR(t){return t.routerState.root}function jc(t,e){return{\u0275kind:t,\u0275providers:e}}function jR(){let t=w(ft);return e=>{let r=t.get(nn);if(e!==r.components[0])return;let n=t.get(Ut),i=t.get(__);t.get(mh)===1&&n.initialNavigation(),t.get(w_,null,N.Optional)?.setUpPreloading(),t.get(b_,null,N.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var __=new E("",{factory:()=>new z}),mh=new E("",{providedIn:"root",factory:()=>1});function VR(){return jc(2,[{provide:mh,useValue:0},{provide:Ma,multi:!0,deps:[ft],useFactory:e=>{let r=e.get(Gy,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let i=e.get(Ut),o=e.get(__);v_(i,()=>{n(!0)}),e.get(hh).afterPreactivation=()=>(n(!0),o.closed?C(void 0):o),i.initialNavigation()}))}}])}function BR(){return jc(3,[{provide:Ma,multi:!0,useFactory:()=>{let e=w(Ut);return()=>{e.setUpLocationChangeListener()}}},{provide:mh,useValue:2}])}var w_=new E("");function $R(t){return jc(0,[{provide:w_,useExisting:PR},{provide:Fc,useExisting:t}])}function UR(){return jc(8,[Pb,{provide:kc,useExisting:Pb}])}var Wb=new E("ROUTER_FORROOT_GUARD"),HR=[ka,{provide:Pc,useClass:ko},Ut,$o,{provide:gr,useFactory:LR,deps:[Ut]},fh,[]];function zR(){return new Bi("Router",Ut)}var NH=(()=>{let e=class{constructor(n){}static forRoot(n,i){return{ngModule:e,providers:[HR,[],{provide:Oc,multi:!0,useValue:n},{provide:Wb,useFactory:KR,deps:[[Ut,new Xn,new Gi]]},{provide:ph,useValue:i||{}},i?.useHash?qR():GR(),WR(),i?.preloadingStrategy?$R(i.preloadingStrategy).\u0275providers:[],{provide:Bi,multi:!0,useFactory:zR},i?.initialNavigation?ZR(i):[],i?.bindToComponentInputs?UR().\u0275providers:[],QR()]}}static forChild(n){return{ngModule:e,providers:[{provide:Oc,multi:!0,useValue:n}]}}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)(p(Wb,8))}})(),(()=>{e.\u0275mod=K({type:e})})(),(()=>{e.\u0275inj=G({})})(),t})();function WR(){return{provide:b_,useFactory:()=>{let t=w(Xy),e=w(P),r=w(ph),n=w(hh),i=w(Pc);return r.scrollOffset&&t.setOffset(r.scrollOffset),new kR(i,n,t,e,r)}}}function qR(){return{provide:on,useClass:Zy}}function GR(){return{provide:on,useClass:Id}}function KR(t){return"guarded"}function ZR(t){return[t.initialNavigation==="disabled"?BR().\u0275providers:[],t.initialNavigation==="enabledBlocking"?VR().\u0275providers:[]]}var qb=new E("");function QR(){return[{provide:qb,useFactory:jR},{provide:Oa,multi:!0,useExisting:qb}]}export{X as a,R as b,M_ as c,z as d,ge as e,bi as f,xh as g,Re as h,ee as i,C as j,Gt as k,B_ as l,O as m,kn as n,Ge as o,ps as p,Jc as q,Ei as r,Ci as s,el as t,tw as u,fe as v,nw as w,Ke as x,dn as y,ve as z,tl as A,iw as B,Ln as C,aw as D,cw as E,Ze as F,Jh as G,lw as H,ep as I,Mr as J,Zt as K,De as L,jn as M,uw as N,ne as O,Up as P,y as Q,v as R,G as S,p as T,w as U,xt as V,K as W,le as X,rm as Y,WV as Z,qV as _,xu as $,Nt as aa,GV as ba,KV as ca,ZV as da,QV as ea,Bu as fa,Wi as ga,qE as ha,E as ia,va as ja,Ft as ka,Pt as la,Yi as ma,_a as na,ae as oa,Gr as pa,Xi as qa,b0 as ra,ft as sa,S as ta,Da as ua,Wg as va,Q0 as wa,wn as xa,YV as ya,kt as za,yC as Aa,JV as Ba,eo as Ca,Jn as Da,er as Ea,Dn as Fa,ty as Ga,ny as Ha,CC as Ia,eB as Ja,Zr as Ka,Ia as La,SC as Ma,MC as Na,tr as Oa,nr as Pa,xC as Qa,RC as Ra,ad as Sa,Je as Ta,tB as Ua,QC as Va,XC as Wa,cd as Xa,nB as Ya,hy as Za,JC as _a,ld as $a,ud as ab,rB as bb,iB as cb,oB as db,sB as eb,aB as fb,cB as gb,ie as hb,vn as ib,At as jb,$e as kb,rr as lb,to as mb,Ey as nb,ir as ob,dB as pb,Ma as qb,P as rb,nn as sb,En as tb,io as ub,or as vb,H as wb,ka as xb,RB as yb,NB as zb,OB as Ab,FB as Bb,Qy as Cb,PB as Db,kB as Eb,LB as Fb,jB as Gb,Sd as Hb,Yy as Ib,ZB as Jb,a2 as Kb,mv as Lb,c2 as Mb,Ud as Nb,Ue as Ob,ei as Pb,v2 as Qb,bv as Rb,nT as Sb,Cn as Tb,_v as Ub,Ga as Vb,jt as Wb,po as Xb,Hd as Yb,d2 as Zb,X2 as _b,Cv as $b,Tv as ac,c$ as bc,RT as cc,NT as dc,S$ as ec,Av as fc,xv as gc,OT as hc,T$ as ic,Qd as jc,Yd as kc,M$ as lc,Xd as mc,A$ as nc,M2 as oc,ti as pc,wv as qc,j2 as rc,V2 as sc,Dv as tc,B2 as uc,R$ as vc,N$ as wc,O$ as xc,ef as yc,F$ as zc,P$ as Ac,k$ as Bc,L$ as Cc,j$ as Dc,V$ as Ec,B$ as Fc,J$ as Gc,CU as Hc,IU as Ic,mt as Jc,wb as Kc,gc as Lc,Db as Mc,SU as Nc,TU as Oc,MU as Pc,AU as Qc,xU as Rc,RU as Sc,Nf as Tc,jA as Uc,Ao as Vc,Eb as Wc,NU as Xc,OU as Yc,FU as Zc,PU as _c,kU as $c,LU as ad,jU as bd,zA as cd,oH as dd,sH as ed,nx as fd,dH as gd,fH as hd,Vo as id,cn as jd,$o as kd,gr as ld,Rx as md,y_ as nd,CR as od,Ut as pd,zb as qd,RH as rd,NH as sd}; diff --git a/chunk-HN2ZODN7.js b/chunk-HN2ZODN7.js deleted file mode 100644 index 8153e11a..00000000 --- a/chunk-HN2ZODN7.js +++ /dev/null @@ -1 +0,0 @@ -import{c as a}from"./chunk-GWX3GFXN.js";import{B as D,D as S,F as w,I,K as b,M as u,N as R,Na as m,T as n,U as j,Y as M,Z as p,d,ha as l,jb as c,m as y,qa as h,ra as F,s as g,va as s}from"./chunk-LCFD4RLU.js";var C=(()=>{let t=class{constructor(i){this.elementRef=i,this.scrollDown=new c,this.scrollUp=new c,this.scrollTop$=new d,this.scrollTopDiff$=this.scrollTop$.pipe(u(0),I(),y(([o,r])=>r-o)),this.scrollTopDiff$.subscribe(o=>{o>0&&this.scrollDown.emit(),o<0&&this.scrollUp.emit()})}onScroll(){this.scrollTop$.next(this.elementRef.nativeElement.scrollTop)}},e=t;return(()=>{t.\u0275fac=function(o){return new(o||t)(s(h))}})(),(()=>{t.\u0275dir=p({type:t,selectors:[["","scrollUp",""],["","scrollDown",""]],hostBindings:function(o,r){o&1&&m("scroll",function(){return r.onScroll()})},outputs:{scrollDown:"scrollDown",scrollUp:"scrollUp"},standalone:!0})})(),e})(),v=(()=>{let t=class{constructor(){this.scrollStopDelay=500}},e=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275prov=n({token:t,factory:t.\u0275fac})})(),e})(),W=(()=>{let t=class{constructor(i,o,r){this.config=i,this.renderer=o,this.elementRef=r,this.scrollStart=new c,this.scrollStop=new c,this.scroll$=new d,this.scrolling$=this.scroll$.pipe(R(()=>g(this.config.scrollStopDelay).pipe(D(),u(!0),w(!1))),S(),b(1)),this.scrolling$.subscribe(f=>{f?this.scrollStart.emit():this.scrollStop.emit()}),this.scrollStart.subscribe(()=>{this.className&&this.renderer.addClass(this.elementRef.nativeElement,this.className)}),this.scrollStop.subscribe(()=>{this.className&&this.renderer.removeClass(this.elementRef.nativeElement,this.className)})}onScroll(){this.scroll$.next(null)}},e=t;return(()=>{t.\u0275fac=function(o){return new(o||t)(s(v),s(F),s(h))}})(),(()=>{t.\u0275dir=p({type:t,selectors:[["","scrolling",""],["","scrollStart",""],["","scrollStop",""]],hostBindings:function(o,r){o&1&&m("scroll",function(){return r.onScroll()})},inputs:{className:["scrolling","className"]},outputs:{scrollStart:"scrollStart",scrollStop:"scrollStop"},standalone:!0})})(),e})();var L=(()=>{let t=class{static forRoot(i=new v){return{ngModule:t,providers:[{provide:v,useValue:i}]}}},e=t;return(()=>{t.\u0275fac=function(o){return new(o||t)}})(),(()=>{t.\u0275mod=M({type:t})})(),(()=>{t.\u0275inj=j({})})(),e})();var q=(()=>{let t=class extends a{identify(i){return i.id}},e=t;return(()=>{t.\u0275fac=function(){let i;return function(r){return(i||(i=l(t)))(r||t)}}()})(),(()=>{t.\u0275prov=n({token:t,factory:t.\u0275fac,providedIn:"root"})})(),e})();var G=(()=>{let t=class extends a{identify(i){return i.id}},e=t;return(()=>{t.\u0275fac=function(){let i;return function(r){return(i||(i=l(t)))(r||t)}}()})(),(()=>{t.\u0275prov=n({token:t,factory:t.\u0275fac,providedIn:"root"})})(),e})();export{C as a,W as b,L as c,q as d,G as e}; diff --git a/chunk-M73SF7I4.js b/chunk-M73SF7I4.js new file mode 100644 index 00000000..b47a5cce --- /dev/null +++ b/chunk-M73SF7I4.js @@ -0,0 +1 @@ +import{$a as W,$b as be,Aa as u,Ac as Ce,Bb as pe,Ca as d,Cb as he,Da as c,Db as ue,Ea as f,Fa as y,Ga as U,Ha as $,Hb as A,Ja as V,Jc as J,K as I,La as k,Lc as ke,M as O,Na as x,Oa as M,Ob as ge,Pa as g,S as j,Ta as S,V as F,Va as L,W as Y,Wa as T,Wb as xe,X as C,_b as _e,ab as se,ba as B,ca as H,d as oe,ia as v,la as ce,lb as p,mb as D,nb as _,oa as X,ob as h,oc as ve,qa as m,r as re,rb as z,t as de,ta as b,tb as Z,vc as ye,wc as we,xa as fe,yc as K,z as me,za as G,zc as Fe}from"./chunk-HFIM43UT.js";var ee=new v("MatError");var te=new v("MatPrefix");var ie=new v("MatSuffix");var ae={transitionMessages:ye("transitionMessages",[Fe("enter",K({opacity:1,transform:"translateY(0%)"})),Ce("void => enter",[K({opacity:0,transform:"translateY(-5px)"}),we("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},P=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i})})(),t})();var ne=new v("MatFormField");var Ie=["connectionContainer"],Oe=["inputContainer"],Te=["label"];function ze(t,i){t&1&&(U(0),c(1,"div",14),y(2,"div",15)(3,"div",16)(4,"div",17),f(),c(5,"div",18),y(6,"div",15)(7,"div",16)(8,"div",17),f(),$())}function Ae(t,i){if(t&1){let l=V();c(0,"div",19),k("cdkObserveContent",function(){B(l);let n=x();return H(n.updateOutlineGap())}),g(1,1),f()}if(t&2){let l=x();d("cdkObserveContentDisabled",l.appearance!="outline")}}function Pe(t,i){if(t&1&&(U(0),g(1,2),c(2,"span"),L(3),f(),$()),t&2){let l=x(2);m(3),T(l._control.placeholder)}}function Ne(t,i){t&1&&g(0,3,["*ngSwitchCase","true"])}function qe(t,i){t&1&&(c(0,"span",23),L(1," *"),f())}function Qe(t,i){if(t&1){let l=V();c(0,"label",20,21),k("cdkObserveContent",function(){B(l);let n=x();return H(n.updateOutlineGap())}),u(2,Pe,4,1,"ng-container",12),u(3,Ne,1,0,"ng-content",12),u(4,qe,2,0,"span",22),f()}if(t&2){let l=x();S("mat-empty",l._control.empty&&!l._shouldAlwaysFloat())("mat-form-field-empty",l._control.empty&&!l._shouldAlwaysFloat())("mat-accent",l.color=="accent")("mat-warn",l.color=="warn"),d("cdkObserveContentDisabled",l.appearance!="outline")("id",l._labelId)("ngSwitch",l._hasLabel()),G("for",l._control.id)("aria-owns",l._control.id),m(2),d("ngSwitchCase",!1),m(1),d("ngSwitchCase",!0),m(1),d("ngIf",!l.hideRequiredMarker&&l._control.required&&!l._control.disabled)}}function je(t,i){t&1&&(c(0,"div",24),g(1,4),f())}function Ye(t,i){if(t&1&&(c(0,"div",25),y(1,"span",26),f()),t&2){let l=x();m(1),S("mat-accent",l.color=="accent")("mat-warn",l.color=="warn")}}function Be(t,i){if(t&1&&(c(0,"div"),g(1,5),f()),t&2){let l=x();d("@transitionMessages",l._subscriptAnimationState)}}function He(t,i){if(t&1&&(c(0,"div",30),L(1),f()),t&2){let l=x(2);d("id",l._hintLabelId),m(1),T(l.hintLabel)}}function Xe(t,i){if(t&1&&(c(0,"div",27),u(1,He,2,2,"div",28),g(2,6),y(3,"div",29),g(4,7),f()),t&2){let l=x();d("@transitionMessages",l._subscriptAnimationState),m(1),d("ngIf",l.hintLabel)}}var Ge=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ue=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];var $e=new v("MatHint");var Se=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i,selectors:[["mat-label"]]})})(),t})(),Ve=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i,selectors:[["mat-placeholder"]]})})(),t})(),Le=0,We=.75,De=5,Ze=ke(class{constructor(t){this._elementRef=t}},"primary"),Ke=new v("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wt=(()=>{let i=class extends Ze{get appearance(){return this._appearance}set appearance(e){let n=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy",this._appearance==="outline"&&n!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=xe(e)}_shouldAlwaysFloat(){return this.floatLabel==="always"&&!this._showAlwaysAnimate}_canLabelFloat(){return this.floatLabel!=="never"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return this.appearance!=="legacy"&&this._floatLabel==="never"?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,a,o,r,E,R){super(e),this._changeDetectorRef=n,this._dir=a,this._defaults=o,this._platform=r,this._ngZone=E,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new oe,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${Le++}`,this._labelId=`mat-form-field-label-${Le++}`,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled=R!=="NoopAnimations",this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=!!o.hideRequiredMarker,o.color&&(this.color=this.defaultColor=o.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(I(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(O(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(O(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),de(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(I(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(I(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(O(this._destroyed)).subscribe(()=>{typeof requestAnimationFrame=="function"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!(this._labelChildNonStatic||this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return this.appearance==="legacy"&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||this.appearance==="legacy"&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,re(this._label.nativeElement,"transitionend").pipe(me(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){this._control.placeholder&&this._placeholderChild}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_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,a=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_validateControlChild(){this._control}updateOutlineGap(){let e=this._label?this._label.nativeElement:null,n=this._connectionContainerRef.nativeElement,a=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if(this.appearance!=="outline"||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){let s=n.querySelectorAll(`${a}, ${o}`);for(let w=0;w0?q*We+De*2:0}for(let s=0;s{i.\u0275fac=function(n){return new(n||i)(b(X),b(Z),b(ve,8),b(Ke,8),b(ge),b(z),b(ce,8))}})(),(()=>{i.\u0275cmp=F({type:i,selectors:[["mat-form-field"]],contentQueries:function(n,a,o){if(n&1&&(_(o,P,5),_(o,P,7),_(o,Se,5),_(o,Se,7),_(o,Ve,5),_(o,ee,5),_(o,$e,5),_(o,te,5),_(o,ie,5)),n&2){let r;p(r=h())&&(a._controlNonStatic=r.first),p(r=h())&&(a._controlStatic=r.first),p(r=h())&&(a._labelChildNonStatic=r.first),p(r=h())&&(a._labelChildStatic=r.first),p(r=h())&&(a._placeholderChild=r.first),p(r=h())&&(a._errorChildren=r),p(r=h())&&(a._hintChildren=r),p(r=h())&&(a._prefixChildren=r),p(r=h())&&(a._suffixChildren=r)}},viewQuery:function(n,a){if(n&1&&(D(Ie,7),D(Oe,5),D(Te,5)),n&2){let o;p(o=h())&&(a._connectionContainerRef=o.first),p(o=h())&&(a._inputContainerRef=o.first),p(o=h())&&(a._label=o.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(n,a){n&2&&S("mat-form-field-appearance-standard",a.appearance=="standard")("mat-form-field-appearance-fill",a.appearance=="fill")("mat-form-field-appearance-outline",a.appearance=="outline")("mat-form-field-appearance-legacy",a.appearance=="legacy")("mat-form-field-invalid",a._control.errorState)("mat-form-field-can-float",a._canLabelFloat())("mat-form-field-should-float",a._shouldLabelFloat())("mat-form-field-has-label",a._hasFloatingLabel())("mat-form-field-hide-placeholder",a._hideControlPlaceholder())("mat-form-field-disabled",a._control.disabled)("mat-form-field-autofilled",a._control.autofilled)("mat-focused",a._control.focused)("ng-untouched",a._shouldForward("untouched"))("ng-touched",a._shouldForward("touched"))("ng-pristine",a._shouldForward("pristine"))("ng-dirty",a._shouldForward("dirty"))("ng-valid",a._shouldForward("valid"))("ng-invalid",a._shouldForward("invalid"))("ng-pending",a._shouldForward("pending"))("_mat-animation-noopable",!a._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[W([{provide:ne,useExisting:i}]),fe],ngContentSelectors:Ue,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(n,a){n&1&&(M(Ge),c(0,"div",0)(1,"div",1,2),k("click",function(r){return a._control.onContainerClick(r)}),u(3,ze,9,0,"ng-container",3),u(4,Ae,2,1,"div",4),c(5,"div",5,6),g(7),c(8,"span",7),u(9,Qe,5,16,"label",8),f()(),u(10,je,2,0,"div",9),f(),u(11,Ye,2,4,"div",10),c(12,"div",11),u(13,Be,2,1,"div",12),u(14,Xe,5,2,"div",13),f()()),n&2&&(m(3),d("ngIf",a.appearance=="outline"),m(1),d("ngIf",a._prefixChildren.length),m(5),d("ngIf",a._hasFloatingLabel()),m(1),d("ngIf",a._suffixChildren.length),m(1),d("ngIf",a.appearance!="outline"),m(1),d("ngSwitch",a._getDisplayedMessages()),m(1),d("ngSwitchCase","error"),m(1),d("ngSwitchCase","hint"))},dependencies:[pe,he,ue,_e],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-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;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[ae.transitionMessages]},changeDetection:0})})(),t})();var Zt=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275mod=Y({type:i})})(),(()=>{i.\u0275inj=j({imports:[A,J,be,J]})})(),t})();var Je=["*"],ii=(()=>{let i=class{constructor(){}ngOnInit(){}},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275cmp=F({type:i,selectors:[["rpl-header"]],standalone:!0,features:[se],ngContentSelectors:Je,decls:1,vars:0,template:function(n,a){n&1&&(M(),g(0))},dependencies:[A],styles:["[_nghost-%COMP%]{height:56px;display:flex;justify-content:space-between;align-items:center;padding:0 8px;border-bottom:1px solid rgba(0,0,0,.12)}"],changeDetection:0})})(),t})();export{P as a,ne as b,Wt as c,Zt as d,ii as e}; diff --git a/chunk-MILDH525.js b/chunk-MILDH525.js new file mode 100644 index 00000000..2777ec6b --- /dev/null +++ b/chunk-MILDH525.js @@ -0,0 +1 @@ +import{I as m,K as d,O as x,R as y,d as f,e as v,fa as w,m as u,v as l}from"./chunk-HFIM43UT.js";import{a as o,b as p}from"./chunk-OPXGAHDX.js";var a=class extends Error{},n=class extends a{},c=class extends a{};var h=class{constructor(){this.updatesSubject=new f,this.updates$=this.updatesSubject.asObservable(),this.entities=new Map}query(t=()=>!0){let r=new Set;for(let[e,s]of this.entities)t(s.value)&&r.add(e);return this.updates$.pipe(u(e=>e.curr&&t(e.curr)?(r.add(e.id),!0):r.delete(e.id)),d(!0),l(Boolean),u(()=>[...r].map(e=>{let s=this.entities.get(e);if(!s)throw new Error("Entity in results but missing");return s.value})),m(1))}retrieve(t){let r=this.entities.get(t);if(!r)throw new n;return r}insert(t){let r=this.identify(t);if(this.entities.has(r))throw new c;let e=new v(t);return this.entities.set(r,e),this.createUpdate({id:r,prev:null,curr:t,entity$:e,undo:()=>this.delete(r)})}patch(t,r){let e=this.entities.get(t);if(!e)throw new n;let s=e.value;return e.next(o(o({},s),r)),this.createUpdate({id:t,prev:s,curr:e.value,entity$:e,undo:()=>this.patch(t,s)})}insertOrPatch(t){let r=this.identify(t);return this.entities.get(r)?this.patch(r,t):this.insert(t)}delete(t){let r=this.entities.get(t);if(!r)throw new n;let e=r.value;return r.complete(),this.entities.delete(t),this.createUpdate({id:t,prev:e,curr:null,entity$:r,undo:()=>this.insert(e)})}exists(t){let r=this.entities.has(t);return this.updates$.pipe(l(e=>e.id===t),x(e=>{e.curr===null?r=!1:r=!0}),d(null),u(()=>r))}createUpdate(t){let r=p(o({},t),{[Symbol.observable]:()=>t.entity$});return this.updatesSubject.next(r),r}};var M=(()=>{let t=class extends h{identify(e){return e.id}},i=t;return(()=>{t.\u0275fac=function(){let e;return function(b){return(e||(e=w(t)))(b||t)}}()})(),(()=>{t.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})})(),i})();export{h as a,M as b}; diff --git a/chunk-KAVP63DH.js b/chunk-NZ3JMIKG.js similarity index 68% rename from chunk-KAVP63DH.js rename to chunk-NZ3JMIKG.js index 15c60df2..853c9598 100644 --- a/chunk-KAVP63DH.js +++ b/chunk-NZ3JMIKG.js @@ -1 +1 @@ -import{T as o}from"./chunk-LCFD4RLU.js";var i=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=o({token:t,factory:t.\u0275fac})})(),e})();export{i as a}; +import{R as o}from"./chunk-HFIM43UT.js";var i=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275prov=o({token:t,factory:t.\u0275fac})})(),e})();export{i as a}; diff --git a/chunk-RXZGXWOS.js b/chunk-RXZGXWOS.js deleted file mode 100644 index 8258d775..00000000 --- a/chunk-RXZGXWOS.js +++ /dev/null @@ -1 +0,0 @@ -import{a as j,b as P,c as lt}from"./chunk-HN2ZODN7.js";import{f as ht}from"./chunk-67MWGK7F.js";import{m as V}from"./chunk-T7HJLGDV.js";import{Aa as F,Jb as ft,Qa as st,Ra as ut,W as L,X as it,Z as ot,_ as w,cb as ct}from"./chunk-LCFD4RLU.js";var Gt=(()=>{let t=class{transform(r,e){return r instanceof Array?e.query(i=>r.includes(e.identify(i))):e.retrieve(r)}},n=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275pipe=w({name:"resolveRef",type:t,pure:!0,standalone:!0})})(),n})();var Kt=(()=>{let t=class{constructor(){this.layoutContext=L(ht),this.scrollDirections=L(j),this.scrollDirections.scrollUp.pipe(V()).subscribe(()=>{this.layoutContext.mutate(r=>r.contentFavored=!1)}),this.scrollDirections.scrollDown.pipe(V()).subscribe(()=>{this.layoutContext.mutate(r=>r.contentFavored=!0)})}},n=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275dir=ot({type:t,selectors:[["","rplLayoutContent",""]],standalone:!0,features:[F([j])]})})(),n})();var vt=60,mt=vt*60,dt=mt*24,Tt=dt*7,O=1e3,R=vt*O,J=mt*O,pt=dt*O,Dt=Tt*O,b="millisecond",$="second",g="minute",y="hour",M="day",N="week",d="month",G="quarter",S="year",_="date",Ct="YYYY-MM-DDTHH:mm:ssZ",X="Invalid Date",Mt=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,St=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;var gt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var a=["th","st","nd","rd"],r=t%100;return"["+t+(a[(r-20)%10]||a[r]||a[0])+"]"}};var Q=function(t,a,r){var e=String(t);return!e||e.length>=a?t:""+Array(a+1-e.length).join(r)+t},Lt=function(t){var a=-t.utcOffset(),r=Math.abs(a),e=Math.floor(r/60),i=r%60;return(a<=0?"+":"-")+Q(e,2,"0")+":"+Q(i,2,"0")},bt=function n(t,a){if(t.date()1)return n(o[0])}else{var u=t.name;x[u]=t,e=u}return!r&&e&&(k=e),e||!r&&k},h=function(t,a){if(K(t))return t.clone();var r=typeof a=="object"?a:{};return r.date=t,r.args=arguments,new z(r)},Ht=function(t,a){return h(t,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})},s=yt;s.l=Z;s.i=K;s.w=Ht;var Ft=function(t){var a=t.date,r=t.utc;if(a===null)return new Date(NaN);if(s.u(a))return new Date;if(a instanceof Date)return new Date(a);if(typeof a=="string"&&!/Z$/i.test(a)){var e=a.match(Mt);if(e){var i=e[2]-1||0,o=(e[7]||"0").substring(0,3);return r?new Date(Date.UTC(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,o)):new Date(e[1],i,e[3]||1,e[4]||0,e[5]||0,e[6]||0,o)}}return new Date(a)},z=function(){function n(a){this.$L=Z(a.locale,null,!0),this.parse(a)}var t=n.prototype;return t.parse=function(r){this.$d=Ft(r),this.$x=r.x||{},this.init()},t.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},t.$utils=function(){return s},t.isValid=function(){return this.$d.toString()!==X},t.isSame=function(r,e){var i=h(r);return this.startOf(e)<=i&&i<=this.endOf(e)},t.isAfter=function(r,e){return h(r)1&&(a+="s"),[n+" "+a+" ago","in "+n+" "+a]}var Pt=["\u79D2","\u5206\u949F","\u5C0F\u65F6","\u5929","\u5468","\u4E2A\u6708","\u5E74"];function Ot(n,t){if(t===0)return["\u521A\u521A","\u7247\u523B\u540E"];var a=Pt[~~(t/2)];return[n+" "+a+"\u524D",n+" "+a+"\u540E"]}var B={},Y=function(n,t){B[n]=t},tt=function(n){return B[n]||B.en_US};var et=[60,60,24,7,4.345238095238096,12];function xt(n){return n instanceof Date?n:!isNaN(n)||/^\d+$/.test(n)?new Date(parseInt(n)):(n=(n||"").trim().replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(n))}function rt(n,t){var a=n<0?1:0;n=Math.abs(n);for(var r=n,e=0;n>=et[e]&&e(e===0?9:1)&&(e+=1),t(n,e,r)[a].replace("%s",n.toString())}function nt(n,t){var a=t?xt(t):new Date;return(+a-+xt(n))/1e3}var at=function(n,t,a){var r=nt(n,a&&a.relativeDate);return rt(r,tt(t))};Y("en_US",It);Y("zh_CN",Ot);var Et="en_US_abbr";Y(Et,(n,t)=>[["just now","right now"],["%s secs ago","in %s secs"],["1 min ago","in 1 min"],["%s mins ago","in %s mins"],["1 hr ago","in 1 hr"],["%s hrs ago","in %s hrs"],["1 day ago","in 1 day"],["%s days ago","in %s days"],["1 week ago","in 1 week"],["%s weeks ago","in %s weeks"],["1 month ago","in 1 month"],["%s months ago","in %s months"],["1 year ago","in 1 year"],["%s years ago","in %s years"]][t]);var At=(()=>{let t=class{transform(r,...e){return at(r,Et)}},n=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275pipe=w({name:"dateDistance",type:t,pure:!0,standalone:!0})})(),n})();var we=(()=>{let t=class{constructor(){this.dateDistancePipe=new At}transform(r){let e=q(r),i=q();return e.diff(i,"week")>-1?this.dateDistancePipe.transform(r):e.diff(i,"year")>-1?e.format("MMM D"):e.format("MMM D, YYYY")}},n=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275pipe=w({name:"readableDate",type:t,pure:!0,standalone:!0})})(),n})();var Rt=["*"],Ue=(()=>{let t=class{constructor(){let r=L(P);r.className="scrolling"}},n=t;return(()=>{t.\u0275fac=function(e){return new(e||t)}})(),(()=>{t.\u0275cmp=it({type:t,selectors:[["rpl-scrollable-area"]],standalone:!0,features:[ct,F([P])],ngContentSelectors:Rt,decls:1,vars:0,template:function(e,i){e&1&&(st(),ut(0))},dependencies:[ft,lt],styles:["[_nghost-%COMP%]{display:block;overflow-y:auto}@supports (overflow: overlay){[_nghost-%COMP%]{overflow-y:overlay}}[_nghost-%COMP%]::-webkit-scrollbar{width:8px;height:8px}[_nghost-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.scrolling[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:#0000001f}[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#0006}"],changeDetection:0})})(),n})();export{Gt as a,Kt as b,q as c,we as d,Ue as e}; diff --git a/chunk-T7HJLGDV.js b/chunk-T7HJLGDV.js deleted file mode 100644 index e5080e4a..00000000 --- a/chunk-T7HJLGDV.js +++ /dev/null @@ -1 +0,0 @@ -import{$ as Ct,$b as f,A as bt,O as B,P as wt,Qb as Y,Sb as xt,T as w,U as I,V as u,Vb as q,W as j,Wb as G,Xb as Mt,Y as L,Yb as R,Z as O,_b as K,a as C,aa as Z,b as gt,ba as $,ca as Et,d as E,f as vt,jb as b,ka as St,lb as U,mb as T,na as kt,pa as V,qa as k,qc as J,rc as At,t as yt,ta as N,tb as x,tc as Ft,ua as P,ub as Ot,uc as Q,v as mt,va as v,wc as tt,xa as D,ya as Pt,yb as m,za as Rt,zb as Dt}from"./chunk-LCFD4RLU.js";import{a as F,b as _t}from"./chunk-OPXGAHDX.js";var M=class{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},et=class extends M{constructor(t,s,e,i,o){super(),this.component=t,this.viewContainerRef=s,this.injector=e,this.componentFactoryResolver=i,this.projectableNodes=o}},A=class extends M{constructor(t,s,e,i){super(),this.templateRef=t,this.viewContainerRef=s,this.context=e,this.injector=i}get origin(){return this.templateRef.elementRef}attach(t,s=this.context){return this.context=s,super.attach(t)}detach(){return this.context=void 0,super.detach()}},it=class extends M{constructor(t){super(),this.element=t instanceof k?t.nativeElement:t}},H=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof et)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof A)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof it)return this._attachedPortal=t,this.attachDomPortal(t)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var X=class extends H{constructor(t,s,e,i,o){super(),this.outletElement=t,this._componentFactoryResolver=s,this._appRef=e,this._defaultInjector=i,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");a.parentNode.insertBefore(h,a),this.outletElement.appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=o}attachComponentPortal(t){let e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i;return t.viewContainerRef?(i=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector,t.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=e.create(t.injector||this._defaultInjector||P.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=t,i}attachTemplatePortal(t){let s=t.viewContainerRef,e=s.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return e.rootNodes.forEach(i=>this.outletElement.appendChild(i)),e.detectChanges(),this.setDisposeFn(()=>{let i=s.indexOf(e);i!==-1&&s.remove(i)}),this._attachedPortal=t,e}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var _e=(()=>{let t=class extends H{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new b,this.attachDomPortal=r=>{this._document;let a=r.element;a.parentNode;let h=this._document.createComment("dom-portal");r.setAttachedHost(this),a.parentNode.insertBefore(h,a),this._getRootNode().appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(a,h)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=i.createComponent(r,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(v(V),v(T),v(m))}})(),(()=>{t.\u0275dir=O({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Rt]})})(),n})();var Bt=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275mod=L({type:t})})(),(()=>{t.\u0275inj=I({})})(),n})();var It=xt(),st=class{constructor(t,s){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=s}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=f(-this._previousScrollPosition.left),t.style.top=f(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,s=this._document.body,e=t.style,i=s.style,o=e.scrollBehavior||"",r=i.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),It&&(e.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),It&&(e.scrollBehavior=o,i.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let s=this._document.body,e=this._viewportRuler.getViewportSize();return s.scrollHeight>e.height||s.scrollWidth>e.width}};var ot=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._ngZone=s,this._viewportRuler=e,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(mt(s=>!s||!this._overlayRef.overlayElement.contains(s.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let s=this._viewportRuler.getViewportScrollPosition().top;Math.abs(s-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},W=class{enable(){}disable(){}attach(){}};function nt(n,t){return t.some(s=>{let e=n.bottoms.bottom,o=n.rights.right;return e||i||o||r})}function jt(n,t){return t.some(s=>{let e=n.tops.bottom,o=n.lefts.right;return e||i||o||r})}var rt=class{constructor(t,s,e,i){this._scrollDispatcher=t,this._viewportRuler=s,this._ngZone=e,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let s=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:i}=this._viewportRuler.getViewportSize();nt(s,[{width:e,height:i,bottom:i,right:e,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}},Zt=(()=>{let t=class{constructor(e,i,o,r){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new W,this.close=a=>new ot(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new st(this._viewportRuler,this._document),this.reposition=a=>new rt(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=r}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(Ft),u(Q),u(x),u(m))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),z=class{constructor(t){if(this.scrollStrategy=new W,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){let s=Object.keys(t);for(let e of s)t[e]!==void 0&&(this[e]=t[e])}}};var at=class{constructor(t,s){this.connectionPair=t,this.scrollableViewProperties=s}};var Yt=(()=>{let t=class{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(m))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),$t=(()=>{let t=class extends Yt{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{let r=this._attachedOverlays;for(let a=r.length-1;a>-1;a--)if(r[a]._keydownEvents.observers.length>0){let h=r[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>h.next(o)):h.next(o);break}}}add(e){super.add(e),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)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(m),u(x,8))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Ut=(()=>{let t=class extends Yt{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=r=>{this._pointerDownEventTarget=q(r)},this._clickListener=r=>{let a=q(r),h=r.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let l=c.length-1;l>-1;l--){let d=c[l];if(d._outsidePointerEvents.observers.length<1||!d.hasAttached())continue;if(d.overlayElement.contains(a)||d.overlayElement.contains(h))break;let g=d._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(r)):g.next(r)}}}add(e){if(super.add(e),!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 e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(m),u(Y),u(x,8))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Ht=(()=>{let t=class{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||G()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let r=0;r{t.\u0275fac=function(i){return new(i||t)(u(m),u(Y))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),ht=class{constructor(t,s,e,i,o,r,a,h,c,l=!1){this._portalOutlet=t,this._host=s,this._pane=e,this._config=i,this._ngZone=o,this._keyboardDispatcher=r,this._document=a,this._location=h,this._outsideClickDispatcher=c,this._animationsDisabled=l,this._backdropElement=null,this._backdropClick=new E,this._attachments=new E,this._detachments=new E,this._locationChanges=C.EMPTY,this._backdropClickHandler=d=>this._backdropClick.next(d),this._backdropTransitionendHandler=d=>{this._disposeBackdrop(d.target)},this._keydownEvents=new E,this._outsidePointerEvents=new E,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let s=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(bt(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),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 s?.onDestroy=="function"&&s.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),s}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=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._previousHostParent=this._pane=this._host=null,t&&this._detachments.next(),this._detachments.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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=F(F({},this._config),t),this._updateElementSize()}setDirection(t){this._config=_t(F({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=f(this._config.width),t.height=f(this._config.height),t.minWidth=f(this._config.minWidth),t.minHeight=f(this._config.minHeight),t.maxWidth=f(this._config.maxWidth),t.maxHeight=f(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="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(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t=this._backdropElement;if(t){if(this._animationsDisabled){this._disposeBackdrop(t);return}t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",this._backdropTransitionendHandler)}),t.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(t)},500))}}_toggleClasses(t,s,e){let i=K(s||[]).filter(o=>!!o);i.length&&(e?t.classList.add(...i):t.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let t=this._ngZone.onStable.pipe(B(yt(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()),t.unsubscribe())})})}_disposeScrollStrategy(){let t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}_disposeBackdrop(t){t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",this._backdropTransitionendHandler),t.remove(),this._backdropElement===t&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Lt="cdk-overlay-connected-position-bounding-box",qt=/([A-Za-z%]+)$/,lt=class{get positions(){return this._preferredPositions}constructor(t,s,e,i,o){this._viewportRuler=s,this._document=e,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new E,this._resizeSubscription=C.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Lt),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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 t=this._originRect,s=this._overlayRect,e=this._viewportRect,i=this._containerRect,o=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(t,i,a),c=this._getOverlayPoint(h,s,a),l=this._getOverlayFit(c,s,e,a);if(l.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(l,c,e)){o.push({position:a,origin:h,overlayRect:s,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleAreah&&(h=l,a=c)}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&&S(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Lt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let s=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,s)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,s,e){let i;if(e.originX=="center")i=t.left+t.width/2;else{let r=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;i=e.originX=="start"?r:a}s.left<0&&(i-=s.left);let o;return e.originY=="center"?o=t.top+t.height/2:o=e.originY=="top"?t.top:t.bottom,s.top<0&&(o-=s.top),{x:i,y:o}}_getOverlayPoint(t,s,e){let i;e.overlayX=="center"?i=-s.width/2:e.overlayX==="start"?i=this._isRtl()?-s.width:0:i=this._isRtl()?0:-s.width;let o;return e.overlayY=="center"?o=-s.height/2:o=e.overlayY=="top"?0:-s.height,{x:t.x+i,y:t.y+o}}_getOverlayFit(t,s,e,i){let o=Nt(s),{x:r,y:a}=t,h=this._getOffset(i,"x"),c=this._getOffset(i,"y");h&&(r+=h),c&&(a+=c);let l=0-r,d=r+o.width-e.width,g=0-a,_=a+o.height-e.height,p=this._subtractOverflows(o.width,l,d),y=this._subtractOverflows(o.height,g,_),pt=p*y;return{visibleArea:pt,isCompletelyWithinViewport:o.width*o.height===pt,fitsInViewportVertically:y===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(t,s,e){if(this._hasFlexibleDimensions){let i=e.bottom-s.y,o=e.right-s.x,r=Vt(this._overlayRef.getConfig().minHeight),a=Vt(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportVertically||r!=null&&r<=i,c=t.fitsInViewportHorizontally||a!=null&&a<=o;return h&&c}return!1}_pushOverlayOnScreen(t,s,e){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let i=Nt(s),o=this._viewportRect,r=Math.max(t.x+i.width-o.width,0),a=Math.max(t.y+i.height-o.height,0),h=Math.max(o.top-e.top-t.y,0),c=Math.max(o.left-e.left-t.x,0),l=0,d=0;return i.width<=o.width?l=c||-r:l=t.xp&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-p/2)}let h=s.overlayX==="start"&&!i||s.overlayX==="end"&&i,c=s.overlayX==="end"&&!i||s.overlayX==="start"&&i,l,d,g;if(c)g=e.width-t.x+this._viewportMargin,l=t.x-this._viewportMargin;else if(h)d=t.x,l=e.right-t.x;else{let _=Math.min(e.right-t.x+e.left,t.x),p=this._lastBoundingBoxSize.width;l=_*2,d=t.x-_,l>p&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-p/2)}return{top:r,left:d,bottom:a,right:g,width:l,height:o}}_setBoundingBoxStyles(t,s){let e=this._calculateBoundingBoxRect(t,s);!this._isInitialRender&&!this._growAfterOpen&&(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=f(e.height),i.top=f(e.top),i.bottom=f(e.bottom),i.width=f(e.width),i.left=f(e.left),i.right=f(e.right),s.overlayX==="center"?i.alignItems="center":i.alignItems=s.overlayX==="end"?"flex-end":"flex-start",s.overlayY==="center"?i.justifyContent="center":i.justifyContent=s.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=f(o)),r&&(i.maxWidth=f(r))}this._lastBoundingBoxSize=e,S(this._boundingBox.style,i)}_resetBoundingBoxStyles(){S(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){S(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,s){let e={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){let l=this._viewportRuler.getViewportScrollPosition();S(e,this._getExactOverlayY(s,t,l)),S(e,this._getExactOverlayX(s,t,l))}else e.position="static";let a="",h=this._getOffset(s,"x"),c=this._getOffset(s,"y");h&&(a+=`translateX(${h}px) `),c&&(a+=`translateY(${c}px)`),e.transform=a.trim(),r.maxHeight&&(i?e.maxHeight=f(r.maxHeight):o&&(e.maxHeight="")),r.maxWidth&&(i?e.maxWidth=f(r.maxWidth):o&&(e.maxWidth="")),S(this._pane.style,e)}_getExactOverlayY(t,s,e){let i={top:"",bottom:""},o=this._getOverlayPoint(s,this._overlayRect,t);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e)),t.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;i.bottom=`${r-(o.y+this._overlayRect.height)}px`}else i.top=f(o.y);return i}_getExactOverlayX(t,s,e){let i={left:"",right:""},o=this._getOverlayPoint(s,this._overlayRect,t);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,e));let r;if(this._isRtl()?r=t.overlayX==="end"?"left":"right":r=t.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`}else i.left=f(o.x);return i}_getScrollVisibility(){let t=this._getOriginRect(),s=this._pane.getBoundingClientRect(),e=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:jt(t,e),isOriginOutsideView:nt(t,e),isOverlayClipped:jt(s,e),isOverlayOutsideView:nt(s,e)}}_subtractOverflows(t,...s){return s.reduce((e,i)=>e-Math.max(i,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,s=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+t-this._viewportMargin,bottom:e.top+s-this._viewportMargin,width:t-2*this._viewportMargin,height:s-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,s){return s==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&K(t).forEach(s=>{s!==""&&this._appliedPanelClasses.indexOf(s)===-1&&(this._appliedPanelClasses.push(s),this._pane.classList.add(s))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof k)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let s=t.width||0,e=t.height||0;return{top:t.y,bottom:t.y+e,left:t.x,right:t.x+s,height:e,width:s}}};function S(n,t){for(let s in t)t.hasOwnProperty(s)&&(n[s]=t[s]);return n}function Vt(n){if(typeof n!="number"&&n!=null){let[t,s]=n.split(qt);return!s||s==="px"?parseFloat(t):null}return n||null}function Nt(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}var Tt="cdk-global-overlay-wrapper",ct=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(t){let s=t.getConfig();this._overlayRef=t,this._width&&!s.width&&t.updateSize({width:this._width}),this._height&&!s.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Tt),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:r,maxHeight:a}=e,h=(i==="100%"||i==="100vw")&&(!r||r==="100%"||r==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),l=this._xPosition,d=this._xOffset,g=this._overlayRef.getConfig().direction==="rtl",_="",p="",y="";h?y="flex-start":l==="center"?(y="center",g?p=d:_=d):g?l==="left"||l==="end"?(y="flex-end",_=d):(l==="right"||l==="start")&&(y="flex-start",p=d):l==="left"||l==="start"?(y="flex-start",_=d):(l==="right"||l==="end")&&(y="flex-end",p=d),t.position=this._cssPosition,t.marginLeft=h?"0":_,t.marginTop=c?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=h?"0":p,s.justifyContent=y,s.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,s=this._overlayRef.hostElement,e=s.style;s.classList.remove(Tt),e.justifyContent=e.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Gt=(()=>{let t=class{constructor(e,i,o,r){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=r}global(){return new ct}flexibleConnectedTo(e){return new lt(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(Q),u(m),u(Y),u(Ht))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Kt=0,dt=(()=>{let t=class{constructor(e,i,o,r,a,h,c,l,d,g,_,p){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=h,this._ngZone=c,this._document=l,this._directionality=d,this._location=g,this._outsideClickDispatcher=_,this._animationsModuleType=p}create(e){let i=this._createHostElement(),o=this._createPaneElement(i),r=this._createPortalOutlet(o),a=new z(e);return a.direction=a.direction||this._directionality.value,new ht(r,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(e){let i=this._document.createElement("div");return i.id=`cdk-overlay-${Kt++}`,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){let e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Ot)),new X(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(u(Zt),u(Ht),u(V),u(Gt),u($t),u(P),u(x),u(m),u(J),u(Dt),u(Ut),u(kt,8))}})(),(()=>{t.\u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})})(),n})(),Jt=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Xt=new St("cdk-connected-overlay-scroll-strategy"),Qt=(()=>{let t=class{constructor(e){this.elementRef=e}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(v(k))}})(),(()=>{t.\u0275dir=O({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0})})(),n})(),Ve=(()=>{let t=class{get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=R(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=R(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=R(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=R(e)}get push(){return this._push}set push(e){this._push=R(e)}constructor(e,i,o,r,a){this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=C.EMPTY,this._attachSubscription=C.EMPTY,this._detachSubscription=C.EMPTY,this._positionSubscription=C.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new b,this.positionChange=new b,this.attach=new b,this.detach=new b,this.overlayKeydown=new b,this.overlayOutsideClick=new b,this._templatePortal=new A(i,o),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Jt);let e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Mt(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new z({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Qt?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(wt(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)(v(dt),v(U),v(T),v(Xt),v(J,8))}})(),(()=>{t.\u0275dir=O({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Et]})})(),n})();function te(n){return()=>n.scrollStrategies.reposition()}var ee={provide:Xt,deps:[dt],useFactory:te},Ne=(()=>{let t=class{},n=t;return(()=>{t.\u0275fac=function(i){return new(i||t)}})(),(()=>{t.\u0275mod=L({type:t})})(),(()=>{t.\u0275inj=I({providers:[dt,ee],imports:[At,Bt,tt,tt]})})(),n})();function ie(n){n||(N(ie),n=j(D));let t=new gt(s=>n.onDestroy(s.next.bind(s)));return s=>s.pipe(B(t))}function se(n,t){!t?.injector&&N(se);let s=t?.injector??j(P),e=new vt(1),i=Pt(()=>{let o;try{o=n()}catch(r){$(()=>e.error(r));return}$(()=>e.next(o))},{injector:s,manualCleanup:!0});return s.get(D).onDestroy(()=>{i.destroy(),e.complete()}),e.asObservable()}var ut=class extends Error{constructor(t,s){super(oe(t,s)),this.code=t}};function oe(n,t){return`${`NG0${Math.abs(n)}`}${t?": "+t:""}`}var ne=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)();var ft=class{constructor(t){this.ref=t}deref(){return this.ref}},ze=ne.WeakRef??ft;function re(n,t){let s=!t?.manualCleanup;s&&!t?.injector&&N(re);let e=s?t?.injector?.get(D)??j(D):null,i;t?.requireSync?i=Z({kind:0}):i=Z({kind:1,value:t?.initialValue});let o=n.subscribe({next:r=>i.set({kind:1,value:r}),error:r=>i.set({kind:2,error:r})});return e?.onDestroy(o.unsubscribe.bind(o)),Ct(()=>{let r=i();switch(r.kind){case 1:return r.value;case 2:throw r.error;case 0:throw new ut(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}})}export{et as a,A as b,H as c,_e as d,Bt as e,z as f,Ht as g,ht as h,dt as i,Qt as j,Ve as k,Ne as l,ie as m,se as n,re as o}; diff --git a/chunk-TEA4CVZ4.js b/chunk-TEA4CVZ4.js new file mode 100644 index 00000000..2e925cdc --- /dev/null +++ b/chunk-TEA4CVZ4.js @@ -0,0 +1 @@ +import{a as mt,i as I,l as X}from"./chunk-BTQVCDJX.js";import{Ca as L,Da as R,Ea as M,Gb as tt,Hb as it,Jc as U,La as y,M as c,Ob as et,Pb as ot,S as D,Sa as S,Ta as T,V as E,Va as N,Vb as st,W as x,Wa as Y,Wb as z,X as m,Xb as H,_ as Q,ac as nt,bc as rt,d as A,eb as q,ec as at,fb as W,ia as _,kb as k,la as g,lb as j,mb as F,mc as lt,nc as ct,oa as f,ob as V,oc as dt,qa as P,rb as G,rc as pt,ta as a,tb as b,tc as ht,ua as $,wb as K,xa as v,yb as J,z as Z}from"./chunk-HFIM43UT.js";import{a as h}from"./chunk-OPXGAHDX.js";var It=20;var B=new _("mat-tooltip-scroll-strategy");function Ot(n){return()=>n.scrollStrategies.reposition({scrollThrottle:It})}var ut={provide:B,deps:[I],useFactory:Ot};function wt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var gt=new _("mat-tooltip-default-options",{providedIn:"root",factory:wt});var _t="tooltip-panel",ft=ot({passive:!0}),Ct=500;var vt=(()=>{let s=class{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=z(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=z(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=H(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=H(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,e,o,r,d,p,O,w,u,l,C){this._overlay=t,this._elementRef=i,this._scrollDispatcher=e,this._viewContainerRef=o,this._ngZone=r,this._platform=d,this._ariaDescriber=p,this._focusMonitor=O,this._dir=u,this._defaultOptions=l,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new A,this._scrollStrategy=w,this._document=C,l&&(this._showDelay=l.showDelay,this._hideDelay=l.hideDelay,l.position&&(this.position=l.position),l.positionAtOrigin&&(this.positionAtOrigin=l.positionAtOrigin),l.touchGestures&&(this.touchGestures=l.touchGestures)),u.change.pipe(c(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(c(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,e])=>{t.removeEventListener(i,e,ft)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let e=this._createOverlay(i);this._detach(),this._portal=this._portal||new mt(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=e.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(c(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof f)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return e.positionChanges.pipe(c(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-${_t}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(c(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(c(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(c(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!st(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let i=t.getConfig().positionStrategy,e=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(h(h({},e.main),o.main)),this._addOffset(h(h({},e.fallback),o.fallback))])}_addOffset(t){return t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"||i=="below"?e={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={originX:"start",originY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={originX:"end",originY:"center"});let{x:o,y:r}=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:o,originY:r}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"?e={overlayX:"center",overlayY:"bottom"}:i=="below"?e={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={overlayX:"start",overlayY:"center"});let{x:o,y:r}=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:o,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Z(1),c(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){let{overlayY:i,originX:e,originY:o}=t,r;if(i==="center"?this._dir&&this._dir.value==="rtl"?r=e==="end"?"left":"right":r=e==="start"?"left":"right":r=i==="bottom"&&o==="top"?"above":"below",r!==this._currentPosition){let d=this._overlayRef;if(d){let p=`${this._cssClassPrefix}-${_t}-`;d.removePanelClass(p+this._currentPosition),d.addPanelClass(p+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let i;t.x!==void 0&&t.y!==void 0&&(i=t),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let i=t.targetTouches?.[0],e=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,e),Ct)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{let e=i.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,e])=>{this._elementRef.nativeElement.addEventListener(i,e,ft)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(t.clientX,t.clientY),e=this._elementRef.nativeElement;i!==e&&!e.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let i=this._elementRef.nativeElement,e=i.style;(t==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),(t==="on"||!i.draggable)&&(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent"}}},n=s;return(()=>{s.\u0275fac=function(i){$()}})(),(()=>{s.\u0275dir=m({type:s,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})})(),n})();var yt=(()=>{let s=class{constructor(t,i){this._changeDetectorRef=t,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new A,this._animationsDisabled=i==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let i=this._tooltip.nativeElement,e=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(t?o:e),i.classList.add(t?e:o),this._isVisible=t,t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let r=getComputedStyle(i);(r.getPropertyValue("animation-duration")==="0s"||r.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}},n=s;return(()=>{s.\u0275fac=function(i){return new(i||s)(a(b),a(g,8))}})(),(()=>{s.\u0275dir=m({type:s})})(),n})();var At=["tooltip"],ci=(()=>{let s=class extends vt{constructor(t,i,e,o,r,d,p,O,w,u,l,C){super(t,i,e,o,r,d,p,O,w,u,l,C),this._tooltipComponent=Dt}},n=s;return(()=>{s.\u0275fac=function(i){return new(i||s)(a(I),a(f),a(pt),a(k),a(G),a(et),a(at),a(lt),a(B),a(dt,8),a(gt,8),a(K))}})(),(()=>{s.\u0275dir=m({type:s,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(i,e){i&2&&T("mat-tooltip-disabled",e.disabled)},exportAs:["matTooltip"],features:[v]})})(),n})(),Dt=(()=>{let s=class extends yt{constructor(t,i,e){super(t,e),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=i.observe(rt.Handset)}},n=s;return(()=>{s.\u0275fac=function(i){return new(i||s)(a(b),a(nt),a(g,8))}})(),(()=>{s.\u0275cmp=E({type:s,selectors:[["mat-tooltip-component"]],viewQuery:function(i,e){if(i&1&&F(At,7),i&2){let o;j(o=V())&&(e._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,e){i&1&&y("mouseleave",function(r){return e._handleMouseLeave(r)}),i&2&&S("zoom",e.isVisible()?1:null)},features:[v],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(i,e){if(i&1&&(R(0,"div",0,1),y("animationend",function(r){return e._handleAnimationEnd(r)}),q(2,"async"),N(3),M()),i&2){let o;T("mat-tooltip-handset",(o=W(2,4,e._isHandset))==null?null:o.matches),L("ngClass",e.tooltipClass),P(3),Y(e.message)}},dependencies:[J,tt],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0})})(),n})(),di=(()=>{let s=class{},n=s;return(()=>{s.\u0275fac=function(i){return new(i||s)}})(),(()=>{s.\u0275mod=x({type:s})})(),(()=>{s.\u0275inj=D({providers:[ut],imports:[ct,it,X,U,U,ht]})})(),n})();var mi=new _("NAVIGATION_CONTEXT",{providedIn:"root",factory:()=>Q({latestMailboxUrl:null,latestMailboxIndex:null})});export{ci as a,di as b,mi as c}; diff --git a/chunk-VLKDZGSJ.js b/chunk-VLKDZGSJ.js deleted file mode 100644 index 77922202..00000000 --- a/chunk-VLKDZGSJ.js +++ /dev/null @@ -1 +0,0 @@ -import{a as mt,i as I,l as X}from"./chunk-T7HJLGDV.js";import{A as Z,Ab as J,Ea as L,Fa as R,Ga as M,Ib as tt,Jb as it,Lc as U,Na as y,O as c,Qb as et,Rb as ot,U as D,Ua as S,Va as T,X as E,Xa as N,Xb as st,Y as x,Ya as Y,Yb as z,Z as m,Zb as H,aa as Q,cc as nt,d as A,dc as rt,gb as q,gc as at,hb as W,ka as _,mb as k,na as g,nb as j,ob as F,oc as lt,pc as ct,qa as f,qb as V,qc as dt,sa as P,tb as G,tc as pt,va as a,vb as b,vc as ht,wa as $,yb as K,za as v}from"./chunk-LCFD4RLU.js";import{a as h}from"./chunk-OPXGAHDX.js";var It=20;var B=new _("mat-tooltip-scroll-strategy");function Ot(n){return()=>n.scrollStrategies.reposition({scrollThrottle:It})}var ut={provide:B,deps:[I],useFactory:Ot};function wt(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var gt=new _("mat-tooltip-default-options",{providedIn:"root",factory:wt});var _t="tooltip-panel",ft=ot({passive:!0}),Ct=500;var vt=(()=>{let s=class{get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=z(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=z(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=H(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=H(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,e,o,r,d,p,O,w,u,l,C){this._overlay=t,this._elementRef=i,this._scrollDispatcher=e,this._viewContainerRef=o,this._ngZone=r,this._platform=d,this._ariaDescriber=p,this._focusMonitor=O,this._dir=u,this._defaultOptions=l,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new A,this._scrollStrategy=w,this._document=C,l&&(this._showDelay=l.showDelay,this._hideDelay=l.hideDelay,l.position&&(this.position=l.position),l.positionAtOrigin&&(this.positionAtOrigin=l.positionAtOrigin),l.touchGestures&&(this.touchGestures=l.touchGestures)),u.change.pipe(c(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(c(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,e])=>{t.removeEventListener(i,e,ft)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let e=this._createOverlay(i);this._detach(),this._portal=this._portal||new mt(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=e.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(c(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let o=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&o._origin instanceof f)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return e.positionChanges.pipe(c(this._destroyed)).subscribe(o=>{this._updateCurrentPositionClass(o.connectionPair),this._tooltipInstance&&o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:`${this._cssClassPrefix}-${_t}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(c(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(c(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(c(this._destroyed)).subscribe(o=>{this._isTooltipVisible()&&o.keyCode===27&&!st(o)&&(o.preventDefault(),o.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let i=t.getConfig().positionStrategy,e=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset(h(h({},e.main),o.main)),this._addOffset(h(h({},e.fallback),o.fallback))])}_addOffset(t){return t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"||i=="below"?e={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={originX:"start",originY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={originX:"end",originY:"center"});let{x:o,y:r}=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:o,originY:r}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",i=this.position,e;i=="above"?e={overlayX:"center",overlayY:"bottom"}:i=="below"?e={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&t||i=="right"&&!t?e={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(e={overlayX:"start",overlayY:"center"});let{x:o,y:r}=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:o,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Z(1),c(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){let{overlayY:i,originX:e,originY:o}=t,r;if(i==="center"?this._dir&&this._dir.value==="rtl"?r=e==="end"?"left":"right":r=e==="start"?"left":"right":r=i==="bottom"&&o==="top"?"above":"below",r!==this._currentPosition){let d=this._overlayRef;if(d){let p=`${this._cssClassPrefix}-${_t}-`;d.removePanelClass(p+this._currentPosition),d.addPanelClass(p+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let i;t.x!==void 0&&t.y!==void 0&&(i=t),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{let i=t.targetTouches?.[0],e=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,e),Ct)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{let e=i.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,e])=>{this._elementRef.nativeElement.addEventListener(i,e,ft)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(t.clientX,t.clientY),e=this._elementRef.nativeElement;i!==e&&!e.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let i=this._elementRef.nativeElement,e=i.style;(t==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),(t==="on"||!i.draggable)&&(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent"}}},n=s;return(()=>{s.\u0275fac=function(i){$()}})(),(()=>{s.\u0275dir=m({type:s,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})})(),n})();var yt=(()=>{let s=class{constructor(t,i){this._changeDetectorRef=t,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new A,this._animationsDisabled=i==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let i=this._tooltip.nativeElement,e=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(t?o:e),i.classList.add(t?e:o),this._isVisible=t,t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let r=getComputedStyle(i);(r.getPropertyValue("animation-duration")==="0s"||r.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}},n=s;return(()=>{s.\u0275fac=function(i){return new(i||s)(a(b),a(g,8))}})(),(()=>{s.\u0275dir=m({type:s})})(),n})();var At=["tooltip"],ci=(()=>{let s=class extends vt{constructor(t,i,e,o,r,d,p,O,w,u,l,C){super(t,i,e,o,r,d,p,O,w,u,l,C),this._tooltipComponent=Dt}},n=s;return(()=>{s.\u0275fac=function(i){return new(i||s)(a(I),a(f),a(pt),a(k),a(G),a(et),a(at),a(lt),a(B),a(dt,8),a(gt,8),a(K))}})(),(()=>{s.\u0275dir=m({type:s,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(i,e){i&2&&T("mat-tooltip-disabled",e.disabled)},exportAs:["matTooltip"],features:[v]})})(),n})(),Dt=(()=>{let s=class extends yt{constructor(t,i,e){super(t,e),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide",this._isHandset=i.observe(rt.Handset)}},n=s;return(()=>{s.\u0275fac=function(i){return new(i||s)(a(b),a(nt),a(g,8))}})(),(()=>{s.\u0275cmp=E({type:s,selectors:[["mat-tooltip-component"]],viewQuery:function(i,e){if(i&1&&F(At,7),i&2){let o;j(o=V())&&(e._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,e){i&1&&y("mouseleave",function(r){return e._handleMouseLeave(r)}),i&2&&S("zoom",e.isVisible()?1:null)},features:[v],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(i,e){if(i&1&&(R(0,"div",0,1),y("animationend",function(r){return e._handleAnimationEnd(r)}),q(2,"async"),N(3),M()),i&2){let o;T("mat-tooltip-handset",(o=W(2,4,e._isHandset))==null?null:o.matches),L("ngClass",e.tooltipClass),P(3),Y(e.message)}},dependencies:[J,tt],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0})})(),n})(),di=(()=>{let s=class{},n=s;return(()=>{s.\u0275fac=function(i){return new(i||s)}})(),(()=>{s.\u0275mod=x({type:s})})(),(()=>{s.\u0275inj=D({providers:[ut],imports:[ct,it,X,U,U,ht]})})(),n})();var mi=new _("NAVIGATION_CONTEXT",{providedIn:"root",factory:()=>Q({latestMailboxUrl:null,latestMailboxIndex:null})});export{ci as a,di as b,mi as c}; diff --git a/chunk-YYPCQDSP.js b/chunk-YYPCQDSP.js deleted file mode 100644 index 296ad3f6..00000000 --- a/chunk-YYPCQDSP.js +++ /dev/null @@ -1 +0,0 @@ -import{A as me,Ac as K,Ba as G,Bc as Fe,Ca as u,Cc as Ce,Db as pe,Ea as d,Eb as he,Fa as c,Fb as ue,Ga as f,Ha as y,Ia as U,Ja as $,Jb as A,La as V,Lc as J,M as I,Na as k,Nc as ke,O,Pa as x,Qa as M,Qb as ge,Ra as g,U as j,Va as S,X as F,Xa as L,Y,Ya as T,Yb as xe,Z as C,ac as _e,bb as W,bc as be,cb as se,d as oe,da as B,ea as H,ka as v,na as ce,nb as p,ob as D,pb as _,qa as X,qb as h,qc as ve,r as re,sa as m,t as de,tb as z,va as b,vb as Z,xc as ye,yc as we,za as fe}from"./chunk-LCFD4RLU.js";var ee=new v("MatError");var te=new v("MatPrefix");var ie=new v("MatSuffix");var ae={transitionMessages:ye("transitionMessages",[Fe("enter",K({opacity:1,transform:"translateY(0%)"})),Ce("void => enter",[K({opacity:0,transform:"translateY(-5px)"}),we("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},P=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i})})(),t})();var ne=new v("MatFormField");var Ie=["connectionContainer"],Oe=["inputContainer"],Te=["label"];function ze(t,i){t&1&&(U(0),c(1,"div",14),y(2,"div",15)(3,"div",16)(4,"div",17),f(),c(5,"div",18),y(6,"div",15)(7,"div",16)(8,"div",17),f(),$())}function Ae(t,i){if(t&1){let l=V();c(0,"div",19),k("cdkObserveContent",function(){B(l);let n=x();return H(n.updateOutlineGap())}),g(1,1),f()}if(t&2){let l=x();d("cdkObserveContentDisabled",l.appearance!="outline")}}function Pe(t,i){if(t&1&&(U(0),g(1,2),c(2,"span"),L(3),f(),$()),t&2){let l=x(2);m(3),T(l._control.placeholder)}}function Ne(t,i){t&1&&g(0,3,["*ngSwitchCase","true"])}function qe(t,i){t&1&&(c(0,"span",23),L(1," *"),f())}function Qe(t,i){if(t&1){let l=V();c(0,"label",20,21),k("cdkObserveContent",function(){B(l);let n=x();return H(n.updateOutlineGap())}),u(2,Pe,4,1,"ng-container",12),u(3,Ne,1,0,"ng-content",12),u(4,qe,2,0,"span",22),f()}if(t&2){let l=x();S("mat-empty",l._control.empty&&!l._shouldAlwaysFloat())("mat-form-field-empty",l._control.empty&&!l._shouldAlwaysFloat())("mat-accent",l.color=="accent")("mat-warn",l.color=="warn"),d("cdkObserveContentDisabled",l.appearance!="outline")("id",l._labelId)("ngSwitch",l._hasLabel()),G("for",l._control.id)("aria-owns",l._control.id),m(2),d("ngSwitchCase",!1),m(1),d("ngSwitchCase",!0),m(1),d("ngIf",!l.hideRequiredMarker&&l._control.required&&!l._control.disabled)}}function je(t,i){t&1&&(c(0,"div",24),g(1,4),f())}function Ye(t,i){if(t&1&&(c(0,"div",25),y(1,"span",26),f()),t&2){let l=x();m(1),S("mat-accent",l.color=="accent")("mat-warn",l.color=="warn")}}function Be(t,i){if(t&1&&(c(0,"div"),g(1,5),f()),t&2){let l=x();d("@transitionMessages",l._subscriptAnimationState)}}function He(t,i){if(t&1&&(c(0,"div",30),L(1),f()),t&2){let l=x(2);d("id",l._hintLabelId),m(1),T(l.hintLabel)}}function Xe(t,i){if(t&1&&(c(0,"div",27),u(1,He,2,2,"div",28),g(2,6),y(3,"div",29),g(4,7),f()),t&2){let l=x();d("@transitionMessages",l._subscriptAnimationState),m(1),d("ngIf",l.hintLabel)}}var Ge=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ue=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];var $e=new v("MatHint");var Se=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i,selectors:[["mat-label"]]})})(),t})(),Ve=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275dir=C({type:i,selectors:[["mat-placeholder"]]})})(),t})(),Le=0,We=.75,De=5,Ze=ke(class{constructor(t){this._elementRef=t}},"primary"),Ke=new v("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Wt=(()=>{let i=class extends Ze{get appearance(){return this._appearance}set appearance(e){let n=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy",this._appearance==="outline"&&n!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=xe(e)}_shouldAlwaysFloat(){return this.floatLabel==="always"&&!this._showAlwaysAnimate}_canLabelFloat(){return this.floatLabel!=="never"}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return this.appearance!=="legacy"&&this._floatLabel==="never"?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}constructor(e,n,a,o,r,E,R){super(e),this._changeDetectorRef=n,this._dir=a,this._defaults=o,this._platform=r,this._ngZone=E,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new oe,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId=`mat-hint-${Le++}`,this._labelId=`mat-form-field-label-${Le++}`,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled=R!=="NoopAnimations",this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=!!o.hideRequiredMarker,o.color&&(this.color=this.defaultColor=o.color))}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();let e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(I(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(O(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(O(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),de(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(I(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(I(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(O(this._destroyed)).subscribe(()=>{typeof requestAnimationFrame=="function"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){let n=this._control?this._control.ngControl:null;return n&&n[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!(this._labelChildNonStatic||this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return this.appearance==="legacy"&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||this.appearance==="legacy"&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,re(this._label.nativeElement,"transitionend").pipe(me(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){this._control.placeholder&&this._placeholderChild}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_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,a=this._hintChildren?this._hintChildren.find(o=>o.align==="end"):null;n?e.push(n.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(e)}}_validateControlChild(){this._control}updateOutlineGap(){let e=this._label?this._label.nativeElement:null,n=this._connectionContainerRef.nativeElement,a=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if(this.appearance!=="outline"||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){let s=n.querySelectorAll(`${a}, ${o}`);for(let w=0;w0?q*We+De*2:0}for(let s=0;s{i.\u0275fac=function(n){return new(n||i)(b(X),b(Z),b(ve,8),b(Ke,8),b(ge),b(z),b(ce,8))}})(),(()=>{i.\u0275cmp=F({type:i,selectors:[["mat-form-field"]],contentQueries:function(n,a,o){if(n&1&&(_(o,P,5),_(o,P,7),_(o,Se,5),_(o,Se,7),_(o,Ve,5),_(o,ee,5),_(o,$e,5),_(o,te,5),_(o,ie,5)),n&2){let r;p(r=h())&&(a._controlNonStatic=r.first),p(r=h())&&(a._controlStatic=r.first),p(r=h())&&(a._labelChildNonStatic=r.first),p(r=h())&&(a._labelChildStatic=r.first),p(r=h())&&(a._placeholderChild=r.first),p(r=h())&&(a._errorChildren=r),p(r=h())&&(a._hintChildren=r),p(r=h())&&(a._prefixChildren=r),p(r=h())&&(a._suffixChildren=r)}},viewQuery:function(n,a){if(n&1&&(D(Ie,7),D(Oe,5),D(Te,5)),n&2){let o;p(o=h())&&(a._connectionContainerRef=o.first),p(o=h())&&(a._inputContainerRef=o.first),p(o=h())&&(a._label=o.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(n,a){n&2&&S("mat-form-field-appearance-standard",a.appearance=="standard")("mat-form-field-appearance-fill",a.appearance=="fill")("mat-form-field-appearance-outline",a.appearance=="outline")("mat-form-field-appearance-legacy",a.appearance=="legacy")("mat-form-field-invalid",a._control.errorState)("mat-form-field-can-float",a._canLabelFloat())("mat-form-field-should-float",a._shouldLabelFloat())("mat-form-field-has-label",a._hasFloatingLabel())("mat-form-field-hide-placeholder",a._hideControlPlaceholder())("mat-form-field-disabled",a._control.disabled)("mat-form-field-autofilled",a._control.autofilled)("mat-focused",a._control.focused)("ng-untouched",a._shouldForward("untouched"))("ng-touched",a._shouldForward("touched"))("ng-pristine",a._shouldForward("pristine"))("ng-dirty",a._shouldForward("dirty"))("ng-valid",a._shouldForward("valid"))("ng-invalid",a._shouldForward("invalid"))("ng-pending",a._shouldForward("pending"))("_mat-animation-noopable",!a._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[W([{provide:ne,useExisting:i}]),fe],ngContentSelectors:Ue,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(n,a){n&1&&(M(Ge),c(0,"div",0)(1,"div",1,2),k("click",function(r){return a._control.onContainerClick(r)}),u(3,ze,9,0,"ng-container",3),u(4,Ae,2,1,"div",4),c(5,"div",5,6),g(7),c(8,"span",7),u(9,Qe,5,16,"label",8),f()(),u(10,je,2,0,"div",9),f(),u(11,Ye,2,4,"div",10),c(12,"div",11),u(13,Be,2,1,"div",12),u(14,Xe,5,2,"div",13),f()()),n&2&&(m(3),d("ngIf",a.appearance=="outline"),m(1),d("ngIf",a._prefixChildren.length),m(5),d("ngIf",a._hasFloatingLabel()),m(1),d("ngIf",a._suffixChildren.length),m(1),d("ngIf",a.appearance!="outline"),m(1),d("ngSwitch",a._getDisplayedMessages()),m(1),d("ngSwitchCase","error"),m(1),d("ngSwitchCase","hint"))},dependencies:[pe,he,ue,_e],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}','.mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-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;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],encapsulation:2,data:{animation:[ae.transitionMessages]},changeDetection:0})})(),t})();var Zt=(()=>{let i=class{},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275mod=Y({type:i})})(),(()=>{i.\u0275inj=j({imports:[A,J,be,J]})})(),t})();var Je=["*"],ii=(()=>{let i=class{constructor(){}ngOnInit(){}},t=i;return(()=>{i.\u0275fac=function(n){return new(n||i)}})(),(()=>{i.\u0275cmp=F({type:i,selectors:[["rpl-header"]],standalone:!0,features:[se],ngContentSelectors:Je,decls:1,vars:0,template:function(n,a){n&1&&(M(),g(0))},dependencies:[A],styles:["[_nghost-%COMP%]{height:56px;display:flex;justify-content:space-between;align-items:center;padding:0 8px;border-bottom:1px solid rgba(0,0,0,.12)}"],changeDetection:0})})(),t})();export{P as a,ne as b,Wt as c,Zt as d,ii as e}; diff --git a/compose.module-3J5VLD75.js b/compose.module-3J5VLD75.js new file mode 100644 index 00000000..a4fb8d43 --- /dev/null +++ b/compose.module-3J5VLD75.js @@ -0,0 +1 @@ +import{a as oe,b as ti,c as ii,d as Ie,e as Ee}from"./chunk-M73SF7I4.js";import{a as Zt,b as Jt,c as ei}from"./chunk-TEA4CVZ4.js";import{i as Ft,j as Ye,k as ve,l as We,n as qt}from"./chunk-BTQVCDJX.js";import{b as Kt,c as Se,d as we,e as Qt,f as $t,g as U,h as Ut,i as xe,j as Xt}from"./chunk-AJ5EX2ND.js";import{$a as Y,$c as tt,Aa as v,Ab as Mt,Ac as Me,Ba as Ne,Bb as Ot,C as ht,Ca as m,Cb as St,Cc as Bt,Da as p,Db as wt,Ea as h,Eb as xt,Ec as Nt,Fa as C,Ga as ut,Gb as It,Ha as gt,Hb as K,Ja as He,Jc as F,K as ee,Kc as Ke,L as Pe,La as g,Lc as Qe,M,Mc as ie,Na as x,Nc as ne,Oa as G,Ob as Et,Oc as ae,Pa as B,Pc as z,S as O,Sa as _t,Ta as N,Tc as $e,U as Fe,Uc as Ue,V as D,Va as E,Vb as je,Vc as Xe,W as S,Wa as me,Wb as b,Wc as Ze,X as q,Xa as ue,Xb as kt,Xc as Je,Ya as Ve,Yc as et,Za as ge,Zc as Q,_c as $,aa as Be,ad as se,ba as ce,bb as ft,bd as Oe,ca as de,cc as Tt,d as A,dc as Ge,dd as Ht,e as le,eb as yt,ed as Vt,fa as pe,fb as bt,fc as At,fd as jt,ga as he,gc as Lt,gd as Gt,hb as k,hd as Yt,ia as R,la as mt,lb as f,lc as Dt,ld as Wt,m as H,mb as _e,n as dt,nb as T,oa as j,ob as y,oc as ye,p as pt,qa as u,qc as be,qd as zt,rb as fe,sc as Rt,sd as it,t as L,ta as r,tb as W,tc as Pt,v as Re,vc as ze,wb as vt,wc as qe,xa as P,yb as Ct,yc as te,z as V,za as w,zc as Ce}from"./chunk-HFIM43UT.js";import"./chunk-OPXGAHDX.js";var Ii=["*"];var Ei=new R("MatChipRemove"),si=new R("MatChipAvatar"),ki=new R("MatChipTrailingIcon"),nt=class{constructor(n){this._elementRef=n}},Ti=ne(Qe(ie(nt),"primary"),-1),oi=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275dir=q({type:n,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[Y([{provide:si,useExisting:n}])]})})(),a})();var rt=(()=>{let n=class extends Ti{get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){let t=b(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}get value(){return this._value!==void 0?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=b(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=b(e)}get removable(){return this._removable}set removable(e){this._removable=b(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}constructor(e,t,i,s,o,d,c,_){super(e),this._ngZone=t,this._changeDetectorRef=o,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new A,this._onBlur=new A,this.selectionChange=new k,this.destroyed=new k,this.removed=new k,this._addHostClassName(),this._chipRippleTarget=d.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new $e(this,t,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=s||{},this._animationsDisabled=c==="NoopAnimations",this.tabIndex=_!=null&&parseInt(_)||-1}_addHostClassName(){let e="mat-basic-chip",t=this._elementRef.nativeElement;if(t.hasAttribute(e)||t.tagName.toLowerCase()===e){t.classList.add(e);return}else t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault();break}}_blur(){this._ngZone.onStable.pipe(V(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(fe),r(Et),r(Ue,8),r(W),r(vt),r(mt,8),he("tabindex"))}})(),(()=>{n.\u0275dir=q({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,i,s){if(t&1&&(T(s,si,5),T(s,ki,5),T(s,Ei,5)),t&2){let o;f(o=y())&&(i.avatar=o.first),f(o=y())&&(i.trailingIcon=o.first),f(o=y())&&(i.removeIcon=o.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(t,i){t&1&&g("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),t&2&&(w("tabindex",i.disabled?null:i.tabIndex)("role",i.role)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),N("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[P]})})(),a})();var Ai=new R("mat-chips-default-options"),Li=ae(class{constructor(a,n,l,e){this._defaultErrorStateMatcher=a,this._parentForm=n,this._parentFormGroup=l,this.ngControl=e,this.stateChanges=new A}}),Di=0,at=class{constructor(n,l){this.source=n,this.value=l}},ri=(()=>{let n=class extends Li{get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(e){this._explicitRole=e}get multiple(){return this._multiple}set multiple(e){this._multiple=b(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Se.required)??!1}set required(e){this._required=b(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||this.chips.length===0)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=b(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=b(e),this._syncChipsState()}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return L(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return L(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return L(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return L(...this.chips.map(e=>e.destroyed))}constructor(e,t,i,s,o,d,c){super(d,s,o,c),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new A,this._uid=`mat-chip-list-${Di++}`,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(_,J)=>_===J,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new k,this.valueChange=new k,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this._keyManager=new Lt(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(M(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.subscribe(()=>this._allowFocusEscape()),this.chips.changes.pipe(ee(null),M(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new be(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){let t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(this.chips.length===0?-1:0)}_updateFocusForDestroyedChips(){if(this._lastDestroyedChipIndex!=null)if(this.chips.length){let e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&ei.deselect()),Array.isArray(e))e.forEach(i=>this._selectValue(i,t)),this._sortValues();else{let i=this._selectValue(e,t);i&&t&&this._keyManager.setActiveItem(i)}}_selectValue(e,t=!0){let i=this.chips.find(s=>s.value!=null&&this._compareWith(s.value,e));return i&&(t?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(t=>{t!==e&&t.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let t=null;Array.isArray(this.selected)?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.change.emit(new at(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){this._tabIndex!==-1&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let t=this.chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&this._keyManager.updateActiveItem(t),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{let t=e.chip,i=this.chips.toArray().indexOf(e.chip);this._isValidIndex(i)&&t._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable})}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(W),r(ye,8),r(U,8),r(xe,8),r(z),r(we,10))}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-chip-list"]],contentQueries:function(t,i,s){if(t&1&&T(s,rt,5),t&2){let o;f(o=y())&&(i.chips=o)}},hostAttrs:["ngSkipHydration","",1,"mat-chip-list"],hostVars:14,hostBindings:function(t,i){t&1&&g("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(o){return i._keydown(o)}),t&2&&(ge("id",i._uid),w("tabindex",i.disabled?null:i._tabIndex)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),N("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[Y([{provide:oe,useExisting:n}]),P],ngContentSelectors:Ii,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,i){t&1&&(G(),p(0,"div",0),B(1),h())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0})})(),a})();var li=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({providers:[z,{provide:Ai,useValue:{separatorKeyCodes:[13]}}],imports:[F]})})(),a})();function Fi(a,n){if(a&1&&C(0,"mat-pseudo-checkbox",5),a&2){let l=x();m("state",l.selected?"checked":"unchecked")("disabled",l.disabled)}}function Bi(a,n){if(a&1&&(p(0,"span",6),E(1),h()),a&2){let l=x();u(1),ue("(",l.group.label,")")}}var Ni=["*"];var ke=(()=>{let n=class extends tt{constructor(e,t,i,s){super(e,t,i,s)}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(W),r(Q,8),r($,8))}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,i){t&1&&g("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),t&2&&(ge("id",i.id),w("tabindex",i._getTabIndex())("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),N("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[P],ngContentSelectors:Ni,decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,i){t&1&&(G(),v(0,Fi,1,2,"mat-pseudo-checkbox",0),p(1,"span",1,2),B(3),h(),v(4,Bi,2,1,"span",3),C(5,"div",4)),t&2&&(m("ngIf",i.multiple),u(4),m("ngIf",i.group&&i.group._inert),u(1),m("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Xe,Ot,Je],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0})})(),a})(),lt=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[Ze,K,F,et]})})(),a})();var Yi=["trigger"],Wi=["panel"];var hi=0,mi=new R("mat-select-scroll-strategy");function zi(a){return()=>a.scrollStrategies.reposition()}var qi=new R("MAT_SELECT_CONFIG"),ui={provide:mi,deps:[Ft],useFactory:zi},gi=new R("MatSelectTrigger");var Ki=ie(ne(Ke(ae(class{constructor(a,n,l,e,t){this._elementRef=a,this._defaultErrorStateMatcher=n,this._parentForm=l,this._parentFormGroup=e,this.ngControl=t,this.stateChanges=new A}})))),_i=(()=>{let n=class extends Ki{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Se.required)??!1}set required(e){this._required=b(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=b(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=b(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=kt(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,t,i,s,o,d,c,_,J,Ae,Oi,Si,wi,Le){super(o,s,c,_,Ae),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=i,this._dir=d,this._parentFormField=J,this._liveAnnouncer=wi,this._defaultOptions=Le,this._panelOpen=!1,this._compareWith=(I,De)=>I===De,this._uid=`mat-select-${hi++}`,this._triggerAriaLabelledBy=null,this._destroy=new A,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${hi++}`,this._panelDoneAnimatingStream=new A,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=pt(()=>{let I=this.options;return I?I.changes.pipe(ee(I),Pe(()=>L(...I.map(De=>De.onSelectionChange)))):this._ngZone.onStable.pipe(V(1),Pe(()=>this.optionSelectionChanges))}),this.openedChange=new k,this._openedStream=this.openedChange.pipe(Re(I=>I),H(()=>{})),this._closedStream=this.openedChange.pipe(Re(I=>!I),H(()=>{})),this.selectionChange=new k,this.valueChange=new k,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),Le?.typeaheadDebounceInterval!=null&&(this._typeaheadDebounceInterval=Le.typeaheadDebounceInterval),this._scrollStrategyFactory=Si,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Oi)||0,this.id=this.id}ngOnInit(){this._selectionModel=new be(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ht(),M(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(M(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(ee(null),M(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&Ge(this._trackedModal,"aria-owns",t),Tt(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Ge(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,s=t===13||t===32,o=this._keyManager;if(!o.isTyping()&&s&&!je(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let d=this.selected;o.onKeydown(e);let c=this.selected;c&&d!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,s=i===40||i===38,o=t.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(!o&&(i===13||i===32)&&t.activeItem&&!je(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!o&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let d=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(d?c.select():c.deselect())})}else{let d=t.activeItemIndex;t.onKeydown(e),this._multiple&&s&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==d&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(V(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return i.value!=null&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new At(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=L(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(M(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),L(...this.options.map(t=>t._stateChanges)).pipe(M(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t=null;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(Rt),r(W),r(fe),r(z),r(j),r(ye,8),r(U,8),r(xe,8),r(ti,8),r(we,10),he("tabindex"),r(mi),r(Dt),r(qi,8))}})(),(()=>{n.\u0275dir=q({type:n,viewQuery:function(t,i){if(t&1&&(_e(Yi,5),_e(Wi,5),_e(ve,5)),t&2){let s;f(s=y())&&(i.trigger=s.first),f(s=y())&&(i.panel=s.first),f(s=y())&&(i._overlayDir=s.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[P,Be]})})(),a})();function Qi(a,n){if(a&1&&(p(0,"span",8),E(1),h()),a&2){let l=x();u(1),me(l.placeholder)}}function $i(a,n){if(a&1&&(p(0,"span",12),E(1),h()),a&2){let l=x(2);u(1),me(l.triggerValue)}}function Ui(a,n){a&1&&B(0,0,["*ngSwitchCase","true"])}function Xi(a,n){if(a&1&&(p(0,"span",9),v(1,$i,2,1,"span",10),v(2,Ui,1,0,"ng-content",11),h()),a&2){let l=x();m("ngSwitch",!!l.customTrigger),u(2),m("ngSwitchCase",!0)}}function Zi(a,n){if(a&1){let l=He();p(0,"div",13)(1,"div",14,15),g("@transformPanel.done",function(t){ce(l);let i=x();return de(i._panelDoneAnimatingStream.next(t.toState))})("keydown",function(t){ce(l);let i=x();return de(i._handleKeydown(t))}),B(3,1),h()()}if(a&2){let l=x();m("@transformPanelWrap",void 0),u(1),Ve("mat-select-panel ",l._getPanelTheme(),""),_t("transform-origin",l._transformOrigin)("font-size",l._triggerFontSize,"px"),m("ngClass",l.panelClass)("@transformPanel",l.multiple?"showing-multiple":"showing"),w("id",l.id+"-panel")("aria-multiselectable",l.multiple)("aria-label",l.ariaLabel||null)("aria-labelledby",l._getPanelAriaLabelledby())}}var Ji=[[["mat-select-trigger"]],"*"],en=["mat-select-trigger","*"],fi={transformPanelWrap:ze("transformPanelWrap",[Me("* => void",Nt("@transformPanel",[Bt()],{optional:!0}))]),transformPanel:ze("transformPanel",[Ce("void",te({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ce("showing",te({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ce("showing-multiple",te({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Me("void => *",qe("120ms cubic-bezier(0, 0, 0.2, 1)")),Me("* => void",qe("100ms 25ms linear",te({opacity:0})))])},re=256,Z=16,tn=Z*2,nn=3,yi=Z*1.5+16,Te=8,ct=class{constructor(n,l){this.source=n,this.value=l}};var bi=(()=>{let n=class extends _i{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,i){let s=this._getItemHeight(),o=s*e,d=s/2,c=o-t+d;return Math.min(Math.max(0,c),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(M(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(V(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){let t=se(e,this.options,this.optionGroups),i=this._getItemHeight();e===0&&t===1?this.panel.nativeElement.scrollTop=0:this.panel.nativeElement.scrollTop=Oe((e+t)*i,i,this.panel.nativeElement.scrollTop,re)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new ct(this,e)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){let e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),i=this._isRtl(),s=this.multiple?yi+Z:Z*2,o;if(this.multiple)o=yi;else if(this.disableOptionCentering)o=Z;else{let _=this._selectionModel.selected[0]||this.options.first;o=_&&_.group?tn:Z}i||(o*=-1);let d=0-(e.left+o-(i?s:0)),c=e.right+o-t.width+(i?0:s);d>0?o+=d+Te:c>0&&(o-=c+Te),this._overlayDir.offsetX=Math.round(o),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,i){let s=this._getItemHeight(),o=(s-this._triggerRect.height)/2,d=Math.floor(re/s),c;if(this.disableOptionCentering)return 0;if(this._scrollTop===0)c=e*s;else if(this._scrollTop===i){let _=this._getItemCount()-d,J=e-_,Ae=s-(this._getItemCount()*s-re)%s;c=J*s+Ae}else c=t-s/2;return Math.round(c*-1-o)}_checkOverlayWithinViewport(e){let t=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),s=this._triggerRect.top-Te,o=i.height-this._triggerRect.bottom-Te,d=Math.abs(this._offsetY),_=Math.min(this._getItemCount()*t,re)-d-this._triggerRect.height;_>o?this._adjustPanelUp(_,o):d>s?this._adjustPanelDown(d,s,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){let i=Math.round(e-t);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,i){let s=Math.round(e-t);if(this._scrollTop+=s,this._offsetY+=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i){this._scrollTop=i,this._offsetY=0,this._transformOrigin="50% top 0px";return}}_calculateOverlayPosition(){let e=this._getItemHeight(),t=this._getItemCount(),i=Math.min(t*e,re),o=t*e-i,d;this.empty?d=0:d=Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),d+=se(d,this.options,this.optionGroups);let c=i/2;this._scrollTop=this._calculateOverlayScroll(d,c,o),this._offsetY=this._calculateOverlayOffsetY(d,c,o),this._checkOverlayWithinViewport(o)}_getOriginBasedOnOption(){let e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return this._triggerFontSize*nn}_getItemCount(){return this.options.length+this.optionGroups.length}},a=n;return(()=>{n.\u0275fac=function(){let e;return function(i){return(e||(e=pe(n)))(i||n)}}()})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-select"]],contentQueries:function(t,i,s){if(t&1&&(T(s,gi,5),T(s,ke,5),T(s,$,5)),t&2){let o;f(o=y())&&(i.customTrigger=o.first),f(o=y())&&(i.options=o),f(o=y())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(t,i){t&1&&g("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(w("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),N("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Y([{provide:oe,useExisting:n},{provide:Q,useExisting:n}]),P],ngContentSelectors:en,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,i){if(t&1&&(G(Ji),p(0,"div",0,1),g("click",function(){return i.toggle()}),p(3,"div",2),v(4,Qi,2,1,"span",3),v(5,Xi,3,2,"span",4),h(),p(6,"div",5),C(7,"div",6),h()(),v(8,Zi,4,14,"ng-template",7),g("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),t&2){let s=Ne(1);w("aria-owns",i.panelOpen?i.id+"-panel":null),u(3),m("ngSwitch",i.empty),w("id",i._valueId),u(1),m("ngSwitchCase",!0),u(1),m("ngSwitchCase",!1),u(3),m("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",i._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Ct,St,wt,xt,ve,Ye],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{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;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[fi.transformPanelWrap,fi.transformPanel]},changeDetection:0})})(),a})(),vi=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({providers:[ui],imports:[K,We,lt,F,Pt,Ie,lt,F]})})(),a})();function sn(a,n){if(a&1&&(p(0,"mat-option",17),E(1),h()),a&2){let l=n.$implicit,e=n.index;m("value",e),u(1),ue(" ",l," ")}}var on=function(){return["AngularFan@gmail.com","MaterialFan@gmail.com"]},Ci=(()=>{let n=class{constructor(){this.route=Fe(Wt),this.navigationContext=Fe(ei),this.subject$=new le(""),this.senderEmail$=new le(0),this.content$=new le(""),this.mailId$=this.route.queryParams.pipe(H(e=>e.reply)),this.backUrl$=dt([this.mailId$,qt(this.navigationContext).pipe(H(e=>e.latestMailboxUrl))]).pipe(H(([e,t])=>t?e?`${t}/${e}`:t:"/"))}ngOnInit(){}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["rpl-compose"]],decls:26,vars:8,consts:[["ngForm",""],[1,"subject-line"],["mat-icon-button","","matTooltip","Close",3,"routerLink"],["fontSet","filled","fontIcon","close"],["name","subject","type","text","placeholder","Subject",3,"ngModel","ngModelChange"],["mat-icon-button","","matTooltip","send"],["svgIcon","send"],[1,"sender-line"],["name","senderEmail",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"recipient-line"],["matChipAvatar","","src","assets/demo/avatar-1.jpg","alt","Avatar"],["matChipAvatar","","src","assets/demo/avatar-2.jpg","alt","Avatar"],["mat-icon-button","","matTooltip","Add recipient"],["fontSet","filled","fontIcon","add_circle_outline"],[1,"content-section"],["name","content","placeholder","New Message...",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,i){t&1&&(ut(0,0),p(1,"rpl-header",1)(2,"a",2),yt(3,"async"),C(4,"mat-icon",3),h(),p(5,"input",4),g("ngModelChange",function(o){return i.subject$.next(o)}),h(),p(6,"button",5),C(7,"mat-icon",6),h()(),p(8,"div",7)(9,"mat-form-field")(10,"mat-select",8),g("ngModelChange",function(o){return i.senderEmail$.next(o)}),v(11,sn,2,2,"mat-option",9),h()()(),p(12,"div",10)(13,"mat-chip-list")(14,"mat-chip"),C(15,"img",11),p(16,"span"),E(17,"Recipient1"),h()(),p(18,"mat-chip"),C(19,"img",12),p(20,"span"),E(21,"Recipient2"),h()()(),p(22,"button",13),C(23,"mat-icon",14),h()(),p(24,"div",15)(25,"textarea",16),g("ngModelChange",function(o){return i.content$.next(o)}),h()(),gt()),t&2&&(u(2),m("routerLink",bt(3,5,i.backUrl$)),u(3),m("ngModel",i.subject$.value),u(5),m("ngModel",i.senderEmail$.value),u(1),m("ngForOf",ft(7,on)),u(14),m("ngModel",i.content$.value))},dependencies:[Mt,zt,Kt,Qt,$t,Ut,U,jt,Gt,ri,rt,oi,ii,Zt,Ht,bi,ke,Ee,It],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.recipient-line[_ngcontent-%COMP%], .sender-line[_ngcontent-%COMP%], .subject-line[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.12)}.subject-line[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:0;flex-grow:1;font-size:16px;font-weight:700;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.sender-line[_ngcontent-%COMP%]{padding:0 16px}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:1em}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{visibility:hidden}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]:has(:focus-visible) .mat-form-field-underline{visibility:visible}.recipient-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:8px}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{width:0;flex-grow:1}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{min-height:initial;height:28px;background-color:#eef1f3;font-size:14px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:active{box-shadow:none}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] [matChipAvatar][_ngcontent-%COMP%]{margin-left:0;width:28px;height:28px}.content-section[_ngcontent-%COMP%]{height:0;flex-grow:1;padding:16px}.content-section[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),a})();var ln=[{path:"",component:Ci,title:"Compose",data:{animationId:"compose"}}],Mi=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[it.forChild(ln),it]})})(),a})();var ws=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[K,Mi,Xt,Yt,li,Ie,Jt,Vt,vi,Ee]})})(),a})();export{ws as ComposeModule}; diff --git a/compose.module-RFO3KFRC.js b/compose.module-RFO3KFRC.js deleted file mode 100644 index 21693b87..00000000 --- a/compose.module-RFO3KFRC.js +++ /dev/null @@ -1 +0,0 @@ -import{a as oe,b as ti,c as ii,d as Ie,e as Ee}from"./chunk-YYPCQDSP.js";import{a as Zt,b as Jt,c as ei}from"./chunk-VLKDZGSJ.js";import{i as Ft,j as Ye,k as ve,l as We,n as qt}from"./chunk-T7HJLGDV.js";import{b as Kt,c as Se,d as we,e as Qt,f as $t,g as U,h as Ut,i as xe,j as Xt}from"./chunk-MHK45Q7K.js";import{$a as ge,$c as Q,A as V,Ab as Ct,Ac as te,Ba as w,Bc as Ce,Ca as v,Cb as Mt,Cc as Me,D as ht,Da as Ne,Db as Ot,Ea as m,Eb as St,Ec as Bt,Fa as p,Fb as wt,Ga as h,Gb as xt,Gc as Nt,Ha as C,Ia as ut,Ib as It,Ja as gt,Jb as K,La as He,Lc as F,M as ee,Mc as Ke,N as Pe,Na as g,Nc as Qe,O as M,Oc as ie,Pa as x,Pc as ne,Qa as G,Qb as Et,Qc as ae,Ra as B,Rc as z,U as O,Ua as _t,Va as N,Vc as $e,W as Fe,Wc as Ue,X as D,Xa as E,Xb as je,Xc as Xe,Y as S,Ya as me,Yb as b,Yc as Ze,Z as q,Za as ue,Zb as kt,Zc as Je,_a as Ve,_c as et,ad as $,bb as Y,bd as tt,ca as Be,cd as se,d as A,da as ce,db as ft,dd as Oe,e as le,ea as de,ec as Tt,fc as Ge,fd as Ht,gb as yt,gd as Vt,ha as pe,hb as bt,hc as At,hd as jt,ia as he,ic as Lt,id as Gt,jb as k,jd as Yt,ka as R,m as H,n as dt,na as mt,nb as f,nc as Dt,nd as Wt,ob as _e,p as pt,pb as T,qa as j,qb as y,qc as ye,sa as u,sc as be,sd as zt,t as L,tb as fe,uc as Rt,ud as it,v as Re,va as r,vb as W,vc as Pt,xc as ze,yb as vt,yc as qe,za as P}from"./chunk-LCFD4RLU.js";import"./chunk-OPXGAHDX.js";var Ii=["*"];var Ei=new R("MatChipRemove"),si=new R("MatChipAvatar"),ki=new R("MatChipTrailingIcon"),nt=class{constructor(n){this._elementRef=n}},Ti=ne(Qe(ie(nt),"primary"),-1),oi=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275dir=q({type:n,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[Y([{provide:si,useExisting:n}])]})})(),a})();var rt=(()=>{let n=class extends Ti{get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){let t=b(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}get value(){return this._value!==void 0?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=b(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=b(e)}get removable(){return this._removable}set removable(e){this._removable=b(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}constructor(e,t,i,s,o,d,c,_){super(e),this._ngZone=t,this._changeDetectorRef=o,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new A,this._onBlur=new A,this.selectionChange=new k,this.destroyed=new k,this.removed=new k,this._addHostClassName(),this._chipRippleTarget=d.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new $e(this,t,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=s||{},this._animationsDisabled=c==="NoopAnimations",this.tabIndex=_!=null&&parseInt(_)||-1}_addHostClassName(){let e="mat-basic-chip",t=this._elementRef.nativeElement;if(t.hasAttribute(e)||t.tagName.toLowerCase()===e){t.classList.add(e);return}else t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled&&e.preventDefault()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault();break}}_blur(){this._ngZone.onStable.pipe(V(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(fe),r(Et),r(Ue,8),r(W),r(vt),r(mt,8),he("tabindex"))}})(),(()=>{n.\u0275dir=q({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,i,s){if(t&1&&(T(s,si,5),T(s,ki,5),T(s,Ei,5)),t&2){let o;f(o=y())&&(i.avatar=o.first),f(o=y())&&(i.trailingIcon=o.first),f(o=y())&&(i.removeIcon=o.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(t,i){t&1&&g("click",function(o){return i._handleClick(o)})("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i.focus()})("blur",function(){return i._blur()}),t&2&&(w("tabindex",i.disabled?null:i.tabIndex)("role",i.role)("disabled",i.disabled||null)("aria-disabled",i.disabled.toString())("aria-selected",i.ariaSelected),N("mat-chip-selected",i.selected)("mat-chip-with-avatar",i.avatar)("mat-chip-with-trailing-icon",i.trailingIcon||i.removeIcon)("mat-chip-disabled",i.disabled)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[P]})})(),a})();var Ai=new R("mat-chips-default-options"),Li=ae(class{constructor(a,n,l,e){this._defaultErrorStateMatcher=a,this._parentForm=n,this._parentFormGroup=l,this.ngControl=e,this.stateChanges=new A}}),Di=0,at=class{constructor(n,l){this.source=n,this.value=l}},ri=(()=>{let n=class extends Li{get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(e){this._explicitRole=e}get multiple(){return this._multiple}set multiple(e){this._multiple=b(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Se.required)??!1}set required(e){this._required=b(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||this.chips.length===0)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=b(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=b(e),this._syncChipsState()}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return L(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return L(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return L(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return L(...this.chips.map(e=>e.destroyed))}constructor(e,t,i,s,o,d,c){super(d,s,o,c),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new A,this._uid=`mat-chip-list-${Di++}`,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(_,J)=>_===J,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new k,this.valueChange=new k,this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this._keyManager=new Lt(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(M(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.subscribe(()=>this._allowFocusEscape()),this.chips.changes.pipe(ee(null),M(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new be(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){let t=e.target;t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(this.chips.length===0?-1:0)}_updateFocusForDestroyedChips(){if(this._lastDestroyedChipIndex!=null)if(this.chips.length){let e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&ei.deselect()),Array.isArray(e))e.forEach(i=>this._selectValue(i,t)),this._sortValues();else{let i=this._selectValue(e,t);i&&t&&this._keyManager.setActiveItem(i)}}_selectValue(e,t=!0){let i=this.chips.find(s=>s.value!=null&&this._compareWith(s.value,e));return i&&(t?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(t=>{t!==e&&t.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let t=null;Array.isArray(this.selected)?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.change.emit(new at(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){this._tabIndex!==-1&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let t=this.chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&this._keyManager.updateActiveItem(t),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{let t=e.chip,i=this.chips.toArray().indexOf(e.chip);this._isValidIndex(i)&&t._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple,e.chipListSelectable=this._selectable})}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(W),r(ye,8),r(U,8),r(xe,8),r(z),r(we,10))}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-chip-list"]],contentQueries:function(t,i,s){if(t&1&&T(s,rt,5),t&2){let o;f(o=y())&&(i.chips=o)}},hostAttrs:["ngSkipHydration","",1,"mat-chip-list"],hostVars:14,hostBindings:function(t,i){t&1&&g("focus",function(){return i.focus()})("blur",function(){return i._blur()})("keydown",function(o){return i._keydown(o)}),t&2&&(ge("id",i._uid),w("tabindex",i.disabled?null:i._tabIndex)("aria-required",i.role?i.required:null)("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-multiselectable",i.multiple)("role",i.role)("aria-orientation",i.ariaOrientation),N("mat-chip-list-disabled",i.disabled)("mat-chip-list-invalid",i.errorState)("mat-chip-list-required",i.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[Y([{provide:oe,useExisting:n}]),P],ngContentSelectors:Ii,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,i){t&1&&(G(),p(0,"div",0),B(1),h())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0})})(),a})();var li=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({providers:[z,{provide:Ai,useValue:{separatorKeyCodes:[13]}}],imports:[F]})})(),a})();function Fi(a,n){if(a&1&&C(0,"mat-pseudo-checkbox",5),a&2){let l=x();m("state",l.selected?"checked":"unchecked")("disabled",l.disabled)}}function Bi(a,n){if(a&1&&(p(0,"span",6),E(1),h()),a&2){let l=x();u(1),ue("(",l.group.label,")")}}var Ni=["*"];var ke=(()=>{let n=class extends tt{constructor(e,t,i,s){super(e,t,i,s)}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(j),r(W),r(Q,8),r($,8))}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,i){t&1&&g("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),t&2&&(ge("id",i.id),w("tabindex",i._getTabIndex())("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),N("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[P],ngContentSelectors:Ni,decls:6,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,i){t&1&&(G(),v(0,Fi,1,2,"mat-pseudo-checkbox",0),p(1,"span",1,2),B(3),h(),v(4,Bi,2,1,"span",3),C(5,"div",4)),t&2&&(m("ngIf",i.multiple),u(4),m("ngIf",i.group&&i.group._inert),u(1),m("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[Xe,Ot,Je],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0})})(),a})(),lt=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[Ze,K,F,et]})})(),a})();var Yi=["trigger"],Wi=["panel"];var hi=0,mi=new R("mat-select-scroll-strategy");function zi(a){return()=>a.scrollStrategies.reposition()}var qi=new R("MAT_SELECT_CONFIG"),ui={provide:mi,deps:[Ft],useFactory:zi},gi=new R("MatSelectTrigger");var Ki=ie(ne(Ke(ae(class{constructor(a,n,l,e,t){this._elementRef=a,this._defaultErrorStateMatcher=n,this._parentForm=l,this._parentFormGroup=e,this.ngControl=t,this.stateChanges=new A}})))),_i=(()=>{let n=class extends Ki{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Se.required)??!1}set required(e){this._required=b(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=b(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=b(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=kt(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}constructor(e,t,i,s,o,d,c,_,J,Ae,Oi,Si,wi,Le){super(o,s,c,_,Ae),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=i,this._dir=d,this._parentFormField=J,this._liveAnnouncer=wi,this._defaultOptions=Le,this._panelOpen=!1,this._compareWith=(I,De)=>I===De,this._uid=`mat-select-${hi++}`,this._triggerAriaLabelledBy=null,this._destroy=new A,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${hi++}`,this._panelDoneAnimatingStream=new A,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=pt(()=>{let I=this.options;return I?I.changes.pipe(ee(I),Pe(()=>L(...I.map(De=>De.onSelectionChange)))):this._ngZone.onStable.pipe(V(1),Pe(()=>this.optionSelectionChanges))}),this.openedChange=new k,this._openedStream=this.openedChange.pipe(Re(I=>I),H(()=>{})),this._closedStream=this.openedChange.pipe(Re(I=>!I),H(()=>{})),this.selectionChange=new k,this.valueChange=new k,this._trackedModal=null,this.ngControl&&(this.ngControl.valueAccessor=this),Le?.typeaheadDebounceInterval!=null&&(this._typeaheadDebounceInterval=Le.typeaheadDebounceInterval),this._scrollStrategyFactory=Si,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(Oi)||0,this.id=this.id}ngOnInit(){this._selectionModel=new be(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ht(),M(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(M(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(ee(null),M(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby")}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}_applyModalPanelOwnership(){let e=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=`${this.id}-panel`;this._trackedModal&&Ge(this._trackedModal,"aria-owns",t),Tt(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;Ge(this._trackedModal,"aria-owns",e),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,s=t===13||t===32,o=this._keyManager;if(!o.isTyping()&&s&&!je(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let d=this.selected;o.onKeydown(e);let c=this.selected;c&&d!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,s=i===40||i===38,o=t.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(!o&&(i===13||i===32)&&t.activeItem&&!je(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!o&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let d=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(d?c.select():c.deselect())})}else{let d=t.activeItemIndex;t.onKeydown(e),this._multiple&&s&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==d&&t.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(V(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else{let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return!1;try{return i.value!=null&&this._compareWith(i.value,e)}catch{return!1}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,!0):!1}_skipPredicate(e){return e.disabled}_initKeyManager(){this._keyManager=new At(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let e=L(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(M(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),L(...this.options.map(t=>t._stateChanges)).pipe(M(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(e,t){let i=this._selectionModel.isSelected(e);e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t=null;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId(),t=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)(r(Rt),r(W),r(fe),r(z),r(j),r(ye,8),r(U,8),r(xe,8),r(ti,8),r(we,10),he("tabindex"),r(mi),r(Dt),r(qi,8))}})(),(()=>{n.\u0275dir=q({type:n,viewQuery:function(t,i){if(t&1&&(_e(Yi,5),_e(Wi,5),_e(ve,5)),t&2){let s;f(s=y())&&(i.trigger=s.first),f(s=y())&&(i.panel=s.first),f(s=y())&&(i._overlayDir=s.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[P,Be]})})(),a})();function Qi(a,n){if(a&1&&(p(0,"span",8),E(1),h()),a&2){let l=x();u(1),me(l.placeholder)}}function $i(a,n){if(a&1&&(p(0,"span",12),E(1),h()),a&2){let l=x(2);u(1),me(l.triggerValue)}}function Ui(a,n){a&1&&B(0,0,["*ngSwitchCase","true"])}function Xi(a,n){if(a&1&&(p(0,"span",9),v(1,$i,2,1,"span",10),v(2,Ui,1,0,"ng-content",11),h()),a&2){let l=x();m("ngSwitch",!!l.customTrigger),u(2),m("ngSwitchCase",!0)}}function Zi(a,n){if(a&1){let l=He();p(0,"div",13)(1,"div",14,15),g("@transformPanel.done",function(t){ce(l);let i=x();return de(i._panelDoneAnimatingStream.next(t.toState))})("keydown",function(t){ce(l);let i=x();return de(i._handleKeydown(t))}),B(3,1),h()()}if(a&2){let l=x();m("@transformPanelWrap",void 0),u(1),Ve("mat-select-panel ",l._getPanelTheme(),""),_t("transform-origin",l._transformOrigin)("font-size",l._triggerFontSize,"px"),m("ngClass",l.panelClass)("@transformPanel",l.multiple?"showing-multiple":"showing"),w("id",l.id+"-panel")("aria-multiselectable",l.multiple)("aria-label",l.ariaLabel||null)("aria-labelledby",l._getPanelAriaLabelledby())}}var Ji=[[["mat-select-trigger"]],"*"],en=["mat-select-trigger","*"],fi={transformPanelWrap:ze("transformPanelWrap",[Me("* => void",Nt("@transformPanel",[Bt()],{optional:!0}))]),transformPanel:ze("transformPanel",[Ce("void",te({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ce("showing",te({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ce("showing-multiple",te({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Me("void => *",qe("120ms cubic-bezier(0, 0, 0.2, 1)")),Me("* => void",qe("100ms 25ms linear",te({opacity:0})))])},re=256,Z=16,tn=Z*2,nn=3,yi=Z*1.5+16,Te=8,ct=class{constructor(n,l){this.source=n,this.value=l}};var bi=(()=>{let n=class extends _i{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,t,i){let s=this._getItemHeight(),o=s*e,d=s/2,c=o-t+d;return Math.min(Math.max(0,c),i)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(M(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(V(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){let t=se(e,this.options,this.optionGroups),i=this._getItemHeight();e===0&&t===1?this.panel.nativeElement.scrollTop=0:this.panel.nativeElement.scrollTop=Oe((e+t)*i,i,this.panel.nativeElement.scrollTop,re)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new ct(this,e)}_getOverlayMinWidth(){return this._triggerRect?.width}_calculateOverlayOffsetX(){let e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),i=this._isRtl(),s=this.multiple?yi+Z:Z*2,o;if(this.multiple)o=yi;else if(this.disableOptionCentering)o=Z;else{let _=this._selectionModel.selected[0]||this.options.first;o=_&&_.group?tn:Z}i||(o*=-1);let d=0-(e.left+o-(i?s:0)),c=e.right+o-t.width+(i?0:s);d>0?o+=d+Te:c>0&&(o-=c+Te),this._overlayDir.offsetX=Math.round(o),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,i){let s=this._getItemHeight(),o=(s-this._triggerRect.height)/2,d=Math.floor(re/s),c;if(this.disableOptionCentering)return 0;if(this._scrollTop===0)c=e*s;else if(this._scrollTop===i){let _=this._getItemCount()-d,J=e-_,Ae=s-(this._getItemCount()*s-re)%s;c=J*s+Ae}else c=t-s/2;return Math.round(c*-1-o)}_checkOverlayWithinViewport(e){let t=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),s=this._triggerRect.top-Te,o=i.height-this._triggerRect.bottom-Te,d=Math.abs(this._offsetY),_=Math.min(this._getItemCount()*t,re)-d-this._triggerRect.height;_>o?this._adjustPanelUp(_,o):d>s?this._adjustPanelDown(d,s,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){let i=Math.round(e-t);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,i){let s=Math.round(e-t);if(this._scrollTop+=s,this._offsetY+=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i){this._scrollTop=i,this._offsetY=0,this._transformOrigin="50% top 0px";return}}_calculateOverlayPosition(){let e=this._getItemHeight(),t=this._getItemCount(),i=Math.min(t*e,re),o=t*e-i,d;this.empty?d=0:d=Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),d+=se(d,this.options,this.optionGroups);let c=i/2;this._scrollTop=this._calculateOverlayScroll(d,c,o),this._offsetY=this._calculateOverlayOffsetY(d,c,o),this._checkOverlayWithinViewport(o)}_getOriginBasedOnOption(){let e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemHeight(){return this._triggerFontSize*nn}_getItemCount(){return this.options.length+this.optionGroups.length}},a=n;return(()=>{n.\u0275fac=function(){let e;return function(i){return(e||(e=pe(n)))(i||n)}}()})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["mat-select"]],contentQueries:function(t,i,s){if(t&1&&(T(s,gi,5),T(s,ke,5),T(s,$,5)),t&2){let o;f(o=y())&&(i.customTrigger=o.first),f(o=y())&&(i.options=o),f(o=y())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(t,i){t&1&&g("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(w("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),N("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Y([{provide:oe,useExisting:n},{provide:Q,useExisting:n}]),P],ngContentSelectors:en,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,i){if(t&1&&(G(Ji),p(0,"div",0,1),g("click",function(){return i.toggle()}),p(3,"div",2),v(4,Qi,2,1,"span",3),v(5,Xi,3,2,"span",4),h(),p(6,"div",5),C(7,"div",6),h()(),v(8,Zi,4,14,"ng-template",7),g("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),t&2){let s=Ne(1);w("aria-owns",i.panelOpen?i.id+"-panel":null),u(3),m("ngSwitch",i.empty),w("id",i._valueId),u(1),m("ngSwitchCase",!0),u(1),m("ngSwitchCase",!1),u(3),m("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",s)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",i._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Ct,St,wt,xt,ve,Ye],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{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;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[fi.transformPanelWrap,fi.transformPanel]},changeDetection:0})})(),a})(),vi=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({providers:[ui],imports:[K,We,lt,F,Pt,Ie,lt,F]})})(),a})();function sn(a,n){if(a&1&&(p(0,"mat-option",17),E(1),h()),a&2){let l=n.$implicit,e=n.index;m("value",e),u(1),ue(" ",l," ")}}var on=function(){return["AngularFan@gmail.com","MaterialFan@gmail.com"]},Ci=(()=>{let n=class{constructor(){this.route=Fe(Wt),this.navigationContext=Fe(ei),this.subject$=new le(""),this.senderEmail$=new le(0),this.content$=new le(""),this.mailId$=this.route.queryParams.pipe(H(e=>e.reply)),this.backUrl$=dt([this.mailId$,qt(this.navigationContext).pipe(H(e=>e.latestMailboxUrl))]).pipe(H(([e,t])=>t?e?`${t}/${e}`:t:"/"))}ngOnInit(){}},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275cmp=D({type:n,selectors:[["rpl-compose"]],decls:26,vars:8,consts:[["ngForm",""],[1,"subject-line"],["mat-icon-button","","matTooltip","Close",3,"routerLink"],["fontSet","filled","fontIcon","close"],["name","subject","type","text","placeholder","Subject",3,"ngModel","ngModelChange"],["mat-icon-button","","matTooltip","send"],["svgIcon","send"],[1,"sender-line"],["name","senderEmail",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"recipient-line"],["matChipAvatar","","src","assets/demo/avatar-1.jpg","alt","Avatar"],["matChipAvatar","","src","assets/demo/avatar-2.jpg","alt","Avatar"],["mat-icon-button","","matTooltip","Add recipient"],["fontSet","filled","fontIcon","add_circle_outline"],[1,"content-section"],["name","content","placeholder","New Message...",3,"ngModel","ngModelChange"],[3,"value"]],template:function(t,i){t&1&&(ut(0,0),p(1,"rpl-header",1)(2,"a",2),yt(3,"async"),C(4,"mat-icon",3),h(),p(5,"input",4),g("ngModelChange",function(o){return i.subject$.next(o)}),h(),p(6,"button",5),C(7,"mat-icon",6),h()(),p(8,"div",7)(9,"mat-form-field")(10,"mat-select",8),g("ngModelChange",function(o){return i.senderEmail$.next(o)}),v(11,sn,2,2,"mat-option",9),h()()(),p(12,"div",10)(13,"mat-chip-list")(14,"mat-chip"),C(15,"img",11),p(16,"span"),E(17,"Recipient1"),h()(),p(18,"mat-chip"),C(19,"img",12),p(20,"span"),E(21,"Recipient2"),h()()(),p(22,"button",13),C(23,"mat-icon",14),h()(),p(24,"div",15)(25,"textarea",16),g("ngModelChange",function(o){return i.content$.next(o)}),h()(),gt()),t&2&&(u(2),m("routerLink",bt(3,5,i.backUrl$)),u(3),m("ngModel",i.subject$.value),u(5),m("ngModel",i.senderEmail$.value),u(1),m("ngForOf",ft(7,on)),u(14),m("ngModel",i.content$.value))},dependencies:[Mt,zt,Kt,Qt,$t,Ut,U,jt,Gt,ri,rt,oi,ii,Zt,Ht,bi,ke,Ee,It],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.recipient-line[_ngcontent-%COMP%], .sender-line[_ngcontent-%COMP%], .subject-line[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.12)}.subject-line[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:0;flex-grow:1;font-size:16px;font-weight:700;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.sender-line[_ngcontent-%COMP%]{padding:0 16px}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{width:100%}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:1em}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{visibility:hidden}.sender-line[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]:has(:focus-visible) .mat-form-field-underline{visibility:visible}.recipient-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:8px}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{width:0;flex-grow:1}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{min-height:initial;height:28px;background-color:#eef1f3;font-size:14px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:active{box-shadow:none}.recipient-line[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] [matChipAvatar][_ngcontent-%COMP%]{margin-left:0;width:28px;height:28px}.content-section[_ngcontent-%COMP%]{height:0;flex-grow:1;padding:16px}.content-section[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),a})();var ln=[{path:"",component:Ci,title:"Compose",data:{animationId:"compose"}}],Mi=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[it.forChild(ln),it]})})(),a})();var ws=(()=>{let n=class{},a=n;return(()=>{n.\u0275fac=function(t){return new(t||n)}})(),(()=>{n.\u0275mod=S({type:n})})(),(()=>{n.\u0275inj=O({imports:[K,Mi,Xt,Yt,li,Ie,Jt,Vt,vi,Ee]})})(),a})();export{ws as ComposeModule}; diff --git a/index.html b/index.html index aae91566..ef66743d 100644 --- a/index.html +++ b/index.html @@ -8,11 +8,11 @@ - + - + diff --git a/mails.module-AEE4XBYU.js b/mails.module-L46UK4PD.js similarity index 97% rename from mails.module-AEE4XBYU.js rename to mails.module-L46UK4PD.js index 1a527ce0..f016009f 100644 --- a/mails.module-AEE4XBYU.js +++ b/mails.module-L46UK4PD.js @@ -1,4 +1,4 @@ -import{b as Ii,c as Pi,d as Di,e as Ue,f as Ri,g as wi,i as Oi,j as Ti,l as Ai,m as Yt}from"./chunk-XVSFZ2EY.js";import{a as he,b as ge,d as _e,e as Rt}from"./chunk-RXZGXWOS.js";import{c as Vi,d as pe,e as st}from"./chunk-HN2ZODN7.js";import{a as de,b as Ki,c as fe}from"./chunk-KMPJQAXK.js";import{a as ki,b as Ye,c as Ei,d as Ut,e as Li,f as Fi,g as $,h as Ni,i as ji,j as Bi,k as L,l as $i,m as lt,n as ct,q as qe,r as mt}from"./chunk-NEYEICGN.js";import{a as Hi}from"./chunk-KAVP63DH.js";import{b as qi,d as zi,e as Gi,f as Wi}from"./chunk-67MWGK7F.js";import{d as X}from"./chunk-GWX3GFXN.js";import{a as K,b as Xi,c as Zi}from"./chunk-VLKDZGSJ.js";import{b as _i,f as Mi,i as re,l as $e,m as Qi}from"./chunk-T7HJLGDV.js";import"./chunk-MHK45Q7K.js";import{A as Jt,Aa as ii,Ab as Ne,Ac as z,Ba as Z,Bb as ci,Bc as He,C as ke,Ca as d,Cb as ae,Cc as rt,Da as ie,Db as D,Dc as yi,Ea as l,Fa as p,Fc as se,Ga as u,Gc as vi,H as W,Ha as h,Hc as bi,I as Ee,Ia as R,Ib as j,Ja as w,Jb as U,Jc as gt,K as _t,Ka as ni,La as J,Lc as le,M as te,Mc as Ci,N as M,Na as P,O as it,Oc as xi,Pa as f,Qa as Bt,Ra as vt,Rb as mi,Sa as tt,T as A,U as ut,V as ti,Va as bt,W as s,X as g,Xa as C,Xb as pi,Xc as Dt,Y as dt,Ya as Q,Yb as je,Yc as Ht,Z as jt,Za as E,_ as Mt,a as Kt,ab as oi,bb as ne,c as Oe,ca as ei,cb as Ct,d as pt,da as F,db as ai,ea as N,eb as ri,f as Wt,fa as ee,fd as B,g as Te,gb as y,gd as ce,ha as yt,hb as I,hd as G,ib as at,ic as ui,id as Si,j as et,jb as q,jd as me,ka as ft,kb as si,kd as Ui,l as Zt,lb as Fe,lc as di,m as _,mb as xt,mc as fi,n as Je,nb as O,nd as ue,ob as k,oc as Be,pb as oe,qa as nt,qb as T,qc as hi,rb as $t,rd as Yi,s as Ae,sa as c,sd as St,t as H,tb as Vt,ua as Le,ud as Qe,v as x,va as b,vb as ht,vc as gi,x as Nt,xc as It,yb as li,yc as Pt,za as ot,zc as Ve}from"./chunk-LCFD4RLU.js";import{a as Ze,f as we}from"./chunk-OPXGAHDX.js";var Hn=["mat-menu-item",""];function Un(o,i){o&1&&(ee(),p(0,"svg",3),h(1,"polygon",4),u())}var Yn=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Qn=["mat-icon, [matMenuItemIcon]","*"];var Me=new ft("MAT_MENU_PANEL"),qn=xi(Ci(class{})),Ot=(()=>{let i=class extends qn{constructor(t,e,n,a,m){super(),this._elementRef=t,this._document=e,this._focusMonitor=n,this._parentMenu=a,this._changeDetectorRef=m,this.role="menuitem",this._hovered=new pt,this._focused=new pt,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let t=this._elementRef.nativeElement.cloneNode(!0),e=t.querySelectorAll("mat-icon, .material-icons");for(let n=0;n{i.\u0275fac=function(e){return new(e||i)(b(nt),b(li),b(Be),b(Me,8),b(ht))}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(e,n){e&1&&P("click",function(m){return n._checkDisabled(m)})("mouseenter",function(){return n._handleMouseEnter()}),e&2&&(Z("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled)("disabled",n.disabled||null),bt("mat-mdc-menu-item-highlighted",n._highlighted)("mat-mdc-menu-item-submenu-trigger",n._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[ot],attrs:Hn,ngContentSelectors:Qn,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){e&1&&(Bt(Yn),vt(0),p(1,"span",0),vt(2,1),u(),h(3,"div",1),d(4,Un,2,0,"svg",2)),e&2&&(c(3),l("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),c(1),l("ngIf",n._triggersSubmenu))},dependencies:[D,Dt],encapsulation:2,changeDetection:0})})(),o})();var on=new ft("MatMenuContent");var Qt={transformMenu:It("transformMenu",[He("void",z({opacity:0,transform:"scale(0.8)"})),rt("void => enter",Pt("120ms cubic-bezier(0, 0, 0.2, 1)",z({opacity:1,transform:"scale(1)"}))),rt("* => void",Pt("100ms 25ms linear",z({opacity:0})))]),fadeInItems:It("fadeInItems",[He("showing",z({opacity:1})),rt("void => *",[z({opacity:0}),Pt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Da=Qt.fadeInItems,Sa=Qt.transformMenu,zn=0,ze=new ft("mat-menu-default-options",{providedIn:"root",factory:Gn});function Gn(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var wt=(()=>{let i=class{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=je(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=je(t)}set panelClass(t){let e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(n=>{this._classList[n]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(n=>{this._classList[n]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,e,n,a){this._elementRef=t,this._ngZone=e,this._changeDetectorRef=a,this._directDescendantItems=new si,this._classList={},this._panelAnimationState="void",this._animationDone=new pt,this.closed=new q,this.close=this.closed,this.panelId=`mat-menu-panel-${zn++}`,this.overlayPanelClass=n.overlayPanelClass||"",this._xPosition=n.xPosition,this._yPosition=n.yPosition,this.backdropClass=n.backdropClass,this._overlapTrigger=n.overlapTrigger,this._hasBackdrop=n.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ui(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(te(this._directDescendantItems),M(t=>H(...t.map(e=>e._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let e=this._keyManager;if(this._panelAnimationState==="enter"&&e.activeItem?._hasFocus()){let n=t.toArray(),a=Math.max(0,Math.min(n.length-1,e.activeItemIndex||0));n[a]&&!n[a].disabled?e.setActiveItem(a):e.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(te(this._directDescendantItems),M(e=>H(...e.map(n=>n._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let e=t.keyCode,n=this._keyManager;switch(e){case 27:pi(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(e===38||e===40)&&n.setFocusOrigin("keyboard"),n.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Jt(1)).subscribe(()=>{let e=null;if(this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!e||!e.contains(document.activeElement)){let n=this._keyManager;n.setFocusOrigin(t).setFirstItemActive(),!n.activeItem&&e&&e.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){let e=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${e}`,a=Object.keys(this._classList).find(m=>m.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}setPositionClasses(t=this.xPosition,e=this.yPosition){let n=this._classList;n["mat-menu-before"]=t==="before",n["mat-menu-after"]=t==="after",n["mat-menu-above"]=e==="above",n["mat-menu-below"]=e==="below",this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(te(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(b(nt),b(Vt),b(ze),b(ht))}})(),(()=>{i.\u0275dir=jt({type:i,contentQueries:function(e,n,a){if(e&1&&(oe(a,on,5),oe(a,Ot,5),oe(a,Ot,4)),e&2){let m;O(m=T())&&(n.lazyContent=m.first),O(m=T())&&(n._allItems=m),O(m=T())&&(n.items=m)}},viewQuery:function(e,n){if(e&1&&k(Fe,5),e&2){let a;O(a=T())&&(n.templateRef=a.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})})(),o})();var an=new ft("mat-menu-scroll-strategy");function Xn(o){return()=>o.scrollStrategies.reposition()}var rn={provide:an,deps:[re],useFactory:Xn},Ji=mi({passive:!0});var sn=(()=>{let i=class{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(e=>{this._destroyMenu(e),(e==="click"||e==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(e)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,e,n,a,m,S,At,kt,Et){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=S,this._dir=At,this._focusMonitor=kt,this._ngZone=Et,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Kt.EMPTY,this._hoverSubscription=Kt.EMPTY,this._menuCloseSubscription=Kt.EMPTY,this._changeDetectorRef=s(ht),this._handleTouchStart=Lt=>{fi(Lt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new q,this.onMenuOpen=this.menuOpened,this.menuClosed=new q,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=m instanceof wt?m:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ji)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ji),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let e=this._createOverlay(t),n=e.getConfig(),a=n.positionStrategy;this._setPosition(t,a),n.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,e.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof wt&&(t._startAnimation(),t._directDescendantItems.changes.pipe(it(t.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;let e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,e instanceof wt?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(x(n=>n.toState==="void"),Jt(1),it(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let e=0,n=t.parentMenu;for(;n;)e++,n=n.parentMenu;t.setElevation(e)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let e=this._getOverlayConfig(t);this._subscribeToPositions(t,e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new Mi({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,e){t.setPositionClasses&&e.positionChanges.subscribe(n=>{let a=n.connectionPair.overlayX==="start"?"after":"before",m=n.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(a,m)):t.setPositionClasses(a,m)})}_setPosition(t,e){let[n,a]=t.xPosition==="before"?["end","start"]:["start","end"],[m,S]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[At,kt]=[m,S],[Et,Lt]=[n,a],Ft=0;if(this.triggersSubmenu()){if(Lt=n=t.xPosition==="before"?"start":"end",a=Et=n==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let We=this._parentMaterialMenu.items.first;this._parentInnerPadding=We?We._getHostElement().offsetTop:0}Ft=m==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(At=m==="top"?"bottom":"top",kt=S==="top"?"bottom":"top");e.withPositions([{originX:n,originY:At,overlayX:Et,overlayY:m,offsetY:Ft},{originX:a,originY:At,overlayX:Lt,overlayY:m,offsetY:Ft},{originX:n,originY:kt,overlayX:Et,overlayY:S,offsetY:-Ft},{originX:a,originY:kt,overlayX:Lt,overlayY:S,offsetY:-Ft}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:et(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(x(m=>m!==this._menuItemInstance),x(()=>this._menuOpen)):et();return H(t,n,a,e)}_handleMousedown(t){di(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let e=t.keyCode;(e===13||e===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===39&&this.dir==="ltr"||e===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(x(t=>t===this._menuItemInstance&&!t.disabled),ke(0,Te)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof wt&&this.menu._isAnimating?this.menu._animationDone.pipe(Jt(1),ke(0,Te),it(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new _i(t.templateRef,this._viewContainerRef)),this._portal}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(b(re),b(nt),b(xt),b(an),b(Me,8),b(Ot,10),b(hi,8),b(Be),b(Vt))}})(),(()=>{i.\u0275dir=jt({type:i,hostVars:3,hostBindings:function(e,n){e&1&&P("click",function(m){return n._handleClick(m)})("mousedown",function(m){return n._handleMousedown(m)})("keydown",function(m){return n._handleKeydown(m)}),e&2&&Z("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})})(),o})();function Kn(o,i){if(o&1){let r=J();p(0,"div",0),P("keydown",function(e){F(r);let n=f();return N(n._handleKeydown(e))})("click",function(){F(r);let e=f();return N(e.closed.emit("click"))})("@transformMenu.start",function(e){F(r);let n=f();return N(n._onAnimationStart(e))})("@transformMenu.done",function(e){F(r);let n=f();return N(n._onAnimationDone(e))}),p(1,"div",1),vt(2),u()()}if(o&2){let r=f();l("id",r.panelId)("ngClass",r._classList)("@transformMenu",r._panelAnimationState),Z("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var ln=["*"],Wn=["mat-menu-item",""];function Zn(o,i){o&1&&(ee(),p(0,"svg",2),h(1,"polygon",3),u())}var ye=(()=>{let i=class extends wt{constructor(t,e,n,a){super(t,e,n,a),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(b(nt),b(Vt),b(ze),b(ht))}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(e,n){e&2&&Z("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[ne([{provide:Me,useExisting:i}]),ot],ngContentSelectors:ln,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,n){e&1&&(Bt(),d(0,Kn,3,6,"ng-template"))},dependencies:[Ne],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Qt.transformMenu,Qt.fadeInItems]},changeDetection:0})})(),o})(),cn=(()=>{let i=class extends Ot{},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=yt(i)))(n||i)}}()})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(e,n){e&2&&(Z("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled.toString())("disabled",n.disabled||null),bt("mat-menu-item",!0)("mat-menu-item-highlighted",n._highlighted)("mat-menu-item-submenu-trigger",n._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[ne([{provide:Ot,useExisting:i}]),ot],attrs:Wn,ngContentSelectors:ln,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){e&1&&(Bt(),vt(0),h(1,"div",0),d(2,Zn,2,0,"svg",1)),e&2&&(c(1),l("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),c(1),l("ngIf",n._triggersSubmenu))},dependencies:[D,Dt],encapsulation:2,changeDetection:0})})(),o})(),mn=(()=>{let i=class extends sn{},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=yt(i)))(n||i)}}()})(),(()=>{i.\u0275dir=jt({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[ot]})})(),o})();var pn=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=dt({type:i})})(),(()=>{i.\u0275inj=ut({providers:[rn],imports:[U,le,Ht,$e,gi,le]})})(),o})();var dn=(()=>{let i=class{transform(t,e){return t.sort((n,a)=>n.id===e?-1/0:a.id===e?1/0:n.name?a.name?n.name.localeCompare(a.name):-1:1)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=Mt({name:"contactSort",type:i,pure:!0,standalone:!0})})(),o})();var fn=(()=>{let i=class{transform(t,e){let a=(Array.isArray(t)?t:[t]).map(m=>m.id===e?"me":m.name??m.email);if(a.length){if(a.length===1)return a[0];if(a.length===2)return`${a[0]} and ${a[1]}`}else return"";return`${a.slice(0,-1).join(", ")}, and ${a.at(-1)}`}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=Mt({name:"contactStringify",type:i,pure:!0,standalone:!0})})(),o})();var hn=(()=>{let i=class{transform(t){return t.snippet??this.generateSnippetFromContent(t.content)}generateSnippetFromContent(t){return t.replace(/\s+/gu," ").slice(0,100)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=Mt({name:"mailSnippet",type:i,pure:!0,standalone:!0})})(),o})();var ve=(()=>{let i=class{constructor(){this.element=s(nt).nativeElement}ngOnChanges(){let t=this.element.shadowRoot;if(!t)throw new Error("Missing ShadowRoot");t.innerHTML=this.content}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-html-renderer"]],inputs:{content:"content"},standalone:!0,features:[ei,Ct],decls:0,vars:0,template:function(e,n){},dependencies:[U],styles:[`:host{display:contents;contain:content} +import{b as Ii,c as Pi,d as Di,e as Ue,f as Ri,g as wi,i as Oi,j as Ti,l as Ai,m as Yt}from"./chunk-4ATFR6FD.js";import{a as he,b as ge,c as _e,d as Rt}from"./chunk-GXVGJF2N.js";import{c as Vi,d as pe,e as st}from"./chunk-5QDPU4Y2.js";import{a as de,b as Ki,c as fe}from"./chunk-7UMKM2EO.js";import{a as ki,b as Ye,c as Ei,d as Ut,e as Li,f as Fi,g as $,h as Ni,i as ji,j as Bi,k as L,l as $i,m as lt,n as ct,q as qe,r as mt}from"./chunk-CKWROFPT.js";import{a as Hi}from"./chunk-NZ3JMIKG.js";import{b as qi,d as zi,e as Gi,f as Wi}from"./chunk-FHI7K4TK.js";import{b as X}from"./chunk-MILDH525.js";import{a as K,b as Xi,c as Zi}from"./chunk-TEA4CVZ4.js";import{b as _i,f as Mi,i as re,l as $e,m as Qi}from"./chunk-BTQVCDJX.js";import"./chunk-AJ5EX2ND.js";import{$a as ne,Aa as d,Ab as ae,Ac as rt,B as ke,Ba as ie,Bb as D,Bc as yi,Ca as l,Da as p,Dc as se,Ea as u,Ec as vi,F as W,Fa as h,Fc as bi,G as Ee,Ga as R,Gb as j,Ha as w,Hb as U,Hc as gt,I as _t,Ia as ni,Ja as J,Jc as le,K as te,Kc as Ci,L as M,La as P,M as it,Mc as xi,Na as f,Oa as Bt,Pa as vt,Pb as mi,Qa as tt,R as A,S as ut,T as ti,Ta as bt,U as s,V as g,Va as C,Vb as pi,Vc as Dt,W as dt,Wa as Q,Wb as je,Wc as Ht,X as jt,Xa as E,Y as Mt,_a as oi,a as Kt,aa as ei,ab as Ct,ba as F,bb as ai,c as Oe,ca as N,cb as ri,d as pt,da as ee,dd as B,eb as y,ed as ce,f as Wt,fa as yt,fb as I,fd as G,g as Te,gb as at,gc as ui,gd as Si,hb as q,hd as me,ia as ft,ib as si,id as Ui,j as et,jb as Fe,jc as di,kb as xt,kc as fi,l as Zt,lb as O,ld as ue,m as _,mb as k,mc as Be,n as Je,nb as oe,oa as nt,ob as T,oc as hi,pb as $t,pd as Yi,qa as c,qd as St,rb as Vt,s as Ae,sa as Le,sd as Qe,t as H,ta as b,tb as ht,tc as gi,v as x,vc as It,wb as li,wc as Pt,x as Nt,xa as ot,xc as Ve,ya as ii,yb as Ne,yc as z,z as Jt,za as Z,zb as ci,zc as He}from"./chunk-HFIM43UT.js";import{a as Ze,f as we}from"./chunk-OPXGAHDX.js";var Hn=["mat-menu-item",""];function Un(o,i){o&1&&(ee(),p(0,"svg",3),h(1,"polygon",4),u())}var Yn=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Qn=["mat-icon, [matMenuItemIcon]","*"];var Me=new ft("MAT_MENU_PANEL"),qn=xi(Ci(class{})),Ot=(()=>{let i=class extends qn{constructor(t,e,n,a,m){super(),this._elementRef=t,this._document=e,this._focusMonitor=n,this._parentMenu=a,this._changeDetectorRef=m,this.role="menuitem",this._hovered=new pt,this._focused=new pt,this._highlighted=!1,this._triggersSubmenu=!1,a?.addItem?.(this)}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let t=this._elementRef.nativeElement.cloneNode(!0),e=t.querySelectorAll("mat-icon, .material-icons");for(let n=0;n{i.\u0275fac=function(e){return new(e||i)(b(nt),b(li),b(Be),b(Me,8),b(ht))}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(e,n){e&1&&P("click",function(m){return n._checkDisabled(m)})("mouseenter",function(){return n._handleMouseEnter()}),e&2&&(Z("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled)("disabled",n.disabled||null),bt("mat-mdc-menu-item-highlighted",n._highlighted)("mat-mdc-menu-item-submenu-trigger",n._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[ot],attrs:Hn,ngContentSelectors:Qn,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){e&1&&(Bt(Yn),vt(0),p(1,"span",0),vt(2,1),u(),h(3,"div",1),d(4,Un,2,0,"svg",2)),e&2&&(c(3),l("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),c(1),l("ngIf",n._triggersSubmenu))},dependencies:[D,Dt],encapsulation:2,changeDetection:0})})(),o})();var on=new ft("MatMenuContent");var Qt={transformMenu:It("transformMenu",[He("void",z({opacity:0,transform:"scale(0.8)"})),rt("void => enter",Pt("120ms cubic-bezier(0, 0, 0.2, 1)",z({opacity:1,transform:"scale(1)"}))),rt("* => void",Pt("100ms 25ms linear",z({opacity:0})))]),fadeInItems:It("fadeInItems",[He("showing",z({opacity:1})),rt("void => *",[z({opacity:0}),Pt("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Da=Qt.fadeInItems,Sa=Qt.transformMenu,zn=0,ze=new ft("mat-menu-default-options",{providedIn:"root",factory:Gn});function Gn(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var wt=(()=>{let i=class{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=je(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=je(t)}set panelClass(t){let e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(n=>{this._classList[n]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(n=>{this._classList[n]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,e,n,a){this._elementRef=t,this._ngZone=e,this._changeDetectorRef=a,this._directDescendantItems=new si,this._classList={},this._panelAnimationState="void",this._animationDone=new pt,this.closed=new q,this.close=this.closed,this.panelId=`mat-menu-panel-${zn++}`,this.overlayPanelClass=n.overlayPanelClass||"",this._xPosition=n.xPosition,this._yPosition=n.yPosition,this.backdropClass=n.backdropClass,this._overlapTrigger=n.overlapTrigger,this._hasBackdrop=n.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ui(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(te(this._directDescendantItems),M(t=>H(...t.map(e=>e._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{let e=this._keyManager;if(this._panelAnimationState==="enter"&&e.activeItem?._hasFocus()){let n=t.toArray(),a=Math.max(0,Math.min(n.length-1,e.activeItemIndex||0));n[a]&&!n[a].disabled?e.setActiveItem(a):e.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe(te(this._directDescendantItems),M(e=>H(...e.map(n=>n._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let e=t.keyCode,n=this._keyManager;switch(e){case 27:pi(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(e===38||e===40)&&n.setFocusOrigin("keyboard"),n.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe(Jt(1)).subscribe(()=>{let e=null;if(this._directDescendantItems.length&&(e=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!e||!e.contains(document.activeElement)){let n=this._keyManager;n.setFocusOrigin(t).setFirstItemActive(),!n.activeItem&&e&&e.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){let e=Math.min(this._baseElevation+t,24),n=`${this._elevationPrefix}${e}`,a=Object.keys(this._classList).find(m=>m.startsWith(this._elevationPrefix));(!a||a===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}setPositionClasses(t=this.xPosition,e=this.yPosition){let n=this._classList;n["mat-menu-before"]=t==="before",n["mat-menu-after"]=t==="after",n["mat-menu-above"]=e==="above",n["mat-menu-below"]=e==="below",this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(te(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(b(nt),b(Vt),b(ze),b(ht))}})(),(()=>{i.\u0275dir=jt({type:i,contentQueries:function(e,n,a){if(e&1&&(oe(a,on,5),oe(a,Ot,5),oe(a,Ot,4)),e&2){let m;O(m=T())&&(n.lazyContent=m.first),O(m=T())&&(n._allItems=m),O(m=T())&&(n.items=m)}},viewQuery:function(e,n){if(e&1&&k(Fe,5),e&2){let a;O(a=T())&&(n.templateRef=a.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})})(),o})();var an=new ft("mat-menu-scroll-strategy");function Xn(o){return()=>o.scrollStrategies.reposition()}var rn={provide:an,deps:[re],useFactory:Xn},Ji=mi({passive:!0});var sn=(()=>{let i=class{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(e=>{this._destroyMenu(e),(e==="click"||e==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(e)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,e,n,a,m,S,At,kt,Et){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=S,this._dir=At,this._focusMonitor=kt,this._ngZone=Et,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Kt.EMPTY,this._hoverSubscription=Kt.EMPTY,this._menuCloseSubscription=Kt.EMPTY,this._changeDetectorRef=s(ht),this._handleTouchStart=Lt=>{fi(Lt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new q,this.onMenuOpen=this.menuOpened,this.menuClosed=new q,this.onMenuClose=this.menuClosed,this._scrollStrategy=a,this._parentMaterialMenu=m instanceof wt?m:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ji)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ji),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let e=this._createOverlay(t),n=e.getConfig(),a=n.positionStrategy;this._setPosition(t,a),n.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,e.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof wt&&(t._startAnimation(),t._directDescendantItems.changes.pipe(it(t.close)).subscribe(()=>{a.withLockedPosition(!1).reapplyLastPosition(),a.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(t,e){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(t){if(!this._overlayRef||!this.menuOpen)return;let e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,e instanceof wt?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(x(n=>n.toState==="void"),Jt(1),it(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e?.lazyContent?.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let e=0,n=t.parentMenu;for(;n;)e++,n=n.parentMenu;t.setElevation(e)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let e=this._getOverlayConfig(t);this._subscribeToPositions(t,e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new Mi({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,e){t.setPositionClasses&&e.positionChanges.subscribe(n=>{let a=n.connectionPair.overlayX==="start"?"after":"before",m=n.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(a,m)):t.setPositionClasses(a,m)})}_setPosition(t,e){let[n,a]=t.xPosition==="before"?["end","start"]:["start","end"],[m,S]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[At,kt]=[m,S],[Et,Lt]=[n,a],Ft=0;if(this.triggersSubmenu()){if(Lt=n=t.xPosition==="before"?"start":"end",a=Et=n==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let We=this._parentMaterialMenu.items.first;this._parentInnerPadding=We?We._getHostElement().offsetTop:0}Ft=m==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(At=m==="top"?"bottom":"top",kt=S==="top"?"bottom":"top");e.withPositions([{originX:n,originY:At,overlayX:Et,overlayY:m,offsetY:Ft},{originX:a,originY:At,overlayX:Lt,overlayY:m,offsetY:Ft},{originX:n,originY:kt,overlayX:Et,overlayY:S,offsetY:-Ft},{originX:a,originY:kt,overlayX:Lt,overlayY:S,offsetY:-Ft}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:et(),a=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(x(m=>m!==this._menuItemInstance),x(()=>this._menuOpen)):et();return H(t,n,a,e)}_handleMousedown(t){di(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let e=t.keyCode;(e===13||e===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(e===39&&this.dir==="ltr"||e===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(x(t=>t===this._menuItemInstance&&!t.disabled),ke(0,Te)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof wt&&this.menu._isAnimating?this.menu._animationDone.pipe(Jt(1),ke(0,Te),it(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new _i(t.templateRef,this._viewContainerRef)),this._portal}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(b(re),b(nt),b(xt),b(an),b(Me,8),b(Ot,10),b(hi,8),b(Be),b(Vt))}})(),(()=>{i.\u0275dir=jt({type:i,hostVars:3,hostBindings:function(e,n){e&1&&P("click",function(m){return n._handleClick(m)})("mousedown",function(m){return n._handleMousedown(m)})("keydown",function(m){return n._handleKeydown(m)}),e&2&&Z("aria-haspopup",n.menu?"menu":null)("aria-expanded",n.menuOpen)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})})(),o})();function Kn(o,i){if(o&1){let r=J();p(0,"div",0),P("keydown",function(e){F(r);let n=f();return N(n._handleKeydown(e))})("click",function(){F(r);let e=f();return N(e.closed.emit("click"))})("@transformMenu.start",function(e){F(r);let n=f();return N(n._onAnimationStart(e))})("@transformMenu.done",function(e){F(r);let n=f();return N(n._onAnimationDone(e))}),p(1,"div",1),vt(2),u()()}if(o&2){let r=f();l("id",r.panelId)("ngClass",r._classList)("@transformMenu",r._panelAnimationState),Z("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var ln=["*"],Wn=["mat-menu-item",""];function Zn(o,i){o&1&&(ee(),p(0,"svg",2),h(1,"polygon",3),u())}var ye=(()=>{let i=class extends wt{constructor(t,e,n,a){super(t,e,n,a),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)(b(nt),b(Vt),b(ze),b(ht))}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(e,n){e&2&&Z("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[ne([{provide:Me,useExisting:i}]),ot],ngContentSelectors:ln,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,n){e&1&&(Bt(),d(0,Kn,3,6,"ng-template"))},dependencies:[Ne],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Qt.transformMenu,Qt.fadeInItems]},changeDetection:0})})(),o})(),cn=(()=>{let i=class extends Ot{},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=yt(i)))(n||i)}}()})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(e,n){e&2&&(Z("role",n.role)("tabindex",n._getTabIndex())("aria-disabled",n.disabled.toString())("disabled",n.disabled||null),bt("mat-menu-item",!0)("mat-menu-item-highlighted",n._highlighted)("mat-menu-item-submenu-trigger",n._triggersSubmenu)("mat-mdc-menu-item",!1)("mat-mdc-focus-indicator",!1)("mdc-list-item",!1)("mat-mdc-menu-item-highlighted",!1)("mat-mdc-menu-item-submenu-trigger",!1))},inputs:{disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matMenuItem"],features:[ne([{provide:Ot,useExisting:i}]),ot],attrs:Wn,ngContentSelectors:ln,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(e,n){e&1&&(Bt(),vt(0),h(1,"div",0),d(2,Zn,2,0,"svg",1)),e&2&&(c(1),l("matRippleDisabled",n.disableRipple||n.disabled)("matRippleTrigger",n._getHostElement()),c(1),l("ngIf",n._triggersSubmenu))},dependencies:[D,Dt],encapsulation:2,changeDetection:0})})(),o})(),mn=(()=>{let i=class extends sn{},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=yt(i)))(n||i)}}()})(),(()=>{i.\u0275dir=jt({type:i,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[ot]})})(),o})();var pn=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=dt({type:i})})(),(()=>{i.\u0275inj=ut({providers:[rn],imports:[U,le,Ht,$e,gi,le]})})(),o})();var dn=(()=>{let i=class{transform(t,e){return t.sort((n,a)=>n.id===e?-1/0:a.id===e?1/0:n.name?a.name?n.name.localeCompare(a.name):-1:1)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=Mt({name:"contactSort",type:i,pure:!0,standalone:!0})})(),o})();var fn=(()=>{let i=class{transform(t,e){let a=(Array.isArray(t)?t:[t]).map(m=>m.id===e?"me":m.name??m.email);if(a.length){if(a.length===1)return a[0];if(a.length===2)return`${a[0]} and ${a[1]}`}else return"";return`${a.slice(0,-1).join(", ")}, and ${a.at(-1)}`}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=Mt({name:"contactStringify",type:i,pure:!0,standalone:!0})})(),o})();var hn=(()=>{let i=class{transform(t){return t.snippet??this.generateSnippetFromContent(t.content)}generateSnippetFromContent(t){return t.replace(/\s+/gu," ").slice(0,100)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275pipe=Mt({name:"mailSnippet",type:i,pure:!0,standalone:!0})})(),o})();var ve=(()=>{let i=class{constructor(){this.element=s(nt).nativeElement}ngOnChanges(){let t=this.element.shadowRoot;if(!t)throw new Error("Missing ShadowRoot");t.innerHTML=this.content}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-html-renderer"]],inputs:{content:"content"},standalone:!0,features:[ei,Ct],decls:0,vars:0,template:function(e,n){},dependencies:[U],styles:[`:host{display:contents;contain:content} `],encapsulation:3,changeDetection:0})})(),o})();function so(o,i){if(o&1&&(R(0),C(1),w()),o&2){let r=f();c(1),E(" ",r.mail.content," ")}}function lo(o,i){if(o&1&&(R(0),h(1,"rpl-html-renderer",14),w()),o&2){let r=f();c(1),l("content",r.mail.content)}}var _n=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail"]],inputs:{user:"user",mail:"mail",sender:"sender",recipients:"recipients"},decls:26,vars:16,consts:[["rplLayoutContent",""],[1,"wrapper"],["lpjNode","",1,"title-line"],[1,"subject"],["mat-icon-button","","routerLink","..","matTooltip","Back"],["fontSet","filled","fontIcon","expand_more"],["lpjNode","",1,"info-line"],[1,"left-group"],[1,"mat-body-1"],[1,"mat-small"],[1,"right-group"],[3,"lpjNode","contact"],["lpjNode","",1,"content"],[4,"ngIf"],[3,"content"]],template:function(e,n){if(e&1&&(p(0,"rpl-scrollable-area",0)(1,"div",1)(2,"div",2)(3,"div",3),C(4),u(),p(5,"a",4),h(6,"mat-icon",5),u()(),p(7,"div",6)(8,"div",7)(9,"div",8)(10,"span"),C(11),u(),C(12," - "),p(13,"span"),C(14),y(15,"readableDate"),u()(),p(16,"div",9)(17,"span"),C(18),y(19,"contactStringify"),y(20,"contactSort"),u()()(),p(21,"div",10),h(22,"rpl-avatar",11),u()(),p(23,"div",12),d(24,so,2,1,"ng-container",13),d(25,lo,2,1,"ng-container",13),u()()()),e&2){let a;c(4),E(" ",n.mail.subject," "),c(7),Q((a=n.sender.name)!==null&&a!==void 0?a:n.sender.email),c(3),Q(I(15,8,n.mail.sentAt)),c(4),E(" To ",at(19,10,at(20,13,n.recipients,n.user.id),n.user.id)," "),c(4),tt("lpjNode","mail-",n.mail.id,"-avatar"),l("contact",n.sender),c(2),l("ngIf",n.mail.contentType==="plain-text"),c(1),l("ngIf",n.mail.contentType==="html")}},dependencies:[D,St,Si,K,B,L,$,Rt,ge,de,ve,_e,dn,fn],styles:["[_nghost-%COMP%]{display:block;background-color:#fff}rpl-scrollable-area[_ngcontent-%COMP%]{height:100%}.wrapper[_ngcontent-%COMP%]{height:100%;padding:16px}.tablet-portrait[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:32px 16px}.title-line[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.title-line[_ngcontent-%COMP%] .subject[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:32px;font-family:Work Sans,sans-serif;letter-spacing:normal}.info-line[_ngcontent-%COMP%]{margin-top:8px;display:flex;align-items:center}.info-line[_ngcontent-%COMP%] .left-group[_ngcontent-%COMP%]{flex-grow:1}.content[_ngcontent-%COMP%]{margin-top:16px;white-space:pre-line}"],changeDetection:0})})(),o})();function V(o){let i=s(o);return i.execute.bind(i)}function mo(o,i){if(o&1){let r=J();p(0,"button",4),P("click",function(){F(r);let e=f();return N(e.snackbarRef.dismissWithAction())}),C(1),u()}if(o&2){let r=f();c(1),E(" ",r.context.action,` `)}}var Mn=(()=>{let i=class{constructor(){this.context=s(Ti),this.snackbarRef=s(Oi)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-snackbar-content"]],standalone:!0,features:[Ct],decls:5,vars:2,consts:[[1,"text"],["mat-button","","color","accent",3,"click",4,"ngIf"],["mat-icon-button","",3,"click"],["fontSet","filled","fontIcon","close"],["mat-button","","color","accent",3,"click"]],template:function(e,n){e&1&&(p(0,"div",0),C(1),u(),d(2,mo,2,1,"button",1),p(3,"button",2),P("click",function(){return n.snackbarRef.dismiss()}),h(4,"mat-icon",3),u()),e&2&&(c(1),Q(n.context.message),c(1),l("ngIf",n.context.action))},dependencies:[U,D,me,G,ce,B],styles:["[_nghost-%COMP%]{display:flex;align-items:center;gap:8px}.text[_ngcontent-%COMP%]{flex:1}button[_ngcontent-%COMP%]{text-transform:uppercase}"],changeDetection:0})})(),o})();var yn=(()=>{let i=class{constructor(){this.breakpoints=s(mt),this.snackbarService=s(Ai)}notify(t,e){let n=this.snackbarService.openFromComponent(Mn,Ze({data:{message:t,action:e},duration:3e4},this.breakpoints()["tablet-portrait"]?{verticalPosition:"bottom",horizontalPosition:"right"}:{verticalPosition:"top",horizontalPosition:"center"}));return{event$:H(n.afterOpened().pipe(_(()=>({type:"display"}))),n.afterDismissed().pipe(_(()=>({type:"dismiss"}))),n.onAction().pipe(_(()=>({type:"action"})))),dismiss(){n.dismiss()}}}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})();var Xt=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=A({token:i,factory:function(e){let n=null;return e?n=new(e||i):n=ti(yn),n},providedIn:"root"})})(),o})();var Tt=new ft("POPUP_REF"),Ce=class{constructor(){this.popupRef=s(Tt)}};var vn=(()=>{let i=class{fromDialogRef(t,e){let n=new pt;return{input:t.input,appearance:"dialog",event$:H(e.afterClosed().pipe(_(()=>({type:"close"}))),e.afterOpened().pipe(_(()=>({type:"display"}))),n.pipe(_(a=>({type:"output",payload:a})))),output:a=>{n.next(a)},close:()=>{n.complete(),e.close()}}}fromBottomSheetRef(t,e){let n=new pt;return{input:t.input,appearance:"bottom-sheet",event$:H(e.afterDismissed().pipe(_(()=>({type:"close"}))),e.afterOpened().pipe(_(()=>({type:"display"}))),n.pipe(_(a=>({type:"output",payload:a})))),output:a=>{n.next(a)},close:()=>{n.complete(),e.dismiss()}}}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})();function po(o,i){o&1&&ni(0)}var Ge=(()=>{let i=class{constructor(){this.viewContainer=s(xt),this.context=s(Ri,{optional:!0})??s(Ii),this.dialogOrBottomSheetRef=s(Ue,{optional:!0})??s(Pi),this.popupRefFactory=s(vn),this.popupRef=this.createPopupRef(),this.contentType=this.context.content,this.contentInjector=this.createContentInjector()}createContentInjector(){return Le.create({parent:this.viewContainer.injector,providers:[{provide:Tt,useValue:this.popupRef}]})}createPopupRef(){return this.dialogOrBottomSheetRef instanceof Ue?this.popupRefFactory.fromDialogRef(this.context,this.dialogOrBottomSheetRef):this.popupRefFactory.fromBottomSheetRef(this.context,this.dialogOrBottomSheetRef)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-popup-container"]],hostVars:1,hostBindings:function(e,n){e&2&&Z("data-appearance",n.popupRef.appearance)},standalone:!0,features:[Ct],decls:1,vars:2,consts:[[4,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(e,n){e&1&&d(0,po,1,0,"ng-container",0),e&2&&l("ngComponentOutlet",n.contentType)("ngComponentOutletInjector",n.contentInjector)},dependencies:[U,ci],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})})(),o})();var bn=(()=>{let i=class{constructor(){this.dialogService=s(wi),this.bottomSheetService=s(Di),this.breakpoints=s(mt)}popup(t,e){return this.breakpoints()["tablet-portrait"]?this.popupDialog(t,e):this.popupBottomSheet(t,e)}popupDialog(t,e){return this.dialogService.open(Ge,{data:{content:t,input:e}}).componentInstance.contentInjector.get(Tt)}popupBottomSheet(t,e){return this.bottomSheetService.open(Ge,{data:{content:t,input:e}}).instance.contentInjector.get(Tt)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})();function uo(o,i){if(o&1&&(p(0,"h2"),C(1),u()),o&2){let r=f(),t;c(1),E(" ",(t=r.popupRef.input.title)!==null&&t!==void 0?t:"Mailboxes",` `)}}function fo(o,i){if(o&1){let r=J();p(0,"button",2),P("click",function(){let n=F(r).$implicit,a=f();return a.popupRef.output(n),N(a.popupRef.close())}),C(1),u()}if(o&2){let r=i.$implicit;c(1),E(" ",r.name," ")}}var Cn=(()=>{let i=class extends Ce{constructor(){super(...arguments),this.mailboxRepo=s(X),this.mailboxes$=this.queryMailboxes()}queryMailboxes(){let t=this.popupRef.input.current;return t?this.mailboxRepo.query(e=>e.id!==t.id):this.mailboxRepo.query()}},o=i;return(()=>{i.\u0275fac=function(){let t;return function(n){return(t||(t=yt(i)))(n||i)}}()})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mailbox-selection-popup"]],features:[ot],decls:4,vars:4,consts:[[4,"ngIf"],["mat-list-item","",3,"click",4,"ngFor","ngForOf"],["mat-list-item","",3,"click"]],template:function(e,n){e&1&&(d(0,uo,2,1,"h2",0),p(1,"mat-action-list"),d(2,fo,2,1,"button",1),y(3,"async"),u()),e&2&&(l("ngIf",n.popupRef.appearance==="dialog"),c(2),l("ngForOf",I(3,2,n.mailboxes$)))},dependencies:[ae,D,qi,zi,j],styles:["[_nghost-%COMP%]{display:block}[data-appearance=dialog] [_nghost-%COMP%]{width:240px}"],changeDetection:0})})(),o})();var xn=(()=>{let i=class{constructor(){this.mailService=s(Yt),this.notifier=s(Xt)}execute(t){return(t.mail.isStarred?this.mailService.markMailAsNotStarred(t.mail):this.mailService.markMailAsStarred(t.mail)).pipe(Nt((n,a)=>this.notifier.notify("Failed to update starred status","Retry").event$.pipe(x(m=>m.type==="action"),M(()=>a))))}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})(),xe=(()=>{let i=class{constructor(){this.mailService=s(Yt),this.notifier=s(Xt)}execute(t){let e=t.to??(t.mail.isRead?"unread":"read");return(e==="read"?this.mailService.markMailAsRead(t.mail):this.mailService.markMailAsUnread(t.mail)).pipe(Nt((a,m)=>this.notifier.notify(`Failed to mark mail as ${e}`,"Retry").event$.pipe(x(S=>S.type==="action"),M(()=>m))))}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})(),In=(()=>{let i=class{constructor(){this.popupService=s(bn),this.moveMailToMailbox=V(Xe)}execute(t){return this.popupService.popupDialog(Cn,{title:"Move to",current:t.currentMailbox}).event$.pipe(_(n=>n.type==="output"?n.payload:null),x(Boolean),M(n=>this.moveMailToMailbox({mail:t.mail,mailbox:n})))}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})(),Xe=(()=>{let i=class{constructor(){this.mailRepo=s(st),this.mailboxRepo=s(X),this.mailService=s(Yt),this.notifier=s(Xt)}execute(t){let e=t.mail.mailbox?this.mailboxRepo.retrieve(t.mail.mailbox).pipe(W()):et(null),n=e.pipe(_(a=>this.generateActionMessage(a,t.mailbox)),_(a=>this.notifier.notify(a,"Undo")),M(a=>a.event$),x(a=>a.type==="action"));return H(this.mailService.moveMail(t.mail,t.mailbox).pipe(Nt((a,m)=>e.pipe(_(S=>this.generateErrorMessage(S,t.mailbox)),M(S=>this.notifier.notify(S,"Retry").event$),x(S=>S.type==="action"),M(()=>m))),it(n)),n.pipe(M(()=>Je([this.mailRepo.retrieve(t.mail.id),e]).pipe(W())),M(([a,m])=>this.execute({mail:a,mailbox:m}))))}generateActionMessage(t,e){return e?`Mail moved to ${e.name}`:t?`Mail removed from ${t.name}`:"Mail moved"}generateErrorMessage(t,e){return e?`Failed to move mail to ${e.name}`:t?`Failed to remove mail from ${t.name}`:"Failed to move mail"}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})(),Pn=(()=>{let i=class{constructor(){this.mailService=s(Yt),this.notifier=s(Xt)}execute(t){return this.notifier.notify("Mail deleted permanently"),this.mailService.deleteMail(t.mail).pipe(Nt((e,n)=>this.notifier.notify("Failed to delete mail","Retry").event$.pipe(x(a=>a.type==="action"),M(()=>n))))}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275prov=A({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})();var Dn=(()=>{let i=class{constructor(){this.moveMail=V(In),this.toggleMailReadStatus=V(xe)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail-action-menu-def"]],viewQuery:function(e,n){if(e&1&&k(ye,5),e&2){let a;O(a=T())&&(n.menuRef=a.first)}},inputs:{mail:"mail",currentMailbox:"currentMailbox"},decls:5,vars:1,consts:[["mat-menu-item","",3,"click"]],template:function(e,n){e&1&&(p(0,"mat-menu")(1,"button",0),P("click",function(){return n.moveMail({mail:n.mail,currentMailbox:n.currentMailbox}).subscribe()}),C(2," Move to... "),u(),p(3,"button",0),P("click",function(){return n.toggleMailReadStatus({mail:n.mail}).subscribe()}),C(4),u()()),e&2&&(c(4),E(" ",n.mail.isRead?"Mark as unread":"Mark as read"," "))},dependencies:[ye,cn],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})})(),o})();var Ie=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail-action-menu-button"]],inputs:{mail:"mail",currentMailbox:"currentMailbox"},decls:4,vars:3,consts:[["mat-icon-button","","matTooltip","More actions",3,"matMenuTriggerFor"],["fontSet","filled","fontIcon","more_vert"],[3,"mail","currentMailbox"],["menuDef",""]],template:function(e,n){if(e&1&&(p(0,"button",0),h(1,"mat-icon",1),u(),h(2,"rpl-mail-action-menu-def",2,3)),e&2){let a=ie(3);l("matMenuTriggerFor",a.menuRef),c(2),l("mail",n.mail)("currentMailbox",n.currentMailbox)}},dependencies:[G,K,mn,B,Dn],styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px}"],changeDetection:0})})(),o})();var Pe=(()=>{let i=class{constructor(){this.toggleStarred=V(xn),this.click=new q,this.click.pipe(M(()=>this.toggleStarred({mail:this.mail})),Qi()).subscribe()}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail-star-button"]],inputs:{mail:"mail"},decls:2,vars:2,consts:[["mat-icon-button","",3,"color","matTooltip","click"],["svgIcon","star"]],template:function(e,n){e&1&&(p(0,"button",0),P("click",function(){return n.click.emit()}),h(1,"mat-icon",1),u()),e&2&&l("color",n.mail.isStarred?"accent":void 0)("matTooltip",n.mail.isStarred?"Mark as not starred":"Mark as starred")},dependencies:[G,K,B],styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px}"],changeDetection:0})})(),o})();function De(){let o=s(X),i=Object.values(lt);return o.query(r=>i.includes(r.name)).pipe(x(r=>r.length===i.length),_(r=>{let t={};for(let e of Object.values(lt)){let n=r.find(a=>a.name===e);if(!n)throw new Error("Error resolving system mailbox from query result");t[e]=n}return t}),_t(1))}function go(o,i){if(o&1){let r=J();p(0,"button",1),P("click",function(){F(r);let e=f();return N(e.click.emit())}),h(1,"mat-icon",2),u()}if(o&2){let r=i.ngIf;l("matTooltip",r==="delete"?"Delete permanently":"Move to Trash")}}var Se=(()=>{let i=class{constructor(){this.deleteMail=V(Pn),this.moveMail=V(Xe),this.systemMailboxes$=De(),this.trashMailbox$=this.systemMailboxes$.pipe(_(t=>t[lt.Trash])),this.click=new q,this.action$=this.trashMailbox$.pipe(_(t=>this.mail.mailbox===t.id),_(t=>t?"delete":"move-to-trash")),this.click.pipe(M(()=>this.action$),M(t=>t==="delete"?this.deleteMail({mail:this.mail}):this.trashMailbox$.pipe(W(),M(e=>this.moveMail({mail:this.mail,mailbox:e}))))).subscribe()}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail-delete-button"]],inputs:{mail:"mail"},decls:2,vars:3,consts:[["mat-icon-button","",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",3,"matTooltip","click"],["svgIcon","delete"]],template:function(e,n){e&1&&(d(0,go,2,1,"button",0),y(1,"async")),e&2&&l("ngIf",I(1,1,n.action$))},dependencies:[D,G,K,B,j],styles:["[_nghost-%COMP%]{display:inline-block;width:40px;height:40px}"],changeDetection:0})})(),o})();var Mo=["anchor"];function yo(o,i){if(o&1&&(R(0),h(1,"rpl-mail-star-button",14)(2,"rpl-mail-delete-button",14)(3,"rpl-mail-action-menu-button",15),w()),o&2){let r=f(2);c(1),l("mail",r.mail),c(1),l("mail",r.mail),c(1),l("mail",r.mail)("currentMailbox",r.currentMailbox)}}function vo(o,i){if(o&1&&(p(0,"div",16),C(1),y(2,"mailSnippet"),u()),o&2){let r=f(2);c(1),Q(I(2,1,r.mail))}}function bo(o,i){if(o&1&&(R(0),h(1,"div",1)(2,"div",2),p(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"span"),C(8),u(),C(9," - "),p(10,"span"),C(11),y(12,"readableDate"),u()(),p(13,"div",7)(14,"a",8,9),C(16),u()()(),p(17,"div",10),P("click",function(t){return t.stopPropagation()}),d(18,yo,4,4,"ng-container",0),p(19,"button",11),h(20,"rpl-avatar",12),u()()(),d(21,vo,3,3,"div",13),u(),w()),o&2){let r=i.ngIf,t=f(),e,n;c(8),Q((e=r.name)!==null&&e!==void 0?e:r.email),c(3),Q(I(12,8,t.mail.sentAt)),c(3),tt("routerLink","./",t.mail.id,""),c(2),Q((n=t.mail.subject)!==null&&n!==void 0?n:"(no subject)"),c(2),l("ngIf",t.breakpoints()["tablet-portrait"]),c(1),tt("lpjNode","mail-",t.mail.id,"-avatar"),c(1),l("contact",r),c(1),l("ngIf",!t.mail.isRead)}}var Re=(()=>{let i=class{constructor(){this.breakpoints=s(mt),this.contactRepo=s(pe)}get mailIsRead(){return this.mail.isRead}get mailIsStared(){return this.mail.isStarred}onClick(){this.anchorElementRef.nativeElement.click()}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail-card"]],viewQuery:function(e,n){if(e&1&&k(Mo,5),e&2){let a;O(a=T())&&(n.anchorElementRef=a.first)}},hostVars:4,hostBindings:function(e,n){e&1&&P("click",function(){return n.onClick()}),e&2&&bt("read",n.mailIsRead)("starred",n.mailIsStared)},inputs:{mail:"mail",currentMailbox:"currentMailbox"},decls:3,vars:6,consts:[[4,"ngIf"],[1,"overlay"],["matRipple","",1,"ripple"],[1,"content"],[1,"headline"],["lpjNode","",1,"titles"],[1,"subtitle"],[1,"title"],[3,"routerLink"],["anchor",""],["lpjNode","",1,"actions",3,"click"],["mat-icon-button","","matTooltip","Show details",1,"avatar-button",3,"lpjNode"],[3,"contact"],["class","overview",4,"ngIf"],[3,"mail"],[3,"mail","currentMailbox"],[1,"overview"]],template:function(e,n){e&1&&(d(0,bo,22,10,"ng-container",0),y(1,"async"),y(2,"resolveRef")),e&2&&l("ngIf",I(1,1,at(2,3,n.mail.sender,n.contactRepo)))},dependencies:[D,St,G,K,Dt,L,$,de,Pe,Se,Ie,j,_e,he,hn],styles:["[_nghost-%COMP%]{display:block;position:relative;background-color:#f9aa33;cursor:pointer}.ripple[_ngcontent-%COMP%], .overlay[_ngcontent-%COMP%]{position:absolute;inset:0}.content[_ngcontent-%COMP%] .overview[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.overlay[_ngcontent-%COMP%]{background-color:#000;opacity:0}[_nghost-%COMP%]:hover .overlay[_ngcontent-%COMP%]{opacity:.04}.content[_ngcontent-%COMP%]{padding:16px;background-color:#fff}.tablet-portrait[_nghost-%COMP%] .content[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .content[_ngcontent-%COMP%]{padding:24px}.starred[_nghost-%COMP%] .content[_ngcontent-%COMP%]{border-top-left-radius:24px}.tablet-portrait .starred[_nghost-%COMP%] .content[_ngcontent-%COMP%]{border-top-left-radius:initial}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%]{width:0;flex-grow:1;display:flex;flex-direction:column;gap:4px}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{font-size:12px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;font-weight:700;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal}.read[_nghost-%COMP%] .content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#0000008a}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .titles[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus{text-decoration:underline}.content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%]{display:flex;gap:8px}.read[_nghost-%COMP%] .content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{color:#0000008a}[_nghost-%COMP%]:hover .content[_ngcontent-%COMP%] .headline[_ngcontent-%COMP%] .actions[_ngcontent-%COMP%] .avatar-button[_ngcontent-%COMP%]{background-color:#fff}.content[_ngcontent-%COMP%] .overview[_ngcontent-%COMP%]{margin-top:8px;height:20px;white-space:pre}"],changeDetection:0})})(),o})();var Tn=(()=>{let i=class{constructor(){this.node$=new Wt(1)}set nodeInput(t){this.node$.next(t)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail-card-animation-presence"]],viewQuery:function(e,n){if(e&1&&k(Ut,5),e&2){let a;O(a=T())&&(n.nodeInput=a.first)}},inputs:{mail:"mail"},decls:1,vars:1,consts:[["lpjNode","",3,"mail"]],template:function(e,n){e&1&&h(0,"rpl-mail-card",0),e&2&&l("mail",n.mail)},dependencies:[L,$,Re],styles:["[_nghost-%COMP%]{display:block}rpl-mail-card[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0})})(),o})();function Co(o,i){if(o&1&&(R(0),h(1,"rpl-mail-card",2),w()),o&2){let r=i.$implicit,t=f();c(1),tt("lpjNode","mail-",r.id,""),l("mail",r)("currentMailbox",t.currentMailbox)}}var xo=function(o){return{duration:250,easing:o}},An=(()=>{let i=class{constructor(){this.AnimationCurves=gt,this.mails=[],this.mailTracker=(t,e)=>e.id}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail-card-list"]],inputs:{mails:"mails",currentMailbox:"currentMailbox"},decls:2,vars:6,consts:[["lpjNode","mail-card-list",1,"content",3,"lpjAnimation","lpjAnimationTrigger"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"mail","currentMailbox","lpjNode"]],template:function(e,n){e&1&&(p(0,"div",0),d(1,Co,2,3,"ng-container",1),u()),e&2&&(l("lpjAnimation",ri(4,xo,n.AnimationCurves.STANDARD_CURVE))("lpjAnimationTrigger",n.mails),c(1),l("ngForOf",n.mails)("ngForTrackBy",n.mailTracker))},dependencies:[ae,L,Li,$,Ni,ji,Bi,Re],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:4px}.content[_ngcontent-%COMP%]{display:contents}"],changeDetection:0})})(),o})();var Po=["replyIcon"],Do=["bottomActions"];function So(o,i){if(o&1&&(R(0),h(1,"rpl-mail",3),w()),o&2){let r=i.ngIf,t=f().ngIf,e=f().ngIf,n=f();c(1),tt("lpjNode","mail-",n.mail.id,""),l("user",e)("mail",n.mail)("sender",t)("recipients",r)}}var Ro=function(){return[]};function wo(o,i){if(o&1&&(R(0),d(1,So,2,5,"ng-container",0),y(2,"async"),y(3,"resolveRef"),w()),o&2){let r=f(2),t;c(1),l("ngIf",I(2,1,at(3,3,(t=r.mail.recipients)!==null&&t!==void 0?t:ai(6,Ro),r.contactRepo)))}}function Oo(o,i){if(o&1&&(R(0),d(1,wo,4,7,"ng-container",0),y(2,"async"),y(3,"resolveRef"),w()),o&2){let r=f();c(1),l("ngIf",I(2,1,at(3,3,r.mail.sender,r.contactRepo)))}}function To(o,i){if(o&1&&h(0,"rpl-mail-star-button",4)(1,"rpl-mail-delete-button",5)(2,"rpl-mail-action-menu-button",6),o&2){let r=f();l("mail",r.mail),c(1),l("mail",r.mail),c(1),l("mail",r.mail)("currentMailbox",r.mailboxAsEntity)}}function Ao(o,i){o&1&&h(0,"mat-icon",7)}var kn=(()=>{let i=class{constructor(){this.user$=s(Hi).user$,this.mailRepo=s(st),this.contactRepo=s(pe),this.route=s(ue),this.layoutContext=s(Wi),this.navFabConfigBackup=this.layoutContext().navFabConfig,this.navBottomActionsBackup=this.layoutContext().navBottomActions}get mailboxAsEntity(){return typeof this.mailbox=="object"?this.mailbox:void 0}ngAfterViewInit(){Ae(0).subscribe(()=>{this.layoutContext.mutate(t=>{t.navFabConfig={text:"Reply",icon:this.navFabIconTemplate,link:"/compose",linkParams:{reply:this.route.snapshot.params.mailId}},t.navBottomActions=this.navBottomActionsTemplate})})}ngOnDestroy(){Ae(0).subscribe(()=>{this.layoutContext.mutate(t=>{t.navFabConfig=this.navFabConfigBackup,t.navBottomActions=this.navBottomActionsBackup})})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail-detail-layout"]],viewQuery:function(e,n){if(e&1&&(k(Po,5),k(Do,5)),e&2){let a;O(a=T())&&(n.navFabIconTemplate=a.first),O(a=T())&&(n.navBottomActionsTemplate=a.first)}},inputs:{mail:"mail",mailbox:"mailbox"},decls:6,vars:3,consts:[[4,"ngIf"],["bottomActions",""],["replyIcon",""],["data-route-animation-target","",3,"user","mail","sender","recipients","lpjNode"],[3,"mail"],["routerLink","..",3,"mail"],[3,"mail","currentMailbox"],["svgIcon","reply"]],template:function(e,n){e&1&&(d(0,Oo,4,6,"ng-container",0),y(1,"async"),d(2,To,3,4,"ng-template",null,1,$t),d(4,Ao,1,0,"ng-template",null,2,$t)),e&2&&l("ngIf",I(1,1,n.user$))},dependencies:[D,St,B,L,$,_n,Pe,Se,Ie,j,he],styles:["[_nghost-%COMP%]{display:contents}rpl-mail[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;height:calc(100% - 8px);padding:4px;z-index:1}.tablet-portrait[_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%]{grid-column:col-2/col-8}.tablet-landscape[_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%]{grid-column:col-2/col-12}.laptop[_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] rpl-mail[_ngcontent-%COMP%]{grid-column:col-4/col-12}"],changeDetection:0})})(),o})();function Eo(o,i){if(o&1&&(h(0,"rpl-mail-card-list",6),y(1,"async")),o&2){let r=f().ngIf,t=f(3),e;l("mails",r)("currentMailbox",(e=I(1,2,t.mailboxAsEntity$))!==null&&e!==void 0?e:void 0)}}function Lo(o,i){if(o&1&&(p(0,"div",7),C(1),u()),o&2){let r=f(3).ngIf;c(1),E("Empty in ",r,"")}}function Fo(o,i){if(o&1&&(R(0),d(1,Eo,2,4,"rpl-mail-card-list",4),d(2,Lo,2,1,"ng-template",null,5,$t),w()),o&2){let r=i.ngIf,t=ie(3);c(1),l("ngIf",r.length)("ngIfElse",t)}}function No(o,i){if(o&1&&(p(0,"rpl-scrollable-area",3),d(1,Fo,4,2,"ng-container",0),y(2,"async"),u()),o&2){let r=f(2);c(1),l("ngIf",I(2,1,r.mails$))}}function jo(o,i){if(o&1&&(R(0),d(1,No,3,3,"rpl-scrollable-area",2),w()),o&2){let r=i.ngIf;c(1),l("rplReattachOnChange",r)}}function Bo(o,i){o&1&&(p(0,"div",8),h(1,"rpl-search-button"),u())}var Ke=yi([vi(":enter rpl-mail-card",[z({opacity:0}),z({transform:"scale(92%)"}),bi(25,[Pt(`225ms ${gt.DECELERATION_CURVE}`),z({opacity:1,transform:"scale(1)"})])],{optional:!0})]),En=(()=>{let i=class{constructor(){this.console=console,this.breakpoints=s(mt),this.navigationContext=s(Zi),this.mailRepo=s(st),this.systemMailboxes$=De(),this.mailbox$=new Wt(1),this.mailboxName$=this.mailbox$.pipe(_(t=>typeof t=="string"?t:t.name)),this.mailboxAsEntity$=this.mailbox$.pipe(_(t=>typeof t=="string"?null:t)),this.mails$=this.mailbox$.pipe(M(t=>typeof t=="string"?this.queryVirtualMailboxMails(t):this.queryRegularMailboxMails(t)),_(t=>t.sort((e,n)=>n.sentAt.getTime()-e.sentAt.getTime())),_t(1))}set mailbox(t){this.mailbox$.next(t)}queryVirtualMailboxMails(t){if(t===ct.Starred)return this.systemMailboxes$.pipe(M(e=>this.mailRepo.query(n=>n.isStarred&&n.mailbox!==e[lt.Trash].id&&n.mailbox!==e[lt.Spam].id)));if(t===ct.Sent)return this.mailRepo.query(e=>e.type==="sent");if(t===ct.Drafts)return this.mailRepo.query(e=>e.type==="draft");throw new Error(`Unknown virtual mailbox: ${t}`)}queryRegularMailboxMails(t){return this.mailRepo.query(e=>e.mailbox===t.id)}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mail-list-layout"]],hostVars:2,hostBindings:function(e,n){e&2&&oi("@host-entrance",void 0)("@host-mailboxChange",n.navigationContext().latestMailboxIndex)},inputs:{mailbox:"mailbox"},decls:3,vars:4,consts:[[4,"ngIf"],["class","actions",4,"ngIf"],["class","content","rplLayoutContent","","data-route-animation-target","",4,"rplReattachOnChange"],["rplLayoutContent","","data-route-animation-target","",1,"content"],["class","list",3,"mails","currentMailbox",4,"ngIf","ngIfElse"],["empty",""],[1,"list",3,"mails","currentMailbox"],[1,"empty-prompt"],[1,"actions"]],template:function(e,n){e&1&&(d(0,jo,2,1,"ng-container",0),y(1,"async"),d(2,Bo,2,0,"div",1)),e&2&&(l("ngIf",I(1,2,n.mailboxName$)),c(2),l("ngIf",n.breakpoints()["tablet-portrait"]))},dependencies:[D,fe,Rt,ge,Ki,An,j],styles:["[_nghost-%COMP%]{display:contents}.content[_ngcontent-%COMP%]{position:relative;grid-row:1;grid-column:margin-left/margin-right}.tablet-portrait[_nghost-%COMP%] .content[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .content[_ngcontent-%COMP%]{grid-column:col-2/col-8}.tablet-landscape[_nghost-%COMP%] .content[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] .content[_ngcontent-%COMP%]{grid-column:col-3/col-11}.laptop[_nghost-%COMP%] .content[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] .content[_ngcontent-%COMP%]{grid-column:col-5/col-11}.content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{margin:4px}.tablet-portrait[_nghost-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .content[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{margin:32px 0}.content[_ngcontent-%COMP%] .empty-prompt[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}.tablet-portrait[_nghost-%COMP%] .actions[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{position:absolute;top:16px;right:0}.tablet-landscape[_nghost-%COMP%] .actions[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] .actions[_ngcontent-%COMP%]{position:initial;grid-row:1;grid-column:col-12;padding:16px 0}"],data:{animation:[It("host-entrance",[rt(":enter",[se(Ke)])]),It("host-mailboxChange",[rt(":increment",[Ve([qe.apply("y","forward"),se(Ke)])]),rt(":decrement",[Ve([qe.apply("y","backward"),se(Ke)])])])]},changeDetection:0})})(),o})();var Vo=["listLayoutNode"],Ho=["detailLayoutNode"];function Uo(o,i){if(o&1&&h(0,"rpl-mail-detail-layout",5,6),o&2){let r=i.ngIf,t=f().ngIf;l("mailbox",t)("mail",r)}}function Yo(o,i){if(o&1&&(R(0),h(1,"rpl-mail-list-layout",2,3),d(3,Uo,2,2,"rpl-mail-detail-layout",4),y(4,"async"),w()),o&2){let r=i.ngIf,t=f(2);c(1),l("mailbox",r),c(2),l("ngIf",I(4,2,t.mail$))}}function Qo(o,i){if(o&1&&(R(0),d(1,Yo,5,4,"ng-container",1),y(2,"async"),w()),o&2){let r=f();c(1),l("ngIf",I(2,1,r.mailbox$))}}var Ln=(()=>{let i=class{constructor(){this.router=s(Yi),this.route=s(ue),this.mailRepo=s(st),this.mailboxRepo=s(X),this.hostNode=s(Ut),this.layoutSnapper=s(ki),this.layoutAnimator=s(Ei),this.viewContainer=s(xt),this.toggleMailReadStatus=V(xe),this.mailId$=this.route.params.pipe(_(t=>t.mailId)),this.mail$=this.mailId$.pipe(M(t=>t?this.mailRepo.retrieve(t):et(null)),_t(1)),this.mailboxName$=this.route.params.pipe(_(t=>t.mailboxName)),this.mailbox$=this.mailboxName$.pipe(M(t=>Object.values(ct).includes(t)?et(t):this.mailboxRepo.query(e=>e.name===t).pipe(_(([e])=>e),x(Boolean)))),this.listLayoutSnapshots=new Ye,this.detailLayoutSnapshots=new Ye,this.destroy$=new q,s(Ut,{self:!0}).identifyAs("mails")}ngAfterViewInit(){this.router.events.pipe(it(this.destroy$),x(t=>t instanceof Ui)).subscribe(()=>{this.updateSnapshots()}),this.mail$.pipe(Ee(),x(([t,e])=>!t&&!!e),M(()=>this.initiateListToDetailLayoutAnimation()),M(()=>this.mail$.pipe(W(),x(Boolean),x(t=>!t.isRead),M(t=>this.toggleMailReadStatus({mail:t,to:"read"}))))).subscribe(),this.mail$.pipe(Ee(),x(([t,e])=>!!t&&!e),_(([t])=>t),M(t=>this.initiateDetailToListLayoutAnimation(t))).subscribe()}ngOnDestroy(){this.destroy$.emit()}updateSnapshots(){this.listLayoutSnapshots=this.layoutSnapper.snapshotTree(this.listLayoutNode,{measure:!0}),this.detailLayoutNode&&(this.detailLayoutSnapshots=this.layoutSnapper.snapshotTree(this.detailLayoutNode,{measure:!0}))}initiateListToDetailLayoutAnimation(){return we(this,null,function*(){yield Zt(Oe()),yield this.layoutAnimator.animate({root:this.hostNode,from:this.listLayoutSnapshots,duration:250,easing:gt.STANDARD_CURVE,estimation:!0})})}initiateDetailToListLayoutAnimation(t){return we(this,null,function*(){let e=this.listLayoutSnapshots.get(`mail-${t.id}`);if(!e)return;let n=Tn,a=this.viewContainer.createComponent(n);a.setInput("mail",t);let m=a.location.nativeElement;m.style.position="fixed",m.style.top=e.boundingBox.top+"px",m.style.left=e.boundingBox.left+"px",m.style.width=e.boundingBox.width()+"px",m.style.height=e.boundingBox.height()+"px",yield Zt(Oe());let S=yield Zt(a.instance.node$);S.identifyAs(`mail-${t.id}`),S.attach(this.hostNode),this.listLayoutNode.deactivate(),yield this.layoutAnimator.animate({root:this.hostNode,from:this.detailLayoutSnapshots,duration:250,easing:gt.STANDARD_CURVE,estimation:!0}),S.detach(),a.destroy(),this.listLayoutNode.activate()})}},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275cmp=g({type:i,selectors:[["rpl-mails"]],viewQuery:function(e,n){if(e&1&&(k(Vo,5),k(Ho,5)),e&2){let a;O(a=T())&&(n.listLayoutNode=a.first),O(a=T())&&(n.detailLayoutNode=a.first)}},features:[ii([L])],decls:1,vars:0,consts:[[4,"lpjAnimationScope"],[4,"ngIf"],["lpjNode","list-layout",3,"mailbox"],["listLayoutNode","lpjNode"],["lpjNode","detail-layout",3,"mailbox","mail",4,"ngIf"],["lpjNode","detail-layout",3,"mailbox","mail"],["detailLayoutNode","lpjNode"]],template:function(e,n){e&1&&d(0,Qo,3,3,"ng-container",0)},dependencies:[D,L,Fi,$,En,kn,j],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0})})(),o})();var zo=o=>{let i=o.params.mailboxName;return Object.values(ct).includes(i)?!0:s(X).query(t=>t.name===o.params.mailboxName).pipe(_(t=>t.at(0)),_(Boolean),W())},Go=[{path:"mailboxes/:mailboxName/mails",canActivate:[zo],title:o=>o.params.mailboxName,children:[{matcher:o=>o.length===0?{consumed:o,posParams:{}}:o.length===1?{consumed:o,posParams:{mailId:o[0]}}:null,component:Ln}]}],Fn=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=dt({type:i})})(),(()=>{i.\u0275inj=ut({imports:[Qe.forChild(Go),Qe]})})(),o})();var Sc=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(e){return new(e||i)}})(),(()=>{i.\u0275mod=dt({type:i})})(),(()=>{i.\u0275inj=ut({imports:[U,Fn,me,Xi,pn,Gi,Ht,ce,$i,Vi,fe,Rt,ve]})})(),o})();export{Sc as MailsModule}; diff --git a/main.UE2TVRSG.js b/main.UE2TVRSG.js deleted file mode 100644 index fe4b8bea..00000000 --- a/main.UE2TVRSG.js +++ /dev/null @@ -1,3 +0,0 @@ -import{a as li,h as di,k as mi,m as Ie}from"./chunk-XVSFZ2EY.js";import{c as gi,d as Me,e as Ei}from"./chunk-HN2ZODN7.js";import{a as Ae}from"./chunk-GLURFALA.js";import{l as vi,m as be,o as xi,r as Oi}from"./chunk-NEYEICGN.js";import{a as it}from"./chunk-KAVP63DH.js";import{a as yi,b as Ti,d as Ii}from"./chunk-GWX3GFXN.js";import"./chunk-T7HJLGDV.js";import{A as Pt,Ac as te,C as Rr,Ca as Yr,Cc as qe,D as Lr,Db as ei,E as $r,Ea as Ge,Ec as Je,Fa as Wr,Ga as Vr,Gc as Ut,H as et,Ha as Kt,I as Ur,Ib as ri,Ic as ui,J as kr,Jc as Ke,K as St,Kb as Xe,Lb as ii,M as ye,Mb as ni,N as B,Nb as oi,O as Fr,Ob as si,Pb as ai,Q as Te,T as $,U as Ct,V as We,W as I,Wa as Gr,X as Ee,Xa as Xr,Y as xt,ab as Zr,b as Dr,d as me,ed as pi,gb as qr,gd as hi,ha as Br,hb as Jr,i as wr,j as tt,jd as fi,k as _r,ka as pt,la as jr,ld as Mi,m as M,ma as Ve,n as lt,o as Pr,od as bi,p as He,pd as Ai,qd as Si,r as Ye,rd as Ci,s as ve,sa as zr,sb as Kr,t as Jt,tb as It,u as At,ua as Hr,ub as Qr,ud as Qe,v as G,w as Nr,x as ge,xc as Ze,y as _t,yb as ti,yc as Qt,zc as ci}from"./chunk-LCFD4RLU.js";import{a as V,c as xr,d as Or}from"./chunk-OPXGAHDX.js";var Di=xr((ho,Se)=>{(function(n,r,d,i){"use strict";var s=["","webkit","Moz","MS","ms","o"],c=r.createElement("div"),m="function",g=Math.round,D=Math.abs,O=Date.now;function U(t,e,o){return setTimeout(Ht(t,o),e)}function S(t,e,o){return Array.isArray(t)?(P(t,o[e],o),!0):!1}function P(t,e,o){var a;if(t)if(t.forEach)t.forEach(e,o);else if(t.length!==i)for(a=0;a\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",b=n.console&&(n.console.warn||n.console.log);return b&&b.call(n.console,a,h),t.apply(this,arguments)}}var J;typeof Object.assign!="function"?J=function(e){if(e===i||e===null)throw new TypeError("Cannot convert undefined or null to object");for(var o=Object(e),a=1;a-1}function dt(t){return t.trim().split(/\s+/g)}function mt(t,e,o){if(t.indexOf&&!o)return t.indexOf(e);for(var a=0;aW[e]}):a=a.sort()),a}function l(t,e){for(var o,a,u=e[0].toUpperCase()+e.slice(1),h=0;h1&&!o.firstMultiple?o.firstMultiple=lr(e):u===1&&(o.firstMultiple=!1);var h=o.firstInput,b=o.firstMultiple,j=b?b.center:h.center,H=e.center=pr(a);e.timeStamp=O(),e.deltaTime=e.timeStamp-h.timeStamp,e.angle=Ne(j,H),e.distance=ae(j,H),vn(o,e),e.offsetDirection=fr(e.deltaX,e.deltaY);var W=hr(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=W.x,e.overallVelocityY=W.y,e.overallVelocity=D(W.x)>D(W.y)?W.x:W.y,e.scale=b?Tn(b.pointers,a):1,e.rotation=b?yn(b.pointers,a):0,e.maxPointers=o.prevInput?e.pointers.length>o.prevInput.maxPointers?e.pointers.length:o.prevInput.maxPointers:e.pointers.length,gn(o,e);var ut=t.element;L(e.srcEvent.target,ut)&&(ut=e.srcEvent.target),e.target=ut}function vn(t,e){var o=e.center,a=t.offsetDelta||{},u=t.prevDelta||{},h=t.prevInput||{};(e.eventType===_||h.eventType===x)&&(u=t.prevDelta={x:h.deltaX||0,y:h.deltaY||0},a=t.offsetDelta={x:o.x,y:o.y}),e.deltaX=u.x+(o.x-a.x),e.deltaY=u.y+(o.y-a.y)}function gn(t,e){var o=t.lastInterval||e,a=e.timeStamp-o.timeStamp,u,h,b,j;if(e.eventType!=F&&(a>Ot||o.velocity===i)){var H=e.deltaX-o.deltaX,W=e.deltaY-o.deltaY,ut=hr(a,H,W);h=ut.x,b=ut.y,u=D(ut.x)>D(ut.y)?ut.x:ut.y,j=fr(H,W),t.lastInterval=e}else u=o.velocity,h=o.velocityX,b=o.velocityY,j=o.direction;e.velocity=u,e.velocityX=h,e.velocityY=b,e.direction=j}function lr(t){for(var e=[],o=0;o=D(e)?t<0?Yt:Wt:e<0?Vt:Gt}function ae(t,e,o){o||(o=ur);var a=e[o[0]]-t[o[0]],u=e[o[1]]-t[o[1]];return Math.sqrt(a*a+u*u)}function Ne(t,e,o){o||(o=ur);var a=e[o[0]]-t[o[0]],u=e[o[1]]-t[o[1]];return Math.atan2(u,a)*180/Math.PI}function yn(t,e){return Ne(e[1],e[0],se)+Ne(t[1],t[0],se)}function Tn(t,e){return ae(e[0],e[1],se)/ae(t[0],t[1],se)}var En={mousedown:_,mousemove:R,mouseup:x},In="mousedown",Mn="mousemove mouseup";function ce(){this.evEl=In,this.evWin=Mn,this.pressed=!1,K.apply(this,arguments)}z(ce,K,{handler:function(e){var o=En[e.type];o&_&&e.button===0&&(this.pressed=!0),o&R&&e.which!==1&&(o=x),this.pressed&&(o&x&&(this.pressed=!1),this.callback(this.manager,o,{pointers:[e],changedPointers:[e],pointerType:st,srcEvent:e}))}});var bn={pointerdown:_,pointermove:R,pointerup:x,pointercancel:F,pointerout:F},An={2:N,3:X,4:st,5:vt},dr="pointerdown",mr="pointermove pointerup pointercancel";n.MSPointerEvent&&!n.PointerEvent&&(dr="MSPointerDown",mr="MSPointerMove MSPointerUp MSPointerCancel");function Re(){this.evEl=dr,this.evWin=mr,K.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}z(Re,K,{handler:function(e){var o=this.store,a=!1,u=e.type.toLowerCase().replace("ms",""),h=bn[u],b=An[e.pointerType]||e.pointerType,j=b==N,H=mt(o,e.pointerId,"pointerId");h&_&&(e.button===0||j)?H<0&&(o.push(e),H=o.length-1):h&(x|F)&&(a=!0),!(H<0)&&(o[H]=e,this.callback(this.manager,h,{pointers:o,changedPointers:[e],pointerType:b,srcEvent:e}),a&&o.splice(H,1))}});var Sn={touchstart:_,touchmove:R,touchend:x,touchcancel:F},Cn="touchstart",xn="touchstart touchmove touchend touchcancel";function vr(){this.evTarget=Cn,this.evWin=xn,this.started=!1,K.apply(this,arguments)}z(vr,K,{handler:function(e){var o=Sn[e.type];if(o===_&&(this.started=!0),!!this.started){var a=On.call(this,e,o);o&(x|F)&&a[0].length-a[1].length===0&&(this.started=!1),this.callback(this.manager,o,{pointers:a[0],changedPointers:a[1],pointerType:N,srcEvent:e})}}});function On(t,e){var o=y(t.touches),a=y(t.changedTouches);return e&(x|F)&&(o=f(o.concat(a),"identifier",!0)),[o,a]}var Dn={touchstart:_,touchmove:R,touchend:x,touchcancel:F},wn="touchstart touchmove touchend touchcancel";function ue(){this.evTarget=wn,this.targetIds={},K.apply(this,arguments)}z(ue,K,{handler:function(e){var o=Dn[e.type],a=_n.call(this,e,o);a&&this.callback(this.manager,o,{pointers:a[0],changedPointers:a[1],pointerType:N,srcEvent:e})}});function _n(t,e){var o=y(t.touches),a=this.targetIds;if(e&(_|R)&&o.length===1)return a[o[0].identifier]=!0,[o,o];var u,h,b=y(t.changedTouches),j=[],H=this.target;if(h=o.filter(function(W){return L(W.target,H)}),e===_)for(u=0;u-1&&a.splice(h,1)};setTimeout(u,Pn)}}function Rn(t){for(var e=t.srcEvent.clientX,o=t.srcEvent.clientY,a=0;a-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,o=this.state;function a(u){e.manager.emit(u,t)}o=bt&&a(e.options.event+br(o))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=ct},canEmit:function(){for(var t=0;te.threshold&&u&e.direction},attrTest:function(t){return rt.prototype.attrTest.call(this,t)&&(this.state&Q||!(this.state&Q)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Ar(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}});function ke(){rt.apply(this,arguments)}z(ke,rt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[wt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Q)},emit:function(t){if(t.scale!==1){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function Fe(){Tt.apply(this,arguments),this._timer=null,this._input=null}z(Fe,Tt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Mr]},process:function(t){var e=this.options,o=t.pointers.length===e.pointers,a=t.distancee.time;if(this._input=t,!a||!o||t.eventType&(x|F)&&!u)this.reset();else if(t.eventType&_)this.reset(),this._timer=U(function(){this.state=yt,this.tryEmit()},e.time,this);else if(t.eventType&x)return yt;return ct},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===yt&&(t&&t.eventType&x?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=O(),this.manager.emit(this.options.event,this._input)))}});function Be(){rt.apply(this,arguments)}z(Be,rt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[wt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Q)}});function je(){rt.apply(this,arguments)}z(je,rt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:at|Dt,pointers:1},getTouchAction:function(){return fe.prototype.getTouchAction.call(this)},attrTest:function(t){var e=this.options.direction,o;return e&(at|Dt)?o=t.overallVelocity:e&at?o=t.overallVelocityX:e&Dt&&(o=t.overallVelocityY),this._super.attrTest.call(this,t)&&e&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&D(o)>this.options.velocity&&t.eventType&x},emit:function(t){var e=Ar(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}});function de(){Tt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}z(de,Tt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[$e]},process:function(t){var e=this.options,o=t.pointers.length===e.pointers,a=t.distance{(function(n,r){typeof tr=="object"&&typeof er<"u"?er.exports=r():typeof define=="function"&&define.amd?define(r):(n=typeof globalThis<"u"?globalThis:n||self).dayjs=r()})(tr,function(){"use strict";var n=1e3,r=6e4,d=36e5,i="millisecond",s="second",c="minute",m="hour",g="day",D="week",O="month",U="quarter",S="year",P="date",zt="Invalid Date",J=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,oe=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,Pe={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(y){var f=["th","st","nd","rd"],l=y%100;return"["+y+(f[(l-20)%10]||f[l]||f[0])+"]"}},z=function(y,f,l){var v=String(y);return!v||v.length>=f?y:""+Array(f+1-v.length).join(l)+y},Ht={s:z,z:function(y){var f=-y.utcOffset(),l=Math.abs(f),v=Math.floor(l/60),p=l%60;return(f<=0?"+":"-")+z(v,2,"0")+":"+z(p,2,"0")},m:function y(f,l){if(f.date()1)return y(E[0])}else{var C=f.name;ot[C]=f,p=C}return!v&&p&&(ht=p),p||!v&&ht},L=function(y,f){if(Mt(y))return y.clone();var l=typeof f=="object"?f:{};return l.date=y,l.args=arguments,new dt(l)},A=Ht;A.l=ft,A.i=Mt,A.w=function(y,f){return L(y,{locale:f.$L,utc:f.$u,x:f.$x,$offset:f.$offset})};var dt=function(){function y(l){this.$L=ft(l.locale,null,!0),this.parse(l)}var f=y.prototype;return f.parse=function(l){this.$d=function(v){var p=v.date,T=v.utc;if(p===null)return new Date(NaN);if(A.u(p))return new Date;if(p instanceof Date)return new Date(p);if(typeof p=="string"&&!/Z$/i.test(p)){var E=p.match(J);if(E){var C=E[2]-1||0,w=(E[7]||"0").substring(0,3);return T?new Date(Date.UTC(E[1],C,E[3]||1,E[4]||0,E[5]||0,E[6]||0,w)):new Date(E[1],C,E[3]||1,E[4]||0,E[5]||0,E[6]||0,w)}}return new Date(p)}(l),this.$x=l.x||{},this.init()},f.init=function(){var l=this.$d;this.$y=l.getFullYear(),this.$M=l.getMonth(),this.$D=l.getDate(),this.$W=l.getDay(),this.$H=l.getHours(),this.$m=l.getMinutes(),this.$s=l.getSeconds(),this.$ms=l.getMilliseconds()},f.$utils=function(){return A},f.isValid=function(){return this.$d.toString()!==zt},f.isSame=function(l,v){var p=L(l);return this.startOf(v)<=p&&p<=this.endOf(v)},f.isAfter=function(l,v){return L(l)_r(new Error(n)))}var kt=class{constructor(r){if(this.serviceWorker=r,!r)this.worker=this.events=this.registration=Bn(re);else{let i=Ye(r,"controllerchange").pipe(M(()=>r.controller)),s=He(()=>tt(r.controller)),c=Pr(s,i);this.worker=c.pipe(G(U=>!!U)),this.registration=this.worker.pipe(B(()=>r.getRegistration()));let O=Ye(r,"message").pipe(M(U=>U.data)).pipe(G(U=>U&&U.type)).pipe(kr());O.connect(),this.events=O}}postMessage(r,d){return this.worker.pipe(Pt(1),Te(i=>{i.postMessage(V({action:r},d))})).toPromise().then(()=>{})}postMessageWithOperation(r,d,i){let s=this.waitForOperationCompleted(i),c=this.postMessage(r,d);return Promise.all([c,s]).then(([,m])=>m)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(r){let d;return typeof r=="string"?d=i=>i.type===r:d=i=>r.includes(i.type),this.events.pipe(G(d))}nextEventOfType(r){return this.eventsOfType(r).pipe(Pt(1))}waitForOperationCompleted(r){return this.eventsOfType("OPERATION_COMPLETED").pipe(G(d=>d.nonce===r),Pt(1),M(d=>{if(d.result!==void 0)return d.result;throw new Error(d.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},Ni=(()=>{let r=class{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,this.pushManager=null,this.subscriptionChanges=new me,!i.isEnabled){this.messages=At,this.notificationClicks=At,this.subscription=At;return}this.messages=this.sw.eventsOfType("PUSH").pipe(M(c=>c.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(M(c=>c.data)),this.pushManager=this.sw.registration.pipe(M(c=>c.pushManager));let s=this.pushManager.pipe(B(c=>c.getSubscription()));this.subscription=Jt(s,this.subscriptionChanges)}requestSubscription(i){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(re));let s={userVisibleOnly:!0},c=this.decodeBase64(i.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),m=new Uint8Array(new ArrayBuffer(c.length));for(let g=0;gg.subscribe(s)),Pt(1)).toPromise().then(g=>(this.subscriptionChanges.next(g),g))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(re));let i=s=>{if(s===null)throw new Error("Not subscribed to push notifications.");return s.unsubscribe().then(c=>{if(!c)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(Pt(1),B(i)).toPromise()}decodeBase64(i){return atob(i)}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)(We(kt))}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac})})(),n})(),Ri=(()=>{let r=class{get isEnabled(){return this.sw.isEnabled}constructor(i){if(this.sw=i,!i.isEnabled){this.versionUpdates=At,this.available=At,this.activated=At,this.unrecoverable=At;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(G(s=>s.type==="VERSION_READY"),M(s=>({type:"UPDATE_AVAILABLE",current:s.currentVersion,available:s.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(re));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:i},i)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(re));let i=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:i},i)}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)(We(kt))}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac})})(),n})();var wi=new pt("NGSW_REGISTER_SCRIPT");function jn(n,r,d,i){return()=>{if(!(Xe(i)&&"serviceWorker"in navigator&&d.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let s;if(typeof d.registrationStrategy=="function")s=d.registrationStrategy();else{let[m,...g]=(d.registrationStrategy||"registerWhenStable:30000").split(":");switch(m){case"registerImmediately":s=tt(null);break;case"registerWithDelay":s=_i(+g[0]||0);break;case"registerWhenStable":s=g[0]?Jt(Pi(n),_i(+g[0])):Pi(n);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${d.registrationStrategy}`)}}n.get(It).runOutsideAngular(()=>s.pipe(Pt(1)).subscribe(()=>navigator.serviceWorker.register(r,{scope:d.scope}).catch(m=>console.error("Service worker registration failed with:",m))))}}function _i(n){return tt(null).pipe(Rr(n))}function Pi(n){return n.get(Qr).isStable.pipe(G(d=>d))}function zn(n,r){return new kt(Xe(r)&&n.enabled!==!1?navigator.serviceWorker:void 0)}var ee=class{};function Hn(n,r={}){return jr([Ni,Ri,{provide:wi,useValue:n},{provide:ee,useValue:r},{provide:kt,useFactory:zn,deps:[ee,Ve]},{provide:Kr,useFactory:jn,deps:[Hr,wi,ee,Ve],multi:!0}])}var Li=(()=>{let r=class{static register(i,s={}){return{ngModule:r,providers:[Hn(i,s)]}}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275mod=xt({type:r})})(),(()=>{r.\u0275inj=Ct({providers:[Ni,Ri]})})(),n})();var Nt=new pt("INITIALIZERS");var Ft=(()=>{let r=class{},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac})})(),n})();var Ce=(()=>{let r=class{},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac})})(),n})();function ie(n,r){return new Promise((d,i)=>{r.then(s=>n.run(()=>d(s)),s=>n.run(()=>i(s)))})}var $i=(()=>{let r=class{constructor(){this.document=I(ti)}load(i){return new Dr(s=>{let c=this.document.createElement("script");return c.src=i,c.addEventListener("load",()=>{s.next(),s.complete()}),c.addEventListener("error",m=>{s.error(m.error)}),this.document.head.appendChild(c),()=>c.remove()})}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac,providedIn:"root"})})(),n})();var Rt=new pt("GOOGLE_APIS",{providedIn:"root",factory:()=>{let n=I($i),r=I(It);return lt([n.load("https://apis.google.com/js/api.js").pipe(_t(()=>{let d=new Promise(i=>gapi.load("client",i));return ie(r,d)}),_t(()=>{let d=gapi.client.init({discoveryDocs:["https://www.googleapis.com/discovery/v1/apis/gmail/v1/rest","https://www.googleapis.com/discovery/v1/apis/people/v1/rest"]});return ie(r,d)})),n.load("https://accounts.google.com/gsi/client")]).pipe(Te(()=>It.assertInAngularZone()),M(()=>({gmail:gapi.client.gmail,people:gapi.client.people,oauth2:google.accounts.oauth2})),St(1))}});var xe=new pt("GOOGLE_CLIENT_ID");var rr=Or(Ui());function Z(n){let r=I(Rt),d=I(It),i=r.pipe(M(c=>n(c)));return(...c)=>i.pipe(_t(m=>{let g=m(...c);return ie(d,g)}))}var Yn=["https://mail.google.com/","https://www.googleapis.com/auth/userinfo.profile","https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/contacts.readonly"],ki=(()=>{let r=class{constructor(){this.contactService=I(Ft),this.apis$=I(Rt),this.clientId=I(xe),this.peopleGetApi=Z(i=>i.people.people.get),this.tokenRevokeApi=Z(i=>s=>new Promise(c=>i.oauth2.revoke(s,c))),this.tokenClient$=this.apis$.pipe(M(i=>i.oauth2.initTokenClient({client_id:this.clientId,scope:Yn.join(" "),callback:s=>{It.assertInAngularZone(),this.setAuthorization({token:s.access_token,issuedAt:new Date,lifespan:+s.expires_in})}}))),this.authorizationUpdate$=new me,this.authorization$=this.authorizationUpdate$.pipe(M(i=>i.type==="obtain"?i.value:null),ye(null),St(1)),this.authorized$=this.authorization$.pipe(M(i=>!!i),Lr(),St(1)),this.user$=this.authorized$.pipe(G(Boolean),B(()=>this.contactService.loadUser()),St(1))}setAuthorization(i){let c=(0,rr.default)(i.issuedAt).add(i.lifespan,"seconds"),m=()=>(0,rr.default)().add(1,"minute").isAfter(c);return m()?!1:(this.authorizationUpdate$.next({type:"obtain",value:i}),ve(0,30*1e3).pipe(Fr(this.authorizationUpdate$),G(()=>m())).subscribe(()=>{this.authorizationUpdate$.next({type:"expire"})}),!0)}requestAuthorization(){this.tokenClient$.pipe(et()).subscribe(i=>{i.requestAccessToken()})}revokeAuthorization(){this.authorization$.pipe(et(),G(Boolean),$r(()=>new Ti),_t(i=>this.tokenRevokeApi(i.token))).subscribe(()=>{this.authorizationUpdate$.next({type:"revoke"})})}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac})})(),n})();function Oe(n,r){for(let d of r){let i=n,s=d.split(".");for(let[c,m]of s.entries())if(i=i[m],i==null){let g=s.slice(0,c+1).join("."),D=`When asserting path "${d}", "${g}" is "${i}"`;throw new Error(D)}}return n}function nt(n,r){let d=n,i=r.split(".");for(let[s,c]of i.entries())if(d=d[c],d==null){let m=i.slice(0,s+1).join("."),g=`When accessing path "${r}", "${m}" is "${d}".`;throw new Error(g)}return d}var Fi=(()=>{let r=class{constructor(){this.contactRepo=I(Me),this.peopleGetApi=Z(i=>i.people.people.get),this.peopleListApi=Z(i=>i.people.people.connections.list),this.peopleSearchApi=Z(i=>i.people.people.searchContacts)}loadContacts(){return tt([])}loadContact(i){return this.peopleGetApi({resourceName:`people/${i}`,personFields:"names,photos,emailAddresses"}).pipe(M(s=>nt(s,"result")),B(s=>this.parseFullPersonAndSave(s)))}loadUser(){return this.loadContact("me")}parsePerson(i){let{resourceName:s,names:c,photos:m,emailAddresses:g}=i,D=s.split("/").pop();if(!D)throw new yi;let O=c.find(P=>P.metadata?.primary)?.displayName,U=m?.find(P=>P.metadata?.primary),S=g?.find(P=>P.metadata?.primary)?.value;return V(V(V({id:D},O&&{name:O}),S&&{email:S}),U&&{avatarUrl:U.url})}parseFullPerson(i){let s=this.parsePerson(i);return Oe(s,["name","email","avatarUrl"])}parseFullPersonAndSave(i){let s=this.parseFullPerson(i);return wr(this.contactRepo.insertOrPatch(s))}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac})})(),n})();var Wi="3.7.5",Wn=Wi,Vn=typeof atob=="function",Gn=typeof btoa=="function",jt=typeof Buffer=="function",Bi=typeof TextDecoder=="function"?new TextDecoder:void 0,ji=typeof TextEncoder=="function"?new TextEncoder:void 0,Xn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ne=Array.prototype.slice.call(Xn),De=(n=>{let r={};return n.forEach((d,i)=>r[d]=i),r})(ne),Zn=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Y=String.fromCharCode.bind(String),zi=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):n=>new Uint8Array(Array.prototype.slice.call(n,0)),Vi=n=>n.replace(/=/g,"").replace(/[+\/]/g,r=>r=="+"?"-":"_"),Gi=n=>n.replace(/[^A-Za-z0-9\+\/]/g,""),Xi=n=>{let r,d,i,s,c="",m=n.length%3;for(let g=0;g255||(i=n.charCodeAt(g++))>255||(s=n.charCodeAt(g++))>255)throw new TypeError("invalid character found");r=d<<16|i<<8|s,c+=ne[r>>18&63]+ne[r>>12&63]+ne[r>>6&63]+ne[r&63]}return m?c.slice(0,m-3)+"===".substring(m):c},or=Gn?n=>btoa(n):jt?n=>Buffer.from(n,"binary").toString("base64"):Xi,ir=jt?n=>Buffer.from(n).toString("base64"):n=>{let d=[];for(let i=0,s=n.length;ir?Vi(ir(n)):ir(n),qn=n=>{if(n.length<2){var r=n.charCodeAt(0);return r<128?n:r<2048?Y(192|r>>>6)+Y(128|r&63):Y(224|r>>>12&15)+Y(128|r>>>6&63)+Y(128|r&63)}else{var r=65536+(n.charCodeAt(0)-55296)*1024+(n.charCodeAt(1)-56320);return Y(240|r>>>18&7)+Y(128|r>>>12&63)+Y(128|r>>>6&63)+Y(128|r&63)}},Jn=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Zi=n=>n.replace(Jn,qn),Hi=jt?n=>Buffer.from(n,"utf8").toString("base64"):ji?n=>ir(ji.encode(n)):n=>or(Zi(n)),Bt=(n,r=!1)=>r?Vi(Hi(n)):Hi(n),Yi=n=>Bt(n,!0),Kn=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Qn=n=>{switch(n.length){case 4:var r=(7&n.charCodeAt(0))<<18|(63&n.charCodeAt(1))<<12|(63&n.charCodeAt(2))<<6|63&n.charCodeAt(3),d=r-65536;return Y((d>>>10)+55296)+Y((d&1023)+56320);case 3:return Y((15&n.charCodeAt(0))<<12|(63&n.charCodeAt(1))<<6|63&n.charCodeAt(2));default:return Y((31&n.charCodeAt(0))<<6|63&n.charCodeAt(1))}},qi=n=>n.replace(Kn,Qn),Ji=n=>{if(n=n.replace(/\s+/g,""),!Zn.test(n))throw new TypeError("malformed base64.");n+="==".slice(2-(n.length&3));let r,d="",i,s;for(let c=0;c>16&255):s===64?Y(r>>16&255,r>>8&255):Y(r>>16&255,r>>8&255,r&255);return d},sr=Vn?n=>atob(Gi(n)):jt?n=>Buffer.from(n,"base64").toString("binary"):Ji,Ki=jt?n=>zi(Buffer.from(n,"base64")):n=>zi(sr(n).split("").map(r=>r.charCodeAt(0))),Qi=n=>Ki(tn(n)),to=jt?n=>Buffer.from(n,"base64").toString("utf8"):Bi?n=>Bi.decode(Ki(n)):n=>qi(sr(n)),tn=n=>Gi(n.replace(/[-_]/g,r=>r=="-"?"+":"/")),nr=n=>to(tn(n)),eo=n=>{if(typeof n!="string")return!1;let r=n.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(r)||!/[^\s0-9a-zA-Z\-_]/.test(r)},en=n=>({value:n,enumerable:!1,writable:!0,configurable:!0}),rn=function(){let n=(r,d)=>Object.defineProperty(String.prototype,r,en(d));n("fromBase64",function(){return nr(this)}),n("toBase64",function(r){return Bt(this,r)}),n("toBase64URI",function(){return Bt(this,!0)}),n("toBase64URL",function(){return Bt(this,!0)}),n("toUint8Array",function(){return Qi(this)})},nn=function(){let n=(r,d)=>Object.defineProperty(Uint8Array.prototype,r,en(d));n("toBase64",function(r){return we(this,r)}),n("toBase64URI",function(){return we(this,!0)}),n("toBase64URL",function(){return we(this,!0)})},ro=()=>{rn(),nn()},on={version:Wi,VERSION:Wn,atob:sr,atobPolyfill:Ji,btoa:or,btoaPolyfill:Xi,fromBase64:nr,toBase64:Bt,encode:Bt,encodeURI:Yi,encodeURL:Yi,utob:Zi,btou:qi,decode:nr,isValid:eo,fromUint8Array:we,toUint8Array:Qi,extendString:rn,extendUint8Array:nn,extendBuiltins:ro};var _e=new pt("GMAIL_SYSTEM_MAILBOXES",{providedIn:"root",factory:()=>[{id:"INBOX",name:be.Inbox},{id:"TRASH",name:be.Trash},{id:"SPAM",name:be.Spam}]});var sn=(()=>{let r=class{constructor(){this.user$=I(it).user$,this.contactRepo=I(Me),this.systemMailboxes=I(_e)}parseMessage(i){let s=i.payload&&this.parseBodyIntoContentAndType(i.payload),c=i.payload?.headers&&this.parseHeaders(i.payload.headers),m=c?.sender?this.getOrCreateContactByAddress(c.sender):tt(null),g=c?.recipients?.map(D=>this.getOrCreateContactByAddress(D));return lt([m,...g??[]]).pipe(M(([D,...O])=>V(V(V(V(V(V(V(V({},i.id&&{id:i.id}),c?.subject&&{subject:c.subject}),D&&{sender:D.id}),g&&{recipients:O.map(U=>U.id)}),c?.sentAt&&{sentAt:c.sentAt}),i.snippet&&{snippet:i.snippet}),s&&{content:s.content,contentType:s.contentType}),i.labelIds&&{isStarred:i.labelIds.includes("STARRED"),isRead:!i.labelIds.includes("UNREAD"),type:this.parseLabelIdsIntoMailType(i.labelIds),mailbox:this.parseLabelIdsIntoMailboxId(i.labelIds)??void 0})))}parseFullMessage(i){let s=(...c)=>c;return this.parseMessage(i).pipe(M(c=>Oe(c,[...s("id","sender","sentAt","content","contentType"),...s("isRead","type","isStarred")])))}parseHeaders(i){let s=i.find(S=>S.name==="Subject")?.value,c=i.find(S=>S.name==="From")?.value,m=c?this.parseAddressString(c):void 0,D=i.find(S=>S.name==="To")?.value?.split(",").map(S=>S.trim()).map(S=>this.parseAddressString(S)),O=i.find(S=>S.name==="Date")?.value,U=O?new Date(O):void 0;return{subject:s,sender:m,recipients:D,sentAt:U}}parseBody(i,s){if(i.mimeType===s){let c=nt(i,"body.data");return on.decode(c)}for(let c of i.parts??[]){let m=this.parseBody(c,s);if(m)return m}return null}parseBodyIntoContentAndType(i){let s=this.parseBody(i,"text/html");if(s)return{content:s,contentType:"html"};let c=this.parseBody(i,"text/plain");return c?{content:c,contentType:"plain-text"}:{content:"",contentType:"plain-text"}}parseAddressString(i){let s=i.match(/^(.+?)\s+<(.+?)>$/u);if(!s)return{email:i};let[,c,m]=s;return{name:c,email:m}}parseLabelIdsIntoMailType(i){return i.includes("SENT")?"sent":i.includes("DRAFT")?"draft":"received"}parseLabelIdsIntoMailboxId(i){let s=this.systemMailboxes.map(m=>m.id);return i.find(m=>s.includes(m)||m.startsWith("Label_"))??null}getOrCreateContactByAddress(i){return this.user$.pipe(et(),B(()=>this.contactRepo.query(s=>s.email===i.email)),et(),B(s=>s.length?this.contactRepo.retrieve(s[0].id):this.contactRepo.insert({id:i.email,name:i.name,email:i.email})))}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac,providedIn:"root"})})(),n})();var an=(()=>{let r=class{constructor(){this.messageParser=I(sn),this.mailRepo=I(Ei),this.messageListApi=Z(i=>i.gmail.users.messages.list),this.messageGetApi=Z(i=>i.gmail.users.messages.get),this.messageModifyApi=Z(i=>i.gmail.users.messages.modify),this.messageDeleteApi=Z(i=>i.gmail.users.messages.delete)}loadMails(){return this.messageListApi({userId:"me",includeSpamTrash:!0}).pipe(M(i=>nt(i,"result.messages")),B(i=>lt(i.map(s=>this.loadMail(nt(s,"id"))))))}loadMail(i){return this.messageGetApi({userId:"me",id:i}).pipe(M(s=>s.result),B(s=>this.messageParser.parseFullMessage(s)),B(s=>this.mailRepo.insertOrPatch(s)))}markMailAsStarred(i){return this.updateMail(i,{addLabelIds:["STARRED"]},{isStarred:!0}).pipe(M(()=>{}))}markMailAsNotStarred(i){return this.updateMail(i,{removeLabelIds:["STARRED"]},{isStarred:!1}).pipe(M(()=>{}))}markMailAsRead(i){return this.updateMail(i,{removeLabelIds:["UNREAD"]},{isRead:!0}).pipe(M(()=>{}))}markMailAsUnread(i){return this.updateMail(i,{addLabelIds:["UNREAD"]},{isRead:!1}).pipe(M(()=>{}))}moveMail(i,s){return this.updateMail(i,{removeLabelIds:i.mailbox?[i.mailbox]:[],addLabelIds:s?[s.id]:[]},{mailbox:s?s.id:void 0}).pipe(M(()=>{}))}deleteMail(i){return this.initiateOptimisticMutation(()=>this.mailRepo.delete(i.id),()=>this.messageDeleteApi({userId:"me",id:i.id})).pipe(M(()=>{}))}updateMail(i,s,c){return this.initiateOptimisticMutation(()=>this.mailRepo.patch(i.id,c),()=>this.messageModifyApi({userId:"me",id:i.id},s).pipe(B(m=>this.messageParser.parseMessage(m.result)),et(),B(m=>this.mailRepo.patch(i.id,m))))}initiateOptimisticMutation(i,s){let c=i();return s().pipe(ge(m=>{throw c.undo(),m}))}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac})})(),n})();var cn=(()=>{let r=class{constructor(){this.mailboxRepo=I(Ii),this.systemMailboxes=I(_e),this.labelListApi=Z(i=>i.gmail.users.labels.list)}loadMailboxes(){return this.labelListApi({userId:"me"}).pipe(M(i=>nt(i.result,"labels")),M(i=>this.parseLabels(i)),M(i=>[...this.systemMailboxes,...i]),B(i=>lt(i.map(s=>this.mailboxRepo.insertOrPatch(s)))))}parseLabels(i){return i.map(c=>this.parseLabel(c)).filter(c=>!!c)}parseLabel(i){return i.type==="system"?null:{id:nt(i,"id"),name:nt(i,"name")}}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac})})(),n})();var ar=(()=>{let r=class{static configure(i){return{ngModule:r,providers:[{provide:xe,useValue:i.clientId}]}}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275mod=xt({type:r})})(),(()=>{r.\u0275inj=Ct({providers:[{provide:Nt,useFactory:()=>{let i=I(Rt);return()=>i},multi:!0},{provide:Nt,useFactory:()=>{if(Lt.production)return()=>{};let i=I(Rt),s=I(it);return()=>{i.subscribe(()=>{if(localStorage.authorization){let c=JSON.parse(localStorage.authorization);gapi.client.setToken({access_token:c.token}),s.setAuthorization(c),console.log("authorization restored",c)}}),s.authorization$.pipe(G(Boolean)).subscribe(c=>{localStorage.authorization=JSON.stringify(c),console.log("authorization saved",c)})}},multi:!0},{provide:it,useClass:ki},{provide:Ft,useClass:Fi},{provide:Ie,useClass:an},{provide:Ce,useClass:cn}]})})(),n})();var Lt={production:!0,backend:ar.configure({clientId:"126727577801-phhoo29ubi9s8t4hmo9n456fduh8du74.apps.googleusercontent.com"})};var un=(()=>{let r=class{},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275cmp=Ee({type:r,selectors:[["rpl-launch-screen"]],decls:3,vars:0,consts:[[1,"logo"],[1,"text"]],template:function(s,c){s&1&&(Kt(0,"rpl-logo",0),Wr(1,"div",1),Xr(2,"Reply"),Vr())},dependencies:[Ae],styles:["[_nghost-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding-bottom:8vh;color:#ffffffde;background-color:#344955}.logo[_ngcontent-%COMP%]{width:120px}.text[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:32px;font-family:Work Sans,sans-serif;letter-spacing:normal;text-transform:uppercase}"],changeDetection:0})})(),n})();function oo(n,r){n&1&&Kt(0,"rpl-launch-screen",1),n&2&&Ge("@launchScreen",void 0)}var ln=(()=>{let r=class{get breakpointsClassBindings(){return this.breakpoints()}constructor(){this.animationId=xi(),this.breakpoints=I(Oi),this.router=I(Ci),this.authService=I(it),this.initializers=[...I(Nt),()=>this.router.events.pipe(G(s=>s instanceof Mi),et()),()=>ve(500)],this.initialized$=Jt(...this.initializers.map(s=>s()??tt(null))).pipe(Nr(this.initializers.length),M(()=>!0),ye(!1),St(1)),this.authService.authorized$.pipe(Ur(),M(s=>s[1])).subscribe(()=>{this.router.navigateByUrl("/")})}},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275cmp=Ee({type:r,selectors:[["rpl-root"]],hostVars:3,hostBindings:function(s,c){s&2&&(Zr("@routes",c.animationId()),Gr(c.breakpointsClassBindings))},decls:3,vars:3,consts:[["class","launch-screen",4,"ngIf"],[1,"launch-screen"]],template:function(s,c){s&1&&(Kt(0,"router-outlet"),Yr(1,oo,1,1,"rpl-launch-screen",0),qr(2,"async")),s&2&&(zr(1),Ge("ngIf",!Jr(2,1,c.initialized$)))},dependencies:[ei,bi,un,ri],styles:['[_nghost-%COMP%]{display:grid;height:100%;background-color:#edf0f2;column-gap:8px;grid-template-rows:100%;grid-template-columns:[margin-left] 0px repeat(4,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 .";overflow:hidden}.tablet-portrait[_nghost-%COMP%]{column-gap:32px;grid-template-columns:[margin-left] 0px repeat(8,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 col-5 col-6 col-7 col-8 ."}.tablet-landscape[_nghost-%COMP%]{grid-template-columns:[margin-left] 0px repeat(12,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 col-5 col-6 col-7 col-8 col-9 col-10 col-11 col-12 ."}.launch-screen[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;z-index:1000}'],data:{animation:[Ze("routes",[qe("auth => main",[ci([Ut(":leave [data-route-animation-target]",[Qt("50ms linear"),te({opacity:0})]),Ut(":enter rpl-side-nav:not(.expanded)",[te({transform:"translateX(-100%)"}),Qt(`225ms 50ms ${Ke.DECELERATION_CURVE}`)],{optional:!0}),Ut(":enter rpl-bottom-nav > .content, :enter rpl-bottom-nav > .background",[te({transform:"translateY(100%)"}),Qt(`225ms 50ms ${Ke.DECELERATION_CURVE}`)],{optional:!0}),Ut(":enter rpl-bottom-nav @*",[Je()],{optional:!0}),Ut(":enter rpl-mail-list-layout",[Je({delay:"50ms"})])])])]),Ze("launchScreen",[qe(":leave",[Qt("50ms linear"),te({opacity:0})])])]},changeDetection:0})})(),n})();var ao=()=>I(it).authorized$,co=()=>I(it).authorized$.pipe(M(n=>!n)),uo=()=>lt([I(it).user$,I(Ft).loadContacts(),I(Ie).loadMails(),I(Ce).loadMailboxes()]).pipe(et(),M(()=>!0)),lo=[{path:"",canMatch:[co],children:[{path:"auth",data:{animationId:"auth"},loadChildren:()=>import("./auth.module-GISTRWXJ.js").then(n=>n.AuthModule)},{path:"**",redirectTo:"auth"}]},{path:"",canMatch:[ao],canActivate:[uo],children:[{path:"",pathMatch:"full",redirectTo:"mailboxes/Inbox/mails"},{path:"",data:{animationId:"main"},loadChildren:()=>import("./main.module-CAAOIGYM.js").then(n=>n.MainModule)},{path:"**",redirectTo:"mailboxes/Inbox/mails"}]}],po=(()=>{let r=class extends Si{buildTitle(i){let s=super.buildTitle(i);return s&&`${s} | Reply`}},n=r;return(()=>{r.\u0275fac=function(){let i;return function(c){return(i||(i=Br(r)))(c||r)}}()})(),(()=>{r.\u0275prov=$({token:r,factory:r.\u0275fac})})(),n})(),pn=(()=>{let r=class{},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275mod=xt({type:r})})(),(()=>{r.\u0275inj=Ct({providers:[{provide:Ai,useClass:po}],imports:[Qe.forRoot(lo),Qe]})})(),n})();var hn=(()=>{let r=class{},n=r;return(()=>{r.\u0275fac=function(s){return new(s||r)}})(),(()=>{r.\u0275mod=xt({type:r,bootstrap:[ln]})})(),(()=>{r.\u0275inj=Ct({providers:[{provide:Nt,useFactory:()=>{let i=I(pi),s=I(ai),c=g=>s.bypassSecurityTrustResourceUrl(g),m=()=>i.getNamedSvgIcon("").pipe(ge(()=>tt(null)));return()=>(i.setDefaultFontSetClass(),i.registerFontClassAlias("filled","material-icons mat-ligature-font"),i.addSvgIconSet(c("assets/icons.svg")),m())},multi:!0}],imports:[oi,ui,Li.register("ngsw-worker.js",{enabled:Lt.production,registrationStrategy:"registerWhenStable:30000"}),si,ii,vi.forRoot(),gi.forRoot(),Lt.backend,hi,mi,di,li,fi,pn,Ae]})})(),n})();Lt.production&&void 0;ni().bootstrapModule(hn).catch(n=>console.error(n)); diff --git a/main.Z2AWIZVL.js b/main.Z2AWIZVL.js new file mode 100644 index 00000000..3d82afe9 --- /dev/null +++ b/main.Z2AWIZVL.js @@ -0,0 +1,39 @@ +import{a as Dr,h as kr,k as Ur,m as zt}from"./chunk-4ATFR6FD.js";import{c as jr,d as Fr,e as Hr,f as Vr}from"./chunk-5QDPU4Y2.js";import{a as Xt}from"./chunk-2P62XVQM.js";import{l as Lr,m as N,o as Gr,r as $r}from"./chunk-CKWROFPT.js";import{a as G}from"./chunk-NZ3JMIKG.js";import{b as Wr}from"./chunk-MILDH525.js";import"./chunk-BTQVCDJX.js";import{Aa as ur,Ac as ve,B as tr,Bb as br,C as er,Ca as pe,Cc as ge,Da as hr,Ea as fr,Ec as ot,F as Wt,Fa as Et,G as rr,Gb as Mr,Gc as wr,H as ir,Hc as Te,I as Yt,Ib as de,Jb as Cr,K as nr,Kb as Ar,L as yt,Lb as Sr,Mb as Or,Nb as Pr,O as or,R as m,S as X,T as he,U as f,Ua as pr,V as Bt,Va as dr,W as q,_a as mr,cd as xr,d as Ge,e as $e,eb as vr,ed as Rr,fa as sr,fb as gr,hd as _r,i as Vt,ia as U,j as b,ja as ar,jd as Yr,k as nt,ka as fe,m as y,md as Br,n as B,nd as zr,o as Ze,od as Xr,p as le,pd as qr,qa as cr,qb as Tr,r as ue,rb as yr,s as Je,sa as lr,sb as Er,sd as ye,t as Tt,u as z,v as V,vc as me,w as Ke,wb as Ir,wc as It,x as Qe,xc as Nr,yc as bt,z as Q}from"./chunk-HFIM43UT.js";import{a as qe,c as Ki,d as Qi}from"./chunk-OPXGAHDX.js";var Zr=Ki((mn,qt)=>{(function(o,i,p,s){"use strict";var a=["","webkit","Moz","MS","ms","o"],h=i.createElement("div"),C="function",d=Math.round,W=Math.abs,tt=Date.now;function D(t,e,r){return setTimeout(Zt(t,r),e)}function et(t,e,r){return Array.isArray(t)?(L(t,r[e],r),!0):!1}function L(t,e,r){var n;if(t)if(t.forEach)t.forEach(e,r);else if(t.length!==s)for(n=0;n\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",u=o.console&&(o.console.warn||o.console.log);return u&&u.call(o.console,n,l),t.apply(this,arguments)}}var x;typeof Object.assign!="function"?x=function(e){if(e===s||e===null)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),n=1;n-1}function Pt(t){return t.trim().split(/\s+/g)}function rt(t,e,r){if(t.indexOf&&!r)return t.indexOf(e);for(var n=0;nI[e]}):n=n.sort()),n}function wt(t,e){for(var r,n,c=e[0].toUpperCase()+e.slice(1),l=0;l1&&!r.firstMultiple?r.firstMultiple=we(e):c===1&&(r.firstMultiple=!1);var l=r.firstInput,u=r.firstMultiple,g=u?u.center:l.center,T=e.center=De(n);e.timeStamp=tt(),e.deltaTime=e.timeStamp-l.timeStamp,e.angle=Qt(g,T),e.distance=Rt(g,T),Pi(r,e),e.offsetDirection=Re(e.deltaX,e.deltaY);var I=xe(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=I.x,e.overallVelocityY=I.y,e.overallVelocity=W(I.x)>W(I.y)?I.x:I.y,e.scale=u?Di(u.pointers,n):1,e.rotation=u?wi(u.pointers,n):0,e.maxPointers=r.prevInput?e.pointers.length>r.prevInput.maxPointers?e.pointers.length:r.prevInput.maxPointers:e.pointers.length,Ni(r,e);var k=t.element;Ce(e.srcEvent.target,k)&&(k=e.srcEvent.target),e.target=k}function Pi(t,e){var r=e.center,n=t.offsetDelta||{},c=t.prevDelta||{},l=t.prevInput||{};(e.eventType===E||l.eventType===v)&&(c=t.prevDelta={x:l.deltaX||0,y:l.deltaY||0},n=t.offsetDelta={x:r.x,y:r.y}),e.deltaX=c.x+(r.x-n.x),e.deltaY=c.y+(r.y-n.y)}function Ni(t,e){var r=t.lastInterval||e,n=e.timeStamp-r.timeStamp,c,l,u,g;if(e.eventType!=M&&(n>Ci||r.velocity===s)){var T=e.deltaX-r.deltaX,I=e.deltaY-r.deltaY,k=xe(n,T,I);l=k.x,u=k.y,c=W(k.x)>W(k.y)?k.x:k.y,g=Re(T,I),t.lastInterval=e}else c=r.velocity,l=r.velocityX,u=r.velocityY,g=r.direction;e.velocity=c,e.velocityX=l,e.velocityY=u,e.direction=g}function we(t){for(var e=[],r=0;r=W(e)?t<0?ht:ft:e<0?pt:dt}function Rt(t,e,r){r||(r=Ne);var n=e[r[0]]-t[r[0]],c=e[r[1]]-t[r[1]];return Math.sqrt(n*n+c*c)}function Qt(t,e,r){r||(r=Ne);var n=e[r[0]]-t[r[0]],c=e[r[1]]-t[r[1]];return Math.atan2(c,n)*180/Math.PI}function wi(t,e){return Qt(e[1],e[0],xt)+Qt(t[1],t[0],xt)}function Di(t,e){return Rt(e[0],e[1],xt)/Rt(t[0],t[1],xt)}var xi={mousedown:E,mousemove:Z,mouseup:v},Ri="mousedown",_i="mousemove mouseup";function _t(){this.evEl=Ri,this.evWin=_i,this.pressed=!1,O.apply(this,arguments)}A(_t,O,{handler:function(e){var r=xi[e.type];r&E&&e.button===0&&(this.pressed=!0),r&Z&&e.which!==1&&(r=v),this.pressed&&(r&v&&(this.pressed=!1),this.callback(this.manager,r,{pointers:[e],changedPointers:[e],pointerType:Kt,srcEvent:e}))}});var ki={pointerdown:E,pointermove:Z,pointerup:v,pointercancel:M,pointerout:M},Ui={2:ut,3:bi,4:Kt,5:Mi},_e="pointerdown",ke="pointermove pointerup pointercancel";o.MSPointerEvent&&!o.PointerEvent&&(_e="MSPointerDown",ke="MSPointerMove MSPointerUp MSPointerCancel");function te(){this.evEl=_e,this.evWin=ke,O.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}A(te,O,{handler:function(e){var r=this.store,n=!1,c=e.type.toLowerCase().replace("ms",""),l=ki[c],u=Ui[e.pointerType]||e.pointerType,g=u==ut,T=rt(r,e.pointerId,"pointerId");l&E&&(e.button===0||g)?T<0&&(r.push(e),T=r.length-1):l&(v|M)&&(n=!0),!(T<0)&&(r[T]=e,this.callback(this.manager,l,{pointers:r,changedPointers:[e],pointerType:u,srcEvent:e}),n&&r.splice(T,1))}});var Li={touchstart:E,touchmove:Z,touchend:v,touchcancel:M},ji="touchstart",Fi="touchstart touchmove touchend touchcancel";function Ue(){this.evTarget=ji,this.evWin=Fi,this.started=!1,O.apply(this,arguments)}A(Ue,O,{handler:function(e){var r=Li[e.type];if(r===E&&(this.started=!0),!!this.started){var n=Hi.call(this,e,r);r&(v|M)&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,r,{pointers:n[0],changedPointers:n[1],pointerType:ut,srcEvent:e})}}});function Hi(t,e){var r=Nt(t.touches),n=Nt(t.changedTouches);return e&(v|M)&&(r=Ae(r.concat(n),"identifier",!0)),[r,n]}var Vi={touchstart:E,touchmove:Z,touchend:v,touchcancel:M},Wi="touchstart touchmove touchend touchcancel";function kt(){this.evTarget=Wi,this.targetIds={},O.apply(this,arguments)}A(kt,O,{handler:function(e){var r=Vi[e.type],n=Yi.call(this,e,r);n&&this.callback(this.manager,r,{pointers:n[0],changedPointers:n[1],pointerType:ut,srcEvent:e})}});function Yi(t,e){var r=Nt(t.touches),n=this.targetIds;if(e&(E|Z)&&r.length===1)return n[r[0].identifier]=!0,[r,r];var c,l,u=Nt(t.changedTouches),g=[],T=this.target;if(l=r.filter(function(I){return Ce(I.target,T)}),e===E)for(c=0;c-1&&n.splice(l,1)};setTimeout(c,Bi)}}function Xi(t){for(var e=t.srcEvent.clientX,r=t.srcEvent.clientY,n=0;n-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,r=this.state;function n(c){e.manager.emit(c,t)}r=Y&&n(e.options.event+Ye(r))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=_},canEmit:function(){for(var t=0;te.threshold&&c&e.direction},attrTest:function(t){return w.prototype.attrTest.call(this,t)&&(this.state&P||!(this.state&P)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Be(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}});function ne(){w.apply(this,arguments)}A(ne,w,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[K]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&P)},emit:function(t){if(t.scale!==1){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}});function oe(){F.apply(this,arguments),this._timer=null,this._input=null}A(oe,F,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[We]},process:function(t){var e=this.options,r=t.pointers.length===e.pointers,n=t.distancee.time;if(this._input=t,!n||!r||t.eventType&(v|M)&&!c)this.reset();else if(t.eventType&E)this.reset(),this._timer=D(function(){this.state=j,this.tryEmit()},e.time,this);else if(t.eventType&v)return j;return _},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===j&&(t&&t.eventType&v?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=tt(),this.manager.emit(this.options.event,this._input)))}});function se(){w.apply(this,arguments)}A(se,w,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[K]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&P)}});function ae(){w.apply(this,arguments)}A(ae,w,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:R|J,pointers:1},getTouchAction:function(){return Ft.prototype.getTouchAction.call(this)},attrTest:function(t){var e=this.options.direction,r;return e&(R|J)?r=t.overallVelocity:e&R?r=t.overallVelocityX:e&J&&(r=t.overallVelocityY),this._super.attrTest.call(this,t)&&e&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&W(r)>this.options.velocity&&t.eventType&v},emit:function(t){var e=Be(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}});function Ht(){F.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}A(Ht,F,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[re]},process:function(t){var e=this.options,r=t.pointers.length===e.pointers,n=t.distancent(new Error(o)))}var st=class{constructor(i){if(this.serviceWorker=i,!i)this.worker=this.events=this.registration=tn(Ct);else{let s=ue(i,"controllerchange").pipe(y(()=>i.controller)),a=le(()=>b(i.controller)),h=Ze(a,s);this.worker=h.pipe(V(D=>!!D)),this.registration=this.worker.pipe(yt(()=>i.getRegistration()));let tt=ue(i,"message").pipe(y(D=>D.data)).pipe(V(D=>D&&D.type)).pipe(ir());tt.connect(),this.events=tt}}postMessage(i,p){return this.worker.pipe(Q(1),or(s=>{s.postMessage(qe({action:i},p))})).toPromise().then(()=>{})}postMessageWithOperation(i,p,s){let a=this.waitForOperationCompleted(s),h=this.postMessage(i,p);return Promise.all([h,a]).then(([,C])=>C)}generateNonce(){return Math.round(Math.random()*1e7)}eventsOfType(i){let p;return typeof i=="string"?p=s=>s.type===i:p=s=>i.includes(s.type),this.events.pipe(V(p))}nextEventOfType(i){return this.eventsOfType(i).pipe(Q(1))}waitForOperationCompleted(i){return this.eventsOfType("OPERATION_COMPLETED").pipe(V(p=>p.nonce===i),Q(1),y(p=>{if(p.result!==void 0)return p.result;throw new Error(p.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}},ti=(()=>{let i=class{get isEnabled(){return this.sw.isEnabled}constructor(s){if(this.sw=s,this.pushManager=null,this.subscriptionChanges=new Ge,!s.isEnabled){this.messages=z,this.notificationClicks=z,this.subscription=z;return}this.messages=this.sw.eventsOfType("PUSH").pipe(y(h=>h.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(y(h=>h.data)),this.pushManager=this.sw.registration.pipe(y(h=>h.pushManager));let a=this.pushManager.pipe(yt(h=>h.getSubscription()));this.subscription=Tt(a,this.subscriptionChanges)}requestSubscription(s){if(!this.sw.isEnabled||this.pushManager===null)return Promise.reject(new Error(Ct));let a={userVisibleOnly:!0},h=this.decodeBase64(s.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),C=new Uint8Array(new ArrayBuffer(h.length));for(let d=0;dd.subscribe(a)),Q(1)).toPromise().then(d=>(this.subscriptionChanges.next(d),d))}unsubscribe(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ct));let s=a=>{if(a===null)throw new Error("Not subscribed to push notifications.");return a.unsubscribe().then(h=>{if(!h)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})};return this.subscription.pipe(Q(1),yt(s)).toPromise()}decodeBase64(s){return atob(s)}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)(he(st))}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac})})(),o})(),ei=(()=>{let i=class{get isEnabled(){return this.sw.isEnabled}constructor(s){if(this.sw=s,!s.isEnabled){this.versionUpdates=z,this.available=z,this.activated=z,this.unrecoverable=z;return}this.versionUpdates=this.sw.eventsOfType(["VERSION_DETECTED","VERSION_INSTALLATION_FAILED","VERSION_READY","NO_NEW_VERSION_DETECTED"]),this.available=this.versionUpdates.pipe(V(a=>a.type==="VERSION_READY"),y(a=>({type:"UPDATE_AVAILABLE",current:a.currentVersion,available:a.latestVersion}))),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ct));let s=this.sw.generateNonce();return this.sw.postMessageWithOperation("CHECK_FOR_UPDATES",{nonce:s},s)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Ct));let s=this.sw.generateNonce();return this.sw.postMessageWithOperation("ACTIVATE_UPDATE",{nonce:s},s)}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)(he(st))}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac})})(),o})();var Jr=new U("NGSW_REGISTER_SCRIPT");function en(o,i,p,s){return()=>{if(!(de(s)&&"serviceWorker"in navigator&&p.enabled!==!1))return;navigator.serviceWorker.addEventListener("controllerchange",()=>{navigator.serviceWorker.controller!==null&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})});let a;if(typeof p.registrationStrategy=="function")a=p.registrationStrategy();else{let[C,...d]=(p.registrationStrategy||"registerWhenStable:30000").split(":");switch(C){case"registerImmediately":a=b(null);break;case"registerWithDelay":a=Kr(+d[0]||0);break;case"registerWhenStable":a=d[0]?Tt(Qr(o),Kr(+d[0])):Qr(o);break;default:throw new Error(`Unknown ServiceWorker registration strategy: ${p.registrationStrategy}`)}}o.get(yr).runOutsideAngular(()=>a.pipe(Q(1)).subscribe(()=>navigator.serviceWorker.register(i,{scope:p.scope}).catch(C=>console.error("Service worker registration failed with:",C))))}}function Kr(o){return b(null).pipe(tr(o))}function Qr(o){return o.get(Er).isStable.pipe(V(p=>p))}function rn(o,i){return new st(de(i)&&o.enabled!==!1?navigator.serviceWorker:void 0)}var Mt=class{};function nn(o,i={}){return ar([ti,ei,{provide:Jr,useValue:o},{provide:Mt,useValue:i},{provide:st,useFactory:rn,deps:[Mt,fe]},{provide:Tr,useFactory:en,deps:[lr,Jr,Mt,fe],multi:!0}])}var ri=(()=>{let i=class{static register(s,a={}){return{ngModule:i,providers:[nn(s,a)]}}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275mod=q({type:i})})(),(()=>{i.\u0275inj=X({providers:[ti,ei]})})(),o})();var at=new U("INITIALIZERS");var ct=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac})})(),o})();var Gt=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac})})(),o})();var on={token:"demo",issuedAt:new Date,lifespan:-1},ii=(()=>{let i=class{constructor(){this.contactService=f(ct),this.authorization$=new $e(null),this.authorized$=this.authorization$.pipe(y(Boolean),er(),Yt(1)),this.user$=this.contactService.loadUser()}setAuthorization(s){return this.authorization$.next(s),!0}requestAuthorization(){this.setAuthorization(on)}revokeAuthorization(){this.authorization$.next(null)}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac})})(),o})();function lt(o){let i=f(o);return i.create.bind(i)}var ni=(()=>{let i=class{create(s){return{id:s.id??s.name,name:s.name,email:s.email??this.generateEmail(s.name),avatarUrl:s.avatarUrl}}generateEmail(s){return s.replace(/\s+/gu,"").toLowerCase()+"@example.com"}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})();var oi=new U("DEMO_CONTACTS",{providedIn:"root",factory:()=>{let o=lt(ni);return[o({id:"",name:"Charles Gu",email:"Char2s@outlook.com",avatarUrl:"assets/demo/avatar-1.jpg"}),o({name:"Google Express",avatarUrl:"assets/demo/avatar-express.png"}),o({name:"Ali Connors",avatarUrl:"assets/demo/avatar-2.jpg"}),o({name:"Sandra Adams",avatarUrl:"assets/demo/avatar-3.jpg"}),o({name:"Trevor Hansen",avatarUrl:"assets/demo/avatar-4.jpg"}),o({name:"Britta Holt",avatarUrl:"assets/demo/avatar-5.jpg"}),o({name:"Josh Dillinger",avatarUrl:"assets/demo/avatar-6.jpg"}),o({name:"Google Play"})]}});var si=(()=>{let i=class{constructor(){this.contacts=f(oi),this.contactRepo=f(Fr)}loadContacts(){return B(this.contacts.map(s=>this.contactRepo.insertOrPatch(s)))}loadContact(s){let a=this.contacts.find(h=>h.id===s);return a?Vt(this.contactRepo.insertOrPatch(a)):nt(()=>new Error(`Contact ${s} not found`))}loadUser(){return this.loadContact("")}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac})})(),o})();var ai=(()=>{let i=class{constructor(){this.nextId=1,this.now=Vr()}create(s){return s.content=this.trimContent(s.content),{id:s.id??String(this.nextId++),subject:s.subject,sender:s.sender,recipients:s.recipients,snippet:s.content.split(` +`)[0],content:s.content,contentType:"plain-text",sentAt:s.sentAt(this.now).toDate(),isStarred:s.isStarred??!1,isRead:s.isRead??!1,type:"received",mailbox:s.mailbox}}trimContent(s){return s.split(` +`).map(h=>h.trim()).join(` +`).trim()}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})();var ci=new U("DEMO_MAILS",{providedIn:"root",factory:()=>{let o=lt(ai);return[o({subject:"Package shipped!",sender:"Google Express",recipients:[""],content:` + Cucumber Mask Facial has shipped. + + Keep an eye out for a package to arrive between this Thursday and next Tuesday. If for any reason you don't receive your package before the end of next week, please reach out to us for details on your shipment. + + As always, thank you for shopping with us and we hope you love our specially formulated Cucumber Mask!`,sentAt:i=>i.subtract(15,"minutes"),mailbox:N.Inbox}),o({subject:"Brunch this weekend?",sender:"Ali Connors",recipients:[""],content:` + I'll be in your neighborhood doing errands and was hoping to catch you for a coffee this Saturday. If you don't have anything scheduled, it would be great to see you! It feels like its been forever. + + If we do get a chance to get together, remind me to tell you about Kim. She stopped over at the house to say hey to the kids and told me all about her trip to Mexico. + + Talk to you soon, + + Ali`,sentAt:i=>i.subtract(25,"minutes"),mailbox:N.Inbox}),o({subject:"Bonjour from Paris",sender:"Sandra Adams",recipients:[""],content:` + Here are some great shots from my trip...`,sentAt:i=>i.subtract(6,"hours"),mailbox:N.Inbox}),o({subject:"High school reunion?",sender:"Trevor Hansen",recipients:["","Ali Connors","Sandra Adams"],content:` + Hi friends, + + I was at the grocery store on Sunday night.. when I ran into Genie Williams! I almost didn't recognize her afer 20 years! + + Anyway, it turns out she is on the organizing committee for the high school reunion this fall. I don't know if you were planning on going or not, but she could definitely use our help in trying to track down lots of missing alums. If you can make it, we're doing a little phone-tree party at her place next Saturday, hoping that if we can find one person, a few more will...`,sentAt:i=>i.subtract(12,"hours"),isStarred:!0,mailbox:N.Inbox}),o({subject:"Recipe to try",sender:"Britta Holt",recipients:[""],content:` + Raspberry Pie: We should make this pie recipe tonight! The filling is very quick to put together.`,sentAt:i=>i.subtract(18,"hours"),isRead:!0,mailbox:N.Inbox}),o({subject:"Parent Teacher Conference",sender:"Josh Dillinger",recipients:[""],content:` + Dear Parent, + + A Parent Teacher Conference is planned for your child on Tuesday, March 3rd at 3:30pm. + + Please contact the school if you have any questions.`,sentAt:i=>i.subtract(1,"month").subtract(28,"day"),isStarred:!0,isRead:!0,mailbox:N.Inbox}),o({subject:"Brazil trip",sender:"Britta Holt",recipients:[""],content:` + Thought we might be able to go over some details about our upcoming vacation. + + I've been doing a bit of research and have come across a few paces in Northern Brazil that I think we should check out. One, the north has some of the most predictable wind on the planet. I'd love to get out on the ocean and kitesurf for a couple of days if we're going to be anywhere near or around Taiba. I hear it's beautiful there and if you're up for it, I'd love to go. Other than that, I haven't spent too much time looking into places along our road trip route. I'm assuming we can find places to stay and things to do as we drive and find places we think look interesting. But... I know you're more of a planner, so if you have ideas or places in mind, lets jot some ideas down! + + Maybe we can jump on the phone later today if you have a second.`,sentAt:i=>i.subtract(9,"hours"),isRead:!0,mailbox:N.Inbox}),o({subject:"Delivered",sender:"Google Express",recipients:[""],content:` + Your package has been delivered to the target address. For more information, please visit our official website.`,sentAt:i=>i.subtract(15,"hours"),mailbox:N.Inbox}),o({subject:"Your update on the Google Play Store is live!",sender:"Google Play",recipients:[""],content:` + Your update is now live on the Play Store and available for your alpha users to start testing. + + Your alpha testers will be automatically notified. If you'd rather send them a link directly, go to your Google Play Console and follow the instructions for obtaining an open alpha testing link.`,sentAt:i=>i.subtract(1,"year").subtract(10,"days"),mailbox:N.Trash})]}});var li=(()=>{let i=class{constructor(){this.mails=f(ci),this.mailRepo=f(Hr)}loadMails(){return B(this.mails.map(s=>this.mailRepo.insertOrPatch(s)))}loadMail(s){let a=this.mails.find(h=>h.id===s);return a?Vt(this.mailRepo.insertOrPatch(a)):nt(()=>new Error(`Mail ${s} not found`))}markMailAsStarred(s){return this.mailRepo.patch(s.id,{isStarred:!0}),b(void 0)}markMailAsNotStarred(s){return this.mailRepo.patch(s.id,{isStarred:!1}),b(void 0)}markMailAsRead(s){return this.mailRepo.patch(s.id,{isRead:!0}),b(void 0)}markMailAsUnread(s){return this.mailRepo.patch(s.id,{isRead:!1}),b(void 0)}moveMail(s,a){return this.mailRepo.patch(s.id,{mailbox:a.id}),b(void 0)}deleteMail(s){return this.mailRepo.delete(s.id),b(void 0)}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac})})(),o})();var ui=(()=>{let i=class{create(s){return{id:s.id??s.name,name:s.name}}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac,providedIn:"root"})})(),o})();var hi=new U("DEMO_MAILBOXES",{providedIn:"root",factory:()=>{let o=lt(ui);return[...Object.values(N).map(i=>o({name:i})),o({name:"Receipts"}),o({name:"Pine Elementary"}),o({name:"Taxes"}),o({name:"Vacation"}),o({name:"Mortgage"}),o({name:"Freelance"})]}});var $t=class{constructor(){this.mailboxes=f(hi),this.mailboxRepo=f(Wr)}loadMailboxes(){return B(this.mailboxes.map(i=>this.mailboxRepo.insertOrPatch(i)))}};var Ee=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275mod=q({type:i})})(),(()=>{i.\u0275inj=X({providers:[{provide:at,useFactory:()=>{let s=f(Ir);return()=>{let a=s.createElement("div");a.innerText="DEMO",a.style.position="fixed",a.style.bottom="0",a.style.right="0",a.style.padding="4px 8px",a.style.color="white",a.style.backgroundColor="black",a.style.opacity="60%",a.style.zIndex="10000",a.style.pointerEvents="none",s.body.appendChild(a)}},multi:!0},{provide:G,useClass:ii},{provide:ct,useClass:si},{provide:Gt,useClass:$t},{provide:zt,useClass:li}]})})(),o})();var At={production:!0,backend:Ee};var fi=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275cmp=Bt({type:i,selectors:[["rpl-launch-screen"]],decls:3,vars:0,consts:[[1,"logo"],[1,"text"]],template:function(a,h){a&1&&(Et(0,"rpl-logo",0),hr(1,"div",1),dr(2,"Reply"),fr())},dependencies:[Xt],styles:["[_nghost-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding-bottom:8vh;color:#ffffffde;background-color:#344955}.logo[_ngcontent-%COMP%]{width:120px}.text[_ngcontent-%COMP%]{font-size:24px;font-weight:700;line-height:32px;font-family:Work Sans,sans-serif;letter-spacing:normal;text-transform:uppercase}"],changeDetection:0})})(),o})();function cn(o,i){o&1&&Et(0,"rpl-launch-screen",1),o&2&&pe("@launchScreen",void 0)}var pi=(()=>{let i=class{get breakpointsClassBindings(){return this.breakpoints()}constructor(){this.animationId=Gr(),this.breakpoints=f($r),this.router=f(qr),this.authService=f(G),this.initializers=[...f(at),()=>this.router.events.pipe(V(a=>a instanceof Yr),Wt()),()=>Je(500)],this.initialized$=Tt(...this.initializers.map(a=>a()??b(null))).pipe(Ke(this.initializers.length),y(()=>!0),nr(!1),Yt(1)),this.authService.authorized$.pipe(rr(),y(a=>a[1])).subscribe(()=>{this.router.navigateByUrl("/")})}},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275cmp=Bt({type:i,selectors:[["rpl-root"]],hostVars:3,hostBindings:function(a,h){a&2&&(mr("@routes",h.animationId()),pr(h.breakpointsClassBindings))},decls:3,vars:3,consts:[["class","launch-screen",4,"ngIf"],[1,"launch-screen"]],template:function(a,h){a&1&&(Et(0,"router-outlet"),ur(1,cn,1,1,"rpl-launch-screen",0),vr(2,"async")),a&2&&(cr(1),pe("ngIf",!gr(2,1,h.initialized$)))},dependencies:[br,Br,fi,Mr],styles:['[_nghost-%COMP%]{display:grid;height:100%;background-color:#edf0f2;column-gap:8px;grid-template-rows:100%;grid-template-columns:[margin-left] 0px repeat(4,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 .";overflow:hidden}.tablet-portrait[_nghost-%COMP%]{column-gap:32px;grid-template-columns:[margin-left] 0px repeat(8,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 col-5 col-6 col-7 col-8 ."}.tablet-landscape[_nghost-%COMP%]{grid-template-columns:[margin-left] 0px repeat(12,1fr) 0px [margin-right];grid-template-areas:". col-1 col-2 col-3 col-4 col-5 col-6 col-7 col-8 col-9 col-10 col-11 col-12 ."}.launch-screen[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;z-index:1000}'],data:{animation:[me("routes",[ve("auth => main",[Nr([ot(":leave [data-route-animation-target]",[It("50ms linear"),bt({opacity:0})]),ot(":enter rpl-side-nav:not(.expanded)",[bt({transform:"translateX(-100%)"}),It(`225ms 50ms ${Te.DECELERATION_CURVE}`)],{optional:!0}),ot(":enter rpl-bottom-nav > .content, :enter rpl-bottom-nav > .background",[bt({transform:"translateY(100%)"}),It(`225ms 50ms ${Te.DECELERATION_CURVE}`)],{optional:!0}),ot(":enter rpl-bottom-nav @*",[ge()],{optional:!0}),ot(":enter rpl-mail-list-layout",[ge({delay:"50ms"})])])])]),me("launchScreen",[ve(":leave",[It("50ms linear"),bt({opacity:0})])])]},changeDetection:0})})(),o})();var un=()=>f(G).authorized$,hn=()=>f(G).authorized$.pipe(y(o=>!o)),fn=()=>B([f(G).user$,f(ct).loadContacts(),f(zt).loadMails(),f(Gt).loadMailboxes()]).pipe(Wt(),y(()=>!0)),pn=[{path:"",canMatch:[hn],children:[{path:"auth",data:{animationId:"auth"},loadChildren:()=>import("./auth.module-P2MDSZ43.js").then(o=>o.AuthModule)},{path:"**",redirectTo:"auth"}]},{path:"",canMatch:[un],canActivate:[fn],children:[{path:"",pathMatch:"full",redirectTo:"mailboxes/Inbox/mails"},{path:"",data:{animationId:"main"},loadChildren:()=>import("./main.module-P5HCMW3R.js").then(o=>o.MainModule)},{path:"**",redirectTo:"mailboxes/Inbox/mails"}]}],dn=(()=>{let i=class extends Xr{buildTitle(s){let a=super.buildTitle(s);return a&&`${a} | Reply`}},o=i;return(()=>{i.\u0275fac=function(){let s;return function(h){return(s||(s=sr(i)))(h||i)}}()})(),(()=>{i.\u0275prov=m({token:i,factory:i.\u0275fac})})(),o})(),di=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275mod=q({type:i})})(),(()=>{i.\u0275inj=X({providers:[{provide:zr,useClass:dn}],imports:[ye.forRoot(pn),ye]})})(),o})();var mi=(()=>{let i=class{},o=i;return(()=>{i.\u0275fac=function(a){return new(a||i)}})(),(()=>{i.\u0275mod=q({type:i,bootstrap:[pi]})})(),(()=>{i.\u0275inj=X({providers:[{provide:at,useFactory:()=>{let s=f(xr),a=f(Pr),h=d=>a.bypassSecurityTrustResourceUrl(d),C=()=>s.getNamedSvgIcon("").pipe(Qe(()=>b(null)));return()=>(s.setDefaultFontSetClass(),s.registerFontClassAlias("filled","material-icons mat-ligature-font"),s.addSvgIconSet(h("assets/icons.svg")),C())},multi:!0}],imports:[Sr,wr,ri.register("ngsw-worker.js",{enabled:At.production,registrationStrategy:"registerWhenStable:30000"}),Or,Cr,Lr.forRoot(),jr.forRoot(),At.backend,Rr,Ur,kr,Dr,_r,di,Xt]})})(),o})();At.production&&void 0;Ar().bootstrapModule(mi).catch(o=>console.error(o)); diff --git a/main.module-CAAOIGYM.js b/main.module-CAAOIGYM.js deleted file mode 100644 index 4b57dcb1..00000000 --- a/main.module-CAAOIGYM.js +++ /dev/null @@ -1 +0,0 @@ -import{a as it}from"./chunk-GLURFALA.js";import{a as oe,c as pt}from"./chunk-KMPJQAXK.js";import{l as Jt,m as Y,n as Z,o as et,p as nt,q as _t,r as ot}from"./chunk-NEYEICGN.js";import{a as Qt}from"./chunk-KAVP63DH.js";import{a as Zt,c as te,d as ee,e as ne,f as ct}from"./chunk-67MWGK7F.js";import{d as Xt}from"./chunk-GWX3GFXN.js";import{a as at,b as rt,c as ie}from"./chunk-VLKDZGSJ.js";import{b as Vt,g as $t,i as Ut,l as jt}from"./chunk-T7HJLGDV.js";import"./chunk-MHK45Q7K.js";import{$ as Ct,Ac as h,Bc as $,Ca as m,Cb as Rt,Cc as d,Da as T,Db as C,Ea as r,Ec as Ht,Fa as c,Ga as p,Gc as U,Ha as s,Hb as V,Hc as zt,Ia as D,Ib as K,Ja as R,Jb as Lt,Jc as I,Ka as L,La as E,Na as P,O as bt,Pa as u,Sc as Yt,U as q,Ua as wt,Va as v,W as f,X as x,Xa as S,Y as J,Ya as ht,Za as It,aa as Ot,cb as Bt,da as b,db as Nt,ea as O,fb as Tt,fd as B,gb as Q,gd as W,hb as X,hd as j,id as qt,jb as F,jd as G,kd as Kt,mb as St,nb as Et,ob as kt,od as H,qa as Pt,qb as At,rb as N,rd as Wt,sa as l,sd as tt,td as Gt,ud as vt,v as gt,vb as Dt,wc as Ft,xc as _,yc as w}from"./chunk-LCFD4RLU.js";import{f as yt}from"./chunk-OPXGAHDX.js";var z=(()=>{let t=class{constructor(){}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-settings-button"]],standalone:!0,features:[Bt],decls:2,vars:0,consts:[["mat-icon-button","","matTooltip","Settings"],["fontSet","filled","fontIcon","settings"]],template:function(n,i){n&1&&(c(0,"button",0),s(1,"mat-icon",1),p())},dependencies:[G,j,W,B,rt,at],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})})(),e})();function he(e,t){if(e&1&&(c(0,"span",5),L(1,6),p()),e&2){let a=u();l(1),r("ngTemplateOutlet",a.indicator)}}function ve(e,t){e&1&&(c(0,"span",7),S(1,"Reply"),p())}var st=(()=>{let t=class{constructor(){this.dense=!1,this.expanded=!1}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-logo-button"]],hostVars:2,hostBindings:function(n,i){n&2&&v("dense",i.dense)},inputs:{indicator:"indicator",dense:"dense",expanded:"expanded"},decls:5,vars:2,consts:[["mat-button","",1,"logo"],[1,"wrapper"],["class","indicator-wrapper",4,"ngIf"],[1,"logo"],["class","text",4,"ngIf"],[1,"indicator-wrapper"],[3,"ngTemplateOutlet"],[1,"text"]],template:function(n,i){n&1&&(c(0,"button",0)(1,"div",1),m(2,he,2,1,"span",2),s(3,"rpl-logo",3),m(4,ve,2,0,"span",4),p()()),n&2&&(l(2),r("ngIf",i.indicator),l(2),r("ngIf",i.expanded))},dependencies:[C,V,j,it],styles:["[_nghost-%COMP%]{display:inline-block;border-radius:16px}[mat-button][_ngcontent-%COMP%]{border-radius:inherit;padding:initial}[mat-button][_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;padding:16px;position:relative}.dense[_nghost-%COMP%] [mat-button][_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:4px 16px}[mat-button][_ngcontent-%COMP%] .indicator-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;left:-4px;bottom:0;display:flex;align-items:center}[mat-button][_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{height:32px}[mat-button][_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-left:16px;font-size:18px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}"],changeDetection:0})})(),e})();function _e(e,t){if(e&1&&(D(0),c(1,"a",2)(2,"span",3),L(3,4),p(),c(4,"span",5),S(5),p()(),R()),e&2){let a=t.ngIf;l(1),r("routerLink",a.link)("queryParams",a.linkParams)("@host",void 0),l(1),r("@icon",a.icon),l(1),r("ngTemplateOutlet",a.icon),l(2),It(" ",a.text," ")}}function Me(e,t){e&1&&s(0,"mat-icon",6)}var ye=function(){return{}},be=function(e,t){return{text:"Compose",icon:e,link:"/compose",linkParams:t}},dt=(()=>{let t=class{constructor(){this.layoutContext=f(ct),this.expanded=!1}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-floating-action-button"]],hostVars:2,hostBindings:function(n,i){n&2&&v("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:3,vars:5,consts:[[4,"ngIf"],["editIconTemplate",""],["mat-fab","",3,"routerLink","queryParams"],[1,"icon"],[3,"ngTemplateOutlet"],[1,"text"],["fontSet","filled","fontIcon","edit"]],template:function(n,i){if(n&1&&(m(0,_e,6,6,"ng-container",0),m(1,Me,1,0,"ng-template",null,1,N)),n&2){let g=T(2),M;r("ngIf",(M=i.layoutContext().navFabConfig)!==null&&M!==void 0?M:Tt(2,be,g,Nt(1,ye)))}},dependencies:[C,V,tt,B,qt],styles:["[_nghost-%COMP%]{display:inline-block}[mat-fab][_ngcontent-%COMP%]{width:56px;height:56px;box-shadow:none!important;border-radius:28px}.expanded[_nghost-%COMP%] [mat-fab][_ngcontent-%COMP%]{width:unset;padding:0 18px}.icon[_ngcontent-%COMP%]{line-height:0}.text[_ngcontent-%COMP%]{margin:0 16px;font-size:16px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}:not(.expanded)[_nghost-%COMP%] .text[_ngcontent-%COMP%]{display:none}"],data:{animation:[_("host",[d(":enter",[h({transform:"scale(0.01)"}),w(`300ms ${I.STANDARD_CURVE}`)]),d(":leave",[w(`300ms ${I.STANDARD_CURVE}`),h({transform:"scale(0.01)"})])]),_("icon",[d(":enter, :leave",[]),d("* => *",[nt.apply()])])]},changeDetection:0})})(),e})();function Oe(e,t){if(e&1){let a=E();c(0,"a",2),P("isActiveChange",function(n){let i=b(a),g=i.$implicit,M=i.index,A=u();return O(n&&A.onItemActive(g.name,M))})("click",function(){let n=b(a),i=n.$implicit,g=n.index,M=u();return O(M.onItemActive(i.name,g))}),s(1,"mat-icon",3),c(2,"div",4),S(3),p()()}if(e&2){let a=t.$implicit,o=u();r("routerLink",o.getMailboxUrl(a.name)),l(1),r("svgIcon",a.icon),l(2),ht(a.name)}}function Pe(e,t){if(e&1){let a=E();c(0,"a",2),P("isActiveChange",function(n){let i=b(a),g=i.$implicit,M=i.index,A=u(2);return O(n&&A.onItemActive(g.name,M+A.staticItems.length))})("click",function(){let n=b(a),i=n.$implicit,g=n.index,M=u(2);return O(M.onItemActive(i.name,g+M.staticItems.length))}),s(1,"mat-icon",7),c(2,"div",4),S(3),p()()}if(e&2){let a=t.$implicit,o=u(2);r("routerLink",o.getMailboxUrl(a.name)),l(3),ht(a.name)}}function we(e,t){if(e&1&&(D(0),s(1,"div",5),c(2,"div",6),S(3,"Folders"),p(),m(4,Pe,4,2,"a",0),Q(5,"async"),R()),e&2){let a=u();l(4),r("ngForOf",X(5,1,a.mailboxes$))}}var xt=(()=>{let t=class{constructor(){this.navigationContext=f(ie),this.mailboxRepo=f(Xt),this.expanded=!0,this.staticItems=[{name:Y.Inbox,icon:"inbox"},{name:Z.Starred,icon:"star"},{name:Z.Sent,icon:"send"},{name:Y.Trash,icon:"delete"},{name:Y.Spam,icon:"report"},{name:Z.Drafts,icon:"drafts"}],this.mailboxes$=this.mailboxRepo.query(o=>!Object.values(Y).includes(o.name))}onItemActive(o,n){this.navigationContext.mutate(i=>{i.latestMailboxUrl=this.getMailboxUrl(o),i.latestMailboxIndex=n})}getMailboxUrl(o){return`/mailboxes/${o}/mails`}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-menu"]],hostVars:2,hostBindings:function(n,i){n&2&&v("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:3,vars:2,consts:[["mat-list-item","","routerLinkActive","active",3,"routerLink","isActiveChange","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-list-item","","routerLinkActive","active",3,"routerLink","isActiveChange","click"],["matListIcon","",3,"svgIcon"],["matLine",""],[1,"divider"],[1,"subheader"],["matListIcon","","fontSet","filled","fontIcon","folder_open"]],template:function(n,i){n&1&&(c(0,"mat-nav-list"),m(1,Oe,4,3,"a",0),m(2,we,6,3,"ng-container",1),p()),n&2&&(l(1),r("ngForOf",i.staticItems),l(1),r("ngIf",i.expanded))},dependencies:[Rt,C,tt,Gt,B,Zt,ee,Yt,te,K],styles:["[_nghost-%COMP%]{display:block;-webkit-user-select:none;user-select:none}[mat-list-item][_ngcontent-%COMP%]{color:inherit}[mat-list-item].active[_ngcontent-%COMP%]{color:#f9aa33}[mat-list-item][_ngcontent-%COMP%] .mat-list-item-content{padding:0 16px}:not(.expanded)[_nghost-%COMP%] [mat-list-item][_ngcontent-%COMP%] .mat-list-item-content{padding:initial;justify-content:center}:not(.expanded)[_nghost-%COMP%] [mat-list-item][_ngcontent-%COMP%] .mat-list-text{display:none}.divider[_ngcontent-%COMP%]{width:60%;margin:16px 20px;border-top:1px solid rgba(255,255,255,.12)}.laptop[_nghost-%COMP%] .divider[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] .divider[_ngcontent-%COMP%]{display:block;width:calc(100% - 32px);margin:16px auto}.subheader[_ngcontent-%COMP%]{margin:12px 20px;font-size:12px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal;text-transform:uppercase;color:#fff9}"],changeDetection:0})})(),e})();function Ie(e,t){if(e&1&&s(0,"rpl-avatar",2),e&2){let a=t.ngIf;r("contact",a)}}var ut=(()=>{let t=class{constructor(){this.user$=f(Qt).user$}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-avatar-button"]],decls:3,vars:3,consts:[["mat-icon-button","","matTooltip","Edit profile"],[3,"contact",4,"ngIf"],[3,"contact"]],template:function(n,i){n&1&&(c(0,"button",0),m(1,Ie,1,1,"rpl-avatar",1),Q(2,"async"),p()),n&2&&(l(1),r("ngIf",X(2,1,i.user$)))},dependencies:[C,j,at,oe,K],styles:["[_nghost-%COMP%]{display:inline-block}img[_ngcontent-%COMP%]{width:32px;height:32px;border-radius:50%}"],changeDetection:0})})(),e})();var se=(()=>{let t=class{constructor(){this.expanded=!1}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-bottom-menu"]],hostVars:2,hostBindings:function(n,i){n&2&&v("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:6,vars:0,consts:[[1,"avatar-bar"],[1,"bar-background"],[1,"wrapper-background"],[1,"avatar"],[1,"content"]],template:function(n,i){n&1&&(c(0,"div",0),s(1,"div",1)(2,"div",2)(3,"rpl-nav-avatar-button",3),p(),c(4,"div",4),s(5,"rpl-nav-menu"),p())},dependencies:[xt,ut],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:stretch;width:100vw;height:60vh;border-top-left-radius:12px;border-top-right-radius:12px;background-color:#344955;color:#ffffffde;overflow:hidden;transition:height .3s cubic-bezier(0,0,.2,1)}.expanded[_nghost-%COMP%]{height:calc(100vh - 54px);overflow-y:auto}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;position:relative}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .bar-background[_ngcontent-%COMP%]{height:16px;width:100%;background-color:#232f34}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .wrapper-background[_ngcontent-%COMP%]{width:153px;height:37px;clip-path:path("M0 0C8.5 0 29.5 0 40 13C50.5 26 58.5 36.5 76.5 36.5C94.5 36.5 102.5 26 113 13C123.5 0 144.5 0 153 0H0Z");background-color:#232f34;transform:translateY(-1px)}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translateY(-50%) translate(-50%)}[_nghost-%COMP%] .content[_ngcontent-%COMP%]{margin:0 8px}'],changeDetection:0})})(),e})();var Ne=["bottomMenu"];function Te(e,t){if(e&1&&s(0,"mat-icon",10),e&2){let a=u();r("@arrow",a.bottomMenuOpened)}}function Se(e,t){if(e&1&&(D(0),c(1,"div",11),L(2,12),p(),R()),e&2){let a=t.ngIf;l(1),r("@bottomActions",a),l(1),r("ngTemplateOutlet",a)}}function Ee(e,t){e&1&&s(0,"rpl-settings-button")}function ke(e,t){e&1&&s(0,"rpl-search-button")}function Ae(e,t){e&1&&s(0,"rpl-nav-floating-action-button",13),e&2&&r("@fab",void 0)}function De(e,t){if(e&1){let a=E();c(0,"rpl-nav-bottom-menu",14),P("panup",function(){b(a);let n=u();return O(n.bottomMenuPan$.emit("up"))})("pandown",function(){b(a);let n=u();return O(n.bottomMenuPan$.emit("down"))}),p()}if(e&2){let a=u();wt("touch-action",a.bottomMenuExpanded?"pan-down":"none"),r("expanded",a.bottomMenuExpanded)("@bottomMenu",void 0)}}var me=(()=>{let t=class{constructor(){this.layoutContext=f(ct),this.router=f(Wt),this.overlayContainerRef=f($t),this.overlayManager=f(Ut),this.elementRef=f(Pt),this.viewContainerRef=f(St),this.changeDetectorRef=f(Dt),this.logoClick$=new F,this.bottomMenuPan$=new F,this.bottomMenuToggling=!1,this.bottomMenuOpened=!1,this.bottomMenuExpanded=!1,this.destroy$=new F}get unfavored(){return this.layoutContext().contentFavored}ngOnInit(){this.logoClick$.subscribe(()=>{this.toggleBottomMenu()}),this.bottomMenuPan$.pipe(gt(()=>this.bottomMenuOpened)).subscribe(o=>{o==="up"?this.bottomMenuExpanded=!0:this.toggleBottomMenu(!1)})}ngAfterViewInit(){this.setupBottomMenu()}ngOnDestroy(){this.destroy$.emit()}toggleBottomMenu(){return yt(this,arguments,function*(o=!this.bottomMenuOpened){if(o!==this.bottomMenuOpened&&!this.bottomMenuToggling){if(this.bottomMenuToggling=!0,o===!0){this.adjustOverlayContainer(),this.bottomMenuOpened=!0,this.bottomMenuExpanded=!1,this.bottomMenuPortal.attach(this.bottomMenuOverlayRef);let n=this.router.parseUrl(this.router.url);n.fragment="bottom-menu",this.router.navigateByUrl(n)}else{this.bottomMenuPortal.detach(),yield new Promise(i=>setTimeout(i,200)),this.bottomMenuExpanded=!1,this.bottomMenuOpened=!1,this.changeDetectorRef.markForCheck(),this.restoreOverlayContainer();let n=this.router.parseUrl(this.router.url);n.fragment=null,this.router.navigateByUrl(n)}this.bottomMenuToggling=!1}})}adjustOverlayContainer(){let o=this.overlayContainerRef.getContainerElement(),n=this.elementRef.nativeElement.offsetHeight;o.style.height=`calc(100% - ${n}px)`,o.style.overflow="hidden"}restoreOverlayContainer(){let o=this.overlayContainerRef.getContainerElement();o.style.height="",o.style.overflow=""}setupBottomMenu(){this.bottomMenuOverlayRef=this.overlayManager.create({hasBackdrop:!0,positionStrategy:this.overlayManager.position().global().centerHorizontally().bottom("0")}),this.bottomMenuOverlayRef.backdropClick().subscribe(()=>this.toggleBottomMenu(!1)),this.bottomMenuPortal=new Vt(this.bottomMenuTemplate,this.viewContainerRef),this.router.events.pipe(gt(o=>o instanceof Kt),bt(this.destroy$)).subscribe(()=>this.toggleBottomMenu(!1)),this.destroy$.subscribe(()=>{this.toggleBottomMenu(!1)})}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-bottom-nav"]],viewQuery:function(n,i){if(n&1&&kt(Ne,5),n&2){let g;Et(g=At())&&(i.bottomMenuTemplate=g.first)}},hostVars:2,hostBindings:function(n,i){n&2&&v("unfavored",i.unfavored)},decls:15,vars:6,consts:[[1,"background"],[1,"content"],[1,"group"],[3,"indicator","dense","click"],["arrow",""],[4,"ngIf"],["settingsButtonTemplate",""],["searchButtonTemplate",""],["class","fab",4,"ngIf"],["bottomMenu",""],["fontSet","filled","fontIcon","arrow_drop_up"],[1,"wrapper"],[3,"ngTemplateOutlet"],[1,"fab"],[3,"expanded","panup","pandown"]],template:function(n,i){if(n&1&&(s(0,"div",0),c(1,"div",1)(2,"div",2)(3,"rpl-nav-logo-button",3),P("click",function(){return i.logoClick$.emit()}),p(),m(4,Te,1,1,"ng-template",null,4,N),p(),c(6,"div",2),m(7,Se,3,2,"ng-container",5),m(8,Ee,1,0,"ng-template",null,6,N),m(10,ke,1,0,"ng-template",null,7,N),p()(),m(12,Ae,1,1,"rpl-nav-floating-action-button",8),m(13,De,1,4,"ng-template",null,9,N)),n&2){let g=T(5),M=T(9),A=T(11),ft;v("clipped",!i.bottomMenuOpened),l(3),r("indicator",g)("dense",!0),l(4),r("ngIf",i.bottomMenuOpened?M:(ft=i.layoutContext().navBottomActions)!==null&&ft!==void 0?ft:A),l(5),r("ngIf",!i.bottomMenuOpened)}},dependencies:[C,V,B,pt,z,st,dt,se],styles:["[_nghost-%COMP%]{display:block;height:56px;position:relative}[_nghost-%COMP%]{z-index:10} .cdk-overlay-container:has(rpl-nav-bottom-menu){z-index:1!important}.content[_ngcontent-%COMP%], .background[_ngcontent-%COMP%]{position:absolute;inset:0}.background[_ngcontent-%COMP%]{background-color:#344955;z-index:-1;clip-path:polygon(0 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,100% 0,100% 100%,0 100%);transition:clip-path .3s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1)}.background.clipped[_ngcontent-%COMP%]{clip-path:polygon(0 0,calc(50% - 38px) 0,calc(50% - 37.487665px) .628287px,calc(50% - 36.975331px) 1.256382px,calc(50% - 36.462997px) 1.884094px,calc(50% - 35.912306px) 2.511233px,calc(50% - 35.863009px) 3.137607px,calc(50% - 35.802788px) 3.763025px,calc(50% - 35.731661px) 4.387296px,calc(50% - 35.64965px) 5.010232px,calc(50% - 35.55678px) 5.631641px,calc(50% - 35.453079px) 6.251334px,calc(50% - 35.338579px) 6.869124px,calc(50% - 35.213314px) 7.484821px,calc(50% - 35.077322px) 8.098238px,calc(50% - 34.930646px) 8.709188px,calc(50% - 34.77333px) 9.317486px,calc(50% - 34.605421px) 9.922945px,calc(50% - 34.426971px) 10.525381px,calc(50% - 34.238035px) 11.124612px,calc(50% - 34.038669px) 11.720454px,calc(50% - 33.828934px) 12.312725px,calc(50% - 33.608895px) 12.901246px,calc(50% - 33.378619px) 13.485837px,calc(50% - 33.138175px) 14.066321px,calc(50% - 32.887636px) 14.642519px,calc(50% - 32.62708px) 15.214257px,calc(50% - 32.356586px) 15.781361px,calc(50% - 32.076235px) 16.343658px,calc(50% - 31.786113px) 16.900976px,calc(50% - 31.486309px) 17.453146px,calc(50% - 31.176915px) 18px,calc(50% - 30.858023px) 18.541371px,calc(50% - 30.529731px) 19.077094px,calc(50% - 30.19214px) 19.607005px,calc(50% - 29.845353px) 20.130945px,calc(50% - 29.489474px) 20.648752px,calc(50% - 29.124612px) 21.160269px,calc(50% - 28.750878px) 21.665341px,calc(50% - 28.368387px) 22.163813px,calc(50% - 27.977255px) 22.655534px,calc(50% - 27.5776px) 23.140354px,calc(50% - 27.169545px) 23.618125px,calc(50% - 26.753214px) 24.088702px,calc(50% - 26.328733px) 24.551941px,calc(50% - 25.896233px) 25.007701px,calc(50% - 25.455844px) 25.455844px,calc(50% - 25.007701px) 25.896233px,calc(50% - 24.551941px) 26.328733px,calc(50% - 24.088702px) 26.753214px,calc(50% - 23.618125px) 27.169545px,calc(50% - 23.140354px) 27.5776px,calc(50% - 22.655534px) 27.977255px,calc(50% - 22.163813px) 28.368387px,calc(50% - 21.665341px) 28.750878px,calc(50% - 21.160269px) 29.124612px,calc(50% - 20.648752px) 29.489474px,calc(50% - 20.130945px) 29.845353px,calc(50% - 19.607005px) 30.19214px,calc(50% - 19.077094px) 30.529731px,calc(50% - 18.541371px) 30.858023px,calc(50% - 18px) 31.176915px,calc(50% - 17.453146px) 31.486309px,calc(50% - 16.900976px) 31.786113px,calc(50% - 16.343658px) 32.076235px,calc(50% - 15.781361px) 32.356586px,calc(50% - 15.214257px) 32.62708px,calc(50% - 14.642519px) 32.887636px,calc(50% - 14.066321px) 33.138175px,calc(50% - 13.485837px) 33.378619px,calc(50% - 12.901246px) 33.608895px,calc(50% - 12.312725px) 33.828934px,calc(50% - 11.720454px) 34.038669px,calc(50% - 11.124612px) 34.238035px,calc(50% - 10.525381px) 34.426971px,calc(50% - 9.922945px) 34.605421px,calc(50% - 9.317486px) 34.77333px,calc(50% - 8.709188px) 34.930646px,calc(50% - 8.098238px) 35.077322px,calc(50% - 7.484821px) 35.213314px,calc(50% - 6.869124px) 35.338579px,calc(50% - 6.251334px) 35.453079px,calc(50% - 5.631641px) 35.55678px,calc(50% - 5.010232px) 35.64965px,calc(50% - 4.387296px) 35.731661px,calc(50% - 3.763025px) 35.802788px,calc(50% - 3.137607px) 35.863009px,calc(50% - 2.511233px) 35.912306px,calc(50% - 1.884094px) 35.950663px,calc(50% - 1.256382px) 35.97807px,calc(50% - .628287px) 35.994517px,50% 36px,calc(50% + .628287px) 35.994517px,calc(50% + 1.256382px) 35.97807px,calc(50% + 1.884094px) 35.950663px,calc(50% + 2.511233px) 35.912306px,calc(50% + 3.137607px) 35.863009px,calc(50% + 3.763025px) 35.802788px,calc(50% + 4.387296px) 35.731661px,calc(50% + 5.010232px) 35.64965px,calc(50% + 5.631641px) 35.55678px,calc(50% + 6.251334px) 35.453079px,calc(50% + 6.869124px) 35.338579px,calc(50% + 7.484821px) 35.213314px,calc(50% + 8.098238px) 35.077322px,calc(50% + 8.709188px) 34.930646px,calc(50% + 9.317486px) 34.77333px,calc(50% + 9.922945px) 34.605421px,calc(50% + 10.525381px) 34.426971px,calc(50% + 11.124612px) 34.238035px,calc(50% + 11.720454px) 34.038669px,calc(50% + 12.312725px) 33.828934px,calc(50% + 12.901246px) 33.608895px,calc(50% + 13.485837px) 33.378619px,calc(50% + 14.066321px) 33.138175px,calc(50% + 14.642519px) 32.887636px,calc(50% + 15.214257px) 32.62708px,calc(50% + 15.781361px) 32.356586px,calc(50% + 16.343658px) 32.076235px,calc(50% + 16.900976px) 31.786113px,calc(50% + 17.453146px) 31.486309px,calc(50% + 18px) 31.176915px,calc(50% + 18.541371px) 30.858023px,calc(50% + 19.077094px) 30.529731px,calc(50% + 19.607005px) 30.19214px,calc(50% + 20.130945px) 29.845353px,calc(50% + 20.648752px) 29.489474px,calc(50% + 21.160269px) 29.124612px,calc(50% + 21.665341px) 28.750878px,calc(50% + 22.163813px) 28.368387px,calc(50% + 22.655534px) 27.977255px,calc(50% + 23.140354px) 27.5776px,calc(50% + 23.618125px) 27.169545px,calc(50% + 24.088702px) 26.753214px,calc(50% + 24.551941px) 26.328733px,calc(50% + 25.007701px) 25.896233px,calc(50% + 25.455844px) 25.455844px,calc(50% + 25.896233px) 25.007701px,calc(50% + 26.328733px) 24.551941px,calc(50% + 26.753214px) 24.088702px,calc(50% + 27.169545px) 23.618125px,calc(50% + 27.5776px) 23.140354px,calc(50% + 27.977255px) 22.655534px,calc(50% + 28.368387px) 22.163813px,calc(50% + 28.750878px) 21.665341px,calc(50% + 29.124612px) 21.160269px,calc(50% + 29.489474px) 20.648752px,calc(50% + 29.845353px) 20.130945px,calc(50% + 30.19214px) 19.607005px,calc(50% + 30.529731px) 19.077094px,calc(50% + 30.858023px) 18.541371px,calc(50% + 31.176915px) 18px,calc(50% + 31.486309px) 17.453146px,calc(50% + 31.786113px) 16.900976px,calc(50% + 32.076235px) 16.343658px,calc(50% + 32.356586px) 15.781361px,calc(50% + 32.62708px) 15.214257px,calc(50% + 32.887636px) 14.642519px,calc(50% + 33.138175px) 14.066321px,calc(50% + 33.378619px) 13.485837px,calc(50% + 33.608895px) 12.901246px,calc(50% + 33.828934px) 12.312725px,calc(50% + 34.038669px) 11.720454px,calc(50% + 34.238035px) 11.124612px,calc(50% + 34.426971px) 10.525381px,calc(50% + 34.605421px) 9.922945px,calc(50% + 34.77333px) 9.317486px,calc(50% + 34.930646px) 8.709188px,calc(50% + 35.077322px) 8.098238px,calc(50% + 35.213314px) 7.484821px,calc(50% + 35.338579px) 6.869124px,calc(50% + 35.453079px) 6.251334px,calc(50% + 35.55678px) 5.631641px,calc(50% + 35.64965px) 5.010232px,calc(50% + 35.731661px) 4.387296px,calc(50% + 35.802788px) 3.763025px,calc(50% + 35.863009px) 3.137607px,calc(50% + 35.912306px) 2.511233px,calc(50% + 36.462997px) 1.884094px,calc(50% + 36.975331px) 1.256382px,calc(50% + 37.487665px) .628287px,calc(50% + 38px) 0,100% 0,100% 100%,0 100%)}.unfavored[_nghost-%COMP%] .background[_ngcontent-%COMP%]{transform:translateY(56px)}.content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:0 4px;color:#ffffffde;transition:transform .2s cubic-bezier(.4,0,.2,1)}.unfavored[_nghost-%COMP%] .content[_ngcontent-%COMP%]{transform:translateY(56px)}.content[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.content[_ngcontent-%COMP%] rpl-nav-logo-button[_ngcontent-%COMP%]{margin-left:16px}.fab[_ngcontent-%COMP%]{position:absolute;left:calc(50% - 28px);bottom:calc(100% - 28px);transition:bottom .3s cubic-bezier(.4,0,.2,1)}.unfavored[_nghost-%COMP%] .fab[_ngcontent-%COMP%]{bottom:8px}"],data:{animation:[_("arrow",[$("true",h({transform:"rotate(180deg)"})),$("false",h({transform:"rotate(0deg)"})),d("true <=> false",[w(`200ms ${I.STANDARD_CURVE}`)])]),_("fab",[d(":leave",[U("@*",Ht())])]),_("bottomMenu",[d(":enter",[h({transform:"translateY(100%)"}),w(`200ms ${I.DECELERATION_CURVE}`)]),d(":leave",[w(`200ms ${I.ACCELERATION_CURVE}`),h({transform:"translateY(100%)"})])]),_("bottomActions",[d(":enter",[]),d(":leave",[]),d("* => *",[U(":enter",[h({transform:"scale(92%)",opacity:0}),zt("40ms",[w(`210ms 90ms ${I.DECELERATION_CURVE}`,h({transform:"scale(1)",opacity:1}))])])])])]},changeDetection:0})})(),e})();function Le(e,t){e&1&&s(0,"rpl-bottom-nav",1)}var de=(()=>{let t=class{constructor(){this.breakpoints=f(ot)}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-base-foundation"]],decls:3,vars:1,consts:[["data-route-animation-target","",4,"ngIf"],["data-route-animation-target",""]],template:function(n,i){n&1&&(c(0,"main"),s(1,"router-outlet"),p(),m(2,Le,1,0,"rpl-bottom-nav",0)),n&2&&(l(2),r("ngIf",!i.breakpoints()["tablet-portrait"]))},dependencies:[C,H,me],styles:["[_nghost-%COMP%]{display:contents}main[_ngcontent-%COMP%]{display:contents}rpl-bottom-nav[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;align-self:end}"],changeDetection:0})})(),e})();function Fe(e,t){if(e&1&&s(0,"mat-icon",8),e&2){let a=u();r("@arrow",a.expanded)}}function Ve(e,t){e&1&&(c(0,"div",2),s(1,"rpl-nav-avatar-button")(2,"rpl-settings-button"),p())}var xe=(()=>{let t=class{constructor(){this.expanded=!1,this.expandedChange=new F}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-side-nav"]],hostVars:2,hostBindings:function(n,i){n&2&&v("expanded",i.expanded)},inputs:{expanded:"expanded"},outputs:{expandedChange:"expandedChange"},decls:9,vars:6,consts:[["scrolling","scrolling",1,"wrapper"],[1,"primary-line"],[1,"group"],[3,"indicator","expanded","click"],["arrow",""],["class","group",4,"ngIf"],[1,"fab",3,"expanded"],[1,"menu",3,"expanded"],["fontSet","filled","fontIcon","arrow_right"]],template:function(n,i){if(n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"rpl-nav-logo-button",3),P("click",function(){return i.expandedChange.emit(!i.expanded)}),p(),m(4,Fe,1,1,"ng-template",null,4,N),p(),m(6,Ve,3,0,"div",5),p(),s(7,"rpl-nav-floating-action-button",6)(8,"rpl-nav-menu",7),p()),n&2){let g=T(5);l(3),r("indicator",g)("expanded",i.expanded),l(3),r("ngIf",i.expanded),l(1),r("expanded",i.expanded)("@fab",void 0),l(1),r("expanded",i.expanded)}},dependencies:[C,B,z,st,xt,ut,dt],styles:["[_nghost-%COMP%]{display:block}.wrapper[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px 0;background-color:#344955;color:#ffffffde;overflow-y:auto}.expanded[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{align-items:flex-start;padding:8px 16px}@supports (overflow: overlay){.wrapper[_ngcontent-%COMP%]{overflow-y:overlay}}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.wrapper.scrolling[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ffffff1f}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#ffffff4d}.primary-line[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.expanded[_nghost-%COMP%] .primary-line[_ngcontent-%COMP%]{width:100%}.primary-line[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.menu[_ngcontent-%COMP%]{width:100%}"],data:{animation:[_("arrow",[$("true",h({transform:"rotate(180deg)"})),$("false",h({transform:"rotate(0deg)"})),d("true <=> false",[w(`200ms ${I.STANDARD_CURVE}`)])]),_("fab",[d(":enter",[])])]},changeDetection:0})})(),e})();function Ue(e,t){if(e&1){let a=E();c(0,"rpl-side-nav",2),P("expandedChange",function(n){b(a);let i=u();return O(i.navExpanded.set(n===i.navShouldExpand()?void 0:n))}),p()}if(e&2){let a=u(),o;v("expanded",a.navExpanded())("on-grid",a.navExpanded()===void 0),r("expanded",(o=a.navExpanded())!==null&&o!==void 0?o:a.navShouldExpand())}}var ue=(()=>{let t=class{constructor(){this.routeAnimationId=et(),this.breakpoints=f(ot),this.navShouldRender=Ct(()=>this.breakpoints()["tablet-portrait"]),this.navShouldExpand=Ct(()=>this.breakpoints().laptop),this.navExpanded=Ot(void 0)}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-main"]],decls:3,vars:2,consts:[["data-route-animation-target","",3,"expanded","on-grid","expandedChange",4,"ngIf"],[1,"content"],["data-route-animation-target","",3,"expanded","expandedChange"]],template:function(n,i){n&1&&(m(0,Ue,1,5,"rpl-side-nav",0),c(1,"div",1),s(2,"router-outlet"),p()),n&2&&(r("ngIf",i.navShouldRender()),l(1),r("@content",i.routeAnimationId()))},dependencies:[C,H,xe],styles:["[_nghost-%COMP%]{display:contents}rpl-side-nav[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/col-1}.laptop[_nghost-%COMP%] rpl-side-nav[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] rpl-side-nav[_ngcontent-%COMP%]{grid-column:margin-left/col-3}rpl-side-nav[_ngcontent-%COMP%]:not(.on-grid){width:100px}rpl-side-nav[_ngcontent-%COMP%]:not(.on-grid).expanded{width:300px}.content[_ngcontent-%COMP%]{display:contents}"],data:{animation:[_("content",[d(":enter, :leave, * <=> none",[]),d("base => upper",[_t.apply("z","forward",{incoming:":enter [data-route-animation-target]",outgoing:":leave [data-route-animation-target]"})]),d("upper => base",[_t.apply("z","backward",{incoming:":enter [data-route-animation-target]",outgoing:":leave [data-route-animation-target]"})])])]},changeDetection:0})})(),e})();var fe=(()=>{let t=class{constructor(){this.animationId=et()}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-upper-foundation"]],decls:2,vars:1,consts:[["data-route-animation-target",""]],template:function(n,i){n&1&&(c(0,"main",0),s(1,"router-outlet"),p()),n&2&&r("@main",i.animationId())},dependencies:[H],styles:["[_nghost-%COMP%]{display:contents}main[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;background-color:#fff;color:#000000de}.tablet-portrait[_nghost-%COMP%] main[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-2/col-8}.tablet-landscape[_nghost-%COMP%] main[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-2/col-12}.laptop[_nghost-%COMP%] main[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-4/col-12}"],data:{animation:[_("main",[d(":enter, :leave, * <=> none",[]),d("* => *",[U(":self",h({position:"relative"})),U(":enter, :leave",h({width:"100%"})),nt.apply()])])]},changeDetection:0})})(),e})();var He=[{path:"",component:ue,children:[{path:"",component:de,data:{animationId:"base"},children:[{matcher:e=>e.length&&e.join("/").startsWith("mail")?{consumed:[],posParams:{}}:null,loadChildren:()=>import("./mails.module-AEE4XBYU.js").then(e=>e.MailsModule)}]},{path:"",component:fe,data:{animationId:"upper"},children:[{path:"compose",loadChildren:()=>import("./compose.module-RFO3KFRC.js").then(e=>e.ComposeModule)},{path:"search",loadChildren:()=>import("./search.module-OLWJ7K2G.js").then(e=>e.SearchModule)}]}]}],ge=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=J({type:t})})(),(()=>{t.\u0275inj=q({imports:[vt.forChild(He),vt]})})(),e})();var zo=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=J({type:t})})(),(()=>{t.\u0275inj=q({imports:[Lt,ge,jt,Jt,Ft,W,G,ne,rt,pt,z,it]})})(),e})();export{zo as MainModule}; diff --git a/main.module-P5HCMW3R.js b/main.module-P5HCMW3R.js new file mode 100644 index 00000000..f5a78b19 --- /dev/null +++ b/main.module-P5HCMW3R.js @@ -0,0 +1 @@ +import{a as it}from"./chunk-2P62XVQM.js";import{a as oe,c as pt}from"./chunk-7UMKM2EO.js";import{l as Jt,m as Y,n as Z,o as et,p as nt,q as _t,r as ot}from"./chunk-CKWROFPT.js";import{a as Qt}from"./chunk-NZ3JMIKG.js";import{a as Zt,c as te,d as ee,e as ne,f as ct}from"./chunk-FHI7K4TK.js";import{b as Xt}from"./chunk-MILDH525.js";import{a as at,b as rt,c as ie}from"./chunk-TEA4CVZ4.js";import{b as Vt,g as $t,i as Ut,l as jt}from"./chunk-BTQVCDJX.js";import"./chunk-AJ5EX2ND.js";import{Aa as m,Ab as Rt,Ac as d,Ba as T,Bb as C,Ca as r,Cc as Ht,Da as c,Ea as p,Ec as U,Fa as s,Fb as V,Fc as zt,Ga as D,Gb as K,Ha as R,Hb as Lt,Hc as I,Ia as L,Ja as E,La as P,M as bt,Na as u,Qc as Yt,S as q,Sa as wt,Ta as v,U as f,V as x,Va as S,W as J,Wa as ht,Xa as It,Z as Ct,_ as Ot,ab as Bt,ba as b,bb as Nt,ca as O,db as Tt,dd as B,eb as Q,ed as W,fb as X,fd as j,gd as qt,hb as F,hd as G,id as Kt,kb as St,lb as Et,mb as kt,md as H,oa as Pt,ob as At,pb as N,pd as Wt,qa as l,qd as tt,rd as Gt,sd as vt,tb as Dt,uc as Ft,v as gt,vc as _,wc as w,yc as h,zc as $}from"./chunk-HFIM43UT.js";import{f as yt}from"./chunk-OPXGAHDX.js";var z=(()=>{let t=class{constructor(){}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-settings-button"]],standalone:!0,features:[Bt],decls:2,vars:0,consts:[["mat-icon-button","","matTooltip","Settings"],["fontSet","filled","fontIcon","settings"]],template:function(n,i){n&1&&(c(0,"button",0),s(1,"mat-icon",1),p())},dependencies:[G,j,W,B,rt,at],styles:["[_nghost-%COMP%]{display:inline-block}"],changeDetection:0})})(),e})();function he(e,t){if(e&1&&(c(0,"span",5),L(1,6),p()),e&2){let a=u();l(1),r("ngTemplateOutlet",a.indicator)}}function ve(e,t){e&1&&(c(0,"span",7),S(1,"Reply"),p())}var st=(()=>{let t=class{constructor(){this.dense=!1,this.expanded=!1}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-logo-button"]],hostVars:2,hostBindings:function(n,i){n&2&&v("dense",i.dense)},inputs:{indicator:"indicator",dense:"dense",expanded:"expanded"},decls:5,vars:2,consts:[["mat-button","",1,"logo"],[1,"wrapper"],["class","indicator-wrapper",4,"ngIf"],[1,"logo"],["class","text",4,"ngIf"],[1,"indicator-wrapper"],[3,"ngTemplateOutlet"],[1,"text"]],template:function(n,i){n&1&&(c(0,"button",0)(1,"div",1),m(2,he,2,1,"span",2),s(3,"rpl-logo",3),m(4,ve,2,0,"span",4),p()()),n&2&&(l(2),r("ngIf",i.indicator),l(2),r("ngIf",i.expanded))},dependencies:[C,V,j,it],styles:["[_nghost-%COMP%]{display:inline-block;border-radius:16px}[mat-button][_ngcontent-%COMP%]{border-radius:inherit;padding:initial}[mat-button][_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;padding:16px;position:relative}.dense[_nghost-%COMP%] [mat-button][_ngcontent-%COMP%] .wrapper[_ngcontent-%COMP%]{padding:4px 16px}[mat-button][_ngcontent-%COMP%] .indicator-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;left:-4px;bottom:0;display:flex;align-items:center}[mat-button][_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{height:32px}[mat-button][_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin-left:16px;font-size:18px;font-weight:500;letter-spacing:.05em;text-transform:uppercase}"],changeDetection:0})})(),e})();function _e(e,t){if(e&1&&(D(0),c(1,"a",2)(2,"span",3),L(3,4),p(),c(4,"span",5),S(5),p()(),R()),e&2){let a=t.ngIf;l(1),r("routerLink",a.link)("queryParams",a.linkParams)("@host",void 0),l(1),r("@icon",a.icon),l(1),r("ngTemplateOutlet",a.icon),l(2),It(" ",a.text," ")}}function Me(e,t){e&1&&s(0,"mat-icon",6)}var ye=function(){return{}},be=function(e,t){return{text:"Compose",icon:e,link:"/compose",linkParams:t}},dt=(()=>{let t=class{constructor(){this.layoutContext=f(ct),this.expanded=!1}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-floating-action-button"]],hostVars:2,hostBindings:function(n,i){n&2&&v("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:3,vars:5,consts:[[4,"ngIf"],["editIconTemplate",""],["mat-fab","",3,"routerLink","queryParams"],[1,"icon"],[3,"ngTemplateOutlet"],[1,"text"],["fontSet","filled","fontIcon","edit"]],template:function(n,i){if(n&1&&(m(0,_e,6,6,"ng-container",0),m(1,Me,1,0,"ng-template",null,1,N)),n&2){let g=T(2),M;r("ngIf",(M=i.layoutContext().navFabConfig)!==null&&M!==void 0?M:Tt(2,be,g,Nt(1,ye)))}},dependencies:[C,V,tt,B,qt],styles:["[_nghost-%COMP%]{display:inline-block}[mat-fab][_ngcontent-%COMP%]{width:56px;height:56px;box-shadow:none!important;border-radius:28px}.expanded[_nghost-%COMP%] [mat-fab][_ngcontent-%COMP%]{width:unset;padding:0 18px}.icon[_ngcontent-%COMP%]{line-height:0}.text[_ngcontent-%COMP%]{margin:0 16px;font-size:16px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}:not(.expanded)[_nghost-%COMP%] .text[_ngcontent-%COMP%]{display:none}"],data:{animation:[_("host",[d(":enter",[h({transform:"scale(0.01)"}),w(`300ms ${I.STANDARD_CURVE}`)]),d(":leave",[w(`300ms ${I.STANDARD_CURVE}`),h({transform:"scale(0.01)"})])]),_("icon",[d(":enter, :leave",[]),d("* => *",[nt.apply()])])]},changeDetection:0})})(),e})();function Oe(e,t){if(e&1){let a=E();c(0,"a",2),P("isActiveChange",function(n){let i=b(a),g=i.$implicit,M=i.index,A=u();return O(n&&A.onItemActive(g.name,M))})("click",function(){let n=b(a),i=n.$implicit,g=n.index,M=u();return O(M.onItemActive(i.name,g))}),s(1,"mat-icon",3),c(2,"div",4),S(3),p()()}if(e&2){let a=t.$implicit,o=u();r("routerLink",o.getMailboxUrl(a.name)),l(1),r("svgIcon",a.icon),l(2),ht(a.name)}}function Pe(e,t){if(e&1){let a=E();c(0,"a",2),P("isActiveChange",function(n){let i=b(a),g=i.$implicit,M=i.index,A=u(2);return O(n&&A.onItemActive(g.name,M+A.staticItems.length))})("click",function(){let n=b(a),i=n.$implicit,g=n.index,M=u(2);return O(M.onItemActive(i.name,g+M.staticItems.length))}),s(1,"mat-icon",7),c(2,"div",4),S(3),p()()}if(e&2){let a=t.$implicit,o=u(2);r("routerLink",o.getMailboxUrl(a.name)),l(3),ht(a.name)}}function we(e,t){if(e&1&&(D(0),s(1,"div",5),c(2,"div",6),S(3,"Folders"),p(),m(4,Pe,4,2,"a",0),Q(5,"async"),R()),e&2){let a=u();l(4),r("ngForOf",X(5,1,a.mailboxes$))}}var xt=(()=>{let t=class{constructor(){this.navigationContext=f(ie),this.mailboxRepo=f(Xt),this.expanded=!0,this.staticItems=[{name:Y.Inbox,icon:"inbox"},{name:Z.Starred,icon:"star"},{name:Z.Sent,icon:"send"},{name:Y.Trash,icon:"delete"},{name:Y.Spam,icon:"report"},{name:Z.Drafts,icon:"drafts"}],this.mailboxes$=this.mailboxRepo.query(o=>!Object.values(Y).includes(o.name))}onItemActive(o,n){this.navigationContext.mutate(i=>{i.latestMailboxUrl=this.getMailboxUrl(o),i.latestMailboxIndex=n})}getMailboxUrl(o){return`/mailboxes/${o}/mails`}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-menu"]],hostVars:2,hostBindings:function(n,i){n&2&&v("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:3,vars:2,consts:[["mat-list-item","","routerLinkActive","active",3,"routerLink","isActiveChange","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-list-item","","routerLinkActive","active",3,"routerLink","isActiveChange","click"],["matListIcon","",3,"svgIcon"],["matLine",""],[1,"divider"],[1,"subheader"],["matListIcon","","fontSet","filled","fontIcon","folder_open"]],template:function(n,i){n&1&&(c(0,"mat-nav-list"),m(1,Oe,4,3,"a",0),m(2,we,6,3,"ng-container",1),p()),n&2&&(l(1),r("ngForOf",i.staticItems),l(1),r("ngIf",i.expanded))},dependencies:[Rt,C,tt,Gt,B,Zt,ee,Yt,te,K],styles:["[_nghost-%COMP%]{display:block;-webkit-user-select:none;user-select:none}[mat-list-item][_ngcontent-%COMP%]{color:inherit}[mat-list-item].active[_ngcontent-%COMP%]{color:#f9aa33}[mat-list-item][_ngcontent-%COMP%] .mat-list-item-content{padding:0 16px}:not(.expanded)[_nghost-%COMP%] [mat-list-item][_ngcontent-%COMP%] .mat-list-item-content{padding:initial;justify-content:center}:not(.expanded)[_nghost-%COMP%] [mat-list-item][_ngcontent-%COMP%] .mat-list-text{display:none}.divider[_ngcontent-%COMP%]{width:60%;margin:16px 20px;border-top:1px solid rgba(255,255,255,.12)}.laptop[_nghost-%COMP%] .divider[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] .divider[_ngcontent-%COMP%]{display:block;width:calc(100% - 32px);margin:16px auto}.subheader[_ngcontent-%COMP%]{margin:12px 20px;font-size:12px;font-weight:400;line-height:20px;font-family:Work Sans,sans-serif;letter-spacing:normal;text-transform:uppercase;color:#fff9}"],changeDetection:0})})(),e})();function Ie(e,t){if(e&1&&s(0,"rpl-avatar",2),e&2){let a=t.ngIf;r("contact",a)}}var ut=(()=>{let t=class{constructor(){this.user$=f(Qt).user$}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-avatar-button"]],decls:3,vars:3,consts:[["mat-icon-button","","matTooltip","Edit profile"],[3,"contact",4,"ngIf"],[3,"contact"]],template:function(n,i){n&1&&(c(0,"button",0),m(1,Ie,1,1,"rpl-avatar",1),Q(2,"async"),p()),n&2&&(l(1),r("ngIf",X(2,1,i.user$)))},dependencies:[C,j,at,oe,K],styles:["[_nghost-%COMP%]{display:inline-block}img[_ngcontent-%COMP%]{width:32px;height:32px;border-radius:50%}"],changeDetection:0})})(),e})();var se=(()=>{let t=class{constructor(){this.expanded=!1}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-nav-bottom-menu"]],hostVars:2,hostBindings:function(n,i){n&2&&v("expanded",i.expanded)},inputs:{expanded:"expanded"},decls:6,vars:0,consts:[[1,"avatar-bar"],[1,"bar-background"],[1,"wrapper-background"],[1,"avatar"],[1,"content"]],template:function(n,i){n&1&&(c(0,"div",0),s(1,"div",1)(2,"div",2)(3,"rpl-nav-avatar-button",3),p(),c(4,"div",4),s(5,"rpl-nav-menu"),p())},dependencies:[xt,ut],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;align-items:stretch;width:100vw;height:60vh;border-top-left-radius:12px;border-top-right-radius:12px;background-color:#344955;color:#ffffffde;overflow:hidden;transition:height .3s cubic-bezier(0,0,.2,1)}.expanded[_nghost-%COMP%]{height:calc(100vh - 54px);overflow-y:auto}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;position:relative}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .bar-background[_ngcontent-%COMP%]{height:16px;width:100%;background-color:#232f34}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .wrapper-background[_ngcontent-%COMP%]{width:153px;height:37px;clip-path:path("M0 0C8.5 0 29.5 0 40 13C50.5 26 58.5 36.5 76.5 36.5C94.5 36.5 102.5 26 113 13C123.5 0 144.5 0 153 0H0Z");background-color:#232f34;transform:translateY(-1px)}[_nghost-%COMP%] .avatar-bar[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translateY(-50%) translate(-50%)}[_nghost-%COMP%] .content[_ngcontent-%COMP%]{margin:0 8px}'],changeDetection:0})})(),e})();var Ne=["bottomMenu"];function Te(e,t){if(e&1&&s(0,"mat-icon",10),e&2){let a=u();r("@arrow",a.bottomMenuOpened)}}function Se(e,t){if(e&1&&(D(0),c(1,"div",11),L(2,12),p(),R()),e&2){let a=t.ngIf;l(1),r("@bottomActions",a),l(1),r("ngTemplateOutlet",a)}}function Ee(e,t){e&1&&s(0,"rpl-settings-button")}function ke(e,t){e&1&&s(0,"rpl-search-button")}function Ae(e,t){e&1&&s(0,"rpl-nav-floating-action-button",13),e&2&&r("@fab",void 0)}function De(e,t){if(e&1){let a=E();c(0,"rpl-nav-bottom-menu",14),P("panup",function(){b(a);let n=u();return O(n.bottomMenuPan$.emit("up"))})("pandown",function(){b(a);let n=u();return O(n.bottomMenuPan$.emit("down"))}),p()}if(e&2){let a=u();wt("touch-action",a.bottomMenuExpanded?"pan-down":"none"),r("expanded",a.bottomMenuExpanded)("@bottomMenu",void 0)}}var me=(()=>{let t=class{constructor(){this.layoutContext=f(ct),this.router=f(Wt),this.overlayContainerRef=f($t),this.overlayManager=f(Ut),this.elementRef=f(Pt),this.viewContainerRef=f(St),this.changeDetectorRef=f(Dt),this.logoClick$=new F,this.bottomMenuPan$=new F,this.bottomMenuToggling=!1,this.bottomMenuOpened=!1,this.bottomMenuExpanded=!1,this.destroy$=new F}get unfavored(){return this.layoutContext().contentFavored}ngOnInit(){this.logoClick$.subscribe(()=>{this.toggleBottomMenu()}),this.bottomMenuPan$.pipe(gt(()=>this.bottomMenuOpened)).subscribe(o=>{o==="up"?this.bottomMenuExpanded=!0:this.toggleBottomMenu(!1)})}ngAfterViewInit(){this.setupBottomMenu()}ngOnDestroy(){this.destroy$.emit()}toggleBottomMenu(){return yt(this,arguments,function*(o=!this.bottomMenuOpened){if(o!==this.bottomMenuOpened&&!this.bottomMenuToggling){if(this.bottomMenuToggling=!0,o===!0){this.adjustOverlayContainer(),this.bottomMenuOpened=!0,this.bottomMenuExpanded=!1,this.bottomMenuPortal.attach(this.bottomMenuOverlayRef);let n=this.router.parseUrl(this.router.url);n.fragment="bottom-menu",this.router.navigateByUrl(n)}else{this.bottomMenuPortal.detach(),yield new Promise(i=>setTimeout(i,200)),this.bottomMenuExpanded=!1,this.bottomMenuOpened=!1,this.changeDetectorRef.markForCheck(),this.restoreOverlayContainer();let n=this.router.parseUrl(this.router.url);n.fragment=null,this.router.navigateByUrl(n)}this.bottomMenuToggling=!1}})}adjustOverlayContainer(){let o=this.overlayContainerRef.getContainerElement(),n=this.elementRef.nativeElement.offsetHeight;o.style.height=`calc(100% - ${n}px)`,o.style.overflow="hidden"}restoreOverlayContainer(){let o=this.overlayContainerRef.getContainerElement();o.style.height="",o.style.overflow=""}setupBottomMenu(){this.bottomMenuOverlayRef=this.overlayManager.create({hasBackdrop:!0,positionStrategy:this.overlayManager.position().global().centerHorizontally().bottom("0")}),this.bottomMenuOverlayRef.backdropClick().subscribe(()=>this.toggleBottomMenu(!1)),this.bottomMenuPortal=new Vt(this.bottomMenuTemplate,this.viewContainerRef),this.router.events.pipe(gt(o=>o instanceof Kt),bt(this.destroy$)).subscribe(()=>this.toggleBottomMenu(!1)),this.destroy$.subscribe(()=>{this.toggleBottomMenu(!1)})}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-bottom-nav"]],viewQuery:function(n,i){if(n&1&&kt(Ne,5),n&2){let g;Et(g=At())&&(i.bottomMenuTemplate=g.first)}},hostVars:2,hostBindings:function(n,i){n&2&&v("unfavored",i.unfavored)},decls:15,vars:6,consts:[[1,"background"],[1,"content"],[1,"group"],[3,"indicator","dense","click"],["arrow",""],[4,"ngIf"],["settingsButtonTemplate",""],["searchButtonTemplate",""],["class","fab",4,"ngIf"],["bottomMenu",""],["fontSet","filled","fontIcon","arrow_drop_up"],[1,"wrapper"],[3,"ngTemplateOutlet"],[1,"fab"],[3,"expanded","panup","pandown"]],template:function(n,i){if(n&1&&(s(0,"div",0),c(1,"div",1)(2,"div",2)(3,"rpl-nav-logo-button",3),P("click",function(){return i.logoClick$.emit()}),p(),m(4,Te,1,1,"ng-template",null,4,N),p(),c(6,"div",2),m(7,Se,3,2,"ng-container",5),m(8,Ee,1,0,"ng-template",null,6,N),m(10,ke,1,0,"ng-template",null,7,N),p()(),m(12,Ae,1,1,"rpl-nav-floating-action-button",8),m(13,De,1,4,"ng-template",null,9,N)),n&2){let g=T(5),M=T(9),A=T(11),ft;v("clipped",!i.bottomMenuOpened),l(3),r("indicator",g)("dense",!0),l(4),r("ngIf",i.bottomMenuOpened?M:(ft=i.layoutContext().navBottomActions)!==null&&ft!==void 0?ft:A),l(5),r("ngIf",!i.bottomMenuOpened)}},dependencies:[C,V,B,pt,z,st,dt,se],styles:["[_nghost-%COMP%]{display:block;height:56px;position:relative}[_nghost-%COMP%]{z-index:10} .cdk-overlay-container:has(rpl-nav-bottom-menu){z-index:1!important}.content[_ngcontent-%COMP%], .background[_ngcontent-%COMP%]{position:absolute;inset:0}.background[_ngcontent-%COMP%]{background-color:#344955;z-index:-1;clip-path:polygon(0 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,100% 0,100% 100%,0 100%);transition:clip-path .3s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1)}.background.clipped[_ngcontent-%COMP%]{clip-path:polygon(0 0,calc(50% - 38px) 0,calc(50% - 37.487665px) .628287px,calc(50% - 36.975331px) 1.256382px,calc(50% - 36.462997px) 1.884094px,calc(50% - 35.912306px) 2.511233px,calc(50% - 35.863009px) 3.137607px,calc(50% - 35.802788px) 3.763025px,calc(50% - 35.731661px) 4.387296px,calc(50% - 35.64965px) 5.010232px,calc(50% - 35.55678px) 5.631641px,calc(50% - 35.453079px) 6.251334px,calc(50% - 35.338579px) 6.869124px,calc(50% - 35.213314px) 7.484821px,calc(50% - 35.077322px) 8.098238px,calc(50% - 34.930646px) 8.709188px,calc(50% - 34.77333px) 9.317486px,calc(50% - 34.605421px) 9.922945px,calc(50% - 34.426971px) 10.525381px,calc(50% - 34.238035px) 11.124612px,calc(50% - 34.038669px) 11.720454px,calc(50% - 33.828934px) 12.312725px,calc(50% - 33.608895px) 12.901246px,calc(50% - 33.378619px) 13.485837px,calc(50% - 33.138175px) 14.066321px,calc(50% - 32.887636px) 14.642519px,calc(50% - 32.62708px) 15.214257px,calc(50% - 32.356586px) 15.781361px,calc(50% - 32.076235px) 16.343658px,calc(50% - 31.786113px) 16.900976px,calc(50% - 31.486309px) 17.453146px,calc(50% - 31.176915px) 18px,calc(50% - 30.858023px) 18.541371px,calc(50% - 30.529731px) 19.077094px,calc(50% - 30.19214px) 19.607005px,calc(50% - 29.845353px) 20.130945px,calc(50% - 29.489474px) 20.648752px,calc(50% - 29.124612px) 21.160269px,calc(50% - 28.750878px) 21.665341px,calc(50% - 28.368387px) 22.163813px,calc(50% - 27.977255px) 22.655534px,calc(50% - 27.5776px) 23.140354px,calc(50% - 27.169545px) 23.618125px,calc(50% - 26.753214px) 24.088702px,calc(50% - 26.328733px) 24.551941px,calc(50% - 25.896233px) 25.007701px,calc(50% - 25.455844px) 25.455844px,calc(50% - 25.007701px) 25.896233px,calc(50% - 24.551941px) 26.328733px,calc(50% - 24.088702px) 26.753214px,calc(50% - 23.618125px) 27.169545px,calc(50% - 23.140354px) 27.5776px,calc(50% - 22.655534px) 27.977255px,calc(50% - 22.163813px) 28.368387px,calc(50% - 21.665341px) 28.750878px,calc(50% - 21.160269px) 29.124612px,calc(50% - 20.648752px) 29.489474px,calc(50% - 20.130945px) 29.845353px,calc(50% - 19.607005px) 30.19214px,calc(50% - 19.077094px) 30.529731px,calc(50% - 18.541371px) 30.858023px,calc(50% - 18px) 31.176915px,calc(50% - 17.453146px) 31.486309px,calc(50% - 16.900976px) 31.786113px,calc(50% - 16.343658px) 32.076235px,calc(50% - 15.781361px) 32.356586px,calc(50% - 15.214257px) 32.62708px,calc(50% - 14.642519px) 32.887636px,calc(50% - 14.066321px) 33.138175px,calc(50% - 13.485837px) 33.378619px,calc(50% - 12.901246px) 33.608895px,calc(50% - 12.312725px) 33.828934px,calc(50% - 11.720454px) 34.038669px,calc(50% - 11.124612px) 34.238035px,calc(50% - 10.525381px) 34.426971px,calc(50% - 9.922945px) 34.605421px,calc(50% - 9.317486px) 34.77333px,calc(50% - 8.709188px) 34.930646px,calc(50% - 8.098238px) 35.077322px,calc(50% - 7.484821px) 35.213314px,calc(50% - 6.869124px) 35.338579px,calc(50% - 6.251334px) 35.453079px,calc(50% - 5.631641px) 35.55678px,calc(50% - 5.010232px) 35.64965px,calc(50% - 4.387296px) 35.731661px,calc(50% - 3.763025px) 35.802788px,calc(50% - 3.137607px) 35.863009px,calc(50% - 2.511233px) 35.912306px,calc(50% - 1.884094px) 35.950663px,calc(50% - 1.256382px) 35.97807px,calc(50% - .628287px) 35.994517px,50% 36px,calc(50% + .628287px) 35.994517px,calc(50% + 1.256382px) 35.97807px,calc(50% + 1.884094px) 35.950663px,calc(50% + 2.511233px) 35.912306px,calc(50% + 3.137607px) 35.863009px,calc(50% + 3.763025px) 35.802788px,calc(50% + 4.387296px) 35.731661px,calc(50% + 5.010232px) 35.64965px,calc(50% + 5.631641px) 35.55678px,calc(50% + 6.251334px) 35.453079px,calc(50% + 6.869124px) 35.338579px,calc(50% + 7.484821px) 35.213314px,calc(50% + 8.098238px) 35.077322px,calc(50% + 8.709188px) 34.930646px,calc(50% + 9.317486px) 34.77333px,calc(50% + 9.922945px) 34.605421px,calc(50% + 10.525381px) 34.426971px,calc(50% + 11.124612px) 34.238035px,calc(50% + 11.720454px) 34.038669px,calc(50% + 12.312725px) 33.828934px,calc(50% + 12.901246px) 33.608895px,calc(50% + 13.485837px) 33.378619px,calc(50% + 14.066321px) 33.138175px,calc(50% + 14.642519px) 32.887636px,calc(50% + 15.214257px) 32.62708px,calc(50% + 15.781361px) 32.356586px,calc(50% + 16.343658px) 32.076235px,calc(50% + 16.900976px) 31.786113px,calc(50% + 17.453146px) 31.486309px,calc(50% + 18px) 31.176915px,calc(50% + 18.541371px) 30.858023px,calc(50% + 19.077094px) 30.529731px,calc(50% + 19.607005px) 30.19214px,calc(50% + 20.130945px) 29.845353px,calc(50% + 20.648752px) 29.489474px,calc(50% + 21.160269px) 29.124612px,calc(50% + 21.665341px) 28.750878px,calc(50% + 22.163813px) 28.368387px,calc(50% + 22.655534px) 27.977255px,calc(50% + 23.140354px) 27.5776px,calc(50% + 23.618125px) 27.169545px,calc(50% + 24.088702px) 26.753214px,calc(50% + 24.551941px) 26.328733px,calc(50% + 25.007701px) 25.896233px,calc(50% + 25.455844px) 25.455844px,calc(50% + 25.896233px) 25.007701px,calc(50% + 26.328733px) 24.551941px,calc(50% + 26.753214px) 24.088702px,calc(50% + 27.169545px) 23.618125px,calc(50% + 27.5776px) 23.140354px,calc(50% + 27.977255px) 22.655534px,calc(50% + 28.368387px) 22.163813px,calc(50% + 28.750878px) 21.665341px,calc(50% + 29.124612px) 21.160269px,calc(50% + 29.489474px) 20.648752px,calc(50% + 29.845353px) 20.130945px,calc(50% + 30.19214px) 19.607005px,calc(50% + 30.529731px) 19.077094px,calc(50% + 30.858023px) 18.541371px,calc(50% + 31.176915px) 18px,calc(50% + 31.486309px) 17.453146px,calc(50% + 31.786113px) 16.900976px,calc(50% + 32.076235px) 16.343658px,calc(50% + 32.356586px) 15.781361px,calc(50% + 32.62708px) 15.214257px,calc(50% + 32.887636px) 14.642519px,calc(50% + 33.138175px) 14.066321px,calc(50% + 33.378619px) 13.485837px,calc(50% + 33.608895px) 12.901246px,calc(50% + 33.828934px) 12.312725px,calc(50% + 34.038669px) 11.720454px,calc(50% + 34.238035px) 11.124612px,calc(50% + 34.426971px) 10.525381px,calc(50% + 34.605421px) 9.922945px,calc(50% + 34.77333px) 9.317486px,calc(50% + 34.930646px) 8.709188px,calc(50% + 35.077322px) 8.098238px,calc(50% + 35.213314px) 7.484821px,calc(50% + 35.338579px) 6.869124px,calc(50% + 35.453079px) 6.251334px,calc(50% + 35.55678px) 5.631641px,calc(50% + 35.64965px) 5.010232px,calc(50% + 35.731661px) 4.387296px,calc(50% + 35.802788px) 3.763025px,calc(50% + 35.863009px) 3.137607px,calc(50% + 35.912306px) 2.511233px,calc(50% + 36.462997px) 1.884094px,calc(50% + 36.975331px) 1.256382px,calc(50% + 37.487665px) .628287px,calc(50% + 38px) 0,100% 0,100% 100%,0 100%)}.unfavored[_nghost-%COMP%] .background[_ngcontent-%COMP%]{transform:translateY(56px)}.content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:0 4px;color:#ffffffde;transition:transform .2s cubic-bezier(.4,0,.2,1)}.unfavored[_nghost-%COMP%] .content[_ngcontent-%COMP%]{transform:translateY(56px)}.content[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.content[_ngcontent-%COMP%] rpl-nav-logo-button[_ngcontent-%COMP%]{margin-left:16px}.fab[_ngcontent-%COMP%]{position:absolute;left:calc(50% - 28px);bottom:calc(100% - 28px);transition:bottom .3s cubic-bezier(.4,0,.2,1)}.unfavored[_nghost-%COMP%] .fab[_ngcontent-%COMP%]{bottom:8px}"],data:{animation:[_("arrow",[$("true",h({transform:"rotate(180deg)"})),$("false",h({transform:"rotate(0deg)"})),d("true <=> false",[w(`200ms ${I.STANDARD_CURVE}`)])]),_("fab",[d(":leave",[U("@*",Ht())])]),_("bottomMenu",[d(":enter",[h({transform:"translateY(100%)"}),w(`200ms ${I.DECELERATION_CURVE}`)]),d(":leave",[w(`200ms ${I.ACCELERATION_CURVE}`),h({transform:"translateY(100%)"})])]),_("bottomActions",[d(":enter",[]),d(":leave",[]),d("* => *",[U(":enter",[h({transform:"scale(92%)",opacity:0}),zt("40ms",[w(`210ms 90ms ${I.DECELERATION_CURVE}`,h({transform:"scale(1)",opacity:1}))])])])])]},changeDetection:0})})(),e})();function Le(e,t){e&1&&s(0,"rpl-bottom-nav",1)}var de=(()=>{let t=class{constructor(){this.breakpoints=f(ot)}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-base-foundation"]],decls:3,vars:1,consts:[["data-route-animation-target","",4,"ngIf"],["data-route-animation-target",""]],template:function(n,i){n&1&&(c(0,"main"),s(1,"router-outlet"),p(),m(2,Le,1,0,"rpl-bottom-nav",0)),n&2&&(l(2),r("ngIf",!i.breakpoints()["tablet-portrait"]))},dependencies:[C,H,me],styles:["[_nghost-%COMP%]{display:contents}main[_ngcontent-%COMP%]{display:contents}rpl-bottom-nav[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;align-self:end}"],changeDetection:0})})(),e})();function Fe(e,t){if(e&1&&s(0,"mat-icon",8),e&2){let a=u();r("@arrow",a.expanded)}}function Ve(e,t){e&1&&(c(0,"div",2),s(1,"rpl-nav-avatar-button")(2,"rpl-settings-button"),p())}var xe=(()=>{let t=class{constructor(){this.expanded=!1,this.expandedChange=new F}ngOnInit(){}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-side-nav"]],hostVars:2,hostBindings:function(n,i){n&2&&v("expanded",i.expanded)},inputs:{expanded:"expanded"},outputs:{expandedChange:"expandedChange"},decls:9,vars:6,consts:[["scrolling","scrolling",1,"wrapper"],[1,"primary-line"],[1,"group"],[3,"indicator","expanded","click"],["arrow",""],["class","group",4,"ngIf"],[1,"fab",3,"expanded"],[1,"menu",3,"expanded"],["fontSet","filled","fontIcon","arrow_right"]],template:function(n,i){if(n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"rpl-nav-logo-button",3),P("click",function(){return i.expandedChange.emit(!i.expanded)}),p(),m(4,Fe,1,1,"ng-template",null,4,N),p(),m(6,Ve,3,0,"div",5),p(),s(7,"rpl-nav-floating-action-button",6)(8,"rpl-nav-menu",7),p()),n&2){let g=T(5);l(3),r("indicator",g)("expanded",i.expanded),l(3),r("ngIf",i.expanded),l(1),r("expanded",i.expanded)("@fab",void 0),l(1),r("expanded",i.expanded)}},dependencies:[C,B,z,st,xt,ut,dt],styles:["[_nghost-%COMP%]{display:block}.wrapper[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px 0;background-color:#344955;color:#ffffffde;overflow-y:auto}.expanded[_nghost-%COMP%] .wrapper[_ngcontent-%COMP%]{align-items:flex-start;padding:8px 16px}@supports (overflow: overlay){.wrapper[_ngcontent-%COMP%]{overflow-y:overlay}}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:4px;background-color:transparent}.wrapper.scrolling[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ffffff1f}.wrapper[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#ffffff4d}.primary-line[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.expanded[_nghost-%COMP%] .primary-line[_ngcontent-%COMP%]{width:100%}.primary-line[_ngcontent-%COMP%] .group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}.menu[_ngcontent-%COMP%]{width:100%}"],data:{animation:[_("arrow",[$("true",h({transform:"rotate(180deg)"})),$("false",h({transform:"rotate(0deg)"})),d("true <=> false",[w(`200ms ${I.STANDARD_CURVE}`)])]),_("fab",[d(":enter",[])])]},changeDetection:0})})(),e})();function Ue(e,t){if(e&1){let a=E();c(0,"rpl-side-nav",2),P("expandedChange",function(n){b(a);let i=u();return O(i.navExpanded.set(n===i.navShouldExpand()?void 0:n))}),p()}if(e&2){let a=u(),o;v("expanded",a.navExpanded())("on-grid",a.navExpanded()===void 0),r("expanded",(o=a.navExpanded())!==null&&o!==void 0?o:a.navShouldExpand())}}var ue=(()=>{let t=class{constructor(){this.routeAnimationId=et(),this.breakpoints=f(ot),this.navShouldRender=Ct(()=>this.breakpoints()["tablet-portrait"]),this.navShouldExpand=Ct(()=>this.breakpoints().laptop),this.navExpanded=Ot(void 0)}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-main"]],decls:3,vars:2,consts:[["data-route-animation-target","",3,"expanded","on-grid","expandedChange",4,"ngIf"],[1,"content"],["data-route-animation-target","",3,"expanded","expandedChange"]],template:function(n,i){n&1&&(m(0,Ue,1,5,"rpl-side-nav",0),c(1,"div",1),s(2,"router-outlet"),p()),n&2&&(r("ngIf",i.navShouldRender()),l(1),r("@content",i.routeAnimationId()))},dependencies:[C,H,xe],styles:["[_nghost-%COMP%]{display:contents}rpl-side-nav[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/col-1}.laptop[_nghost-%COMP%] rpl-side-nav[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] rpl-side-nav[_ngcontent-%COMP%]{grid-column:margin-left/col-3}rpl-side-nav[_ngcontent-%COMP%]:not(.on-grid){width:100px}rpl-side-nav[_ngcontent-%COMP%]:not(.on-grid).expanded{width:300px}.content[_ngcontent-%COMP%]{display:contents}"],data:{animation:[_("content",[d(":enter, :leave, * <=> none",[]),d("base => upper",[_t.apply("z","forward",{incoming:":enter [data-route-animation-target]",outgoing:":leave [data-route-animation-target]"})]),d("upper => base",[_t.apply("z","backward",{incoming:":enter [data-route-animation-target]",outgoing:":leave [data-route-animation-target]"})])])]},changeDetection:0})})(),e})();var fe=(()=>{let t=class{constructor(){this.animationId=et()}},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275cmp=x({type:t,selectors:[["rpl-upper-foundation"]],decls:2,vars:1,consts:[["data-route-animation-target",""]],template:function(n,i){n&1&&(c(0,"main",0),s(1,"router-outlet"),p()),n&2&&r("@main",i.animationId())},dependencies:[H],styles:["[_nghost-%COMP%]{display:contents}main[_ngcontent-%COMP%]{grid-row:1;grid-column:margin-left/margin-right;background-color:#fff;color:#000000de}.tablet-portrait[_nghost-%COMP%] main[_ngcontent-%COMP%], .tablet-portrait [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-2/col-8}.tablet-landscape[_nghost-%COMP%] main[_ngcontent-%COMP%], .tablet-landscape [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-2/col-12}.laptop[_nghost-%COMP%] main[_ngcontent-%COMP%], .laptop [_nghost-%COMP%] main[_ngcontent-%COMP%]{grid-column:col-4/col-12}"],data:{animation:[_("main",[d(":enter, :leave, * <=> none",[]),d("* => *",[U(":self",h({position:"relative"})),U(":enter, :leave",h({width:"100%"})),nt.apply()])])]},changeDetection:0})})(),e})();var He=[{path:"",component:ue,children:[{path:"",component:de,data:{animationId:"base"},children:[{matcher:e=>e.length&&e.join("/").startsWith("mail")?{consumed:[],posParams:{}}:null,loadChildren:()=>import("./mails.module-L46UK4PD.js").then(e=>e.MailsModule)}]},{path:"",component:fe,data:{animationId:"upper"},children:[{path:"compose",loadChildren:()=>import("./compose.module-3J5VLD75.js").then(e=>e.ComposeModule)},{path:"search",loadChildren:()=>import("./search.module-VW4V3KZW.js").then(e=>e.SearchModule)}]}]}],ge=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=J({type:t})})(),(()=>{t.\u0275inj=q({imports:[vt.forChild(He),vt]})})(),e})();var zo=(()=>{let t=class{},e=t;return(()=>{t.\u0275fac=function(n){return new(n||t)}})(),(()=>{t.\u0275mod=J({type:t})})(),(()=>{t.\u0275inj=q({imports:[Lt,ge,jt,Jt,Ft,W,G,ne,rt,pt,z,it]})})(),e})();export{zo as MainModule}; diff --git a/ngsw.json b/ngsw.json index 67a54bc0..87041a1c 100644 --- a/ngsw.json +++ b/ngsw.json @@ -1,6 +1,6 @@ { "configVersion": 1, - "timestamp": 1690077060688, + "timestamp": 1690077248697, "index": "/reply/index.html", "assetGroups": [ { @@ -11,31 +11,31 @@ "ignoreVary": true }, "urls": [ - "/reply/auth.module-GISTRWXJ.js", - "/reply/chunk-67MWGK7F.js", - "/reply/chunk-GLURFALA.js", - "/reply/chunk-GWX3GFXN.js", - "/reply/chunk-HN2ZODN7.js", - "/reply/chunk-KAVP63DH.js", - "/reply/chunk-KMPJQAXK.js", - "/reply/chunk-LCFD4RLU.js", - "/reply/chunk-MHK45Q7K.js", - "/reply/chunk-NEYEICGN.js", + "/reply/auth.module-P2MDSZ43.js", + "/reply/chunk-2P62XVQM.js", + "/reply/chunk-4ATFR6FD.js", + "/reply/chunk-5QDPU4Y2.js", + "/reply/chunk-7UMKM2EO.js", + "/reply/chunk-AJ5EX2ND.js", + "/reply/chunk-BTQVCDJX.js", + "/reply/chunk-CKWROFPT.js", + "/reply/chunk-FHI7K4TK.js", + "/reply/chunk-GXVGJF2N.js", + "/reply/chunk-HFIM43UT.js", + "/reply/chunk-M73SF7I4.js", + "/reply/chunk-MILDH525.js", + "/reply/chunk-NZ3JMIKG.js", "/reply/chunk-OPXGAHDX.js", - "/reply/chunk-RXZGXWOS.js", - "/reply/chunk-T7HJLGDV.js", - "/reply/chunk-VLKDZGSJ.js", - "/reply/chunk-XVSFZ2EY.js", - "/reply/chunk-YYPCQDSP.js", - "/reply/compose.module-RFO3KFRC.js", + "/reply/chunk-TEA4CVZ4.js", + "/reply/compose.module-3J5VLD75.js", "/reply/favicon.ico", "/reply/index.html", - "/reply/mails.module-AEE4XBYU.js", - "/reply/main.UE2TVRSG.js", - "/reply/main.module-CAAOIGYM.js", + "/reply/mails.module-L46UK4PD.js", + "/reply/main.Z2AWIZVL.js", + "/reply/main.module-P5HCMW3R.js", "/reply/manifest.webmanifest", "/reply/polyfills.KSQVRYJW.js", - "/reply/search.module-OLWJ7K2G.js", + "/reply/search.module-VW4V3KZW.js", "/reply/styles.F6WP4E66.css" ], "patterns": [] @@ -88,31 +88,31 @@ "/reply/assets/icons/icon-512x512.png": "2c487f7a424cf8082b8cf690fddfd403883801fe", "/reply/assets/icons/icon-72x72.png": "fca065187bcd1431381e439641680a4288f3b883", "/reply/assets/icons/icon-96x96.png": "424dded4ea1d268fad672990ad048e92ce81af00", - "/reply/auth.module-GISTRWXJ.js": "a149554a2e77de6cdf1ccb9e6597843e27908ce2", - "/reply/chunk-67MWGK7F.js": "7bdc148e4aa7f44e47aef28189a34e69be20186c", - "/reply/chunk-GLURFALA.js": "eff09eb13044ac086e68408506bb5f98d4f403c0", - "/reply/chunk-GWX3GFXN.js": "dde89d9ce149b1423b3d48108bb0b48104eb8d17", - "/reply/chunk-HN2ZODN7.js": "43ea7f975312c0cfedb801657ff41bd01c55dc7f", - "/reply/chunk-KAVP63DH.js": "db4d8bbfd17628564f0e92604ad29965dadd9441", - "/reply/chunk-KMPJQAXK.js": "d457a96ffe6be172f45dd69d7163279c5c056e08", - "/reply/chunk-LCFD4RLU.js": "8107e330682957a2641be227896445f0a6fa1753", - "/reply/chunk-MHK45Q7K.js": "cb8e038454f6f0e6a6575caed0c72e775a38b429", - "/reply/chunk-NEYEICGN.js": "fd2410205d2d989c5369b52beeefb6c00c53710b", + "/reply/auth.module-P2MDSZ43.js": "a3d72328274edec200021e44a08dc96c4a0bff95", + "/reply/chunk-2P62XVQM.js": "5fd301a6095b1fe5730eedd4305a5736dfad7ec4", + "/reply/chunk-4ATFR6FD.js": "8e4752dc8c6742328b4be2348e05a996740c1ba7", + "/reply/chunk-5QDPU4Y2.js": "bca43483536e9c90f2e05f40428814ed81c7b39a", + "/reply/chunk-7UMKM2EO.js": "aab4a71f8cb41c5ba70547457e77763ba48933d7", + "/reply/chunk-AJ5EX2ND.js": "3e7767e5f635339631680797ac592db98af03832", + "/reply/chunk-BTQVCDJX.js": "af86669627eb3b335c19b61afcde5332e5f605ed", + "/reply/chunk-CKWROFPT.js": "c4bc03f1d33a44aa1c5fe7775f2faacc9dce037d", + "/reply/chunk-FHI7K4TK.js": "cfcd8e0817105d2f415ac4430df0271e098e8447", + "/reply/chunk-GXVGJF2N.js": "76dc944148e8511a1b8ec0e337fc5edc45cd8bb8", + "/reply/chunk-HFIM43UT.js": "6145e86c5b1c61797bfe36507abb72a33304563a", + "/reply/chunk-M73SF7I4.js": "978f8b3c76e3f10a9b9cb18c5800de0032f4d40a", + "/reply/chunk-MILDH525.js": "1c1cbcda9663feca8caba81297bb64a5c2306d00", + "/reply/chunk-NZ3JMIKG.js": "35ee727faf4b1d2385227ca8b3e5af9a03e58aa7", "/reply/chunk-OPXGAHDX.js": "179f374500d927417ed1a7645057f8a1572cc8fa", - "/reply/chunk-RXZGXWOS.js": "bee56bc27068efed70bcc749755d193ecd152d8c", - "/reply/chunk-T7HJLGDV.js": "8ad65926eb1979cd519a6cb4255280ce434c33a6", - "/reply/chunk-VLKDZGSJ.js": "d867f7fd09de493a8e3b466c43e9be47fdff92cf", - "/reply/chunk-XVSFZ2EY.js": "2f49cb13d5bc501d0f32dca3235a3406219cc1c1", - "/reply/chunk-YYPCQDSP.js": "44111b3366b79e72131ced6153752c39372ca1b5", - "/reply/compose.module-RFO3KFRC.js": "9d1d08b15ca6b9f650b153760e27bc09e4855a54", + "/reply/chunk-TEA4CVZ4.js": "9dacf399aa6090281abd1c767f480f048de3b1fa", + "/reply/compose.module-3J5VLD75.js": "e4ff7317dc6f815127b635df1cb5a2291e6a0b42", "/reply/favicon.ico": "fbab354eb685a7157f9a006929ddf52c55458317", - "/reply/index.html": "f46974de0040df9f5d109724cb8e1f6e09b6df6d", - "/reply/mails.module-AEE4XBYU.js": "cc9b2b50347d810b4918c2d2793c4765356b243d", - "/reply/main.UE2TVRSG.js": "2997cafc61fd5494b320a33814e9d35b73da6c16", - "/reply/main.module-CAAOIGYM.js": "5473d13f0e248f788befaf04b628323465c813b5", + "/reply/index.html": "8ee4114afbc111e112b69dfdde06745f1b43405d", + "/reply/mails.module-L46UK4PD.js": "bd6384e9e211b3a072a754293ba56ee58c35fafa", + "/reply/main.Z2AWIZVL.js": "73be5057231547d777ec8e3fa9094e8306ad93b3", + "/reply/main.module-P5HCMW3R.js": "79f2f8b5c4ae4b343be9f47afc9fa05cf11f2b01", "/reply/manifest.webmanifest": "0478daf5cb975561ca56b989460603ab7bb253e0", "/reply/polyfills.KSQVRYJW.js": "05360c852c1a90c2db56eb3fffac1d60338abfb4", - "/reply/search.module-OLWJ7K2G.js": "e34e1778fc8f2891bb8ed1c49730fba62ae2c11d", + "/reply/search.module-VW4V3KZW.js": "a3207f351d77155e36d520fe52e3f464398d9edb", "/reply/styles.F6WP4E66.css": "01b4be899954d0b5cc98f15cd28b79f4f8e542ba" }, "navigationUrls": [ diff --git a/search.module-OLWJ7K2G.js b/search.module-VW4V3KZW.js similarity index 82% rename from search.module-OLWJ7K2G.js rename to search.module-VW4V3KZW.js index f03d5ddb..c046855c 100644 --- a/search.module-OLWJ7K2G.js +++ b/search.module-VW4V3KZW.js @@ -1 +1 @@ -import{a as _e,b as xe,c as P,d as Me,e as T}from"./chunk-RXZGXWOS.js";import{d as te,e as ie}from"./chunk-HN2ZODN7.js";import{d as C,e as H}from"./chunk-YYPCQDSP.js";import{a as me,c as de,d as pe,e as he}from"./chunk-67MWGK7F.js";import{d as ne}from"./chunk-GWX3GFXN.js";import{a as ue,b as fe,c as ge}from"./chunk-VLKDZGSJ.js";import"./chunk-T7HJLGDV.js";import{b as oe,e as re,f as se,g as ae,h as le,j as ce}from"./chunk-MHK45Q7K.js";import{Ca as m,Cb as W,Db as w,Ea as a,Fa as l,Ga as c,H as O,Ha as _,Ia as x,Ib as S,Ja as M,Jb as Y,La as U,Lc as G,N as $,Na as D,Pa as d,Rc as J,Sc as q,Ta as Z,U as h,W as g,X as R,Xa as v,Y as u,Ya as y,da as z,e as L,ea as V,fd as F,gb as p,gd as X,hb as f,hd as K,ib as A,id as Q,jd as ee,m as I,o as j,sa as r,sd as b,ud as k,z as B}from"./chunk-LCFD4RLU.js";import"./chunk-OPXGAHDX.js";var N=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({})})(),t})();var ve=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({providers:[J],imports:[N,C,G,N,C]})})(),t})();function Se(t,e){if(t&1&&(l(0,"div",6)(1,"span"),v(2),c(),v(3," - "),l(4,"span"),v(5),p(6,"readableDate"),c()()),t&2){let o=e.ngIf,n=d(2).$implicit,i;r(2),y((i=o.name)!==null&&i!==void 0?i:o.email),r(3),y(f(6,2,n.sentAt))}}function Fe(t,e){if(t&1&&(l(0,"a",4),_(1,"mat-icon",5),l(2,"div",6),v(3),c(),m(4,Se,7,4,"div",7),p(5,"async"),p(6,"resolveRef"),c()),t&2){let o=e.ngIf,n=d().$implicit,i=d(4);Z("routerLink","/mailboxes/",o.name,"/mails/",n.id,""),r(3),y(n.subject),r(1),a("ngIf",f(5,4,A(6,6,n.sender,i.contactRepo)))}}function be(t,e){if(t&1&&(x(0),m(1,Fe,7,9,"a",3),p(2,"async"),p(3,"resolveRef"),M()),t&2){let o=e.$implicit,n=d(4);r(1),a("ngIf",o.mailbox&&f(2,1,A(3,3,o.mailbox,n.mailboxRepo)))}}function Te(t,e){if(t&1&&(x(0),l(1,"div",2),v(2),c(),m(3,be,4,6,"ng-container",1),M()),t&2){let o=d().$implicit;r(2),y(o.name),r(1),a("ngForOf",o.items)}}function He(t,e){if(t&1&&(x(0),m(1,Te,4,2,"ng-container",0),M()),t&2){let o=e.$implicit;r(1),a("ngIf",o.items.length)}}function De(t,e){if(t&1&&(l(0,"mat-nav-list"),m(1,He,2,1,"ng-container",1),c()),t&2){let o=e.ngIf;r(1),a("ngForOf",o)}}var ye=(()=>{let e=class{set mails(n){this.mails$.next(n)}constructor(){this.contactRepo=g(te),this.mailboxRepo=g(ne),this.mails$=new L([])}ngOnInit(){this.mailsGroups$=this.mails$.pipe(I(n=>{let i={Yesterday:[],["This Week"]:[],Earlier:[]};return n.forEach(s=>{P().subtract(1,"day").isBefore(s.sentAt)?i.Yesterday.push(s):P().subtract(1,"week").isBefore(s.sentAt)?i["This Week"].push(s):i.Earlier.push(s)}),[{name:"Yesterday",items:i.Yesterday},{name:"This Week",items:i["This Week"]},{name:"Earlier",items:i.Earlier}]}))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=R({type:e,selectors:[["rpl-search-result-list"]],inputs:{mails:"mails"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"subheader"],["mat-list-item","",3,"routerLink",4,"ngIf"],["mat-list-item","",3,"routerLink"],["matListIcon","","fontSet","filled","fontIcon","schedule"],["matLine",""],["matLine","",4,"ngIf"]],template:function(i,s){i&1&&(m(0,De,2,1,"mat-nav-list",0),p(1,"async")),i&2&&a("ngIf",f(1,1,s.mailsGroups$))},dependencies:[W,w,b,F,me,pe,q,de,S,_e,Me],styles:[".subheader[_ngcontent-%COMP%]{margin:12px 20px;text-transform:uppercase}"],changeDetection:0})})(),t})();function ke(t,e){if(t&1){let o=U();x(0),l(1,"rpl-header",1)(2,"a",2),_(3,"mat-icon",3),c(),l(4,"input",4),D("ngModelChange",function(i){z(o);let s=d();return V(s.searchText$.next(i))}),c(),l(5,"button",5),_(6,"mat-icon",6),c()(),l(7,"rpl-scrollable-area",7),_(8,"rpl-search-result-list",8),c(),M()}if(t&2){let o=e.ngIf,n=d(),i;r(2),a("routerLink",(i=n.navigationContext().latestMailboxUrl)!==null&&i!==void 0?i:"/"),r(2),a("ngModel",n.searchText$.value),r(4),a("mails",o)}}var Ce=(()=>{let e=class{constructor(){this.navigationContext=g(ge),this.mailRepo=g(ie),this.searchText$=new L("")}ngOnInit(){this.mails$=j(this.searchText$.pipe(O()),this.searchText$.pipe(B(200))).pipe(I(n=>n.split(" ")),$(n=>this.mailRepo.query(({subject:i})=>!!i&&n.some(s=>i.toLowerCase().includes(s.toLowerCase())))))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=R({type:e,selectors:[["rpl-search"]],decls:2,vars:3,consts:[[4,"ngIf"],["ngForm","",1,"search-bar"],["mat-icon-button","","matTooltip","Back",3,"routerLink"],["fontSet","filled","fontIcon","arrow_back"],["name","search","type","text","placeholder","Search emails",3,"ngModel","ngModelChange"],["mat-icon-button",""],["fontSet","filled","fontIcon","mic"],["rplLayoutContent","","data-route-animation-target","",1,"search-result"],[3,"mails"]],template:function(i,s){i&1&&(m(0,ke,9,3,"ng-container",0),p(1,"async")),i&2&&a("ngIf",f(1,1,s.mails$))},dependencies:[w,oe,re,se,le,ae,b,K,Q,F,ue,T,xe,H,ye,S],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:0;flex-grow:1;font-size:18px;font-weight:400;line-height:24px;font-family:Work Sans,sans-serif;letter-spacing:normal}.search-result[_ngcontent-%COMP%]{height:0;flex-grow:1}"],changeDetection:0})})(),t})();var Ne=[{path:"",component:Ce,title:"Search",data:{animationId:"search"}}],Ee=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({imports:[k.forChild(Ne),k]})})(),t})();var qt=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({imports:[Y,ce,Ee,ee,X,C,ve,he,fe,T,H]})})(),t})();export{qt as SearchModule}; +import{a as _e,b as xe,c as Me,d as T}from"./chunk-GXVGJF2N.js";import{d as te,e as ie,f as k}from"./chunk-5QDPU4Y2.js";import{d as C,e as H}from"./chunk-M73SF7I4.js";import{a as me,c as de,d as pe,e as he}from"./chunk-FHI7K4TK.js";import{b as ne}from"./chunk-MILDH525.js";import{a as ue,b as fe,c as ge}from"./chunk-TEA4CVZ4.js";import"./chunk-BTQVCDJX.js";import{b as oe,e as re,f as se,g as ae,h as le,j as ce}from"./chunk-AJ5EX2ND.js";import{Aa as m,Ab as W,Bb as w,Ca as a,Da as l,Ea as c,F as O,Fa as _,Ga as x,Gb as S,Ha as M,Hb as Y,Ja as U,Jc as G,L as $,La as D,Na as d,Pc as J,Qc as q,Ra as Z,S as h,U as g,V as R,Va as v,W as u,Wa as y,ba as z,ca as V,dd as F,e as L,eb as p,ed as X,fb as f,fd as K,gb as A,gd as Q,hd as ee,m as I,o as j,qa as r,qd as b,sd as P,y as B}from"./chunk-HFIM43UT.js";import"./chunk-OPXGAHDX.js";var N=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({})})(),t})();var ve=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({providers:[J],imports:[N,C,G,N,C]})})(),t})();function Se(t,e){if(t&1&&(l(0,"div",6)(1,"span"),v(2),c(),v(3," - "),l(4,"span"),v(5),p(6,"readableDate"),c()()),t&2){let o=e.ngIf,n=d(2).$implicit,i;r(2),y((i=o.name)!==null&&i!==void 0?i:o.email),r(3),y(f(6,2,n.sentAt))}}function Fe(t,e){if(t&1&&(l(0,"a",4),_(1,"mat-icon",5),l(2,"div",6),v(3),c(),m(4,Se,7,4,"div",7),p(5,"async"),p(6,"resolveRef"),c()),t&2){let o=e.ngIf,n=d().$implicit,i=d(4);Z("routerLink","/mailboxes/",o.name,"/mails/",n.id,""),r(3),y(n.subject),r(1),a("ngIf",f(5,4,A(6,6,n.sender,i.contactRepo)))}}function be(t,e){if(t&1&&(x(0),m(1,Fe,7,9,"a",3),p(2,"async"),p(3,"resolveRef"),M()),t&2){let o=e.$implicit,n=d(4);r(1),a("ngIf",o.mailbox&&f(2,1,A(3,3,o.mailbox,n.mailboxRepo)))}}function Te(t,e){if(t&1&&(x(0),l(1,"div",2),v(2),c(),m(3,be,4,6,"ng-container",1),M()),t&2){let o=d().$implicit;r(2),y(o.name),r(1),a("ngForOf",o.items)}}function He(t,e){if(t&1&&(x(0),m(1,Te,4,2,"ng-container",0),M()),t&2){let o=e.$implicit;r(1),a("ngIf",o.items.length)}}function De(t,e){if(t&1&&(l(0,"mat-nav-list"),m(1,He,2,1,"ng-container",1),c()),t&2){let o=e.ngIf;r(1),a("ngForOf",o)}}var ye=(()=>{let e=class{set mails(n){this.mails$.next(n)}constructor(){this.contactRepo=g(te),this.mailboxRepo=g(ne),this.mails$=new L([])}ngOnInit(){this.mailsGroups$=this.mails$.pipe(I(n=>{let i={Yesterday:[],["This Week"]:[],Earlier:[]};return n.forEach(s=>{k().subtract(1,"day").isBefore(s.sentAt)?i.Yesterday.push(s):k().subtract(1,"week").isBefore(s.sentAt)?i["This Week"].push(s):i.Earlier.push(s)}),[{name:"Yesterday",items:i.Yesterday},{name:"This Week",items:i["This Week"]},{name:"Earlier",items:i.Earlier}]}))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=R({type:e,selectors:[["rpl-search-result-list"]],inputs:{mails:"mails"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"subheader"],["mat-list-item","",3,"routerLink",4,"ngIf"],["mat-list-item","",3,"routerLink"],["matListIcon","","fontSet","filled","fontIcon","schedule"],["matLine",""],["matLine","",4,"ngIf"]],template:function(i,s){i&1&&(m(0,De,2,1,"mat-nav-list",0),p(1,"async")),i&2&&a("ngIf",f(1,1,s.mailsGroups$))},dependencies:[W,w,b,F,me,pe,q,de,S,_e,Me],styles:[".subheader[_ngcontent-%COMP%]{margin:12px 20px;text-transform:uppercase}"],changeDetection:0})})(),t})();function ke(t,e){if(t&1){let o=U();x(0),l(1,"rpl-header",1)(2,"a",2),_(3,"mat-icon",3),c(),l(4,"input",4),D("ngModelChange",function(i){z(o);let s=d();return V(s.searchText$.next(i))}),c(),l(5,"button",5),_(6,"mat-icon",6),c()(),l(7,"rpl-scrollable-area",7),_(8,"rpl-search-result-list",8),c(),M()}if(t&2){let o=e.ngIf,n=d(),i;r(2),a("routerLink",(i=n.navigationContext().latestMailboxUrl)!==null&&i!==void 0?i:"/"),r(2),a("ngModel",n.searchText$.value),r(4),a("mails",o)}}var Ce=(()=>{let e=class{constructor(){this.navigationContext=g(ge),this.mailRepo=g(ie),this.searchText$=new L("")}ngOnInit(){this.mails$=j(this.searchText$.pipe(O()),this.searchText$.pipe(B(200))).pipe(I(n=>n.split(" ")),$(n=>this.mailRepo.query(({subject:i})=>!!i&&n.some(s=>i.toLowerCase().includes(s.toLowerCase())))))}},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275cmp=R({type:e,selectors:[["rpl-search"]],decls:2,vars:3,consts:[[4,"ngIf"],["ngForm","",1,"search-bar"],["mat-icon-button","","matTooltip","Back",3,"routerLink"],["fontSet","filled","fontIcon","arrow_back"],["name","search","type","text","placeholder","Search emails",3,"ngModel","ngModelChange"],["mat-icon-button",""],["fontSet","filled","fontIcon","mic"],["rplLayoutContent","","data-route-animation-target","",1,"search-result"],[3,"mails"]],template:function(i,s){i&1&&(m(0,ke,9,3,"ng-container",0),p(1,"async")),i&2&&a("ngIf",f(1,1,s.mails$))},dependencies:[w,oe,re,se,le,ae,b,K,Q,F,ue,T,xe,H,ye,S],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%}.search-bar[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:0;flex-grow:1;font-size:18px;font-weight:400;line-height:24px;font-family:Work Sans,sans-serif;letter-spacing:normal}.search-result[_ngcontent-%COMP%]{height:0;flex-grow:1}"],changeDetection:0})})(),t})();var Ne=[{path:"",component:Ce,title:"Search",data:{animationId:"search"}}],Ee=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({imports:[P.forChild(Ne),P]})})(),t})();var qt=(()=>{let e=class{},t=e;return(()=>{e.\u0275fac=function(i){return new(i||e)}})(),(()=>{e.\u0275mod=u({type:e})})(),(()=>{e.\u0275inj=h({imports:[Y,ce,Ee,ee,X,C,ve,he,fe,T,H]})})(),t})();export{qt as SearchModule};