PageSourceSearch

https://eu-genio.ai/build/assets/Register-CWDsBpc9.js

js eu-genio.ai collected 2026-10-05 14:12:08 UTC 9,132 bytes, 1 lines download raw bytes

1import{d as h,ai as y,o as g,c as x,g as n,i as s,ah as v,a as e,t as o,a6 as _,h as i,v as p,aa as w,e as k,j as $,p as u,f as V,af as C}from"./app-B7yVjUma.js";import{_ as d}from"./InputError.vue_vue_type_script_setup_true_lang-DQ1XoVGI.js";import{L as D}from"./loader-circle-w9hpfH7y.js";import{_ as U}from"./_plugin-vue_export-helper-DlAUqK2U.js";/* empty css            */import"./createLucideIcon-BptR15zm.js";const j={class:"flex min-h-screen flex-1 flex-col justify-between bg-cover bg-center bg-no-repeat",style:{"background-image":"url('/img/bg-inicio-sesion-white.jpg')"}},M={class:"flex flex-1 flex-col justify-center py-12 sm:px-6 lg:px-8"},B={class:"mt-10 sm:mx-auto sm:w-full sm:max-w-[800px]"},N={class:"bg-white/80 px-6 py-10 shadow-sm backdrop-blur-sm sm:rounded-lg sm:px-12"},F={class:"mb-12 text-center text-2xl font-bold tracking-tight text-primary uppercase"},S={class:"grid grid-cols-1 gap-6 sm:grid-cols-2 sm:items-end"},E={class:"flex items-center gap-4 rounded-full border border-gray-600/30 bg-gray-300/50 px-6 py-4 backdrop-blur-sm"}
1,I=["placeholder"],L={class:"flex items-center gap-4 rounded-full border border-gray-600/30 bg-gray-300/50 px-6 py-4 backdrop-blur-sm"},P=["placeholder"],R={class:"mb-2 block pl-1 text-sm font-medium text-gray-600"},T={class:"flex items-center gap-4 rounded-full border border-gray-600/30 bg-gray-300/50 px-6 py-4 backdrop-blur-sm"},q={class:"flex items-center gap-4 rounded-full border border-gray-600/30 bg-gray-300/50 px-6 py-4 backdrop-blur-sm"},K={value:"",disabled:"",selected:""},Y={value:"male"},z={value:"female"},A={value:"other"},G={class:"flex items-center gap-4 rounded-full border border-gray-600/30 bg-gray-300/50 px-6 py-4 backdrop-blur-sm"},H=["placeholder"],J={class:"flex items-center gap-4 rounded-full border border-gray-600/30 bg-gray-300/50 px-6 py-4 backdrop-blur-sm"},O=["placeholder"],Q={class:"sm:col-span-2"},W={class:"flex items-center gap-4 rounded-full border border-gray-600/30 bg-gray-300/50 px-6 py-4 backdrop-blur-sm"},X=["placeholder"],Z={class:"flex items-center gap-4 rounded-full border border-gray-600/30 bg-gray-300/50 px-6 py-4 backdrop-blur-sm"}
1,ee=["placeholder"],te={class:"flex items-center gap-4 rounded-full border border-gray-600/30 bg-gray-300/50 px-6 py-4 backdrop-blur-sm"},se=["placeholder"],re={class:"pt-4"},le=["disabled"],ae={class:"mt-6 text-center text-sm text-gray-500"},oe={class:"mt-auto bg-primary py-3 text-sm text-white"},ne={class:"flex flex-col items-center justify-around gap-2 sm:flex-row sm:gap-0"},ie={href:"#",target:"_blank",class:"hover:underline"},de=h({__name:"Register",setup(pe){const r=y({name:"",lastname:"",birthdate:"",gender:"",email:"",email_confirmation:"",phone:"",password:"",password_confirmation:""}),c=new Date().getFullYear(),b=()=>{r.post(route("register",{},!1),{onFinish:()=>r.reset("password","password_confirmation")})};return(a,t)=>(g(),x("div",j,[n(s(v),{title:a.$t("auth.register.title")},null,8,["title"]),e("div",M,[t[21]||(t[21]=e("div",{class:"sm:mx-auto sm:w-full sm:max-w-md"},[e("img",{class:"mx-auto w-auto",src:"/img/log-eu-genio.png",alt:"Eugenio"})],-1)),e("div",B,[e("div",N,[e("h2",F,o(a.$t("auth.register.header")),1),e("form",{class:"space-y-6",onSubmit:_(b,["prevent"])},[e("div",S,[e("div",null,[n(d,{class:"mb-3",message:s(r).errors.name},null,8,["message"]),e("div",E,[t[12]||(t[12]=e("i",{"data-eva":"person-outline","data-eva-fill":"currentColor",class:"h-6 w-6 text-gray-500"},null,-1)),i(e("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=l=>s(r).name=l),dusk:"register-name",autofocus:"",class:"flex-1 bg-transparent text-lg placeholder-gray-500 outline-none",placeholder:a.$t("auth.register.name_placeholder")},null,8,I),[[p,s(r).name]])])]),e("div",null,[n(d,{class:"mb-3",message:s(r).errors.lastname},null,8,["message"]),e("div",L,[t[13]||(t[13]=e("i",{"data-eva":"people-outline","data-eva-fill":"currentColor",class:"h-6 w-6 text-gray-500"},null,-1)),i(e("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=l=>s(r).lastname=l),dusk:"register-lastname",class:"flex-1 bg-transparent text-lg placeholder-gray-500 outline-none",placeholder:a.$t("auth.register.lastname_placeholder")},null,8,P),[[p,s(r).lastname]])])]),e("div",null,[e("label",R,o(a.$t("auth.register.birthdate_label")),1),n(d,{class:"mb-3",message:s(r).errors.birthdate},null,8,["message"]),e("div",T,[t[14]||(t[14]=e("i",{"data-eva":"calendar-outline","data-eva-fill":"currentColor",class:"h-6 w-6 text-gray-500"},null,-1)),i(e("input",{type:"date","onUpdate:modelValue":t[2]||(t[2]=l=>s(r).birthdate=l),dusk:"register-birthdate",class:"flex-1 bg-transparent text-lg text-gray-700 placeholder-gray-500 outline-none"},null,512),[[p,s(r).birthdate]])])]),e("div",null,[n(d,{class:"mb-3",message:s(r).errors.gender},null,8,["message"]),e("div",q,[t[15]||(t[15]=e("i",{"data-eva":"person-outline","data-eva-fill":"currentColor",class:"h-6 w-6 text-gray-500"},null,-1)),i(e("select",{"onUpdate:modelValue":t[3]||(t[3]=l=>s(r).gender=l),dusk:"register-gender",class:"flex-1 border-none bg-transparent p-0 text-lg text-gray-700 placeholder-gray-500 outline-none focus:ring-0"},[e("option",K,o(a.$t("auth.register.gender_placeholder")),1),e("option",Y,o(a.$t("auth.register.genders.male")),1),e("option",z,o(a.$t("auth.register.genders.female")),1),e("option",A,o(a.$t("auth.register.genders.other")),1)],512),[[w,s(r).gender]])])]),e("div",null,[n(d,{class:"mb-3",message:s(r).errors.email},null,8,["message"]),e("div",G,[t[16]||(t[16]=e("i",{"data-eva":"email-outline","data-eva-fill":"currentColor",class:"h-6 w-6 text-gray-500"},null,-1)),i(e("input",{type:"email","onUpdate:modelValue":t[4]||(t[4]=l=>s(r).email=l),dusk:"register-email",class:"flex-1 bg-transparent text-lg placeholder-gray-500 outline-none",placeholder:a.$t("auth.register.email_placeholder")},null,8,H),[[p,s(r).email]])])]),e("div",null,[n(d,{class:"mb-3",message:s(r).errors.email_confirmation},null,8,["message"]),e("div",J,[t[17]||(t[17]=e("i",{"data-eva":"email-outline","data-eva-fill":"currentColor",class:"h-6 w-6 text-gray-500"},null,-1)),i(e("input",{type:"email","onUpdate:modelValue":t[5]||(t[5]=l=>s(r).email_confirmation=l),dusk:"register-email-confirmation",autocomplete:"off",class:"flex-1 bg-transparent text-lg placeholder-gray-500 outline-none",placeholder:a.$t("auth.register.confirm_email_placeholder")},null,8,O),[[p,s(r).email_confirmation]])])]),e("div",Q,[n(d,{class:"mb-3",message:s(r).errors.phone},null,8,["message"]),e("div",W,[t[18]||(t[18]=e("i",{"data-eva":"phone-outline","data-eva-fill":"currentColor",class:"h-6 w-6 text-gray-500"},null,-1)),i(e("input",{type:"tel","onUpdate:modelValue":t[6]||(t[6]=l=>s(r).phone=l),dusk:"register-phone",required:"",maxlength:"10",inputmode:"numeric",pattern:"[0-9]{10}",onInput:t[7]||(t[7]=l=>s(r).phone=s(r).phone.replace(/\D/g,"").slice(0,10)),onKeypress:t[8]||(t[8]=l
1=>{/[0-9]/.test(l.key)||l.preventDefault()}),onPaste:t[9]||(t[9]=l=>{var m;l.preventDefault();const f=(((m=l.clipboardData)==null?void 0:m.getData("text"))??"").replace(/\D/g,"").slice(0,10);s(r).phone=f}),class:"flex-1 bg-transparent text-lg placeholder-gray-500 outline-none",placeholder:a.$t("auth.register.phone_placeholder")},null,40,X),[[p,s(r).phone]])])]),e("div",null,[n(d,{class:"mb-3",message:s(r).errors.password},null,8,["message"]),e("div",Z,[t[19]||(t[19]=e("i",{"data-eva":"lock-outline","data-eva-fill":"currentColor",class:"h-6 w-6 text-gray-500"},null,-1)),i(e("input",{type:"password","onUpdate:modelValue":t[10]||(t[10]=l=>s(r).password=l),dusk:"register-password",class:"flex-1 bg-transparent text-lg placeholder-gray-500 outline-none",placeholder:a.$t("auth.register.password_placeholder")},null,8,ee),[[p,s(r).password]])])]),e("div",null,[n(d,{class:"mb-3",message:s(r).errors.password_confirmation},null,8,["message"]),e("div",te,[t[20]||(t[20]=e("i",{"data-eva":"lock-outline","data-eva-fill":"currentColor",class:"h-6 w-6 text-gray-500"},null,-1)),i(e("input",{type:"password","onUpdate:modelValue":t[11]||(t[11]=l=>s(r).password_confirmation=l),dusk:"register-password-confirmation",class:"flex-1 bg-transparent text-lg placeholder-gray-500 outline-none",placeholder:a.$t("auth.register.confirm_password_placeholder")},null,8,se),[[p,s(r).password_confirmation]])])])]),e("div",re,[e("button",{type:"submit",dusk:"register-submit",disabled:s(r).processing,class:"btn-primary w-full shadow-lg"},[s(r).processing?(g(),k(s(D),{key:0,class:"mt-1 mr-2 h-4 w-4 animate-spin"})):$("",!0),u(" "+o(a.$t("auth.register.submit")),1)],8,le)]),e("p",ae,[u(o(a.$t("auth.register.already_account"))+" ",1),n(s(C),{href:a.route("login"),class:"font-semibold text-primary transition-colors hover:text-primary/80"},{default:V(()=>[u(o(a.$t("auth.register.login_link")),1)]),_:1},8,["href"])])],32)])])]),e("footer",oe,[e("div",ne,[t[22]||(t[22]=e("div",{class:"text-center"},[e("p",null,"Powered by VentureMe"),e("p",null,"Developed by Venture Me")],-1)),e("p",null,o(s(c))+" "+o(a.$t("auth.footer.rights_reserved")),1),e("p",null,[e("a",ie,o(a.$t("auth.footer.terms")),1)])])])]))}}),ye=U(de,[["__scopeId","data-v-81b352bd"]]);export{ye as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.