PageSourceSearch

https://cathay-ins.com.vn/chunk-YBLVHUJB.js

js cathay-ins.com.vn collected 2026-10-08 10:41:53 UTC 24,791 bytes, 1 lines download raw bytes

1import{a as De}from"./chunk-L22WWRXS.js";import{d as we}from"./chunk-NAKC4DE4.js";import{b as Te,c as Ie}from"./chunk-SR3OYTLQ.js";import{g as Ce}from"./chunk-REYHY7E6.js";import{a as ge,b as ve,h as ke,i as ye}from"./chunk-GQNY2OUU.js";import{f as fe}from"./chunk-BU4BYEGO.js";import{G as he,N as P,W as _e,X as pe,fa as be}from"./chunk-GA3NS6AT.js";import{a as re}from"./chunk-N3Z55YGJ.js";import{H as me,I as ue,a as ae,c as de,g as ce,h as ne,m as se,s as le}from"./chunk-O7QABW3A.js";import{$b as K,Aa as j,Ba as N,Bc as A,Cc as O,Gb as v,Jc as ee,Ka as w,Kb as R,Kc as T,La as D,Ob as $,Pa as U,Pd as te,Sa as H,Tb as F,Ub as u,Va as g,Vd as oe,Wa as M,Wb as E,ab as Q,cd as z,ec as n,fc as s,gc as S,hd as _,id as G,jd as ie,kc as Y,la as B,na as L,nc as h,pa as C,pc as J,qc as W,rc as X,sa as b,tb as d,ub as c,uc as Z,vc as x,wc as k,xc as y,ya as a,za as f}from"./chunk-LJFKHX2G.js";var Ae=["input"],Oe=["formField"],ze=["*"],Me=0,I=class{constructor(m,e){this.source=m,this.value=e}},Ge={provide:ae,useExisting:B(()=>Ve),multi:!0},Re=new C("MatRadioGroup"),Pe=new C("mat-radio-default-options",{providedIn:"root",factory:qe});function qe(){return{color:"accent"}}var Ve=(()=>{class o{get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition=e==="before"?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=e,this._markRadiosForCheck()}constructor(e){this._changeDetector=e,this._value=null,this._name=`mat-radio-group-${Me++}`,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new M}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(e=>e===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){let e=this._selected!==null&&this._selected.value===this._value;this._radios&&!e&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new I(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}static{this.\u0275fac=function(i){return new(i||o)(c(z))}}static{this.\u0275dir=N({type:o,selectors:[["mat-radio-group"]],contentQueries:function(i,t,r){if(i&1&&Z(r,Fe,5),i&2){let l;k(l=y())&&(t._radios=l)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[a.HasDecoratorInputTransform,"disabled","disabled",_],required:[a.HasDecoratorInputTransform,"required","required",_]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[ee([Ge,{provide:Re,useExisting:o}]),R]})}}return o})(),Fe=(()=>{class o{get checked(){return this._checked}set checked(e){this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispat
1cher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this.radioGroup!==null&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||this.radioGroup!==null&&this.radioGroup.disabled}set disabled(e){this._setDisabled(e)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=e}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,t,r,l,p,Se,V){this._elementRef=i,this._changeDetector=t,this._focusMonitor=r,this._radioDispatcher=l,this._providerOverride=Se,this._uniqueId=`mat-radio-${++Me}`,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new M,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations=p==="NoopAnimations",V&&(this.tabIndex=G(V,0))}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name),this._removeUniqueSelectionListener=this._radioDispatcher.listen((e,i)=>{e!==this.id&&i===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new I(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){let i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(e){this._onInputInteraction(e),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){let e=this.radioGroup,i;if(!e||!e.selected||this.disabled?i=this.tabIndex:i=e.selected===this?this.tabIndex:-1,i!==this._previousTabIndex){let t=this._inputElement?.nativeElement;t&&(t.setAttribute("tabindex",i+""),this._previousTabIndex=i)}}static{this.\u0275fac=function(i){return new(i||o)(c(Re,8),c(g),c(z),c(he),c(fe),c(Q,8),c(Pe,8),U("tabindex"))}}static{this.\u0275cmp=f({type:o,selectors:[["mat-radio-button"]],viewQuery:function(i,t){if(i&1&&(x(Ae,5),x(Oe,7,g)),i&2){let r;k(r=y())&&(t._inputElement=r.first),k(r=y())&&(t._rippleTrigger=r.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(i,t){i&1&&h("focus",function(){return t._inputElement.nativeElement.focus()}),i&2&&(F("id",t.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),E("mat-primary",t.color==="primary")("mat-accent",t.color==="accent")("mat-warn",t.color==="warn")("mat-mdc-radio-checked",t.checked)("_mat-animation-noopable",t._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[a.None,"aria-label","ariaLabel"],ariaLabelledby:[a.None,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[a.None,"aria-describedby","ariaDescribedby"],disableRipple:[a.HasDecoratorInputTransform,"disableRipple","disableRipple",_],tabIndex:[a.HasDecoratorInputTransform,"tabIndex","tabIndex",e=>e==null?0:G(e)],checked:[a.HasDecoratorInputTransform,"checked","checked",_],value:"value",labelPosition:"labelPosition",disabled:[a.HasDecoratorInputTransform,"disabled","disabled",_],required:[a.HasDecoratorInputTransform,"required","required",_],color:"color"},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[R,T],ngContentSelectors:ze,decls:13,vars:16,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner
1-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(i,t){if(i&1){let r=Y();W(),n(0,"div",2,0)(2,"div",3)(3,"div",4),h("click",function(p){return w(r),D(t._onTouchTargetClick(p))}),s(),n(4,"input",5,1),h("change",function(p){return w(r),D(t._onInputInteraction(p))}),s(),n(6,"div",6),S(7,"div",7)(8,"div",8),s(),n(9,"div",9),S(10,"div",10),s()(),n(11,"label",11),X(12),s()()}i&2&&(u("labelPosition",t.labelPosition),d(2),E("mdc-radio--disabled",t.disabled),d(2),u("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("required",t.required),F("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),d(5),u("matRippleTrigger",t._rippleTrigger.nativeElement)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0),d(2),u("for",t.inputId))},dependencies:[_e,be],styles:['.mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color}.mdc-radio[hidden]{display:none}.mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 120ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1}.mdc-radio--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-radio--touch .mdc-radio__native-control{top:calc((40px - 48px) / 2);right:calc((40px - 48px) / 2);left:calc((40px - 48px) / 2);width:48px;height:48px}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring{border-color:CanvasText}}.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__focus-ring::after,.mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__focus-ring::after{border-color:CanvasText}}.mdc-radio__native-control:checked+.mdc-radio__background,.mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner
1-circle{transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio--disabled{cursor:default;pointer-events:none}.mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1),border-color 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-radio__native-control:disabled+.mdc-radio__background,[aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background{cursor:default}.mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 120ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 120ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{padding:calc((var(--mdc-radio-state-layer-size) - 20px) / 2)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-disabled-selected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:checked+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio [aria-disabled=true] .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio.mdc-ripple-upgraded--background-focused .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio:not(.mdc-ripple-upgraded):focus .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-focus-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner
1-circle{border-color:var(--mdc-radio-selected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color)}.mat-mdc-radio-button .mdc-radio:not(:disabled):active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size) - 20px) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);right:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);left:calc((var(--mdc-radio-state-layer-size) - var(--mdc-radio-state-layer-size)) / 2);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-radio-checked-ripple-color)}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, black)}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}}return o})(),ai=(()=>{class o{static{this.\u0275fac=function(i){return new(i||o)}}static{this.\u0275mod=j({type:o})}static{this.\u0275inj=L({imports:[P,te,pe,Fe,P]})}}return o})();function Be(o,m){if(o&1&&(n(0,"mat-error"),A(1),s()),o&2){let e=J();d(),O(e.errorMessage())}}var Ci=(()=>{class o{get showError(){let e=this.ngControl?.control;return!!e&&e.invalid&&(e.dirty||this.hasBeenTouched()||this.showValidationErrors)}constructor(e){this.ngControl=e,this.destroyRef=b(H),this.dialog=b(we),this.overlay=b(Ce),this.platformService=b(oe),this.control=new se("",{nonNullable:!0}),this.errorStateMatcher=new q(()=>this.ngControl?.control,()=>this.hasBeenTouched()||this.showValidationErrors),this.label="",this.placeholder="",this.hourTestId="Hour",this.minuteTestId="Minute",this.showValidationErrors=!1,this.isInputFocused=v(!1),this.isDialogOpen=v(!1),this.hasBeenTouched=v(!1),this.floatLabel=ie(()=>this.isInputFocused()||this.isDialogOpen()?"always":"auto"),this.onChange=()=>{},this.onTouched=()=>{},this.ngControl&&(this.ngControl.valueAccessor=this),this.control.valueChanges.pipe(re(this.destroyRef)).subscribe(i=>{this.onChange(i)})}handleFocus(){this.isInputFocused.set(!0)}handleClick(){this.openDialog()}handleTriggerKeydown(e){e.preventDefault(),this.openDialog()}openDialog(){if(!this.platformService.isBrowserSide||this.control.disabled||this.isDialogOpen())return;this.isDialogOpen.set(!0);let e=this.dialog.open(De,{autoFocus:".hour-container .time-input",restoreFocus:!1,backdropClass:"mbw-dialog-backdrop",scrollStrategy:this.overlay.scrollStrategies.noop(),data:{time:this.control.value,defaultTime:this.defaultTime,minTime:this.minTime,maxTime:this.maxTime,dialogTitle:this.dialogTitle,hourTestId:this.hourTestId,minuteTestId:this.minuteTestId}});document.body.style.overflow="hidden",e.afterClosed().subscribe(i=>{if(document.body.style.overflow="auto",this.isDialogOpen.set(!1),this.hasBeenTouched.set(!0),this.onTouched(),!i)return;let t=i.hour||i.minute?`${i.hour}:${i.minute}`:"";this.control.setValue(t)})}writeValue(e){this.hasBeenTouched.set(!1),this.control.setValue(e??"",{emitEvent:!1})}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){if(e){this.control.disable({emitEvent:!1});return}this.control.enable({emitEvent:!1})}handleBlur(){this.isInputFocused.set(!1),this.isDialogOpen()||(this.hasBeenTouched.set(!0),this.onTouched())}static{this.\u0275fac=function(i){return new(i||o)(c(ce,10))}}static{this.\u0275cmp=f({type:o,selectors:[["app-mbw-time-picker"]],inputs:{label:"label",placeholder:"placeholder",dialogTitle:"dialogTitle",hourTestId:"hourTestId",minuteTestId:"minuteTestId",errorMessage:"errorMessage",showValidationErrors:"showValidationErrors",defaultTime:"defaultTime",minTime:"minTime",maxTime:"maxTime"},standalone:!0,features:[T],decls:6,vars:6,consts:[[1,"mbw-time-picker-container"],["appearance","outline",3,"click","floatLabel"],["matInput","",3,"focus","keydown.enter","keydown.space","blur","placeholder","formControl","errorStateMatcher"]],template:function(i,t){i&1&&(n(0,"div",0)(1,"mat-form-field",1),h("click",function(){return t.handleClick()}),n(2,"mat-label"),A(3),s(),n(4,"input",2),h("focus",function(){return t.handleFocus()})("keydown.enter",function(l){return t.handleTriggerKeydown(l)})("keydown.space",function(l){return t.handleTriggerKeydown(l)})("blur",function(){return t.handleBlur()}),s(),$(5,Be,2,1,"mat-error"),s()()),i&2&&(d(),u("floatLabel",t.floatLabel()),d(2),O(t.label),d(),u("placeholder",t.placeholder)("formControl",t.control)("errorStateMatcher",t.errorStateMatcher),d(),K(5,t.errorMessage&&t.showError?5:-1))},dependencies:[ye,ke,ge,ve,Ie,Te,me,de,ne,ue,le],changeDetection:0})}}return o}
1)(),q=class{constructor(m,e){this.getControl=m,this.getShouldShowValidationErrors=e}isErrorState(m,e){let i=this.getControl();return!!(i&&i.invalid&&(i.dirty||this.getShouldShowValidationErrors()))}};var Ee=class{constructor(m,e){this.getControl=m,this.shouldForceError=e}isErrorState(m,e){let i=this.getControl();return!!i&&i.invalid&&(i.dirty||i.touched||this.shouldForceError())}};export{Ve as a,Fe as b,ai as c,Ci as d,Ee as e};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.