import{d as e}from"./chunk-VUHOGLVJ.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:"Notandanafn er nau\xF0synlegt.",minlength:"Notandanafni\xF0 ver\xF0ur a\xF0 vera a\xF0 minnsta kosti 1 stafur.",maxlength:"Notandanafn m\xE1 ekki vera lengra en 50 stafir.",pattern:"Notendan\xF6fn geta einungis innihaldi\xF0 l\xE1gstafa t\xF6lur og b\xF3kstafi \xE1samt punktum og undirstrikun."}},i={VALIDATORS:[e.required,e.minLength(1),e.maxLength(50),e.pattern(/^[a-z0-9][a-z0-9._]*$/)],MESSAGES:{required:"Heiti r\xE1sar er nau\xF0synlegt.",minlength:"Heiti r\xE1sar ver\xF0ur a\xF0 vera a.m.k. 1 stafur a\xF0 lengd.",maxlength:"Heiti r\xE1sar m\xE1 ekki vera lengra en 50 stafir.",pattern:"Heiti r\xE1sa geta einungis innihaldi\xF0 l\xE1gstafa t\xF6lur og b\xF3kstafi \xE1samt punktum og undirstrikun."}},c={VALIDATORS:[e.required,e.email],MESSAGES:{required:"T\xF6lvup\xF3stfang er nau\xF0synlegt.",email:"T\xF6lvup\xF3stfang ver\xF0ur a\xF0 vera gilt."}},s={VALIDATORS:[e.required,e.pattern(/@.+/)],MESSAGES:{required:"Au\xF0kenni er nau\xF0synlegt.",pattern:"Au\xF0kenni ver\xF0ur a\xF0 vera gilt (t.d. chocobozzz@example.com)."}},A={VALIDATORS:[e.required],MESSAGES:{required:"Lykilor\xF0 er nau\xF0synlegt."}},S={VALIDATORS:[e.required],MESSAGES:{required:"OTP-teikn er nau\xF0synlegt."}},m={VALIDATORS:[e.required,e.minLength(6),e.maxLength(255)],MESSAGES:{required:"Lykilor\xF0 er nau\xF0synlegt.",minlength:"Lykilor\xF0 ver\xF0ur a\xF0 vera a\xF0 minnsta kosti 6 stafa langt.",maxlength:"Lykilor\xF0 m\xE1 ekki vera lengra en 255 stafir."}},E={VALIDATORS:[e.minLength(6),e.maxLength(255)],MESSAGES:{minlength:"Lykilor\xF0 ver\xF0ur a\xF0 vera a\xF0 minnsta kosti 6 stafa langt.",maxlength:"Lykilor\xF0 m\xE1 ekki vera lengra en 255 stafir."}},d={VALIDATORS:[],MESSAGES:{matchPassword:"N\xFDja lykilor\xF0i\xF0 og sta\xF0festa lykilor\xF0i\xF0 samsvara ekki."}},h={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Kv\xF3ti myndskei\xF0a er nau\xF0synlegur.",min:"Kv\xF3ti ver\xF0ur a\xF0 vera meiri en -1."}},R={VALIDATORS:[e.required,e.min(-1)],MESSAGES:{required:"Dagleg takm\xF6rk innsendinga eru nau\xF0synleg.",min:"Dagleg takm\xF6rk innsendinga ver\xF0a a\xF0 vera meiri en -1."}},u={VALIDATORS:[e.required],MESSAGES:{required:"Hlutverk notanda er nau\xF0synlegt."}},L=t(!0),D={VALIDATORS:[e.minLength(3),e.maxLength(1e3)],MESSAGES:{minlength:"L\xFDsing ver\xF0ur a\xF0 vera a.m.k 3 stafa l\xF6ng.",maxlength:"L\xFDsing m\xE1 ekki vera lengri en 1000 stafir."}},O={VALIDATORS:[e.minLength(3),e.maxLength(250)],MESSAGES:{minlength:"\xC1st\xE6\xF0a banns ver\xF0ur a\xF0 vera a.m.k 3 stafa l\xF6ng.",maxlength:"\xC1st\xE6\xF0a banns m\xE1 ekki vera lengri en 250 stafir."}};function t(r){let a={VALIDATORS:[e.minLength(1),e.maxLength(120)],MESSAGES:{required:"Birtingarnafn er nau\xF0synlegt.",minlength:"Birtingarnafn ver\xF0ur a\xF0 vera a\xF0 minnsta kosti 1 stafur.",maxlength:"Birtingarnafn m\xE1 ekki vera lengra en 50 stafir."}};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:1cf7c077143c4c267fdafbe5508f191afcef21bad6aba22a3a8dc180e1003753*///# sourceMappingURL=chunk-ZNXOWO2Q.js.map