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:"Tha ainm-cleachdaiche riatanach.",minlength:"Feumaidh an t-ainm-cleachdaiche a bhith 1 charactar a dh\u2019fhaid air a char as giorra.",maxlength:"Chan fhaod ainm-cleachdaiche a bhith nas fhaide na 50 caractar.",pattern:"Chan fhaod ach litrichean beaga gun str\xE0can, \xE0ireamhan, dotagan is fo-loidhnichean a bhith am broinn ainm-cleachdaiche."}},A={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Tha ainm sianail riatanach.",minlength:"Feumaidh ainm na seanail a bhith 1 charactar a dh\u2019fhaid air a char as giorra.",maxlength:"Chan fhaod ainm na seanail a bhith nas fhaide na 50 caractar.",pattern:"Chan fhaod ach litrichean beaga gun str\xE0can, \xE0ireamhan, dotagan is fo-loidhnichean a bhith am broinn ainm seanail."}},S={VALIDATORS:[e.required,e.email],MESSAGES:{required:"Tha post-d riatanach.",email:"Feumaidh am post-d a bhith dligheach."}},E={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Tha l\xE0imhsichear riatanach.",pattern:"Feumaidh an l\xE0imhsichear a bhith dligheach (m.e. chocobozzz@ball-eisimpleir.com)."}},d={VALIDATORS:[e.required],MESSAGES:{required:"Tha facal-faire riatanach."}},m={VALIDATORS:[e.required],MESSAGES:{required:"Tha t\xF2can dearbhadh OTP riatanach."}};function u(r,a){let n=l(r,a);return{VALIDATORS:[e.required,...n.VALIDATORS],MESSAGES:t({required:"Tha facal-faire riatanach."},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:"Chan eil am facal-faire \xF9r \u2019s a dhearbhadh co-ionnann."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Tha feum air cuota video.",min:"Feumaidh an cuota a bhith nas motha na -1."}},D={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Tha cr\xECoch air an luchdadh suas l\xE0itheil riatanach.",min:"Feumaidh a\u2019 chr\xECoch air an luchdadh suas l\xE0itheil a bhith nas motha na -1."}},L={VALIDATORS:[e.required],MESSAGES:{required:"Tha feum air dreuchd cleachdaiche."}},O=i(!0),I={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"Feumaidh an tuairisgeul a bhith 3 caractaran a dh\u2019fhaid air a char as giorra.",maxlength:"Chan fhaod an tuairisgeul a bhith nas fhaide na 1000 caractar."}},_={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"Feumaidh adhbhar an toirmisg a bhith 3 caractaran a dh\u2019fhaid air a char as giorra.",maxlength:"Chan fhaod adhbhar an toirmisg a bhith nas fhaide na 250 caractar."}};function i(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Tha feum air ainm-taisbeanaidh.",minlength:"Feumaidh an t-ainm-taisbeanaidh a bhith 1 charactar a dh\u2019fhaid air a char as giorra.",maxlength:"Chan fhaod an t-ainm-taisbeanaidh a bhith nas fhaide na 50 caractar."}};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