var s=class{static noScript(){return n=>{let t=n.value??"";return/<script|javascript:|on\w+\s*=|<iframe|<object|<embed/i.test(t)?{scriptDetectado:!0}:null}}static noSQLInjection(){return n=>{let t=n.value??"";return/('|--|;|\/\*|\*\/|xp_|UNION|SELECT|INSERT|DROP|DELETE|UPDATE)/i.test(t)?{sqlInjection:!0}:null}}static passwordFuerte(){return n=>{let t=n.value??"",r={};return t.length<8&&(r.minLength=!0),/[A-Z]/.test(t)||(r.sinMayuscula=!0),/[0-9]/.test(t)||(r.sinNumero=!0),/[^A-Za-z0-9]/.test(t)||(r.sinSimbolo=!0),Object.keys(r).length?r:null}}static passwordsIguales(n,t){return r=>{let o=r.get(n)?.value,a=r.get(t)?.value;return o&&a&&o!==a?{noCoinciden:!0}:null}}static soloLetras(){return n=>{let t=n.value??"";return/[^a-zA-ZáéíóúÁÉÍÓÚüÜñÑ\s]/.test(t)?{caracteresInvalidos:!0}:null}}};export{s as a};
