-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path6133.aed9a90936c7b940.js
1 lines (1 loc) · 59.5 KB
/
6133.aed9a90936c7b940.js
1
"use strict";(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[6133],{6133:(Be,N,f)=>{f.r(N),f.d(N,{ButtonToggleAppearanceExample:()=>H,ButtonToggleExclusiveExample:()=>D,ButtonToggleFormsExample:()=>x,ButtonToggleHarnessExample:()=>C,ButtonToggleModeExample:()=>O,ButtonToggleOverviewExample:()=>A});var o=f(5879),g=f(9488),G=f(617),l=f(6223);let H=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=o.Xpm({type:d,selectors:[["button-toggle-appearance-example"]],standalone:!0,features:[o.jDz],decls:18,vars:0,consts:[["name","fontStyle","aria-label","Font Style"],["value","bold"],["value","italic"],["value","underline"],["appearance","legacy","name","fontStyle","aria-label","Font Style"]],template:function(c,m){1&c&&(o.TgZ(0,"p"),o._uU(1," Default appearance: "),o.TgZ(2,"mat-button-toggle-group",0)(3,"mat-button-toggle",1),o._uU(4,"Bold"),o.qZA(),o.TgZ(5,"mat-button-toggle",2),o._uU(6,"Italic"),o.qZA(),o.TgZ(7,"mat-button-toggle",3),o._uU(8,"Underline"),o.qZA()()(),o.TgZ(9,"p"),o._uU(10," Legacy appearance: "),o.TgZ(11,"mat-button-toggle-group",4)(12,"mat-button-toggle",1),o._uU(13,"Bold"),o.qZA(),o.TgZ(14,"mat-button-toggle",2),o._uU(15,"Italic"),o.qZA(),o.TgZ(16,"mat-button-toggle",3),o._uU(17,"Underline"),o.qZA()()())},dependencies:[g.vV,g.A9,g.Yi],styles:["mat-button-toggle-group[_ngcontent-%COMP%] {\n margin-left: 12px;\n}"]}),d})(),D=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=o.Xpm({type:d,selectors:[["button-toggle-exclusive-example"]],standalone:!0,features:[o.jDz],decls:16,vars:1,consts:[["group","matButtonToggleGroup"],["value","left","aria-label","Text align left"],["value","center","aria-label","Text align center"],["value","right","aria-label","Text align right"],["value","justify","disabled","","aria-label","Text align justify"],[1,"example-selected-value"]],template:function(c,m){if(1&c&&(o.TgZ(0,"mat-button-toggle-group",null,0)(2,"mat-button-toggle",1)(3,"mat-icon"),o._uU(4,"format_align_left"),o.qZA()(),o.TgZ(5,"mat-button-toggle",2)(6,"mat-icon"),o._uU(7,"format_align_center"),o.qZA()(),o.TgZ(8,"mat-button-toggle",3)(9,"mat-icon"),o._uU(10,"format_align_right"),o.qZA()(),o.TgZ(11,"mat-button-toggle",4)(12,"mat-icon"),o._uU(13,"format_align_justify"),o.qZA()()(),o.TgZ(14,"div",5),o._uU(15),o.qZA()),2&c){const M=o.MAs(1);o.xp6(15),o.hij("Selected value: ",M.value,"")}},dependencies:[g.vV,g.A9,g.Yi,G.Ps,G.Hw],styles:[".example-selected-value[_ngcontent-%COMP%] {\n margin: 15px 0;\n}"]}),d})(),A=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=o.Xpm({type:d,selectors:[["button-toggle-overview-example"]],standalone:!0,features:[o.jDz],decls:7,vars:0,consts:[["name","fontStyle","aria-label","Font Style"],["value","bold"],["value","italic"],["value","underline"]],template:function(c,m){1&c&&(o.TgZ(0,"mat-button-toggle-group",0)(1,"mat-button-toggle",1),o._uU(2,"Bold"),o.qZA(),o.TgZ(3,"mat-button-toggle",2),o._uU(4,"Italic"),o.qZA(),o.TgZ(5,"mat-button-toggle",3),o._uU(6,"Underline"),o.qZA()())},dependencies:[g.vV,g.A9,g.Yi],encapsulation:2}),d})(),C=(()=>{class d{constructor(){this.disabled=!1,this.appearance="standard"}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=o.Xpm({type:d,selectors:[["button-toggle-harness-example"]],standalone:!0,features:[o.jDz],decls:5,vars:2,consts:[[3,"disabled","appearance"],["value","1"],["value","2"]],template:function(c,m){1&c&&(o.TgZ(0,"mat-button-toggle-group",0)(1,"mat-button-toggle",1),o._uU(2,"One"),o.qZA(),o.TgZ(3,"mat-button-toggle",2),o._uU(4,"Two"),o.qZA()()),2&c&&o.Q6J("disabled",m.disabled)("appearance",m.appearance)},dependencies:[g.vV,g.A9,g.Yi],encapsulation:2}),d})(),x=(()=>{class d{constructor(){this.fontStyleControl=new l.NI("")}}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=o.Xpm({type:d,selectors:[["button-toggle-forms-example"]],standalone:!0,features:[o.jDz],decls:24,vars:4,consts:[["aria-label","Font Style",3,"ngModel","ngModelChange"],["value","bold"],["value","italic"],["value","underline"],["aria-label","Font Style",3,"formControl"]],template:function(c,m){1&c&&(o.TgZ(0,"section")(1,"h4"),o._uU(2,"Button Toggle inside of a Template-driven form"),o.qZA(),o.TgZ(3,"mat-button-toggle-group",0),o.NdJ("ngModelChange",function(w){return m.fontStyle=w}),o.TgZ(4,"mat-button-toggle",1),o._uU(5,"Bold"),o.qZA(),o.TgZ(6,"mat-button-toggle",2),o._uU(7,"Italic"),o.qZA(),o.TgZ(8,"mat-button-toggle",3),o._uU(9,"Underline"),o.qZA()(),o.TgZ(10,"p"),o._uU(11),o.qZA()(),o.TgZ(12,"section")(13,"h4"),o._uU(14,"Button Toggle inside of a Reactive form"),o.qZA(),o.TgZ(15,"mat-button-toggle-group",4)(16,"mat-button-toggle",1),o._uU(17,"Bold"),o.qZA(),o.TgZ(18,"mat-button-toggle",2),o._uU(19,"Italic"),o.qZA(),o.TgZ(20,"mat-button-toggle",3),o._uU(21,"Underline"),o.qZA()(),o.TgZ(22,"p"),o._uU(23),o.qZA()()),2&c&&(o.xp6(3),o.Q6J("ngModel",m.fontStyle),o.xp6(8),o.hij("Chosen value is ",m.fontStyle,""),o.xp6(4),o.Q6J("formControl",m.fontStyleControl),o.xp6(8),o.hij("Chosen value is ",m.fontStyleControl.value,""))},dependencies:[g.vV,g.A9,g.Yi,l.u5,l.JJ,l.On,l.UX,l.oH],encapsulation:2}),d})(),O=(()=>{class d{}return d.\u0275fac=function(c){return new(c||d)},d.\u0275cmp=o.Xpm({type:d,selectors:[["button-toggle-mode-example"]],standalone:!0,features:[o.jDz],decls:18,vars:0,consts:[["name","favoriteColor","aria-label","Favorite Color"],["value","red"],["value","green"],["value","blue"],["name","ingredients","aria-label","Ingredients","multiple",""],["value","flour"],["value","eggs"],["value","sugar"]],template:function(c,m){1&c&&(o.TgZ(0,"h3"),o._uU(1,"Single selection"),o.qZA(),o.TgZ(2,"mat-button-toggle-group",0)(3,"mat-button-toggle",1),o._uU(4,"Red"),o.qZA(),o.TgZ(5,"mat-button-toggle",2),o._uU(6,"Green"),o.qZA(),o.TgZ(7,"mat-button-toggle",3),o._uU(8,"Blue"),o.qZA()(),o.TgZ(9,"h3"),o._uU(10,"Multiple selection"),o.qZA(),o.TgZ(11,"mat-button-toggle-group",4)(12,"mat-button-toggle",5),o._uU(13,"Flour"),o.qZA(),o.TgZ(14,"mat-button-toggle",6),o._uU(15,"Eggs"),o.qZA(),o.TgZ(16,"mat-button-toggle",7),o._uU(17,"Sugar"),o.qZA()())},dependencies:[g.vV,g.A9,g.Yi],encapsulation:2}),d})()},6223:(Be,N,f)=>{f.d(N,{Cf:()=>_,EJ:()=>se,F:()=>re,Fj:()=>m,JJ:()=>$e,JL:()=>ze,JU:()=>C,Kr:()=>ft,NI:()=>R,On:()=>be,Q7:()=>ae,UX:()=>fn,Wl:()=>O,YN:()=>gt,Zs:()=>Oe,_Y:()=>lt,a5:()=>T,cw:()=>U,eT:()=>Ve,gN:()=>b,kI:()=>s,oH:()=>Ae,qu:()=>gn,sg:()=>ie,u:()=>Te,u5:()=>pn,wV:()=>Ce});var o=f(5879),g=f(6814),G=f(5253),l=f(7504),H=f(6124);let D=(()=>{class n{constructor(e,r){this._renderer=e,this._elementRef=r,this.onChange=i=>{},this.onTouched=()=>{}}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(o.Qsj),o.Y36(o.SBq))},n.\u0275dir=o.lG2({type:n}),n})(),A=(()=>{class n extends D{}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,features:[o.qOj]}),n})();const C=new o.OlP("NgValueAccessor"),x={provide:C,useExisting:(0,o.Gpc)(()=>O),multi:!0};let O=(()=>{class n extends A{writeValue(e){this.setProperty("checked",e)}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,r){1&e&&o.NdJ("change",function(a){return r.onChange(a.target.checked)})("blur",function(){return r.onTouched()})},features:[o._Bn([x]),o.qOj]}),n})();const d={provide:C,useExisting:(0,o.Gpc)(()=>m),multi:!0},c=new o.OlP("CompositionEventMode");let m=(()=>{class n extends D{constructor(e,r,i){super(e,r),this._compositionMode=i,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function p(){const n=(0,g.q)()?(0,g.q)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(c,8))},n.\u0275dir=o.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(e,r){1&e&&o.NdJ("input",function(a){return r._handleInput(a.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(a){return r._compositionEnd(a.target.value)})},features:[o._Bn([d]),o.qOj]}),n})();function M(n){return null==n||("string"==typeof n||Array.isArray(n))&&0===n.length}function w(n){return null!=n&&"number"==typeof n.length}const _=new o.OlP("NgValidators"),h=new o.OlP("NgAsyncValidators"),V=/^(?=.{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 s{static min(t){return function u(n){return t=>{if(M(t.value)||M(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}}(t)}static max(t){return function y(n){return t=>{if(M(t.value)||M(n))return null;const e=parseFloat(t.value);return!isNaN(e)&&e>n?{max:{max:n,actual:t.value}}:null}}(t)}static required(t){return E(t)}static requiredTrue(t){return W(t)}static email(t){return function k(n){return M(n.value)||V.test(n.value)?null:{email:!0}}(t)}static minLength(t){return function I(n){return t=>M(t.value)||!w(t.value)?null:t.value.length<n?{minlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function Se(n){return t=>w(t.value)&&t.value.length>n?{maxlength:{requiredLength:n,actualLength:t.value.length}}:null}(t)}static pattern(t){return function Ne(n){if(!n)return $;let t,e;return"string"==typeof n?(e="","^"!==n.charAt(0)&&(e+="^"),e+=n,"$"!==n.charAt(n.length-1)&&(e+="$"),t=new RegExp(e)):(e=n.toString(),t=n),r=>{if(M(r.value))return null;const i=r.value;return t.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return Ue(t)}static composeAsync(t){return Re(t)}}function E(n){return M(n.value)?{required:!0}:null}function W(n){return!0===n.value?null:{required:!0}}function $(n){return null}function Ge(n){return null!=n}function xe(n){return(0,o.QGY)(n)?(0,G.D)(n):n}function ke(n){let t={};return n.forEach(e=>{t=null!=e?{...t,...e}:t}),0===Object.keys(t).length?null:t}function Ie(n,t){return t.map(e=>e(n))}function Pe(n){return n.map(t=>function Tt(n){return!n.validate}(t)?t:e=>t.validate(e))}function Ue(n){if(!n)return null;const t=n.filter(Ge);return 0==t.length?null:function(e){return ke(Ie(e,t))}}function ue(n){return null!=n?Ue(Pe(n)):null}function Re(n){if(!n)return null;const t=n.filter(Ge);return 0==t.length?null:function(e){const r=Ie(e,t).map(xe);return(0,l.D)(r).pipe((0,H.U)(ke))}}function de(n){return null!=n?Re(Pe(n)):null}function He(n,t){return null===n?[t]:Array.isArray(n)?[...n,t]:[n,t]}function Le(n){return n._rawValidators}function je(n){return n._rawAsyncValidators}function ce(n){return n?Array.isArray(n)?n:[n]:[]}function z(n,t){return Array.isArray(n)?n.includes(t):n===t}function qe(n,t){const e=ce(t);return ce(n).forEach(i=>{z(e,i)||e.push(i)}),e}function Ze(n,t){return ce(t).filter(e=>!z(n,e))}class Ye{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(t){this._rawValidators=t||[],this._composedValidatorFn=ue(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=de(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}class b extends Ye{get formDirective(){return null}get path(){return null}}class T extends Ye{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class We{constructor(t){this._cd=t}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 $e=(()=>{class n extends We{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(T,2))},n.\u0275dir=o.lG2({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,r){2&e&&o.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:[o.qOj]}),n})(),ze=(()=>{class n extends We{constructor(e){super(e)}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(b,10))},n.\u0275dir=o.lG2({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,r){2&e&&o.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:[o.qOj]}),n})();const L="VALID",K="INVALID",P="PENDING",j="DISABLED";function pe(n){return(Q(n)?n.validators:n)||null}function fe(n,t){return(Q(t)?t.asyncValidators:n)||null}function Q(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}function Ke(n,t,e){const r=n.controls;if(!(t?Object.keys(r):r).length)throw new o.vHH(1e3,"");if(!r[e])throw new o.vHH(1001,"")}function Qe(n,t,e){n._forEachChild((r,i)=>{if(void 0===e[i])throw new o.vHH(1002,"")})}class X{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===L}get invalid(){return this.status===K}get pending(){return this.status==P}get disabled(){return this.status===j}get enabled(){return this.status!==j}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(qe(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(qe(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Ze(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Ze(t,this._rawAsyncValidators))}hasValidator(t){return z(this._rawValidators,t)}hasAsyncValidator(t){return z(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=P,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=j,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=L,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===L||this.status===P)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?j:L}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=P,this._hasOwnPendingAsyncValidator=!0;const e=xe(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){let e=t;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((r,i)=>r&&r._find(i),this)}getError(t,e){const r=e?this.get(e):this;return r&&r.errors?r.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new o.vpe,this.statusChanges=new o.vpe}_calculateStatus(){return this._allControlsDisabled()?j:this.errors?K:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(P)?P:this._anyControlsHaveStatus(K)?K:L}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Q(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function Bt(n){return Array.isArray(n)?ue(n):n||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function St(n){return Array.isArray(n)?de(n):n||null}(this._rawAsyncValidators)}}class U extends X{constructor(t,e,r){super(pe(e),fe(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,r={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){Qe(this,0,t),Object.keys(t).forEach(r=>{Ke(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(r=>{const i=this.controls[r];i&&i.patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,r)=>(t[r]=e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(e,r)=>!!r._syncPendingControls()||e);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const r=this.controls[e];r&&t(r,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[e,r]of Object.entries(this.controls))if(this.contains(e)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,r,i)=>((r.enabled||this.disabled)&&(e[i]=r.value),e))}_reduceChildren(t,e){let r=t;return this._forEachChild((i,a)=>{r=e(r,i,a)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}class Xe extends U{}const B=new o.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>q}),q="always";function ee(n,t){return[...t.path,n]}function Z(n,t,e=q){me(n,t),t.valueAccessor.writeValue(n.value),(n.disabled||"always"===e)&&t.valueAccessor.setDisabledState?.(n.disabled),function Gt(n,t){t.valueAccessor.registerOnChange(e=>{n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&et(n,t)})}(n,t),function kt(n,t){const e=(r,i)=>{t.valueAccessor.writeValue(r),i&&t.viewToModelUpdate(r)};n.registerOnChange(e),t._registerOnDestroy(()=>{n._unregisterOnChange(e)})}(n,t),function xt(n,t){t.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&et(n,t),"submit"!==n.updateOn&&n.markAsTouched()})}(n,t),function Nt(n,t){if(t.valueAccessor.setDisabledState){const e=r=>{t.valueAccessor.setDisabledState(r)};n.registerOnDisabledChange(e),t._registerOnDestroy(()=>{n._unregisterOnDisabledChange(e)})}}(n,t)}function te(n,t,e=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),oe(n,t),n&&(t._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function ne(n,t){n.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function me(n,t){const e=Le(n);null!==t.validator?n.setValidators(He(e,t.validator)):"function"==typeof e&&n.setValidators([e]);const r=je(n);null!==t.asyncValidator?n.setAsyncValidators(He(r,t.asyncValidator)):"function"==typeof r&&n.setAsyncValidators([r]);const i=()=>n.updateValueAndValidity();ne(t._rawValidators,i),ne(t._rawAsyncValidators,i)}function oe(n,t){let e=!1;if(null!==n){if(null!==t.validator){const i=Le(n);if(Array.isArray(i)&&i.length>0){const a=i.filter(v=>v!==t.validator);a.length!==i.length&&(e=!0,n.setValidators(a))}}if(null!==t.asyncValidator){const i=je(n);if(Array.isArray(i)&&i.length>0){const a=i.filter(v=>v!==t.asyncValidator);a.length!==i.length&&(e=!0,n.setAsyncValidators(a))}}}const r=()=>{};return ne(t._rawValidators,r),ne(t._rawAsyncValidators,r),e}function et(n,t){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function tt(n,t){me(n,t)}function ye(n,t){if(!n.hasOwnProperty("model"))return!1;const e=n.model;return!!e.isFirstChange()||!Object.is(t,e.currentValue)}function nt(n,t){n._syncPendingControls(),t.forEach(e=>{const r=e.control;"submit"===r.updateOn&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function ve(n,t){if(!t)return null;let e,r,i;return Array.isArray(t),t.forEach(a=>{a.constructor===m?e=a:function Ut(n){return Object.getPrototypeOf(n.constructor)===A}(a)?r=a:i=a}),i||r||e||null}const Ht={provide:b,useExisting:(0,o.Gpc)(()=>re)},Y=(()=>Promise.resolve())();let re=(()=>{class n extends b{constructor(e,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._directives=new Set,this.ngSubmit=new o.vpe,this.form=new U({},ue(e),de(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Y.then(()=>{const r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),Z(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Y.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Y.then(()=>{const r=this._findContainer(e.path),i=new U({});tt(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Y.then(()=>{const r=this._findContainer(e.path);r&&r.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){Y.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,nt(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(_,10),o.Y36(h,10),o.Y36(B,8))},n.\u0275dir=o.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,r){1&e&&o.NdJ("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Ht]),o.qOj]}),n})();function ot(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}function rt(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const R=class extends X{constructor(t=null,e,r){super(pe(e),fe(r,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Q(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=rt(t)?t.value:t)}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=this.defaultValue,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){ot(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ot(this._onDisabledChange,t)}_forEachChild(t){}_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(t){rt(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},qt={provide:T,useExisting:(0,o.Gpc)(()=>be)},at=(()=>Promise.resolve())();let be=(()=>{class n extends T{constructor(e,r,i,a,v,F){super(),this._changeDetectorRef=v,this.callSetDisabledState=F,this.control=new R,this._registered=!1,this.name="",this.update=new o.vpe,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=ve(0,a)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),ye(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Z(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(e){at.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const r=e.isDisabled.currentValue,i=0!==r&&(0,o.VuI)(r);at.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ee(e,this._parent):[e]}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(b,9),o.Y36(_,10),o.Y36(h,10),o.Y36(C,10),o.Y36(o.sBO,8),o.Y36(B,8))},n.\u0275dir=o.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:[o._Bn([qt]),o.qOj,o.TTD]}),n})(),lt=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=o.lG2({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),n})();const Zt={provide:C,useExisting:(0,o.Gpc)(()=>Ce),multi:!0};let Ce=(()=>{class n extends A{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=r=>{e(""==r?null:parseFloat(r))}}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,r){1&e&&o.NdJ("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},features:[o._Bn([Zt]),o.qOj]}),n})(),ut=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({}),n})();const $t={provide:C,useExisting:(0,o.Gpc)(()=>Ve),multi:!0};let Ve=(()=>{class n extends A{writeValue(e){this.setProperty("value",parseFloat(e))}registerOnChange(e){this.onChange=r=>{e(""==r?null:parseFloat(r))}}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,r){1&e&&o.NdJ("change",function(a){return r.onChange(a.target.value)})("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},features:[o._Bn([$t]),o.qOj]}),n})();const Me=new o.OlP("NgModelWithFormControlWarning"),zt={provide:T,useExisting:(0,o.Gpc)(()=>Ae)};let Ae=(()=>{class n extends T{set isDisabled(e){}constructor(e,r,i,a,v){super(),this._ngModelWarningConfig=a,this.callSetDisabledState=v,this.update=new o.vpe,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=ve(0,i)}ngOnChanges(e){if(this._isControlChanged(e)){const r=e.form.previousValue;r&&te(r,this,!1),Z(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ye(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&te(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}}return n._ngModelWarningSentOnce=!1,n.\u0275fac=function(e){return new(e||n)(o.Y36(_,10),o.Y36(h,10),o.Y36(C,10),o.Y36(Me,8),o.Y36(B,8))},n.\u0275dir=o.lG2({type:n,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[o._Bn([zt]),o.qOj,o.TTD]}),n})();const Jt={provide:b,useExisting:(0,o.Gpc)(()=>ie)};let ie=(()=>{class n extends b{constructor(e,r,i){super(),this.callSetDisabledState=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new o.vpe,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(oe(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const r=this.form.get(e.path);return Z(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){te(e.control||null,e,!1),function Rt(n,t){const e=n.indexOf(t);e>-1&&n.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,r){this.form.get(e.path).setValue(r)}onSubmit(e){return this.submitted=!0,nt(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const r=e.control,i=this.form.get(e.path);r!==i&&(te(r||null,e),(n=>n instanceof R)(i)&&(Z(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const r=this.form.get(e.path);tt(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const r=this.form.get(e.path);r&&function It(n,t){return oe(n,t)}(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){me(this.form,this),this._oldForm&&oe(this._oldForm,this)}_checkFormPresent(){}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(_,10),o.Y36(h,10),o.Y36(B,8))},n.\u0275dir=o.lG2({type:n,selectors:[["","formGroup",""]],hostBindings:function(e,r){1&e&&o.NdJ("submit",function(a){return r.onSubmit(a)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o._Bn([Jt]),o.qOj,o.TTD]}),n})();const Xt={provide:T,useExisting:(0,o.Gpc)(()=>Te)};let Te=(()=>{class n extends T{set isDisabled(e){}constructor(e,r,i,a,v){super(),this._ngModelWarningConfig=v,this._added=!1,this.name=null,this.update=new o.vpe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=ve(0,a)}ngOnChanges(e){this._added||this._setUpControl(),ye(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return ee(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(e){return new(e||n)(o.Y36(b,13),o.Y36(_,10),o.Y36(h,10),o.Y36(C,10),o.Y36(Me,8))},n.\u0275dir=o.lG2({type:n,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[o._Bn([Xt]),o.qOj,o.TTD]}),n})();const en={provide:C,useExisting:(0,o.Gpc)(()=>se),multi:!0};function ht(n,t){return null==n?`${t}`:(t&&"object"==typeof t&&(t="Object"),`${n}: ${t}`.slice(0,50))}let se=(()=>{class n extends A{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const i=ht(this._getOptionId(e),e);this.setProperty("value",i)}registerOnChange(e){this.onChange=r=>{this.value=this._getOptionValue(r),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),e))return r;return null}_getOptionValue(e){const r=function tn(n){return n.split(":")[0]}(e);return this._optionMap.has(r)?this._optionMap.get(r):e}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,r){1&e&&o.NdJ("change",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[o._Bn([en]),o.qOj]}),n})(),gt=(()=>{class n{constructor(e,r,i){this._element=e,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(ht(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(se,9))},n.\u0275dir=o.lG2({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),n})();const nn={provide:C,useExisting:(0,o.Gpc)(()=>Fe),multi:!0};function pt(n,t){return null==n?`${t}`:("string"==typeof t&&(t=`'${t}'`),t&&"object"==typeof t&&(t="Object"),`${n}: ${t}`.slice(0,50))}let Fe=(()=>{class n extends A{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let r;if(this.value=e,Array.isArray(e)){const i=e.map(a=>this._getOptionId(a));r=(a,v)=>{a._setSelected(i.indexOf(v.toString())>-1)}}else r=(i,a)=>{i._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(e){this.onChange=r=>{const i=[],a=r.selectedOptions;if(void 0!==a){const v=a;for(let F=0;F<v.length;F++){const we=this._getOptionValue(v[F].value);i.push(we)}}else{const v=r.options;for(let F=0;F<v.length;F++){const le=v[F];if(le.selected){const we=this._getOptionValue(le.value);i.push(we)}}}this.value=i,e(i)}}_registerOption(e){const r=(this._idCounter++).toString();return this._optionMap.set(r,e),r}_getOptionId(e){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r)._value,e))return r;return null}_getOptionValue(e){const r=function on(n){return n.split(":")[0]}(e);return this._optionMap.has(r)?this._optionMap.get(r)._value:e}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,r){1&e&&o.NdJ("change",function(a){return r.onChange(a.target)})("blur",function(){return r.onTouched()})},inputs:{compareWith:"compareWith"},features:[o._Bn([nn]),o.qOj]}),n})(),ft=(()=>{class n{constructor(e,r,i){this._element=e,this._renderer=r,this._select=i,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(pt(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(pt(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return n.\u0275fac=function(e){return new(e||n)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(Fe,9))},n.\u0275dir=o.lG2({type:n,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),n})(),S=(()=>{class n{constructor(){this._validator=$}ngOnChanges(e){if(this.inputName in e){const r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):$,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275dir=o.lG2({type:n,features:[o.TTD]}),n})();const an={provide:_,useExisting:(0,o.Gpc)(()=>ae),multi:!0},ln={provide:_,useExisting:(0,o.Gpc)(()=>Oe),multi:!0};let ae=(()=>{class n extends S{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=o.VuI,this.createValidator=e=>E}enabled(e){return e}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,r){2&e&&o.uIk("required",r._enabled?"":null)},inputs:{required:"required"},features:[o._Bn([an]),o.qOj]}),n})(),Oe=(()=>{class n extends ae{constructor(){super(...arguments),this.createValidator=e=>W}}return n.\u0275fac=function(){let t;return function(r){return(t||(t=o.n5z(n)))(r||n)}}(),n.\u0275dir=o.lG2({type:n,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,r){2&e&&o.uIk("required",r._enabled?"":null)},features:[o._Bn([ln]),o.qOj]}),n})(),At=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[ut]}),n})();class Dt extends X{constructor(t,e,r){super(pe(e),fe(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,r={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,e={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,r={}){let i=this._adjustIndex(t);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),e&&(this.controls.splice(i,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){Qe(this,0,t),t.forEach((r,i)=>{Ke(this,!1,i),this.at(i).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((r,i)=>{this.at(i)&&this.at(i).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((r,i)=>{r.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((e,r)=>!!r._syncPendingControls()||e,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((e,r)=>{t(e,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function Et(n){return!!n&&(void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn)}let gn=(()=>{class n{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new n;return e.useNonNullable=!0,e}group(e,r=null){const i=this._reduceControls(e);let a={};return Et(r)?a=r:null!==r&&(a.validators=r.validator,a.asyncValidators=r.asyncValidator),new U(i,a)}record(e,r=null){const i=this._reduceControls(e);return new Xe(i,r)}control(e,r,i){let a={};return this.useNonNullable?(Et(r)?a=r:(a.validators=r,a.asyncValidators=i),new R(e,{...a,nonNullable:!0})):new R(e,r,i)}array(e,r,i){const a=e.map(v=>this._createControl(v));return new Dt(a,r,i)}_reduceControls(e){const r={};return Object.keys(e).forEach(i=>{r[i]=this._createControl(e[i])}),r}_createControl(e){return e instanceof R||e instanceof X?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275prov=o.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})(),pn=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:B,useValue:e.callSetDisabledState??q}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[At]}),n})(),fn=(()=>{class n{static withConfig(e){return{ngModule:n,providers:[{provide:Me,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:B,useValue:e.callSetDisabledState??q}]}}}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=o.oAB({type:n}),n.\u0275inj=o.cJS({imports:[At]}),n})()},9488:(Be,N,f)=>{f.d(N,{A9:()=>m,Yi:()=>w,vV:()=>_});var o=f(4300),g=f(2495),G=f(8337),l=f(5879),H=f(6223),D=f(3680);const A=["button"],C=["*"],x=new l.OlP("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),O=new l.OlP("MatButtonToggleGroup"),d={provide:H.JU,useExisting:(0,l.Gpc)(()=>m),multi:!0};let p=0;class c{constructor(V,s){this.source=V,this.value=s}}let m=(()=>{class h{get name(){return this._name}set name(s){this._name=s,this._markButtonsForCheck()}get vertical(){return this._vertical}set vertical(s){this._vertical=(0,g.Ig)(s)}get value(){const s=this._selectionModel?this._selectionModel.selected:[];return this.multiple?s.map(u=>u.value):s[0]?s[0].value:void 0}set value(s){this._setSelectionByValue(s),this.valueChange.emit(this.value)}get selected(){const s=this._selectionModel?this._selectionModel.selected:[];return this.multiple?s:s[0]||null}get multiple(){return this._multiple}set multiple(s){this._multiple=(0,g.Ig)(s),this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(s){this._disabled=(0,g.Ig)(s),this._markButtonsForCheck()}constructor(s,u){this._changeDetector=s,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+p++,this.valueChange=new l.vpe,this.change=new l.vpe,this.appearance=u&&u.appearance?u.appearance:"standard"}ngOnInit(){this._selectionModel=new G.Ov(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(s=>s.checked))}writeValue(s){this.value=s,this._changeDetector.markForCheck()}registerOnChange(s){this._controlValueAccessorChangeFn=s}registerOnTouched(s){this._onTouched=s}setDisabledState(s){this.disabled=s}_emitChangeEvent(s){const u=new c(s,this.value);this._controlValueAccessorChangeFn(u.value),this.change.emit(u)}_syncButtonToggle(s,u,y=!1,E=!1){!this.multiple&&this.selected&&!s.checked&&(this.selected.checked=!1),this._selectionModel?u?this._selectionModel.select(s):this._selectionModel.deselect(s):E=!0,E?Promise.resolve().then(()=>this._updateModelValue(s,y)):this._updateModelValue(s,y)}_isSelected(s){return this._selectionModel&&this._selectionModel.isSelected(s)}_isPrechecked(s){return!(typeof this._rawValue>"u")&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(u=>null!=s.value&&u===s.value):s.value===this._rawValue)}_setSelectionByValue(s){this._rawValue=s,this._buttonToggles&&(this.multiple&&s?(Array.isArray(s),this._clearSelection(),s.forEach(u=>this._selectValue(u))):(this._clearSelection(),this._selectValue(s)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(s=>s.checked=!1)}_selectValue(s){const u=this._buttonToggles.find(y=>null!=y.value&&y.value===s);u&&(u.checked=!0,this._selectionModel.select(u))}_updateModelValue(s,u){u&&this._emitChangeEvent(s),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(s=>s._markForCheck())}}return h.\u0275fac=function(s){return new(s||h)(l.Y36(l.sBO),l.Y36(x,8))},h.\u0275dir=l.lG2({type:h,selectors:[["mat-button-toggle-group"]],contentQueries:function(s,u,y){if(1&s&&l.Suo(y,w,5),2&s){let E;l.iGM(E=l.CRH())&&(u._buttonToggles=E)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(s,u){2&s&&(l.uIk("aria-disabled",u.disabled),l.ekj("mat-button-toggle-vertical",u.vertical)("mat-button-toggle-group-appearance-standard","standard"===u.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[l._Bn([d,{provide:O,useExisting:h}])]}),h})();const M=(0,D.Kr)(class{});let w=(()=>{class h extends M{get buttonId(){return`${this.id}-button`}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(s){this._appearance=s}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(s){const u=(0,g.Ig)(s);u!==this._checked&&(this._checked=u,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(s){this._disabled=(0,g.Ig)(s)}constructor(s,u,y,E,W,k){super(),this._changeDetectorRef=u,this._elementRef=y,this._focusMonitor=E,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new l.vpe;const I=Number(W);this.tabIndex=I||0===I?I:null,this.buttonToggleGroup=s,this.appearance=k&&k.appearance?k.appearance:"standard"}ngOnInit(){const s=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+p++,s&&(s._isPrechecked(this)?this.checked=!0:s._isSelected(this)!==this._checked&&s._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const s=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),s&&s._isSelected(this)&&s._syncButtonToggle(this,!1,!1,!0)}focus(s){this._buttonElement.nativeElement.focus(s)}_onButtonClick(){const s=!!this._isSingleSelector()||!this._checked;s!==this._checked&&(this._checked=s,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new c(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null}_isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}}return h.\u0275fac=function(s){return new(s||h)(l.Y36(O,8),l.Y36(l.sBO),l.Y36(l.SBq),l.Y36(o.tE),l.$8M("tabindex"),l.Y36(x,8))},h.\u0275cmp=l.Xpm({type:h,selectors:[["mat-button-toggle"]],viewQuery:function(s,u){if(1&s&&l.Gf(A,5),2&s){let y;l.iGM(y=l.CRH())&&(u._buttonElement=y.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(s,u){1&s&&l.NdJ("focus",function(){return u.focus()}),2&s&&(l.uIk("aria-label",null)("aria-labelledby",null)("id",u.id)("name",null),l.ekj("mat-button-toggle-standalone",!u.buttonToggleGroup)("mat-button-toggle-checked",u.checked)("mat-button-toggle-disabled",u.disabled)("mat-button-toggle-appearance-standard","standard"===u.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[l.qOj],ngContentSelectors:C,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(s,u){if(1&s&&(l.F$t(),l.TgZ(0,"button",0,1),l.NdJ("click",function(){return u._onButtonClick()}),l.TgZ(2,"span",2),l.Hsn(3),l.qZA()(),l._UZ(4,"span",3)(5,"span",4)),2&s){const y=l.MAs(1);l.Q6J("id",u.buttonId)("disabled",u.disabled||null),l.uIk("tabindex",u.disabled?-1:u.tabIndex)("aria-pressed",u.checked)("name",u._getButtonName())("aria-label",u.ariaLabel)("aria-labelledby",u.ariaLabelledby),l.xp6(5),l.Q6J("matRippleTrigger",y)("matRippleDisabled",u.disableRipple||u.disabled)}},dependencies:[D.wG],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],encapsulation:2,changeDetection:0}),h})(),_=(()=>{class h{}return h.\u0275fac=function(s){return new(s||h)},h.\u0275mod=l.oAB({type:h}),h.\u0275inj=l.cJS({imports:[D.BQ,D.si,D.BQ]}),h})()}}]);