PageSourceSearch

https://naijabarrister.com/_next/static/chunks/pages/verify-email-b47988ab6e8fba20.js

js naijabarrister.com collected 2026-10-02 16:04:32 UTC 4,373 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9070],{6991:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/verify-email",function(){return r(64733)}])},81070:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var a=r(85893),i=r(9008),n=r(11163);function s(e){var t=e.title,r=e.description,s=e.image,c=e.url,o=(0,n.useRouter)(),l="".concat("https://naijabarrister.com").concat(o.asPath);return(0,a.jsxs)(i.default,{children:[(0,a.jsx)("title",{children:t?"".concat(t," - ").concat("NaijaBarrister | Find verified lawyers in Nigeria"):"NaijaBarrister | Find verified lawyers in Nigeria"}),(0,a.jsx)("meta",{name:"description",content:r||"Providing easy access to Nigerian laws, lawyers and legal resources. Naijabarrister.com is managed by Legalhub Associates and Solutions Ltd, a limited liability company registered in Nigeria"}),(0,a.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,a.jsx)("meta",{property:"og:type",content:"article"}),(0,a.jsx)("meta",{property:"og:image",content:s||"".concat("https://naijabarrister.com","/images/logo.png")}),(0,a.jsx)("meta",{property:"og:url",content:c||l}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{property:"og:site_name",content:"NaijaBarrister | Find verified lawyers in Nigeria"}),(0,a.jsx)("meta",{name:"robots",content:"index,follow"})]})}},47355:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var a=r(85893),i=r(81070);function n(e){var t=e.children,r=e.title,n=e.url,s=e.image,c=e.description;return(0,a.jsxs)("div",{className:"min-h-screen",children:[(0,a.jsx)(i.Z,{title:r,url:n,image:s,description:c}),t]})}},88362:function(e,t,r){"use strict";var a=r(85893),i=(r(67294),r(80471));t.Z=function(){return(0,a.jsx)("div",{className:"py-8 px-4 border border-slate-300 rounded-lg bg-white",children:(0,a.jsx)(i.frZ,{size:"1.5em",className:"animate animate-spin mx-auto"})})}},64733:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return h}});var a=r(34051),i=r.n(a),n=r(85893),s=r(25675),c=r(41664),o=(r(9669),r(47355)),l=r(11163),u=r(2282),d=r(67294),m=r(40611),f=r(88362);function x(e,t,r,a,i,n,s){try{var c=e[n](s),o=c.value}catch(l){return void r(l)}c.done?t(o):Promise.resolve(o).then(a,i)}function h(){var e,t=(0,u.a)(),r=t.user,a=t.setUser,h=(0,d.useState)(!0),g=h[0],p=h[1],j=(0,l.useRouter)(),v=(0,d.useCallback)((e=i().mark((function e(){var t,n;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(j.isReady){e.next=2;break}return e.abrupt("return");case 2:return t=j.query.key,console.log(t),e.prev=4,e.next=7,m.Z.get("/api/users/verify-email/".concat(t));case 7:n=e.sent.data,a(n),p(!1),console.log(r),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(4),p(!1),console.log(e.t0);case 17:case"end":return e.stop()}}
1),e,null,[[4,13]])})),function(){var t=this,r=arguments;return new Promise((function(a,i){var n=e.apply(t,r);function s(e){x(n,a,i,s,c,"next",e)}function c(e){x(n,a,i,s,c,"throw",e)}s(void 0)}))}),[j.isReady]);return(0,d.useEffect)((function(){v()}),[v]),(0,n.jsxs)(o.Z,{title:"Verify Email",children:[(0,n.jsx)("div",{className:"mx-auto text-center mt-36",children:(0,n.jsx)("div",{className:"mx-auto text-center",children:(0,n.jsx)(c.default,{href:"/",children:(0,n.jsx)("a",{className:"text-slate-800 text-xl",children:(0,n.jsx)(s.default,{src:"/images/logo.svg",alt:"NaijaBarrister",width:120,height:48})})})})}),(0,n.jsx)("div",{className:"max-w-md mx-auto px-4",children:(0,n.jsx)("div",{className:" bg-white md:p-8 p-4 rounded-lg shadow-lg",children:r&&!g&&r.is_email_verified?(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)(s.default,{src:"/images/confetti.png",width:120,height:120,className:"object-cover",alt:"Confetti"}),(0,n.jsxs)("p",{className:"mt-6 text-slate-700",children:["Your email ",(0,n.jsx)("strong",{children:r.email})," has been verified successfully. Please log into your account to continue your registration"]}),(0,n.jsx)("p",{children:(0,n.jsx)(c.default,{href:"/login",children:(0,n.jsx)("a",{className:"button primary block full",children:"Continue"})})})]}):(0,n.jsx)("div",{children:g?(0,n.jsx)(f.Z,{}):(0,n.jsx)("div",{children:"There was an error verifying your email address, please try again"})})})})]})}}},function(e){e.O(0,[955,3276,9774,2888,179],(function(){return t=6991,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.