import{d as e}from"./chunk-K34LZIA3.js";var n="[a-z0-9][a-z0-9._]",l={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(new RegExp(`^${n}*$`))],MESSAGES:{required:"Es requereix nom d'usuari.",minlength:"Username must be at least 1 character long.",maxlength:"Username cannot be more than 50 characters long.",pattern:"Username should be lowercase alphanumeric; dots and underscores are allowed."}},i={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."}},c={VALIDATORS:[e.required,e.email],MESSAGES:{required:"Es requereix un correu electr\xF2nic.",email:"El correu electr\xF2nic ha de ser v\xE0lid."}},s={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Handle is required.",pattern:"Handle must be valid (eg. chocobozzz@example.com)."}},A={VALIDATORS:[e.required],MESSAGES:{required:"Es requereix contrasenya."}},S={VALIDATORS:[e.required],MESSAGES:{required:"OTP token is required."}},m={VALIDATORS:[e.required,e.minLength(6),e.maxLength(255)],MESSAGES:{required:"Es requereix contrasenya.",minlength:"La contrasenya ha de tenir com a m\xEDnim 6 car\xE0cters.",maxlength:"La contrasenya no pot tenir m\xE9s de 255 car\xE0cters."}},E={VALIDATORS:[e.minLength(6),e.maxLength(255)],MESSAGES:{minlength:"La contrasenya ha de tenir com a m\xEDnim 6 car\xE0cters.",maxlength:"La contrasenya no pot tenir m\xE9s de 255 car\xE0cters."}},d={VALIDATORS:[],MESSAGES:{matchPassword:"La nova contrasenya i la contrasenya confirmada no es corresponen."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Es requereix una quota de v\xEDdeo.",min:"La quota ha de ser superior a -1."}},R={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Daily upload limit is required.",min:"Daily upload limit must be greater than -1."}},u={VALIDATORS:[e.required],MESSAGES:{required:"Es requereix una funci\xF3 d'usuari."}},L=t(!0),D={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"La descripci\xF3 ha de tenir almenys 3 car\xE0cters de longitud.",maxlength:"Description cannot be more than 1000 characters long."}},O={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"Ban reason must be at least 3 characters long.",maxlength:"Ban reason cannot be more than 250 characters long."}};function t(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"El nom de visualitzaci\xF3 \xE9s obligatori.",minlength:"Display name must be at least 1 character long.",maxlength:"Display name cannot be more than 50 characters long."}};return r&&a.VALIDATORS.push(e.required),a;}export{n as a,l as b,i as c,c as d,s as e,A as f,S as g,m as h,E as i,d as j,h as k,R as l,u as m,L as n,D as o,O as p};/**i18n:3d16453f213eb5db982e7e7dd90631843ac5d3f860726a614777c3e9e3f9b57e*///# sourceMappingURL=chunk-UBXHYJCF.js.map