"use strict";(self.webpackChunkportalnet_automotriz=self.webpackChunkportalnet_automotriz||[]).push([["common"],{25337:(c,u,n)=>{n.d(u,{V:()=>s});var e=n(61699),i=n(28849);let s=(()=>{class a{constructor(t){this.control=t,this.regex=new RegExp(/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.([a-zA-Z]{2,4})+$/)}onInput(t){const o=t.target.value.replace(/[^A-Za-z0-9._@\-\s]/g,"");this.control.control.setValue(o),this.control.control.markAsTouched()}static#t=this.\u0275fac=function(r){return new(r||a)(e.Y36(i.a5))};static#n=this.\u0275dir=e.lG2({type:a,selectors:[["","emailFormat",""]],hostBindings:function(r,o){1&r&&e.NdJ("input",function(l){return o.onInput(l)})}})}return a})()},40873:(c,u,n)=>{n.d(u,{D:()=>s});var e=n(61699),i=n(28849);let s=(()=>{class a{constructor(t){this.control=t,this.regex=new RegExp(/^\d*$/)}onInput(t){const o=t.target.value.replace(/[^\d]/g,"");this.control.control.setValue(o),this.control.control.markAsTouched()}static#t=this.\u0275fac=function(r){return new(r||a)(e.Y36(i.a5))};static#n=this.\u0275dir=e.lG2({type:a,selectors:[["","onlyNumbers",""]],hostBindings:function(r,o){1&r&&e.NdJ("input",function(l){return o.onInput(l)})}})}return a})()},52105:(c,u,n)=>{function e(i){return i&&null!=i.value&&!/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.([a-zA-Z]{2,4})+$/.test(i.value)&&""!=i.value?{emailValidation:!0}:null}n.d(u,{D:()=>e})}}]);
//# sourceMappingURL=common.js.map