import{d as e}from"./chunk-MJIAB7QL.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:"El nom del compte \xE9s obligatori.",minlength:"El nom del compte ha de tindre com a m\xEDnim 1 car\xE0cter.",maxlength:"El nom del compte no pot tindre m\xE9s de 50 car\xE0cters.",pattern:"El nom del compte ha de ser alfanum\xE8ric en min\xFAscules; es permeten els punts i els guions baixos."}},i={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"El nom del canal \xE9s obligatori.",minlength:"El nom del canal ha de tindre com a m\xEDnim 1 car\xE0cter.",maxlength:"El nom del canal no pot tindre m\xE9s de 50 car\xE0cters.",pattern:"El nom del canal ha d'estar en min\xFAscules i nom\xE9s pot contindre car\xE0cters alfanum\xE8rics, punts i guions baixos."}},c={VALIDATORS:[e.required,e.email],MESSAGES:{required:"L'adre\xE7a electr\xF2nica \xE9s obligat\xF2ria.",email:"L'adre\xE7a electr\xF2nica ha d'\xE9sser v\xE0lida."}},s={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"L'identificador \xE9s obligatori.",pattern:"L'identificador ha d'\xE9sser v\xE0lid (per exemple joan@exemple.cat)."}},A={VALIDATORS:[e.required],MESSAGES:{required:"La contrasenya \xE9s obligat\xF2ria."}},S={VALIDATORS:[e.required],MESSAGES:{required:"La fitxa OTP \xE9s obligat\xF2ria."}},m={VALIDATORS:[e.required,e.minLength(6),e.maxLength(255)],MESSAGES:{required:"La contrasenya \xE9s obligat\xF2ria.",minlength:"La contrasenya ha de tindre com a m\xEDnim 6 car\xE0cters.",maxlength:"La contrasenya no pot tindre m\xE9s de 255 car\xE0cters."}},E={VALIDATORS:[e.minLength(6),e.maxLength(255)],MESSAGES:{minlength:"La contrasenya ha de tindre com a m\xEDnim 6 car\xE0cters.",maxlength:"La contrasenya no pot tindre 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:"La quota de v\xEDdeo \xE9s obligat\xF2ria.",min:"La quota ha d'\xE9sser superior a -1."}},R={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"El l\xEDmit diari de pujada \xE9s obligatori.",min:"El l\xEDmit diari de pujada ha d'\xE9sser major que -1."}},u={VALIDATORS:[e.required],MESSAGES:{required:"El rol del compte \xE9s obligatori."}},L=t(!0),D={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"La descripci\xF3 ha de tindre almenys 3 car\xE0cters.",maxlength:"La descripci\xF3 no pot tindre m\xE9s de 1000 car\xE0cters."}},O={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"El motiu del bandeig ha de tindre almenys 3 car\xE0cters.",maxlength:"El motiu del bandeig no pot tindre m\xE9s de 250 car\xE0cters."}};function t(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"El nom mostrat \xE9s obligatori.",minlength:"El nom mostrat ha de tindre almenys 1 car\xE0cter.",maxlength:"El nom mostrat no pot tindre m\xE9s de 50 car\xE0cters."}};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:7c691147a9ded88b46d9cd2285c6afa220006ce26eb0d02eb4522192723b6cd8*///# sourceMappingURL=chunk-TDT5ENQH.js.map