From a2aa25ec470073fb8ad1677ce10af877d99d66c0 Mon Sep 17 00:00:00 2001 From: omkieit Date: Sun, 8 Sep 2024 15:23:46 +0530 Subject: [PATCH] done --- ef-ui/dist/assets/{index-DeXuKgrH.js => index-CdnFdl54.js} | 2 +- ef-ui/dist/index.html | 2 +- ef-ui/src/components/EmailVerify.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename ef-ui/dist/assets/{index-DeXuKgrH.js => index-CdnFdl54.js} (99%) diff --git a/ef-ui/dist/assets/index-DeXuKgrH.js b/ef-ui/dist/assets/index-CdnFdl54.js similarity index 99% rename from ef-ui/dist/assets/index-DeXuKgrH.js rename to ef-ui/dist/assets/index-CdnFdl54.js index 0dd572b..3966c3c 100644 --- a/ef-ui/dist/assets/index-DeXuKgrH.js +++ b/ef-ui/dist/assets/index-CdnFdl54.js @@ -77,4 +77,4 @@ Error generating stack: `+l.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function W1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function H1(e,t){return e.button===0&&(!t||t==="_self")&&!W1(e)}const V1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Q1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],K1="6";try{window.__reactRouterVersion=K1}catch{}const q1=P.createContext({isTransitioning:!1}),J1="startTransition",Yc=Yo[J1];function X1(e){let{basename:t,children:n,future:r,window:i}=e,l=P.useRef();l.current==null&&(l.current=t1({window:i,v5Compat:!0}));let o=l.current,[s,u]=P.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},d=P.useCallback(f=>{c&&Yc?Yc(()=>u(f)):u(f)},[u,c]);return P.useLayoutEffect(()=>o.listen(d),[o,d]),P.createElement(B1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const G1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Y1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Z1=P.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:o,state:s,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=yp(t,V1),{basename:g}=P.useContext(Qt),y,w=!1;if(typeof c=="string"&&Y1.test(c)&&(y=c,G1))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),E=Yn(x.pathname,g);x.origin===p.origin&&E!=null?c=E+x.search+x.hash:w=!0}catch{}let N=j1(c,{relative:i}),h=tx(c,{replace:o,state:s,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return P.createElement("a",Ll({},v,{href:y||N,onClick:w||l?r:m,ref:n,target:u}))}),Ze=P.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:o=!1,style:s,to:u,unstable_viewTransition:c,children:d}=t,f=yp(t,Q1),v=uo(u,{relative:f.relative}),g=fi(),y=P.useContext(fp),{navigator:w,basename:N}=P.useContext(Qt),h=y!=null&&nx(v)&&c===!0,m=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=g.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&N&&(x=Yn(x,N)||x);const E=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let _=p===m||!o&&p.startsWith(m)&&p.charAt(E)==="/",O=x!=null&&(x===m||!o&&x.startsWith(m)&&x.charAt(m.length)==="/"),C={isActive:_,isPending:O,isTransitioning:h},A=_?r:void 0,L;typeof l=="function"?L=l(C):L=[l,_?"active":null,O?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let me=typeof s=="function"?s(C):s;return P.createElement(Z1,Ll({},f,{"aria-current":A,className:L,ref:n,style:me,to:u,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var oa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(oa||(oa={}));var Zc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zc||(Zc={}));function ex(e){let t=P.useContext(so);return t||J(!1),t}function tx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,u=mi(),c=fi(),d=uo(e,{relative:o});return P.useCallback(f=>{if(H1(f,n)){f.preventDefault();let v=r!==void 0?r:Pl(c)===Pl(d);u(e,{replace:v,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s})}},[c,u,d,r,i,n,e,l,o,s])}function nx(e,t){t===void 0&&(t={});let n=P.useContext(q1);n==null&&J(!1);let{basename:r}=ex(oa.useViewTransitionState),i=uo(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Yn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Yn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rl(i.pathname,o)!=null||Rl(i.pathname,l)!=null}const gn=()=>{const e=new Date().getFullYear();return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"header_top_section",children:a.jsx("div",{className:"container-fluid px-20 col-20 col-md-3 col-xl-10",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"header_top_main",children:[a.jsx("div",{className:"call_text",children:a.jsxs("a",{href:"#",children:[a.jsx("i",{className:"fa fa-phone","aria-hidden":"true"})," ","+01-40-114-6855"]})}),a.jsx("div",{className:"call_text_2",children:a.jsxs("a",{href:"#",children:[a.jsx("i",{className:"fa fa-envelope","aria-hidden":"true"})," ","support@estatesfunding.com"]})}),a.jsx("div",{className:"call_text_1",children:a.jsxs("a",{href:"#",children:[a.jsx("i",{className:"fa fa-map-marker","aria-hidden":"true"})," ","Mordern Tawon Mosco"]})})]})})})})}),a.jsx("div",{className:"copyright_section",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})},rx="/assets/logo-Cb1x1exd.png",xn=()=>{var i,l;const{user:e}=si(o=>({...o.auth})),t=Xl(),n=mi(),r=()=>{t(Xg()),n("/")};return a.jsx(a.Fragment,{children:a.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:a.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[a.jsxs("div",{className:"d-flex align-items-center",children:[a.jsx("img",{src:rx,alt:"logo",width:"75",height:"75",className:"img-fluid"}),a.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),a.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[a.jsxs("ul",{className:"navbar-nav ml-auto",children:[a.jsx("li",{className:"nav-item active",children:a.jsx(Ze,{to:"/",className:"nav-link",children:"Home"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/services",className:"nav-link",children:"Services"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/about",className:"nav-link",children:"About"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/projects",className:"nav-link",children:"Project"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?a.jsx(Ze,{to:"/dashboard",children:"Dashboard"}):a.jsx(Ze,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?a.jsx(Ze,{to:"/login",children:a.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):a.jsx(Ze,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},ix=()=>a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{}),a.jsxs("div",{children:[a.jsx("div",{className:"header_section",children:a.jsx("div",{className:"banner_section layout_padding",children:a.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[a.jsxs("div",{className:"carousel-inner",children:[a.jsx("div",{className:"carousel-item active",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"banner_taital_main",children:[a.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),a.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),a.jsxs("div",{className:"btn_main",children:[a.jsx("div",{className:"started_text active",children:a.jsx("a",{href:"#",children:"Contact US"})}),a.jsx("div",{className:"started_text",children:a.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),a.jsx("div",{className:"carousel-item",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"banner_taital_main",children:[a.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),a.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),a.jsxs("div",{className:"btn_main",children:[a.jsx("div",{className:"started_text active",children:a.jsx("a",{href:"#",children:"Contact US"})}),a.jsx("div",{className:"started_text",children:a.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),a.jsx("div",{className:"carousel-item",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"banner_taital_main",children:[a.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),a.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),a.jsxs("div",{className:"btn_main",children:[a.jsx("div",{className:"started_text active",children:a.jsx("a",{href:"#",children:"Contact US"})}),a.jsx("div",{className:"started_text",children:a.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),a.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:a.jsx("i",{className:"fa fa-angle-left"})}),a.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:a.jsx("i",{className:"fa fa-angle-right"})})]})})}),a.jsx("div",{className:"services_section layout_padding",children:a.jsxs("div",{className:"container-fluid",children:[a.jsx("div",{className:"row",children:a.jsxs("div",{className:"col-sm-12",children:[a.jsx("h1",{className:"services_taital",children:"Our Services"}),a.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),a.jsx("div",{className:"services_section_2",children:a.jsxs("div",{className:"row",children:[a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main active",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-1.png"})}),a.jsx("h4",{className:"development_text",children:"Dedication Services"}),a.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})}),a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-2.png"})}),a.jsx("h4",{className:"development_text",children:"Building work Reports"}),a.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})}),a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-3.png"})}),a.jsx("h4",{className:"development_text",children:"Reporting continuously"}),a.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})}),a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-4.png"})}),a.jsx("h4",{className:"development_text",children:"Manage your investment "}),a.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),a.jsxs("div",{className:"projects_section layout_padding",children:[a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsxs("div",{className:"col-md-12",children:[a.jsx("h1",{className:"projects_taital",children:"Projects"}),a.jsx("div",{className:"nav-tabs-navigation",children:a.jsx("div",{className:"nav-tabs-wrapper",children:a.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),a.jsx("div",{className:"projects_section_2 layout_padding",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"pets_section",children:a.jsx("div",{className:"pets_section_2",children:a.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:a.jsxs("div",{className:"carousel-inner",children:[a.jsx("div",{className:"carousel-item active",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),a.jsx("div",{className:"carousel-item",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),a.jsx("div",{className:"carousel-item",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]}),a.jsx(gn,{})]})]}),lx=()=>a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsxs("div",{className:"about_section layout_padding",children:[a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{}),a.jsx("div",{className:"container",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-6",children:[a.jsx("h1",{className:"about_taital",children:"About Us"}),a.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),a.jsx("div",{className:"read_bt_1",children:a.jsx("a",{href:"#",children:"Read More"})})]}),a.jsx("div",{className:"col-md-6",children:a.jsx("div",{className:"about_img",children:a.jsx("div",{className:"video_bt",children:a.jsx("div",{className:"play_icon",children:a.jsx("img",{src:"images/play-icon.png"})})})})})]})}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{})]}),a.jsx(gn,{})]}),ox=()=>a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsxs("div",{className:"contact_section layout_padding",children:[a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-md-12",children:a.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),a.jsx("div",{className:"container-fluid",children:a.jsx("div",{className:"contact_section_2",children:a.jsxs("div",{className:"row",children:[a.jsx("div",{className:"col-md-6",children:a.jsx("form",{action:!0,children:a.jsxs("div",{className:"mail_section_1",children:[a.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),a.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),a.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),a.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),a.jsx("div",{className:"send_bt",children:a.jsx("a",{href:"#",children:"SEND"})})]})})}),a.jsx("div",{className:"col-md-6 padding_left_15",children:a.jsx("div",{className:"contact_img",children:a.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),a.jsx(gn,{})]}),du=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",gp=e=>typeof e=="function",sx=e=>P.isValidElement(e)||Tr(e)||gp(e)||du(e),rt=new Map;let sa=[];const ed=new Set,xp=()=>rt.size>0;function ax(e,t){var n;if(t)return!((n=rt.get(t))==null||!n.isToastActive(e));let r=!1;return rt.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function ux(e,t){sx(e)&&(xp()||sa.push({content:e,options:t}),rt.forEach(n=>{n.buildToast(e,t)}))}function td(e,t){rt.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}let cx=1;const wp=()=>""+cx++;function dx(e){return e&&(Tr(e.toastId)||du(e.toastId))?e.toastId:wp()}function Lr(e,t){return ux(e,t),t.toastId}function Ml(e,t){return{...t,type:t&&t.type||e,toastId:dx(t)}}function zi(e){return(t,n)=>Lr(t,Ml(e,n))}function I(e,t){return Lr(e,Ml("default",t))}I.loading=(e,t)=>Lr(e,Ml("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),I.promise=function(e,t,n){let r,{pending:i,error:l,success:o}=t;i&&(r=Tr(i)?I.loading(i,n):I.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,v)=>{if(f==null)return void I.dismiss(r);const g={type:d,...s,...n,data:v},y=Tr(f)?{render:f}:f;return r?I.update(r,{...g,...y}):I(y.render,{...g,...y}),v},c=gp(e)?e():e;return c.then(d=>u("success",o,d)).catch(d=>u("error",l,d)),c},I.success=zi("success"),I.info=zi("info"),I.error=zi("error"),I.warning=zi("warning"),I.warn=I.warning,I.dark=(e,t)=>Lr(e,Ml("default",{theme:"dark",...t})),I.dismiss=function(e){(function(t){var n;if(xp()){if(t==null||Tr(n=t)||du(n))rt.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=rt.get(t.containerId);r?r.removeToast(t.id):rt.forEach(i=>{i.removeToast(t.id)})}}else sa=sa.filter(r=>t!=null&&r.options.toastId!==t)})(e)},I.clearWaitingQueue=function(e){e===void 0&&(e={}),rt.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},I.isActive=ax,I.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:o}=i;return(l=rt.get(o||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:wp()};l.toastId!==e&&(l.staleId=e);const o=l.render||i;delete l.render,Lr(o,l)}},I.done=e=>{I.update(e,{progress:1})},I.onChange=function(e){return ed.add(e),()=>{ed.delete(e)}},I.play=e=>td(!0,e),I.pause=e=>td(!1,e);var st=function(){return st=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=P.useState(Ax),[n,r]=P.useState(!1),{loading:i,error:l}=si(E=>({...E.auth})),{title:o,email:s,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:v,termsconditions:g,userType:y}=e,w=Xl(),N=mi();P.useEffect(()=>{l&&I.error(l)},[l]),P.useEffect(()=>{r(o!=="None"&&s&&u&&c&&d&&f&&v&&g&&y!=="")},[o,s,u,c,d,f,v,g,y]);const h=E=>{if(E.preventDefault(),u!==v)return I.error("Password should match");n?w(Xi({formValue:e,navigate:N,toast:I})):I.error("Please fill in all fields and select all checkboxes")},m=E=>E.charAt(0).toUpperCase()+E.slice(1),p=E=>{const{name:_,value:O,type:C,checked:A}=E.target;t(C==="checkbox"?L=>({...L,[_]:A}):L=>({...L,[_]:_==="email"||_==="password"||_==="confirmPassword"?O:m(O)}))},x=E=>{t(_=>({..._,userType:E.target.value}))};return a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:a.jsx("div",{className:"container-fluid px-0",children:a.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[a.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),a.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:a.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:a.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"mb-4",children:[a.jsx("h2",{className:"h3",children:"Registration"}),a.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),a.jsx("hr",{})]})})}),a.jsx("form",{onSubmit:h,children:a.jsxs("div",{className:"row gy-3 overflow-hidden",children:[a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsxs("label",{className:"form-label",children:["Please select the role. ",a.jsx("br",{}),a.jsx("br",{})]}),a.jsxs("div",{className:"form-check form-check-inline",children:[a.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:y==="Lender",onChange:x,required:!0}),a.jsx("label",{className:"form-check-label",children:"Lender"})]}),a.jsxs("div",{className:"form-check form-check-inline",children:[a.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:y==="Borrower",onChange:x,required:!0}),a.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),a.jsx("br",{}),a.jsx("br",{})]})]})}),a.jsxs("div",{className:"col-12",children:[a.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:o,onChange:p,children:[a.jsx("option",{value:"None",children:"Please Select Title"}),a.jsx("option",{value:"Dr",children:"Dr"}),a.jsx("option",{value:"Prof",children:"Prof"}),a.jsx("option",{value:"Mr",children:"Mr"}),a.jsx("option",{value:"Miss",children:"Miss"})]}),a.jsx("br",{})]}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),a.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),a.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),a.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"email",className:"form-control",value:s,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),a.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:p,placeholder:"Password",required:"required"}),a.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"password",className:"form-control",value:v,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),a.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-check",children:[a.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:g,name:"termsconditions",checked:g,onChange:p,required:!0}),a.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",a.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-grid",children:a.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&a.jsx(Np.Bars,{}),"Sign up"]})})})]})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:a.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",a.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12"})})]})})})]})})}),a.jsx(gn,{})]})},bx={email:"",password:""},Ix=()=>{const[e,t]=P.useState(bx),{loading:n,error:r}=si(d=>({...d.auth})),{email:i,password:l}=e,o=Xl(),s=mi();P.useEffect(()=>{r&&I.error(r)},[r]);const u=d=>{d.preventDefault(),i&&l&&o(Ji({formValue:e,navigate:s,toast:I}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:a.jsx("div",{className:"container-fluid px-0",children:a.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[a.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:a.jsx("div",{className:"text-bg-primary",children:a.jsxs("div",{className:"px-4",children:[a.jsx("hr",{className:"border-primary-subtle mb-4"}),a.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),a.jsx("div",{className:"text-endx",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:a.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),a.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:a.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:a.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"mb-4",children:a.jsx("h2",{className:"h3",children:"Please Login"})})})}),a.jsx("form",{method:"POST",children:a.jsxs("div",{className:"row gy-3 overflow-hidden",children:[a.jsx("div",{className:"col-12"}),a.jsx("div",{className:"col-12"}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),a.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),a.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-check",children:[a.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),a.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-grid",children:a.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&a.jsx(Np.Bars,{}),"Sign In"]})})})]})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:a.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",a.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Register"})]})})})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12"})})]})})})]})})}),a.jsx(gn,{})]})},Ux=()=>{var t;const{user:e}=si(n=>({...n.auth}));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[a.jsx(xn,{}),a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{}),a.jsx("main",{style:{flex:1},children:a.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{backgroundColor:"#FFFFFF"},children:a.jsx("div",{className:"container-fluid px-0",children:a.jsxs("div",{className:"row gy-4 align-items-center justify-content-center ",children:[a.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:a.jsx("div",{className:"text-bg-primary",children:a.jsxs("div",{className:"px-4",children:[a.jsx("hr",{className:"border-primary-subtle mb-4"}),a.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"})]})})}),a.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:a.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:a.jsx("div",{className:"card-body p-3 p-md-4 p-xl-5",children:((t=e==null?void 0:e.result)==null?void 0:t._id)&&a.jsxs("div",{className:"form-group row",children:[a.jsxs("label",{htmlFor:"firstName",className:"col-sm-6 col-form-label",children:["First Name:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.firstName})]}),a.jsxs("label",{htmlFor:"middleName",className:"col-sm-6 col-form-label",children:["Middle Name:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.middleName})]}),a.jsxs("label",{htmlFor:"lastName",className:"col-sm-6 col-form-label",children:["Last Name:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.lastName})]}),a.jsxs("label",{htmlFor:"email",className:"col-sm-6 col-form-label",children:["Email:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.email})]})]})})})})]})})})}),a.jsx(gn,{})]})};var Sp={exports:{}},Bx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$x=Bx,Wx=$x;function kp(){}function Ep(){}Ep.resetWarningCache=kp;var Hx=function(){function e(r,i,l,o,s,u){if(u!==Wx){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return 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:Ep,resetWarningCache:kp};return n.PropTypes=n,n};Sp.exports=Hx();var Vx=Sp.exports;const Qx=nd(Vx),Kx=()=>{const[e,t]=P.useState(3),n=mi();return P.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),a.jsx("div",{style:{marginTop:"100px"},children:a.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},_p=({children:e})=>{const{user:t}=si(n=>({...n.auth}));return t?e:a.jsx(Kx,{})};_p.propTypes={children:Qx.node.isRequired};const qx=()=>{const e=Xl(),{id:t,token:n}=O1();return P.useEffect(()=>{e(Gi({id:t,token:n}))},[e,t,n]),a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsxs("div",{className:"contact_section layout_padding",children:[a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-md-12",children:a.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),a.jsx("div",{className:"container-fluid",children:a.jsx("div",{className:"contact_section_2",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-6",children:[a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("h1",{className:"card-title text-center",children:a.jsxs(Ze,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",a.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),a.jsx("div",{className:"col-md-6 padding_left_15",children:a.jsx("div",{className:"contact_img",children:a.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),a.jsx(gn,{})]})},Jx=()=>a.jsx(X1,{children:a.jsxs($1,{children:[a.jsx(wt,{path:"/",element:a.jsx(ix,{})}),a.jsx(wt,{path:"/about",element:a.jsx(lx,{})}),a.jsx(wt,{path:"/contact",element:a.jsx(ox,{})}),a.jsx(wt,{path:"/register",element:a.jsx(Dx,{})}),a.jsx(wt,{path:"/login",element:a.jsx(Ix,{})}),a.jsx(wt,{path:"/dashboard",element:a.jsx(_p,{children:a.jsx(Ux,{})})}),a.jsx(wt,{path:"/users/:id/verify/:token",element:a.jsx(qx,{})})]})});vm(document.getElementById("root")).render(a.jsx(P.StrictMode,{children:a.jsx(Sy,{store:e1,children:a.jsx(Jx,{})})})); + */function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function W1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function H1(e,t){return e.button===0&&(!t||t==="_self")&&!W1(e)}const V1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Q1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],K1="6";try{window.__reactRouterVersion=K1}catch{}const q1=P.createContext({isTransitioning:!1}),J1="startTransition",Yc=Yo[J1];function X1(e){let{basename:t,children:n,future:r,window:i}=e,l=P.useRef();l.current==null&&(l.current=t1({window:i,v5Compat:!0}));let o=l.current,[s,u]=P.useState({action:o.action,location:o.location}),{v7_startTransition:c}=r||{},d=P.useCallback(f=>{c&&Yc?Yc(()=>u(f)):u(f)},[u,c]);return P.useLayoutEffect(()=>o.listen(d),[o,d]),P.createElement(B1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const G1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Y1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Z1=P.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:o,state:s,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=yp(t,V1),{basename:g}=P.useContext(Qt),y,w=!1;if(typeof c=="string"&&Y1.test(c)&&(y=c,G1))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),E=Yn(x.pathname,g);x.origin===p.origin&&E!=null?c=E+x.search+x.hash:w=!0}catch{}let N=j1(c,{relative:i}),h=tx(c,{replace:o,state:s,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return P.createElement("a",Ll({},v,{href:y||N,onClick:w||l?r:m,ref:n,target:u}))}),Ze=P.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:o=!1,style:s,to:u,unstable_viewTransition:c,children:d}=t,f=yp(t,Q1),v=uo(u,{relative:f.relative}),g=fi(),y=P.useContext(fp),{navigator:w,basename:N}=P.useContext(Qt),h=y!=null&&nx(v)&&c===!0,m=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=g.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&N&&(x=Yn(x,N)||x);const E=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let _=p===m||!o&&p.startsWith(m)&&p.charAt(E)==="/",O=x!=null&&(x===m||!o&&x.startsWith(m)&&x.charAt(m.length)==="/"),C={isActive:_,isPending:O,isTransitioning:h},A=_?r:void 0,L;typeof l=="function"?L=l(C):L=[l,_?"active":null,O?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let me=typeof s=="function"?s(C):s;return P.createElement(Z1,Ll({},f,{"aria-current":A,className:L,ref:n,style:me,to:u,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var oa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(oa||(oa={}));var Zc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zc||(Zc={}));function ex(e){let t=P.useContext(so);return t||J(!1),t}function tx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,u=mi(),c=fi(),d=uo(e,{relative:o});return P.useCallback(f=>{if(H1(f,n)){f.preventDefault();let v=r!==void 0?r:Pl(c)===Pl(d);u(e,{replace:v,state:i,preventScrollReset:l,relative:o,unstable_viewTransition:s})}},[c,u,d,r,i,n,e,l,o,s])}function nx(e,t){t===void 0&&(t={});let n=P.useContext(q1);n==null&&J(!1);let{basename:r}=ex(oa.useViewTransitionState),i=uo(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Yn(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=Yn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rl(i.pathname,o)!=null||Rl(i.pathname,l)!=null}const gn=()=>{const e=new Date().getFullYear();return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"header_top_section",children:a.jsx("div",{className:"container-fluid px-20 col-20 col-md-3 col-xl-10",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"header_top_main",children:[a.jsx("div",{className:"call_text",children:a.jsxs("a",{href:"#",children:[a.jsx("i",{className:"fa fa-phone","aria-hidden":"true"})," ","+01-40-114-6855"]})}),a.jsx("div",{className:"call_text_2",children:a.jsxs("a",{href:"#",children:[a.jsx("i",{className:"fa fa-envelope","aria-hidden":"true"})," ","support@estatesfunding.com"]})}),a.jsx("div",{className:"call_text_1",children:a.jsxs("a",{href:"#",children:[a.jsx("i",{className:"fa fa-map-marker","aria-hidden":"true"})," ","Mordern Tawon Mosco"]})})]})})})})}),a.jsx("div",{className:"copyright_section",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})},rx="/assets/logo-Cb1x1exd.png",xn=()=>{var i,l;const{user:e}=si(o=>({...o.auth})),t=Xl(),n=mi(),r=()=>{t(Xg()),n("/")};return a.jsx(a.Fragment,{children:a.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:a.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[a.jsxs("div",{className:"d-flex align-items-center",children:[a.jsx("img",{src:rx,alt:"logo",width:"75",height:"75",className:"img-fluid"}),a.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),a.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[a.jsxs("ul",{className:"navbar-nav ml-auto",children:[a.jsx("li",{className:"nav-item active",children:a.jsx(Ze,{to:"/",className:"nav-link",children:"Home"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/services",className:"nav-link",children:"Services"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/about",className:"nav-link",children:"About"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/projects",className:"nav-link",children:"Project"})}),a.jsx("li",{className:"nav-item",children:a.jsx(Ze,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?a.jsx(Ze,{to:"/dashboard",children:"Dashboard"}):a.jsx(Ze,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?a.jsx(Ze,{to:"/login",children:a.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):a.jsx(Ze,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},ix=()=>a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{}),a.jsxs("div",{children:[a.jsx("div",{className:"header_section",children:a.jsx("div",{className:"banner_section layout_padding",children:a.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[a.jsxs("div",{className:"carousel-inner",children:[a.jsx("div",{className:"carousel-item active",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"banner_taital_main",children:[a.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),a.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),a.jsxs("div",{className:"btn_main",children:[a.jsx("div",{className:"started_text active",children:a.jsx("a",{href:"#",children:"Contact US"})}),a.jsx("div",{className:"started_text",children:a.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),a.jsx("div",{className:"carousel-item",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"banner_taital_main",children:[a.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),a.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),a.jsxs("div",{className:"btn_main",children:[a.jsx("div",{className:"started_text active",children:a.jsx("a",{href:"#",children:"Contact US"})}),a.jsx("div",{className:"started_text",children:a.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),a.jsx("div",{className:"carousel-item",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-sm-12",children:a.jsxs("div",{className:"banner_taital_main",children:[a.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),a.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),a.jsxs("div",{className:"btn_main",children:[a.jsx("div",{className:"started_text active",children:a.jsx("a",{href:"#",children:"Contact US"})}),a.jsx("div",{className:"started_text",children:a.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),a.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:a.jsx("i",{className:"fa fa-angle-left"})}),a.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:a.jsx("i",{className:"fa fa-angle-right"})})]})})}),a.jsx("div",{className:"services_section layout_padding",children:a.jsxs("div",{className:"container-fluid",children:[a.jsx("div",{className:"row",children:a.jsxs("div",{className:"col-sm-12",children:[a.jsx("h1",{className:"services_taital",children:"Our Services"}),a.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),a.jsx("div",{className:"services_section_2",children:a.jsxs("div",{className:"row",children:[a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main active",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-1.png"})}),a.jsx("h4",{className:"development_text",children:"Dedication Services"}),a.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})}),a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-2.png"})}),a.jsx("h4",{className:"development_text",children:"Building work Reports"}),a.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})}),a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-3.png"})}),a.jsx("h4",{className:"development_text",children:"Reporting continuously"}),a.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})}),a.jsx("div",{className:"col-lg-3 col-sm-6",children:a.jsxs("div",{className:"box_main",children:[a.jsx("div",{className:"service_img",children:a.jsx("img",{src:"images/icon-4.png"})}),a.jsx("h4",{className:"development_text",children:"Manage your investment "}),a.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),a.jsx("div",{className:"readmore_bt",children:a.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),a.jsxs("div",{className:"projects_section layout_padding",children:[a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsxs("div",{className:"col-md-12",children:[a.jsx("h1",{className:"projects_taital",children:"Projects"}),a.jsx("div",{className:"nav-tabs-navigation",children:a.jsx("div",{className:"nav-tabs-wrapper",children:a.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),a.jsx("li",{className:"nav-item",children:a.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),a.jsx("div",{className:"projects_section_2 layout_padding",children:a.jsx("div",{className:"container",children:a.jsx("div",{className:"pets_section",children:a.jsx("div",{className:"pets_section_2",children:a.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:a.jsxs("div",{className:"carousel-inner",children:[a.jsx("div",{className:"carousel-item active",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),a.jsx("div",{className:"carousel-item",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),a.jsx("div",{className:"carousel-item",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),a.jsxs("div",{className:"col-md-4",children:[a.jsxs("div",{className:"container_main",children:[a.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),a.jsx("div",{className:"overlay",children:a.jsx("div",{className:"text",children:a.jsx("h4",{className:"some_text",children:a.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),a.jsxs("div",{className:"project_main",children:[a.jsx("h2",{className:"work_text",children:"Home Work"}),a.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]}),a.jsx(gn,{})]})]}),lx=()=>a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsxs("div",{className:"about_section layout_padding",children:[a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{}),a.jsx("div",{className:"container",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-6",children:[a.jsx("h1",{className:"about_taital",children:"About Us"}),a.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),a.jsx("div",{className:"read_bt_1",children:a.jsx("a",{href:"#",children:"Read More"})})]}),a.jsx("div",{className:"col-md-6",children:a.jsx("div",{className:"about_img",children:a.jsx("div",{className:"video_bt",children:a.jsx("div",{className:"play_icon",children:a.jsx("img",{src:"images/play-icon.png"})})})})})]})}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{})]}),a.jsx(gn,{})]}),ox=()=>a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsxs("div",{className:"contact_section layout_padding",children:[a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-md-12",children:a.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),a.jsx("div",{className:"container-fluid",children:a.jsx("div",{className:"contact_section_2",children:a.jsxs("div",{className:"row",children:[a.jsx("div",{className:"col-md-6",children:a.jsx("form",{action:!0,children:a.jsxs("div",{className:"mail_section_1",children:[a.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),a.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),a.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),a.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),a.jsx("div",{className:"send_bt",children:a.jsx("a",{href:"#",children:"SEND"})})]})})}),a.jsx("div",{className:"col-md-6 padding_left_15",children:a.jsx("div",{className:"contact_img",children:a.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),a.jsx(gn,{})]}),du=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",gp=e=>typeof e=="function",sx=e=>P.isValidElement(e)||Tr(e)||gp(e)||du(e),rt=new Map;let sa=[];const ed=new Set,xp=()=>rt.size>0;function ax(e,t){var n;if(t)return!((n=rt.get(t))==null||!n.isToastActive(e));let r=!1;return rt.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function ux(e,t){sx(e)&&(xp()||sa.push({content:e,options:t}),rt.forEach(n=>{n.buildToast(e,t)}))}function td(e,t){rt.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}let cx=1;const wp=()=>""+cx++;function dx(e){return e&&(Tr(e.toastId)||du(e.toastId))?e.toastId:wp()}function Lr(e,t){return ux(e,t),t.toastId}function Ml(e,t){return{...t,type:t&&t.type||e,toastId:dx(t)}}function zi(e){return(t,n)=>Lr(t,Ml(e,n))}function I(e,t){return Lr(e,Ml("default",t))}I.loading=(e,t)=>Lr(e,Ml("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),I.promise=function(e,t,n){let r,{pending:i,error:l,success:o}=t;i&&(r=Tr(i)?I.loading(i,n):I.loading(i.render,{...n,...i}));const s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,v)=>{if(f==null)return void I.dismiss(r);const g={type:d,...s,...n,data:v},y=Tr(f)?{render:f}:f;return r?I.update(r,{...g,...y}):I(y.render,{...g,...y}),v},c=gp(e)?e():e;return c.then(d=>u("success",o,d)).catch(d=>u("error",l,d)),c},I.success=zi("success"),I.info=zi("info"),I.error=zi("error"),I.warning=zi("warning"),I.warn=I.warning,I.dark=(e,t)=>Lr(e,Ml("default",{theme:"dark",...t})),I.dismiss=function(e){(function(t){var n;if(xp()){if(t==null||Tr(n=t)||du(n))rt.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=rt.get(t.containerId);r?r.removeToast(t.id):rt.forEach(i=>{i.removeToast(t.id)})}}else sa=sa.filter(r=>t!=null&&r.options.toastId!==t)})(e)},I.clearWaitingQueue=function(e){e===void 0&&(e={}),rt.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},I.isActive=ax,I.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:o}=i;return(l=rt.get(o||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:wp()};l.toastId!==e&&(l.staleId=e);const o=l.render||i;delete l.render,Lr(o,l)}},I.done=e=>{I.update(e,{progress:1})},I.onChange=function(e){return ed.add(e),()=>{ed.delete(e)}},I.play=e=>td(!0,e),I.pause=e=>td(!1,e);var st=function(){return st=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=P.useState(Ax),[n,r]=P.useState(!1),{loading:i,error:l}=si(E=>({...E.auth})),{title:o,email:s,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:v,termsconditions:g,userType:y}=e,w=Xl(),N=mi();P.useEffect(()=>{l&&I.error(l)},[l]),P.useEffect(()=>{r(o!=="None"&&s&&u&&c&&d&&f&&v&&g&&y!=="")},[o,s,u,c,d,f,v,g,y]);const h=E=>{if(E.preventDefault(),u!==v)return I.error("Password should match");n?w(Xi({formValue:e,navigate:N,toast:I})):I.error("Please fill in all fields and select all checkboxes")},m=E=>E.charAt(0).toUpperCase()+E.slice(1),p=E=>{const{name:_,value:O,type:C,checked:A}=E.target;t(C==="checkbox"?L=>({...L,[_]:A}):L=>({...L,[_]:_==="email"||_==="password"||_==="confirmPassword"?O:m(O)}))},x=E=>{t(_=>({..._,userType:E.target.value}))};return a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:a.jsx("div",{className:"container-fluid px-0",children:a.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[a.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),a.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:a.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:a.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"mb-4",children:[a.jsx("h2",{className:"h3",children:"Registration"}),a.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),a.jsx("hr",{})]})})}),a.jsx("form",{onSubmit:h,children:a.jsxs("div",{className:"row gy-3 overflow-hidden",children:[a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsxs("label",{className:"form-label",children:["Please select the role. ",a.jsx("br",{}),a.jsx("br",{})]}),a.jsxs("div",{className:"form-check form-check-inline",children:[a.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:y==="Lender",onChange:x,required:!0}),a.jsx("label",{className:"form-check-label",children:"Lender"})]}),a.jsxs("div",{className:"form-check form-check-inline",children:[a.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:y==="Borrower",onChange:x,required:!0}),a.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),a.jsx("br",{}),a.jsx("br",{})]})]})}),a.jsxs("div",{className:"col-12",children:[a.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:o,onChange:p,children:[a.jsx("option",{value:"None",children:"Please Select Title"}),a.jsx("option",{value:"Dr",children:"Dr"}),a.jsx("option",{value:"Prof",children:"Prof"}),a.jsx("option",{value:"Mr",children:"Mr"}),a.jsx("option",{value:"Miss",children:"Miss"})]}),a.jsx("br",{})]}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),a.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),a.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),a.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"email",className:"form-control",value:s,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),a.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:p,placeholder:"Password",required:"required"}),a.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"password",className:"form-control",value:v,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),a.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-check",children:[a.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:g,name:"termsconditions",checked:g,onChange:p,required:!0}),a.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",a.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-grid",children:a.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&a.jsx(Np.Bars,{}),"Sign up"]})})})]})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:a.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",a.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12"})})]})})})]})})}),a.jsx(gn,{})]})},bx={email:"",password:""},Ix=()=>{const[e,t]=P.useState(bx),{loading:n,error:r}=si(d=>({...d.auth})),{email:i,password:l}=e,o=Xl(),s=mi();P.useEffect(()=>{r&&I.error(r)},[r]);const u=d=>{d.preventDefault(),i&&l&&o(Ji({formValue:e,navigate:s,toast:I}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:a.jsx("div",{className:"container-fluid px-0",children:a.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[a.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:a.jsx("div",{className:"text-bg-primary",children:a.jsxs("div",{className:"px-4",children:[a.jsx("hr",{className:"border-primary-subtle mb-4"}),a.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),a.jsx("div",{className:"text-endx",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:a.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),a.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:a.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:a.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"mb-4",children:a.jsx("h2",{className:"h3",children:"Please Login"})})})}),a.jsx("form",{method:"POST",children:a.jsxs("div",{className:"row gy-3 overflow-hidden",children:[a.jsx("div",{className:"col-12"}),a.jsx("div",{className:"col-12"}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),a.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-floating mb-3",children:[a.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),a.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),a.jsx("div",{className:"col-12",children:a.jsxs("div",{className:"form-check",children:[a.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),a.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-grid",children:a.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&a.jsx(Np.Bars,{}),"Sign In"]})})})]})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12",children:a.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:a.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",a.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Register"})]})})})}),a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-12"})})]})})})]})})}),a.jsx(gn,{})]})},Ux=()=>{var t;const{user:e}=si(n=>({...n.auth}));return a.jsxs("div",{style:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[a.jsx(xn,{}),a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{})," ",a.jsx("br",{}),a.jsx("main",{style:{flex:1},children:a.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{backgroundColor:"#FFFFFF"},children:a.jsx("div",{className:"container-fluid px-0",children:a.jsxs("div",{className:"row gy-4 align-items-center justify-content-center ",children:[a.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:a.jsx("div",{className:"text-bg-primary",children:a.jsxs("div",{className:"px-4",children:[a.jsx("hr",{className:"border-primary-subtle mb-4"}),a.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"})]})})}),a.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:a.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:a.jsx("div",{className:"card-body p-3 p-md-4 p-xl-5",children:((t=e==null?void 0:e.result)==null?void 0:t._id)&&a.jsxs("div",{className:"form-group row",children:[a.jsxs("label",{htmlFor:"firstName",className:"col-sm-6 col-form-label",children:["First Name:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.firstName})]}),a.jsxs("label",{htmlFor:"middleName",className:"col-sm-6 col-form-label",children:["Middle Name:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.middleName})]}),a.jsxs("label",{htmlFor:"lastName",className:"col-sm-6 col-form-label",children:["Last Name:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.lastName})]}),a.jsxs("label",{htmlFor:"email",className:"col-sm-6 col-form-label",children:["Email:"," ",a.jsx("span",{style:{color:"#067ADC"},children:e.result.email})]})]})})})})]})})})}),a.jsx(gn,{})]})};var Sp={exports:{}},Bx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$x=Bx,Wx=$x;function kp(){}function Ep(){}Ep.resetWarningCache=kp;var Hx=function(){function e(r,i,l,o,s,u){if(u!==Wx){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return 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:Ep,resetWarningCache:kp};return n.PropTypes=n,n};Sp.exports=Hx();var Vx=Sp.exports;const Qx=nd(Vx),Kx=()=>{const[e,t]=P.useState(3),n=mi();return P.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),a.jsx("div",{style:{marginTop:"100px"},children:a.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},_p=({children:e})=>{const{user:t}=si(n=>({...n.auth}));return t?e:a.jsx(Kx,{})};_p.propTypes={children:Qx.node.isRequired};const qx=()=>{const e=Xl(),{id:t,token:n}=O1();return P.useEffect(()=>{e(Gi({id:t,token:n}))},[e,t,n]),a.jsxs(a.Fragment,{children:[a.jsx(xn,{}),a.jsxs("div",{className:"contact_section layout_padding",children:[a.jsx("div",{className:"container",children:a.jsx("div",{className:"row",children:a.jsx("div",{className:"col-md-12",children:a.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),a.jsx("div",{className:"container-fluid",children:a.jsx("div",{className:"contact_section_2",children:a.jsxs("div",{className:"row",children:[a.jsxs("div",{className:"col-md-6",children:[a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("br",{}),a.jsx("h1",{className:"card-title text-center",children:a.jsxs(Ze,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",a.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),a.jsx("div",{className:"col-md-6 padding_left_15",children:a.jsx("div",{className:"contact_img"})})]})})})]}),a.jsx(gn,{})]})},Jx=()=>a.jsx(X1,{children:a.jsxs($1,{children:[a.jsx(wt,{path:"/",element:a.jsx(ix,{})}),a.jsx(wt,{path:"/about",element:a.jsx(lx,{})}),a.jsx(wt,{path:"/contact",element:a.jsx(ox,{})}),a.jsx(wt,{path:"/register",element:a.jsx(Dx,{})}),a.jsx(wt,{path:"/login",element:a.jsx(Ix,{})}),a.jsx(wt,{path:"/dashboard",element:a.jsx(_p,{children:a.jsx(Ux,{})})}),a.jsx(wt,{path:"/users/:id/verify/:token",element:a.jsx(qx,{})})]})});vm(document.getElementById("root")).render(a.jsx(P.StrictMode,{children:a.jsx(Sy,{store:e1,children:a.jsx(Jx,{})})})); diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index fb0b115..8d0eb8e 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -27,7 +27,7 @@ - + diff --git a/ef-ui/src/components/EmailVerify.jsx b/ef-ui/src/components/EmailVerify.jsx index b0de536..01e592a 100644 --- a/ef-ui/src/components/EmailVerify.jsx +++ b/ef-ui/src/components/EmailVerify.jsx @@ -43,7 +43,7 @@ const VerifyUser = () => {
- + {/* */}