PageSourceSearch

https://wittytech.io/assets/link-CQAAVzDc.js

js wittytech.io collected 2026-10-07 16:36:59 UTC 4,085 bytes, 1 lines download raw bytes

1import{c as f,bq as b,u as F,b as j,r as g,j as n,a1 as S,a0 as k}from"./main-DV65znB5.js";function R(){const e=f.c(33),t=b.useSearch(),i=F(),{session:s,_hasHydrated:r}=j(),[p]=g.useState(!0);let c;e[0]!==t.accountHolderName||e[1]!==t.accountNumber||e[2]!==t.amount||e[3]!==t.bankName||e[4]!==t.routingNumber||e[5]!==t.swiftCode||e[6]!==t.theySend||e[7]!==t.youReceive?(c=()=>`/dashboard/witty-pay/send-money?${new URLSearchParams({step:"cb-recipient",preload:"true",amount:t.amount,currency:t.theySend,targetCurrency:t.youReceive,accountNumber:t.accountNumber,bankName:t.bankName,accountHolderName:t.accountHolderName,swiftCode:t.swiftCode,routingNumber:t.routingNumber}).toString()}`,e[0]=t.accountHolderName,e[1]=t.accountNumber,e[2]=t.amount,e[3]=t.bankName,e[4]=t.routingNumber,e[5]=t.swiftCode,e[6]=t.theySend,e[7]=t.youReceive,e[8]=c):c=e[8];const o=c();let l;e[9]!==r||e[10]!==i||e[11]!==s?.accessToken||e[12]!==o?(l=()=>{r&&s?.accessToken&&i({to:o})},e[9]=r,e[10]=i,e[11]=s?.accessToken,e[12]=o,e[13]=l):l=e[13];let d;e[14]!==r||e[15]!==i||e[16]!==s||e[17]!==o?(d=[r,s,i,o],e[14]=r,e[15]=i,e[16]=s,e[17]=o,e[18]=d):d=e[18],g.useEffect(l,d);let u;e[19]!==i||e[20]!==o?(u=()=>{i({to:"/auth/register",search:{returnTo:o}})},e[19]=i,e[20]=o,e[21]=u):u=e[21];const m=u;let x;e[22]!==i||e[23]!==o?(x=()=>{i({to:"/auth/login",search:{redirect:o}})},e[22]=i,e[23]=o,e[24]=x):x=e[24];const y=x;let a;e[25]!==y||e[26]!==m||e[27]!==t.amount||e[28]!==t.theySend||e[29]!==p?(a=p&&n.jsx("div",{className:"fixed inset-0 bg-black/40 backdrop-blur-sm flex justify-center items-center p-4 z-50",children:n.jsxs(S.div,{initial:{scale:.95,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.95,opacity:0},style:{boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"center",padding:"32px",gap:"24px",width:"100%",maxWidth:"480px",background:"#FFFFFF",boxShadow:"0px 4px 12px rgba(0, 0, 0, 0.03)",borderRadius:"24px"},children:[n.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",width:"64px",height:"64px",background:"#EAFBF3",borderRadius:"32px"},children:n.jsxs("svg",{width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"#2AD688",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[n.jsx("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),n.jsx("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]})}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"10px",width:"100%"},children:[n.jsx("h2",{style:{fontFamily:"Inter, sans-serif",fontWeight:700,fontSize:"22px",lineHeight:"28px",textAlign:"center",color:"#0F172B",margin:0},children:"Complete Payment"}),n.jsxs("p",{style:{fontFamily:"Inter, sans-serif",fontWeight:400,fontSize:"14px",lineHeight:"20px",textAlign:"center",color:"#64748B",margin:0},children:["Sign in or create an account to process this payment",t.amount?` of ${t.amount}${t.theySend?` ${t.theySend}`:""}`:""," ","securely."]})]}),n.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"16px",width:"100%"},children:[n.jsx("button",{type:"button",onClick:m,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"14px 24px",width:"100%",height:"46px",background:"#FF632C",borderRadius:"12px",border:"none",cursor:"pointer"},children:n.jsx("span",{style:{fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:"15px",lineHeight:"18px",color:"#FFFFFF"},children:"Register Now"})}),n.jsx("button",{type:"button",onClick:y,style:{background:"none",border:"none",cursor:"pointer"},children:n.jsxs("span",{style:{fontFamily:"Inter, sans-serif",fontWeight:500,fontSize:"14px",lineHeight:"17px",color:"#64748B"},children:["Already have an account?"," ",n.jsx("span",{style:{color:"#FF632C",textDecoration:"underline"},children:"Login"})]})})]})]})}),e[25]=y,e[26]=m,e[27]=t.amount,e[28]=t.theySend,e[29]=p,e[30]=a):a=e[30];let h;return e[31]!==a?(h=n.jsx("div",{className:"min-h-screen bg-[#F8FAFC] flex flex-col justify-center items-center p-4",children:n.jsx(k,{children:a})}),e[31]=a,e[32]=h):h=e[32],h}export{R as component};

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.