1"use strict";(self.webpackChunkRealtyCoreApp=self.webpackChunkRealtyCoreApp||[]).push([[36494],{27768:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(80045),i=n(96540);const r=n(882).default.div.withConfig({displayName:"styles___Flex",componentId:"sc-1lfxfux-0"})(["display:flex;flex:0 1 auto;flex-direction:row;align-items:flex-start;flex-wrap:nowrap;justify-content:flex-start;"," "," "," "," "," "," ",""],(function(e){let{center:t}=e;return t?"\n justify-content: center;\n align-items: center;\n ":""}),(function(e){let{justify:t}=e;return t?`justify-content: ${"start"===t?"flex-start":"end"===t?"flex-end":"between"===t?"space-between":"around"===t?"space-around":"center"===t?"center":""};\n `:""}),(function(e){let{align:t}=e;return t?`align-items: ${"start"===t?"flex-start":"end"===t?"flex-end":"center"===t?"center":""};\n `:""}),(function(e){let{noWrap:t}=e;return t?"flex-wrap: nowrap;":""}),(function(e){let{direction:t}=e;return t?`flex-direction: ${"col"===t?"column":""};\n `:""}),(function(e){let{wrap:t}=e;return t?"flex-wrap: wrap;":"flex-wrap: nowrap;"}),(function(e){let{gap:t}=e;return`gap: ${t}`||0})),o=["justify","align","direction","center","className","noWrap","wrap","gap","children","onClick","onFocus","onHover","onBlur","onMouseLeave","dataTestId","tabIndex"],l=function(e){let{justify:t,align:n,direction:l,center:c,className:s,noWrap:u=!1,wrap:f=!1,gap:p=0,children:d,onClick:m=function(){},onFocus:g=function(){},onHover:h=function(){},onBlur:x=function(){},onMouseLeave:w=function(){},dataTestId:b=null,tabIndex:y=null}=e,E=(0,a.A)(e,o);const N={},_={justify:t,align:n,center:c,noWrap:u,direction:l,wrap:f?1:void 0,gap:p};return b&&(N["data-test-id"]=b),"number"==typeof y&&(N.tabIndex=y),i.createElement(r,Object.assign({},E,N,_,{className:s,onClick:m,onFocus:g,onBlur:x,onMouseEnter:h,onMouseLeave:w}),d)}},81690:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E});var a=n(61225),i=n(83821),r=n(96540),o=n(24984),l=n(68015),c=n(79130),s=n(76955),u=n(56092),f=n(882),p=n(88394),d=n(27768),m=n(80156);const g=(0,f.default)(d.A).withConfig({displayName:"styles___EmailVerifyFlex",componentId:"sc-1f5hftn-0"})(["min-height:calc(100vh - 490px);"]),h=f.default.div.withConfig({displayName:"styles___Display",componentId:"sc-1f5hftn-1"})(["margin:120px auto;width:calc(100% - 28px);max-width:600px;text-align:center;padding-bottom:32px;background-color:",";text-transform:capitalize;h1{font-size:36px;margin-bottom:32px;}p{font-size:18px;margin:0;}svg{fill:",";}@media (max-width:500px){h1{font-size:28px;}p{font-size:16px;margin:0;}}"],m.f46,m.FS),x=f.default.div.withConfig({displayName:"styles___Header",componentId:"sc-1f5hftn-2"})(["background-color:",";padding:16px;margin-bottom:32px;"],m.ClI),w=f.default.span.withConfig({displayName:"styles___Email",componentId:"sc-1f5hftn-3"})(["color:",";font-size:inherit;"],m.FS),b=(0,f.default)(p.A).withConfig({displayName:"styles___AppLinkBtn",componentId:"sc-1f5hftn-4"})(["background-color:",";margin:auto;margin-top:32px;color:white;padding:16px 18px;font-size:18px;display:block;width:60%;@media (max-width:500px){font-size:12px;width:80%;}"],m.FS),y=function(e){let{apiVerifyEmail:t,isFetching:n,success:a,error:i,userIsAuthentificated:f,email:p}=e;const d=(0,o.g)(),{THEME_NAME:m,SITE_NAME:y,IS_PROPERTY:E}=(0,u._r)();(0,r.useEffect)((function(){t(d.token)}),[t]);const N=f?"/":"/login";return r.createElement(g,{center:!0,tabIndex:"-1"},r.createElement(l.A,null),r.createElement(h,null,r.createElement(x,null,E?r.createElement(s.A,{name:`#icon-${m}-logo-text`,width:120}):r.createElement(s.A,{name:`#icon-${m}-logo`,width:40,height:40})),r.createElement("h1",null,n?"Verifying your email...":i?"An error has occurred.":"Email Verification"),n&&r.createElement(c.A,null),a&&p&&r.createElement("p",null,"You're all set! ",r.createElement(w,null,p),r.createElement("br",null),"has been successfully verified."),!n&&i&&r.createElement("p",null,"Invalid verification link!"),!n&&a&&r.createElement(b,{to:N,alt:"Navigate Home"},f?`Start your ${"Property"===y?"home":"condo"} research now!`:"Login Now!")))},E=(0,a.Ng)((function(e){return{isFetching:e.userData.emailVerification.isFetching,success:e.userData.emailVerification.success,error:e.userData.emailVerification.error,userIsAuthentificated:e.userData.userIsAuthentificated,email:e.userData.emailVerification.email}}),{apiVerifyEmail:i.EU})(y)},88394:(e,t,n)=>{n.d(t,{A:()=>f});var a=n(61225),i=n(70450),r=n(80045),o=n(96540),l=n(24984);const c=["to","alt","className","onClick","disableNewTab","openNewTab","rel","children","lookupLinkData","
1setTargetComponent","ariaLabel"],s=function(e){let{to:t,alt:n,className:a="",onClick:i=function(){},disableNewTab:s=!1,openNewTab:u=!1,rel:f="noopener noreferrer",children:p,lookupLinkData:d,setTargetComponent:m,ariaLabel:g}=e,h=(0,r.A)(e,c);if(!t)return null;const x=u&&!s||t.match("http"),w={className:a,alt:n,onClick:!x&&d?function(e){e.metaKey||e.ctrlKey||m(d),i(e)}:i};return h["data-test-id"]&&(w["data-test-id"]=h["data-test-id"]),x?o.createElement("a",Object.assign({},w,{href:t,target:"_blank",rel:f,"aria-label":g}),p):o.createElement(l.N_,Object.assign({},w,{to:t,"aria-label":g}),p)},u={setTargetComponent:i.H9},f=(0,a.Ng)((function(e){return{disableNewTab:e.app.disableNewTab||e.app.mobileBrowser}}),u)(s)}}]); 2//# sourceMappingURL=EmailVerify.js.map?v=ed3e979fc87a
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.