import{d as e}from"./chunk-7JTNILXC.js";import{a as t}from"./chunk-IQVXR75E.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:"Este necesar un nume de utilizator.",minlength:"Numele de utilizator trebuie s\u0103 aib\u0103 cel pu\u021Bin 1 caracter.",maxlength:"Numele de utilizator nu poate avea mai mult de 50 de caractere.",pattern:"Numele de utilizator trebuie s\u0103 fie alfanumeric, cu litere mici; punctele \u0219i liniu\u021Bele sunt permise."}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Este necesar un nume de canal.",minlength:"Numele canalului trebuie s\u0103 aib\u0103 cel pu\u021Bin 1 caracter.",maxlength:"Numele canalului nu poate avea mai mult de 50 de caractere.",pattern:"Numele canalului trebuie s\u0103 fie cu litere mici \u0219i s\u0103 con\u021Bin\u0103 doar caractere alfanumerice, puncte \u0219i liniu\u021Be."}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"Emailul este obligatoriu.",email:"Emailul trebuie s\u0103 fie valid."}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Este necesar un identificator (handle).",pattern:"Identificatorul trebuie s\u0103 fie valid (ex: chocobozzz@example.com)."}},d={VALIDATORS:[e.required],MESSAGES:{required:"Este necesar\u0103 o parol\u0103."}},m={VALIDATORS:[e.required],MESSAGES:{required:"Este necesar un token OTP."}};function u(r,a){let n=l(r,a);return{VALIDATORS:[e.required,...n.VALIDATORS],MESSAGES:t({required:"Este necesar\u0103 o parol\u0103."},n.MESSAGES)};}function l(r,a){return{VALIDATORS:[e.minLength(r),e.maxLength(a)],MESSAGES:{minlength:"Parola trebuie s\u0103 aib\u0103 cel pu\u021Bin "+r+" caractere.",maxlength:"Parola nu poate avea mai mult de "+a+" caractere."}};}var R={VALIDATORS:[],MESSAGES:{matchPassword:"Parola nou\u0103 \u0219i parola confirmat\u0103 nu corespund."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Este necesar\u0103 o cot\u0103 de videoclipuri.",min:"Cota trebuie s\u0103 fie mai mare dec\xE2t -1."}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Este necesar\u0103 o limit\u0103 zilnic\u0103 de \xEEnc\u0103rcare.",min:"Limita zilnic\u0103 de \xEEnc\u0103rcare trebuie s\u0103 fie mai mare dec\xE2t -1."}},L={VALIDATORS:[e.required],MESSAGES:{required:"Este necesar un rol pentru utilizator."}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Descrierea trebuie s\u0103 aib\u0103 cel pu\u021Bin 3 caractere.",maxlength:"Descrierea nu poate avea mai mult de 1000 de caractere."}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"Motivul interzicerii trebuie s\u0103 aib\u0103 cel pu\u021Bin 3 caractere.",maxlength:"Motivul interzicerii nu poate avea mai mult de 250 de caractere."}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Numele afi\u0219at este obligatoriu.",minlength:"Numele afi\u0219at trebuie s\u0103 aib\u0103 cel pu\u021Bin 1 caracter.",maxlength:"Numele afi\u0219at nu poate avea mai mult de 50 de caractere."}};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:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*///# sourceMappingURL=chunk-ATXMW3M2.js.map