function n(n,t){let r=[n];return t.forEach((t=>{"string"==typeof t?r.push(`${n}--${t}`):"object"==typeof t&&!0===Object.values(t)[0]&&r.push(`${n}--${Object.keys(t)[0]}`)})),r.join(" ")}const t={empty:/(?!^$|\s+)/,dni:/^[0-9]{8}$/,document:/^[A-Za-z0-9]{1,16}$/,email:/^[-\w.%+]{1,64}@(?:[A-Z0-9-]{1,63}\.){1,125}[A-Z]{2,63}$/i,cvv:/[0-9]{3,4}/,number:/[0-9]+/,numberFormat:/[0-9\.\,]+/,expiration:/^(0[1-9]|1[0-2])\/([2-9][0-9])$/};function r(n){return n.normalize("NFD").replace(/([^n\u0300-\u036f]|n(?!\u0303(?![\u0300-\u036f])))[\u0300-\u036f]+/gi,"$1").normalize().toLowerCase().trim()}function u(n,t){let r=n.nextElementSibling;if(!t)return r;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}function e(n,t){let r=n.previousElementSibling;if(!t)return r;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}function f(n,t){let r=[];return n.parentNode?(n.parentNode.childNodes.forEach((u=>{u==n||u.matches(t)||r.push(u)})),r):r}function o(n,t){let r=!1;const u=t.scrollTop;if(null!=n){const e=n.offsetTop,f=e+n.clientHeight;r=u+t.clientHeight>=e&&f>=u}return r}function i(n){return n.replace(n.charAt(0),n.charAt(0).toUpperCase())}function c(n){const t=n.toString().split("").reverse();let r=[t.slice(0,3),t.slice(3,6),t.slice(6,9),t.slice(9,12)],u="";return r.forEach(((n,t)=>{n.length>0&&(u+=(t>0?",":"")+n.join(""))})),u.split("").reverse().join("")}export{f as a,c as b,r as c,i as f,n as m,u as n,e as p,t as r,o as v}