From 3b144c93f58f04cbbff8d609479b3be9185076f9 Mon Sep 17 00:00:00 2001 From: omkieit Date: Fri, 20 Sep 2024 07:07:26 +0530 Subject: [PATCH] done --- ef-ui/dist/assets/{index-Bm6vuYkC.js => index-tUPF5Gax.js} | 2 +- ef-ui/dist/index.html | 2 +- ef-ui/src/components/SearchMysql.jsx | 4 ++-- ef-ui/src/searchmysqlresults.css | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) rename ef-ui/dist/assets/{index-Bm6vuYkC.js => index-tUPF5Gax.js} (98%) diff --git a/ef-ui/dist/assets/index-Bm6vuYkC.js b/ef-ui/dist/assets/index-tUPF5Gax.js similarity index 98% rename from ef-ui/dist/assets/index-Bm6vuYkC.js rename to ef-ui/dist/assets/index-tUPF5Gax.js index 2776edc..2f22c40 100644 --- a/ef-ui/dist/assets/index-Bm6vuYkC.js +++ b/ef-ui/dist/assets/index-tUPF5Gax.js @@ -77,4 +77,4 @@ Error generating stack: `+l.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Kl(){return Kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function ux(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function dx(e,t){return e.button===0&&(!t||t==="_self")&&!ux(e)}const fx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],mx=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],px="6";try{window.__reactRouterVersion=px}catch{}const hx=_.createContext({isTransitioning:!1}),yx="startTransition",pd=fo[yx];function vx(e){let{basename:t,children:n,future:r,window:i}=e,l=_.useRef();l.current==null&&(l.current=E1({window:i,v5Compat:!0}));let s=l.current,[a,c]=_.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=_.useCallback(m=>{u&&pd?pd(()=>c(m)):c(m)},[c,u]);return _.useLayoutEffect(()=>s.listen(d),[s,d]),_.createElement(ax,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const gx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wx=_.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:c,to:u,preventScrollReset:d,unstable_viewTransition:m}=t,y=Lp(t,fx),{basename:j}=_.useContext(un),v,g=!1;if(typeof u=="string"&&xx.test(u)&&(v=u,gx))try{let p=new URL(window.location.href),x=u.startsWith("//")?new URL(p.protocol+u):new URL(u),S=pr(x.pathname,j);x.origin===p.origin&&S!=null?u=S+x.search+x.hash:g=!0}catch{}let w=K1(u,{relative:i}),h=Nx(u,{replace:s,state:a,target:c,preventScrollReset:d,relative:i,unstable_viewTransition:m});function f(p){r&&r(p),p.defaultPrevented||h(p)}return _.createElement("a",Kl({},y,{href:v||w,onClick:g||l?r:f,ref:n,target:c}))}),re=_.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:c,unstable_viewTransition:u,children:d}=t,m=Lp(t,mx),y=Es(c,{relative:m.relative}),j=ki(),v=_.useContext(Pp),{navigator:g,basename:w}=_.useContext(un),h=v!=null&&Ex(y)&&u===!0,f=g.encodeLocation?g.encodeLocation(y).pathname:y.pathname,p=j.pathname,x=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,f=f.toLowerCase()),x&&w&&(x=pr(x,w)||x);const S=f!=="/"&&f.endsWith("/")?f.length-1:f.length;let C=p===f||!s&&p.startsWith(f)&&p.charAt(S)==="/",P=x!=null&&(x===f||!s&&x.startsWith(f)&&x.charAt(f.length)==="/"),k={isActive:C,isPending:P,isTransitioning:h},b=C?r:void 0,L;typeof l=="function"?L=l(k):L=[l,C?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let H=typeof a=="function"?a(k):a;return _.createElement(wx,Kl({},m,{"aria-current":b,className:L,ref:n,style:H,to:c,unstable_viewTransition:u}),typeof d=="function"?d(k):d)});var wa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(wa||(wa={}));var hd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(hd||(hd={}));function jx(e){let t=_.useContext(js);return t||Z(!1),t}function Nx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,c=_i(),u=ki(),d=Es(e,{relative:s});return _.useCallback(m=>{if(dx(m,n)){m.preventDefault();let y=r!==void 0?r:Vl(u)===Vl(d);c(e,{replace:y,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[u,c,d,r,i,n,e,l,s,a])}function Ex(e,t){t===void 0&&(t={});let n=_.useContext(hx);n==null&&Z(!1);let{basename:r}=jx(wa.useViewTransitionState),i=Es(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=pr(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=pr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return ql(i.pathname,s)!=null||ql(i.pathname,l)!=null}function Mp(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;ttypeof e=="number"&&!isNaN(e),En=e=>typeof e=="string",Ae=e=>typeof e=="function",ml=e=>En(e)||Ae(e)?e:null,ja=e=>_.isValidElement(e)||En(e)||Ae(e)||pi(e);function Sx(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}function Ss(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:l=300}=e;return function(s){let{children:a,position:c,preventExitTransition:u,done:d,nodeRef:m,isIn:y,playToast:j}=s;const v=r?`${t}--${c}`:t,g=r?`${n}--${c}`:n,w=_.useRef(0);return _.useLayoutEffect(()=>{const h=m.current,f=v.split(" "),p=x=>{x.target===m.current&&(j(),h.removeEventListener("animationend",p),h.removeEventListener("animationcancel",p),w.current===0&&x.type!=="animationcancel"&&h.classList.remove(...f))};h.classList.add(...f),h.addEventListener("animationend",p),h.addEventListener("animationcancel",p)},[]),_.useEffect(()=>{const h=m.current,f=()=>{h.removeEventListener("animationend",f),i?Sx(h,d,l):d()};y||(u?f():(w.current=1,h.className+=` ${g}`,h.addEventListener("animationend",f)))},[y]),N.createElement(N.Fragment,null,a)}}function yd(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const we=new Map;let hi=[];const Na=new Set,kx=e=>Na.forEach(t=>t(e)),Fp=()=>we.size>0;function Ip(e,t){var n;if(t)return!((n=we.get(t))==null||!n.isToastActive(e));let r=!1;return we.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function zp(e,t){ja(e)&&(Fp()||hi.push({content:e,options:t}),we.forEach(n=>{n.buildToast(e,t)}))}function vd(e,t){we.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)})}function _x(e){const{subscribe:t,getSnapshot:n,setProps:r}=_.useRef(function(l){const s=l.containerId||1;return{subscribe(a){const c=function(d,m,y){let j=1,v=0,g=[],w=[],h=[],f=m;const p=new Map,x=new Set,S=()=>{h=Array.from(p.values()),x.forEach(k=>k())},C=k=>{w=k==null?[]:w.filter(b=>b!==k),S()},P=k=>{const{toastId:b,onOpen:L,updateId:H,children:Se}=k.props,Qe=H==null;k.staleId&&p.delete(k.staleId),p.set(b,k),w=[...w,k.props.toastId].filter(tt=>tt!==k.staleId),S(),y(yd(k,Qe?"added":"updated")),Qe&&Ae(L)&&L(_.isValidElement(Se)&&Se.props)};return{id:d,props:f,observe:k=>(x.add(k),()=>x.delete(k)),toggle:(k,b)=>{p.forEach(L=>{b!=null&&b!==L.props.toastId||Ae(L.toggle)&&L.toggle(k)})},removeToast:C,toasts:p,clearQueue:()=>{v-=g.length,g=[]},buildToast:(k,b)=>{if((U=>{let{containerId:ae,toastId:ne,updateId:ke}=U;const ve=ae?ae!==d:d!==1,ft=p.has(ne)&&ke==null;return ve||ft})(b))return;const{toastId:L,updateId:H,data:Se,staleId:Qe,delay:tt}=b,bt=()=>{C(L)},Lt=H==null;Lt&&v++;const Me={...f,style:f.toastStyle,key:j++,...Object.fromEntries(Object.entries(b).filter(U=>{let[ae,ne]=U;return ne!=null})),toastId:L,updateId:H,data:Se,closeToast:bt,isIn:!1,className:ml(b.className||f.toastClassName),bodyClassName:ml(b.bodyClassName||f.bodyClassName),progressClassName:ml(b.progressClassName||f.progressClassName),autoClose:!b.isLoading&&(T=b.autoClose,M=f.autoClose,T===!1||pi(T)&&T>0?T:M),deleteToast(){const U=p.get(L),{onClose:ae,children:ne}=U.props;Ae(ae)&&ae(_.isValidElement(ne)&&ne.props),y(yd(U,"removed")),p.delete(L),v--,v<0&&(v=0),g.length>0?P(g.shift()):S()}};var T,M;Me.closeButton=f.closeButton,b.closeButton===!1||ja(b.closeButton)?Me.closeButton=b.closeButton:b.closeButton===!0&&(Me.closeButton=!ja(f.closeButton)||f.closeButton);let F=k;_.isValidElement(k)&&!En(k.type)?F=_.cloneElement(k,{closeToast:bt,toastProps:Me,data:Se}):Ae(k)&&(F=k({closeToast:bt,toastProps:Me,data:Se}));const B={content:F,props:Me,staleId:Qe};f.limit&&f.limit>0&&v>f.limit&&Lt?g.push(B):pi(tt)?setTimeout(()=>{P(B)},tt):P(B)},setProps(k){f=k},setToggle:(k,b)=>{p.get(k).toggle=b},isToastActive:k=>w.some(b=>b===k),getSnapshot:()=>f.newestOnTop?h.reverse():h}}(s,l,kx);we.set(s,c);const u=c.observe(a);return hi.forEach(d=>zp(d.content,d.options)),hi=[],()=>{u(),we.delete(s)}},setProps(a){var c;(c=we.get(s))==null||c.setProps(a)},getSnapshot(){var a;return(a=we.get(s))==null?void 0:a.getSnapshot()}}}(e)).current;r(e);const i=_.useSyncExternalStore(t,n,n);return{getToastToRender:function(l){if(!i)return[];const s=new Map;return i.forEach(a=>{const{position:c}=a.props;s.has(c)||s.set(c,[]),s.get(c).push(a)}),Array.from(s,a=>l(a[0],a[1]))},isToastActive:Ip,count:i==null?void 0:i.length}}function Cx(e){const[t,n]=_.useState(!1),[r,i]=_.useState(!1),l=_.useRef(null),s=_.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:a,pauseOnHover:c,closeToast:u,onClick:d,closeOnClick:m}=e;var y,j;function v(){n(!0)}function g(){n(!1)}function w(p){const x=l.current;s.canDrag&&x&&(s.didMove=!0,t&&g(),s.delta=e.draggableDirection==="x"?p.clientX-s.start:p.clientY-s.start,s.start!==p.clientX&&(s.canCloseOnClick=!1),x.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,x.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function h(){document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",h);const p=l.current;if(s.canDrag&&s.didMove&&p){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return i(!0),e.closeToast(),void e.collapseAll();p.style.transition="transform 0.2s, opacity 0.2s",p.style.removeProperty("transform"),p.style.removeProperty("opacity")}}(j=we.get((y={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||j.setToggle(y.id,y.fn),_.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",v),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",v),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);const f={onPointerDown:function(p){if(e.draggable===!0||e.draggable===p.pointerType){s.didMove=!1,document.addEventListener("pointermove",w),document.addEventListener("pointerup",h);const x=l.current;s.canCloseOnClick=!0,s.canDrag=!0,x.style.transition="none",e.draggableDirection==="x"?(s.start=p.clientX,s.removalDistance=x.offsetWidth*(e.draggablePercent/100)):(s.start=p.clientY,s.removalDistance=x.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(p){const{top:x,bottom:S,left:C,right:P}=l.current.getBoundingClientRect();p.nativeEvent.type!=="touchend"&&e.pauseOnHover&&p.clientX>=C&&p.clientX<=P&&p.clientY>=x&&p.clientY<=S?g():v()}};return a&&c&&(f.onMouseEnter=g,e.stacked||(f.onMouseLeave=v)),m&&(f.onClick=p=>{d&&d(p),s.canCloseOnClick&&u()}),{playToast:v,pauseToast:g,isRunning:t,preventExitTransition:r,toastRef:l,eventHandlers:f}}function Px(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:l,className:s,style:a,controlledProgress:c,progress:u,rtl:d,isIn:m,theme:y}=e;const j=l||c&&u===0,v={...a,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};c&&(v.transform=`scaleX(${u})`);const g=qt("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${y}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),w=Ae(s)?s({rtl:d,type:i,defaultClassName:g}):qt(g,s),h={[c&&u>=1?"onTransitionEnd":"onAnimationEnd"]:c&&u<1?null:()=>{m&&r()}};return N.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":j},N.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${y} Toastify__progress-bar--${i}`}),N.createElement("div",{role:"progressbar","aria-hidden":j?"true":"false","aria-label":"notification timer",className:w,style:v,...h}))}let Ox=1;const Ap=()=>""+Ox++;function Tx(e){return e&&(En(e.toastId)||pi(e.toastId))?e.toastId:Ap()}function Vr(e,t){return zp(e,t),t.toastId}function Xl(e,t){return{...t,type:t&&t.type||e,toastId:Tx(t)}}function Vi(e){return(t,n)=>Vr(t,Xl(e,n))}function z(e,t){return Vr(e,Xl("default",t))}z.loading=(e,t)=>Vr(e,Xl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),z.promise=function(e,t,n){let r,{pending:i,error:l,success:s}=t;i&&(r=En(i)?z.loading(i,n):z.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=(d,m,y)=>{if(m==null)return void z.dismiss(r);const j={type:d,...a,...n,data:y},v=En(m)?{render:m}:m;return r?z.update(r,{...j,...v}):z(v.render,{...j,...v}),y},u=Ae(e)?e():e;return u.then(d=>c("success",s,d)).catch(d=>c("error",l,d)),u},z.success=Vi("success"),z.info=Vi("info"),z.error=Vi("error"),z.warning=Vi("warning"),z.warn=z.warning,z.dark=(e,t)=>Vr(e,Xl("default",{theme:"dark",...t})),z.dismiss=function(e){(function(t){var n;if(Fp()){if(t==null||En(n=t)||pi(n))we.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=we.get(t.containerId);r?r.removeToast(t.id):we.forEach(i=>{i.removeToast(t.id)})}}else hi=hi.filter(r=>t!=null&&r.options.toastId!==t)})(e)},z.clearWaitingQueue=function(e){e===void 0&&(e={}),we.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},z.isActive=Ip,z.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:s}=i;return(l=we.get(s||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:Ap()};l.toastId!==e&&(l.staleId=e);const s=l.render||i;delete l.render,Vr(s,l)}},z.done=e=>{z.update(e,{progress:1})},z.onChange=function(e){return Na.add(e),()=>{Na.delete(e)}},z.play=e=>vd(!0,e),z.pause=e=>vd(!1,e);const Rx=typeof window<"u"?_.useLayoutEffect:_.useEffect,qi=e=>{let{theme:t,type:n,isLoading:r,...i}=e;return N.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},uo={info:function(e){return N.createElement(qi,{...e},N.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return N.createElement(qi,{...e},N.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return N.createElement(qi,{...e},N.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return N.createElement(qi,{...e},N.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return N.createElement("div",{className:"Toastify__spinner"})}},bx=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:l}=Cx(e),{closeButton:s,children:a,autoClose:c,onClick:u,type:d,hideProgressBar:m,closeToast:y,transition:j,position:v,className:g,style:w,bodyClassName:h,bodyStyle:f,progressClassName:p,progressStyle:x,updateId:S,role:C,progress:P,rtl:k,toastId:b,deleteToast:L,isIn:H,isLoading:Se,closeOnClick:Qe,theme:tt}=e,bt=qt("Toastify__toast",`Toastify__toast-theme--${tt}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":k},{"Toastify__toast--close-on-click":Qe}),Lt=Ae(g)?g({rtl:k,position:v,type:d,defaultClassName:bt}):qt(bt,g),Me=function(B){let{theme:U,type:ae,isLoading:ne,icon:ke}=B,ve=null;const ft={theme:U,type:ae};return ke===!1||(Ae(ke)?ve=ke({...ft,isLoading:ne}):_.isValidElement(ke)?ve=_.cloneElement(ke,ft):ne?ve=uo.spinner():(Wp=>Wp in uo)(ae)&&(ve=uo[ae](ft))),ve}(e),T=!!P||!c,M={closeToast:y,type:d,theme:tt};let F=null;return s===!1||(F=Ae(s)?s(M):_.isValidElement(s)?_.cloneElement(s,M):function(B){let{closeToast:U,theme:ae,ariaLabel:ne="close"}=B;return N.createElement("button",{className:`Toastify__close-button Toastify__close-button--${ae}`,type:"button",onClick:ke=>{ke.stopPropagation(),U(ke)},"aria-label":ne},N.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},N.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(M)),N.createElement(j,{isIn:H,done:L,position:v,preventExitTransition:n,nodeRef:r,playToast:l},N.createElement("div",{id:b,onClick:u,"data-in":H,className:Lt,...i,style:w,ref:r},N.createElement("div",{...H&&{role:C},className:Ae(h)?h({type:d}):qt("Toastify__toast-body",h),style:f},Me!=null&&N.createElement("div",{className:qt("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Se})},Me),N.createElement("div",null,a)),F,N.createElement(Px,{...S&&!T?{key:`pb-${S}`}:{},rtl:k,theme:tt,delay:c,isRunning:t,isIn:H,closeToast:y,hide:m,type:d,style:x,className:p,controlledProgress:T,progress:P||0})))},ks=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},Lx=Ss(ks("bounce",!0));Ss(ks("slide",!0));Ss(ks("zoom"));Ss(ks("flip"));const Mx={position:"top-right",transition:Lx,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Fx(e){let t={...Mx,...e};const n=e.stacked,[r,i]=_.useState(!0),l=_.useRef(null),{getToastToRender:s,isToastActive:a,count:c}=_x(t),{className:u,style:d,rtl:m,containerId:y}=t;function j(g){const w=qt("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":m});return Ae(u)?u({position:g,rtl:m,defaultClassName:w}):qt(w,ml(u))}function v(){n&&(i(!0),z.play())}return Rx(()=>{if(n){var g;const w=l.current.querySelectorAll('[data-in="true"]'),h=12,f=(g=t.position)==null?void 0:g.includes("top");let p=0,x=0;Array.from(w).reverse().forEach((S,C)=>{const P=S;P.classList.add("Toastify__toast--stacked"),C>0&&(P.dataset.collapsed=`${r}`),P.dataset.pos||(P.dataset.pos=f?"top":"bot");const k=p*(r?.2:1)+(r?0:h*C);P.style.setProperty("--y",`${f?k:-1*k}px`),P.style.setProperty("--g",`${h}`),P.style.setProperty("--s",""+(1-(r?x:0))),p+=P.offsetHeight,x+=.025})}},[r,c,n]),N.createElement("div",{ref:l,className:"Toastify",id:y,onMouseEnter:()=>{n&&(i(!1),z.pause())},onMouseLeave:v},s((g,w)=>{const h=w.length?{...d}:{...d,pointerEvents:"none"};return N.createElement("div",{className:j(g),style:h,key:`container-${g}`},w.map(f=>{let{content:p,props:x}=f;return N.createElement(bx,{...x,stacked:n,collapseAll:v,isIn:a(x.toastId,x.containerId),style:x.style,key:`toast-${x.key}`},p)}))}))}const et=()=>{const e=new Date().getFullYear();return o.jsx(o.Fragment,{children:o.jsxs("div",{children:[o.jsx("div",{className:"footer_section layout_padding",children:o.jsxs("div",{className:"container",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12"})}),o.jsx("div",{className:"footer_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),o.jsx("div",{className:"footer_menu",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx(re,{to:"/",className:"link-primary text-decoration-none",children:"Home"})}),o.jsx("li",{children:o.jsx(re,{to:"/about",className:"link-primary text-decoration-none",children:"About"})}),o.jsx("li",{children:o.jsx(re,{to:"/services",className:"link-primary text-decoration-none",children:"Services"})}),o.jsx("li",{children:o.jsx(re,{to:"/contact",className:"link-primary text-decoration-none",children:"Contact Us"})})]})})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),o.jsx("p",{className:"lorem_text",children:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem"})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),o.jsxs("div",{className:"form-group",children:[o.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),o.jsx("div",{className:"subscribe_bt",children:o.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),o.jsx("div",{className:"social_icon",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),o.jsx("div",{className:"copyright_section",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},Ix="/assets/logo-Cb1x1exd.png",qe=()=>{var i,l;const{user:e}=xt(s=>({...s.auth})),t=Mn(),n=_i(),r=()=>{t(y1()),n("/")};return o.jsx(o.Fragment,{children:o.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:o.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[o.jsxs("div",{className:"d-flex align-items-center",children:[o.jsx("img",{src:Ix,alt:"logo",width:"75",height:"75",className:"img-fluid"}),o.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),o.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[o.jsxs("ul",{className:"navbar-nav ml-auto",children:[o.jsx("li",{className:"nav-item active",children:o.jsx(re,{to:"/",className:"nav-link",children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(re,{to:"/services",className:"nav-link",children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(re,{to:"/searchmyproperties",className:"nav-link",children:"Search"})}),o.jsx("li",{className:"nav-item",children:o.jsx(re,{to:"/about",className:"nav-link",children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(re,{to:"/contact",className:"nav-link",children:"Contact"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(re,{to:"/dashboard",children:"Dashboard"}):o.jsx(re,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(re,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):o.jsx(re,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},zx=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{children:[o.jsx("div",{className:"header_section",children:o.jsx("div",{className:"banner_section layout_padding",children:o.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),o.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),o.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),o.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),o.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:o.jsx("i",{className:"fa fa-angle-left"})}),o.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:o.jsx("i",{className:"fa fa-angle-right"})})]})})}),o.jsx("div",{className:"services_section layout_padding",children:o.jsxs("div",{className:"container-fluid",children:[o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-sm-12",children:[o.jsx("h1",{className:"services_taital",children:"Our Services"}),o.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),o.jsx("div",{className:"services_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main active",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-1.png"})}),o.jsx("h4",{className:"development_text",children:"Dedication Services"}),o.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"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-2.png"})}),o.jsx("h4",{className:"development_text",children:"Building work Reports"}),o.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-3.png"})}),o.jsx("h4",{className:"development_text",children:"Reporting continuously"}),o.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-4.png"})}),o.jsx("h4",{className:"development_text",children:"Manage your investment "}),o.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"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),o.jsxs("div",{className:"projects_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-md-12",children:[o.jsx("h1",{className:"projects_taital",children:"Projects"}),o.jsx("div",{className:"nav-tabs-navigation",children:o.jsx("div",{className:"nav-tabs-wrapper",children:o.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),o.jsx("div",{className:"projects_section_2 layout_padding",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"pets_section",children:o.jsx("div",{className:"pets_section_2",children:o.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]})]})})]})})})})})})]})]}),o.jsx(et,{})]}),Ax=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsxs("div",{className:"about_section layout_padding",children:[o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("h1",{className:"about_taital",children:"About Us"}),o.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"," "]}),o.jsx("div",{className:"read_bt_1",children:o.jsx("a",{href:"#",children:"Read More"})})]}),o.jsx("div",{className:"col-md-6",children:o.jsx("div",{className:"about_img",children:o.jsx("div",{className:"video_bt",children:o.jsx("div",{className:"play_icon",children:o.jsx("img",{src:"images/play-icon.png"})})})})})]})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{})]}),o.jsx(et,{})]}),Dx=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-6",children:o.jsx("form",{action:!0,children:o.jsxs("div",{className:"mail_section_1",children:[o.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),o.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),o.jsx("div",{className:"send_bt",children:o.jsx("a",{href:"#",children:"SEND"})})]})})}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img",children:o.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),o.jsx(et,{})]});var jt=function(){return jt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=_.useState(uw),[n,r]=_.useState(!1),{loading:i,error:l}=xt(S=>({...S.auth})),{title:s,email:a,password:c,firstName:u,middleName:d,lastName:m,confirmPassword:y,termsconditions:j,userType:v}=e,g=Mn(),w=_i();_.useEffect(()=>{l&&z.error(l)},[l]),_.useEffect(()=>{r(s!=="None"&&a&&c&&u&&d&&m&&y&&j&&v!=="")},[s,a,c,u,d,m,y,j,v]);const h=S=>{if(S.preventDefault(),c!==y)return z.error("Password should match");n?g(al({formValue:e,navigate:w,toast:z})):z.error("Please fill in all fields and select all checkboxes")},f=S=>S.charAt(0).toUpperCase()+S.slice(1),p=S=>{const{name:C,value:P,type:k,checked:b}=S.target;t(k==="checkbox"?L=>({...L,[C]:b}):L=>({...L,[C]:C==="email"||C==="password"||C==="confirmPassword"?P:f(P)}))},x=S=>{t(C=>({...C,userType:S.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Registration"}),o.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),o.jsx("hr",{})]})})}),o.jsx("form",{onSubmit:h,children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsxs("label",{className:"form-label",children:["Please select the role. ",o.jsx("br",{}),o.jsx("br",{})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:v==="Lender",onChange:x,required:!0}),o.jsx("label",{className:"form-check-label",children:"Lender"})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:v==="Borrower",onChange:x,required:!0}),o.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),o.jsx("br",{}),o.jsx("br",{})]})]})}),o.jsxs("div",{className:"col-12",children:[o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s,onChange:p,children:[o.jsx("option",{value:"None",children:"Please Select Title"}),o.jsx("option",{value:"Dr",children:"Dr"}),o.jsx("option",{value:"Prof",children:"Prof"}),o.jsx("option",{value:"Mr",children:"Mr"}),o.jsx("option",{value:"Miss",children:"Miss"})]}),o.jsx("br",{})]}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:u,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),o.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),o.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:m,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),o.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:a,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:c,name:"password",onChange:p,placeholder:"Password",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:y,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:j,name:"termsconditions",checked:j,onChange:p,required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&o.jsx(Dp.Bars,{}),"Sign up"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(et,{})]})},fw={email:"",password:""},mw=()=>{const[e,t]=_.useState(fw),{loading:n,error:r}=xt(d=>({...d.auth})),{email:i,password:l}=e,s=Mn(),a=_i();_.useEffect(()=>{r&&z.error(r)},[r]);const c=d=>{d.preventDefault(),i&&l&&s(ol({formValue:e,navigate:a,toast:z}))},u=d=>{let{name:m,value:y}=d.target;t({...e,[m]:y})};return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),o.jsx("div",{className:"text-endx",children:o.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:o.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"})})})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"mb-4",children:o.jsx("h2",{className:"h3",children:"Please Login"})})})}),o.jsx("form",{method:"POST",children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:u,required:!0}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:u,required:!0}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&o.jsx(Dp.Bars,{}),"Sign In"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",o.jsx(re,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(re,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(et,{})]})},pw="/assets/samplepic-BM_cnzgz.jpg",hw=()=>{const[e,t]=_.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("shipping")},r=()=>{e==="shipping"&&t("propertydetails")},i=Mn(),{status:l,error:s}=xt(v=>v.property),{user:a}=xt(v=>({...v.auth})),[c,u]=_.useState({propertyType:"",title:"",yearBuild:"",totalSqft:""}),[d,m]=_.useState(!1),y=v=>{u({...c,[v.target.name]:v.target.value})},j=()=>{var v,g,w,h,f,p;if(c.propertyType&&c.title&&c.yearBuild&&c.totalSqft){const x={...c,userfirstname:(v=a==null?void 0:a.result)==null?void 0:v.firstName,usermiddlename:(g=a==null?void 0:a.result)==null?void 0:g.middleName,userlastname:(w=a==null?void 0:a.result)==null?void 0:w.lastName,usertitle:(h=a==null?void 0:a.result)==null?void 0:h.title,useremail:(f=a==null?void 0:a.result)==null?void 0:f.email,userId:(p=a==null?void 0:a.result)==null?void 0:p.userId};i(ul(x)),m(!0)}else z.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};return _.useEffect(()=>{d&&(l==="succeeded"?(z.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),m(!1)):l==="failed"&&(z.error(`Failed to submit: ${s}`,{position:"top-right",autoClose:3e3}),m(!1)))},[l,s,d]),o.jsx(o.Fragment,{children:o.jsxs("div",{className:"container tabs-wrap",children:[o.jsx(qe,{}),o.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[o.jsx("li",{role:"presentation",className:e==="propertydetails"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("propertydetails"),role:"tab",children:"Property Details"})}),o.jsx("li",{role:"presentation",className:e==="shipping"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("shipping"),role:"tab",children:"Delivery Address"})})]}),o.jsxs("div",{className:"tab-content",children:[e==="propertydetails"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Property Details"}),o.jsx("form",{children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:c.propertyType,onChange:y,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Property Type"}),o.jsx("option",{value:"Residential",children:"Residential"}),o.jsx("option",{value:"Land",children:"Land"}),o.jsx("option",{value:"Commercial",children:"Commercial"}),o.jsx("option",{value:"Industrial",children:"Industrial"}),o.jsx("option",{value:"Water",children:"Water"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"title",value:c.title,onChange:y,placeholder:"Property title",required:!0}),o.jsx("label",{htmlFor:"title",className:"form-label",children:"Property Title"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:c.yearBuild,onChange:y,placeholder:"Year build",required:!0}),o.jsx("label",{htmlFor:"yearBuild",className:"form-label",children:"Year Build"})]})})]})}),o.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="shipping"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Shipping Address"}),o.jsx("form",{children:o.jsx("div",{className:"row gy-3 overflow-hidden",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:c.totalSqft,onChange:y,placeholder:"Total SQFT",required:!0}),o.jsx("label",{htmlFor:"totalSqft",className:"form-label",children:"Total SQFT"})]})})})}),o.jsx("button",{className:"btn btn-primary back",onClick:r,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",o.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:j,children:"Submit"})]})]})]})})},yw=()=>{var r;const e=Mn(),{user:t}=xt(i=>({...i.auth})),{userProperties:n}=xt(i=>i.property);return _.useEffect(()=>{var i;e(dl((i=t==null?void 0:t.result)==null?void 0:i.userId))},[e,(r=t==null?void 0:t.result)==null?void 0:r.userId]),o.jsx(o.Fragment,{children:n.length>0?o.jsx("ul",{children:n.map(i=>o.jsx("li",{children:o.jsxs(re,{to:`/property/${i.propertyId}`,target:"_blank",children:[i.title,"....."]})},i._id))}):o.jsx("p",{children:"No active properties found."})})},vw=()=>{const{user:e}=xt(i=>({...i.auth})),[t,n]=_.useState("dashboard"),r=()=>{switch(t){case"addProperty":return o.jsx(hw,{});case"activeProperties":return o.jsxs("div",{children:[o.jsx("h3",{children:"Active Properties"}),o.jsx(yw,{})]});case"closedProperties":return o.jsx("p",{children:"These are your closed properties."});default:return o.jsxs("div",{className:"d-flex justify-content-center mt-7 gap-2 p-3",children:[o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/NI5b1NX.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})}),o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/YyoCGsa.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})})]})}};return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("div",{className:"d-flex flex-row",children:[o.jsx("div",{className:"col-md-3",children:o.jsxs("div",{className:"card card1 p-5",children:[o.jsx("img",{className:"img-fluid",src:pw,alt:"ProfileImage",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}}),o.jsx("hr",{className:"hline"}),o.jsxs("div",{className:"d-flex flex-column align-items-center",children:[o.jsxs("button",{className:`btn ${t==="dashboard"?"active":""}`,onClick:()=>n("dashboard"),children:[o.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),o.jsx("span",{children:"Dashboard"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="addProperty"?"active":""}`,onClick:()=>n("addProperty"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Add Property"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="activeProperties"?"active":""}`,onClick:()=>n("activeProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Active Properties"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="closedProperties"?"active":""}`,onClick:()=>n("closedProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Closed Properties"})]})]})]})}),o.jsx("div",{className:"col-md-9",children:o.jsxs("div",{className:"card card2 p-0",children:[o.jsxs("div",{className:"hello d-flex justify-content-end align-items-center mt-3",children:[o.jsxs("span",{children:["Welcome to"," ",o.jsxs("span",{style:{color:"#067ADC"},children:[e.result.title,". ",e.result.firstName," ",e.result.middleName," ",e.result.lastName]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})]}),o.jsx("div",{className:"tab-content p-3",children:r()})]})})]}),o.jsx(et,{})]})};var Bp={exports:{}},gw="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",xw=gw,ww=xw;function Up(){}function $p(){}$p.resetWarningCache=Up;var jw=function(){function e(r,i,l,s,a,c){if(c!==ww){var u=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 u.name="Invariant Violation",u}}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:$p,resetWarningCache:Up};return n.PropTypes=n,n};Bp.exports=jw();var Nw=Bp.exports;const Ew=xd(Nw),Sw=()=>{const[e,t]=_.useState(3),n=_i();return _.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),o.jsx("div",{style:{marginTop:"100px"},children:o.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},Ea=({children:e})=>{const{user:t}=xt(n=>({...n.auth}));return t?e:o.jsx(Sw,{})};Ea.propTypes={children:Ew.node.isRequired};const kw=()=>{const e=Mn(),{id:t,token:n}=Pc();return _.useEffect(()=>{e(cl({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("h1",{className:"card-title text-center",children:o.jsxs(re,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",o.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img"})})]})})})]}),o.jsx(et,{})]})},_w=()=>{const[e,t]=_.useState(""),[n,r]=_.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const s=await G.post(`${i}/users/forgotpassword`,{email:e});r(s.data.message)}catch(s){console.error("Forgot Password Error:",s),r(s.response.data.message)}};return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Forgot Password"}),o.jsx("hr",{})]})})}),o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:e,onChange:s=>t(s.target.value),placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),o.jsxs("div",{className:"col-12",children:[o.jsx("div",{className:"d-grid",children:o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:l,children:"Reset Password"})}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx(re,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})}),o.jsx(et,{})]})]})},Cw=()=>{const{userId:e,token:t}=Pc(),[n,r]=_.useState(""),[i,l]=_.useState(""),[s,a]=_.useState(""),c="http://67.225.129.127:3002",u=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),z.error("Password not entered");return}const d=await G.post(`${c}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){a("Passwords do not match."),z.error("Passwords do not match.");return}else a("Password reset successfull"),z.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return _.useEffect(()=>{z.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card mb-0 vh-100",children:o.jsx("div",{className:"container py-10 h-100",children:o.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:o.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[o.jsx("br",{}),o.jsxs("h2",{children:["Reset Password",o.jsx("hr",{}),o.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),o.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>r(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),o.jsx("br",{}),o.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>l(d.target.value),placeholder:"Confirm your new password"}),o.jsx("br",{}),o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:s})]})})})}),o.jsx(et,{})]})},Pw=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{className:"col-md-18",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("h1",{className:"card-title text-center",children:[" ","Thank you for joining the world's most trusted realtor investment and borrowers portal."]}),o.jsxs("h2",{children:["We reqest you to kindly ",o.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"check your email inbox "})," and click on the ",o.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"verification link "}),"to access the dashboard."]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx(et,{})]}),gd=()=>{const{id:e}=Pc(),t=Mn(),{selectedProperty:n,status:r,error:i}=xt(l=>l.property);return _.useEffect(()=>{e&&t(fl(e))},[e,t]),r==="loading"?o.jsx("p",{children:"Loading property details..."}):r==="failed"?o.jsxs("p",{children:["Error loading property: ",i]}):o.jsx(o.Fragment,{children:o.jsx("div",{className:"container property-view",children:n?o.jsxs("div",{className:"property-details",children:[o.jsx("h1",{children:n.title}),o.jsxs("p",{children:["Email: ",n.useremail]})]}):o.jsx("p",{children:"Property not found."})})})},Ow=()=>{const[e,t]=_.useState([]),[n,r]=_.useState(0),[i,l]=_.useState(0),[s]=_.useState(10),[a,c]=_.useState(""),[u,d]=_.useState(!1),m=async()=>{d(!0);try{const f=await G.get("http://67.225.129.127:3002/mysql/searchmysql",{params:{limit:s,offset:i*s,search:a},headers:{"Cache-Control":"no-cache"}});t(f.data.data),r(f.data.totalRecords)}catch(f){console.log("Error fetching data:",f)}finally{d(!1)}},y=(f,p)=>{let x;return(...S)=>{clearTimeout(x),x=setTimeout(()=>f(...S),p)}},j=_.useCallback(y(()=>{a.trim(),m()},3e3),[a,i]),v=f=>{c(f.target.value),f.target.value.trim()===""&&(l(0),m())},g=f=>{f.key==="Enter"&&(f.preventDefault(),a.trim()&&j())},w=()=>{a.trim()!==""&&j()};_.useEffect(()=>{a.trim()===""&&m()},[i]);const h=Math.ceil(n/s);return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{className:"container col-12",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-lg-12 card-margin col-12",children:o.jsx("div",{className:"card search-form col-12",children:o.jsx("div",{className:"card-body p-0",children:o.jsx("form",{id:"search-form",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"row no-gutters",children:[o.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:o.jsx("input",{type:"text",placeholder:"Search...",className:"form-control",id:"search",name:"search",value:a,onChange:v,onKeyDown:g,onBlur:w})}),o.jsx("div",{className:"col-lg-1 col-md-3 col-sm-12 p-0"})]})})})})})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"card card-margin",children:o.jsx("div",{className:"card-body",children:u?o.jsx("div",{className:"loader",style:{color:"#fda417"},children:o.jsx("span",{style:{color:"#fda417",fontSize:"25px"},children:"Loading..."})}):o.jsx("div",{className:"row search-body",children:o.jsx("div",{className:"col-lg-12",children:o.jsxs("div",{className:"search-result col-12",children:[o.jsx("div",{className:"result-header",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-lg-6",children:o.jsx("div",{className:"records",children:o.jsxs("div",{children:[o.jsx("button",{onClick:()=>l(i-1),disabled:i===0,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Previous"}),o.jsxs("span",{children:[" ","Page ",i+1," of ",h," "]}),o.jsx("button",{onClick:()=>l(i+1),disabled:i+1>=h,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})})})})}),o.jsx("div",{className:"result-body",children:o.jsx("div",{className:"table-responsive",children:o.jsxs("table",{className:"table widget-26",children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{children:"Details"}),o.jsx("th",{children:"Total Living Square Foot"}),o.jsx("th",{children:"Year Built"}),o.jsx("th",{children:"Cost per Square Foot"})]})}),o.jsx("tbody",{children:e.length>0?e.map((f,p)=>o.jsxs("tr",{children:[o.jsx("td",{children:o.jsxs("div",{className:"widget-26-job-title",children:[o.jsx(re,{to:`/properties/${f.house_id}`,className:"link-primary text-decoration-none",children:f.address}),o.jsxs("p",{className:"m-0",children:[o.jsxs("span",{className:"employer-name",children:[o.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),f.city,", ",f.county,",",f.state]})," ",o.jsxs("p",{className:"text-muted m-0",children:["House Id: ",f.house_id]})]})]})}),o.jsx("td",{children:o.jsx("div",{className:"widget-26-job-info",children:o.jsx("p",{className:"m-0",children:f.total_living_sqft})})}),o.jsx("td",{children:o.jsx("div",{className:"widget-26-job-info",children:o.jsx("p",{className:"m-0",children:f.year_built})})}),o.jsx("td",{children:o.jsxs("div",{className:"widget-26-job-salary",children:["$ ",f.cost_per_sqft,"/sqft"]})})]},p)):o.jsx("tr",{children:o.jsx("td",{colSpan:"4",children:"No results found"})})})]})})}),o.jsxs("div",{children:[o.jsx("button",{onClick:()=>l(i-1),disabled:i===0,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Previous"}),o.jsxs("span",{children:[" ","Page ",i+1," of ",h," "]}),o.jsx("button",{onClick:()=>l(i+1),disabled:i+1>=h,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})]})})})})})})})]}),o.jsx(et,{})]})},Tw=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),"This page will show the list of services offered by the company",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx(et,{})]}),Rw=()=>o.jsxs(vx,{children:[o.jsx(Fx,{}),o.jsxs(cx,{children:[o.jsx(ge,{path:"/",element:o.jsx(zx,{})}),o.jsx(ge,{path:"/about",element:o.jsx(Ax,{})}),o.jsx(ge,{path:"/services",element:o.jsx(Tw,{})}),o.jsx(ge,{path:"/contact",element:o.jsx(Dx,{})}),o.jsx(ge,{path:"/register",element:o.jsx(dw,{})}),o.jsx(ge,{path:"/registrationsuccess",element:o.jsx(Ea,{children:o.jsx(Pw,{})})}),o.jsx(ge,{path:"/login",element:o.jsx(mw,{})}),o.jsx(ge,{path:"/dashboard",element:o.jsx(Ea,{children:o.jsx(vw,{})})}),o.jsx(ge,{path:"/users/:id/verify/:token",element:o.jsx(kw,{})}),o.jsx(ge,{path:"/forgotpassword",element:o.jsx(_w,{})}),o.jsx(ge,{path:"/users/resetpassword/:userId/:token",element:o.jsx(Cw,{})}),o.jsx(ge,{path:"/property/:id",element:o.jsx(gd,{})}),o.jsx(ge,{path:"/properties/:id",element:o.jsx(gd,{})}),o.jsx(ge,{path:"/searchmyproperties",element:o.jsx(Ow,{})})]})]});Lm(document.getElementById("root")).render(o.jsx(_.StrictMode,{children:o.jsx(Dv,{store:N1,children:o.jsx(Rw,{})})})); + */function Kl(){return Kl=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function ux(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function dx(e,t){return e.button===0&&(!t||t==="_self")&&!ux(e)}const fx=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],mx=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],px="6";try{window.__reactRouterVersion=px}catch{}const hx=_.createContext({isTransitioning:!1}),yx="startTransition",pd=fo[yx];function vx(e){let{basename:t,children:n,future:r,window:i}=e,l=_.useRef();l.current==null&&(l.current=E1({window:i,v5Compat:!0}));let s=l.current,[a,c]=_.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=_.useCallback(m=>{u&&pd?pd(()=>c(m)):c(m)},[c,u]);return _.useLayoutEffect(()=>s.listen(d),[s,d]),_.createElement(ax,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const gx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wx=_.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:c,to:u,preventScrollReset:d,unstable_viewTransition:m}=t,y=Lp(t,fx),{basename:j}=_.useContext(un),v,g=!1;if(typeof u=="string"&&xx.test(u)&&(v=u,gx))try{let p=new URL(window.location.href),x=u.startsWith("//")?new URL(p.protocol+u):new URL(u),S=pr(x.pathname,j);x.origin===p.origin&&S!=null?u=S+x.search+x.hash:g=!0}catch{}let w=K1(u,{relative:i}),h=Nx(u,{replace:s,state:a,target:c,preventScrollReset:d,relative:i,unstable_viewTransition:m});function f(p){r&&r(p),p.defaultPrevented||h(p)}return _.createElement("a",Kl({},y,{href:v||w,onClick:g||l?r:f,ref:n,target:c}))}),re=_.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:c,unstable_viewTransition:u,children:d}=t,m=Lp(t,mx),y=Es(c,{relative:m.relative}),j=ki(),v=_.useContext(Pp),{navigator:g,basename:w}=_.useContext(un),h=v!=null&&Ex(y)&&u===!0,f=g.encodeLocation?g.encodeLocation(y).pathname:y.pathname,p=j.pathname,x=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,f=f.toLowerCase()),x&&w&&(x=pr(x,w)||x);const S=f!=="/"&&f.endsWith("/")?f.length-1:f.length;let C=p===f||!s&&p.startsWith(f)&&p.charAt(S)==="/",P=x!=null&&(x===f||!s&&x.startsWith(f)&&x.charAt(f.length)==="/"),k={isActive:C,isPending:P,isTransitioning:h},b=C?r:void 0,L;typeof l=="function"?L=l(k):L=[l,C?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let H=typeof a=="function"?a(k):a;return _.createElement(wx,Kl({},m,{"aria-current":b,className:L,ref:n,style:H,to:c,unstable_viewTransition:u}),typeof d=="function"?d(k):d)});var wa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(wa||(wa={}));var hd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(hd||(hd={}));function jx(e){let t=_.useContext(js);return t||Z(!1),t}function Nx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,c=_i(),u=ki(),d=Es(e,{relative:s});return _.useCallback(m=>{if(dx(m,n)){m.preventDefault();let y=r!==void 0?r:Vl(u)===Vl(d);c(e,{replace:y,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[u,c,d,r,i,n,e,l,s,a])}function Ex(e,t){t===void 0&&(t={});let n=_.useContext(hx);n==null&&Z(!1);let{basename:r}=jx(wa.useViewTransitionState),i=Es(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=pr(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=pr(n.nextLocation.pathname,r)||n.nextLocation.pathname;return ql(i.pathname,s)!=null||ql(i.pathname,l)!=null}function Mp(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;ttypeof e=="number"&&!isNaN(e),En=e=>typeof e=="string",Ae=e=>typeof e=="function",ml=e=>En(e)||Ae(e)?e:null,ja=e=>_.isValidElement(e)||En(e)||Ae(e)||pi(e);function Sx(e,t,n){n===void 0&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)})})}function Ss(e){let{enter:t,exit:n,appendPosition:r=!1,collapse:i=!0,collapseDuration:l=300}=e;return function(s){let{children:a,position:c,preventExitTransition:u,done:d,nodeRef:m,isIn:y,playToast:j}=s;const v=r?`${t}--${c}`:t,g=r?`${n}--${c}`:n,w=_.useRef(0);return _.useLayoutEffect(()=>{const h=m.current,f=v.split(" "),p=x=>{x.target===m.current&&(j(),h.removeEventListener("animationend",p),h.removeEventListener("animationcancel",p),w.current===0&&x.type!=="animationcancel"&&h.classList.remove(...f))};h.classList.add(...f),h.addEventListener("animationend",p),h.addEventListener("animationcancel",p)},[]),_.useEffect(()=>{const h=m.current,f=()=>{h.removeEventListener("animationend",f),i?Sx(h,d,l):d()};y||(u?f():(w.current=1,h.className+=` ${g}`,h.addEventListener("animationend",f)))},[y]),N.createElement(N.Fragment,null,a)}}function yd(e,t){return e!=null?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const we=new Map;let hi=[];const Na=new Set,kx=e=>Na.forEach(t=>t(e)),Fp=()=>we.size>0;function Ip(e,t){var n;if(t)return!((n=we.get(t))==null||!n.isToastActive(e));let r=!1;return we.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function zp(e,t){ja(e)&&(Fp()||hi.push({content:e,options:t}),we.forEach(n=>{n.buildToast(e,t)}))}function vd(e,t){we.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)})}function _x(e){const{subscribe:t,getSnapshot:n,setProps:r}=_.useRef(function(l){const s=l.containerId||1;return{subscribe(a){const c=function(d,m,y){let j=1,v=0,g=[],w=[],h=[],f=m;const p=new Map,x=new Set,S=()=>{h=Array.from(p.values()),x.forEach(k=>k())},C=k=>{w=k==null?[]:w.filter(b=>b!==k),S()},P=k=>{const{toastId:b,onOpen:L,updateId:H,children:Se}=k.props,Qe=H==null;k.staleId&&p.delete(k.staleId),p.set(b,k),w=[...w,k.props.toastId].filter(tt=>tt!==k.staleId),S(),y(yd(k,Qe?"added":"updated")),Qe&&Ae(L)&&L(_.isValidElement(Se)&&Se.props)};return{id:d,props:f,observe:k=>(x.add(k),()=>x.delete(k)),toggle:(k,b)=>{p.forEach(L=>{b!=null&&b!==L.props.toastId||Ae(L.toggle)&&L.toggle(k)})},removeToast:C,toasts:p,clearQueue:()=>{v-=g.length,g=[]},buildToast:(k,b)=>{if((U=>{let{containerId:ae,toastId:ne,updateId:ke}=U;const ve=ae?ae!==d:d!==1,ft=p.has(ne)&&ke==null;return ve||ft})(b))return;const{toastId:L,updateId:H,data:Se,staleId:Qe,delay:tt}=b,bt=()=>{C(L)},Lt=H==null;Lt&&v++;const Me={...f,style:f.toastStyle,key:j++,...Object.fromEntries(Object.entries(b).filter(U=>{let[ae,ne]=U;return ne!=null})),toastId:L,updateId:H,data:Se,closeToast:bt,isIn:!1,className:ml(b.className||f.toastClassName),bodyClassName:ml(b.bodyClassName||f.bodyClassName),progressClassName:ml(b.progressClassName||f.progressClassName),autoClose:!b.isLoading&&(T=b.autoClose,M=f.autoClose,T===!1||pi(T)&&T>0?T:M),deleteToast(){const U=p.get(L),{onClose:ae,children:ne}=U.props;Ae(ae)&&ae(_.isValidElement(ne)&&ne.props),y(yd(U,"removed")),p.delete(L),v--,v<0&&(v=0),g.length>0?P(g.shift()):S()}};var T,M;Me.closeButton=f.closeButton,b.closeButton===!1||ja(b.closeButton)?Me.closeButton=b.closeButton:b.closeButton===!0&&(Me.closeButton=!ja(f.closeButton)||f.closeButton);let F=k;_.isValidElement(k)&&!En(k.type)?F=_.cloneElement(k,{closeToast:bt,toastProps:Me,data:Se}):Ae(k)&&(F=k({closeToast:bt,toastProps:Me,data:Se}));const B={content:F,props:Me,staleId:Qe};f.limit&&f.limit>0&&v>f.limit&&Lt?g.push(B):pi(tt)?setTimeout(()=>{P(B)},tt):P(B)},setProps(k){f=k},setToggle:(k,b)=>{p.get(k).toggle=b},isToastActive:k=>w.some(b=>b===k),getSnapshot:()=>f.newestOnTop?h.reverse():h}}(s,l,kx);we.set(s,c);const u=c.observe(a);return hi.forEach(d=>zp(d.content,d.options)),hi=[],()=>{u(),we.delete(s)}},setProps(a){var c;(c=we.get(s))==null||c.setProps(a)},getSnapshot(){var a;return(a=we.get(s))==null?void 0:a.getSnapshot()}}}(e)).current;r(e);const i=_.useSyncExternalStore(t,n,n);return{getToastToRender:function(l){if(!i)return[];const s=new Map;return i.forEach(a=>{const{position:c}=a.props;s.has(c)||s.set(c,[]),s.get(c).push(a)}),Array.from(s,a=>l(a[0],a[1]))},isToastActive:Ip,count:i==null?void 0:i.length}}function Cx(e){const[t,n]=_.useState(!1),[r,i]=_.useState(!1),l=_.useRef(null),s=_.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:a,pauseOnHover:c,closeToast:u,onClick:d,closeOnClick:m}=e;var y,j;function v(){n(!0)}function g(){n(!1)}function w(p){const x=l.current;s.canDrag&&x&&(s.didMove=!0,t&&g(),s.delta=e.draggableDirection==="x"?p.clientX-s.start:p.clientY-s.start,s.start!==p.clientX&&(s.canCloseOnClick=!1),x.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,x.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function h(){document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",h);const p=l.current;if(s.canDrag&&s.didMove&&p){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return i(!0),e.closeToast(),void e.collapseAll();p.style.transition="transform 0.2s, opacity 0.2s",p.style.removeProperty("transform"),p.style.removeProperty("opacity")}}(j=we.get((y={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||j.setToggle(y.id,y.fn),_.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",v),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",v),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);const f={onPointerDown:function(p){if(e.draggable===!0||e.draggable===p.pointerType){s.didMove=!1,document.addEventListener("pointermove",w),document.addEventListener("pointerup",h);const x=l.current;s.canCloseOnClick=!0,s.canDrag=!0,x.style.transition="none",e.draggableDirection==="x"?(s.start=p.clientX,s.removalDistance=x.offsetWidth*(e.draggablePercent/100)):(s.start=p.clientY,s.removalDistance=x.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(p){const{top:x,bottom:S,left:C,right:P}=l.current.getBoundingClientRect();p.nativeEvent.type!=="touchend"&&e.pauseOnHover&&p.clientX>=C&&p.clientX<=P&&p.clientY>=x&&p.clientY<=S?g():v()}};return a&&c&&(f.onMouseEnter=g,e.stacked||(f.onMouseLeave=v)),m&&(f.onClick=p=>{d&&d(p),s.canCloseOnClick&&u()}),{playToast:v,pauseToast:g,isRunning:t,preventExitTransition:r,toastRef:l,eventHandlers:f}}function Px(e){let{delay:t,isRunning:n,closeToast:r,type:i="default",hide:l,className:s,style:a,controlledProgress:c,progress:u,rtl:d,isIn:m,theme:y}=e;const j=l||c&&u===0,v={...a,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};c&&(v.transform=`scaleX(${u})`);const g=qt("Toastify__progress-bar",c?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${y}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":d}),w=Ae(s)?s({rtl:d,type:i,defaultClassName:g}):qt(g,s),h={[c&&u>=1?"onTransitionEnd":"onAnimationEnd"]:c&&u<1?null:()=>{m&&r()}};return N.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":j},N.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${y} Toastify__progress-bar--${i}`}),N.createElement("div",{role:"progressbar","aria-hidden":j?"true":"false","aria-label":"notification timer",className:w,style:v,...h}))}let Ox=1;const Ap=()=>""+Ox++;function Tx(e){return e&&(En(e.toastId)||pi(e.toastId))?e.toastId:Ap()}function Vr(e,t){return zp(e,t),t.toastId}function Xl(e,t){return{...t,type:t&&t.type||e,toastId:Tx(t)}}function Vi(e){return(t,n)=>Vr(t,Xl(e,n))}function z(e,t){return Vr(e,Xl("default",t))}z.loading=(e,t)=>Vr(e,Xl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),z.promise=function(e,t,n){let r,{pending:i,error:l,success:s}=t;i&&(r=En(i)?z.loading(i,n):z.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},c=(d,m,y)=>{if(m==null)return void z.dismiss(r);const j={type:d,...a,...n,data:y},v=En(m)?{render:m}:m;return r?z.update(r,{...j,...v}):z(v.render,{...j,...v}),y},u=Ae(e)?e():e;return u.then(d=>c("success",s,d)).catch(d=>c("error",l,d)),u},z.success=Vi("success"),z.info=Vi("info"),z.error=Vi("error"),z.warning=Vi("warning"),z.warn=z.warning,z.dark=(e,t)=>Vr(e,Xl("default",{theme:"dark",...t})),z.dismiss=function(e){(function(t){var n;if(Fp()){if(t==null||En(n=t)||pi(n))we.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=we.get(t.containerId);r?r.removeToast(t.id):we.forEach(i=>{i.removeToast(t.id)})}}else hi=hi.filter(r=>t!=null&&r.options.toastId!==t)})(e)},z.clearWaitingQueue=function(e){e===void 0&&(e={}),we.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},z.isActive=Ip,z.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:s}=i;return(l=we.get(s||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:Ap()};l.toastId!==e&&(l.staleId=e);const s=l.render||i;delete l.render,Vr(s,l)}},z.done=e=>{z.update(e,{progress:1})},z.onChange=function(e){return Na.add(e),()=>{Na.delete(e)}},z.play=e=>vd(!0,e),z.pause=e=>vd(!1,e);const Rx=typeof window<"u"?_.useLayoutEffect:_.useEffect,qi=e=>{let{theme:t,type:n,isLoading:r,...i}=e;return N.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...i})},uo={info:function(e){return N.createElement(qi,{...e},N.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return N.createElement(qi,{...e},N.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return N.createElement(qi,{...e},N.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return N.createElement(qi,{...e},N.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return N.createElement("div",{className:"Toastify__spinner"})}},bx=e=>{const{isRunning:t,preventExitTransition:n,toastRef:r,eventHandlers:i,playToast:l}=Cx(e),{closeButton:s,children:a,autoClose:c,onClick:u,type:d,hideProgressBar:m,closeToast:y,transition:j,position:v,className:g,style:w,bodyClassName:h,bodyStyle:f,progressClassName:p,progressStyle:x,updateId:S,role:C,progress:P,rtl:k,toastId:b,deleteToast:L,isIn:H,isLoading:Se,closeOnClick:Qe,theme:tt}=e,bt=qt("Toastify__toast",`Toastify__toast-theme--${tt}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":k},{"Toastify__toast--close-on-click":Qe}),Lt=Ae(g)?g({rtl:k,position:v,type:d,defaultClassName:bt}):qt(bt,g),Me=function(B){let{theme:U,type:ae,isLoading:ne,icon:ke}=B,ve=null;const ft={theme:U,type:ae};return ke===!1||(Ae(ke)?ve=ke({...ft,isLoading:ne}):_.isValidElement(ke)?ve=_.cloneElement(ke,ft):ne?ve=uo.spinner():(Wp=>Wp in uo)(ae)&&(ve=uo[ae](ft))),ve}(e),T=!!P||!c,M={closeToast:y,type:d,theme:tt};let F=null;return s===!1||(F=Ae(s)?s(M):_.isValidElement(s)?_.cloneElement(s,M):function(B){let{closeToast:U,theme:ae,ariaLabel:ne="close"}=B;return N.createElement("button",{className:`Toastify__close-button Toastify__close-button--${ae}`,type:"button",onClick:ke=>{ke.stopPropagation(),U(ke)},"aria-label":ne},N.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},N.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(M)),N.createElement(j,{isIn:H,done:L,position:v,preventExitTransition:n,nodeRef:r,playToast:l},N.createElement("div",{id:b,onClick:u,"data-in":H,className:Lt,...i,style:w,ref:r},N.createElement("div",{...H&&{role:C},className:Ae(h)?h({type:d}):qt("Toastify__toast-body",h),style:f},Me!=null&&N.createElement("div",{className:qt("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Se})},Me),N.createElement("div",null,a)),F,N.createElement(Px,{...S&&!T?{key:`pb-${S}`}:{},rtl:k,theme:tt,delay:c,isRunning:t,isIn:H,closeToast:y,hide:m,type:d,style:x,className:p,controlledProgress:T,progress:P||0})))},ks=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},Lx=Ss(ks("bounce",!0));Ss(ks("slide",!0));Ss(ks("zoom"));Ss(ks("flip"));const Mx={position:"top-right",transition:Lx,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Fx(e){let t={...Mx,...e};const n=e.stacked,[r,i]=_.useState(!0),l=_.useRef(null),{getToastToRender:s,isToastActive:a,count:c}=_x(t),{className:u,style:d,rtl:m,containerId:y}=t;function j(g){const w=qt("Toastify__toast-container",`Toastify__toast-container--${g}`,{"Toastify__toast-container--rtl":m});return Ae(u)?u({position:g,rtl:m,defaultClassName:w}):qt(w,ml(u))}function v(){n&&(i(!0),z.play())}return Rx(()=>{if(n){var g;const w=l.current.querySelectorAll('[data-in="true"]'),h=12,f=(g=t.position)==null?void 0:g.includes("top");let p=0,x=0;Array.from(w).reverse().forEach((S,C)=>{const P=S;P.classList.add("Toastify__toast--stacked"),C>0&&(P.dataset.collapsed=`${r}`),P.dataset.pos||(P.dataset.pos=f?"top":"bot");const k=p*(r?.2:1)+(r?0:h*C);P.style.setProperty("--y",`${f?k:-1*k}px`),P.style.setProperty("--g",`${h}`),P.style.setProperty("--s",""+(1-(r?x:0))),p+=P.offsetHeight,x+=.025})}},[r,c,n]),N.createElement("div",{ref:l,className:"Toastify",id:y,onMouseEnter:()=>{n&&(i(!1),z.pause())},onMouseLeave:v},s((g,w)=>{const h=w.length?{...d}:{...d,pointerEvents:"none"};return N.createElement("div",{className:j(g),style:h,key:`container-${g}`},w.map(f=>{let{content:p,props:x}=f;return N.createElement(bx,{...x,stacked:n,collapseAll:v,isIn:a(x.toastId,x.containerId),style:x.style,key:`toast-${x.key}`},p)}))}))}const et=()=>{const e=new Date().getFullYear();return o.jsx(o.Fragment,{children:o.jsxs("div",{children:[o.jsx("div",{className:"footer_section layout_padding",children:o.jsxs("div",{className:"container",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12"})}),o.jsx("div",{className:"footer_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),o.jsx("div",{className:"footer_menu",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx(re,{to:"/",className:"link-primary text-decoration-none",children:"Home"})}),o.jsx("li",{children:o.jsx(re,{to:"/about",className:"link-primary text-decoration-none",children:"About"})}),o.jsx("li",{children:o.jsx(re,{to:"/services",className:"link-primary text-decoration-none",children:"Services"})}),o.jsx("li",{children:o.jsx(re,{to:"/contact",className:"link-primary text-decoration-none",children:"Contact Us"})})]})})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),o.jsx("p",{className:"lorem_text",children:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem"})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),o.jsxs("div",{className:"form-group",children:[o.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),o.jsx("div",{className:"subscribe_bt",children:o.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),o.jsx("div",{className:"social_icon",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),o.jsx("div",{className:"copyright_section",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},Ix="/assets/logo-Cb1x1exd.png",qe=()=>{var i,l;const{user:e}=xt(s=>({...s.auth})),t=Mn(),n=_i(),r=()=>{t(y1()),n("/")};return o.jsx(o.Fragment,{children:o.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:o.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[o.jsxs("div",{className:"d-flex align-items-center",children:[o.jsx("img",{src:Ix,alt:"logo",width:"75",height:"75",className:"img-fluid"}),o.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),o.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[o.jsxs("ul",{className:"navbar-nav ml-auto",children:[o.jsx("li",{className:"nav-item active",children:o.jsx(re,{to:"/",className:"nav-link",children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(re,{to:"/services",className:"nav-link",children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(re,{to:"/searchmyproperties",className:"nav-link",children:"Search"})}),o.jsx("li",{className:"nav-item",children:o.jsx(re,{to:"/about",className:"nav-link",children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(re,{to:"/contact",className:"nav-link",children:"Contact"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(re,{to:"/dashboard",children:"Dashboard"}):o.jsx(re,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(re,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):o.jsx(re,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},zx=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{children:[o.jsx("div",{className:"header_section",children:o.jsx("div",{className:"banner_section layout_padding",children:o.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),o.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),o.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),o.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),o.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:o.jsx("i",{className:"fa fa-angle-left"})}),o.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:o.jsx("i",{className:"fa fa-angle-right"})})]})})}),o.jsx("div",{className:"services_section layout_padding",children:o.jsxs("div",{className:"container-fluid",children:[o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-sm-12",children:[o.jsx("h1",{className:"services_taital",children:"Our Services"}),o.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),o.jsx("div",{className:"services_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main active",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-1.png"})}),o.jsx("h4",{className:"development_text",children:"Dedication Services"}),o.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"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-2.png"})}),o.jsx("h4",{className:"development_text",children:"Building work Reports"}),o.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-3.png"})}),o.jsx("h4",{className:"development_text",children:"Reporting continuously"}),o.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-4.png"})}),o.jsx("h4",{className:"development_text",children:"Manage your investment "}),o.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"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),o.jsxs("div",{className:"projects_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-md-12",children:[o.jsx("h1",{className:"projects_taital",children:"Projects"}),o.jsx("div",{className:"nav-tabs-navigation",children:o.jsx("div",{className:"nav-tabs-wrapper",children:o.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),o.jsx("div",{className:"projects_section_2 layout_padding",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"pets_section",children:o.jsx("div",{className:"pets_section_2",children:o.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.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"})]})]})]})})]})})})})})})]})]}),o.jsx(et,{})]}),Ax=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsxs("div",{className:"about_section layout_padding",children:[o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("h1",{className:"about_taital",children:"About Us"}),o.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"," "]}),o.jsx("div",{className:"read_bt_1",children:o.jsx("a",{href:"#",children:"Read More"})})]}),o.jsx("div",{className:"col-md-6",children:o.jsx("div",{className:"about_img",children:o.jsx("div",{className:"video_bt",children:o.jsx("div",{className:"play_icon",children:o.jsx("img",{src:"images/play-icon.png"})})})})})]})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{})]}),o.jsx(et,{})]}),Dx=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-6",children:o.jsx("form",{action:!0,children:o.jsxs("div",{className:"mail_section_1",children:[o.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),o.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),o.jsx("div",{className:"send_bt",children:o.jsx("a",{href:"#",children:"SEND"})})]})})}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img",children:o.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),o.jsx(et,{})]});var jt=function(){return jt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=_.useState(uw),[n,r]=_.useState(!1),{loading:i,error:l}=xt(S=>({...S.auth})),{title:s,email:a,password:c,firstName:u,middleName:d,lastName:m,confirmPassword:y,termsconditions:j,userType:v}=e,g=Mn(),w=_i();_.useEffect(()=>{l&&z.error(l)},[l]),_.useEffect(()=>{r(s!=="None"&&a&&c&&u&&d&&m&&y&&j&&v!=="")},[s,a,c,u,d,m,y,j,v]);const h=S=>{if(S.preventDefault(),c!==y)return z.error("Password should match");n?g(al({formValue:e,navigate:w,toast:z})):z.error("Please fill in all fields and select all checkboxes")},f=S=>S.charAt(0).toUpperCase()+S.slice(1),p=S=>{const{name:C,value:P,type:k,checked:b}=S.target;t(k==="checkbox"?L=>({...L,[C]:b}):L=>({...L,[C]:C==="email"||C==="password"||C==="confirmPassword"?P:f(P)}))},x=S=>{t(C=>({...C,userType:S.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Registration"}),o.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),o.jsx("hr",{})]})})}),o.jsx("form",{onSubmit:h,children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsxs("label",{className:"form-label",children:["Please select the role. ",o.jsx("br",{}),o.jsx("br",{})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:v==="Lender",onChange:x,required:!0}),o.jsx("label",{className:"form-check-label",children:"Lender"})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:v==="Borrower",onChange:x,required:!0}),o.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),o.jsx("br",{}),o.jsx("br",{})]})]})}),o.jsxs("div",{className:"col-12",children:[o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s,onChange:p,children:[o.jsx("option",{value:"None",children:"Please Select Title"}),o.jsx("option",{value:"Dr",children:"Dr"}),o.jsx("option",{value:"Prof",children:"Prof"}),o.jsx("option",{value:"Mr",children:"Mr"}),o.jsx("option",{value:"Miss",children:"Miss"})]}),o.jsx("br",{})]}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:u,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),o.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),o.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:m,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),o.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:a,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:c,name:"password",onChange:p,placeholder:"Password",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:y,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:j,name:"termsconditions",checked:j,onChange:p,required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&o.jsx(Dp.Bars,{}),"Sign up"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(et,{})]})},fw={email:"",password:""},mw=()=>{const[e,t]=_.useState(fw),{loading:n,error:r}=xt(d=>({...d.auth})),{email:i,password:l}=e,s=Mn(),a=_i();_.useEffect(()=>{r&&z.error(r)},[r]);const c=d=>{d.preventDefault(),i&&l&&s(ol({formValue:e,navigate:a,toast:z}))},u=d=>{let{name:m,value:y}=d.target;t({...e,[m]:y})};return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),o.jsx("div",{className:"text-endx",children:o.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:o.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"})})})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"mb-4",children:o.jsx("h2",{className:"h3",children:"Please Login"})})})}),o.jsx("form",{method:"POST",children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:u,required:!0}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:u,required:!0}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&o.jsx(Dp.Bars,{}),"Sign In"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",o.jsx(re,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(re,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(et,{})]})},pw="/assets/samplepic-BM_cnzgz.jpg",hw=()=>{const[e,t]=_.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("shipping")},r=()=>{e==="shipping"&&t("propertydetails")},i=Mn(),{status:l,error:s}=xt(v=>v.property),{user:a}=xt(v=>({...v.auth})),[c,u]=_.useState({propertyType:"",title:"",yearBuild:"",totalSqft:""}),[d,m]=_.useState(!1),y=v=>{u({...c,[v.target.name]:v.target.value})},j=()=>{var v,g,w,h,f,p;if(c.propertyType&&c.title&&c.yearBuild&&c.totalSqft){const x={...c,userfirstname:(v=a==null?void 0:a.result)==null?void 0:v.firstName,usermiddlename:(g=a==null?void 0:a.result)==null?void 0:g.middleName,userlastname:(w=a==null?void 0:a.result)==null?void 0:w.lastName,usertitle:(h=a==null?void 0:a.result)==null?void 0:h.title,useremail:(f=a==null?void 0:a.result)==null?void 0:f.email,userId:(p=a==null?void 0:a.result)==null?void 0:p.userId};i(ul(x)),m(!0)}else z.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};return _.useEffect(()=>{d&&(l==="succeeded"?(z.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),m(!1)):l==="failed"&&(z.error(`Failed to submit: ${s}`,{position:"top-right",autoClose:3e3}),m(!1)))},[l,s,d]),o.jsx(o.Fragment,{children:o.jsxs("div",{className:"container tabs-wrap",children:[o.jsx(qe,{}),o.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[o.jsx("li",{role:"presentation",className:e==="propertydetails"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("propertydetails"),role:"tab",children:"Property Details"})}),o.jsx("li",{role:"presentation",className:e==="shipping"?"active tab":"tab",children:o.jsx("a",{onClick:()=>t("shipping"),role:"tab",children:"Delivery Address"})})]}),o.jsxs("div",{className:"tab-content",children:[e==="propertydetails"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Property Details"}),o.jsx("form",{children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:c.propertyType,onChange:y,required:!0,children:[o.jsx("option",{value:"",children:"Please Select Property Type"}),o.jsx("option",{value:"Residential",children:"Residential"}),o.jsx("option",{value:"Land",children:"Land"}),o.jsx("option",{value:"Commercial",children:"Commercial"}),o.jsx("option",{value:"Industrial",children:"Industrial"}),o.jsx("option",{value:"Water",children:"Water"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"title",value:c.title,onChange:y,placeholder:"Property title",required:!0}),o.jsx("label",{htmlFor:"title",className:"form-label",children:"Property Title"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:c.yearBuild,onChange:y,placeholder:"Year build",required:!0}),o.jsx("label",{htmlFor:"yearBuild",className:"form-label",children:"Year Build"})]})})]})}),o.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="shipping"&&o.jsxs("div",{role:"tabpanel",className:"tab-pane active",children:[o.jsx("h3",{children:"Shipping Address"}),o.jsx("form",{children:o.jsx("div",{className:"row gy-3 overflow-hidden",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:c.totalSqft,onChange:y,placeholder:"Total SQFT",required:!0}),o.jsx("label",{htmlFor:"totalSqft",className:"form-label",children:"Total SQFT"})]})})})}),o.jsx("button",{className:"btn btn-primary back",onClick:r,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",o.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:j,children:"Submit"})]})]})]})})},yw=()=>{var r;const e=Mn(),{user:t}=xt(i=>({...i.auth})),{userProperties:n}=xt(i=>i.property);return _.useEffect(()=>{var i;e(dl((i=t==null?void 0:t.result)==null?void 0:i.userId))},[e,(r=t==null?void 0:t.result)==null?void 0:r.userId]),o.jsx(o.Fragment,{children:n.length>0?o.jsx("ul",{children:n.map(i=>o.jsx("li",{children:o.jsxs(re,{to:`/property/${i.propertyId}`,target:"_blank",children:[i.title,"....."]})},i._id))}):o.jsx("p",{children:"No active properties found."})})},vw=()=>{const{user:e}=xt(i=>({...i.auth})),[t,n]=_.useState("dashboard"),r=()=>{switch(t){case"addProperty":return o.jsx(hw,{});case"activeProperties":return o.jsxs("div",{children:[o.jsx("h3",{children:"Active Properties"}),o.jsx(yw,{})]});case"closedProperties":return o.jsx("p",{children:"These are your closed properties."});default:return o.jsxs("div",{className:"d-flex justify-content-center mt-7 gap-2 p-3",children:[o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/NI5b1NX.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})}),o.jsx("div",{className:"col-md-6",children:o.jsxs("div",{className:"card cardchildchild p-2",children:[o.jsx("div",{className:"profile1",children:o.jsx("img",{src:"https://i.imgur.com/YyoCGsa.jpg",height:90,width:90,className:"rounded-circle"})}),o.jsxs("div",{className:"d-flex flex-column justify-content-center align-items-center mt-5",children:[o.jsx("span",{className:"name",children:"Bess Wills"}),o.jsx("span",{className:"mt-1 braceletid",children:"Bracelet ID: SFG 38393"}),o.jsx("span",{className:"dummytext mt-3 p-3",children:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Text elit more smtit. Kimto lee."})]})]})})]})}};return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("div",{className:"d-flex flex-row",children:[o.jsx("div",{className:"col-md-3",children:o.jsxs("div",{className:"card card1 p-5",children:[o.jsx("img",{className:"img-fluid",src:pw,alt:"ProfileImage",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}}),o.jsx("hr",{className:"hline"}),o.jsxs("div",{className:"d-flex flex-column align-items-center",children:[o.jsxs("button",{className:`btn ${t==="dashboard"?"active":""}`,onClick:()=>n("dashboard"),children:[o.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),o.jsx("span",{children:"Dashboard"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="addProperty"?"active":""}`,onClick:()=>n("addProperty"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Add Property"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="activeProperties"?"active":""}`,onClick:()=>n("activeProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Active Properties"})]}),o.jsxs("button",{className:`btn mt-3 ${t==="closedProperties"?"active":""}`,onClick:()=>n("closedProperties"),children:[o.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),o.jsx("span",{children:"Closed Properties"})]})]})]})}),o.jsx("div",{className:"col-md-9",children:o.jsxs("div",{className:"card card2 p-0",children:[o.jsxs("div",{className:"hello d-flex justify-content-end align-items-center mt-3",children:[o.jsxs("span",{children:["Welcome to"," ",o.jsxs("span",{style:{color:"#067ADC"},children:[e.result.title,". ",e.result.firstName," ",e.result.middleName," ",e.result.lastName]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})]}),o.jsx("div",{className:"tab-content p-3",children:r()})]})})]}),o.jsx(et,{})]})};var Bp={exports:{}},gw="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",xw=gw,ww=xw;function Up(){}function $p(){}$p.resetWarningCache=Up;var jw=function(){function e(r,i,l,s,a,c){if(c!==ww){var u=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 u.name="Invariant Violation",u}}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:$p,resetWarningCache:Up};return n.PropTypes=n,n};Bp.exports=jw();var Nw=Bp.exports;const Ew=xd(Nw),Sw=()=>{const[e,t]=_.useState(3),n=_i();return _.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),o.jsx("div",{style:{marginTop:"100px"},children:o.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},Ea=({children:e})=>{const{user:t}=xt(n=>({...n.auth}));return t?e:o.jsx(Sw,{})};Ea.propTypes={children:Ew.node.isRequired};const kw=()=>{const e=Mn(),{id:t,token:n}=Pc();return _.useEffect(()=>{e(cl({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("h1",{className:"card-title text-center",children:o.jsxs(re,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",o.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img"})})]})})})]}),o.jsx(et,{})]})},_w=()=>{const[e,t]=_.useState(""),[n,r]=_.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const s=await G.post(`${i}/users/forgotpassword`,{email:e});r(s.data.message)}catch(s){console.error("Forgot Password Error:",s),r(s.response.data.message)}};return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Forgot Password"}),o.jsx("hr",{})]})})}),o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:e,onChange:s=>t(s.target.value),placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),o.jsxs("div",{className:"col-12",children:[o.jsx("div",{className:"d-grid",children:o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:l,children:"Reset Password"})}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx(re,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})}),o.jsx(et,{})]})]})},Cw=()=>{const{userId:e,token:t}=Pc(),[n,r]=_.useState(""),[i,l]=_.useState(""),[s,a]=_.useState(""),c="http://67.225.129.127:3002",u=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),z.error("Password not entered");return}const d=await G.post(`${c}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){a("Passwords do not match."),z.error("Passwords do not match.");return}else a("Password reset successfull"),z.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return _.useEffect(()=>{z.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card mb-0 vh-100",children:o.jsx("div",{className:"container py-10 h-100",children:o.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:o.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[o.jsx("br",{}),o.jsxs("h2",{children:["Reset Password",o.jsx("hr",{}),o.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),o.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>r(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),o.jsx("br",{}),o.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>l(d.target.value),placeholder:"Confirm your new password"}),o.jsx("br",{}),o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:s})]})})})}),o.jsx(et,{})]})},Pw=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{className:"col-md-18",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("h1",{className:"card-title text-center",children:[" ","Thank you for joining the world's most trusted realtor investment and borrowers portal."]}),o.jsxs("h2",{children:["We reqest you to kindly ",o.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"check your email inbox "})," and click on the ",o.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"verification link "}),"to access the dashboard."]})]}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx(et,{})]}),gd=()=>{const{id:e}=Pc(),t=Mn(),{selectedProperty:n,status:r,error:i}=xt(l=>l.property);return _.useEffect(()=>{e&&t(fl(e))},[e,t]),r==="loading"?o.jsx("p",{children:"Loading property details..."}):r==="failed"?o.jsxs("p",{children:["Error loading property: ",i]}):o.jsx(o.Fragment,{children:o.jsx("div",{className:"container property-view",children:n?o.jsxs("div",{className:"property-details",children:[o.jsx("h1",{children:n.title}),o.jsxs("p",{children:["Email: ",n.useremail]})]}):o.jsx("p",{children:"Property not found."})})})},Ow=()=>{const[e,t]=_.useState([]),[n,r]=_.useState(0),[i,l]=_.useState(0),[s]=_.useState(10),[a,c]=_.useState(""),[u,d]=_.useState(!1),m=async()=>{d(!0);try{const f=await G.get("http://67.225.129.127:3002/mysql/searchmysql",{params:{limit:s,offset:i*s,search:a},headers:{"Cache-Control":"no-cache"}});t(f.data.data),r(f.data.totalRecords)}catch(f){console.log("Error fetching data:",f)}finally{d(!1)}},y=(f,p)=>{let x;return(...S)=>{clearTimeout(x),x=setTimeout(()=>f(...S),p)}},j=_.useCallback(y(()=>{a.trim(),m()},3e3),[a,i]),v=f=>{c(f.target.value),f.target.value.trim()===""&&(l(0),m())},g=f=>{f.key==="Enter"&&(f.preventDefault(),a.trim()&&j())},w=()=>{a.trim()!==""&&j()};_.useEffect(()=>{a.trim()===""&&m()},[i]);const h=Math.ceil(n/s);return o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{className:"container col-12",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-lg-12 card-margin col-12",children:o.jsx("div",{className:"card search-form col-12",children:o.jsx("div",{className:"card-body p-0",children:o.jsx("form",{id:"search-form",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"row no-gutters",children:[o.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:o.jsx("input",{type:"text",placeholder:"Enter the keyword and hit ENTER button...",className:"form-control",id:"search",name:"search",value:a,onChange:v,onKeyDown:g,onBlur:w})}),o.jsx("div",{className:"col-lg-1 col-md-3 col-sm-12 p-0"})]})})})})})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"card card-margin",children:o.jsx("div",{className:"card-body",children:u?o.jsx("div",{className:"loader",style:{color:"#fda417"},children:o.jsx("span",{style:{color:"#fda417",fontSize:"25px"},children:"Loading..."})}):o.jsx("div",{className:"row search-body",children:o.jsx("div",{className:"col-lg-12",children:o.jsxs("div",{className:"search-result col-12",children:[o.jsx("div",{className:"result-header",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-lg-6",children:o.jsx("div",{className:"records",children:o.jsxs("div",{children:[o.jsx("button",{onClick:()=>l(i-1),disabled:i===0,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Previous"}),o.jsxs("span",{children:[" ","Page ",i+1," of ",h," "]}),o.jsx("button",{onClick:()=>l(i+1),disabled:i+1>=h,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})})})})}),o.jsx("div",{className:"result-body",children:o.jsx("div",{className:"table-responsive",children:o.jsxs("table",{className:"table widget-26",children:[o.jsx("thead",{style:{color:"#fda417",fontSize:"15px"},children:o.jsxs("tr",{children:[o.jsx("th",{children:"Details"}),o.jsx("th",{children:"Total Living Square Foot"}),o.jsx("th",{children:"Year Built"}),o.jsx("th",{children:"Cost per Square Foot"})]})}),o.jsx("tbody",{children:e.length>0?e.map((f,p)=>o.jsxs("tr",{children:[o.jsx("td",{children:o.jsxs("div",{className:"widget-26-job-title",children:[o.jsx(re,{to:`/properties/${f.house_id}`,className:"link-primary text-decoration-none",children:f.address}),o.jsxs("p",{className:"m-0",children:[o.jsxs("span",{className:"employer-name",children:[o.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),f.city,", ",f.county,",",f.state]})," ",o.jsxs("p",{className:"text-muted m-0",children:["House Id: ",f.house_id]})]})]})}),o.jsx("td",{children:o.jsx("div",{className:"widget-26-job-info",children:o.jsx("p",{className:"m-0",children:f.total_living_sqft})})}),o.jsx("td",{children:o.jsx("div",{className:"widget-26-job-info",children:o.jsx("p",{className:"m-0",children:f.year_built})})}),o.jsx("td",{children:o.jsxs("div",{className:"widget-26-job-salary",children:["$ ",f.cost_per_sqft,"/sqft"]})})]},p)):o.jsx("tr",{children:o.jsx("td",{colSpan:"4",children:"No results found"})})})]})})}),o.jsxs("div",{children:[o.jsx("button",{onClick:()=>l(i-1),disabled:i===0,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Previous"}),o.jsxs("span",{children:[" ","Page ",i+1," of ",h," "]}),o.jsx("button",{onClick:()=>l(i+1),disabled:i+1>=h,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})]})})})})})})})]}),o.jsx(et,{})]})},Tw=()=>o.jsxs(o.Fragment,{children:[o.jsx(qe,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),"This page will show the list of services offered by the company",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx(et,{})]}),Rw=()=>o.jsxs(vx,{children:[o.jsx(Fx,{}),o.jsxs(cx,{children:[o.jsx(ge,{path:"/",element:o.jsx(zx,{})}),o.jsx(ge,{path:"/about",element:o.jsx(Ax,{})}),o.jsx(ge,{path:"/services",element:o.jsx(Tw,{})}),o.jsx(ge,{path:"/contact",element:o.jsx(Dx,{})}),o.jsx(ge,{path:"/register",element:o.jsx(dw,{})}),o.jsx(ge,{path:"/registrationsuccess",element:o.jsx(Ea,{children:o.jsx(Pw,{})})}),o.jsx(ge,{path:"/login",element:o.jsx(mw,{})}),o.jsx(ge,{path:"/dashboard",element:o.jsx(Ea,{children:o.jsx(vw,{})})}),o.jsx(ge,{path:"/users/:id/verify/:token",element:o.jsx(kw,{})}),o.jsx(ge,{path:"/forgotpassword",element:o.jsx(_w,{})}),o.jsx(ge,{path:"/users/resetpassword/:userId/:token",element:o.jsx(Cw,{})}),o.jsx(ge,{path:"/property/:id",element:o.jsx(gd,{})}),o.jsx(ge,{path:"/properties/:id",element:o.jsx(gd,{})}),o.jsx(ge,{path:"/searchmyproperties",element:o.jsx(Ow,{})})]})]});Lm(document.getElementById("root")).render(o.jsx(_.StrictMode,{children:o.jsx(Dv,{store:N1,children:o.jsx(Rw,{})})})); diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index 206c409..c2a419b 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -42,7 +42,7 @@ - + diff --git a/ef-ui/src/components/SearchMysql.jsx b/ef-ui/src/components/SearchMysql.jsx index cbf2a0d..bcb0554 100644 --- a/ef-ui/src/components/SearchMysql.jsx +++ b/ef-ui/src/components/SearchMysql.jsx @@ -107,7 +107,7 @@ const SearchMysql = () => {
{
{/* Add table headers */} - + diff --git a/ef-ui/src/searchmysqlresults.css b/ef-ui/src/searchmysqlresults.css index 384a749..5611085 100644 --- a/ef-ui/src/searchmysqlresults.css +++ b/ef-ui/src/searchmysqlresults.css @@ -281,4 +281,3 @@ body{ } -
Details Total Living Square Foot