feat: integrate okpay switch-network flow and notify handling

This commit is contained in:
mcmc
2026-05-09 18:06:27 +08:00
parent a4022df7b4
commit 377176a0f2
209 changed files with 1842 additions and 304 deletions
@@ -0,0 +1 @@
import{Xd as e,_t as t,gt as n,ht as r,nu as i,ru as a}from"./messages-Dl4DZ3oF.js";import{t as o}from"./useRouter-BFyZZPZT.js";import{t as s}from"./useNavigate-hT9V_ax6.js";import{t as c}from"./button-C1yViT6u.js";var l=e();function u(){let e=s(),{history:u}=o();return(0,l.jsx)(`div`,{className:`h-svh`,children:(0,l.jsxs)(`div`,{className:`m-auto flex h-full w-full flex-col items-center justify-center gap-2`,children:[(0,l.jsx)(`h1`,{className:`font-bold text-[7rem] leading-tight`,children:`401`}),(0,l.jsx)(`span`,{className:`font-medium`,children:t()}),(0,l.jsxs)(`p`,{className:`text-center text-muted-foreground`,children:[n(),` `,(0,l.jsx)(`br`,{}),r()]}),(0,l.jsxs)(`div`,{className:`mt-6 flex gap-4`,children:[(0,l.jsx)(c,{onClick:()=>u.go(-1),variant:`outline`,children:a()}),(0,l.jsx)(c,{onClick:()=>e({to:`/dashboard`}),children:i()})]})]})})}export{u as t};