PageSourceSearch

https://ibank.accessbankplc.com/_next/static/chunks/pages/link-bvn/four-a04435b3c4f8cf4c.js

js accessbankplc.com collected 2026-09-24 07:02:03 UTC 7,932 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6516],{391:(e,s,t)=>{"use strict";t.d(s,{A:()=>c,m:()=>l});var n=t(37876),i=t(68635);t(14232);var r=t(42546);let l=({showModal:e,close:s,children:t,size:l="md",className:c="text-black"})=>(0,n.jsxs)(i.Dialog,{size:l||void 0,open:e,handler:s??(()=>{}),dismiss:{enabled:!1},className:c,children:[s&&(0,n.jsx)("div",{className:"flex justify-end pe-1 pt-2",children:(0,n.jsx)("section",{className:"cursor-pointer",onClick:s,children:(0,n.jsx)(r.A,{})})}),(0,n.jsx)(i.DialogBody,{className:"max-h-[40rem] overflow-scroll p-3 text-black",children:t})]}),c=({showModal:e,children:s,close:t,width:i="max-w-[500px]"})=>e?(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex h-screen bg-modal transition duration-1000 ease-in-out",children:(0,n.jsx)("div",{className:"flex h-screen w-full items-center justify-center",children:(0,n.jsxs)("div",{className:`relative w-[95%] ${i} max-h-[40rem] overflow-scroll rounded-[16px] bg-white p-4`,children:[t&&(0,n.jsx)("div",{className:"absolute right-2 top-2 cursor-pointer",onClick:t,children:(0,n.jsx)(r.A,{})}),(0,n.jsx)("section",{className:"mt-2",children:s})]})})}):null},13547:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var n=t(37876);t(14232);let i=()=>(0,n.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M5.99998 10.6666L1.33331 5.99998L5.99998 1.33331",stroke:"#7C7D7E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});var r=t(55726);let l=({linkTitle:e="Back to login",link:s="/auth/login",title:t})=>(0,n.jsxs)("div",{className:"my-4 flex flex-col sm:flex-row sm:items-center sm:space-x-12",children:[(0,n.jsx)(r.A,{link:s,children:(0,n.jsxs)("section",{className:"flex cursor-pointer items-center space-x-2",children:[(0,n.jsx)(i,{}),(0,n.jsx)("span",{children:e})]})}),(0,n.jsx)("h2",{className:"text-[32px]",children:t})]})},36370:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var n=t(37876),i=t(14232),r=t(53481);let l=({formik:e,resendOTP:s})=>{let[t,l]=(0,i.useState)({seconds:30,minutes:0});(0,i.useEffect)(()=>{let e=setInterval(()=>{l(e=>({...e,seconds:t.seconds-1})),0===t.seconds&&l(e=>({...e,minutes:t.minutes-1,seconds:59})),0===t.minutes&&0===t.seconds&&l(e=>({...e,minutes:0,seconds:0}))},1e3);return()=>clearInterval(e)});let c=async()=>{s&&await s()&&l(e=>({...e,minutes:0,seconds:30}))};return(0,n.jsxs)("section",{children:[(0,n.jsx)(r.A,{name:"otp",placeholder:"Enter OTP",formik:e}),(0,n.jsx)("div",{className:"mb-6 flex items-center justify-between text-gray-400",children:(0,n.jsx)("section",{className:"mt-3 w-full",children:0===t.minutes&&0===t.seconds?(0,n.jsx)("span",{className:"block cursor-pointer text-right font-semibold text-primary",onClick:c,children:"Resend OTP code"}):(0,n.jsxs)("p",{className:"text-right font-semibold",children:["Resend OTP code in"," ",(0,n.jsxs)("span",{className:"text-success",children:[t.minutes<10?`0${t.minutes}`:t.minutes,":",t.seconds<10?`0${t.seconds}`:t.seconds]})]})})})]})}},42546:(e,s,t)=>{"use strict";t.d(s,{A:()=>i});var n=t(37876);t(14232);let i=()=>(0,n.jsxs)("svg",{width:"30",height:"30",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"12",fill:"#F5FAFF"}),(0,n.jsx)("path",{d:"M11.9854 11.9853L14.8138 9.15686L11.9854 11.9853ZM11.9854 11.9853L9.15693 14.8137L11.9854 11.9853ZM11.9854 11.9853L14.8138 14.8137L11.9854 11.9853ZM11.9854 11.9853L9.15693 9.15686L11.9854 11.9853Z",fill:"#363A43"}),(0,n.jsx)("path",{d:"M11.9854 11.9853L9.15693 9.15686M11.9854 11.9853L14.8138 9.15686L11.9854 11.9853ZM11.9854 11.9853L9.15693 14.8137L11.9854 11.9853ZM11.9854 11.9853L14.8138 14.8137L11.9854 11.9853Z",stroke:"#363A43",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},55726:(e,s,t)=>{"use strict";t.d(s,{A:()=>l});var n=t(37876),i=t(48230),r=t.n(i);function l({link:e,children:s}){return(0,n.jsx)(r(),{href:e,className:"text-xs font-bold text-primary hover:border-none",children:s})}t(14232)},71660:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>A});var n=t(37876),i=t(74691),r=t(89099),l=t.n(r),c=t(14232),a=t(74695),o=t(38284),d=t(391),x=t(13547),m=t(4378),h=t(53383),u=t(92155),p=t(93871),j=t(36370),f=t(44786),w=t(95582),v=t(92302),g=t(66933),b=t(8225
15),N=t(62278),k=t(17420);let A=()=>{let e=(0,i.Wx)({initialValues:{otp:"",requestId:"",description:"",showModal:!1,successDes:"",nin:""},validationSchema:k.b,onSubmit:async(e,{setValues:s})=>{try{let t=await (0,v.Gg)({otp:e.otp,requestId:e.requestId});t&&s(e=>({...e,showModal:!0,successDes:t?.description}))}catch(e){(0,N.m)(e?.message,N.V.Error)}}});(0,c.useEffect)(()=>{let s=(0,b.s)("accountNumber","linkBvn");s||l().push(g.J.linkBvn.one),e.setValues(e=>({...e,requestId:s?.requestId,description:s?.description,nin:s?.nin}))},[]);let{loading:{isLoading:s}}=(0,a.d4)(e=>e),t=async()=>{try{let s=(0,b.s)("accountNumber","linkBvn");if(!s)return!1;let t=await (0,v.n8)({bvn:s?.bvn,requestId:e.values.requestId});if(!t)return!1;return(0,N.m)(t?.description,N.V.Success),!0}catch(e){return(0,N.m)(e?.message,N.V.Error),!1}};return(0,n.jsxs)(o.A,{children:[(0,n.jsxs)("div",{className:"h-screen w-full bg-home",children:[(0,n.jsx)(m.A,{width:"w-[100%]",color:"bg-primary"}),(0,n.jsxs)("div",{className:"px-6 py-2",children:[(0,n.jsx)(h.A,{children:(0,n.jsx)(f.A,{})}),(0,n.jsxs)("form",{autoComplete:"off",noValidate:!0,onSubmit:e.handleSubmit,className:"m-auto mt-12 w-full max-w-[825px]",children:[(0,n.jsx)("span",{className:"mb-[24px] block text-[#6B7B8A]",children:"STEP 4 of 4"}),(0,n.jsx)("h1",{className:"mb-[12px] text-[30px] font-semibold",children:"Enter OTP sent to your email & phone number"}),(0,n.jsx)("p",{className:"mb-[32px]",children:e.values.description}),(0,n.jsx)("div",{className:"mb-4 grid gap-[24px] md:grid-cols-2",children:(0,n.jsx)(j.A,{formik:e,resendOTP:t})}),(0,n.jsx)("div",{className:"grid gap-x-8 md:grid-cols-2",children:(0,n.jsxs)("section",{className:"flex",children:[(0,n.jsx)(p.A,{title:"Continue",containedClass:"bg-primary text-white",loading:s,containerClass:"w-[95%]"}),(0,n.jsx)("section",{className:"mx-4",children:(0,n.jsx)(x.A,{linkTitle:"Back",link:g.J.linkBvn.three})})]})})]})]})]}),(0,n.jsx)(d.A,{showModal:e.values.showModal,children:(0,n.jsx)(u.A,{icon:(0,n.jsx)(w.A,{}),title:"Verification successful",body:(0,n.jsx)("section",{className:"m-auto mb-3 w-full max-w-[254px] space-y-3 text-center text-[16px] leading-loose",children:(0,n.jsx)("p",{children:e.values.successDes})}),buttonAction:()=>{e.setValues(e=>({...e,showModal:!1})),(0,b.Cc)("linkBvn"),l().push(`${g.J.auth.login}`)},buttonText:"Go to Log in"})})]})}},92155:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var n=t(37876);t(14232);var i=t(93871);let r=({icon:e,title:s,body:t,buttonAction:r,buttonText:l})=>(0,n.jsxs)("section",{className:"p-4",children:[(0,n.jsx)("div",{className:"flex justify-center",children:e}),(0,n.jsx)("h2",{className:"mt-10 text-center text-3xl font-semibold",children:s}),(0,n.jsx)("div",{className:"mt-[16px] text-center text-lg",children:t}),r&&l&&(0,n.jsx)(i.A,{title:l,containedClass:"bg-primary text-white mt-10",onClick:r})]})},95582:(e,s,t)=>{"use strict";t.d(s,{A:()=>i});var n=t(37876);t(14232);let i=()=>(0,n.jsxs)("svg",{width:"136",height:"137",viewBox:"0 0 136 137",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"10.5",y:"11",width:"115",height:"115",rx:"57.5",fill:"#0AA75E"}),(0,n.jsx)("path",{d:"M83.1458 57.0003L59.1875 80.9826L52 73.7951",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("rect",{x:"10.5",y:"11",width:"115",height:"115",rx:"57.5",stroke:"#E1FFF1",strokeWidth:"20.5357"})]})},99656:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/link-bvn/four",function(){return t(71660)}])}},e=>{e.O(0,[9923,9593,7100,8230,4691,1408,4356,9712,636,6593,8792],()=>e(e.s=99656)),_N_E=e.O()}]);

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.