File "input.min.0847ebe85fe0.js"

Full Path: /home/lacostenacom/public_html/wp/wp./wp-content/plugins/imunify-security/assets/ui-app/assets/static/shared-dependencies/input.min.0847ebe85fe0.js
File size: 7.01 KB
MIME-type: text/plain
Charset: utf-8

System.register(["@angular/cdk/coercion","@angular/cdk/platform","@angular/cdk/text-field","@angular/core","@angular/forms","@angular/material/core","@angular/material/form-field","rxjs"],(function(e){"use strict";var t,i,n,s,r,a,l,o,u,d,h,c,m,p,_,f;return{setters:[function(e){t=e.coerceBooleanProperty},function(e){i=e.getSupportedInputTypes,n=e},function(e){s=e,r=e.TextFieldModule},function(e){a=e.InjectionToken,l=e,e.Directive,e.Optional,e.Self,e.Inject,e.Input,e.NgModule},function(e){o=e.Validators,u=e},function(e){d=e.mixinErrorState,h=e,c=e.MatCommonModule},function(e){m=e.MAT_FORM_FIELD,p=e.MatFormFieldControl,e,_=e.MatFormFieldModule},function(e){f=e.Subject}],execute:function(){function v(e){return Error(`Input type "${e}" isn't supported by matInput.`)}e("getMatInputUnsupportedTypeError",v);const g=e("MAT_INPUT_VALUE_ACCESSOR",new a("MAT_INPUT_VALUE_ACCESSOR")),y=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let I=0;const b=d(class{constructor(e,t,i,n){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=i,this.ngControl=n,this.stateChanges=new f}});class C extends b{get disabled(){return this._disabled}set disabled(e){this._disabled=t(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(o.required)??!1}set required(e){this._required=t(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&i().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=t(e)}constructor(e,t,n,s,r,a,l,o,u,d){super(a,s,r,n),this._elementRef=e,this._platform=t,this._autofillMonitor=o,this._formField=d,this._uid="mat-input-"+I++,this.focused=!1,this.stateChanges=new f,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((e=>i().has(e))),this._iOSKeyupListener=e=>{const t=e.target;t.value||0!==t.selectionStart||0!==t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};const h=this._elementRef.nativeElement,c=h.nodeName.toLowerCase();this._inputValueAccessor=l||h,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&u.runOutsideAngular((()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)})),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===c,this._isTextarea="textarea"===c,this._isInFormField=!!d,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((e=>{this.autofilled=e.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(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){y.indexOf(this._type),0}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}static{this.\u0275fac=function(e){return new(e||C)(l.\u0275\u0275directiveInject(l.ElementRef),l.\u0275\u0275directiveInject(n.Platform),l.\u0275\u0275directiveInject(u.NgControl,10),l.\u0275\u0275directiveInject(u.NgForm,8),l.\u0275\u0275directiveInject(u.FormGroupDirective,8),l.\u0275\u0275directiveInject(h.ErrorStateMatcher),l.\u0275\u0275directiveInject(g,10),l.\u0275\u0275directiveInject(s.AutofillMonitor),l.\u0275\u0275directiveInject(l.NgZone),l.\u0275\u0275directiveInject(m,8))}}static{this.\u0275dir=l.\u0275\u0275defineDirective({type:C,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(e,t){1&e&&l.\u0275\u0275listener("focus",(function(){return t._focusChanged(!0)}))("blur",(function(){return t._focusChanged(!1)}))("input",(function(){return t._onInput()})),2&e&&(l.\u0275\u0275hostProperty("id",t.id)("disabled",t.disabled)("required",t.required),l.\u0275\u0275attribute("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required)("id",t.id),l.\u0275\u0275classProp("mat-input-server",t._isServer)("mat-mdc-form-field-textarea-control",t._isInFormField&&t._isTextarea)("mat-mdc-form-field-input-control",t._isInFormField)("mdc-text-field__input",t._isInFormField)("mat-mdc-native-select-inline",t._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:[l.\u0275\u0275ProvidersFeature([{provide:p,useExisting:C}]),l.\u0275\u0275InheritDefinitionFeature,l.\u0275\u0275NgOnChangesFeature]})}}e("MatInput",C);class E{static{this.\u0275fac=function(e){return new(e||E)}}static{this.\u0275mod=l.\u0275\u0275defineNgModule({type:E})}static{this.\u0275inj=l.\u0275\u0275defineInjector({imports:[c,_,_,r,c]})}}e("MatInputModule",E)}}}));