1(self.webpackChunkznanye=self.webpackChunkznanye||[]).push([[749],{10749:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var s=n(65043),r=n(53519),a=n(73216),i=n(35381),o=(n(9628),n(2422)),c=n(33637),l=n(70579);const u=(0,s.lazy)((()=>Promise.all([n.e(1077),n.e(896)]).then(n.bind(n,10896)))),p={mainContainer:{minHeight:"100vh",paddingTop:100}},d=()=>{const{email_hash:e}=(0,a.g)(),t=(0,a.zy)(),[n,d]=(0,s.useState)(!0),[f,y]=(0,s.useState)(!0),[h,m]=(0,s.useState)(!0),[g,b]=(0,s.useState)(!0),[x,v]=(0,s.useState)(""),T=t.pathname.split("/").filter((e=>""!=e)),_=T.length>0?T[0]:"";return(0,s.useEffect)((()=>{(async()=>{d(!0);try{const t=await i.verifyAccount({token:e});if(t)switch(t.status){case"LINK_EXPIRED":v(t.msg),y(!0);break;case"DOES_NOT_EXIST":v(t.msg),m(!0);break;case"VERIFIED":v("Your account is successfully verified !! You can login now!!"),b(!0);break;default:v("Unexpected response status.")}else v("No response received.")}catch(t){console.error(t),v("An error occurred during verification.")}finally{d(!1)}})()}),[]),n?(0,l.jsx)("div",{className:"d-flex justify-content-center align-items-center",style:{minHeight:"70vh",paddingTop:50},children:(0,l.jsx)(c.A,{src:o.prX,alt:"Znanye Loader",loading:"lazy",style:{width:"60px",height:"60px"}})}):(0,l.jsxs)(r.A,{className:"d-flex flex-column justify-content-center align-items-center my-5 py-5",style:p.mainContainer,children:[(0,l.jsx)("div",{className:"text-white pb-5",children:x}),(0,l.jsx)(u,{type:_})]})}},41497:(e,t,n)=>{"use strict";var s=n(13218);function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,i){if(i!==s){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n,n}},65173:(e,t,n)=>{e.exports=n(41497)()},13218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},33637:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var s=n(98139),r=n.n(s),a=n(65043),i=n(65173),o=n.n(i),c=n(67852),l=n(70579);o().string,o().bool,o().bool,o().bool,o().bool;const u=a.forwardRef(((e,t)=>{let{bsPrefix:n,className:s,fluid:a=!1,rounded:i=!1,roundedCircle:o=!1,thumbnail:u=!1,...p}=e;return n=(0,c.oU)(n,"img"),(0,l.jsx)("img",{ref:t,...p,className:r()(s,a&&`${n}-fluid`,i&&"rounded",o&&"rounded-circle",u&&`${n}-thumbnail`)})}));u.displayName="Image";const p=u}}]); 2//# sourceMappingURL=749.21d19e4d.chunk.js.map
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.