(e,A)
| 13 | `],encapsulation:2,changeDetection:0})}return i})();function meA(i){return i.hasAttribute("mat-raised-button")?"elevated":i.hasAttribute("mat-stroked-button")?"outlined":i.hasAttribute("mat-flat-button")?"filled":i.hasAttribute("mat-button")?"text":null}var qi=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=et({type:i});static \u0275inj=At({imports:[Jc,Di]})}return i})();var _v=class{_box;_destroyed=new ne;_resizeSubject=new ne;_resizeObserver;_elementObservables=new Map;constructor(e){this._box=e,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(A=>this._resizeSubject.next(A)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new Fi(A=>{let t=this._resizeSubject.subscribe(A);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Bt(A=>A.some(t=>t.target===e)),Js({bufferSize:1,refCount:!0}),yt(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},H3=(()=>{class i{_cleanupErrorListener;_observers=new Map;_ngZone=w(We);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,A]of this._observers)A.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(A,t){let n=t?.box||"content-box";return this._observers.has(n)||this._observers.set(n,new _v(n)),this._observers.get(n).observe(A)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var weA=["notch"],yeA=["matFormFieldNotchedOutline",""],DeA=["*"],HL=["iconPrefixContainer"],zL=["textPrefixContainer"],PL=["iconSuffixContainer"],jL=["textSuffixContainer"],veA=["textField"],beA=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],MeA=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function SeA(i,e){i&1&&lA(0,"span",21)}function keA(i,e){if(i&1&&(I(0,"label",20),Ze(1,1),T(2,SeA,1,0,"span",21),h()),i&2){let A=p(2);H("floating",A._shouldLabelFloat())("monitorResize",A._hasOutline())("id",A._labelId),ie("for",A._control.disableAutomaticLabeling?null:A._control.id),Q(2),O(!A.hideRequiredMarker&&A._control.required?2:-1)}}function _eA(i,e){if(i&1&&T(0,keA,3,5,"label",20),i&2){let A=p();O(A._hasFloatingLabel()?0:-1)}}function xeA(i,e){i&1&&lA(0,"div",7)}function ReA(i,e){}function NeA(i,e){if(i&1&&kt(0,ReA,0,0,"ng-template",13),i&2){p(2);let A=Bi(1);H("ngTemplateOutlet",A)}}function FeA(i,e){if(i&1&&(I(0,"div",9),T(1,NeA,1,1,null,13),h()),i&2){let A=p();H("matFormFieldNotchedOutlineOpen",A._shouldLabelFloat()),Q(),O(A._forceDisplayInfixLabel()?-1:1)}}function LeA(i,e){i&1&&(I(0,"div",10,2),Ze(2,2),h())}function GeA(i,e){i&1&&(I(0,"div",11,3),Ze(2,3),h())}function KeA(i,e){}function UeA(i,e){if(i&1&&kt(0,KeA,0,0,"ng-template",13),i&2){p();let A=Bi(1);H("ngTemplateOutlet",A)}}function TeA(i,e){i&1&&(I(0,"div",14,4),Ze(2,4),h())}function OeA(i,e){i&1&&(I(0,"div",15,5),Ze(2,5),h())}function JeA(i,e){i&1&&lA(0,"div",16)}function YeA(i,e){i&1&&(I(0,"div",18),Ze(1,6),h())}function HeA(i,e){if(i&1&&(I(0,"mat-hint",22),D(1),h()),i&2){let A=p(2);H("id",A._hintLabelId),Q(),nA(A.hintLabel)}}function zeA(i,e){if(i&1&&(I(0,"div",19),T(1,HeA,2,2,"mat-hint",22),Ze(2,7),lA(3,"div",23),Ze(4,8),h()),i&2){let A=p();Q(),O(A.hintLabel?1:-1)}}var xs=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["mat-label"]]})}return i})(),AG=new MA("MatError"),xv=(()=>{class i{id=w(Dn).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(t,n){t&2&&Ma("id",n.id)},inputs:{id:"id"},features:[pt([{provide:AG,useExisting:i}])]})}return i})(),J1=(()=>{class i{align="start";id=w(Dn).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,n){t&2&&(Ma("id",n.id),ie("align",null),_A("mat-mdc-form-field-hint-end",n.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),eG=new MA("MatPrefix"),mQ=(()=>{class i{set _isTextSelector(A){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[pt([{provide:eG,useExisting:i}])]})}return i})(),tG=new MA("MatSuffix"),Rv=(()=>{class i{set _isTextSelector(A){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[pt([{provide:tG,useExisting:i}])]})}return i})(),iG=new MA("FloatingLabelParent"),VL=(()=>{class i{_elementRef=w(ce);get floating(){return this._floating}set floating(A){this._floating=A,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(A){this._monitorResize=A,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=w(H3);_ngZone=w(We);_parent=w(iG);_resizeSubscription=new Oo;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return PeA(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,n){t&2&&_A("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function PeA(i){let e=i;if(e.offsetParent!==null)return e.scrollWidth;let A=e.cloneNode(!0);A.style.setProperty("position","absolute"),A.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(A);let t=A.scrollWidth;return A.remove(),t}var qL="mdc-line-ripple--active",z3="mdc-line-ripple--deactivating",WL=(()=>{class i{_elementRef=w(ce);_cleanupTransitionEnd;constructor(){let A=w(We),t=w(on);A.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let A=this._elementRef.nativeElement.classList;A.remove(z3),A.add(qL)}deactivate(){this._elementRef.nativeElement.classList.add(z3)}_handleTransitionEnd=A=>{let t=this._elementRef.nativeElement.classList,n=t.contains(z3);A.propertyName==="opacity"&&n&&t.remove(qL,z3)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),ZL=(()=>{class i{_elementRef=w(ce);_ngZone=w(We);open=!1;_notch;ngAfterViewInit(){let A=this._elementRef.nativeElement,t=A.querySelector(".mdc-floating-label");t?(A.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):A.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(A){let t=this._notch.nativeElement;!this.open||!A?t.style.width="":t.style.width=`calc(${A}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(A){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${A}px)`)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=vA({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,n){if(t&1&&Wt(weA,5),t&2){let o;se(o=le())&&(n._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,n){t&2&&_A("mdc-notched-outline--notched",n.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:yeA,ngContentSelectors:DeA,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,n){t&1&&(Ot(),$n(0,"div",1),Ln(1,"div",2,0),Ze(3),Xn(),$n(4,"div",3))},encapsulation:2,changeDetection:0})}return i})(),wQ=(()=>{class i{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i})}return i})();var yQ=new MA("MatFormField"),jeA=new MA("MAT_FORM_FIELD_DEFAULT_OPTIONS"),XL="fill",VeA="auto",$L="fixed",qeA="translateY(-50%)",Zo=(()=>{class i{_elementRef=w(ce);_changeDetectorRef=w(Mt);_platform=w(Qi);_idGenerator=w(Dn);_ngZone=w(We);_defaults=w(jeA,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Yo("iconPrefixContainer");_textPrefixContainerSignal=Yo("textPrefixContainer");_iconSuffixContainerSignal=Yo("iconSuffixContainer");_textSuffixContainerSignal=Yo("textSuffixContainer");_prefixSuffixContainers=ye(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(A=>A?.nativeElement).filter(A=>A!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=K0(xs);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(A){this._hideRequiredMarker=kr(A)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||VeA}set floatLabel(A){A!==this._floatLabel&&(this._floatLabel=A,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(A){let t=A||this._defaults?.appearance||XL;this._appearanceSignal.set(t)}_appearanceSignal=mA(XL);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||$L}set subscriptSizing(A){this._subscriptSizing=A||this._defaults?.subscriptSizing||$L}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(A){this._hintLabel=A,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(A){this._explicitFormFieldControl=A}_destroyed=new ne;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=In();constructor(){let A=this._defaults,t=w(No);A&&(A.appearance&&(this.appearance=A.appearance),this._hideRequiredMarker=!!A?.hideRequiredMarker,A.color&&(this.color=A.color)),Fn(()=>this._currentDirection=t.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=ye(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(A){let t=this._control,n="mat-mdc-form-field-type-";A&&this._elementRef.nativeElement.classList.remove(n+A.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(n+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(Yn([void 0,void 0]),Se(()=>[t.errorState,t.userAriaDescribedBy]),YC(),Bt(([[o,a],[r,s]])=>o!==r||a!==s)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(yt(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(A=>!A._isText),this._hasTextPrefix=!!this._prefixChildren.find(A=>A._isText),this._hasIconSuffix=!!this._suffixChildren.find(A=>!A._isText),this._hasTextSuffix=!!this._suffixChildren.find(A=>A._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Vi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let A=this._control.focused;A&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!A&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",A),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",A)}_syncOutlineLabelOffset(){KN({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let A of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(A,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:A=>this._writeOutlinedLabelStyles(A())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=ye(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(A){let t=this._control?this._control.ngControl:null;return t&&t[A]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let A=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&A.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(r=>r.align==="start"):null,a=this._hintChildren?this._hintChildren.find(r=>r.align==="end"):null;o?A.push(o.id):this._hintLabel&&A.push(this._hintLabelId),a&&A.push(a.id)}else this._errorChildren&&A.push(...this._errorChildren.map(o=>o.id));let t=this._control.describedByIds,n;if(t){let o=this._describedByIds||A;n=A.concat(t.filter(a=>a&&!o.includes(a)))}else n=A;this._control.setDescribedByIds(n),this._describedByIds=A}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let A=this._iconPrefixContainer?.nativeElement,t=this._textPrefixContainer?.nativeElement,n=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=A?.getBoundingClientRect().width??0,r=t?.getBoundingClientRect().width??0,s=n?.getBoundingClientRect().width??0,l=o?.getBoundingClientRect().width??0,g=this._currentDirection==="rtl"?"-1":"1",C=`${a+r}px`,B=`calc(${g} * (${C} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,u=`var(--mat-mdc-form-field-label-transform, ${qeA} translateX(${B}))`,E=a+r+s+l;return[u,E]}_writeOutlinedLabelStyles(A){if(A!==null){let[t,n]=A;this._floatingLabel&&(this._floatingLabel.element.style.transform=t),n!==null&&this._notchedOutline?._setMaxWidth(n)}}_isAttachedToDom(){let A=this._elementRef.nativeElement;if(A.getRootNode){let t=A.getRootNode();return t&&t!==A}return document.documentElement.contains(A)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=vA({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,n,o){if(t&1&&(c3(o,n._labelChild,xs,5),ra(o,wQ,5)(o,eG,5)(o,tG,5)(o,AG,5)(o,J1,5)),t&2){br();let a;se(a=le())&&(n._formFieldControl=a.first),se(a=le())&&(n._prefixChildren=a),se(a=le())&&(n._suffixChildren=a),se(a=le())&&(n._errorChildren=a),se(a=le())&&(n._hintChildren=a)}},viewQuery:function(t,n){if(t&1&&(ls(n._iconPrefixContainerSignal,HL,5)(n._textPrefixContainerSignal,zL,5)(n._iconSuffixContainerSignal,PL,5)(n._textSuffixContainerSignal,jL,5),Wt(veA,5)(HL,5)(zL,5)(PL,5)(jL,5)(VL,5)(ZL,5)(WL,5)),t&2){br(4);let o;se(o=le())&&(n._textField=o.first),se(o=le())&&(n._iconPrefixContainer=o.first),se(o=le())&&(n._textPrefixContainer=o.first),se(o=le())&&(n._iconSuffixContainer=o.first),se(o=le())&&(n._textSuffixContainer=o.first),se(o=le())&&(n._floatingLabel=o.first),se(o=le())&&(n._notchedOutline=o.first),se(o=le())&&(n._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(t,n){t&2&&_A("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-appearance-fill",n.appearance=="fill")("mat-form-field-appearance-outline",n.appearance=="outline")("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-primary",n.color!=="accent"&&n.color!=="warn")("mat-accent",n.color==="accent")("mat-warn",n.color==="warn")("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[pt([{provide:yQ,useExisting:i},{provide:iG,useExisting:i}])],ngContentSelectors:MeA,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,n){if(t&1&&(Ot(beA),kt(0,_eA,1,1,"ng-template",null,0,PC),I(2,"div",6,1),U("click",function(a){return n._control.onContainerClick(a)}),T(4,xeA,1,0,"div",7),I(5,"div",8),T(6,FeA,2,2,"div",9),T(7,LeA,3,0,"div",10),T(8,GeA,3,0,"div",11),I(9,"div",12),T(10,UeA,1,1,null,13),Ze(11),h(),T(12,TeA,3,0,"div",14),T(13,OeA,3,0,"div",15),h(),T(14,JeA,1,0,"div",16),h(),I(15,"div",17),T(16,YeA,2,0,"div",18)(17,zeA,5,1,"div",19),h()),t&2){let o;Q(2),_A("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),Q(2),O(!n._hasOutline()&&!n._control.disabled?4:-1),Q(2),O(n._hasOutline()?6:-1),Q(),O(n._hasIconPrefix?7:-1),Q(),O(n._hasTextPrefix?8:-1),Q(2),O(!n._hasOutline()||n._forceDisplayInfixLabel()?10:-1),Q(2),O(n._hasTextSuffix?12:-1),Q(),O(n._hasIconSuffix?13:-1),Q(),O(n._hasOutline()?-1:14),Q(),_A("mat-mdc-form-field-subscript-dynamic-size",n.subscriptSizing==="dynamic");let a=n._getSubscriptMessageType();Q(),O((o=a)==="error"?16:o==="hint"?17:-1)}},dependencies:[VL,ZL,Uc,WL,J1],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)} |
| 14 | `],encapsulation:2,changeDetection:0})}return i})();var Za=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=et({type:i});static \u0275inj=At({imports:[N3,Zo,Di]})}return i})();var nG=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=vA({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,n){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms} |
| 15 | `],encapsulation:2,changeDetection:0})}return i})(),WeA={passive:!0},oG=(()=>{class i{_platform=w(Qi);_ngZone=w(We);_renderer=w(zr).createRenderer(null,null);_styleLoader=w(Eo);_monitoredElements=new Map;constructor(){}monitor(A){if(!this._platform.isBrowser)return Br;this._styleLoader.load(nG);let t=ks(A),n=this._monitoredElements.get(t);if(n)return n.subject;let o=new ne,a="cdk-text-field-autofilled",r=l=>{l.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0}))):l.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1})))},s=this._ngZone.runOutsideAngular(()=>(t.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(t,"animationstart",r,WeA)));return this._monitoredElements.set(t,{subject:o,unlisten:s}),o}stopMonitoring(A){let t=ks(A),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((A,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var P3=(()=>{class i{_elementRef=w(ce);_platform=w(Qi);_ngZone=w(We);_renderer=w(on);_resizeEvents=new ne;_previousValue;_initialHeight;_destroyed=new ne;_listenerCleanups;_minRows;_maxRows;_enabled=!0;_previousMinRows=-1;_textareaElement;get minRows(){return this._minRows}set minRows(A){this._minRows=qs(A),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(A){this._maxRows=qs(A),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(A){this._enabled!==A&&((this._enabled=A)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(A){this._cachedPlaceholderHeight=void 0,A?this._textareaElement.setAttribute("placeholder",A):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}_cachedLineHeight;_cachedPlaceholderHeight;_document=w(ci);_hasFocus=!1;_isViewInited=!1;constructor(){w(Eo).load(nG),this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){let A=this.minRows&&this._cachedLineHeight?`${this.minRows*this._cachedLineHeight}px`:null;A&&(this._textareaElement.style.minHeight=A)}_setMaxHeight(){let A=this.maxRows&&this._cachedLineHeight?`${this.maxRows*this._cachedLineHeight}px`:null;A&&(this._textareaElement.style.maxHeight=A)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{this._listenerCleanups=[this._renderer.listen("window","resize",()=>this._resizeEvents.next()),this._renderer.listen(this._textareaElement,"focus",this._handleFocusEvent),this._renderer.listen(this._textareaElement,"blur",this._handleFocusEvent)],this._resizeEvents.pipe(v1(16)).subscribe(()=>{this._cachedLineHeight=this._cachedPlaceholderHeight=void 0,this.resizeToFitContent(!0)})}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._listenerCleanups?.forEach(A=>A()),this._resizeEvents.complete(),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let A=this._textareaElement.cloneNode(!1),t=A.style;A.rows=1,t.position="absolute",t.visibility="hidden",t.border="none",t.padding="0",t.height="",t.minHeight="",t.maxHeight="",t.top=t.bottom=t.left=t.right="auto",t.overflow="hidden",this._textareaElement.parentNode.appendChild(A),this._cachedLineHeight=A.clientHeight,A.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){let A=this._textareaElement,t=A.style.marginBottom||"",n=this._platform.FIREFOX,o=this._hasFocus,a=n?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";o&&(A.style.marginBottom=`${A.clientHeight}px`),A.classList.add(a);let r=A.scrollHeight-4;return A.classList.remove(a),o&&(A.style.marginBottom=t),r}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||this._cachedPlaceholderHeight!=null)return;if(!this.placeholder){this._cachedPlaceholderHeight=0;return}let A=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=A}_handleFocusEvent=A=>{this._hasFocus=A.type==="focus"};ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(A=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;let t=this._elementRef.nativeElement,n=t.value;if(!A&&this._minRows===this._previousMinRows&&n===this._previousValue)return;let o=this._measureScrollHeight(),a=Math.max(o,this._cachedPlaceholderHeight||0);t.style.height=`${a}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=n,this._previousMinRows=this._minRows}reset(){this._initialHeight!==void 0&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_scrollToCaretPosition(A){let{selectionStart:t,selectionEnd:n}=A;!this._destroyed.isStopped&&this._hasFocus&&A.setSelectionRange(t,n)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,n){t&1&&U("input",function(){return n._noopInputHandler()})},inputs:{minRows:[0,"cdkAutosizeMinRows","minRows"],maxRows:[0,"cdkAutosizeMaxRows","maxRows"],enabled:[2,"cdkTextareaAutosize","enabled",Qe],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]})}return i})(),YI=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=et({type:i});static \u0275inj=At({})}return i})();var rG=new MA("MAT_INPUT_VALUE_ACCESSOR");var HI=(()=>{class i{isErrorState(A,t){return!!(A&&A.invalid&&(A.touched||t&&t.submitted))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var zI=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(e,A,t,n,o){this._defaultMatcher=e,this.ngControl=A,this._parentFormGroup=t,this._parentForm=n,this._stateChanges=o}updateErrorState(){let e=this.errorState,A=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(n,A)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var ZeA=["button","checkbox","file","hidden","image","radio","range","reset","submit"],XeA=new MA("MAT_INPUT_CONFIG"),ka=(()=>{class i{_elementRef=w(ce);_platform=w(Qi);ngControl=w(Vs,{optional:!0,self:!0});_autofillMonitor=w(oG);_ngZone=w(We);_formField=w(yQ,{optional:!0});_renderer=w(on);_uid=w(Dn).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=w(XeA,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new ne;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(A){this._disabled=kr(A),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(A){this._id=A||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(js.required)??!1}set required(A){this._required=kr(A)}_required;get type(){return this._type}set type(A){this._type=A||"text",this._validateType(),!this._isTextarea&&Dv().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(A){this._errorStateTracker.matcher=A}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(A){A!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(A):this._inputValueAccessor.value=A,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(A){this._readonly=kr(A)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(A){this._errorStateTracker.errorState=A}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(A=>Dv().has(A));constructor(){let A=w(FI,{optional:!0}),t=w(qC,{optional:!0}),n=w(HI),o=w(rG,{optional:!0,self:!0}),a=this._elementRef.nativeElement,r=a.nodeName.toLowerCase();o?M1(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new zI(n,this.ngControl,t,A,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=r==="select",this._isTextarea=r==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Fn(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(A=>{this.autofilled=A.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(A){this._elementRef.nativeElement.focus(A)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(A){if(A!==this.focused){if(!this._isNativeSelect&&A&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=A,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let A=this._elementRef.nativeElement.value;this._previousNativeValue!==A&&(this._previousNativeValue=A,this.stateChanges.next())}_dirtyCheckPlaceholder(){let A=this._getPlaceholder();if(A!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=A,A?t.setAttribute("placeholder",A):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){ZeA.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let A=this._elementRef.nativeElement.validity;return A&&A.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let A=this._elementRef.nativeElement,t=A.options[0];return this.focused||A.multiple||!this.empty||!!(A.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(A){let t=this._elementRef.nativeElement;A.length?t.setAttribute("aria-describedby",A.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let A=this._elementRef.nativeElement;return this._isNativeSelect&&(A.multiple||A.size>1)}_iOSKeyupListener=A=>{let t=A.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||i)};static \u0275dir=VA({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,n){t&1&&U("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),t&2&&(Ma("id",n.id)("disabled",n.disabled&&!n.disabledInteractive)("required",n.required),ie("name",n.name||null)("readonly",n._getReadonlyAttribute())("aria-disabled",n.disabled&&n.disabledInteractive?"true":null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required)("id",n.id),_A("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&&n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mat-mdc-input-disabled-interactive",n.disabledInteractive)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",Qe]},exportAs:["matInput"],features:[pt([{provide:wQ,useExisting:i}]),ii]})}return i})(),Ws=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=et({type:i});static \u0275inj=At({imports:[Za,Za,YI,Di]})}return i})();var pn=(function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i})(pn||{}),Gg="*";function sG(i,e=null){return{type:pn.Sequence,steps:i,options:e}}function Nv(i){return{type:pn.Style,styles:i,offset:null}}var J0=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,A=0){this.totalTime=e+A}_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 A=e=="start"?this._onStartFns:this._onDoneFns;A.forEach(t=>t()),A.length=0}},jI=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let A=0,t=0,n=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++A==o&&this._onFinish()}),a.onDestroy(()=>{++t==o&&this._onDestroy()}),a.onStart(()=>{++n==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,r)=>Math.max(a,r.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 A=e*this.totalTime;this.players.forEach(t=>{let n=t.totalTime?Math.min(1,A/t.totalTime):1;t.setPosition(n)})}getPosition(){let e=this.players.reduce((A,t)=>A===null||t.totalTime>A.totalTime?t:A,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let A=e=="start"?this._onStartFns:this._onDoneFns;A.forEach(t=>t()),A.length=0}},DQ="!";function lG(i){return new Nt(3e3,!1)}function $eA(){return new Nt(3100,!1)}function AtA(){return new Nt(3101,!1)}function etA(i){return new Nt(3001,!1)}function ttA(i){return new Nt(3003,!1)}function itA(i){return new Nt(3004,!1)}function cG(i,e){return new Nt(3005,!1)}function CG(){return new Nt(3006,!1)}function dG(){return new Nt(3007,!1)}function IG(i,e){return new Nt(3008,!1)}function BG(i){return new Nt(3002,!1)}function hG(i,e,A,t,n){return new Nt(3010,!1)}function EG(){return new Nt(3011,!1)}function QG(){return new Nt(3012,!1)}function uG(){return new Nt(3200,!1)}function pG(){return new Nt(3202,!1)}function fG(){return new Nt(3013,!1)}function mG(i){return new Nt(3014,!1)}function wG(i){return new Nt(3015,!1)}function yG(i){return new Nt(3016,!1)}function DG(i,e){return new Nt(3404,!1)}function ntA(i){return new Nt(3502,!1)}function vG(i){return new Nt(3503,!1)}function bG(){return new Nt(3300,!1)}function MG(i){return new Nt(3504,!1)}function SG(i){return new Nt(3301,!1)}function kG(i,e){return new Nt(3302,!1)}function _G(i){return new Nt(3303,!1)}function xG(i,e){return new Nt(3400,!1)}function RG(i){return new Nt(3401,!1)}function NG(i){return new Nt(3402,!1)}function FG(i,e){return new Nt(3505,!1)}function Y0(i){switch(i.length){case 0:return new J0;case 1:return i[0];default:return new jI(i)}}function Kv(i,e,A=new Map,t=new Map){let n=[],o=[],a=-1,r=null;if(e.forEach(s=>{let l=s.get("offset"),g=l==a,C=g&&r||new Map;s.forEach((d,B)=>{let u=B,E=d;if(B!=="offset")switch(u=i.normalizePropertyName(u,n),E){case DQ:E=A.get(B);break;case Gg:E=t.get(B);break;default:E=i.normalizeStyleValue(B,u,E,n);break}C.set(u,E)}),g||o.push(C),r=C,a=l}),n.length)throw ntA(n);return o}function j3(i,e,A,t){switch(e){case"start":i.onStart(()=>t(A&&Fv(A,"start",i)));break;case"done":i.onDone(()=>t(A&&Fv(A,"done",i)));break;case"destroy":i.onDestroy(()=>t(A&&Fv(A,"destroy",i)));break}}function Fv(i,e,A){let t=A.totalTime,n=!!A.disabled,o=V3(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,t??i.totalTime,n),a=i._data;return a!=null&&(o._data=a),o}function V3(i,e,A,t,n="",o=0,a){return{element:i,triggerName:e,fromState:A,toState:t,phaseName:n,totalTime:o,disabled:!!a}}function Zs(i,e,A){let t=i.get(e);return t||i.set(e,t=A),t}function Uv(i){let e=i.indexOf(":"),A=i.substring(1,e),t=i.slice(e+1);return[A,t]}var otA=typeof document>"u"?null:document.documentElement;function q3(i){let e=i.parentNode||i.host||null;return e===otA?null:e}function atA(i){return i.substring(1,6)=="ebkit"}var H1=null,gG=!1;function LG(i){H1||(H1=rtA()||{},gG=H1.style?"WebkitAppearance"in H1.style:!1);let e=!0;return H1.style&&!atA(i)&&(e=i in H1.style,!e&&gG&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in H1.style)),e}function rtA(){return typeof document<"u"?document.body:null}function Tv(i,e){for(;e;){if(e===i)return!0;e=q3(e)}return!1}function Ov(i,e,A){if(A)return Array.from(i.querySelectorAll(e));let t=i.querySelector(e);return t?[t]:[]}var stA=1e3,Jv="{{",ltA="}}",Yv="ng-enter",W3="ng-leave",vQ="ng-trigger",bQ=".ng-trigger",Hv="ng-animating",Z3=".ng-animating";function Yc(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Lv(parseFloat(e[1]),e[2])}function Lv(i,e){return e==="s"?i*stA:i}function MQ(i,e,A){return i.hasOwnProperty("duration")?i:ctA(i,e,A)}var gtA=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function ctA(i,e,A){let t,n=0,o="";if(typeof i=="string"){let a=i.match(gtA);if(a===null)return e.push(lG(i)),{duration:0,delay:0,easing:""};t=Lv(parseFloat(a[1]),a[2]);let r=a[3];r!=null&&(n=Lv(parseFloat(r),a[4]));let s=a[5];s&&(o=s)}else t=i;if(!A){let a=!1,r=e.length;t<0&&(e.push($eA()),a=!0),n<0&&(e.push(AtA()),a=!0),a&&e.splice(r,0,lG(i))}return{duration:t,delay:n,easing:o}}function GG(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Kg(i,e,A){e.forEach((t,n)=>{let o=X3(n);A&&!A.has(n)&&A.set(n,i.style[o]),i.style[o]=t})}function A2(i,e){e.forEach((A,t)=>{let n=X3(t);i.style[n]=""})}function VI(i){return Array.isArray(i)?i.length==1?i[0]:sG(i):i}function KG(i,e,A){let t=e.params||{},n=zv(i);n.length&&n.forEach(o=>{t.hasOwnProperty(o)||A.push(etA(o))})}var Gv=new RegExp(`${Jv}\\s*(.+?)\\s*${ltA}`,"g");function zv(i){let e=[];if(typeof i=="string"){let A;for(;A=Gv.exec(i);)e.push(A[1]);Gv.lastIndex=0}return e}function qI(i,e,A){let t=`${i}`,n=t.replace(Gv,(o,a)=>{let r=e[a];return r==null&&(A.push(ttA(a)),r=""),r.toString()});return n==t?i:n}var CtA=/-+([a-z0-9])/g;function X3(i){return i.replace(CtA,(...e)=>e[1].toUpperCase())}function UG(i,e){return i===0||e===0}function TG(i,e,A){if(A.size&&e.length){let t=e[0],n=[];if(A.forEach((o,a)=>{t.has(a)||n.push(a),t.set(a,o)}),n.length)for(let o=1;o<e.length;o++){let a=e[o];n.forEach(r=>a.set(r,$3(i,r)))}}return e}function Xs(i,e,A){switch(e.type){case pn.Trigger:return i.visitTrigger(e,A);case pn.State:return i.visitState(e,A);case pn.Transition:return i.visitTransition(e,A);case pn.Sequence:return i.visitSequence(e,A);case pn.Group:return i.visitGroup(e,A);case pn.Animate:return i.visitAnimate(e,A);case pn.Keyframes:return i.visitKeyframes(e,A);case pn.Style:return i.visitStyle(e,A);case pn.Reference:return i.visitReference(e,A);case pn.AnimateChild:return i.visitAnimateChild(e,A);case pn.AnimateRef:return i.visitAnimateRef(e,A);case pn.Query:return i.visitQuery(e,A);case pn.Stagger:return i.visitStagger(e,A);default:throw itA(e.type)}}function $3(i,e){return window.getComputedStyle(i)[e]}var sb=(()=>{class i{validateStyleProperty(A){return LG(A)}containsElement(A,t){return Tv(A,t)}getParentElement(A){return q3(A)}query(A,t,n){return Ov(A,t,n)}computeStyle(A,t,n){return n||""}animate(A,t,n,o,a,r=[],s){return new J0(n,o)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=jA({token:i,factory:i.\u0275fac})}return i})(),P1=class{static NOOP=new sb},j1=class{};var dtA=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"]),of=class extends j1{normalizePropertyName(e,A){return X3(e)}normalizeStyleValue(e,A,t,n){let o="",a=t.toString().trim();if(dtA.has(A)&&t!==0&&t!=="0")if(typeof t=="number")o="px";else{let r=t.match(/^[+-]?[\d\.]+([a-z]*)$/);r&&r[1].length==0&&n.push(cG(e,t))}return a+o}};var af="*";function ItA(i,e){let A=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(t=>BtA(t,A,e)):A.push(i),A}function BtA(i,e,A){if(i[0]==":"){let s=htA(i,A);if(typeof s=="function"){e.push(s);return}i=s}let t=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return A.push(wG(i)),e;let n=t[1],o=t[2],a=t[3];e.push(OG(n,a));let r=n==af&&a==af;o[0]=="<"&&!r&&e.push(OG(a,n))}function htA(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(A,t)=>parseFloat(t)>parseFloat(A);case":decrement":return(A,t)=>parseFloat(t)<parseFloat(A);default:return e.push(yG(i)),"* => *"}}var Af=new Set(["true","1"]),ef=new Set(["false","0"]);function OG(i,e){let A=Af.has(i)||ef.has(i),t=Af.has(e)||ef.has(e);return(n,o)=>{let a=i==af||i==n,r=e==af||e==o;return!a&&A&&typeof n=="boolean"&&(a=n?Af.has(i):ef.has(i)),!r&&t&&typeof o=="boolean"&&(r=o?Af.has(e):ef.has(e)),a&&r}}var ZG=":self",EtA=new RegExp(`s*${ZG}s*,?`,"g");function XG(i,e,A,t){return new Zv(i).build(e,A,t)}var JG="",Zv=class{_driver;constructor(e){this._driver=e}build(e,A,t){let n=new Xv(A);return this._resetContextStyleTimingState(n),Xs(this,VI(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector=JG,e.collectedStyles=new Map,e.collectedStyles.set(JG,new Map),e.currentTime=0}visitTrigger(e,A){let t=A.queryCount=0,n=A.depCount=0,o=[],a=[];return e.name.charAt(0)=="@"&&A.errors.push(CG()),e.definitions.forEach(r=>{if(this._resetContextStyleTimingState(A),r.type==pn.State){let s=r,l=s.name;l.toString().split(/\s*,\s*/).forEach(g=>{s.name=g,o.push(this.visitState(s,A))}),s.name=l}else if(r.type==pn.Transition){let s=this.visitTransition(r,A);t+=s.queryCount,n+=s.depCount,a.push(s)}else A.errors.push(dG())}),{type:pn.Trigger,name:e.name,states:o,transitions:a,queryCount:t,depCount:n,options:null}}visitState(e,A){let t=this.visitStyle(e.styles,A),n=e.options&&e.options.params||null;if(t.containsDynamicStyles){let o=new Set,a=n||{};t.styles.forEach(r=>{r instanceof Map&&r.forEach(s=>{zv(s).forEach(l=>{a.hasOwnProperty(l)||o.add(l)})})}),o.size&&A.errors.push(IG(e.name,[...o.values()]))}return{type:pn.State,name:e.name,style:t,options:n?{params:n}:null}}visitTransition(e,A){A.queryCount=0,A.depCount=0;let t=Xs(this,VI(e.animation),A),n=ItA(e.expr,A.errors);return{type:pn.Transition,matchers:n,animation:t,queryCount:A.queryCount,depCount:A.depCount,options:z1(e.options)}}visitSequence(e,A){return{type:pn.Sequence,steps:e.steps.map(t=>Xs(this,t,A)),options:z1(e.options)}}visitGroup(e,A){let t=A.currentTime,n=0,o=e.steps.map(a=>{A.currentTime=t;let r=Xs(this,a,A);return n=Math.max(n,A.currentTime),r});return A.currentTime=n,{type:pn.Group,steps:o,options:z1(e.options)}}visitAnimate(e,A){let t=ftA(e.timings,A.errors);A.currentAnimateTimings=t;let n,o=e.styles?e.styles:Nv({});if(o.type==pn.Keyframes)n=this.visitKeyframes(o,A);else{let a=e.styles,r=!1;if(!a){r=!0;let l={};t.easing&&(l.easing=t.easing),a=Nv(l)}A.currentTime+=t.duration+t.delay;let s=this.visitStyle(a,A);s.isEmptyStep=r,n=s}return A.currentAnimateTimings=null,{type:pn.Animate,timings:t,style:n,options:null}}visitStyle(e,A){let t=this._makeStyleAst(e,A);return this._validateStyleAst(t,A),t}_makeStyleAst(e,A){let t=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let r of n)typeof r=="string"?r===Gg?t.push(r):A.errors.push(BG(r)):t.push(new Map(Object.entries(r)));let o=!1,a=null;return t.forEach(r=>{if(r instanceof Map&&(r.has("easing")&&(a=r.get("easing"),r.delete("easing")),!o)){for(let s of r.values())if(s.toString().indexOf(Jv)>=0){o=!0;break}}}),{type:pn.Style,styles:t,easing:a,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,A){let t=A.currentAnimateTimings,n=A.currentTime,o=A.currentTime;t&&o>0&&(o-=t.duration+t.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((r,s)=>{let l=A.collectedStyles.get(A.currentQuerySelector),g=l.get(s),C=!0;g&&(o!=n&&o>=g.startTime&&n<=g.endTime&&(A.errors.push(hG(s,g.startTime,g.endTime,o,n)),C=!1),o=g.startTime),C&&l.set(s,{startTime:o,endTime:n}),A.options&&KG(r,A.options,A.errors)})})}visitKeyframes(e,A){let t={type:pn.Keyframes,styles:[],options:null};if(!A.currentAnimateTimings)return A.errors.push(EG()),t;let n=1,o=0,a=[],r=!1,s=!1,l=0,g=e.steps.map(m=>{let v=this._makeStyleAst(m,A),S=v.offset!=null?v.offset:ptA(v.styles),k=0;return S!=null&&(o++,k=v.offset=S),s=s||k<0||k>1,r=r||k<l,l=k,a.push(k),v});s&&A.errors.push(QG()),r&&A.errors.push(uG());let C=e.steps.length,d=0;o>0&&o<C?A.errors.push(pG()):o==0&&(d=n/(C-1));let B=C-1,u=A.currentTime,E=A.currentAnimateTimings,f=E.duration;return g.forEach((m,v)=>{let S=d>0?v==B?1:d*v:a[v],k=S*f;A.currentTime=u+E.delay+k,E.duration=k,this._validateStyleAst(m,A),m.offset=S,t.styles.push(m)}),t}visitReference(e,A){return{type:pn.Reference,animation:Xs(this,VI(e.animation),A),options:z1(e.options)}}visitAnimateChild(e,A){return A.depCount++,{type:pn.AnimateChild,options:z1(e.options)}}visitAnimateRef(e,A){return{type:pn.AnimateRef,animation:this.visitReference(e.animation,A),options:z1(e.options)}}visitQuery(e,A){let t=A.currentQuerySelector,n=e.options||{};A.queryCount++,A.currentQuery=e;let[o,a]=QtA(e.selector);A.currentQuerySelector=t.length?t+" "+o:o,Zs(A.collectedStyles,A.currentQuerySelector,new Map);let r=Xs(this,VI(e.animation),A);return A.currentQuery=null,A.currentQuerySelector=t,{type:pn.Query,selector:o,limit:n.limit||0,optional:!!n.optional,includeSelf:a,animation:r,originalSelector:e.selector,options:z1(e.options)}}visitStagger(e,A){A.currentQuery||A.errors.push(fG());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:MQ(e.timings,A.errors,!0);return{type:pn.Stagger,animation:Xs(this,VI(e.animation),A),timings:t,options:null}}};function QtA(i){let e=!!i.split(/\s*,\s*/).find(A=>A==ZG);return e&&(i=i.replace(EtA,"")),i=i.replace(/@\*/g,bQ).replace(/@\w+/g,A=>bQ+"-"+A.slice(1)).replace(/:animating/g,Z3),[i,e]}function utA(i){return i?P({},i):null}var Xv=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}};function ptA(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(A=>{if(A instanceof Map&&A.has("offset")){let t=A;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let A=i;e=parseFloat(A.get("offset")),A.delete("offset")}return e}function ftA(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let o=MQ(i,e).duration;return Pv(o,0,"")}let A=i;if(A.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=Pv(0,0,"");return o.dynamic=!0,o.strValue=A,o}let n=MQ(A,e);return Pv(n.duration,n.delay,n.easing)}function z1(i){return i?(i=P({},i),i.params&&(i.params=utA(i.params))):i={},i}function Pv(i,e,A){return{duration:i,delay:e,easing:A}}function lb(i,e,A,t,n,o,a=null,r=!1){return{type:1,element:i,keyframes:e,preStyleProps:A,postStyleProps:t,duration:n,delay:o,totalTime:n+o,easing:a,subTimeline:r}}var kQ=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,A){let t=this._map.get(e);t||this._map.set(e,t=[]),t.push(...A)}has(e){return this._map.has(e)}clear(){this._map.clear()}},mtA=1,wtA=":enter",ytA=new RegExp(wtA,"g"),DtA=":leave",vtA=new RegExp(DtA,"g");function $G(i,e,A,t,n,o=new Map,a=new Map,r,s,l=[]){return new $v().buildKeyframes(i,e,A,t,n,o,a,r,s,l)}var $v=class{buildKeyframes(e,A,t,n,o,a,r,s,l,g=[]){l=l||new kQ;let C=new Ab(e,A,l,n,o,g,[]);C.options=s;let d=s.delay?Yc(s.delay):0;C.currentTimeline.delayNextStep(d),C.currentTimeline.setStyles([a],null,C.errors,s),Xs(this,t,C);let B=C.timelines.filter(u=>u.containsAnimation());if(B.length&&r.size){let u;for(let E=B.length-1;E>=0;E--){let f=B[E];if(f.element===A){u=f;break}}u&&!u.allowOnlyTimelineStyles()&&u.setStyles([r],null,C.errors,s)}return B.length?B.map(u=>u.buildKeyframes()):[lb(A,[],[],[],0,d,"",!1)]}visitTrigger(e,A){}visitState(e,A){}visitTransition(e,A){}visitAnimateChild(e,A){let t=A.subInstructions.get(A.element);if(t){let n=A.createSubContext(e.options),o=A.currentTimeline.currentTime,a=this._visitSubInstructions(t,n,n.options);o!=a&&A.transformIntoNewTimeline(a)}A.previousNode=e}visitAnimateRef(e,A){let t=A.createSubContext(e.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],A,t),this.visitReference(e.animation,t),A.transformIntoNewTimeline(t.currentTimeline.currentTime),A.previousNode=e}_applyAnimationRefDelays(e,A,t){for(let n of e){let o=n?.delay;if(o){let a=typeof o=="number"?o:Yc(qI(o,n?.params??{},A.errors));t.delayNextStep(a)}}}_visitSubInstructions(e,A,t){let o=A.currentTimeline.currentTime,a=t.duration!=null?Yc(t.duration):null,r=t.delay!=null?Yc(t.delay):null;return a!==0&&e.forEach(s=>{let l=A.appendInstructionToTimeline(s,a,r);o=Math.max(o,l.duration+l.delay)}),o}visitReference(e,A){A.updateOptions(e.options,!0),Xs(this,e.animation,A),A.previousNode=e}visitSequence(e,A){let t=A.subContextCount,n=A,o=e.options;if(o&&(o.params||o.delay)&&(n=A.createSubContext(o),n.transformIntoNewTimeline(),o.delay!=null)){n.previousNode.type==pn.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=rf);let a=Yc(o.delay);n.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>Xs(this,a,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>t&&n.transformIntoNewTimeline()),A.previousNode=e}visitGroup(e,A){let t=[],n=A.currentTimeline.currentTime,o=e.options&&e.options.delay?Yc(e.options.delay):0;e.steps.forEach(a=>{let r=A.createSubContext(e.options);o&&r.delayNextStep(o),Xs(this,a,r),n=Math.max(n,r.currentTimeline.currentTime),t.push(r.currentTimeline)}),t.forEach(a=>A.currentTimeline.mergeTimelineCollectedStyles(a)),A.transformIntoNewTimeline(n),A.previousNode=e}_visitTiming(e,A){if(e.dynamic){let t=e.strValue,n=A.params?qI(t,A.params,A.errors):t;return MQ(n,A.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,A){let t=A.currentAnimateTimings=this._visitTiming(e.timings,A),n=A.currentTimeline;t.delay&&(A.incrementTime(t.delay),n.snapshotCurrentStyles());let o=e.style;o.type==pn.Keyframes?this.visitKeyframes(o,A):(A.incrementTime(t.duration),this.visitStyle(o,A),n.applyStylesToKeyframe()),A.currentAnimateTimings=null,A.previousNode=e}visitStyle(e,A){let t=A.currentTimeline,n=A.currentAnimateTimings;!n&&t.hasCurrentStyleProperties()&&t.forwardFrame();let o=n&&n.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(o):t.setStyles(e.styles,o,A.errors,A.options),A.previousNode=e}visitKeyframes(e,A){let t=A.currentAnimateTimings,n=A.currentTimeline.duration,o=t.duration,r=A.createSubContext().currentTimeline;r.easing=t.easing,e.styles.forEach(s=>{let l=s.offset||0;r.forwardTime(l*o),r.setStyles(s.styles,s.easing,A.errors,A.options),r.applyStylesToKeyframe()}),A.currentTimeline.mergeTimelineCollectedStyles(r),A.transformIntoNewTimeline(n+o),A.previousNode=e}visitQuery(e,A){let t=A.currentTimeline.currentTime,n=e.options||{},o=n.delay?Yc(n.delay):0;o&&(A.previousNode.type===pn.Style||t==0&&A.currentTimeline.hasCurrentStyleProperties())&&(A.currentTimeline.snapshotCurrentStyles(),A.previousNode=rf);let a=t,r=A.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,A.errors);A.currentQueryTotal=r.length;let s=null;r.forEach((l,g)=>{A.currentQueryIndex=g;let C=A.createSubContext(e.options,l);o&&C.delayNextStep(o),l===A.element&&(s=C.currentTimeline),Xs(this,e.animation,C),C.currentTimeline.applyStylesToKeyframe();let d=C.currentTimeline.currentTime;a=Math.max(a,d)}),A.currentQueryIndex=0,A.currentQueryTotal=0,A.transformIntoNewTimeline(a),s&&(A.currentTimeline.mergeTimelineCollectedStyles(s),A.currentTimeline.snapshotCurrentStyles()),A.previousNode=e}visitStagger(e,A){let t=A.parentContext,n=A.currentTimeline,o=e.timings,a=Math.abs(o.duration),r=a*(A.currentQueryTotal-1),s=a*A.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":s=r-s;break;case"full":s=t.currentStaggerTime;break}let g=A.currentTimeline;s&&g.delayNextStep(s);let C=g.currentTime;Xs(this,e.animation,A),A.previousNode=e,t.currentStaggerTime=n.currentTime-C+(n.startTime-t.currentTimeline.startTime)}},rf={},Ab=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=rf;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,A,t,n,o,a,r,s){this._driver=e,this.element=A,this.subInstructions=t,this._enterClassName=n,this._leaveClassName=o,this.errors=a,this.timelines=r,this.currentTimeline=s||new sf(this._driver,A,0),r.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,A){if(!e)return;let t=e,n=this.options;t.duration!=null&&(n.duration=Yc(t.duration)),t.delay!=null&&(n.delay=Yc(t.delay));let o=t.params;if(o){let a=n.params;a||(a=this.options.params={}),Object.keys(o).forEach(r=>{(!A||!a.hasOwnProperty(r))&&(a[r]=qI(o[r],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let A=this.options.params;if(A){let t=e.params={};Object.keys(A).forEach(n=>{t[n]=A[n]})}}return e}createSubContext(e=null,A,t){let n=A||this.element,o=new i(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,t||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=rf,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,A,t){let n={duration:A??e.duration,delay:this.currentTimeline.currentTime+(t??0)+e.delay,easing:""},o=new eb(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(o),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,A,t,n,o,a){let r=[];if(n&&r.push(this.element),e.length>0){e=e.replace(ytA,"."+this._enterClassName),e=e.replace(vtA,"."+this._leaveClassName);let s=t!=1,l=this._driver.query(this.element,e,s);t!==0&&(l=t<0?l.slice(l.length+t,l.length):l.slice(0,t)),r.push(...l)}return!o&&r.length==0&&a.push(mG(A)),r}},sf=class i{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,A,t,n){this._driver=e,this.element=A,this.startTime=t,this._elementTimelineStylesLookup=n,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(A),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(A,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 A=this._keyframes.size===1&&this._pendingStyles.size;this.duration||A?(this.forwardTime(this.currentTime+e),A&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,A){return this.applyStylesToKeyframe(),new i(this._driver,e,A||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+=mtA,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,A){this._localTimelineStyles.set(e,A),this._globalTimelineStyles.set(e,A),this._styleSummary.set(e,{time:this.currentTime,value:A})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[A,t]of this._globalTimelineStyles)this._backFill.set(A,t||Gg),this._currentKeyframe.set(A,Gg);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,A,t,n){A&&this._previousKeyframe.set("easing",A);let o=n&&n.params||{},a=btA(e,this._globalTimelineStyles);for(let[r,s]of a){let l=qI(s,o,t);this._pendingStyles.set(r,l),this._localTimelineStyles.has(r)||this._backFill.set(r,this._globalTimelineStyles.get(r)??Gg),this._updateStyle(r,l)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,A)=>{this._currentKeyframe.set(A,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,A)=>{this._currentKeyframe.has(A)||this._currentKeyframe.set(A,e)}))}snapshotCurrentStyles(){for(let[e,A]of this._localTimelineStyles)this._pendingStyles.set(e,A),this._updateStyle(e,A)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let A in this._currentKeyframe)e.push(A);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((A,t)=>{let n=this._styleSummary.get(t);(!n||A.time>n.time)&&this._updateStyle(t,A.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,A=new Set,t=this._keyframes.size===1&&this.duration===0,n=[];this._keyframes.forEach((r,s)=>{let l=new Map([...this._backFill,...r]);l.forEach((g,C)=>{g===DQ?e.add(C):g===Gg&&A.add(C)}),t||l.set("offset",s/this.duration),n.push(l)});let o=[...e.values()],a=[...A.values()];if(t){let r=n[0],s=new Map(r);r.set("offset",0),s.set("offset",1),n=[r,s]}return lb(this.element,n,o,a,this.duration,this.startTime,this.easing,!1)}},eb=class extends sf{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,A,t,n,o,a,r=!1){super(e,A,a.delay),this.keyframes=t,this.preStyleProps=n,this.postStyleProps=o,this._stretchStartingKeyframe=r,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:A,duration:t,easing:n}=this.timings;if(this._stretchStartingKeyframe&&A){let o=[],a=t+A,r=A/a,s=new Map(e[0]);s.set("offset",0),o.push(s);let l=new Map(e[0]);l.set("offset",YG(r)),o.push(l);let g=e.length-1;for(let C=1;C<=g;C++){let d=new Map(e[C]),B=d.get("offset"),u=A+B*t;d.set("offset",YG(u/a)),o.push(d)}t=a,A=0,n="",e=o}return lb(this.element,e,this.preStyleProps,this.postStyleProps,t,A,n,!0)}};function YG(i,e=3){let A=Math.pow(10,e-1);return Math.round(i*A)/A}function btA(i,e){let A=new Map,t;return i.forEach(n=>{if(n==="*"){t??=e.keys();for(let o of t)A.set(o,Gg)}else for(let[o,a]of n)A.set(o,a)}),A}function HG(i,e,A,t,n,o,a,r,s,l,g,C,d){return{type:0,element:i,triggerName:e,isRemovalTransition:n,fromState:A,fromStyles:o,toState:t,toStyles:a,timelines:r,queriedElements:s,preStyleProps:l,postStyleProps:g,totalTime:C,errors:d}}var jv={},lf=class{_triggerName;ast;_stateStyles;constructor(e,A,t){this._triggerName=e,this.ast=A,this._stateStyles=t}match(e,A,t,n){return MtA(this.ast.matchers,e,A,t,n)}buildStyles(e,A,t){let n=this._stateStyles.get("*");return e!==void 0&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(A,t):new Map}build(e,A,t,n,o,a,r,s,l,g){let C=[],d=this.ast.options&&this.ast.options.params||jv,B=r&&r.params||jv,u=this.buildStyles(t,B,C),E=s&&s.params||jv,f=this.buildStyles(n,E,C),m=new Set,v=new Map,S=new Map,k=n==="void",M={params:AK(E,d),delay:this.ast.options?.delay},x=g?[]:$G(e,A,this.ast.animation,o,a,u,f,M,l,C),F=0;return x.forEach(z=>{F=Math.max(z.duration+z.delay,F)}),C.length?HG(A,this._triggerName,t,n,k,u,f,[],[],v,S,F,C):(x.forEach(z=>{let j=z.element,X=Zs(v,j,new Set);z.preStyleProps.forEach(Z=>X.add(Z));let eA=Zs(S,j,new Set);z.postStyleProps.forEach(Z=>eA.add(Z)),j!==A&&m.add(j)}),HG(A,this._triggerName,t,n,k,u,f,x,[...m.values()],v,S,F))}};function MtA(i,e,A,t,n){return i.some(o=>o(e,A,t,n))}function AK(i,e){let A=P({},e);return Object.entries(i).forEach(([t,n])=>{n!=null&&(A[t]=n)}),A}var tb=class{styles;defaultParams;normalizer;constructor(e,A,t){this.styles=e,this.defaultParams=A,this.normalizer=t}buildStyles(e,A){let t=new Map,n=AK(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,r)=>{a&&(a=qI(a,n,A));let s=this.normalizer.normalizePropertyName(r,A);a=this.normalizer.normalizeStyleValue(r,s,a,A),t.set(r,a)})}),t}};function StA(i,e,A){return new ib(i,e,A)}var ib=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,A,t){this.name=e,this.ast=A,this._normalizer=t,A.states.forEach(n=>{let o=n.options&&n.options.params||{};this.states.set(n.name,new tb(n.style,o,t))}),zG(this.states,"true","1"),zG(this.states,"false","0"),A.transitions.forEach(n=>{this.transitionFactories.push(new lf(e,n,this.states))}),this.fallbackTransition=ktA(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,A,t,n){return this.transitionFactories.find(a=>a.match(e,A,t,n))||null}matchStyles(e,A,t){return this.fallbackTransition.buildStyles(e,A,t)}};function ktA(i,e,A){let t=[(a,r)=>!0],n={type:pn.Sequence,steps:[],options:null},o={type:pn.Transition,animation:n,matchers:t,options:null,queryCount:0,depCount:0};return new lf(i,o,e)}function zG(i,e,A){i.has(e)?i.has(A)||i.set(A,i.get(e)):i.has(A)&&i.set(e,i.get(A))}var _tA=new kQ,nb=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,A,t){this.bodyNode=e,this._driver=A,this._normalizer=t}register(e,A){let t=[],n=[],o=XG(this._driver,A,t,n);if(t.length)throw vG(t);this._animations.set(e,o)}_buildPlayer(e,A,t){let n=e.element,o=Kv(this._normalizer,e.keyframes,A,t);return this._driver.animate(n,o,e.duration,e.delay,e.easing,[],!0)}create(e,A,t={}){let n=[],o=this._animations.get(e),a,r=new Map;if(o?(a=$G(this._driver,A,o,Yv,W3,new Map,new Map,t,_tA,n),a.forEach(g=>{let C=Zs(r,g.element,new Map);g.postStyleProps.forEach(d=>C.set(d,null))})):(n.push(bG()),a=[]),n.length)throw MG(n);r.forEach((g,C)=>{g.forEach((d,B)=>{g.set(B,this._driver.computeStyle(C,B,Gg))})});let s=a.map(g=>{let C=r.get(g.element);return this._buildPlayer(g,new Map,C)}),l=Y0(s);return this._playersById.set(e,l),l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){let A=this._getPlayer(e);A.destroy(),this._playersById.delete(e);let t=this.players.indexOf(A);t>=0&&this.players.splice(t,1)}_getPlayer(e){let A=this._playersById.get(e);if(!A)throw SG(e);return A}listen(e,A,t,n){let o=V3(A,"","","");return j3(this._getPlayer(e),t,o,n),()=>{}}command(e,A,t,n){if(t=="register"){this.register(e,n[0]);return}if(t=="create"){let a=n[0]||{};this.create(e,A,a);return}let o=this._getPlayer(e);switch(t){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(n[0]));break;case"destroy":this.destroy(e);break}}},PG="ng-animate-queued",xtA=".ng-animate-queued",Vv="ng-animate-disabled",RtA=".ng-animate-disabled",NtA="ng-star-inserted",FtA=".ng-star-inserted",LtA=[],eK={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},GtA={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ug="__ng_removed",_Q=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,A=""){this.namespaceId=A;let t=e&&e.hasOwnProperty("value"),n=t?e.value:e;if(this.value=UtA(n),t){let o=e,{value:a}=o,r=Pp(o,["value"]);this.options=r}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let A=e.params;if(A){let t=this.options.params;Object.keys(A).forEach(n=>{t[n]==null&&(t[n]=A[n])})}}},SQ="void",qv=new _Q(SQ),ob=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,A,t){this.id=e,this.hostElement=A,this._engine=t,this._hostClassName="ng-tns-"+e,Wl(A,this._hostClassName)}listen(e,A,t,n){if(!this._triggers.has(A))throw kG(t,A);if(t==null||t.length==0)throw _G(A);if(!TtA(t))throw xG(t,A);let o=Zs(this._elementListeners,e,[]),a={name:A,phase:t,callback:n};o.push(a);let r=Zs(this._engine.statesByElement,e,new Map);return r.has(A)||(Wl(e,vQ),Wl(e,vQ+"-"+A),r.set(A,qv)),()=>{this._engine.afterFlush(()=>{let s=o.indexOf(a);s>=0&&o.splice(s,1),this._triggers.has(A)||r.delete(A)})}}register(e,A){return this._triggers.has(e)?!1:(this._triggers.set(e,A),!0)}_getTrigger(e){let A=this._triggers.get(e);if(!A)throw RG(e);return A}trigger(e,A,t,n=!0){let o=this._getTrigger(A),a=new xQ(this.id,A,e),r=this._engine.statesByElement.get(e);r||(Wl(e,vQ),Wl(e,vQ+"-"+A),this._engine.statesByElement.set(e,r=new Map));let s=r.get(A),l=new _Q(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&s&&l.absorbOptions(s.options),r.set(A,l),s||(s=qv),!(l.value===SQ)&&s.value===l.value){if(!YtA(s.params,l.params)){let E=[],f=o.matchStyles(s.value,s.params,E),m=o.matchStyles(l.value,l.params,E);E.length?this._engine.reportError(E):this._engine.afterFlush(()=>{A2(e,f),Kg(e,m)})}return}let d=Zs(this._engine.playersByElement,e,[]);d.forEach(E=>{E.namespaceId==this.id&&E.triggerName==A&&E.queued&&E.destroy()});let B=o.matchTransition(s.value,l.value,e,l.params),u=!1;if(!B){if(!n)return;B=o.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:A,transition:B,fromState:s,toState:l,player:a,isFallbackTransition:u}),u||(Wl(e,PG),a.onStart(()=>{WI(e,PG)})),a.onDone(()=>{let E=this.players.indexOf(a);E>=0&&this.players.splice(E,1);let f=this._engine.playersByElement.get(e);if(f){let m=f.indexOf(a);m>=0&&f.splice(m,1)}}),this.players.push(a),d.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(A=>A.delete(e)),this._elementListeners.forEach((A,t)=>{this._elementListeners.set(t,A.filter(n=>n.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let A=this._engine.playersByElement.get(e);A&&(A.forEach(t=>t.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,A){let t=this._engine.driver.query(e,bQ,!0);t.forEach(n=>{if(n[Ug])return;let o=this._engine.fetchNamespacesByElement(n);o.size?o.forEach(a=>a.triggerLeaveAnimation(n,A,!1,!0)):this.clearElementCache(n)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(n=>this.clearElementCache(n)))}triggerLeaveAnimation(e,A,t,n){let o=this._engine.statesByElement.get(e),a=new Map;if(o){let r=[];if(o.forEach((s,l)=>{if(a.set(l,s.value),this._triggers.has(l)){let g=this.trigger(e,l,SQ,n);g&&r.push(g)}}),r.length)return this._engine.markElementAsRemoved(this.id,e,!0,A,a),t&&Y0(r).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let A=this._elementListeners.get(e),t=this._engine.statesByElement.get(e);if(A&&t){let n=new Set;A.forEach(o=>{let a=o.name;if(n.has(a))return;n.add(a);let s=this._triggers.get(a).fallbackTransition,l=t.get(a)||qv,g=new _Q(SQ),C=new xQ(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:s,fromState:l,toState:g,player:C,isFallbackTransition:!0})})}}removeNode(e,A){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,A),this.triggerLeaveAnimation(e,A,!0))return;let n=!1;if(t.totalAnimations){let o=t.players.length?t.playersByQueriedElement.get(e):[];if(o&&o.length)n=!0;else{let a=e;for(;a=a.parentNode;)if(t.statesByElement.get(a)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)t.markElementAsRemoved(this.id,e,!1,A);else{let o=e[Ug];(!o||o===eK)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,A))}}insertNode(e,A){Wl(e,this._hostClassName)}drainQueuedTransitions(e){let A=[];return this._queue.forEach(t=>{let n=t.player;if(n.destroyed)return;let o=t.element,a=this._elementListeners.get(o);a&&a.forEach(r=>{if(r.name==t.triggerName){let s=V3(o,t.triggerName,t.fromState.value,t.toState.value);s._data=e,j3(t.player,r.phase,s,r.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):A.push(t)}),this._queue=[],A.sort((t,n)=>{let o=t.transition.ast.depCount,a=n.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(t.element,n.element)?1:-1})}destroy(e){this.players.forEach(A=>A.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},ab=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,A)=>{};_onRemovalComplete(e,A){this.onRemovalComplete(e,A)}constructor(e,A,t){this.bodyNode=e,this.driver=A,this._normalizer=t}get queuedPlayers(){let e=[];return this._namespaceList.forEach(A=>{A.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,A){let t=new ob(e,A,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,A)?this._balanceNamespaceList(t,A):(this.newHostElements.set(A,t),this.collectEnterElement(A)),this._namespaceLookup[e]=t}_balanceNamespaceList(e,A){let t=this._namespaceList,n=this.namespacesByHostElement;if(t.length-1>=0){let a=!1,r=this.driver.getParentElement(A);for(;r;){let s=n.get(r);if(s){let l=t.indexOf(s);t.splice(l+1,0,e),a=!0;break}r=this.driver.getParentElement(r)}a||t.unshift(e)}else t.push(e);return n.set(A,e),e}register(e,A){let t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,A)),t}registerTrigger(e,A,t){let n=this._namespaceLookup[e];n&&n.register(A,t)&&this.totalAnimations++}destroy(e,A){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let n=this._namespaceList.indexOf(t);n>=0&&this._namespaceList.splice(n,1),t.destroy(A),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let A=new Set,t=this.statesByElement.get(e);if(t){for(let n of t.values())if(n.namespaceId){let o=this._fetchNamespace(n.namespaceId);o&&A.add(o)}}return A}trigger(e,A,t,n){if(tf(A)){let o=this._fetchNamespace(e);if(o)return o.trigger(A,t,n),!0}return!1}insertNode(e,A,t,n){if(!tf(A))return;let o=A[Ug];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(A);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(A,t)}n&&this.collectEnterElement(A)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,A){A?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Wl(e,Vv)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),WI(e,Vv))}removeNode(e,A,t){if(tf(A)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(A,t):this.markElementAsRemoved(e,A,!1,t);let o=this.namespacesByHostElement.get(A);o&&o.id!==e&&o.removeNode(A,t)}else this._onRemovalComplete(A,t)}markElementAsRemoved(e,A,t,n,o){this.collectedLeaveElements.push(A),A[Ug]={namespaceId:e,setForRemoval:n,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,A,t,n,o){return tf(A)?this._fetchNamespace(e).listen(A,t,n,o):()=>{}}_buildInstruction(e,A,t,n,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,n,e.fromState.options,e.toState.options,A,o)}destroyInnerAnimations(e){let A=this.driver.query(e,bQ,!0);A.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(A=this.driver.query(e,Z3,!0),A.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(e){let A=this.playersByElement.get(e);A&&A.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(e){let A=this.playersByQueriedElement.get(e);A&&A.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Y0(this.players).onDone(()=>e());e()})}processLeaveNode(e){let A=e[Ug];if(A&&A.setForRemoval){if(e[Ug]=eK,A.namespaceId){this.destroyInnerAnimations(e);let t=this._fetchNamespace(A.namespaceId);t&&t.clearElementCache(e)}this._onRemovalComplete(e,A.setForRemoval)}e.classList?.contains(Vv)&&this.markElementAsDisabled(e,!1),this.driver.query(e,RtA,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(e=-1){let A=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,n)=>this._balanceNamespaceList(t,n)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;t<this.collectedEnterElements.length;t++){let n=this.collectedEnterElements[t];Wl(n,NtA)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let t=[];try{A=this._flushAnimations(t,e)}finally{for(let n=0;n<t.length;n++)t[n]()}}else for(let t=0;t<this.collectedLeaveElements.length;t++){let n=this.collectedLeaveElements[t];this.processLeaveNode(n)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(t=>t()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],A.length?Y0(A).onDone(()=>{t.forEach(n=>n())}):t.forEach(n=>n())}}reportError(e){throw NG(e)}_flushAnimations(e,A){let t=new kQ,n=[],o=new Map,a=[],r=new Map,s=new Map,l=new Map,g=new Set;this.disabledNodes.forEach(QA=>{g.add(QA);let RA=this.driver.query(QA,xtA,!0);for(let dA=0;dA<RA.length;dA++)g.add(RA[dA])});let C=this.bodyNode,d=Array.from(this.statesByElement.keys()),B=qG(d,this.collectedEnterElements),u=new Map,E=0;B.forEach((QA,RA)=>{let dA=Yv+E++;u.set(RA,dA),QA.forEach(IA=>Wl(IA,dA))});let f=[],m=new Set,v=new Set;for(let QA=0;QA<this.collectedLeaveElements.length;QA++){let RA=this.collectedLeaveElements[QA],dA=RA[Ug];dA&&dA.setForRemoval&&(f.push(RA),m.add(RA),dA.hasAnimation?this.driver.query(RA,FtA,!0).forEach(IA=>m.add(IA)):v.add(RA))}let S=new Map,k=qG(d,Array.from(m));k.forEach((QA,RA)=>{let dA=W3+E++;S.set(RA,dA),QA.forEach(IA=>Wl(IA,dA))}),e.push(()=>{B.forEach((QA,RA)=>{let dA=u.get(RA);QA.forEach(IA=>WI(IA,dA))}),k.forEach((QA,RA)=>{let dA=S.get(RA);QA.forEach(IA=>WI(IA,dA))}),f.forEach(QA=>{this.processLeaveNode(QA)})});let M=[],x=[];for(let QA=this._namespaceList.length-1;QA>=0;QA--)this._namespaceList[QA].drainQueuedTransitions(A).forEach(dA=>{let IA=dA.player,xA=dA.element;if(M.push(IA),this.collectedEnterElements.length){let Xe=xA[Ug];if(Xe&&Xe.setForMove){if(Xe.previousTriggersValues&&Xe.previousTriggersValues.has(dA.triggerName)){let YA=Xe.previousTriggersValues.get(dA.triggerName),hA=this.statesByElement.get(dA.element);if(hA&&hA.has(dA.triggerName)){let Ae=hA.get(dA.triggerName);Ae.value=YA,hA.set(dA.triggerName,Ae)}}IA.destroy();return}}let qA=!C||!this.driver.containsElement(C,xA),ue=S.get(xA),HA=u.get(xA),bA=this._buildInstruction(dA,t,HA,ue,qA);if(bA.errors&&bA.errors.length){x.push(bA);return}if(qA){IA.onStart(()=>A2(xA,bA.fromStyles)),IA.onDestroy(()=>Kg(xA,bA.toStyles)),n.push(IA);return}if(dA.isFallbackTransition){IA.onStart(()=>A2(xA,bA.fromStyles)),IA.onDestroy(()=>Kg(xA,bA.toStyles)),n.push(IA);return}let PA=[];bA.timelines.forEach(Xe=>{Xe.stretchStartingKeyframe=!0,this.disabledNodes.has(Xe.element)||PA.push(Xe)}),bA.timelines=PA,t.append(xA,bA.timelines);let it={instruction:bA,player:IA,element:xA};a.push(it),bA.queriedElements.forEach(Xe=>Zs(r,Xe,[]).push(IA)),bA.preStyleProps.forEach((Xe,YA)=>{if(Xe.size){let hA=s.get(YA);hA||s.set(YA,hA=new Set),Xe.forEach((Ae,pA)=>hA.add(pA))}}),bA.postStyleProps.forEach((Xe,YA)=>{let hA=l.get(YA);hA||l.set(YA,hA=new Set),Xe.forEach((Ae,pA)=>hA.add(pA))})});if(x.length){let QA=[];x.forEach(RA=>{QA.push(FG(RA.triggerName,RA.errors))}),M.forEach(RA=>RA.destroy()),this.reportError(QA)}let F=new Map,z=new Map;a.forEach(QA=>{let RA=QA.element;t.has(RA)&&(z.set(RA,RA),this._beforeAnimationBuild(QA.player.namespaceId,QA.instruction,F))}),n.forEach(QA=>{let RA=QA.element;this._getPreviousPlayers(RA,!1,QA.namespaceId,QA.triggerName,null).forEach(IA=>{Zs(F,RA,[]).push(IA),IA.destroy()})});let j=f.filter(QA=>WG(QA,s,l)),X=new Map;VG(X,this.driver,v,l,Gg).forEach(QA=>{WG(QA,s,l)&&j.push(QA)});let Z=new Map;B.forEach((QA,RA)=>{VG(Z,this.driver,new Set(QA),s,DQ)}),j.forEach(QA=>{let RA=X.get(QA),dA=Z.get(QA);X.set(QA,new Map([...RA?.entries()??[],...dA?.entries()??[]]))});let CA=[],wA=[],BA={};a.forEach(QA=>{let{element:RA,player:dA,instruction:IA}=QA;if(t.has(RA)){if(g.has(RA)){dA.onDestroy(()=>Kg(RA,IA.toStyles)),dA.disabled=!0,dA.overrideTotalTime(IA.totalTime),n.push(dA);return}let xA=BA;if(z.size>1){let ue=RA,HA=[];for(;ue=ue.parentNode;){let bA=z.get(ue);if(bA){xA=bA;break}HA.push(ue)}HA.forEach(bA=>z.set(bA,xA))}let qA=this._buildAnimation(dA.namespaceId,IA,F,o,Z,X);if(dA.setRealPlayer(qA),xA===BA)CA.push(dA);else{let ue=this.playersByElement.get(xA);ue&&ue.length&&(dA.parentPlayer=Y0(ue)),n.push(dA)}}else A2(RA,IA.fromStyles),dA.onDestroy(()=>Kg(RA,IA.toStyles)),wA.push(dA),g.has(RA)&&n.push(dA)}),wA.forEach(QA=>{let RA=o.get(QA.element);if(RA&&RA.length){let dA=Y0(RA);QA.setRealPlayer(dA)}}),n.forEach(QA=>{QA.parentPlayer?QA.syncPlayerEvents(QA.parentPlayer):QA.destroy()});for(let QA=0;QA<f.length;QA++){let RA=f[QA],dA=RA[Ug];if(WI(RA,W3),dA&&dA.hasAnimation)continue;let IA=[];if(r.size){let qA=r.get(RA);qA&&qA.length&&IA.push(...qA);let ue=this.driver.query(RA,Z3,!0);for(let HA=0;HA<ue.length;HA++){let bA=r.get(ue[HA]);bA&&bA.length&&IA.push(...bA)}}let xA=IA.filter(qA=>!qA.destroyed);xA.length?OtA(this,RA,xA):this.processLeaveNode(RA)}return f.length=0,CA.forEach(QA=>{this.players.push(QA),QA.onDone(()=>{QA.destroy();let RA=this.players.indexOf(QA);this.players.splice(RA,1)}),QA.play()}),CA}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,A,t,n,o){let a=[];if(A){let r=this.playersByQueriedElement.get(e);r&&(a=r)}else{let r=this.playersByElement.get(e);if(r){let s=!o||o==SQ;r.forEach(l=>{l.queued||!s&&l.triggerName!=n||a.push(l)})}}return(t||n)&&(a=a.filter(r=>!(t&&t!=r.namespaceId||n&&n!=r.triggerName))),a}_beforeAnimationBuild(e,A,t){let n=A.triggerName,o=A.element,a=A.isRemovalTransition?void 0:e,r=A.isRemovalTransition?void 0:n;for(let s of A.timelines){let l=s.element,g=l!==o,C=Zs(t,l,[]);this._getPreviousPlayers(l,g,a,r,A.toState).forEach(B=>{let u=B.getRealPlayer();u.beforeDestroy&&u.beforeDestroy(),B.destroy(),C.push(B)})}A2(o,A.fromStyles)}_buildAnimation(e,A,t,n,o,a){let r=A.triggerName,s=A.element,l=[],g=new Set,C=new Set,d=A.timelines.map(u=>{let E=u.element;g.add(E);let f=E[Ug];if(f&&f.removedBeforeQueried)return new J0(u.duration,u.delay);let m=E!==s,v=JtA((t.get(E)||LtA).map(F=>F.getRealPlayer())).filter(F=>{let z=F;return z.element?z.element===E:!1}),S=o.get(E),k=a.get(E),M=Kv(this._normalizer,u.keyframes,S,k),x=this._buildPlayer(u,M,v);if(u.subTimeline&&n&&C.add(E),m){let F=new xQ(e,r,E);F.setRealPlayer(x),l.push(F)}return x});l.forEach(u=>{Zs(this.playersByQueriedElement,u.element,[]).push(u),u.onDone(()=>KtA(this.playersByQueriedElement,u.element,u))}),g.forEach(u=>Wl(u,Hv));let B=Y0(d);return B.onDestroy(()=>{g.forEach(u=>WI(u,Hv)),Kg(s,A.toStyles)}),C.forEach(u=>{Zs(n,u,[]).push(B)}),B}_buildPlayer(e,A,t){return A.length>0?this.driver.animate(e.element,A,e.duration,e.delay,e.easing,t):new J0(e.duration,e.delay)}},xQ=class{namespaceId;triggerName;element;_player=new J0;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,A,t){this.namespaceId=e,this.triggerName=A,this.element=t}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((A,t)=>{A.forEach(n=>j3(e,t,void 0,n))}),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 A=this._player;A.triggerCallback&&e.onStart(()=>A.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,A){Zs(this._queuedCallbacks,e,[]).push(A)}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 A=this._player;A.triggerCallback&&A.triggerCallback(e)}};function KtA(i,e,A){let t=i.get(e);if(t){if(t.length){let n=t.indexOf(A);t.splice(n,1)}t.length==0&&i.delete(e)}return t}function UtA(i){return i??null}function tf(i){return i&&i.nodeType===1}function TtA(i){return i=="start"||i=="done"}function jG(i,e){let A=i.style.display;return i.style.display=e??"none",A}function VG(i,e,A,t,n){let o=[];A.forEach(s=>o.push(jG(s)));let a=[];t.forEach((s,l)=>{let g=new Map;s.forEach(C=>{let d=e.computeStyle(l,C,n);g.set(C,d),(!d||d.length==0)&&(l[Ug]=GtA,a.push(l))}),i.set(l,g)});let r=0;return A.forEach(s=>jG(s,o[r++])),a}function qG(i,e){let A=new Map;if(i.forEach(r=>A.set(r,[])),e.length==0)return A;let t=1,n=new Set(e),o=new Map;function a(r){if(!r)return t;let s=o.get(r);if(s)return s;let l=r.parentNode;return A.has(l)?s=l:n.has(l)?s=t:s=a(l),o.set(r,s),s}return e.forEach(r=>{let s=a(r);s!==t&&A.get(s).push(r)}),A}function Wl(i,e){i.classList?.add(e)}function WI(i,e){i.classList?.remove(e)}function OtA(i,e,A){Y0(A).onDone(()=>i.processLeaveNode(e))}function JtA(i){let e=[];return tK(i,e),e}function tK(i,e){for(let A=0;A<i.length;A++){let t=i[A];t instanceof jI?tK(t.players,e):e.push(t)}}function YtA(i,e){let A=Object.keys(i),t=Object.keys(e);if(A.length!=t.length)return!1;for(let n=0;n<A.length;n++){let o=A[n];if(!e.hasOwnProperty(o)||i[o]!==e[o])return!1}return!0}function WG(i,e,A){let t=A.get(i);if(!t)return!1;let n=e.get(i);return n?t.forEach(o=>n.add(o)):e.set(i,t),A.delete(i),!0}var ZI=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,A)=>{};constructor(e,A,t){this._driver=A,this._normalizer=t,this._transitionEngine=new ab(e.body,A,t),this._timelineEngine=new nb(e.body,A,t),this._transitionEngine.onRemovalComplete=(n,o)=>this.onRemovalComplete(n,o)}registerTrigger(e,A,t,n,o){let a=e+"-"+n,r=this._triggerCache[a];if(!r){let s=[],l=[],g=XG(this._driver,o,s,l);if(s.length)throw DG(n,s);r=StA(n,g,this._normalizer),this._triggerCache[a]=r}this._transitionEngine.registerTrigger(A,n,r)}register(e,A){this._transitionEngine.register(e,A)}destroy(e,A){this._transitionEngine.destroy(e,A)}onInsert(e,A,t,n){this._transitionEngine.insertNode(e,A,t,n)}onRemove(e,A,t){this._transitionEngine.removeNode(e,A,t)}disableAnimations(e,A){this._transitionEngine.markElementAsDisabled(e,A)}process(e,A,t,n){if(t.charAt(0)=="@"){let[o,a]=Uv(t),r=n;this._timelineEngine.command(o,A,a,r)}else this._transitionEngine.trigger(e,A,t,n)}listen(e,A,t,n,o){if(t.charAt(0)=="@"){let[a,r]=Uv(t);return this._timelineEngine.listen(a,A,r,o)}return this._transitionEngine.listen(e,A,t,n,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 HtA(i,e){let A=null,t=null;return Array.isArray(e)&&e.length?(A=Wv(e[0]),e.length>1&&(t=Wv(e[e.length-1]))):e instanceof Map&&(A=Wv(e)),A||t?new ztA(i,A,t):null}var ztA=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(A,t,n){this._element=A,this._startStyles=t,this._endStyles=n;let o=i.initialStylesByElement.get(A);o||i.initialStylesByElement.set(A,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Kg(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Kg(this._element,this._initialStyles),this._endStyles&&(Kg(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(A2(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(A2(this._element,this._endStyles),this._endStyles=null),Kg(this._element,this._initialStyles),this._state=3)}}return i})();function Wv(i){let e=null;return i.forEach((A,t)=>{PtA(t)&&(e=e||new Map,e.set(t,A))}),e}function PtA(i){return i==="display"||i==="position"}var gf=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,A,t,n){this.element=e,this.keyframes=A,this.options=t,this._specialStyles=n,this._duration=t.duration,this._delay=t.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.domPlayer;this._initialized=!0;let e=this.keyframes,A=this._triggerWebAnimation(this.element,e,this.options);if(!A)return this._onFinish(),null;this.domPlayer=A,this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();return A.addEventListener("finish",t),this.onDestroy(()=>{A.removeEventListener("finish",t)}),A}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let A=[];return e.forEach(t=>{A.push(Object.fromEntries(t))}),A}_triggerWebAnimation(e,A,t){let n=this._convertKeyframesToObject(A);try{return e.animate(n,t)}catch(o){return null}}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(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(A=>A()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:$3(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let A=e==="start"?this._onStartFns:this._onDoneFns;A.forEach(t=>t()),A.length=0}},cf=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,A){return Tv(e,A)}getParentElement(e){return q3(e)}query(e,A,t){return Ov(e,A,t)}computeStyle(e,A,t){return $3(e,A)}animate(e,A,t,n,o,a=[]){let r=n==0?"both":"forwards",s={duration:t,delay:n,fill:r};o&&(s.easing=o);let l=new Map,g=a.filter(B=>B instanceof gf);UG(t,n)&&g.forEach(B=>{B.currentSnapshot.forEach((u,E)=>l.set(E,u))});let C=GG(A).map(B=>new Map(B));C=TG(e,C,l);let d=HtA(e,C);return new gf(e,C,s,d)}};var nf="@",iK="@.disabled",Cf=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,A,t,n){this.namespaceId=e,this.delegate=A,this.engine=t,this._onDestroy=n}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,A){return this.delegate.createElement(e,A)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,A){this.delegate.appendChild(e,A),this.engine.onInsert(this.namespaceId,A,e,!1)}insertBefore(e,A,t,n=!0){this.delegate.insertBefore(e,A,t),this.engine.onInsert(this.namespaceId,A,e,n)}removeChild(e,A,t,n){if(n){this.delegate.removeChild(e,A,t,n);return}this.parentNode(A)&&this.engine.onRemove(this.namespaceId,A,this.delegate)}selectRootElement(e,A){return this.delegate.selectRootElement(e,A)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,A,t,n){this.delegate.setAttribute(e,A,t,n)}removeAttribute(e,A,t){this.delegate.removeAttribute(e,A,t)}addClass(e,A){this.delegate.addClass(e,A)}removeClass(e,A){this.delegate.removeClass(e,A)}setStyle(e,A,t,n){this.delegate.setStyle(e,A,t,n)}removeStyle(e,A,t){this.delegate.removeStyle(e,A,t)}setProperty(e,A,t){A.charAt(0)==nf&&A==iK?this.disableAnimations(e,!!t):this.delegate.setProperty(e,A,t)}setValue(e,A){this.delegate.setValue(e,A)}listen(e,A,t,n){return this.delegate.listen(e,A,t,n)}disableAnimations(e,A){this.engine.disableAnimations(e,A)}},rb=class extends Cf{factory;constructor(e,A,t,n,o){super(A,t,n,o),this.factory=e,this.namespaceId=A}setProperty(e,A,t){A.charAt(0)==nf?A.charAt(1)=="."&&A==iK?(t=t===void 0?!0:!!t,this.disableAnimations(e,t)):this.engine.process(this.namespaceId,e,A.slice(1),t):this.delegate.setProperty(e,A,t)}listen(e,A,t,n){if(A.charAt(0)==nf){let o=jtA(e),a=A.slice(1),r="";return a.charAt(0)!=nf&&([a,r]=VtA(a)),this.engine.listen(this.namespaceId,o,a,r,s=>{let l=s._data||-1;this.factory.scheduleListenerCallback(l,t,s)})}return this.delegate.listen(e,A,t,n)}};function jtA(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function VtA(i){let e=i.indexOf("."),A=i.substring(0,e),t=i.slice(e+1);return[A,t]}var df=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,A,t){this.delegate=e,this.engine=A,this._zone=t,A.onRemovalComplete=(n,o)=>{o?.removeChild(null,n)}}createRenderer(e,A){let n=this.delegate.createRenderer(e,A);if(!e||!A?.data?.animation){let l=this._rendererCache,g=l.get(n);if(!g){let C=()=>l.delete(n);g=new Cf("",n,this.engine,C),l.set(n,g)}return g}let o=A.id,a=A.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let r=l=>{Array.isArray(l)?l.forEach(r):this.engine.registerTrigger(o,a,e,l.name,l)};return A.data.animation.forEach(r),new rb(this,a,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,A,t){if(e>=0&&e<this._microtaskId){this._zone.run(()=>A(t));return}let n=this._animationCallbacksBuffer;n.length==0&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(o=>{let[a,r]=o;a(r)}),this._animationCallbacksBuffer=[]})}),n.push([A,t])}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()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var WtA=(()=>{class i extends ZI{constructor(A,t,n){super(A,t,n)}ngOnDestroy(){this.flush()}static \u0275fac=function(t){return new(t||i)(Wo(ci),Wo(P1),Wo(j1))};static \u0275prov=jA({token:i,factory:i.\u0275fac})}return i})();function ZtA(){return new of}function XtA(){return new df(w(zN),w(ZI),w(We))}var nK=[{provide:j1,useFactory:ZtA},{provide:ZI,useClass:WtA},{provide:zr,useFactory:XtA}],aLA=[{provide:P1,useClass:sb},{provide:b1,useValue:"NoopAnimations"},...nK],$tA=[{provide:P1,useFactory:()=>new cf},{provide:b1,useFactory:()=>"BrowserAnimations"},...nK];function oK(){return n3("NgEagerAnimations"),[...$tA]}function xr(i){i||(i=w(Er));let e=new Fi(A=>{if(i.destroyed){A.next();return}return i.onDestroy(A.next.bind(A))});return A=>A.pipe(yt(e))}var gb=class{source;destroyed=!1;destroyRef=w(Er);constructor(e){this.source=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}subscribe(e){if(this.destroyed)throw new Nt(953,!1);let A=this.source.pipe(xr(this.destroyRef)).subscribe({next:t=>e(t)});return{unsubscribe:()=>A.unsubscribe()}}};function Hn(i,e){return new gb(i)}function Fo(i,e){let A=e?.injector??w(St),t=new _g(1),n=Fn(()=>{let o;try{o=i()}catch(a){wa(()=>t.error(a));return}wa(()=>t.next(o))},{injector:A,manualCleanup:!0});return A.get(Er).onDestroy(()=>{n.destroy(),t.complete()}),t.asObservable()}function sr(i,e){let t=!e?.manualCleanup?e?.injector?.get(Er)??w(Er):null,n=AiA(e?.equal),o;e?.requireSync?o=mA({kind:0},{equal:n}):o=mA({kind:1,value:e?.initialValue},{equal:n});let a,r=i.subscribe({next:s=>o.set({kind:1,value:s}),error:s=>{o.set({kind:2,error:s}),a?.()},complete:()=>{a?.()}});if(e?.requireSync&&o().kind===0)throw new Nt(601,!1);return a=t?.onDestroy(r.unsubscribe.bind(r)),ye(()=>{let s=o();switch(s.kind){case 1:return s.value;case 2:throw s.error;case 0:throw new Nt(601,!1)}},{equal:e?.equal})}function AiA(i=Object.is){return(e,A)=>e.kind===1&&A.kind===1&&i(e.value,A.value)}function If(i){return NN($A(P({},i),{loader:void 0,stream:e=>{let A,t=()=>A?.unsubscribe();e.abortSignal.addEventListener("abort",t);let n=mA({value:void 0}),o,a=new Promise(l=>o=l);function r(l){n.set(l),o?.(n),o=void 0}let s=i.stream;if(s===void 0)throw new Nt(990,!1);return A=s(e).subscribe({next:l=>r({value:l}),error:l=>{r({error:FN(l)}),e.abortSignal.removeEventListener("abort",t)},complete:()=>{o&&r({error:new Nt(991,!1)}),e.abortSignal.removeEventListener("abort",t)}}),a}}))}function Ib(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var W1=Ib();function CK(i){W1=i}var V1={exec:()=>null};function eo(i,e=""){let A=typeof i=="string"?i:i.source,t={replace:(n,o)=>{let a=typeof o=="string"?o:o.source;return a=a.replace(Rs.caret,"$1"),A=A.replace(n,a),t},getRegex:()=>new RegExp(A,e)};return t}var eiA=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch(i){return!1}})(),Rs={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:i=>new RegExp(`^( {0,3}${i})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:i=>new RegExp(`^ {0,${Math.min(3,i-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:i=>new RegExp(`^ {0,${Math.min(3,i-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:i=>new RegExp(`^ {0,${Math.min(3,i-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:i=>new RegExp(`^ {0,${Math.min(3,i-1)}}#`),htmlBeginRegex:i=>new RegExp(`^ {0,${Math.min(3,i-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:i=>new RegExp(`^ {0,${Math.min(3,i-1)}}>`)},tiA=/^(?:[ \t]*(?:\n|$))+/,iiA=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,niA=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,LQ=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,oiA=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Bb=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,dK=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,IK=eo(dK).replace(/bull/g,Bb).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),aiA=eo(dK).replace(/bull/g,Bb).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),hb=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,riA=/^[^\n]+/,Eb=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,siA=eo(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",Eb).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),liA=eo(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Bb).getRegex(),Qf="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Qb=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,giA=eo("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",Qb).replace("tag",Qf).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),BK=eo(hb).replace("hr",LQ).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Qf).getRegex(),ciA=eo(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",BK).getRegex(),ub={blockquote:ciA,code:iiA,def:siA,fences:niA,heading:oiA,hr:LQ,html:giA,lheading:IK,list:liA,newline:tiA,paragraph:BK,table:V1,text:riA},aK=eo("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",LQ).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Qf).getRegex(),CiA=$A(P({},ub),{lheading:aiA,table:aK,paragraph:eo(hb).replace("hr",LQ).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",aK).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Qf).getRegex()}),diA=$A(P({},ub),{html:eo(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Qb).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:V1,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:eo(hb).replace("hr",LQ).replace("heading",` *#{1,6} *[^ |
| 16 | ]`).replace("lheading",IK).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),IiA=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,BiA=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,hK=/^( {2,}|\\)\n(?!\s*$)/,hiA=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,uf=/[\p{P}\p{S}]/u,pb=/[\s\p{P}\p{S}]/u,EK=/[^\s\p{P}\p{S}]/u,EiA=eo(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,pb).getRegex(),QK=/(?!~)[\p{P}\p{S}]/u,QiA=/(?!~)[\s\p{P}\p{S}]/u,uiA=/(?:[^\s\p{P}\p{S}]|~)/u,uK=/(?![*_])[\p{P}\p{S}]/u,piA=/(?![*_])[\s\p{P}\p{S}]/u,fiA=/(?:[^\s\p{P}\p{S}]|[*_])/u,miA=eo(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",eiA?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),pK=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,wiA=eo(pK,"u").replace(/punct/g,uf).getRegex(),yiA=eo(pK,"u").replace(/punct/g,QK).getRegex(),fK="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",DiA=eo(fK,"gu").replace(/notPunctSpace/g,EK).replace(/punctSpace/g,pb).replace(/punct/g,uf).getRegex(),viA=eo(fK,"gu").replace(/notPunctSpace/g,uiA).replace(/punctSpace/g,QiA).replace(/punct/g,QK).getRegex(),biA=eo("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,EK).replace(/punctSpace/g,pb).replace(/punct/g,uf).getRegex(),MiA=eo(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,uK).getRegex(),SiA="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",kiA=eo(SiA,"gu").replace(/notPunctSpace/g,fiA).replace(/punctSpace/g,piA).replace(/punct/g,uK).getRegex(),_iA=eo(/\\(punct)/,"gu").replace(/punct/g,uf).getRegex(),xiA=eo(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),RiA=eo(Qb).replace("(?:-->|$)","-->").getRegex(),NiA=eo("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",RiA).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),hf=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,FiA=eo(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",hf).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),mK=eo(/^!?\[(label)\]\[(ref)\]/).replace("label",hf).replace("ref",Eb).getRegex(),wK=eo(/^!?\[(ref)\](?:\[\])?/).replace("ref",Eb).getRegex(),LiA=eo("reflink|nolink(?!\\()","g").replace("reflink",mK).replace("nolink",wK).getRegex(),rK=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,fb={_backpedal:V1,anyPunctuation:_iA,autolink:xiA,blockSkip:miA,br:hK,code:BiA,del:V1,delLDelim:V1,delRDelim:V1,emStrongLDelim:wiA,emStrongRDelimAst:DiA,emStrongRDelimUnd:biA,escape:IiA,link:FiA,nolink:wK,punctuation:EiA,reflink:mK,reflinkSearch:LiA,tag:NiA,text:hiA,url:V1},GiA=$A(P({},fb),{link:eo(/^!?\[(label)\]\((.*?)\)/).replace("label",hf).getRegex(),reflink:eo(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",hf).getRegex()}),cb=$A(P({},fb),{emStrongRDelimAst:viA,emStrongLDelim:yiA,delLDelim:MiA,delRDelim:kiA,url:eo(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",rK).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:eo(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",rK).getRegex()}),KiA=$A(P({},cb),{br:eo(hK).replace("{2,}","*").getRegex(),text:eo(cb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),Bf={normal:ub,gfm:CiA,pedantic:diA},RQ={normal:fb,gfm:cb,breaks:KiA,pedantic:GiA},UiA={"&":"&","<":"<",">":">",'"':""","'":"'"},sK=i=>UiA[i];function Hc(i,e){if(e){if(Rs.escapeTest.test(i))return i.replace(Rs.escapeReplace,sK)}else if(Rs.escapeTestNoEncode.test(i))return i.replace(Rs.escapeReplaceNoEncode,sK);return i}function lK(i){try{i=encodeURI(i).replace(Rs.percentDecode,"%")}catch(e){return null}return i}function gK(i,e){let A=i.replace(Rs.findPipe,(o,a,r)=>{let s=!1,l=a;for(;--l>=0&&r[l]==="\\";)s=!s;return s?"|":" |"}),t=A.split(Rs.splitPipe),n=0;if(t[0].trim()||t.shift(),t.length>0&&!t.at(-1)?.trim()&&t.pop(),e)if(t.length>e)t.splice(e);else for(;t.length<e;)t.push("");for(;n<t.length;n++)t[n]=t[n].trim().replace(Rs.slashPipe,"|");return t}function NQ(i,e,A){let t=i.length;if(t===0)return"";let n=0;for(;n<t;){let o=i.charAt(t-n-1);if(o===e&&!A)n++;else if(o!==e&&A)n++;else break}return i.slice(0,t-n)}function TiA(i,e){if(i.indexOf(e[1])===-1)return-1;let A=0;for(let t=0;t<i.length;t++)if(i[t]==="\\")t++;else if(i[t]===e[0])A++;else if(i[t]===e[1]&&(A--,A<0))return t;return A>0?-2:-1}function OiA(i,e=0){let A=e,t="";for(let n of i)if(n===" "){let o=4-A%4;t+=" ".repeat(o),A+=o}else t+=n,A++;return t}function cK(i,e,A,t,n){let o=e.href,a=e.title||null,r=i[1].replace(n.other.outputLinkReplace,"$1");t.state.inLink=!0;let s={type:i[0].charAt(0)==="!"?"image":"link",raw:A,href:o,title:a,text:r,tokens:t.inlineTokens(r)};return t.state.inLink=!1,s}function JiA(i,e,A){let t=i.match(A.other.indentCodeCompensation);if(t===null)return e;let n=t[1];return e.split(` |
| 17 | `).map(o=>{let a=o.match(A.other.beginningSpace);if(a===null)return o;let[r]=a;return r.length>=n.length?o.slice(n.length):o}).join(` |
| 18 | `)}var Ef=class{options;rules;lexer;constructor(i){this.options=i||W1}space(i){let e=this.rules.block.newline.exec(i);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(i){let e=this.rules.block.code.exec(i);if(e){let A=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?A:NQ(A,` |
no test coverage detected