"use strict";var s=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var a=(e,t)=>s(e,"name",{value:t,configurable:true});var b=(e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:true})};var f=(e,t,n,r)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let o of l(t))if(!u.call(e,o)&&o!==n)s(e,o,{get:()=>t[o],enumerable:!(r=c(t,o))||r.enumerable})}return e};var g=e=>f(s({},"__esModule",{value:true}),e);var d={};b(d,{scorePasswordFunc:()=>I});module.exports=g(d);const I=a(e=>{let t=0;if(!e){return t}const n={};for(const i of e){n[i]=(n[i]||0)+1;t+=5/n[i]}const r={digits:/\d/.test(e),lower:/[a-z]/.test(e),nonWords:/\W/.test(e),upper:/[A-Z]/.test(e)};let o=0;for(const i of Object.keys(r)){o+=r[i]?1:0}t+=(o-1)*10;return Math.round(t)},"scorePasswordFunc");
