import{s as w}from"./chunk-C6uGsfWa.js";import{F as ye}from"./chunk-BPHMC4rz.js";var n=`[a-z0-9][a-z0-9._]`;var d={VALIDATORS:[ye.required,ye.minLength(1),ye.maxLength(50),ye.pattern(new RegExp(`^${n}*$`))],MESSAGES:{required:"Isem n useqdac yettwasra.",minlength:"Isem n useqdac ilaq ad yesεu ma drus 1 usekkil.",maxlength:"Isem n useqdac ur ilaq ara ad yesεu nnig 50 yisekkilen.",pattern:"Isem n useqdac yezmer ad yesεu isekkilen imeẓẓyanen, izwilen, agazen d yijerriden ddaw."}};var A={VALIDATORS:[ye.required,ye.minLength(1),ye.maxLength(50),ye.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Isem n ubadu yettwasra.",minlength:"Isem n ubadu ilaq ad yesεu ma drus 1 usekkil.",maxlength:"Isem n ubadu ur ilaq ara ad iεeddi nnig 50 yisekkilen.",pattern:"Isem n ubadu ilaq ad yili s yisekkilen imeẓẓyanen yerna ilaq ad ilin deg-s ala isekkilen igmumḍinen, agazen d yijerriden n uderrer."}};var S={VALIDATORS:[ye.required,ye.pattern(/@.+/)],MESSAGES:{required:"Mefferisem yettusra.",pattern:"Mefferisem ilaq ad yili d ameɣtu (am. chocobozzz@example.com)."}};var m={VALIDATORS:[ye.required],MESSAGES:{required:"Yettwasra wawal uffir."}};var u={VALIDATORS:[ye.required],MESSAGES:{required:"OTP token is required."}};function E(r,a){let o=l(r,a);return{VALIDATORS:[ye.required,...o.VALIDATORS],MESSAGES:w({required:"Yettwasra wawal uffir."},o.MESSAGES)}}function l(r,a){return{VALIDATORS:[ye.minLength(r),ye.maxLength(a)],MESSAGES:{minlength:`Password must be at least ${r} characters long.`,maxlength:`Password cannot be more than ${a} characters long.`}}}var h={VALIDATORS:[],MESSAGES:{matchPassword:"Awal uffir amaynut d win yettusnetmen ur mṣadan ara."}};var R={VALIDATORS:[ye.required,ye.min(-1)],MESSAGES:{required:"Amur n tvidyut yettwasra.",min:"Amur ilaq ad yili ugar n -1."}};var V={VALIDATORS:[ye.required,ye.min(-1)],MESSAGES:{required:"Talast n usali i wass tettusra.",min:"Talast n usali i wass ilaq ad tili ugar n -1."}};var D={VALIDATORS:[ye.required],MESSAGES:{required:"Tamlilt n useqdac tettusra."}};var L=i(!0);var O={VALIDATORS:[ye.minLength(3),ye.maxLength(1e3)],MESSAGES:{minlength:"Aglam ilaq ad ilin deg-s ma drus 3 yisekkilen.",maxlength:"Aglam ur ilaq ara ad iεeddi 1000 yisekkilen."}};var g={VALIDATORS:[ye.minLength(3),ye.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εeddi nnig 250 yisekkilen."}};function i(r){let a={VALIDATORS:[ye.minLength(1),ye.maxLength(120)],MESSAGES:{required:"Isem yettwaskanen yettusra.",minlength:"Isem yettwaskanen ilaq ad yesεu ma drus 1 usekkil.",maxlength:"Isem yettwaskanen ur ilaq ara ad iεeddi 50 yisekkilen."}};return r&&a.VALIDATORS.push(ye.required),a}export{O as a,V as c,h as d,l as f,u as h,L as i,d as l,n as m,D as n,R as o,m as p,E as r,S as s,A as t,g as u};
//# debugId=40a06e15-e77e-58ba-941d-3427fc68576b
//# sourceMappingURL=chunk-Ly3dbMT12.js.map