import{a}from"./chunk-G4O2EKPY.js";import{d as n}from"./chunk-VJWG2YMW.js";import{mh as o}from"./chunk-QIQJDAPQ.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+" ge\xE7erli de\u011Fil ");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+" ge\xE7erli de\u011Fil ");return i.length===0?null:{validHostsOrHandles:{reason:"invalid",value:i.join(". ")+"."}};},H={VALIDATORS:[n.required,u,a],MESSAGES:{required:"Alan ad\u0131 gerekli.",validHosts:"Girilen ana makineler ge\xE7ersiz.",unique:"Girilen ana bilgisayarlar kopyalar i\xE7eriyor."}},v={VALIDATORS:[n.required,d,a],MESSAGES:{required:"Alan ad\u0131 gerekli.",validHostsOrHandles:"Ana bilgisayarlar veya tan\u0131t\u0131c\u0131lar ge\xE7ersiz.",unique:"Ana bilgisayarlar veya tan\u0131t\u0131c\u0131lar kopyalar i\xE7eriyor."}};export{t as a,H as b,v as c};/**i18n:d946b30bd8b2b104e368c275b91cb34bb911fa22291c946a5e8c8a6facd9306d*///# sourceMappingURL=chunk-PO67OFMP.js.map