PageSourceSearch

https://kaboodu.org/assets/SignupConfirm-DAmyay0c.js

js kaboodu.org collected 2026-09-24 15:09:13 UTC 2,023 bytes, 2 lines download raw bytes

1import{u as x,k as s,j as e,O as u,N as h,L as p,I as f,c as y}from"./index-ZY1lJleC.js";function j(){const c=x(),t=new URLSearchParams(c.search).get("email")||"your inbox",[n,a]=s.useState(0),[o,r]=s.useState(!1),[l,i]=s.useState("");s.useEffect(()=>{if(n<=0)return;const m=setTimeout(()=>a(n-1),1e3);return()=>clearTimeout(m)},[n]);const d=async()=>{if(!(n>0||o||t==="your inbox")){r(!0),i("");try{await y.resendConfirmation(t),i("Sent another link."),a(30)}catch{i("Couldn't resend — try again in a moment.")}finally{r(!1)}}};return e.jsxs("div",{className:"paper-grain",style:{minHeight:"100vh",display:"flex",flexDirection:"column"},children:[e.jsx(u,{step:2,total:3}),e.jsx("main",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",padding:"var(--gutter)"},children:e.jsxs("div",{style:{maxWidth:520,width:"100%",textAlign:"left"},children:[e.jsx(h,{n:2}),e.jsxs("h2",{className:"display",style:{fontSize:"clamp(40px, 5.5vw, 64px)",lineHeight:1.02,margin:"12px 0 24px",paddingBottom:10},children:["Check your ",e.jsx("span",{className:"display-italic",children:"inbox."})]}),e.jsxs("p",{style:{fontSize:17,color:"var(--ink-soft)",lineHeight:1.55,marginBottom:16},children:["We sent a confirmation link to ",e.jsx("strong",{children:t}),". Click it to verify your account, then come back here to sign in."]}),e.jsx("p",{className:"mono",style:{color:"var(--ink-mute)",marginBottom:32},children:"Can't find it? Check spam, or resend below."}),e.jsxs("div",{style:{display:"flex",gap:12,alignItems:"center",flexWrap:"wrap"},children:[e.jsxs(p,{to:"/login",className:"btn",children:["I confirmed — sign in ",e.jsx(f,{name:"arrow-right",size:14})]}),e.jsx("button",{className:"btn btn-ghost",onClick:d,disabled:o||n>0||t==="your inbox",style:{border:"1px solid var(--rule)"},children:n>0?`Resend in ${n}s`:"Resend link"})]}),l&&e.jsx("p",{className:"mono",style:{marginTop:16,color:"var(--ink-mute)"},children:l})]})})]})}export{j as default};
2//# sourceMappingURL=SignupConfirm-DAmyay0c.js.map

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.