import{d as e}from"./chunk-MQKTIDDS.js";import{a as t}from"./chunk-WH5WJFMZ.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:"Lo nom d\u2019utilizaire es requesit.",minlength:"Lo nom d\u2019utilizaire deu almens cont\xE9ner 1 caract\xE8r.",maxlength:"Lo nom d\u2019utilizaire p\xF2t pas cont\xE9ner mai de 50 caract\xE8rs.",pattern:"Lo nom d\u2019utilizaire deu \xE8sser alfanumeric e en minuscula\u202F: ponches e jonhents bas son autorizats."}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Channel name is required.",minlength:"Channel name must be at least 1 character long.",maxlength:"Channel name cannot be more than 50 characters long.",pattern:"Channel name should be lowercase, and can contain only alphanumeric characters, dots and underscores."}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"L\u2019adre\xE7a electronica es requesida.",email:"L\u2019adre\xE7a electronica deu \xE8sser valida."}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Handle is required.",pattern:"Handle must be valid (eg. chocobozzz@example.com)."}},d={VALIDATORS:[e.required],MESSAGES:{required:"Lo senhal es requesit."}},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:"Lo senhal es requesit."},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:"Lo nov\xE8l senhal e sa confirmacion correspondon pas."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Lo qu\xF2ta vid\xE8o es requesit.",min:"Lo qu\xF2ta deu \xE8sser superior a -1."}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Lo qu\xF2ta jornali\xE8r de mandad\xEDs es requesit.",min:"Lo qu\xF2ta jornali\xE8r deu \xE8sser superior a -1."}},L={VALIDATORS:[e.required],MESSAGES:{required:"Lo r\xF2tle del l\u2019utilizaire es requesit."}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"La descripcion deu almens cont\xE9ner 3 caract\xE8rs.",maxlength:"La descripcion p\xF2t pas cont\xE9ner mai de 1000 caract\xE8rs."}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"La rason del bandiment deu cont\xE9ner almens 3 caract\xE8rs.",maxlength:"La rason del bandiment p\xF2t pas cont\xE9ner mai de 250 caract\xE8rs."}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"L\u2019escais-nom es requesit.",minlength:"Lo nom public deu almens cont\xE9ner 1 caract\xE8r.",maxlength:"Lo nom public p\xF2t pas cont\xE9ner mai de 50 caract\xE8rs."}};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:ae7e6707fc51a9e1f6f015929aece8afe43a92a094f09f07f0463afe6c89573f*///# sourceMappingURL=chunk-MXBL6INN.js.map