PageSourceSearch

https://7maravilhas.pt/build/assets/register-uoDD9dDd.js

js 7maravilhas.pt collected 2026-09-24 23:50:31 UTC 2,580 bytes, 1 lines download raw bytes

1import{v as c,j as e,$ as u}from"./app-Ce8cAmW-.js";import{I as i}from"./input-error-DGjcHWMi.js";import{T as x}from"./text-link-CdAJ88nO.js";import{P as h}from"./primary-button-hvRD1VpQ.js";import{L as m,I as d}from"./label-DMMt9_Zb.js";import{A as g}from"./auth-layout-cxzxZBKa.js";import{L as j}from"./loader-circle-BOmrHRRl.js";/* empty css            */import"./index-BLDRET_f.js";function F(){const{data:r,setData:o,post:l,processing:s,errors:t,reset:n}=c({name:"",email:"",password:"",password_confirmation:""}),p=a=>{a.preventDefault(),l(route("register"),{onFinish:()=>n("password","password_confirmation")})};return e.jsxs(g,{title:"Criar conta",description:"Preencha os seus dados abaixo para criar a sua conta",children:[e.jsx(u,{title:"Registar"}),e.jsxs("form",{className:"flex flex-col gap-6",onSubmit:p,children:[e.jsxs("div",{className:"grid gap-6",children:[e.jsxs("div",{className:"grid gap-2",children:[e.jsx(m,{htmlFor:"name",children:"Nome"}),e.jsx(d,{id:"name",type:"text",required:!0,autoFocus:!0,tabIndex:1,autoComplete:"name",value:r.name,onChange:a=>o("name",a.target.value),disabled:s,placeholder:"Nome completo"}),e.jsx(i,{message:t.name,className:"mt-2"})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(m,{htmlFor:"email",children:"Endereço de email"}),e.jsx(d,{id:"email",type:"email",required:!0,tabIndex:2,autoComplete:"email",value:r.email,onChange:a=>o("email",a.target.value),disabled:s,placeholder:"[email protected]"}),e.jsx(i,{message:t.email})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(m,{htmlFor:"password",children:"Palavra-passe"}),e.jsx(d,{id:"password",type:"password",required:!0,tabIndex:3,autoComplete:"new-password",value:r.password,onChange:a=>o("password",a.target.value),disabled:s,placeholder:"Palavra-passe"}),e.jsx(i,{message:t.password})]}),e.jsxs("div",{className:"grid gap-2",children:[e.jsx(m,{htmlFor:"password_confirmation",children:"Confirmar palavra-passe"}),e.jsx(d,{id:"password_confirmation",type:"password",required:!0,tabIndex:4,autoComplete:"new-password",value:r.password_confirmation,onChange:a=>o("password_confirmation",a.target.value),disabled:s,placeholder:"Confirmar palavra-passe"}),e.jsx(i,{message:t.password_confirmation})]}),e.jsxs(h,{type:"submit",className:"mt-2 w-full",tabIndex:5,disabled:s,children:[s&&e.jsx(j,{className:"h-4 w-4 animate-spin"}),"Criar conta"]})]}),e.jsxs("div",{className:"text-muted-foreground text-center text-sm",children:["Já tem uma conta?"," ",e.jsx(x,{href:route("login"),tabIndex:6,children:"Iniciar sessão"})]})]})]})}export{F 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.