import{a}from"./chunk-TRAGH25N.js";import{d as n}from"./chunk-UR42IA56.js";import{uh as o}from"./chunk-CUA2BO3S.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+" n\xE3o \xE9 v\xE1lido\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+" n\xE3o \xE9 v\xE1lido\n        ");return i.length===0?null:{validHostsOrHandles:{reason:"invalid",value:i.join(". ")+"."}};},H={VALIDATORS:[n.required,u,a],MESSAGES:{required:"Dom\xEDnio \xE9 obrigat\xF3rio.",validHosts:"Os hosts inseridos s\xE3o inv\xE1lidos.",unique:"Os hosts inseridos cont\xEAm duplicatas."}},v={VALIDATORS:[n.required,d,a],MESSAGES:{required:"Dom\xEDnio \xE9 obrigat\xF3rio.",validHostsOrHandles:"Hosts ou identificadores s\xE3o inv\xE1lidos.",unique:"Hosts ou identificadores cont\xEAm duplicatas."}};export{t as a,H as b,v as c};/**i18n:42440f0a8726af1836b15b193adfd3f46a3ecd983a1ed2a1e05982c4f600c8a1*///# sourceMappingURL=chunk-UF75L353.js.map