import{d as e}from"./chunk-AWFGIQSJ.js";import{a as t}from"./chunk-QVFSZZWQ.js";var o="[a-z0-9][a-z0-9._]",c={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(new RegExp(`^${o}*$`))],MESSAGES:{required:"Isem n useqdac yettwasra.",minlength:"Isem n useqdac ilaq ad yes\u03B5u ma drus 1 usekkil.",maxlength:"Isem n useqdac ur ilaq ara ad yes\u03B5u nnig 50 yisekkilen.",pattern:"Isem n useqdac yezmer ad yes\u03B5u isekkilen ime\u1E93\u1E93yanen, izwilen, agazen d yijerriden ddaw."}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Isem n ubadu yettwasra.",minlength:"Isem n ubadu ilaq ad yes\u03B5u ma drus 1 usekkil.",maxlength:"Isem n ubadu ur ilaq ara ad i\u03B5eddi nnig 50 yisekkilen.",pattern:"Isem n ubadu ilaq ad yili s yisekkilen ime\u1E93\u1E93yanen yerna ilaq ad ilin deg-s ala isekkilen igmum\u1E0Dinen, agazen d yijerriden n uderrer."}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"Yettwasra yimayl.",email:"Ilaq ad yili yimayl d ame\u0263tu."}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Mefferisem yettusra.",pattern:"Mefferisem ilaq ad yili d ame\u0263tu (am. chocobozzz@example.com)."}},d={VALIDATORS:[e.required],MESSAGES:{required:"Yettwasra wawal uffir."}},m={VALIDATORS:[e.required],MESSAGES:{required:"OTP token is required."}};function u(r,a){let n=l(r,a);return{VALIDATORS:[e.required,...n.VALIDATORS],MESSAGES:t({required:"Yettwasra wawal uffir."},n.MESSAGES)};}function l(r,a){return{VALIDATORS:[e.minLength(r),e.maxLength(a)],MESSAGES:{minlength:"Password must be at least "+r+" characters long.",maxlength:"Password cannot be more than "+a+" characters long."}};}var R={VALIDATORS:[],MESSAGES:{matchPassword:"Awal uffir amaynut d win yettusnetmen ur m\u1E63adan ara."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Amur n tvidyut yettwasra.",min:"Amur ilaq ad yili ugar n -1."}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Talast n usali i wass tettusra.",min:"Talast n usali i wass ilaq ad tili ugar n -1."}},L={VALIDATORS:[e.required],MESSAGES:{required:"Tamlilt n useqdac tettusra."}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Aglam ilaq ad ilin deg-s ma drus 3 yisekkilen.",maxlength:"Aglam ur ilaq ara ad i\u03B5eddi 1000 yisekkilen."}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"Ssebba n ugdal ilaq ad ilin deg-s ma drus 3 yisekkilen.",maxlength:"Ssebba n ugdal ur ilaq ara ad t\u03B5eddi nnig 250 yisekkilen."}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Isem yettwaskanen yettusra.",minlength:"Isem yettwaskanen ilaq ad yes\u03B5u ma drus 1 usekkil.",maxlength:"Isem yettwaskanen ur ilaq ara ad i\u03B5eddi 50 yisekkilen."}};return r&&a.VALIDATORS.push(e.required),a;}export{o as a,c as b,A as c,S as d,E as e,d as f,m as g,u as h,l as i,R as j,h as k,D as l,L as m,O as n,I as o,_ as p};/**i18n:42345378061bf3c93df67acfa161b751a7b03cc91f3ede7c1f1cdf2bba62fe26*///# sourceMappingURL=chunk-WO36EOJQ.js.map