-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path2824.36c4b75c2cc4e348.js
1 lines (1 loc) · 120 KB
/
2824.36c4b75c2cc4e348.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[2824],{6263:(ve,G,_)=>{_.d(G,{IC:()=>L,Ky:()=>k,Lq:()=>Y,aC:()=>Z});var e=_(2831),M=_(5879),T=_(2495),E=_(1226),h=_(2079),w=_(9016),g=_(5434),V=_(9352),W=_(6814);const R=(0,e.i$)({passive:!0});let Y=(()=>{class v{constructor(d,c){this._platform=d,this._ngZone=c,this._monitoredElements=new Map}monitor(d){if(!this._platform.isBrowser)return E.E;const c=(0,T.fI)(d),p=this._monitoredElements.get(c);if(p)return p.subject;const D=new h.xQ,O="cdk-text-field-autofilled",P=u=>{"cdk-text-field-autofill-start"!==u.animationName||c.classList.contains(O)?"cdk-text-field-autofill-end"===u.animationName&&c.classList.contains(O)&&(c.classList.remove(O),this._ngZone.run(()=>D.next({target:u.target,isAutofilled:!1}))):(c.classList.add(O),this._ngZone.run(()=>D.next({target:u.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{c.addEventListener("animationstart",P,R),c.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(c,{subject:D,unlisten:()=>{c.removeEventListener("animationstart",P,R)}}),D}stopMonitoring(d){const c=(0,T.fI)(d),p=this._monitoredElements.get(c);p&&(p.unlisten(),p.subject.complete(),c.classList.remove("cdk-text-field-autofill-monitored"),c.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(c))}ngOnDestroy(){this._monitoredElements.forEach((d,c)=>this.stopMonitoring(c))}}return v.\u0275fac=function(d){return new(d||v)(M.LFG(e.t4),M.LFG(M.R0b))},v.\u0275prov=M.Yz7({token:v,factory:v.\u0275fac,providedIn:"root"}),v})(),Z=(()=>{class v{constructor(d,c){this._elementRef=d,this._autofillMonitor=c,this.cdkAutofill=new M.vpe}ngOnInit(){this._autofillMonitor.monitor(this._elementRef).subscribe(d=>this.cdkAutofill.emit(d))}ngOnDestroy(){this._autofillMonitor.stopMonitoring(this._elementRef)}}return v.\u0275fac=function(d){return new(d||v)(M.Y36(M.SBq),M.Y36(Y))},v.\u0275dir=M.lG2({type:v,selectors:[["","cdkAutofill",""]],outputs:{cdkAutofill:"cdkAutofill"}}),v})(),L=(()=>{class v{get minRows(){return this._minRows}set minRows(d){this._minRows=(0,T.su)(d),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(d){this._maxRows=(0,T.su)(d),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(d){d=(0,T.Ig)(d),this._enabled!==d&&((this._enabled=d)?this.resizeToFitContent(!0):this.reset())}get placeholder(){return this._textareaElement.placeholder}set placeholder(d){this._cachedPlaceholderHeight=void 0,d?this._textareaElement.setAttribute("placeholder",d):this._textareaElement.removeAttribute("placeholder"),this._cacheTextareaPlaceholderHeight()}constructor(d,c,p,D){this._elementRef=d,this._platform=c,this._ngZone=p,this._destroyed=new h.xQ,this._enabled=!0,this._previousMinRows=-1,this._isViewInited=!1,this._handleFocusEvent=O=>{this._hasFocus="focus"===O.type},this._document=D,this._textareaElement=this._elementRef.nativeElement}_setMinHeight(){const d=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;d&&(this._textareaElement.style.minHeight=d)}_setMaxHeight(){const d=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;d&&(this._textareaElement.style.maxHeight=d)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{const d=this._getWindow();(0,w.R)(d,"resize").pipe((0,g.e)(16),(0,V.R)(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0)),this._textareaElement.addEventListener("focus",this._handleFocusEvent),this._textareaElement.addEventListener("blur",this._handleFocusEvent)}),this._isViewInited=!0,this.resizeToFitContent(!0))}ngOnDestroy(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent),this._textareaElement.removeEventListener("blur",this._handleFocusEvent),this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let d=this._textareaElement.cloneNode(!1);d.rows=1,d.style.position="absolute",d.style.visibility="hidden",d.style.border="none",d.style.padding="0",d.style.height="",d.style.minHeight="",d.style.maxHeight="",d.style.overflow="hidden",this._textareaElement.parentNode.appendChild(d),this._cachedLineHeight=d.clientHeight,d.remove(),this._setMinHeight(),this._setMaxHeight()}_measureScrollHeight(){const d=this._textareaElement,c=d.style.marginBottom||"",p=this._platform.FIREFOX,D=p&&this._hasFocus,O=p?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";D&&(d.style.marginBottom=`${d.clientHeight}px`),d.classList.add(O);const P=d.scrollHeight-4;return d.classList.remove(O),D&&(d.style.marginBottom=c),P}_cacheTextareaPlaceholderHeight(){if(!this._isViewInited||null!=this._cachedPlaceholderHeight)return;if(!this.placeholder)return void(this._cachedPlaceholderHeight=0);const d=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder,this._cachedPlaceholderHeight=this._measureScrollHeight(),this._textareaElement.value=d}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(d=!1){if(!this._enabled||(this._cacheTextareaLineHeight(),this._cacheTextareaPlaceholderHeight(),!this._cachedLineHeight))return;const c=this._elementRef.nativeElement,p=c.value;if(!d&&this._minRows===this._previousMinRows&&p===this._previousValue)return;const D=this._measureScrollHeight(),O=Math.max(D,this._cachedPlaceholderHeight||0);c.style.height=`${O}px`,this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame<"u"?requestAnimationFrame(()=>this._scrollToCaretPosition(c)):setTimeout(()=>this._scrollToCaretPosition(c))}),this._previousValue=p,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(d){const{selectionStart:c,selectionEnd:p}=d;!this._destroyed.isStopped&&this._hasFocus&&d.setSelectionRange(c,p)}}return v.\u0275fac=function(d){return new(d||v)(M.Y36(M.SBq),M.Y36(e.t4),M.Y36(M.R0b),M.Y36(W.K0,8))},v.\u0275dir=M.lG2({type:v,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(d,c){1&d&&M.NdJ("input",function(){return c._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]}),v})(),k=(()=>{class v{}return v.\u0275fac=function(d){return new(d||v)},v.\u0275mod=M.oAB({type:v}),v.\u0275inj=M.cJS({}),v})()},2824:(ve,G,_)=>{_.r(G),_.d(G,{InputClearableExample:()=>k,InputErrorStateMatcherExample:()=>C,InputErrorsExample:()=>d,InputFormExample:()=>c,InputHarnessExample:()=>P,InputHintExample:()=>p,InputOverviewExample:()=>D,InputPrefixSuffixExample:()=>O});var e=_(5879),M=_(617),T=_(2296),E=_(6814),h=_(6223),w=_(4516),g=_(4170);function V(u,y){if(1&u){const x=e.EpF();e.TgZ(0,"button",3),e.NdJ("click",function(){e.CHM(x);const N=e.oxw();return e.KtG(N.value="")}),e.TgZ(1,"mat-icon"),e._uU(2,"close"),e.qZA()()}}function W(u,y){1&u&&(e.TgZ(0,"mat-error"),e._uU(1," Please enter a valid email address "),e.qZA())}function R(u,y){1&u&&(e.TgZ(0,"mat-error"),e._uU(1," Email is "),e.TgZ(2,"strong"),e._uU(3,"required"),e.qZA()())}function Y(u,y){1&u&&(e.TgZ(0,"mat-error"),e._uU(1," Please enter a valid email address "),e.qZA())}function Z(u,y){1&u&&(e.TgZ(0,"mat-error"),e._uU(1," Email is "),e.TgZ(2,"strong"),e._uU(3,"required"),e.qZA()())}const L=".example-form[_ngcontent-%COMP%] {\n min-width: 150px;\n max-width: 500px;\n width: 100%;\n}\n\n.example-full-width[_ngcontent-%COMP%] {\n width: 100%;\n}";let k=(()=>{class u{constructor(){this.value="Clear me"}}return u.\u0275fac=function(x){return new(x||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["input-clearable-example"]],standalone:!0,features:[e.jDz],decls:5,vars:2,consts:[[1,"example-form-field"],["matInput","","type","text",3,"ngModel","ngModelChange"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],["matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"]],template:function(x,F){1&x&&(e.TgZ(0,"mat-form-field",0)(1,"mat-label"),e._uU(2,"Clearable input"),e.qZA(),e.TgZ(3,"input",1),e.NdJ("ngModelChange",function(U){return F.value=U}),e.qZA(),e.YNc(4,V,3,0,"button",2),e.qZA()),2&x&&(e.xp6(3),e.Q6J("ngModel",F.value),e.xp6(1),e.Q6J("ngIf",F.value))},dependencies:[g.lN,g.KE,g.hX,g.R9,w.c,w.Nt,h.u5,h.Fj,h.JJ,h.On,E.O5,T.ot,T.RK,M.Ps,M.Hw],styles:[".example-form-field[_ngcontent-%COMP%] {\n width: 200px;\n}"]}),u})();class v{isErrorState(y,x){return!!(y&&y.invalid&&(y.dirty||y.touched||x&&x.submitted))}}let C=(()=>{class u{constructor(){this.emailFormControl=new h.NI("",[h.kI.required,h.kI.email]),this.matcher=new v}}return u.\u0275fac=function(x){return new(x||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["input-error-state-matcher-example"]],standalone:!0,features:[e.jDz],decls:9,vars:4,consts:[[1,"example-form"],[1,"example-full-width"],["type","email","matInput","","placeholder","Ex. [email protected]",3,"formControl","errorStateMatcher"],[4,"ngIf"]],template:function(x,F){1&x&&(e.TgZ(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),e._uU(3,"Email"),e.qZA(),e._UZ(4,"input",2),e.TgZ(5,"mat-hint"),e._uU(6,"Errors appear instantly!"),e.qZA(),e.YNc(7,W,2,0,"mat-error",3),e.YNc(8,R,4,0,"mat-error",3),e.qZA()()),2&x&&(e.xp6(4),e.Q6J("formControl",F.emailFormControl)("errorStateMatcher",F.matcher),e.xp6(3),e.Q6J("ngIf",F.emailFormControl.hasError("email")&&!F.emailFormControl.hasError("required")),e.xp6(1),e.Q6J("ngIf",F.emailFormControl.hasError("required")))},dependencies:[h.u5,h._Y,h.Fj,h.JJ,h.JL,h.F,g.lN,g.KE,g.hX,g.bx,g.TO,w.c,w.Nt,h.UX,h.oH,E.O5],styles:[".example-form[_ngcontent-%COMP%] {\n min-width: 150px;\n max-width: 500px;\n width: 100%;\n}\n\n.example-full-width[_ngcontent-%COMP%] {\n width: 100%;\n}"]}),u})(),d=(()=>{class u{constructor(){this.emailFormControl=new h.NI("",[h.kI.required,h.kI.email])}}return u.\u0275fac=function(x){return new(x||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["input-errors-example"]],standalone:!0,features:[e.jDz],decls:7,vars:3,consts:[[1,"example-form"],[1,"example-full-width"],["type","email","matInput","","placeholder","Ex. [email protected]",3,"formControl"],[4,"ngIf"]],template:function(x,F){1&x&&(e.TgZ(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),e._uU(3,"Email"),e.qZA(),e._UZ(4,"input",2),e.YNc(5,Y,2,0,"mat-error",3),e.YNc(6,Z,4,0,"mat-error",3),e.qZA()()),2&x&&(e.xp6(4),e.Q6J("formControl",F.emailFormControl),e.xp6(1),e.Q6J("ngIf",F.emailFormControl.hasError("email")&&!F.emailFormControl.hasError("required")),e.xp6(1),e.Q6J("ngIf",F.emailFormControl.hasError("required")))},dependencies:[h.u5,h._Y,h.Fj,h.JJ,h.JL,h.F,g.lN,g.KE,g.hX,g.TO,w.c,w.Nt,h.UX,h.oH,E.O5],styles:[L]}),u})(),c=(()=>{class u{}return u.\u0275fac=function(x){return new(x||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["input-form-example"]],standalone:!0,features:[e.jDz],decls:47,vars:1,consts:[[1,"example-form"],[1,"example-full-width"],["matInput","","disabled","","value","Google"],["cellspacing","0",1,"example-full-width"],["matInput",""],["matInput","","placeholder","Ex. 100 Main St"],["matInput","","placeholder","Ex. San Francisco"],["matInput","","placeholder","Ex. California"],["matInput","","maxlength","5","placeholder","Ex. 94105","value","94043"],["postalCode",""],["align","end"]],template:function(x,F){if(1&x&&(e.TgZ(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),e._uU(3,"Company (disabled)"),e.qZA(),e._UZ(4,"input",2),e.qZA(),e.TgZ(5,"table",3)(6,"tr")(7,"td")(8,"mat-form-field",1)(9,"mat-label"),e._uU(10,"First name"),e.qZA(),e._UZ(11,"input",4),e.qZA()(),e.TgZ(12,"td")(13,"mat-form-field",1)(14,"mat-label"),e._uU(15,"Long Last Name That Will Be Truncated"),e.qZA(),e._UZ(16,"input",4),e.qZA()()()(),e.TgZ(17,"p")(18,"mat-form-field",1)(19,"mat-label"),e._uU(20,"Address"),e.qZA(),e.TgZ(21,"textarea",5),e._uU(22,"1600 Amphitheatre Pkwy"),e.qZA()(),e.TgZ(23,"mat-form-field",1)(24,"mat-label"),e._uU(25,"Address 2"),e.qZA(),e._UZ(26,"textarea",4),e.qZA()(),e.TgZ(27,"table",3)(28,"tr")(29,"td")(30,"mat-form-field",1)(31,"mat-label"),e._uU(32,"City"),e.qZA(),e._UZ(33,"input",6),e.qZA()(),e.TgZ(34,"td")(35,"mat-form-field",1)(36,"mat-label"),e._uU(37,"State"),e.qZA(),e._UZ(38,"input",7),e.qZA()(),e.TgZ(39,"td")(40,"mat-form-field",1)(41,"mat-label"),e._uU(42,"Postal Code"),e.qZA(),e._UZ(43,"input",8,9),e.TgZ(45,"mat-hint",10),e._uU(46),e.qZA()()()()()()),2&x){const N=e.MAs(44);e.xp6(46),e.hij("",N.value.length," / 5")}},dependencies:[h.u5,h._Y,h.JL,h.F,g.lN,g.KE,g.hX,g.bx,w.c,w.Nt],styles:[".example-form[_ngcontent-%COMP%] {\n min-width: 150px;\n max-width: 500px;\n width: 100%;\n}\n\n.example-full-width[_ngcontent-%COMP%] {\n width: 100%;\n}\n\ntd[_ngcontent-%COMP%] {\n padding-right: 8px;\n}"]}),u})(),p=(()=>{class u{}return u.\u0275fac=function(x){return new(x||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["input-hint-example"]],standalone:!0,features:[e.jDz],decls:11,vars:1,consts:[[1,"example-form"],[1,"example-full-width"],["matInput","","maxlength","256","placeholder","Ex. I need help with..."],["message",""],["align","start"],["align","end"]],template:function(x,F){if(1&x&&(e.TgZ(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),e._uU(3,"Message"),e.qZA(),e._UZ(4,"input",2,3),e.TgZ(6,"mat-hint",4)(7,"strong"),e._uU(8,"Don't disclose personal info"),e.qZA()(),e.TgZ(9,"mat-hint",5),e._uU(10),e.qZA()()()),2&x){const N=e.MAs(5);e.xp6(10),e.hij("",N.value.length," / 256")}},dependencies:[h.u5,h._Y,h.JL,h.F,g.lN,g.KE,g.hX,g.bx,w.c,w.Nt],styles:[L]}),u})(),D=(()=>{class u{}return u.\u0275fac=function(x){return new(x||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["input-overview-example"]],standalone:!0,features:[e.jDz],decls:9,vars:0,consts:[[1,"example-form"],[1,"example-full-width"],["matInput","","placeholder","Ex. Pizza","value","Sushi"],["matInput","","placeholder","Ex. It makes me feel..."]],template:function(x,F){1&x&&(e.TgZ(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),e._uU(3,"Favorite food"),e.qZA(),e._UZ(4,"input",2),e.qZA(),e.TgZ(5,"mat-form-field",1)(6,"mat-label"),e._uU(7,"Leave a comment"),e.qZA(),e._UZ(8,"textarea",3),e.qZA()())},dependencies:[h.u5,h._Y,h.JL,h.F,g.lN,g.KE,g.hX,w.c,w.Nt],styles:[L]}),u})(),O=(()=>{class u{}return u.\u0275fac=function(x){return new(x||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["input-prefix-suffix-example"]],standalone:!0,features:[e.jDz],decls:9,vars:0,consts:[[1,"example-form"],[1,"example-full-width"],["matPrefix",""],["type","tel","matInput","","placeholder","555-555-1234"],["matSuffix",""]],template:function(x,F){1&x&&(e.TgZ(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),e._uU(3,"Telephone"),e.qZA(),e.TgZ(4,"span",2),e._uU(5,"+1 \xa0"),e.qZA(),e._UZ(6,"input",3),e.TgZ(7,"mat-icon",4),e._uU(8,"mode_edit"),e.qZA()()())},dependencies:[h.u5,h._Y,h.JL,h.F,g.lN,g.KE,g.hX,g.qo,g.R9,w.c,w.Nt,M.Ps,M.Hw],styles:[L]}),u})(),P=(()=>{class u{constructor(){this.inputType="number",this.disabled=!1}}return u.\u0275fac=function(x){return new(x||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["input-harness-example"]],standalone:!0,features:[e.jDz],decls:10,vars:2,consts:[["matInput","","value","Sushi","name","favorite-food"],["matInput","",3,"type","disabled"],["matInput",""]],template:function(x,F){1&x&&(e.TgZ(0,"mat-form-field")(1,"mat-label"),e._uU(2,"Favorite food"),e.qZA(),e._UZ(3,"input",0),e.qZA(),e.TgZ(4,"mat-form-field"),e._UZ(5,"input",1),e.qZA(),e.TgZ(6,"mat-form-field")(7,"mat-label"),e._uU(8,"Leave a comment"),e.qZA(),e._UZ(9,"textarea",2),e.qZA()),2&x&&(e.xp6(5),e.Q6J("type",F.inputType)("disabled",F.disabled))},dependencies:[g.lN,g.KE,g.hX,w.c,w.Nt],encapsulation:2}),u})()},6223:(ve,G,_)=>{_.d(G,{Cf:()=>d,EJ:()=>ke,F:()=>Be,Fj:()=>k,JJ:()=>Oe,JL:()=>he,JU:()=>V,Kr:()=>St,NI:()=>se,On:()=>et,Q7:()=>He,UX:()=>wi,Wl:()=>R,YN:()=>Vt,Zs:()=>dt,_Y:()=>Et,a5:()=>B,cw:()=>te,eT:()=>it,gN:()=>I,kI:()=>D,oH:()=>rt,qu:()=>Ai,sg:()=>Le,u:()=>lt,u5:()=>Fi,wV:()=>tt});var e=_(5879),M=_(6814),T=_(5253),E=_(7504),h=_(6124);let w=(()=>{class n{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=a=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Qsj),e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n}),n})(),g=(()=>{class n extends w{}return n.\u0275fac=function(){let i;return function(r){return(i||(i=e.n5z(n)))(r||n)}}(),n.\u0275dir=e.lG2({type:n,features:[e.qOj]}),n})();const V=new e.OlP("NgValueAccessor"),W={provide:V,useExisting:(0,e.Gpc)(()=>R),multi:!0};let R=(()=>{class n extends g{writeValue(t){this.setProperty("checked",t)}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=e.n5z(n)))(r||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,r){1&t&&e.NdJ("change",function(m){return r.onChange(m.target.checked)})("blur",function(){return r.onTouched()})},features:[e._Bn([W]),e.qOj]}),n})();const Y={provide:V,useExisting:(0,e.Gpc)(()=>k),multi:!0},L=new e.OlP("CompositionEventMode");let k=(()=>{class n extends w{constructor(t,r,a){super(t,r),this._compositionMode=a,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Z(){const n=(0,M.q)()?(0,M.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(L,8))},n.\u0275dir=e.lG2({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,r){1&t&&e.NdJ("input",function(m){return r._handleInput(m.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(m){return r._compositionEnd(m.target.value)})},features:[e._Bn([Y]),e.qOj]}),n})();function v(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function C(n){return null!=n&&"number"==typeof n.length}const d=new e.OlP("NgValidators"),c=new e.OlP("NgAsyncValidators"),p=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class D{static min(i){return function O(n){return i=>{if(v(i.value)||v(n))return null;const t=parseFloat(i.value);return!isNaN(t)&&t<n?{min:{min:n,actual:i.value}}:null}}(i)}static max(i){return function P(n){return i=>{if(v(i.value)||v(n))return null;const t=parseFloat(i.value);return!isNaN(t)&&t>n?{max:{max:n,actual:i.value}}:null}}(i)}static required(i){return u(i)}static requiredTrue(i){return y(i)}static email(i){return function x(n){return v(n.value)||p.test(n.value)?null:{email:!0}}(i)}static minLength(i){return function F(n){return i=>v(i.value)||!C(i.value)?null:i.value.length<n?{minlength:{requiredLength:n,actualLength:i.value.length}}:null}(i)}static maxLength(i){return function N(n){return i=>C(i.value)&&i.value.length>n?{maxlength:{requiredLength:n,actualLength:i.value.length}}:null}(i)}static pattern(i){return function U(n){if(!n)return q;let i,t;return"string"==typeof n?(t="","^"!==n.charAt(0)&&(t+="^"),t+=n,"$"!==n.charAt(n.length-1)&&(t+="$"),i=new RegExp(t)):(t=n.toString(),i=n),r=>{if(v(r.value))return null;const a=r.value;return i.test(a)?null:{pattern:{requiredPattern:t,actualValue:a}}}}(i)}static nullValidator(i){return null}static compose(i){return Me(i)}static composeAsync(i){return Ee(i)}}function u(n){return v(n.value)?{required:!0}:null}function y(n){return!0===n.value?null:{required:!0}}function q(n){return null}function $(n){return null!=n}function z(n){return(0,e.QGY)(n)?(0,T.D)(n):n}function be(n){let i={};return n.forEach(t=>{i=null!=t?{...i,...t}:i}),0===Object.keys(i).length?null:i}function ye(n,i){return i.map(t=>t(n))}function Ce(n){return n.map(i=>function Ue(n){return!n.validate}(i)?i:t=>i.validate(t))}function Me(n){if(!n)return null;const i=n.filter($);return 0==i.length?null:function(t){return be(ye(t,i))}}function de(n){return null!=n?Me(Ce(n)):null}function Ee(n){if(!n)return null;const i=n.filter($);return 0==i.length?null:function(t){const r=ye(t,i).map(z);return(0,E.D)(r).pipe((0,h.U)(be))}}function ce(n){return null!=n?Ee(Ce(n)):null}function Ae(n,i){return null===n?[i]:Array.isArray(n)?[...n,i]:[n,i]}function Fe(n){return n._rawValidators}function we(n){return n._rawAsyncValidators}function ue(n){return n?Array.isArray(n)?n:[n]:[]}function J(n,i){return Array.isArray(n)?n.includes(i):n===i}function De(n,i){const t=ue(i);return ue(n).forEach(a=>{J(t,a)||t.push(a)}),t}function fe(n,i){return ue(i).filter(t=>!J(n,t))}class Ve{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(i){this._rawValidators=i||[],this._composedValidatorFn=de(this._rawValidators)}_setAsyncValidators(i){this._rawAsyncValidators=i||[],this._composedAsyncValidatorFn=ce(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(i){this._onDestroyCallbacks.push(i)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(i=>i()),this._onDestroyCallbacks=[]}reset(i=void 0){this.control&&this.control.reset(i)}hasError(i,t){return!!this.control&&this.control.hasError(i,t)}getError(i,t){return this.control?this.control.getError(i,t):null}}class I extends Ve{get formDirective(){return null}get path(){return null}}class B extends Ve{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class me{constructor(i){this._cd=i}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Oe=(()=>{class n extends me{constructor(t){super(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(B,2))},n.\u0275dir=e.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,r){2&t&&e.ekj("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[e.qOj]}),n})(),he=(()=>{class n extends me{constructor(t){super(t)}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(I,10))},n.\u0275dir=e.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,r){2&t&&e.ekj("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[e.qOj]}),n})();const ie="VALID",le="INVALID",Q="PENDING",l="DISABLED";function f(n){return(A(n)?n.validators:n)||null}function s(n,i){return(A(i)?i.asyncValidators:n)||null}function A(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function K(n,i,t){const r=n.controls;if(!(i?Object.keys(r):r).length)throw new e.vHH(1e3,"");if(!r[t])throw new e.vHH(1001,"")}function H(n,i,t){n._forEachChild((r,a)=>{if(void 0===t[a])throw new e.vHH(1002,"")})}class ee{constructor(i,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(i),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(i){this._rawValidators=this._composedValidatorFn=i}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(i){this._rawAsyncValidators=this._composedAsyncValidatorFn=i}get parent(){return this._parent}get valid(){return this.status===ie}get invalid(){return this.status===le}get pending(){return this.status==Q}get disabled(){return this.status===l}get enabled(){return this.status!==l}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(i){this._assignValidators(i)}setAsyncValidators(i){this._assignAsyncValidators(i)}addValidators(i){this.setValidators(De(i,this._rawValidators))}addAsyncValidators(i){this.setAsyncValidators(De(i,this._rawAsyncValidators))}removeValidators(i){this.setValidators(fe(i,this._rawValidators))}removeAsyncValidators(i){this.setAsyncValidators(fe(i,this._rawAsyncValidators))}hasValidator(i){return J(this._rawValidators,i)}hasAsyncValidator(i){return J(this._rawAsyncValidators,i)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(i={}){this.touched=!0,this._parent&&!i.onlySelf&&this._parent.markAsTouched(i)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(i=>i.markAllAsTouched())}markAsUntouched(i={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}markAsDirty(i={}){this.pristine=!1,this._parent&&!i.onlySelf&&this._parent.markAsDirty(i)}markAsPristine(i={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}markAsPending(i={}){this.status=Q,!1!==i.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!i.onlySelf&&this._parent.markAsPending(i)}disable(i={}){const t=this._parentMarkedDirty(i.onlySelf);this.status=l,this.errors=null,this._forEachChild(r=>{r.disable({...i,onlySelf:!0})}),this._updateValue(),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...i,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(i={}){const t=this._parentMarkedDirty(i.onlySelf);this.status=ie,this._forEachChild(r=>{r.enable({...i,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent}),this._updateAncestors({...i,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(i){this._parent&&!i.onlySelf&&(this._parent.updateValueAndValidity(i),i.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(i){this._parent=i}getRawValue(){return this.value}updateValueAndValidity(i={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ie||this.status===Q)&&this._runAsyncValidator(i.emitEvent)),!1!==i.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!i.onlySelf&&this._parent.updateValueAndValidity(i)}_updateTreeValidity(i={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(i)),this.updateValueAndValidity({onlySelf:!0,emitEvent:i.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?l:ie}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(i){if(this.asyncValidator){this.status=Q,this._hasOwnPendingAsyncValidator=!0;const t=z(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:i})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(i,t={}){this.errors=i,this._updateControlsErrors(!1!==t.emitEvent)}get(i){let t=i;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,a)=>r&&r._find(a),this)}getError(i,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[i]:null}hasError(i,t){return!!this.getError(i,t)}get root(){let i=this;for(;i._parent;)i=i._parent;return i}_updateControlsErrors(i){this.status=this._calculateStatus(),i&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(i)}_initObservables(){this.valueChanges=new e.vpe,this.statusChanges=new e.vpe}_calculateStatus(){return this._allControlsDisabled()?l:this.errors?le:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Q)?Q:this._anyControlsHaveStatus(le)?le:ie}_anyControlsHaveStatus(i){return this._anyControls(t=>t.status===i)}_anyControlsDirty(){return this._anyControls(i=>i.dirty)}_anyControlsTouched(){return this._anyControls(i=>i.touched)}_updatePristine(i={}){this.pristine=!this._anyControlsDirty(),this._parent&&!i.onlySelf&&this._parent._updatePristine(i)}_updateTouched(i={}){this.touched=this._anyControlsTouched(),this._parent&&!i.onlySelf&&this._parent._updateTouched(i)}_registerOnCollectionChange(i){this._onCollectionChange=i}_setUpdateStrategy(i){A(i)&&null!=i.updateOn&&(this._updateOn=i.updateOn)}_parentMarkedDirty(i){return!i&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(i){return null}_assignValidators(i){this._rawValidators=Array.isArray(i)?i.slice():i,this._composedValidatorFn=function o(n){return Array.isArray(n)?de(n):n||null}(this._rawValidators)}_assignAsyncValidators(i){this._rawAsyncValidators=Array.isArray(i)?i.slice():i,this._composedAsyncValidatorFn=function b(n){return Array.isArray(n)?ce(n):n||null}(this._rawAsyncValidators)}}class te extends ee{constructor(i,t,r){super(f(t),s(r,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(i,t){return this.controls[i]?this.controls[i]:(this.controls[i]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(i,t,r={}){this.registerControl(i,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(i,t={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(i,t,r={}){this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),delete this.controls[i],t&&this.registerControl(i,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(i){return this.controls.hasOwnProperty(i)&&this.controls[i].enabled}setValue(i,t={}){H(this,0,i),Object.keys(i).forEach(r=>{K(this,!0,r),this.controls[r].setValue(i[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){null!=i&&(Object.keys(i).forEach(r=>{const a=this.controls[r];a&&a.patchValue(i[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i={},t={}){this._forEachChild((r,a)=>{r.reset(i[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(i,t,r)=>(i[r]=t.getRawValue(),i))}_syncPendingControls(){let i=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&i(r,t)})}_setUpControls(){this._forEachChild(i=>{i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(i){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&i(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,a)=>((r.enabled||this.disabled)&&(t[a]=r.value),t))}_reduceChildren(i,t){let r=i;return this._forEachChild((a,m)=>{r=t(r,a,m)}),r}_allControlsDisabled(){for(const i of Object.keys(this.controls))if(this.controls[i].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(i){return this.controls.hasOwnProperty(i)?this.controls[i]:null}}class pt extends te{}const ne=new e.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>_e}),_e="always";function Te(n,i){return[...i.path,n]}function ge(n,i,t=_e){Je(n,i),i.valueAccessor.writeValue(n.value),(n.disabled||"always"===t)&&i.valueAccessor.setDisabledState?.(n.disabled),function jt(n,i){i.valueAccessor.registerOnChange(t=>{n._pendingValue=t,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&_t(n,i)})}(n,i),function $t(n,i){const t=(r,a)=>{i.valueAccessor.writeValue(r),a&&i.viewToModelUpdate(r)};n.registerOnChange(t),i._registerOnDestroy(()=>{n._unregisterOnChange(t)})}(n,i),function Wt(n,i){i.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&_t(n,i),"submit"!==n.updateOn&&n.markAsTouched()})}(n,i),function qt(n,i){if(i.valueAccessor.setDisabledState){const t=r=>{i.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(t),i._registerOnDestroy(()=>{n._unregisterOnDisabledChange(t)})}}(n,i)}function Ne(n,i,t=!0){const r=()=>{};i.valueAccessor&&(i.valueAccessor.registerOnChange(r),i.valueAccessor.registerOnTouched(r)),Pe(n,i),n&&(i._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Re(n,i){n.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function Je(n,i){const t=Fe(n);null!==i.validator?n.setValidators(Ae(t,i.validator)):"function"==typeof t&&n.setValidators([t]);const r=we(n);null!==i.asyncValidator?n.setAsyncValidators(Ae(r,i.asyncValidator)):"function"==typeof r&&n.setAsyncValidators([r]);const a=()=>n.updateValueAndValidity();Re(i._rawValidators,a),Re(i._rawAsyncValidators,a)}function Pe(n,i){let t=!1;if(null!==n){if(null!==i.validator){const a=Fe(n);if(Array.isArray(a)&&a.length>0){const m=a.filter(S=>S!==i.validator);m.length!==a.length&&(t=!0,n.setValidators(m))}}if(null!==i.asyncValidator){const a=we(n);if(Array.isArray(a)&&a.length>0){const m=a.filter(S=>S!==i.asyncValidator);m.length!==a.length&&(t=!0,n.setAsyncValidators(m))}}}const r=()=>{};return Re(i._rawValidators,r),Re(i._rawAsyncValidators,r),t}function _t(n,i){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function gt(n,i){Je(n,i)}function Qe(n,i){if(!n.hasOwnProperty("model"))return!1;const t=n.model;return!!t.isFirstChange()||!Object.is(i,t.currentValue)}function xt(n,i){n._syncPendingControls(),i.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Ke(n,i){if(!i)return null;let t,r,a;return Array.isArray(i),i.forEach(m=>{m.constructor===k?t=m:function Qt(n){return Object.getPrototypeOf(n.constructor)===g}(m)?r=m:a=m}),a||r||t||null}const ei={provide:I,useExisting:(0,e.Gpc)(()=>Be)},xe=(()=>Promise.resolve())();let Be=(()=>{class n extends I{constructor(t,r,a){super(),this.callSetDisabledState=a,this.submitted=!1,this._directives=new Set,this.ngSubmit=new e.vpe,this.form=new te({},de(t),ce(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){xe.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),ge(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){xe.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){xe.then(()=>{const r=this._findContainer(t.path),a=new te({});gt(a,t),r.registerControl(t.name,a),a.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){xe.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){xe.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,xt(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d,10),e.Y36(c,10),e.Y36(ne,8))},n.\u0275dir=e.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,r){1&t&&e.NdJ("submit",function(m){return r.onSubmit(m)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([ei]),e.qOj]}),n})();function vt(n,i){const t=n.indexOf(i);t>-1&&n.splice(t,1)}function bt(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const se=class extends ee{constructor(i=null,t,r){super(f(t),s(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(i),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),A(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=bt(i)?i.value:i)}setValue(i,t={}){this.value=this._pendingValue=i,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(i,t={}){this.setValue(i,t)}reset(i=this.defaultValue,t={}){this._applyFormState(i),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(i){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(i){this._onChange.push(i)}_unregisterOnChange(i){vt(this._onChange,i)}registerOnDisabledChange(i){this._onDisabledChange.push(i)}_unregisterOnDisabledChange(i){vt(this._onDisabledChange,i)}_forEachChild(i){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(i){bt(i)?(this.value=this._pendingValue=i.value,i.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=i}},ni={provide:B,useExisting:(0,e.Gpc)(()=>et)},Mt=(()=>Promise.resolve())();let et=(()=>{class n extends B{constructor(t,r,a,m,S,j){super(),this._changeDetectorRef=S,this.callSetDisabledState=j,this.control=new se,this._registered=!1,this.name="",this.update=new e.vpe,this._parent=t,this._setValidators(r),this._setAsyncValidators(a),this.valueAccessor=Ke(0,m)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),Qe(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){ge(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Mt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,a=0!==r&&(0,e.VuI)(r);Mt.then(()=>{a&&!this.control.disabled?this.control.disable():!a&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?Te(t,this._parent):[t]}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(I,9),e.Y36(d,10),e.Y36(c,10),e.Y36(V,10),e.Y36(e.sBO,8),e.Y36(ne,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[e._Bn([ni]),e.qOj,e.TTD]}),n})(),Et=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const ri={provide:V,useExisting:(0,e.Gpc)(()=>tt),multi:!0};let tt=(()=>{class n extends g{writeValue(t){this.setProperty("value",t??"")}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=e.n5z(n)))(r||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,r){1&t&&e.NdJ("input",function(m){return r.onChange(m.target.value)})("blur",function(){return r.onTouched()})},features:[e._Bn([ri]),e.qOj]}),n})(),At=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({}),n})();const li={provide:V,useExisting:(0,e.Gpc)(()=>it),multi:!0};let it=(()=>{class n extends g{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=e.n5z(n)))(r||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,r){1&t&&e.NdJ("change",function(m){return r.onChange(m.target.value)})("input",function(m){return r.onChange(m.target.value)})("blur",function(){return r.onTouched()})},features:[e._Bn([li]),e.qOj]}),n})();const nt=new e.OlP("NgModelWithFormControlWarning"),si={provide:B,useExisting:(0,e.Gpc)(()=>rt)};let rt=(()=>{class n extends B{set isDisabled(t){}constructor(t,r,a,m,S){super(),this._ngModelWarningConfig=m,this.callSetDisabledState=S,this.update=new e.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(r),this.valueAccessor=Ke(0,a)}ngOnChanges(t){if(this._isControlChanged(t)){const r=t.form.previousValue;r&&Ne(r,this,!1),ge(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Qe(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ne(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(t){return new(t||n)(e.Y36(d,10),e.Y36(c,10),e.Y36(V,10),e.Y36(nt,8),e.Y36(ne,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[e._Bn([si]),e.qOj,e.TTD]}),n})();const di={provide:I,useExisting:(0,e.Gpc)(()=>Le)};let Le=(()=>{class n extends I{constructor(t,r,a){super(),this.callSetDisabledState=a,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new e.vpe,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Pe(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return ge(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){Ne(t.control||null,t,!1),function Kt(n,i){const t=n.indexOf(i);t>-1&&n.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,xt(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,a=this.form.get(t.path);r!==a&&(Ne(r||null,t),(n=>n instanceof se)(a)&&(ge(a,t,this.callSetDisabledState),t.control=a))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);gt(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function Jt(n,i){return Pe(n,i)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Je(this.form,this),this._oldForm&&Pe(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d,10),e.Y36(c,10),e.Y36(ne,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(t,r){1&t&&e.NdJ("submit",function(m){return r.onSubmit(m)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[e._Bn([di]),e.qOj,e.TTD]}),n})();const fi={provide:B,useExisting:(0,e.Gpc)(()=>lt)};let lt=(()=>{class n extends B{set isDisabled(t){}constructor(t,r,a,m,S){super(),this._ngModelWarningConfig=S,this._added=!1,this.name=null,this.update=new e.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(a),this.valueAccessor=Ke(0,m)}ngOnChanges(t){this._added||this._setUpControl(),Qe(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Te(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(t){return new(t||n)(e.Y36(I,13),e.Y36(d,10),e.Y36(c,10),e.Y36(V,10),e.Y36(nt,8))},n.\u0275dir=e.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[e._Bn([fi]),e.qOj,e.TTD]}),n})();const mi={provide:V,useExisting:(0,e.Gpc)(()=>ke),multi:!0};function Dt(n,i){return null==n?`${i}`:(i&&"object"==typeof i&&(i="Object"),`${n}: ${i}`.slice(0,50))}let ke=(()=>{class n extends g{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const a=Dt(this._getOptionId(t),t);this.setProperty("value",a)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function hi(n){return n.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=e.n5z(n)))(r||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,r){1&t&&e.NdJ("change",function(m){return r.onChange(m.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([mi]),e.qOj]}),n})(),Vt=(()=>{class n{constructor(t,r,a){this._element=t,this._renderer=r,this._select=a,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(Dt(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(ke,9))},n.\u0275dir=e.lG2({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),n})();const pi={provide:V,useExisting:(0,e.Gpc)(()=>st),multi:!0};function Ot(n,i){return null==n?`${i}`:("string"==typeof i&&(i=`'${i}'`),i&&"object"==typeof i&&(i="Object"),`${n}: ${i}`.slice(0,50))}let st=(()=>{class n extends g{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const a=t.map(m=>this._getOptionId(m));r=(m,S)=>{m._setSelected(a.indexOf(S.toString())>-1)}}else r=(a,m)=>{a._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const a=[],m=r.selectedOptions;if(void 0!==m){const S=m;for(let j=0;j<S.length;j++){const ct=this._getOptionValue(S[j].value);a.push(ct)}}else{const S=r.options;for(let j=0;j<S.length;j++){const Ge=S[j];if(Ge.selected){const ct=this._getOptionValue(Ge.value);a.push(ct)}}}this.value=a,t(a)}}_registerOption(t){const r=(this._idCounter++).toString();return this._optionMap.set(r,t),r}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,t))return r;return null}_getOptionValue(t){const r=function _i(n){return n.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r)._value:t}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=e.n5z(n)))(r||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(t,r){1&t&&e.NdJ("change",function(m){return r.onChange(m.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[e._Bn([pi]),e.qOj]}),n})(),St=(()=>{class n{constructor(t,r,a){this._element=t,this._renderer=r,this._select=a,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Ot(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Ot(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(st,9))},n.\u0275dir=e.lG2({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),n})(),re=(()=>{class n{constructor(){this._validator=q}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):q,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275dir=e.lG2({type:n,features:[e.TTD]}),n})();const vi={provide:d,useExisting:(0,e.Gpc)(()=>He),multi:!0},bi={provide:d,useExisting:(0,e.Gpc)(()=>dt),multi:!0};let He=(()=>{class n extends re{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e.VuI,this.createValidator=t=>u}enabled(t){return t}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=e.n5z(n)))(r||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,r){2&t&&e.uIk("required",r._enabled?"":null)},inputs:{required:"required"},features:[e._Bn([vi]),e.qOj]}),n})(),dt=(()=>{class n extends He{constructor(){super(...arguments),this.createValidator=t=>y}}return n.\u0275fac=function(){let i;return function(r){return(i||(i=e.n5z(n)))(r||n)}}(),n.\u0275dir=e.lG2({type:n,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,r){2&t&&e.uIk("required",r._enabled?"":null)},features:[e._Bn([bi]),e.qOj]}),n})(),Ht=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[At]}),n})();class Gt extends ee{constructor(i,t,r){super(f(t),s(r,t)),this.controls=i,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(i){return this.controls[this._adjustIndex(i)]}push(i,t={}){this.controls.push(i),this._registerControl(i),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(i,t,r={}){this.controls.splice(i,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(i,t={}){let r=this._adjustIndex(i);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(i,t,r={}){let a=this._adjustIndex(i);a<0&&(a=0),this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),this.controls.splice(a,1),t&&(this.controls.splice(a,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(i,t={}){H(this,0,i),i.forEach((r,a)=>{K(this,!1,a),this.at(a).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(i,t={}){null!=i&&(i.forEach((r,a)=>{this.at(a)&&this.at(a).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(i=[],t={}){this._forEachChild((r,a)=>{r.reset(i[a],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(i=>i.getRawValue())}clear(i={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:i.emitEvent}))}_adjustIndex(i){return i<0?i+this.length:i}_syncPendingControls(){let i=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return i&&this.updateValueAndValidity({onlySelf:!0}),i}_forEachChild(i){this.controls.forEach((t,r)=>{i(t,r)})}_updateValue(){this.value=this.controls.filter(i=>i.enabled||this.disabled).map(i=>i.value)}_anyControls(i){return this.controls.some(t=>t.enabled&&i(t))}_setUpControls(){this._forEachChild(i=>this._registerControl(i))}_allControlsDisabled(){for(const i of this.controls)if(i.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(i){i.setParent(this),i._registerOnCollectionChange(this._onCollectionChange)}_find(i){return this.at(i)??null}}function Ut(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let Ai=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new n;return t.useNonNullable=!0,t}group(t,r=null){const a=this._reduceControls(t);let m={};return Ut(r)?m=r:null!==r&&(m.validators=r.validator,m.asyncValidators=r.asyncValidator),new te(a,m)}record(t,r=null){const a=this._reduceControls(t);return new pt(a,r)}control(t,r,a){let m={};return this.useNonNullable?(Ut(r)?m=r:(m.validators=r,m.asyncValidators=a),new se(t,{...m,nonNullable:!0})):new se(t,r,a)}array(t,r,a){const m=t.map(S=>this._createControl(S));return new Gt(m,r,a)}_reduceControls(t){const r={};return Object.keys(t).forEach(a=>{r[a]=this._createControl(t[a])}),r}_createControl(t){return t instanceof se||t instanceof ee?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),Fi=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:ne,useValue:t.callSetDisabledState??_e}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Ht]}),n})(),wi=(()=>{class n{static withConfig(t){return{ngModule:n,providers:[{provide:nt,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:ne,useValue:t.callSetDisabledState??_e}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[Ht]}),n})()},4170:(ve,G,_)=>{_.d(G,{G_:()=>qe,TO:()=>Ve,KE:()=>le,Eo:()=>Ze,lN:()=>Q,bx:()=>B,hX:()=>J,qo:()=>ut,R9:()=>Oe});var e=_(5879),M=_(9388),T=_(2831),E=_(7902),h=_(2079),w=_(7354),g=_(9352),V=_(4699),W=_(7734),R=_(9185);class Z{constructor(f){this._box=f,this._destroyed=new h.xQ,this._resizeSubject=new h.xQ,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(o=>this._resizeSubject.next(o)))}observe(f){return this._elementObservables.has(f)||this._elementObservables.set(f,new V.y(o=>{const s=this._resizeSubject.subscribe(o);return this._resizeObserver?.observe(f,{box:this._box}),()=>{this._resizeObserver?.unobserve(f),s.unsubscribe(),this._elementObservables.delete(f)}}).pipe((0,W.h)(o=>o.some(s=>s.target===f)),(0,R.d)({bufferSize:1,refCount:!0}),(0,g.R)(this._destroyed))),this._elementObservables.get(f)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}}let L=(()=>{class l{constructor(){this._observers=new Map,this._ngZone=(0,e.f3M)(e.R0b)}ngOnDestroy(){for(const[,o]of this._observers)o.destroy();this._observers.clear()}observe(o,s){const b=s?.box||"content-box";return this._observers.has(b)||this._observers.set(b,new Z(b)),this._observers.get(b).observe(o)}}return l.\u0275fac=function(o){return new(o||l)},l.\u0275prov=e.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"}),l})();var k=_(2495),v=_(6825),C=_(6814),d=_(7131),c=_(3680);const p=["notch"],D=["matFormFieldNotchedOutline",""],O=["*"],P=["textField"],u=["iconPrefixContainer"],y=["textPrefixContainer"];function x(l,f){1&l&&e._UZ(0,"span",19)}function F(l,f){if(1&l&&(e.TgZ(0,"label",17),e.Hsn(1,1),e.YNc(2,x,1,0,"span",18),e.qZA()),2&l){const o=e.oxw(2);e.Q6J("floating",o._shouldLabelFloat())("monitorResize",o._hasOutline())("id",o._labelId),e.uIk("for",o._control.id)("aria-owns",o._control.id),e.xp6(2),e.Q6J("ngIf",!o.hideRequiredMarker&&o._control.required)}}function N(l,f){if(1&l&&e.YNc(0,F,3,6,"label",16),2&l){const o=e.oxw();e.Q6J("ngIf",o._hasFloatingLabel())}}function U(l,f){1&l&&e._UZ(0,"div",20)}function q(l,f){}function $(l,f){if(1&l&&e.YNc(0,q,0,0,"ng-template",22),2&l){e.oxw(2);const o=e.MAs(1);e.Q6J("ngTemplateOutlet",o)}}function z(l,f){if(1&l&&(e.TgZ(0,"div",21),e.YNc(1,$,1,1,"ng-template",9),e.qZA()),2&l){const o=e.oxw();e.Q6J("matFormFieldNotchedOutlineOpen",o._shouldLabelFloat()),e.xp6(1),e.Q6J("ngIf",!o._forceDisplayInfixLabel())}}function be(l,f){1&l&&(e.TgZ(0,"div",23,24),e.Hsn(2,2),e.qZA())}function ye(l,f){1&l&&(e.TgZ(0,"div",25,26),e.Hsn(2,3),e.qZA())}function Ue(l,f){}function Ce(l,f){if(1&l&&e.YNc(0,Ue,0,0,"ng-template",22),2&l){e.oxw();const o=e.MAs(1);e.Q6J("ngTemplateOutlet",o)}}function Me(l,f){1&l&&(e.TgZ(0,"div",27),e.Hsn(1,4),e.qZA())}function de(l,f){1&l&&(e.TgZ(0,"div",28),e.Hsn(1,5),e.qZA())}function Ee(l,f){1&l&&e._UZ(0,"div",29)}function ce(l,f){if(1&l&&(e.TgZ(0,"div",30),e.Hsn(1,6),e.qZA()),2&l){const o=e.oxw();e.Q6J("@transitionMessages",o._subscriptAnimationState)}}function Ae(l,f){if(1&l&&(e.TgZ(0,"mat-hint",34),e._uU(1),e.qZA()),2&l){const o=e.oxw(2);e.Q6J("id",o._hintLabelId),e.xp6(1),e.Oqu(o.hintLabel)}}function Fe(l,f){if(1&l&&(e.TgZ(0,"div",31),e.YNc(1,Ae,2,2,"mat-hint",32),e.Hsn(2,7),e._UZ(3,"div",33),e.Hsn(4,8),e.qZA()),2&l){const o=e.oxw();e.Q6J("@transitionMessages",o._subscriptAnimationState),e.xp6(1),e.Q6J("ngIf",o.hintLabel)}}const we=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],ue=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let J=(()=>{class l{}return l.\u0275fac=function(o){return new(o||l)},l.\u0275dir=e.lG2({type:l,selectors:[["mat-label"]]}),l})(),De=0;const fe=new e.OlP("MatError");let Ve=(()=>{class l{constructor(o,s){this.id="mat-mdc-error-"+De++,o||s.nativeElement.setAttribute("aria-live","polite")}}return l.\u0275fac=function(o){return new(o||l)(e.$8M("aria-live"),e.Y36(e.SBq))},l.\u0275dir=e.lG2({type:l,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(o,s){2&o&&e.Ikx("id",s.id)},inputs:{id:"id"},features:[e._Bn([{provide:fe,useExisting:l}])]}),l})(),I=0,B=(()=>{class l{constructor(){this.align="start",this.id="mat-mdc-hint-"+I++}}return l.\u0275fac=function(o){return new(o||l)},l.\u0275dir=e.lG2({type:l,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(o,s){2&o&&(e.Ikx("id",s.id),e.uIk("align",null),e.ekj("mat-mdc-form-field-hint-end","end"===s.align))},inputs:{align:"align",id:"id"}}),l})();const me=new e.OlP("MatPrefix");let ut=(()=>{class l{constructor(){this._isText=!1}set _isTextSelector(o){this._isText=!0}}return l.\u0275fac=function(o){return new(o||l)},l.\u0275dir=e.lG2({type:l,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:["matTextPrefix","_isTextSelector"]},features:[e._Bn([{provide:me,useExisting:l}])]}),l})();const ze=new e.OlP("MatSuffix");let Oe=(()=>{class l{constructor(){this._isText=!1}set _isTextSelector(o){this._isText=!0}}return l.\u0275fac=function(o){return new(o||l)},l.\u0275dir=e.lG2({type:l,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[e._Bn([{provide:ze,useExisting:l}])]}),l})();const he=new e.OlP("FloatingLabelParent");let oe=(()=>{class l{get floating(){return this._floating}set floating(o){this._floating=o,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(o){this._monitorResize=o,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(o){this._elementRef=o,this._floating=!1,this._monitorResize=!1,this._resizeObserver=(0,e.f3M)(L),this._ngZone=(0,e.f3M)(e.R0b),this._parent=(0,e.f3M)(he),this._resizeSubscription=new E.w}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return function ae(l){if(null!==l.offsetParent)return l.scrollWidth;const o=l.cloneNode(!0);o.style.setProperty("position","absolute"),o.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(o);const s=o.scrollWidth;return o.remove(),s}(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())})}}return l.\u0275fac=function(o){return new(o||l)(e.Y36(e.SBq))},l.\u0275dir=e.lG2({type:l,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(o,s){2&o&&e.ekj("mdc-floating-label--float-above",s.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}}),l})();const Se="mdc-line-ripple--active",X="mdc-line-ripple--deactivating";let Ie=(()=>{class l{constructor(o,s){this._elementRef=o,this._handleTransitionEnd=b=>{const A=this._elementRef.nativeElement.classList,K=A.contains(X);"opacity"===b.propertyName&&K&&A.remove(Se,X)},s.runOutsideAngular(()=>{o.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const o=this._elementRef.nativeElement.classList;o.remove(X),o.add(Se)}deactivate(){this._elementRef.nativeElement.classList.add(X)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return l.\u0275fac=function(o){return new(o||l)(e.Y36(e.SBq),e.Y36(e.R0b))},l.\u0275dir=e.lG2({type:l,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),l})(),Ye=(()=>{class l{constructor(o,s){this._elementRef=o,this._ngZone=s,this.open=!1}ngAfterViewInit(){const o=this._elementRef.nativeElement.querySelector(".mdc-floating-label");o?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(o.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>o.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(o){this._notch.nativeElement.style.width=this.open&&o?`calc(${o}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:""}}return l.\u0275fac=function(o){return new(o||l)(e.Y36(e.SBq),e.Y36(e.R0b))},l.\u0275cmp=e.Xpm({type:l,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(o,s){if(1&o&&e.Gf(p,5),2&o){let b;e.iGM(b=e.CRH())&&(s._notch=b.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(o,s){2&o&&e.ekj("mdc-notched-outline--notched",s.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:D,ngContentSelectors:O,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(o,s){1&o&&(e.F$t(),e._UZ(0,"div",0),e.TgZ(1,"div",1,2),e.Hsn(3),e.qZA(),e._UZ(4,"div",3))},encapsulation:2,changeDetection:0}),l})();const ft={transitionMessages:(0,v.X$)("transitionMessages",[(0,v.SB)("enter",(0,v.oB)({opacity:1,transform:"translateY(0%)"})),(0,v.eR)("void => enter",[(0,v.oB)({opacity:0,transform:"translateY(-5px)"}),(0,v.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ze=(()=>{class l{}return l.\u0275fac=function(o){return new(o||l)},l.\u0275dir=e.lG2({type:l}),l})();const qe=new e.OlP("MatFormField"),je=new e.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let pe=0,le=(()=>{class l{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(o){this._hideRequiredMarker=(0,k.Ig)(o)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(o){o!==this._floatLabel&&(this._floatLabel=o,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(o){const s=this._appearance;this._appearance=o||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==s&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(o){this._subscriptSizing=o||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(o){this._hintLabel=o,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(o){this._explicitFormFieldControl=o}constructor(o,s,b,A,K,H,ee,te){this._elementRef=o,this._changeDetectorRef=s,this._ngZone=b,this._dir=A,this._platform=K,this._defaults=H,this._animationMode=ee,this._hideRequiredMarker=!1,this.color="primary",this._appearance="fill",this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-"+pe++,this._hintLabelId="mat-mdc-hint-"+pe++,this._subscriptAnimationState="",this._destroyed=new h.xQ,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,H&&(H.appearance&&(this.appearance=H.appearance),this._hideRequiredMarker=!!H?.hideRequiredMarker,H.color&&(this.color=H.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){const o=this._control;o.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${o.controlType}`),o.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),o.ngControl&&o.ngControl.valueChanges&&o.ngControl.valueChanges.pipe((0,g.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(o=>!o._isText),this._hasTextPrefix=!!this._prefixChildren.find(o=>o._isText),this._hasIconSuffix=!!this._suffixChildren.find(o=>!o._isText),this._hasTextSuffix=!!this._suffixChildren.find(o=>o._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,w.T)(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(){}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||null===this._isFocused)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,g.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,g.R)(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return"always"===this.floatLabel}_hasOutline(){return"outline"===this.appearance}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(o){const s=this._control?this._control.ngControl:null;return s&&s[o]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){this._hasOutline()&&this._floatingLabel&&this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth()):this._notchedOutline?._setNotchWidth(0)}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let o=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&o.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const s=this._hintChildren?this._hintChildren.find(A=>"start"===A.align):null,b=this._hintChildren?this._hintChildren.find(A=>"end"===A.align):null;s?o.push(s.id):this._hintLabel&&o.push(this._hintLabelId),b&&o.push(b.id)}else this._errorChildren&&o.push(...this._errorChildren.map(s=>s.id));this._control.setDescribedByIds(o)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const o=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(o.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const s=this._iconPrefixContainer?.nativeElement,b=this._textPrefixContainer?.nativeElement,A=s?.getBoundingClientRect().width??0,K=b?.getBoundingClientRect().width??0;o.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${A+K}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const o=this._elementRef.nativeElement;if(o.getRootNode){const s=o.getRootNode();return s&&s!==o}return document.documentElement.contains(o)}}return l.\u0275fac=function(o){return new(o||l)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(M.Is),e.Y36(T.t4),e.Y36(je,8),e.Y36(e.QbO,8),e.Y36(C.K0))},l.\u0275cmp=e.Xpm({type:l,selectors:[["mat-form-field"]],contentQueries:function(o,s,b){if(1&o&&(e.Suo(b,J,5),e.Suo(b,J,7),e.Suo(b,Ze,5),e.Suo(b,me,5),e.Suo(b,ze,5),e.Suo(b,fe,5),e.Suo(b,B,5)),2&o){let A;e.iGM(A=e.CRH())&&(s._labelChildNonStatic=A.first),e.iGM(A=e.CRH())&&(s._labelChildStatic=A.first),e.iGM(A=e.CRH())&&(s._formFieldControl=A.first),e.iGM(A=e.CRH())&&(s._prefixChildren=A),e.iGM(A=e.CRH())&&(s._suffixChildren=A),e.iGM(A=e.CRH())&&(s._errorChildren=A),e.iGM(A=e.CRH())&&(s._hintChildren=A)}},viewQuery:function(o,s){if(1&o&&(e.Gf(P,5),e.Gf(u,5),e.Gf(y,5),e.Gf(oe,5),e.Gf(Ye,5),e.Gf(Ie,5)),2&o){let b;e.iGM(b=e.CRH())&&(s._textField=b.first),e.iGM(b=e.CRH())&&(s._iconPrefixContainer=b.first),e.iGM(b=e.CRH())&&(s._textPrefixContainer=b.first),e.iGM(b=e.CRH())&&(s._floatingLabel=b.first),e.iGM(b=e.CRH())&&(s._notchedOutline=b.first),e.iGM(b=e.CRH())&&(s._lineRipple=b.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(o,s){2&o&&e.ekj("mat-mdc-form-field-label-always-float",s._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",s._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",s._hasIconSuffix)("mat-form-field-invalid",s._control.errorState)("mat-form-field-disabled",s._control.disabled)("mat-form-field-autofilled",s._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===s._animationMode)("mat-form-field-appearance-fill","fill"==s.appearance)("mat-form-field-appearance-outline","outline"==s.appearance)("mat-form-field-hide-placeholder",s._hasFloatingLabel()&&!s._shouldLabelFloat())("mat-focused",s._control.focused)("mat-primary","accent"!==s.color&&"warn"!==s.color)("mat-accent","accent"===s.color)("mat-warn","warn"===s.color)("ng-untouched",s._shouldForward("untouched"))("ng-touched",s._shouldForward("touched"))("ng-pristine",s._shouldForward("pristine"))("ng-dirty",s._shouldForward("dirty"))("ng-valid",s._shouldForward("valid"))("ng-invalid",s._shouldForward("invalid"))("ng-pending",s._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[e._Bn([{provide:qe,useExisting:l},{provide:he,useExisting:l}])],ngContentSelectors:ue,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(o,s){1&o&&(e.F$t(we),e.YNc(0,N,1,1,"ng-template",null,0,e.W1O),e.TgZ(2,"div",1,2),e.NdJ("click",function(A){return s._control.onContainerClick(A)}),e.YNc(4,U,1,0,"div",3),e.TgZ(5,"div",4),e.YNc(6,z,2,2,"div",5),e.YNc(7,be,3,0,"div",6),e.YNc(8,ye,3,0,"div",7),e.TgZ(9,"div",8),e.YNc(10,Ce,1,1,"ng-template",9),e.Hsn(11),e.qZA(),e.YNc(12,Me,2,0,"div",10),e.YNc(13,de,2,0,"div",11),e.qZA(),e.YNc(14,Ee,1,0,"div",12),e.qZA(),e.TgZ(15,"div",13),e.YNc(16,ce,2,1,"div",14),e.YNc(17,Fe,5,2,"div",15),e.qZA()),2&o&&(e.xp6(2),e.ekj("mdc-text-field--filled",!s._hasOutline())("mdc-text-field--outlined",s._hasOutline())("mdc-text-field--no-label",!s._hasFloatingLabel())("mdc-text-field--disabled",s._control.disabled)("mdc-text-field--invalid",s._control.errorState),e.xp6(2),e.Q6J("ngIf",!s._hasOutline()&&!s._control.disabled),e.xp6(2),e.Q6J("ngIf",s._hasOutline()),e.xp6(1),e.Q6J("ngIf",s._hasIconPrefix),e.xp6(1),e.Q6J("ngIf",s._hasTextPrefix),e.xp6(2),e.Q6J("ngIf",!s._hasOutline()||s._forceDisplayInfixLabel()),e.xp6(2),e.Q6J("ngIf",s._hasTextSuffix),e.xp6(1),e.Q6J("ngIf",s._hasIconSuffix),e.xp6(1),e.Q6J("ngIf",!s._hasOutline()),e.xp6(1),e.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===s.subscriptSizing),e.Q6J("ngSwitch",s._getDisplayedMessages()),e.xp6(1),e.Q6J("ngSwitchCase","error"),e.xp6(1),e.Q6J("ngSwitchCase","hint"))},dependencies:[C.O5,C.tP,C.RF,C.n9,B,oe,Ye,Ie],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.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__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.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-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;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,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.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,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.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-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,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px * 2)}.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}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.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{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.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}.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-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-text-field-wrapper::before{content:none}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}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}.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}[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-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}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-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}[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%}.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,[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-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.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 .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[ft.transitionMessages]},changeDetection:0}),l})(),Q=(()=>{class l{}return l.\u0275fac=function(o){return new(o||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[c.BQ,C.ez,d.Q8,c.BQ]}),l})()},4516:(ve,G,_)=>{_.d(G,{Jk:()=>R,Nt:()=>k,c:()=>v});var e=_(2495),M=_(2831),T=_(6263),E=_(5879),h=_(6223),w=_(3680),g=_(4170),V=_(2079);const R=new E.OlP("MAT_INPUT_VALUE_ACCESSOR"),Y=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Z=0;const L=(0,w.FD)(class{constructor(C,d,c,p){this._defaultErrorStateMatcher=C,this._parentForm=d,this._parentFormGroup=c,this.ngControl=p,this.stateChanges=new V.xQ}});let k=(()=>{class C extends L{get disabled(){return this._disabled}set disabled(c){this._disabled=(0,e.Ig)(c),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(c){this._id=c||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(h.kI.required)??!1}set required(c){this._required=(0,e.Ig)(c)}get type(){return this._type}set type(c){this._type=c||"text",this._validateType(),!this._isTextarea&&(0,M.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(c){c!==this.value&&(this._inputValueAccessor.value=c,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(c){this._readonly=(0,e.Ig)(c)}constructor(c,p,D,O,P,u,y,x,F,N){super(u,O,P,D),this._elementRef=c,this._platform=p,this._autofillMonitor=x,this._formField=N,this._uid="mat-input-"+Z++,this.focused=!1,this.stateChanges=new V.xQ,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter($=>(0,M.qK)().has($)),this._iOSKeyupListener=$=>{const z=$.target;!z.value&&0===z.selectionStart&&0===z.selectionEnd&&(z.setSelectionRange(1,1),z.setSelectionRange(0,0))};const U=this._elementRef.nativeElement,q=U.nodeName.toLowerCase();this._inputValueAccessor=y||U,this._previousNativeValue=this.value,this.id=this.id,p.IOS&&F.runOutsideAngular(()=>{c.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===q,this._isTextarea="textarea"===q,this._isInFormField=!!N,this._isNativeSelect&&(this.controlType=U.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(c=>{this.autofilled=c.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(c){this._elementRef.nativeElement.focus(c)}_focusChanged(c){c!==this.focused&&(this.focused=c,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const c=this._elementRef.nativeElement.value;this._previousNativeValue!==c&&(this._previousNativeValue=c,this.stateChanges.next())}_dirtyCheckPlaceholder(){const c=this._getPlaceholder();if(c!==this._previousPlaceholder){const p=this._elementRef.nativeElement;this._previousPlaceholder=c,c?p.setAttribute("placeholder",c):p.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Y.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let c=this._elementRef.nativeElement.validity;return c&&c.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const c=this._elementRef.nativeElement,p=c.options[0];return this.focused||c.multiple||!this.empty||!!(c.selectedIndex>-1&&p&&p.label)}return this.focused||!this.empty}setDescribedByIds(c){c.length?this._elementRef.nativeElement.setAttribute("aria-describedby",c.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const c=this._elementRef.nativeElement;return this._isNativeSelect&&(c.multiple||c.size>1)}}return C.\u0275fac=function(c){return new(c||C)(E.Y36(E.SBq),E.Y36(M.t4),E.Y36(h.a5,10),E.Y36(h.F,8),E.Y36(h.sg,8),E.Y36(w.rD),E.Y36(R,10),E.Y36(T.Lq),E.Y36(E.R0b),E.Y36(g.G_,8))},C.\u0275dir=E.lG2({type:C,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(c,p){1&c&&E.NdJ("focus",function(){return p._focusChanged(!0)})("blur",function(){return p._focusChanged(!1)})("input",function(){return p._onInput()}),2&c&&(E.Ikx("id",p.id)("disabled",p.disabled)("required",p.required),E.uIk("name",p.name||null)("readonly",p.readonly&&!p._isNativeSelect||null)("aria-invalid",p.empty&&p.required?null:p.errorState)("aria-required",p.required)("id",p.id),E.ekj("mat-input-server",p._isServer)("mat-mdc-form-field-textarea-control",p._isInFormField&&p._isTextarea)("mat-mdc-form-field-input-control",p._isInFormField)("mdc-text-field__input",p._isInFormField)("mat-mdc-native-select-inline",p._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[E._Bn([{provide:g.Eo,useExisting:C}]),E.qOj,E.TTD]}),C})(),v=(()=>{class C{}return C.\u0275fac=function(c){return new(c||C)},C.\u0275mod=E.oAB({type:C}),C.\u0275inj=E.cJS({imports:[w.BQ,g.lN,g.lN,T.Ky,w.BQ]}),C})()}}]);