import{a}from"./chunk-MUIF2RJW.js";import{d as n}from"./chunk-2UGJU7DR.js";import{mh as o}from"./chunk-EWB56PWF.js";function t(e){return new RegExp("^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$").test(e);}function r(e){return e?e.includes("@"):!1;}var u=e=>{if(!e.value)return null;let i=[],l=o(e.value);for(let s of l)t(s)===!1&&i.push(""+s+" is niet valide\n        ");return i.length===0?null:{validHosts:{reason:"invalid",value:i.join(". ")+"."}};},d=e=>{if(!e.value)return null;let i=[],l=o(e.value);for(let s of l)t(s)===!1&&r(s)===!1&&i.push(""+s+" is niet valide\n        ");return i.length===0?null:{validHostsOrHandles:{reason:"invalid",value:i.join(". ")+"."}};},H={VALIDATORS:[n.required,u,a],MESSAGES:{required:"Domein is vereist.",validHosts:"De ingevoerde hosts zijn ongeldig.",unique:"De ingevoerde hosts bevatten duplicaten."}},v={VALIDATORS:[n.required,d,a],MESSAGES:{required:"Domein is vereist.",validHostsOrHandles:"Hosts of handles zijn ongeldig.",unique:"Hosts of handles bevatten duplicaten."}};export{t as a,H as b,v as c};/**i18n:85d030b7fdd36d163c6d41dcef9178681a6baa573eb199e8b12fe27dbb057a98*///# sourceMappingURL=chunk-O32S4GPS.js.map