PageSourceSearch

https://squadbalance.com/build/assets/CompleteRegistration-QmqTh2gP.js

js squadbalance.com collected 2026-10-02 01:46:09 UTC 3,044 bytes, 1 lines download raw bytes

1import{r as f,j as s}from"./vendor-wHC2ntYA.js";import{I as l}from"./InputError-sYI1RUTE.js";import{I as r}from"./InputLabel-Ci6p2K74.js";import{T as o}from"./TextInput-bWCKf1zE.js";import{B as h}from"./button-DgxPEQwo.js";import{t as w}from"./gtag-nMA7NiLL.js";import{G as j}from"./GuestLayout-C0fnNcgr.js";import{u as g,H as N}from"./inertia-BxUlTYdw.js";import{C as v}from"./crown-3WliWNVN.js";import{C as b}from"./check-CK0YpgxQ.js";import"./index-D1Fr3kbQ.js";import"./index-C3nnnCt4.js";import"./app-CJjB2_mY.js";/* empty css            */import"./createLucideIcon-Dy18DS_c.js";function B({email:c,sessionId:d,tierName:p,features:t}){const{data:i,setData:a,post:u,processing:m,errors:n}=g({session_id:d,password:"",password_confirmation:"",timezone:""});f.useEffect(()=>{w();try{const e=Intl.DateTimeFormat().resolvedOptions().timeZone;e&&a("timezone",e)}catch{}},[]);const x=e=>{e.preventDefault(),u(route("guest.checkout.store"))};return s.jsxs(j,{children:[s.jsx(N,{title:"Complete Registration"}),s.jsxs("div",{className:"mb-6 text-center",children:[s.jsx("div",{className:"mx-auto mb-3 flex h-14 w-14 items-center justify-center rounded-full bg-green-100",children:s.jsx(v,{className:"h-7 w-7 text-green-600"})}),s.jsx("h1",{className:"font-serif text-2xl text-zinc-900",children:"Payment Successful!"}),s.jsxs("p",{className:"mt-1 text-sm text-zinc-500",children:["Set a password to complete your ",s.jsx("span",{className:"font-medium text-zinc-700",children:p})," account."]})]}),s.jsx("div",{className:"mb-6 rounded-lg bg-zinc-50 p-3",children:s.jsxs("ul",{className:"space-y-1",children:[t.slice(0,3).map(e=>s.jsxs("li",{className:"flex items-center gap-2 text-xs text-zinc-600",children:[s.jsx(b,{className:"h-3 w-3 flex-shrink-0 text-green-500"}),e]},e)),t.length>3&&s.jsxs("li",{className:"text-xs text-zinc-400",children:["+",t.length-3," more features"]})]})}),s.jsxs("form",{onSubmit:x,children:[s.jsxs("div",{children:[s.jsx(r,{htmlFor:"email",value:"Email"}),s.jsx(o,{id:"email",type:"email",value:c,className:"mt-1 block w-full bg-zinc-50",readOnly:!0})]}),s.jsxs("div",{className:"mt-4",children:[s.jsx(r,{htmlFor:"password",value:"Password"}),s.jsx(o,{id:"password",type:"password",name:"password",value:i.password,className:"mt-1 block w-full",autoComplete:"new-password",isFocused:!0,onChange:e=>a("password",e.target.value),required:!0}),s.jsx(l,{message:n.password,className:"mt-2"})]}),s.jsxs("div",{className:"mt-4",children:[s.jsx(r,{htmlFor:"password_confirmation",value:"Confirm Password"}),s.jsx(o,{id:"password_confirmation",type:"password",name:"password_confirmation",value:i.password_confirmation,className:"mt-1 block w-full",autoComplete:"new-password",onChange:e=>a("password_confirmation",e.target.value),required:!0}),s.jsx(l,{message:n.password_confirmation,className:"mt-2"})]}),s.jsx("div",{className:"mt-6",children:s.jsx(h,{type:"submit",disabled:m,className:"min-h-[44px] w-full bg-blue-500 hover:bg-blue-600",children:m?"Creating Account...":"Create Account"})})]})]})}export{B 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.