PageSourceSearch

https://myka.ng/assets/KycVerificationPage-D0Ec1bAJ.js

js myka.ng collected 2026-10-09 22:41:53 UTC 2,741 bytes, 1 lines download raw bytes

1import{j as e,r as x}from"./vendor-react-DfYGAhtm.js";import{m as i,g as f,Y as m}from"./index-DsBgCU7r.js";import{K as p}from"./KycNinModal-HYhUNMVV.js";import{a as s,i as u,T as r,F as o,a8 as l,v as d,h as g}from"./vendor-ui-DA_r9yXk.js";import{aT as h,aU as y}from"./vendor-icons-1odZwi-b.js";import"./vendor-state-BsBVN-fX.js";import"./vendor-forms-BP-7CbAP.js";import"./Modal-DS-VW05m.js";import"./errors-BYKXB8DF.js";import"./NinVerificationPanel-Cl3L-HVS.js";const b=()=>e.jsxs(s,{children:[e.jsx(u,{fontSize:{base:"2xl",md:"28px"},fontWeight:"bold",color:i.text.label,children:"KYC & Verification"}),e.jsx(r,{fontSize:"md",color:i.text.info,mt:1,children:"Verify your identity with your NIN (National Identification Number) to unlock your profile and services"})]}),j=({isVerified:a,onVerify:t})=>a?e.jsxs(o,{align:"center",gap:3,children:[e.jsxs(l,{borderRadius:"full",px:4,py:2,fontSize:"xs",fontWeight:"semibold",bg:i.success[500],color:i.white.DEFAULT,border:`1px solid ${i.success[200]}`,display:"flex",alignItems:"center",gap:1,children:[e.jsx(d,{as:h,boxSize:3}),"NIN Verified"]}),e.jsx(r,{fontSize:"md",color:i.text.primary,children:"Your identity has been verified"})]}):e.jsxs(o,{direction:"column",gap:4,children:[e.jsxs(o,{align:"center",gap:3,children:[e.jsx(l,{borderRadius:"full",px:4,py:2,fontSize:"xs",fontWeight:"semibold",bg:i.warning[500],color:i.white.DEFAULT,border:`1px solid ${i.warning[200]}`,display:"flex",alignItems:"center",gap:1,children:"Not verified"}),e.jsx(r,{fontSize:"md",color:i.text.primary,children:"Complete NIN verification"})]}),e.jsxs(s,{bg:i.orange[50],border:`1px solid ${i.orange[200]}`,borderRadius:"xl",p:4,children:[e.jsxs(o,{align:"center",gap:3,mb:3,children:[e.jsx(o,{align:"center",justify:"center",w:9,h:9,borderRadius:"full",bg:i.orange[100],flexShrink:0,children:e.jsx(d,{as:y,boxSize:5,color:i.orange[500]})}),e.jsxs(s,{children:[e.jsx(r,{fontSize:"sm",fontWeight:"semibold",color:i.text.primary,children:"Identity verification required"}),e.jsx(r,{fontSize:"xs",color:i.text.gray,mt:.5,children:"Verify your NIN to unlock full access to your account and policies"})]})]}),e.jsx(f,{buttonType:"primary",text:"Verify Now",fullWidth:!0,size:"md",onClick:t})]})]}),S="VERIFIED",K=()=>{const t=m()?.kyc?.status===S,[c,n]=x.useState(!1);return e.jsxs(g,{gap:6,children:[e.jsx(b,{}),e.jsxs(s,{border:`1px solid ${i.border.secondary}`,background:`linear-gradient(145deg, white 80%, ${i.orange[50]} 100%)`,borderRadius:"xl",p:{base:4,md:5},children:[e.jsx(r,{fontSize:"sm",fontWeight:"semibold",color:i.text.primary,mb:3,children:"Verification Status"}),e.jsx(j,{isVerified:t,onVerify:()=>n(!0)})]}),e.jsx(p,{open:c,onClose:()=>n(!1),onVerified:()=>n(!1)})]})};export{K 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.