90 lines
542 KiB
JavaScript
90 lines
542 KiB
JavaScript
var Tg=Object.defineProperty;var Rg=(e,t,n)=>t in e?Tg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var pl=(e,t,n)=>Rg(e,typeof t!="symbol"?t+"":t,n);function Ag(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const s in o)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(o,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>o[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var Ig=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pp={exports:{}},xa={},_p={exports:{}},ue={};/**
|
|
* @license React
|
|
* react.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var ws=Symbol.for("react.element"),Dg=Symbol.for("react.portal"),Fg=Symbol.for("react.fragment"),Mg=Symbol.for("react.strict_mode"),Lg=Symbol.for("react.profiler"),Bg=Symbol.for("react.provider"),zg=Symbol.for("react.context"),$g=Symbol.for("react.forward_ref"),Wg=Symbol.for("react.suspense"),Ug=Symbol.for("react.memo"),qg=Symbol.for("react.lazy"),_d=Symbol.iterator;function Vg(e){return e===null||typeof e!="object"?null:(e=_d&&e[_d]||e["@@iterator"],typeof e=="function"?e:null)}var Op={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Tp=Object.assign,Rp={};function co(e,t,n){this.props=e,this.context=t,this.refs=Rp,this.updater=n||Op}co.prototype.isReactComponent={};co.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};co.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ap(){}Ap.prototype=co.prototype;function gu(e,t,n){this.props=e,this.context=t,this.refs=Rp,this.updater=n||Op}var xu=gu.prototype=new Ap;xu.constructor=gu;Tp(xu,co.prototype);xu.isPureReactComponent=!0;var Od=Array.isArray,Ip=Object.prototype.hasOwnProperty,yu={current:null},Dp={key:!0,ref:!0,__self:!0,__source:!0};function Fp(e,t,n){var o,s={},i=null,a=null;if(t!=null)for(o in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Ip.call(t,o)&&!Dp.hasOwnProperty(o)&&(s[o]=t[o]);var l=arguments.length-2;if(l===1)s.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];s.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps,l)s[o]===void 0&&(s[o]=l[o]);return{$$typeof:ws,type:e,key:i,ref:a,props:s,_owner:yu.current}}function Hg(e,t){return{$$typeof:ws,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ju(e){return typeof e=="object"&&e!==null&&e.$$typeof===ws}function Kg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Td=/\/+/g;function ml(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Kg(""+e.key):t.toString(36)}function ai(e,t,n,o,s){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case ws:case Dg:a=!0}}if(a)return a=e,s=s(a),e=o===""?"."+ml(a,0):o,Od(s)?(n="",e!=null&&(n=e.replace(Td,"$&/")+"/"),ai(s,t,n,"",function(c){return c})):s!=null&&(ju(s)&&(s=Hg(s,n+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(Td,"$&/")+"/")+e)),t.push(s)),1;if(a=0,o=o===""?".":o+":",Od(e))for(var l=0;l<e.length;l++){i=e[l];var u=o+ml(i,l);a+=ai(i,t,n,u,s)}else if(u=Vg(e),typeof u=="function")for(e=u.call(e),l=0;!(i=e.next()).done;)i=i.value,u=o+ml(i,l++),a+=ai(i,t,n,u,s);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function Ls(e,t,n){if(e==null)return e;var o=[],s=0;return ai(e,o,"","",function(i){return t.call(n,i,s++)}),o}function Yg(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Xe={current:null},li={transition:null},Gg={ReactCurrentDispatcher:Xe,ReactCurrentBatchConfig:li,ReactCurrentOwner:yu};function Mp(){throw Error("act(...) is not supported in production builds of React.")}ue.Children={map:Ls,forEach:function(e,t,n){Ls(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ls(e,function(){t++}),t},toArray:function(e){return Ls(e,function(t){return t})||[]},only:function(e){if(!ju(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ue.Component=co;ue.Fragment=Fg;ue.Profiler=Lg;ue.PureComponent=gu;ue.StrictMode=Mg;ue.Suspense=Wg;ue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Gg;ue.act=Mp;ue.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=Tp({},e.props),s=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=yu.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)Ip.call(t,u)&&!Dp.hasOwnProperty(u)&&(o[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)o.children=n;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:ws,type:e.type,key:s,ref:i,props:o,_owner:a}};ue.createContext=function(e){return e={$$typeof:zg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Bg,_context:e},e.Consumer=e};ue.createElement=Fp;ue.createFactory=function(e){var t=Fp.bind(null,e);return t.type=e,t};ue.createRef=function(){return{current:null}};ue.forwardRef=function(e){return{$$typeof:$g,render:e}};ue.isValidElement=ju;ue.lazy=function(e){return{$$typeof:qg,_payload:{_status:-1,_result:e},_init:Yg}};ue.memo=function(e,t){return{$$typeof:Ug,type:e,compare:t===void 0?null:t}};ue.startTransition=function(e){var t=li.transition;li.transition={};try{e()}finally{li.transition=t}};ue.unstable_act=Mp;ue.useCallback=function(e,t){return Xe.current.useCallback(e,t)};ue.useContext=function(e){return Xe.current.useContext(e)};ue.useDebugValue=function(){};ue.useDeferredValue=function(e){return Xe.current.useDeferredValue(e)};ue.useEffect=function(e,t){return Xe.current.useEffect(e,t)};ue.useId=function(){return Xe.current.useId()};ue.useImperativeHandle=function(e,t,n){return Xe.current.useImperativeHandle(e,t,n)};ue.useInsertionEffect=function(e,t){return Xe.current.useInsertionEffect(e,t)};ue.useLayoutEffect=function(e,t){return Xe.current.useLayoutEffect(e,t)};ue.useMemo=function(e,t){return Xe.current.useMemo(e,t)};ue.useReducer=function(e,t,n){return Xe.current.useReducer(e,t,n)};ue.useRef=function(e){return Xe.current.useRef(e)};ue.useState=function(e){return Xe.current.useState(e)};ue.useSyncExternalStore=function(e,t,n){return Xe.current.useSyncExternalStore(e,t,n)};ue.useTransition=function(){return Xe.current.useTransition()};ue.version="18.3.1";_p.exports=ue;var S=_p.exports;const I=bs(S),tc=Ag({__proto__:null,default:I},[S]);/**
|
|
* @license React
|
|
* react-jsx-runtime.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var Qg=S,Xg=Symbol.for("react.element"),Jg=Symbol.for("react.fragment"),Zg=Object.prototype.hasOwnProperty,ex=Qg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,tx={key:!0,ref:!0,__self:!0,__source:!0};function Lp(e,t,n){var o,s={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(o in t)Zg.call(t,o)&&!tx.hasOwnProperty(o)&&(s[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps,t)s[o]===void 0&&(s[o]=t[o]);return{$$typeof:Xg,type:e,key:i,ref:a,props:s,_owner:ex.current}}xa.Fragment=Jg;xa.jsx=Lp;xa.jsxs=Lp;Pp.exports=xa;var r=Pp.exports,Bp={exports:{}},gt={},zp={exports:{}},$p={};/**
|
|
* @license React
|
|
* scheduler.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/(function(e){function t(R,A){var L=R.length;R.push(A);e:for(;0<L;){var F=L-1>>>1,W=R[F];if(0<s(W,A))R[F]=A,R[L]=W,L=F;else break e}}function n(R){return R.length===0?null:R[0]}function o(R){if(R.length===0)return null;var A=R[0],L=R.pop();if(L!==A){R[0]=L;e:for(var F=0,W=R.length,K=W>>>1;F<K;){var Y=2*(F+1)-1,ee=R[Y],re=Y+1,ne=R[re];if(0>s(ee,L))re<W&&0>s(ne,ee)?(R[F]=ne,R[re]=L,F=re):(R[F]=ee,R[Y]=L,F=Y);else if(re<W&&0>s(ne,L))R[F]=ne,R[re]=L,F=re;else break e}}return A}function s(R,A){var L=R.sortIndex-A.sortIndex;return L!==0?L:R.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var u=[],c=[],d=1,f=null,g=3,C=!1,x=!1,N=!1,b=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(R){for(var A=n(c);A!==null;){if(A.callback===null)o(c);else if(A.startTime<=R)o(c),A.sortIndex=A.expirationTime,t(u,A);else break;A=n(c)}}function y(R){if(N=!1,m(R),!x)if(n(u)!==null)x=!0,U(E);else{var A=n(c);A!==null&&G(y,A.startTime-R)}}function E(R,A){x=!1,N&&(N=!1,h(O),O=-1),C=!0;var L=g;try{for(m(A),f=n(u);f!==null&&(!(f.expirationTime>A)||R&&!H());){var F=f.callback;if(typeof F=="function"){f.callback=null,g=f.priorityLevel;var W=F(f.expirationTime<=A);A=e.unstable_now(),typeof W=="function"?f.callback=W:f===n(u)&&o(u),m(A)}else o(u);f=n(u)}if(f!==null)var K=!0;else{var Y=n(c);Y!==null&&G(y,Y.startTime-A),K=!1}return K}finally{f=null,g=L,C=!1}}var k=!1,T=null,O=-1,B=5,$=-1;function H(){return!(e.unstable_now()-$<B)}function te(){if(T!==null){var R=e.unstable_now();$=R;var A=!0;try{A=T(!0,R)}finally{A?Q():(k=!1,T=null)}}else k=!1}var Q;if(typeof v=="function")Q=function(){v(te)};else if(typeof MessageChannel<"u"){var Z=new MessageChannel,D=Z.port2;Z.port1.onmessage=te,Q=function(){D.postMessage(null)}}else Q=function(){b(te,0)};function U(R){T=R,k||(k=!0,Q())}function G(R,A){O=b(function(){R(e.unstable_now())},A)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){x||C||(x=!0,U(E))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return g},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(R){switch(g){case 1:case 2:case 3:var A=3;break;default:A=g}var L=g;g=A;try{return R()}finally{g=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,A){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var L=g;g=R;try{return A()}finally{g=L}},e.unstable_scheduleCallback=function(R,A,L){var F=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?F+L:F):L=F,R){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=L+W,R={id:d++,callback:A,priorityLevel:R,startTime:L,expirationTime:W,sortIndex:-1},L>F?(R.sortIndex=L,t(c,R),n(u)===null&&R===n(c)&&(N?(h(O),O=-1):N=!0,G(y,L-F))):(R.sortIndex=W,t(u,R),x||C||(x=!0,U(E))),R},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(R){var A=g;return function(){var L=g;g=A;try{return R.apply(this,arguments)}finally{g=L}}}})($p);zp.exports=$p;var nx=zp.exports;/**
|
|
* @license React
|
|
* react-dom.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var rx=S,mt=nx;function V(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Wp=new Set,Zo={};function br(e,t){eo(e,t),eo(e+"Capture",t)}function eo(e,t){for(Zo[e]=t,e=0;e<t.length;e++)Wp.add(t[e])}var an=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nc=Object.prototype.hasOwnProperty,ox=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Rd={},Ad={};function sx(e){return nc.call(Ad,e)?!0:nc.call(Rd,e)?!1:ox.test(e)?Ad[e]=!0:(Rd[e]=!0,!1)}function ix(e,t,n,o){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ax(e,t,n,o){if(t===null||typeof t>"u"||ix(e,t,n,o))return!0;if(o)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Je(e,t,n,o,s,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var $e={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$e[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$e[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$e[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$e[e]=new Je(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$e[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$e[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$e[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$e[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$e[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var Nu=/[\-:]([a-z])/g;function Cu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Nu,Cu);$e[t]=new Je(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Nu,Cu);$e[t]=new Je(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Nu,Cu);$e[t]=new Je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$e[e]=new Je(e,1,!1,e.toLowerCase(),null,!1,!1)});$e.xlinkHref=new Je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$e[e]=new Je(e,1,!1,e.toLowerCase(),null,!0,!0)});function bu(e,t,n,o){var s=$e.hasOwnProperty(t)?$e[t]:null;(s!==null?s.type!==0:o||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ax(t,n,s,o)&&(n=null),o||s===null?sx(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type===3?!1:"":n:(t=s.attributeName,o=s.attributeNamespace,n===null?e.removeAttribute(t):(s=s.type,n=s===3||s===4&&n===!0?"":""+n,o?e.setAttributeNS(o,t,n):e.setAttribute(t,n))))}var pn=rx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Bs=Symbol.for("react.element"),Or=Symbol.for("react.portal"),Tr=Symbol.for("react.fragment"),wu=Symbol.for("react.strict_mode"),rc=Symbol.for("react.profiler"),Up=Symbol.for("react.provider"),qp=Symbol.for("react.context"),Su=Symbol.for("react.forward_ref"),oc=Symbol.for("react.suspense"),sc=Symbol.for("react.suspense_list"),Eu=Symbol.for("react.memo"),jn=Symbol.for("react.lazy"),Vp=Symbol.for("react.offscreen"),Id=Symbol.iterator;function wo(e){return e===null||typeof e!="object"?null:(e=Id&&e[Id]||e["@@iterator"],typeof e=="function"?e:null)}var Se=Object.assign,hl;function Ao(e){if(hl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);hl=t&&t[1]||""}return`
|
|
`+hl+e}var vl=!1;function gl(e,t){if(!e||vl)return"";vl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var o=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){o=c}e.call(t.prototype)}else{try{throw Error()}catch(c){o=c}e()}}catch(c){if(c&&o&&typeof c.stack=="string"){for(var s=c.stack.split(`
|
|
`),i=o.stack.split(`
|
|
`),a=s.length-1,l=i.length-1;1<=a&&0<=l&&s[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(s[a]!==i[l]){if(a!==1||l!==1)do if(a--,l--,0>l||s[a]!==i[l]){var u=`
|
|
`+s[a].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=a&&0<=l);break}}}finally{vl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ao(e):""}function lx(e){switch(e.tag){case 5:return Ao(e.type);case 16:return Ao("Lazy");case 13:return Ao("Suspense");case 19:return Ao("SuspenseList");case 0:case 2:case 15:return e=gl(e.type,!1),e;case 11:return e=gl(e.type.render,!1),e;case 1:return e=gl(e.type,!0),e;default:return""}}function ic(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Tr:return"Fragment";case Or:return"Portal";case rc:return"Profiler";case wu:return"StrictMode";case oc:return"Suspense";case sc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qp:return(e.displayName||"Context")+".Consumer";case Up:return(e._context.displayName||"Context")+".Provider";case Su:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Eu:return t=e.displayName||null,t!==null?t:ic(e.type)||"Memo";case jn:t=e._payload,e=e._init;try{return ic(e(t))}catch{}}return null}function cx(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ic(t);case 8:return t===wu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function $n(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ux(e){var t=Hp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(a){o=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return o},setValue:function(a){o=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zs(e){e._valueTracker||(e._valueTracker=ux(e))}function Kp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=Hp(e)?e.checked?"true":"false":e.value),e=o,e!==n?(t.setValue(e),!0):!1}function Ai(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ac(e,t){var n=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Dd(e,t){var n=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;n=$n(t.value!=null?t.value:n),e._wrapperState={initialChecked:o,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Yp(e,t){t=t.checked,t!=null&&bu(e,"checked",t,!1)}function lc(e,t){Yp(e,t);var n=$n(t.value),o=t.type;if(n!=null)o==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?cc(e,t.type,n):t.hasOwnProperty("defaultValue")&&cc(e,t.type,$n(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fd(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function cc(e,t,n){(t!=="number"||Ai(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Io=Array.isArray;function Yr(e,t,n,o){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&o&&(e[n].defaultSelected=!0)}else{for(n=""+$n(n),t=null,s=0;s<e.length;s++){if(e[s].value===n){e[s].selected=!0,o&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function uc(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(V(91));return Se({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Md(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(V(92));if(Io(n)){if(1<n.length)throw Error(V(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:$n(n)}}function Gp(e,t){var n=$n(t.value),o=$n(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),o!=null&&(e.defaultValue=""+o)}function Ld(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Qp(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function dc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Qp(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var $s,Xp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,o,s){MSApp.execUnsafeLocalFunction(function(){return e(t,n,o,s)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for($s=$s||document.createElement("div"),$s.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=$s.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function es(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Bo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},dx=["Webkit","ms","Moz","O"];Object.keys(Bo).forEach(function(e){dx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Bo[t]=Bo[e]})});function Jp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Bo.hasOwnProperty(e)&&Bo[e]?(""+t).trim():t+"px"}function Zp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var o=n.indexOf("--")===0,s=Jp(n,t[n],o);n==="float"&&(n="cssFloat"),o?e.setProperty(n,s):e[n]=s}}var fx=Se({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fc(e,t){if(t){if(fx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function pc(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var mc=null;function ku(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hc=null,Gr=null,Qr=null;function Bd(e){if(e=ks(e)){if(typeof hc!="function")throw Error(V(280));var t=e.stateNode;t&&(t=ba(t),hc(e.stateNode,e.type,t))}}function em(e){Gr?Qr?Qr.push(e):Qr=[e]:Gr=e}function tm(){if(Gr){var e=Gr,t=Qr;if(Qr=Gr=null,Bd(e),t)for(e=0;e<t.length;e++)Bd(t[e])}}function nm(e,t){return e(t)}function rm(){}var xl=!1;function om(e,t,n){if(xl)return e(t,n);xl=!0;try{return nm(e,t,n)}finally{xl=!1,(Gr!==null||Qr!==null)&&(rm(),tm())}}function ts(e,t){var n=e.stateNode;if(n===null)return null;var o=ba(n);if(o===null)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(V(231,t,typeof n));return n}var vc=!1;if(an)try{var So={};Object.defineProperty(So,"passive",{get:function(){vc=!0}}),window.addEventListener("test",So,So),window.removeEventListener("test",So,So)}catch{vc=!1}function px(e,t,n,o,s,i,a,l,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var zo=!1,Ii=null,Di=!1,gc=null,mx={onError:function(e){zo=!0,Ii=e}};function hx(e,t,n,o,s,i,a,l,u){zo=!1,Ii=null,px.apply(mx,arguments)}function vx(e,t,n,o,s,i,a,l,u){if(hx.apply(this,arguments),zo){if(zo){var c=Ii;zo=!1,Ii=null}else throw Error(V(198));Di||(Di=!0,gc=c)}}function wr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function sm(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function zd(e){if(wr(e)!==e)throw Error(V(188))}function gx(e){var t=e.alternate;if(!t){if(t=wr(e),t===null)throw Error(V(188));return t!==e?null:e}for(var n=e,o=t;;){var s=n.return;if(s===null)break;var i=s.alternate;if(i===null){if(o=s.return,o!==null){n=o;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===n)return zd(s),e;if(i===o)return zd(s),t;i=i.sibling}throw Error(V(188))}if(n.return!==o.return)n=s,o=i;else{for(var a=!1,l=s.child;l;){if(l===n){a=!0,n=s,o=i;break}if(l===o){a=!0,o=s,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,o=s;break}if(l===o){a=!0,o=i,n=s;break}l=l.sibling}if(!a)throw Error(V(189))}}if(n.alternate!==o)throw Error(V(190))}if(n.tag!==3)throw Error(V(188));return n.stateNode.current===n?e:t}function im(e){return e=gx(e),e!==null?am(e):null}function am(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=am(e);if(t!==null)return t;e=e.sibling}return null}var lm=mt.unstable_scheduleCallback,$d=mt.unstable_cancelCallback,xx=mt.unstable_shouldYield,yx=mt.unstable_requestPaint,Pe=mt.unstable_now,jx=mt.unstable_getCurrentPriorityLevel,Pu=mt.unstable_ImmediatePriority,cm=mt.unstable_UserBlockingPriority,Fi=mt.unstable_NormalPriority,Nx=mt.unstable_LowPriority,um=mt.unstable_IdlePriority,ya=null,Gt=null;function Cx(e){if(Gt&&typeof Gt.onCommitFiberRoot=="function")try{Gt.onCommitFiberRoot(ya,e,void 0,(e.current.flags&128)===128)}catch{}}var Rt=Math.clz32?Math.clz32:Sx,bx=Math.log,wx=Math.LN2;function Sx(e){return e>>>=0,e===0?32:31-(bx(e)/wx|0)|0}var Ws=64,Us=4194304;function Do(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Mi(e,t){var n=e.pendingLanes;if(n===0)return 0;var o=0,s=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~s;l!==0?o=Do(l):(i&=a,i!==0&&(o=Do(i)))}else a=n&~s,a!==0?o=Do(a):i!==0&&(o=Do(i));if(o===0)return 0;if(t!==0&&t!==o&&!(t&s)&&(s=o&-o,i=t&-t,s>=i||s===16&&(i&4194240)!==0))return t;if(o&4&&(o|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0<t;)n=31-Rt(t),s=1<<n,o|=e[n],t&=~s;return o}function Ex(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function kx(e,t){for(var n=e.suspendedLanes,o=e.pingedLanes,s=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Rt(i),l=1<<a,u=s[a];u===-1?(!(l&n)||l&o)&&(s[a]=Ex(l,t)):u<=t&&(e.expiredLanes|=l),i&=~l}}function xc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function dm(){var e=Ws;return Ws<<=1,!(Ws&4194240)&&(Ws=64),e}function yl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ss(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Rt(t),e[t]=n}function Px(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var o=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-Rt(n),i=1<<s;t[s]=0,o[s]=-1,e[s]=-1,n&=~i}}function _u(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var o=31-Rt(n),s=1<<o;s&t|e[o]&t&&(e[o]|=t),n&=~s}}var me=0;function fm(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var pm,Ou,mm,hm,vm,yc=!1,qs=[],Rn=null,An=null,In=null,ns=new Map,rs=new Map,En=[],_x="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Wd(e,t){switch(e){case"focusin":case"focusout":Rn=null;break;case"dragenter":case"dragleave":An=null;break;case"mouseover":case"mouseout":In=null;break;case"pointerover":case"pointerout":ns.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":rs.delete(t.pointerId)}}function Eo(e,t,n,o,s,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:o,nativeEvent:i,targetContainers:[s]},t!==null&&(t=ks(t),t!==null&&Ou(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function Ox(e,t,n,o,s){switch(t){case"focusin":return Rn=Eo(Rn,e,t,n,o,s),!0;case"dragenter":return An=Eo(An,e,t,n,o,s),!0;case"mouseover":return In=Eo(In,e,t,n,o,s),!0;case"pointerover":var i=s.pointerId;return ns.set(i,Eo(ns.get(i)||null,e,t,n,o,s)),!0;case"gotpointercapture":return i=s.pointerId,rs.set(i,Eo(rs.get(i)||null,e,t,n,o,s)),!0}return!1}function gm(e){var t=ir(e.target);if(t!==null){var n=wr(t);if(n!==null){if(t=n.tag,t===13){if(t=sm(n),t!==null){e.blockedOn=t,vm(e.priority,function(){mm(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ci(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=jc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var o=new n.constructor(n.type,n);mc=o,n.target.dispatchEvent(o),mc=null}else return t=ks(n),t!==null&&Ou(t),e.blockedOn=n,!1;t.shift()}return!0}function Ud(e,t,n){ci(e)&&n.delete(t)}function Tx(){yc=!1,Rn!==null&&ci(Rn)&&(Rn=null),An!==null&&ci(An)&&(An=null),In!==null&&ci(In)&&(In=null),ns.forEach(Ud),rs.forEach(Ud)}function ko(e,t){e.blockedOn===t&&(e.blockedOn=null,yc||(yc=!0,mt.unstable_scheduleCallback(mt.unstable_NormalPriority,Tx)))}function os(e){function t(s){return ko(s,e)}if(0<qs.length){ko(qs[0],e);for(var n=1;n<qs.length;n++){var o=qs[n];o.blockedOn===e&&(o.blockedOn=null)}}for(Rn!==null&&ko(Rn,e),An!==null&&ko(An,e),In!==null&&ko(In,e),ns.forEach(t),rs.forEach(t),n=0;n<En.length;n++)o=En[n],o.blockedOn===e&&(o.blockedOn=null);for(;0<En.length&&(n=En[0],n.blockedOn===null);)gm(n),n.blockedOn===null&&En.shift()}var Xr=pn.ReactCurrentBatchConfig,Li=!0;function Rx(e,t,n,o){var s=me,i=Xr.transition;Xr.transition=null;try{me=1,Tu(e,t,n,o)}finally{me=s,Xr.transition=i}}function Ax(e,t,n,o){var s=me,i=Xr.transition;Xr.transition=null;try{me=4,Tu(e,t,n,o)}finally{me=s,Xr.transition=i}}function Tu(e,t,n,o){if(Li){var s=jc(e,t,n,o);if(s===null)_l(e,t,o,Bi,n),Wd(e,o);else if(Ox(s,e,t,n,o))o.stopPropagation();else if(Wd(e,o),t&4&&-1<_x.indexOf(e)){for(;s!==null;){var i=ks(s);if(i!==null&&pm(i),i=jc(e,t,n,o),i===null&&_l(e,t,o,Bi,n),i===s)break;s=i}s!==null&&o.stopPropagation()}else _l(e,t,o,null,n)}}var Bi=null;function jc(e,t,n,o){if(Bi=null,e=ku(o),e=ir(e),e!==null)if(t=wr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=sm(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Bi=e,null}function xm(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(jx()){case Pu:return 1;case cm:return 4;case Fi:case Nx:return 16;case um:return 536870912;default:return 16}default:return 16}}var Pn=null,Ru=null,ui=null;function ym(){if(ui)return ui;var e,t=Ru,n=t.length,o,s="value"in Pn?Pn.value:Pn.textContent,i=s.length;for(e=0;e<n&&t[e]===s[e];e++);var a=n-e;for(o=1;o<=a&&t[n-o]===s[i-o];o++);return ui=s.slice(e,1<o?1-o:void 0)}function di(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Vs(){return!0}function qd(){return!1}function xt(e){function t(n,o,s,i,a){this._reactName=n,this._targetInst=s,this.type=o,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Vs:qd,this.isPropagationStopped=qd,this}return Se(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Vs)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Vs)},persist:function(){},isPersistent:Vs}),t}var uo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Au=xt(uo),Es=Se({},uo,{view:0,detail:0}),Ix=xt(Es),jl,Nl,Po,ja=Se({},Es,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Iu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Po&&(Po&&e.type==="mousemove"?(jl=e.screenX-Po.screenX,Nl=e.screenY-Po.screenY):Nl=jl=0,Po=e),jl)},movementY:function(e){return"movementY"in e?e.movementY:Nl}}),Vd=xt(ja),Dx=Se({},ja,{dataTransfer:0}),Fx=xt(Dx),Mx=Se({},Es,{relatedTarget:0}),Cl=xt(Mx),Lx=Se({},uo,{animationName:0,elapsedTime:0,pseudoElement:0}),Bx=xt(Lx),zx=Se({},uo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$x=xt(zx),Wx=Se({},uo,{data:0}),Hd=xt(Wx),Ux={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qx={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Vx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Vx[e])?!!t[e]:!1}function Iu(){return Hx}var Kx=Se({},Es,{key:function(e){if(e.key){var t=Ux[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=di(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?qx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Iu,charCode:function(e){return e.type==="keypress"?di(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?di(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Yx=xt(Kx),Gx=Se({},ja,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Kd=xt(Gx),Qx=Se({},Es,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Iu}),Xx=xt(Qx),Jx=Se({},uo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zx=xt(Jx),ey=Se({},ja,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ty=xt(ey),ny=[9,13,27,32],Du=an&&"CompositionEvent"in window,$o=null;an&&"documentMode"in document&&($o=document.documentMode);var ry=an&&"TextEvent"in window&&!$o,jm=an&&(!Du||$o&&8<$o&&11>=$o),Yd=" ",Gd=!1;function Nm(e,t){switch(e){case"keyup":return ny.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rr=!1;function oy(e,t){switch(e){case"compositionend":return Cm(t);case"keypress":return t.which!==32?null:(Gd=!0,Yd);case"textInput":return e=t.data,e===Yd&&Gd?null:e;default:return null}}function sy(e,t){if(Rr)return e==="compositionend"||!Du&&Nm(e,t)?(e=ym(),ui=Ru=Pn=null,Rr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jm&&t.locale!=="ko"?null:t.data;default:return null}}var iy={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Qd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!iy[e.type]:t==="textarea"}function bm(e,t,n,o){em(o),t=zi(t,"onChange"),0<t.length&&(n=new Au("onChange","change",null,n,o),e.push({event:n,listeners:t}))}var Wo=null,ss=null;function ay(e){Im(e,0)}function Na(e){var t=Dr(e);if(Kp(t))return e}function ly(e,t){if(e==="change")return t}var wm=!1;if(an){var bl;if(an){var wl="oninput"in document;if(!wl){var Xd=document.createElement("div");Xd.setAttribute("oninput","return;"),wl=typeof Xd.oninput=="function"}bl=wl}else bl=!1;wm=bl&&(!document.documentMode||9<document.documentMode)}function Jd(){Wo&&(Wo.detachEvent("onpropertychange",Sm),ss=Wo=null)}function Sm(e){if(e.propertyName==="value"&&Na(ss)){var t=[];bm(t,ss,e,ku(e)),om(ay,t)}}function cy(e,t,n){e==="focusin"?(Jd(),Wo=t,ss=n,Wo.attachEvent("onpropertychange",Sm)):e==="focusout"&&Jd()}function uy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Na(ss)}function dy(e,t){if(e==="click")return Na(t)}function fy(e,t){if(e==="input"||e==="change")return Na(t)}function py(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Dt=typeof Object.is=="function"?Object.is:py;function is(e,t){if(Dt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var s=n[o];if(!nc.call(t,s)||!Dt(e[s],t[s]))return!1}return!0}function Zd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ef(e,t){var n=Zd(e);e=0;for(var o;n;){if(n.nodeType===3){if(o=e+n.textContent.length,e<=t&&o>=t)return{node:n,offset:t-e};e=o}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Zd(n)}}function Em(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Em(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function km(){for(var e=window,t=Ai();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ai(e.document)}return t}function Fu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function my(e){var t=km(),n=e.focusedElem,o=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Em(n.ownerDocument.documentElement,n)){if(o!==null&&Fu(n)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var s=n.textContent.length,i=Math.min(o.start,s);o=o.end===void 0?i:Math.min(o.end,s),!e.extend&&i>o&&(s=o,o=i,i=s),s=ef(n,i);var a=ef(n,o);s&&a&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(s.node,s.offset),e.removeAllRanges(),i>o?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hy=an&&"documentMode"in document&&11>=document.documentMode,Ar=null,Nc=null,Uo=null,Cc=!1;function tf(e,t,n){var o=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Cc||Ar==null||Ar!==Ai(o)||(o=Ar,"selectionStart"in o&&Fu(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Uo&&is(Uo,o)||(Uo=o,o=zi(Nc,"onSelect"),0<o.length&&(t=new Au("onSelect","select",null,t,n),e.push({event:t,listeners:o}),t.target=Ar)))}function Hs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ir={animationend:Hs("Animation","AnimationEnd"),animationiteration:Hs("Animation","AnimationIteration"),animationstart:Hs("Animation","AnimationStart"),transitionend:Hs("Transition","TransitionEnd")},Sl={},Pm={};an&&(Pm=document.createElement("div").style,"AnimationEvent"in window||(delete Ir.animationend.animation,delete Ir.animationiteration.animation,delete Ir.animationstart.animation),"TransitionEvent"in window||delete Ir.transitionend.transition);function Ca(e){if(Sl[e])return Sl[e];if(!Ir[e])return e;var t=Ir[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Pm)return Sl[e]=t[n];return e}var _m=Ca("animationend"),Om=Ca("animationiteration"),Tm=Ca("animationstart"),Rm=Ca("transitionend"),Am=new Map,nf="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function qn(e,t){Am.set(e,t),br(t,[e])}for(var El=0;El<nf.length;El++){var kl=nf[El],vy=kl.toLowerCase(),gy=kl[0].toUpperCase()+kl.slice(1);qn(vy,"on"+gy)}qn(_m,"onAnimationEnd");qn(Om,"onAnimationIteration");qn(Tm,"onAnimationStart");qn("dblclick","onDoubleClick");qn("focusin","onFocus");qn("focusout","onBlur");qn(Rm,"onTransitionEnd");eo("onMouseEnter",["mouseout","mouseover"]);eo("onMouseLeave",["mouseout","mouseover"]);eo("onPointerEnter",["pointerout","pointerover"]);eo("onPointerLeave",["pointerout","pointerover"]);br("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));br("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));br("onBeforeInput",["compositionend","keypress","textInput","paste"]);br("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));br("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));br("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xy=new Set("cancel close invalid load scroll toggle".split(" ").concat(Fo));function rf(e,t,n){var o=e.type||"unknown-event";e.currentTarget=n,vx(o,t,void 0,e),e.currentTarget=null}function Im(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var o=e[n],s=o.event;o=o.listeners;e:{var i=void 0;if(t)for(var a=o.length-1;0<=a;a--){var l=o[a],u=l.instance,c=l.currentTarget;if(l=l.listener,u!==i&&s.isPropagationStopped())break e;rf(s,l,c),i=u}else for(a=0;a<o.length;a++){if(l=o[a],u=l.instance,c=l.currentTarget,l=l.listener,u!==i&&s.isPropagationStopped())break e;rf(s,l,c),i=u}}}if(Di)throw e=gc,Di=!1,gc=null,e}function ye(e,t){var n=t[kc];n===void 0&&(n=t[kc]=new Set);var o=e+"__bubble";n.has(o)||(Dm(t,e,2,!1),n.add(o))}function Pl(e,t,n){var o=0;t&&(o|=4),Dm(n,e,o,t)}var Ks="_reactListening"+Math.random().toString(36).slice(2);function as(e){if(!e[Ks]){e[Ks]=!0,Wp.forEach(function(n){n!=="selectionchange"&&(xy.has(n)||Pl(n,!1,e),Pl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ks]||(t[Ks]=!0,Pl("selectionchange",!1,t))}}function Dm(e,t,n,o){switch(xm(t)){case 1:var s=Rx;break;case 4:s=Ax;break;default:s=Tu}n=s.bind(null,t,n,e),s=void 0,!vc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),o?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}function _l(e,t,n,o,s){var i=o;if(!(t&1)&&!(t&2)&&o!==null)e:for(;;){if(o===null)return;var a=o.tag;if(a===3||a===4){var l=o.stateNode.containerInfo;if(l===s||l.nodeType===8&&l.parentNode===s)break;if(a===4)for(a=o.return;a!==null;){var u=a.tag;if((u===3||u===4)&&(u=a.stateNode.containerInfo,u===s||u.nodeType===8&&u.parentNode===s))return;a=a.return}for(;l!==null;){if(a=ir(l),a===null)return;if(u=a.tag,u===5||u===6){o=i=a;continue e}l=l.parentNode}}o=o.return}om(function(){var c=i,d=ku(n),f=[];e:{var g=Am.get(e);if(g!==void 0){var C=Au,x=e;switch(e){case"keypress":if(di(n)===0)break e;case"keydown":case"keyup":C=Yx;break;case"focusin":x="focus",C=Cl;break;case"focusout":x="blur",C=Cl;break;case"beforeblur":case"afterblur":C=Cl;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":C=Vd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":C=Fx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":C=Xx;break;case _m:case Om:case Tm:C=Bx;break;case Rm:C=Zx;break;case"scroll":C=Ix;break;case"wheel":C=ty;break;case"copy":case"cut":case"paste":C=$x;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":C=Kd}var N=(t&4)!==0,b=!N&&e==="scroll",h=N?g!==null?g+"Capture":null:g;N=[];for(var v=c,m;v!==null;){m=v;var y=m.stateNode;if(m.tag===5&&y!==null&&(m=y,h!==null&&(y=ts(v,h),y!=null&&N.push(ls(v,y,m)))),b)break;v=v.return}0<N.length&&(g=new C(g,x,null,n,d),f.push({event:g,listeners:N}))}}if(!(t&7)){e:{if(g=e==="mouseover"||e==="pointerover",C=e==="mouseout"||e==="pointerout",g&&n!==mc&&(x=n.relatedTarget||n.fromElement)&&(ir(x)||x[ln]))break e;if((C||g)&&(g=d.window===d?d:(g=d.ownerDocument)?g.defaultView||g.parentWindow:window,C?(x=n.relatedTarget||n.toElement,C=c,x=x?ir(x):null,x!==null&&(b=wr(x),x!==b||x.tag!==5&&x.tag!==6)&&(x=null)):(C=null,x=c),C!==x)){if(N=Vd,y="onMouseLeave",h="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(N=Kd,y="onPointerLeave",h="onPointerEnter",v="pointer"),b=C==null?g:Dr(C),m=x==null?g:Dr(x),g=new N(y,v+"leave",C,n,d),g.target=b,g.relatedTarget=m,y=null,ir(d)===c&&(N=new N(h,v+"enter",x,n,d),N.target=m,N.relatedTarget=b,y=N),b=y,C&&x)t:{for(N=C,h=x,v=0,m=N;m;m=Er(m))v++;for(m=0,y=h;y;y=Er(y))m++;for(;0<v-m;)N=Er(N),v--;for(;0<m-v;)h=Er(h),m--;for(;v--;){if(N===h||h!==null&&N===h.alternate)break t;N=Er(N),h=Er(h)}N=null}else N=null;C!==null&&of(f,g,C,N,!1),x!==null&&b!==null&&of(f,b,x,N,!0)}}e:{if(g=c?Dr(c):window,C=g.nodeName&&g.nodeName.toLowerCase(),C==="select"||C==="input"&&g.type==="file")var E=ly;else if(Qd(g))if(wm)E=fy;else{E=uy;var k=cy}else(C=g.nodeName)&&C.toLowerCase()==="input"&&(g.type==="checkbox"||g.type==="radio")&&(E=dy);if(E&&(E=E(e,c))){bm(f,E,n,d);break e}k&&k(e,g,c),e==="focusout"&&(k=g._wrapperState)&&k.controlled&&g.type==="number"&&cc(g,"number",g.value)}switch(k=c?Dr(c):window,e){case"focusin":(Qd(k)||k.contentEditable==="true")&&(Ar=k,Nc=c,Uo=null);break;case"focusout":Uo=Nc=Ar=null;break;case"mousedown":Cc=!0;break;case"contextmenu":case"mouseup":case"dragend":Cc=!1,tf(f,n,d);break;case"selectionchange":if(hy)break;case"keydown":case"keyup":tf(f,n,d)}var T;if(Du)e:{switch(e){case"compositionstart":var O="onCompositionStart";break e;case"compositionend":O="onCompositionEnd";break e;case"compositionupdate":O="onCompositionUpdate";break e}O=void 0}else Rr?Nm(e,n)&&(O="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(O="onCompositionStart");O&&(jm&&n.locale!=="ko"&&(Rr||O!=="onCompositionStart"?O==="onCompositionEnd"&&Rr&&(T=ym()):(Pn=d,Ru="value"in Pn?Pn.value:Pn.textContent,Rr=!0)),k=zi(c,O),0<k.length&&(O=new Hd(O,e,null,n,d),f.push({event:O,listeners:k}),T?O.data=T:(T=Cm(n),T!==null&&(O.data=T)))),(T=ry?oy(e,n):sy(e,n))&&(c=zi(c,"onBeforeInput"),0<c.length&&(d=new Hd("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:c}),d.data=T))}Im(f,t)})}function ls(e,t,n){return{instance:e,listener:t,currentTarget:n}}function zi(e,t){for(var n=t+"Capture",o=[];e!==null;){var s=e,i=s.stateNode;s.tag===5&&i!==null&&(s=i,i=ts(e,n),i!=null&&o.unshift(ls(e,i,s)),i=ts(e,t),i!=null&&o.push(ls(e,i,s))),e=e.return}return o}function Er(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function of(e,t,n,o,s){for(var i=t._reactName,a=[];n!==null&&n!==o;){var l=n,u=l.alternate,c=l.stateNode;if(u!==null&&u===o)break;l.tag===5&&c!==null&&(l=c,s?(u=ts(n,i),u!=null&&a.unshift(ls(n,u,l))):s||(u=ts(n,i),u!=null&&a.push(ls(n,u,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var yy=/\r\n?/g,jy=/\u0000|\uFFFD/g;function sf(e){return(typeof e=="string"?e:""+e).replace(yy,`
|
|
`).replace(jy,"")}function Ys(e,t,n){if(t=sf(t),sf(e)!==t&&n)throw Error(V(425))}function $i(){}var bc=null,wc=null;function Sc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ec=typeof setTimeout=="function"?setTimeout:void 0,Ny=typeof clearTimeout=="function"?clearTimeout:void 0,af=typeof Promise=="function"?Promise:void 0,Cy=typeof queueMicrotask=="function"?queueMicrotask:typeof af<"u"?function(e){return af.resolve(null).then(e).catch(by)}:Ec;function by(e){setTimeout(function(){throw e})}function Ol(e,t){var n=t,o=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if(n=s.data,n==="/$"){if(o===0){e.removeChild(s),os(t);return}o--}else n!=="$"&&n!=="$?"&&n!=="$!"||o++;n=s}while(n);os(t)}function Dn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function lf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),Ht="__reactFiber$"+fo,cs="__reactProps$"+fo,ln="__reactContainer$"+fo,kc="__reactEvents$"+fo,wy="__reactListeners$"+fo,Sy="__reactHandles$"+fo;function ir(e){var t=e[Ht];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ln]||n[Ht]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=lf(e);e!==null;){if(n=e[Ht])return n;e=lf(e)}return t}e=n,n=e.parentNode}return null}function ks(e){return e=e[Ht]||e[ln],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Dr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(V(33))}function ba(e){return e[cs]||null}var Pc=[],Fr=-1;function Vn(e){return{current:e}}function je(e){0>Fr||(e.current=Pc[Fr],Pc[Fr]=null,Fr--)}function ge(e,t){Fr++,Pc[Fr]=e.current,e.current=t}var Wn={},He=Vn(Wn),rt=Vn(!1),hr=Wn;function to(e,t){var n=e.type.contextTypes;if(!n)return Wn;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var s={},i;for(i in n)s[i]=t[i];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function ot(e){return e=e.childContextTypes,e!=null}function Wi(){je(rt),je(He)}function cf(e,t,n){if(He.current!==Wn)throw Error(V(168));ge(He,t),ge(rt,n)}function Fm(e,t,n){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return n;o=o.getChildContext();for(var s in o)if(!(s in t))throw Error(V(108,cx(e)||"Unknown",s));return Se({},n,o)}function Ui(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wn,hr=He.current,ge(He,e),ge(rt,rt.current),!0}function uf(e,t,n){var o=e.stateNode;if(!o)throw Error(V(169));n?(e=Fm(e,t,hr),o.__reactInternalMemoizedMergedChildContext=e,je(rt),je(He),ge(He,e)):je(rt),ge(rt,n)}var nn=null,wa=!1,Tl=!1;function Mm(e){nn===null?nn=[e]:nn.push(e)}function Ey(e){wa=!0,Mm(e)}function Hn(){if(!Tl&&nn!==null){Tl=!0;var e=0,t=me;try{var n=nn;for(me=1;e<n.length;e++){var o=n[e];do o=o(!0);while(o!==null)}nn=null,wa=!1}catch(s){throw nn!==null&&(nn=nn.slice(e+1)),lm(Pu,Hn),s}finally{me=t,Tl=!1}}return null}var Mr=[],Lr=0,qi=null,Vi=0,jt=[],Nt=0,vr=null,rn=1,on="";function er(e,t){Mr[Lr++]=Vi,Mr[Lr++]=qi,qi=e,Vi=t}function Lm(e,t,n){jt[Nt++]=rn,jt[Nt++]=on,jt[Nt++]=vr,vr=e;var o=rn;e=on;var s=32-Rt(o)-1;o&=~(1<<s),n+=1;var i=32-Rt(t)+s;if(30<i){var a=s-s%5;i=(o&(1<<a)-1).toString(32),o>>=a,s-=a,rn=1<<32-Rt(t)+s|n<<s|o,on=i+e}else rn=1<<i|n<<s|o,on=e}function Mu(e){e.return!==null&&(er(e,1),Lm(e,1,0))}function Lu(e){for(;e===qi;)qi=Mr[--Lr],Mr[Lr]=null,Vi=Mr[--Lr],Mr[Lr]=null;for(;e===vr;)vr=jt[--Nt],jt[Nt]=null,on=jt[--Nt],jt[Nt]=null,rn=jt[--Nt],jt[Nt]=null}var ft=null,ct=null,Ce=!1,Ot=null;function Bm(e,t){var n=Ct(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function df(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ft=e,ct=Dn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ft=e,ct=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=vr!==null?{id:rn,overflow:on}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ct(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ft=e,ct=null,!0):!1;default:return!1}}function _c(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Oc(e){if(Ce){var t=ct;if(t){var n=t;if(!df(e,t)){if(_c(e))throw Error(V(418));t=Dn(n.nextSibling);var o=ft;t&&df(e,t)?Bm(o,n):(e.flags=e.flags&-4097|2,Ce=!1,ft=e)}}else{if(_c(e))throw Error(V(418));e.flags=e.flags&-4097|2,Ce=!1,ft=e}}}function ff(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ft=e}function Gs(e){if(e!==ft)return!1;if(!Ce)return ff(e),Ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Sc(e.type,e.memoizedProps)),t&&(t=ct)){if(_c(e))throw zm(),Error(V(418));for(;t;)Bm(e,t),t=Dn(t.nextSibling)}if(ff(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(V(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ct=Dn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ct=null}}else ct=ft?Dn(e.stateNode.nextSibling):null;return!0}function zm(){for(var e=ct;e;)e=Dn(e.nextSibling)}function no(){ct=ft=null,Ce=!1}function Bu(e){Ot===null?Ot=[e]:Ot.push(e)}var ky=pn.ReactCurrentBatchConfig;function _o(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(V(309));var o=n.stateNode}if(!o)throw Error(V(147,e));var s=o,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var l=s.refs;a===null?delete l[i]:l[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(V(284));if(!n._owner)throw Error(V(290,e))}return e}function Qs(e,t){throw e=Object.prototype.toString.call(t),Error(V(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function pf(e){var t=e._init;return t(e._payload)}function $m(e){function t(h,v){if(e){var m=h.deletions;m===null?(h.deletions=[v],h.flags|=16):m.push(v)}}function n(h,v){if(!e)return null;for(;v!==null;)t(h,v),v=v.sibling;return null}function o(h,v){for(h=new Map;v!==null;)v.key!==null?h.set(v.key,v):h.set(v.index,v),v=v.sibling;return h}function s(h,v){return h=Bn(h,v),h.index=0,h.sibling=null,h}function i(h,v,m){return h.index=m,e?(m=h.alternate,m!==null?(m=m.index,m<v?(h.flags|=2,v):m):(h.flags|=2,v)):(h.flags|=1048576,v)}function a(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,v,m,y){return v===null||v.tag!==6?(v=Ll(m,h.mode,y),v.return=h,v):(v=s(v,m),v.return=h,v)}function u(h,v,m,y){var E=m.type;return E===Tr?d(h,v,m.props.children,y,m.key):v!==null&&(v.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===jn&&pf(E)===v.type)?(y=s(v,m.props),y.ref=_o(h,v,m),y.return=h,y):(y=xi(m.type,m.key,m.props,null,h.mode,y),y.ref=_o(h,v,m),y.return=h,y)}function c(h,v,m,y){return v===null||v.tag!==4||v.stateNode.containerInfo!==m.containerInfo||v.stateNode.implementation!==m.implementation?(v=Bl(m,h.mode,y),v.return=h,v):(v=s(v,m.children||[]),v.return=h,v)}function d(h,v,m,y,E){return v===null||v.tag!==7?(v=dr(m,h.mode,y,E),v.return=h,v):(v=s(v,m),v.return=h,v)}function f(h,v,m){if(typeof v=="string"&&v!==""||typeof v=="number")return v=Ll(""+v,h.mode,m),v.return=h,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Bs:return m=xi(v.type,v.key,v.props,null,h.mode,m),m.ref=_o(h,null,v),m.return=h,m;case Or:return v=Bl(v,h.mode,m),v.return=h,v;case jn:var y=v._init;return f(h,y(v._payload),m)}if(Io(v)||wo(v))return v=dr(v,h.mode,m,null),v.return=h,v;Qs(h,v)}return null}function g(h,v,m,y){var E=v!==null?v.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return E!==null?null:l(h,v,""+m,y);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Bs:return m.key===E?u(h,v,m,y):null;case Or:return m.key===E?c(h,v,m,y):null;case jn:return E=m._init,g(h,v,E(m._payload),y)}if(Io(m)||wo(m))return E!==null?null:d(h,v,m,y,null);Qs(h,m)}return null}function C(h,v,m,y,E){if(typeof y=="string"&&y!==""||typeof y=="number")return h=h.get(m)||null,l(v,h,""+y,E);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Bs:return h=h.get(y.key===null?m:y.key)||null,u(v,h,y,E);case Or:return h=h.get(y.key===null?m:y.key)||null,c(v,h,y,E);case jn:var k=y._init;return C(h,v,m,k(y._payload),E)}if(Io(y)||wo(y))return h=h.get(m)||null,d(v,h,y,E,null);Qs(v,y)}return null}function x(h,v,m,y){for(var E=null,k=null,T=v,O=v=0,B=null;T!==null&&O<m.length;O++){T.index>O?(B=T,T=null):B=T.sibling;var $=g(h,T,m[O],y);if($===null){T===null&&(T=B);break}e&&T&&$.alternate===null&&t(h,T),v=i($,v,O),k===null?E=$:k.sibling=$,k=$,T=B}if(O===m.length)return n(h,T),Ce&&er(h,O),E;if(T===null){for(;O<m.length;O++)T=f(h,m[O],y),T!==null&&(v=i(T,v,O),k===null?E=T:k.sibling=T,k=T);return Ce&&er(h,O),E}for(T=o(h,T);O<m.length;O++)B=C(T,h,O,m[O],y),B!==null&&(e&&B.alternate!==null&&T.delete(B.key===null?O:B.key),v=i(B,v,O),k===null?E=B:k.sibling=B,k=B);return e&&T.forEach(function(H){return t(h,H)}),Ce&&er(h,O),E}function N(h,v,m,y){var E=wo(m);if(typeof E!="function")throw Error(V(150));if(m=E.call(m),m==null)throw Error(V(151));for(var k=E=null,T=v,O=v=0,B=null,$=m.next();T!==null&&!$.done;O++,$=m.next()){T.index>O?(B=T,T=null):B=T.sibling;var H=g(h,T,$.value,y);if(H===null){T===null&&(T=B);break}e&&T&&H.alternate===null&&t(h,T),v=i(H,v,O),k===null?E=H:k.sibling=H,k=H,T=B}if($.done)return n(h,T),Ce&&er(h,O),E;if(T===null){for(;!$.done;O++,$=m.next())$=f(h,$.value,y),$!==null&&(v=i($,v,O),k===null?E=$:k.sibling=$,k=$);return Ce&&er(h,O),E}for(T=o(h,T);!$.done;O++,$=m.next())$=C(T,h,O,$.value,y),$!==null&&(e&&$.alternate!==null&&T.delete($.key===null?O:$.key),v=i($,v,O),k===null?E=$:k.sibling=$,k=$);return e&&T.forEach(function(te){return t(h,te)}),Ce&&er(h,O),E}function b(h,v,m,y){if(typeof m=="object"&&m!==null&&m.type===Tr&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Bs:e:{for(var E=m.key,k=v;k!==null;){if(k.key===E){if(E=m.type,E===Tr){if(k.tag===7){n(h,k.sibling),v=s(k,m.props.children),v.return=h,h=v;break e}}else if(k.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===jn&&pf(E)===k.type){n(h,k.sibling),v=s(k,m.props),v.ref=_o(h,k,m),v.return=h,h=v;break e}n(h,k);break}else t(h,k);k=k.sibling}m.type===Tr?(v=dr(m.props.children,h.mode,y,m.key),v.return=h,h=v):(y=xi(m.type,m.key,m.props,null,h.mode,y),y.ref=_o(h,v,m),y.return=h,h=y)}return a(h);case Or:e:{for(k=m.key;v!==null;){if(v.key===k)if(v.tag===4&&v.stateNode.containerInfo===m.containerInfo&&v.stateNode.implementation===m.implementation){n(h,v.sibling),v=s(v,m.children||[]),v.return=h,h=v;break e}else{n(h,v);break}else t(h,v);v=v.sibling}v=Bl(m,h.mode,y),v.return=h,h=v}return a(h);case jn:return k=m._init,b(h,v,k(m._payload),y)}if(Io(m))return x(h,v,m,y);if(wo(m))return N(h,v,m,y);Qs(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,v!==null&&v.tag===6?(n(h,v.sibling),v=s(v,m),v.return=h,h=v):(n(h,v),v=Ll(m,h.mode,y),v.return=h,h=v),a(h)):n(h,v)}return b}var ro=$m(!0),Wm=$m(!1),Hi=Vn(null),Ki=null,Br=null,zu=null;function $u(){zu=Br=Ki=null}function Wu(e){var t=Hi.current;je(Hi),e._currentValue=t}function Tc(e,t,n){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===n)break;e=e.return}}function Jr(e,t){Ki=e,zu=Br=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(nt=!0),e.firstContext=null)}function wt(e){var t=e._currentValue;if(zu!==e)if(e={context:e,memoizedValue:t,next:null},Br===null){if(Ki===null)throw Error(V(308));Br=e,Ki.dependencies={lanes:0,firstContext:e}}else Br=Br.next=e;return t}var ar=null;function Uu(e){ar===null?ar=[e]:ar.push(e)}function Um(e,t,n,o){var s=t.interleaved;return s===null?(n.next=n,Uu(t)):(n.next=s.next,s.next=n),t.interleaved=n,cn(e,o)}function cn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Nn=!1;function qu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qm(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function sn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fn(e,t,n){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,fe&2){var s=o.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),o.pending=t,cn(e,n)}return s=o.interleaved,s===null?(t.next=t,Uu(o)):(t.next=s.next,s.next=t),o.interleaved=t,cn(e,n)}function fi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,_u(e,n)}}function mf(e,t){var n=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,n===o)){var s=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?s=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?s=i=t:i=i.next=t}else s=i=t;n={baseState:o.baseState,firstBaseUpdate:s,lastBaseUpdate:i,shared:o.shared,effects:o.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Yi(e,t,n,o){var s=e.updateQueue;Nn=!1;var i=s.firstBaseUpdate,a=s.lastBaseUpdate,l=s.shared.pending;if(l!==null){s.shared.pending=null;var u=l,c=u.next;u.next=null,a===null?i=c:a.next=c,a=u;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==a&&(l===null?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=u))}if(i!==null){var f=s.baseState;a=0,d=c=u=null,l=i;do{var g=l.lane,C=l.eventTime;if((o&g)===g){d!==null&&(d=d.next={eventTime:C,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var x=e,N=l;switch(g=t,C=n,N.tag){case 1:if(x=N.payload,typeof x=="function"){f=x.call(C,f,g);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=N.payload,g=typeof x=="function"?x.call(C,f,g):x,g==null)break e;f=Se({},f,g);break e;case 2:Nn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,g=s.effects,g===null?s.effects=[l]:g.push(l))}else C={eventTime:C,lane:g,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(c=d=C,u=f):d=d.next=C,a|=g;if(l=l.next,l===null){if(l=s.shared.pending,l===null)break;g=l,l=g.next,g.next=null,s.lastBaseUpdate=g,s.shared.pending=null}}while(!0);if(d===null&&(u=f),s.baseState=u,s.firstBaseUpdate=c,s.lastBaseUpdate=d,t=s.shared.interleaved,t!==null){s=t;do a|=s.lane,s=s.next;while(s!==t)}else i===null&&(s.shared.lanes=0);xr|=a,e.lanes=a,e.memoizedState=f}}function hf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var o=e[t],s=o.callback;if(s!==null){if(o.callback=null,o=n,typeof s!="function")throw Error(V(191,s));s.call(o)}}}var Ps={},Qt=Vn(Ps),us=Vn(Ps),ds=Vn(Ps);function lr(e){if(e===Ps)throw Error(V(174));return e}function Vu(e,t){switch(ge(ds,t),ge(us,e),ge(Qt,Ps),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:dc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=dc(t,e)}je(Qt),ge(Qt,t)}function oo(){je(Qt),je(us),je(ds)}function Vm(e){lr(ds.current);var t=lr(Qt.current),n=dc(t,e.type);t!==n&&(ge(us,e),ge(Qt,n))}function Hu(e){us.current===e&&(je(Qt),je(us))}var be=Vn(0);function Gi(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Rl=[];function Ku(){for(var e=0;e<Rl.length;e++)Rl[e]._workInProgressVersionPrimary=null;Rl.length=0}var pi=pn.ReactCurrentDispatcher,Al=pn.ReactCurrentBatchConfig,gr=0,we=null,Oe=null,De=null,Qi=!1,qo=!1,fs=0,Py=0;function We(){throw Error(V(321))}function Yu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dt(e[n],t[n]))return!1;return!0}function Gu(e,t,n,o,s,i){if(gr=i,we=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=e===null||e.memoizedState===null?Ry:Ay,e=n(o,s),qo){i=0;do{if(qo=!1,fs=0,25<=i)throw Error(V(301));i+=1,De=Oe=null,t.updateQueue=null,pi.current=Iy,e=n(o,s)}while(qo)}if(pi.current=Xi,t=Oe!==null&&Oe.next!==null,gr=0,De=Oe=we=null,Qi=!1,t)throw Error(V(300));return e}function Qu(){var e=fs!==0;return fs=0,e}function qt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return De===null?we.memoizedState=De=e:De=De.next=e,De}function St(){if(Oe===null){var e=we.alternate;e=e!==null?e.memoizedState:null}else e=Oe.next;var t=De===null?we.memoizedState:De.next;if(t!==null)De=t,Oe=e;else{if(e===null)throw Error(V(310));Oe=e,e={memoizedState:Oe.memoizedState,baseState:Oe.baseState,baseQueue:Oe.baseQueue,queue:Oe.queue,next:null},De===null?we.memoizedState=De=e:De=De.next=e}return De}function ps(e,t){return typeof t=="function"?t(e):t}function Il(e){var t=St(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var o=Oe,s=o.baseQueue,i=n.pending;if(i!==null){if(s!==null){var a=s.next;s.next=i.next,i.next=a}o.baseQueue=s=i,n.pending=null}if(s!==null){i=s.next,o=o.baseState;var l=a=null,u=null,c=i;do{var d=c.lane;if((gr&d)===d)u!==null&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(l=u=f,a=o):u=u.next=f,we.lanes|=d,xr|=d}c=c.next}while(c!==null&&c!==i);u===null?a=o:u.next=l,Dt(o,t.memoizedState)||(nt=!0),t.memoizedState=o,t.baseState=a,t.baseQueue=u,n.lastRenderedState=o}if(e=n.interleaved,e!==null){s=e;do i=s.lane,we.lanes|=i,xr|=i,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Dl(e){var t=St(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var o=n.dispatch,s=n.pending,i=t.memoizedState;if(s!==null){n.pending=null;var a=s=s.next;do i=e(i,a.action),a=a.next;while(a!==s);Dt(i,t.memoizedState)||(nt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,o]}function Hm(){}function Km(e,t){var n=we,o=St(),s=t(),i=!Dt(o.memoizedState,s);if(i&&(o.memoizedState=s,nt=!0),o=o.queue,Xu(Qm.bind(null,n,o,e),[e]),o.getSnapshot!==t||i||De!==null&&De.memoizedState.tag&1){if(n.flags|=2048,ms(9,Gm.bind(null,n,o,s,t),void 0,null),Fe===null)throw Error(V(349));gr&30||Ym(n,t,s)}return s}function Ym(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Gm(e,t,n,o){t.value=n,t.getSnapshot=o,Xm(t)&&Jm(e)}function Qm(e,t,n){return n(function(){Xm(t)&&Jm(e)})}function Xm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Dt(e,n)}catch{return!0}}function Jm(e){var t=cn(e,1);t!==null&&At(t,e,1,-1)}function vf(e){var t=qt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ps,lastRenderedState:e},t.queue=e,e=e.dispatch=Ty.bind(null,we,e),[t.memoizedState,e]}function ms(e,t,n,o){return e={tag:e,create:t,destroy:n,deps:o,next:null},t=we.updateQueue,t===null?(t={lastEffect:null,stores:null},we.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e)),e}function Zm(){return St().memoizedState}function mi(e,t,n,o){var s=qt();we.flags|=e,s.memoizedState=ms(1|t,n,void 0,o===void 0?null:o)}function Sa(e,t,n,o){var s=St();o=o===void 0?null:o;var i=void 0;if(Oe!==null){var a=Oe.memoizedState;if(i=a.destroy,o!==null&&Yu(o,a.deps)){s.memoizedState=ms(t,n,i,o);return}}we.flags|=e,s.memoizedState=ms(1|t,n,i,o)}function gf(e,t){return mi(8390656,8,e,t)}function Xu(e,t){return Sa(2048,8,e,t)}function eh(e,t){return Sa(4,2,e,t)}function th(e,t){return Sa(4,4,e,t)}function nh(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function rh(e,t,n){return n=n!=null?n.concat([e]):null,Sa(4,4,nh.bind(null,t,e),n)}function Ju(){}function oh(e,t){var n=St();t=t===void 0?null:t;var o=n.memoizedState;return o!==null&&t!==null&&Yu(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function sh(e,t){var n=St();t=t===void 0?null:t;var o=n.memoizedState;return o!==null&&t!==null&&Yu(t,o[1])?o[0]:(e=e(),n.memoizedState=[e,t],e)}function ih(e,t,n){return gr&21?(Dt(n,t)||(n=dm(),we.lanes|=n,xr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,nt=!0),e.memoizedState=n)}function _y(e,t){var n=me;me=n!==0&&4>n?n:4,e(!0);var o=Al.transition;Al.transition={};try{e(!1),t()}finally{me=n,Al.transition=o}}function ah(){return St().memoizedState}function Oy(e,t,n){var o=Ln(e);if(n={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null},lh(e))ch(t,n);else if(n=Um(e,t,n,o),n!==null){var s=Qe();At(n,e,o,s),uh(n,t,o)}}function Ty(e,t,n){var o=Ln(e),s={lane:o,action:n,hasEagerState:!1,eagerState:null,next:null};if(lh(e))ch(t,s);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(s.hasEagerState=!0,s.eagerState=l,Dt(l,a)){var u=t.interleaved;u===null?(s.next=s,Uu(t)):(s.next=u.next,u.next=s),t.interleaved=s;return}}catch{}finally{}n=Um(e,t,s,o),n!==null&&(s=Qe(),At(n,e,o,s),uh(n,t,o))}}function lh(e){var t=e.alternate;return e===we||t!==null&&t===we}function ch(e,t){qo=Qi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function uh(e,t,n){if(n&4194240){var o=t.lanes;o&=e.pendingLanes,n|=o,t.lanes=n,_u(e,n)}}var Xi={readContext:wt,useCallback:We,useContext:We,useEffect:We,useImperativeHandle:We,useInsertionEffect:We,useLayoutEffect:We,useMemo:We,useReducer:We,useRef:We,useState:We,useDebugValue:We,useDeferredValue:We,useTransition:We,useMutableSource:We,useSyncExternalStore:We,useId:We,unstable_isNewReconciler:!1},Ry={readContext:wt,useCallback:function(e,t){return qt().memoizedState=[e,t===void 0?null:t],e},useContext:wt,useEffect:gf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,mi(4194308,4,nh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return mi(4194308,4,e,t)},useInsertionEffect:function(e,t){return mi(4,2,e,t)},useMemo:function(e,t){var n=qt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var o=qt();return t=n!==void 0?n(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=Oy.bind(null,we,e),[o.memoizedState,e]},useRef:function(e){var t=qt();return e={current:e},t.memoizedState=e},useState:vf,useDebugValue:Ju,useDeferredValue:function(e){return qt().memoizedState=e},useTransition:function(){var e=vf(!1),t=e[0];return e=_y.bind(null,e[1]),qt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var o=we,s=qt();if(Ce){if(n===void 0)throw Error(V(407));n=n()}else{if(n=t(),Fe===null)throw Error(V(349));gr&30||Ym(o,t,n)}s.memoizedState=n;var i={value:n,getSnapshot:t};return s.queue=i,gf(Qm.bind(null,o,i,e),[e]),o.flags|=2048,ms(9,Gm.bind(null,o,i,n,t),void 0,null),n},useId:function(){var e=qt(),t=Fe.identifierPrefix;if(Ce){var n=on,o=rn;n=(o&~(1<<32-Rt(o)-1)).toString(32)+n,t=":"+t+"R"+n,n=fs++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Py++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ay={readContext:wt,useCallback:oh,useContext:wt,useEffect:Xu,useImperativeHandle:rh,useInsertionEffect:eh,useLayoutEffect:th,useMemo:sh,useReducer:Il,useRef:Zm,useState:function(){return Il(ps)},useDebugValue:Ju,useDeferredValue:function(e){var t=St();return ih(t,Oe.memoizedState,e)},useTransition:function(){var e=Il(ps)[0],t=St().memoizedState;return[e,t]},useMutableSource:Hm,useSyncExternalStore:Km,useId:ah,unstable_isNewReconciler:!1},Iy={readContext:wt,useCallback:oh,useContext:wt,useEffect:Xu,useImperativeHandle:rh,useInsertionEffect:eh,useLayoutEffect:th,useMemo:sh,useReducer:Dl,useRef:Zm,useState:function(){return Dl(ps)},useDebugValue:Ju,useDeferredValue:function(e){var t=St();return Oe===null?t.memoizedState=e:ih(t,Oe.memoizedState,e)},useTransition:function(){var e=Dl(ps)[0],t=St().memoizedState;return[e,t]},useMutableSource:Hm,useSyncExternalStore:Km,useId:ah,unstable_isNewReconciler:!1};function Pt(e,t){if(e&&e.defaultProps){t=Se({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Rc(e,t,n,o){t=e.memoizedState,n=n(o,t),n=n==null?t:Se({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ea={isMounted:function(e){return(e=e._reactInternals)?wr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var o=Qe(),s=Ln(e),i=sn(o,s);i.payload=t,n!=null&&(i.callback=n),t=Fn(e,i,s),t!==null&&(At(t,e,s,o),fi(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var o=Qe(),s=Ln(e),i=sn(o,s);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Fn(e,i,s),t!==null&&(At(t,e,s,o),fi(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qe(),o=Ln(e),s=sn(n,o);s.tag=2,t!=null&&(s.callback=t),t=Fn(e,s,o),t!==null&&(At(t,e,o,n),fi(t,e,o))}};function xf(e,t,n,o,s,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,i,a):t.prototype&&t.prototype.isPureReactComponent?!is(n,o)||!is(s,i):!0}function dh(e,t,n){var o=!1,s=Wn,i=t.contextType;return typeof i=="object"&&i!==null?i=wt(i):(s=ot(t)?hr:He.current,o=t.contextTypes,i=(o=o!=null)?to(e,s):Wn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ea,e.stateNode=t,t._reactInternals=e,o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=i),t}function yf(e,t,n,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&Ea.enqueueReplaceState(t,t.state,null)}function Ac(e,t,n,o){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs={},qu(e);var i=t.contextType;typeof i=="object"&&i!==null?s.context=wt(i):(i=ot(t)?hr:He.current,s.context=to(e,i)),s.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Rc(e,t,i,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&Ea.enqueueReplaceState(s,s.state,null),Yi(e,n,s,o),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function so(e,t){try{var n="",o=t;do n+=lx(o),o=o.return;while(o);var s=n}catch(i){s=`
|
|
Error generating stack: `+i.message+`
|
|
`+i.stack}return{value:e,source:t,stack:s,digest:null}}function Fl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ic(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Dy=typeof WeakMap=="function"?WeakMap:Map;function fh(e,t,n){n=sn(-1,n),n.tag=3,n.payload={element:null};var o=t.value;return n.callback=function(){Zi||(Zi=!0,qc=o),Ic(e,t)},n}function ph(e,t,n){n=sn(-1,n),n.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var s=t.value;n.payload=function(){return o(s)},n.callback=function(){Ic(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Ic(e,t),typeof o!="function"&&(Mn===null?Mn=new Set([this]):Mn.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function jf(e,t,n){var o=e.pingCache;if(o===null){o=e.pingCache=new Dy;var s=new Set;o.set(t,s)}else s=o.get(t),s===void 0&&(s=new Set,o.set(t,s));s.has(n)||(s.add(n),e=Gy.bind(null,e,t,n),t.then(e,e))}function Nf(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Cf(e,t,n,o,s){return e.mode&1?(e.flags|=65536,e.lanes=s,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=sn(-1,1),t.tag=2,Fn(n,t,1))),n.lanes|=1),e)}var Fy=pn.ReactCurrentOwner,nt=!1;function Ye(e,t,n,o){t.child=e===null?Wm(t,null,n,o):ro(t,e.child,n,o)}function bf(e,t,n,o,s){n=n.render;var i=t.ref;return Jr(t,s),o=Gu(e,t,n,o,i,s),n=Qu(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,un(e,t,s)):(Ce&&n&&Mu(t),t.flags|=1,Ye(e,t,o,s),t.child)}function wf(e,t,n,o,s){if(e===null){var i=n.type;return typeof i=="function"&&!id(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,mh(e,t,i,o,s)):(e=xi(n.type,null,o,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&s)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:is,n(a,o)&&e.ref===t.ref)return un(e,t,s)}return t.flags|=1,e=Bn(i,o),e.ref=t.ref,e.return=t,t.child=e}function mh(e,t,n,o,s){if(e!==null){var i=e.memoizedProps;if(is(i,o)&&e.ref===t.ref)if(nt=!1,t.pendingProps=o=i,(e.lanes&s)!==0)e.flags&131072&&(nt=!0);else return t.lanes=e.lanes,un(e,t,s)}return Dc(e,t,n,o,s)}function hh(e,t,n){var o=t.pendingProps,s=o.children,i=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ge($r,lt),lt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ge($r,lt),lt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=i!==null?i.baseLanes:n,ge($r,lt),lt|=o}else i!==null?(o=i.baseLanes|n,t.memoizedState=null):o=n,ge($r,lt),lt|=o;return Ye(e,t,s,n),t.child}function vh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Dc(e,t,n,o,s){var i=ot(n)?hr:He.current;return i=to(t,i),Jr(t,s),n=Gu(e,t,n,o,i,s),o=Qu(),e!==null&&!nt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,un(e,t,s)):(Ce&&o&&Mu(t),t.flags|=1,Ye(e,t,n,s),t.child)}function Sf(e,t,n,o,s){if(ot(n)){var i=!0;Ui(t)}else i=!1;if(Jr(t,s),t.stateNode===null)hi(e,t),dh(t,n,o),Ac(t,n,o,s),o=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=wt(c):(c=ot(n)?hr:He.current,c=to(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==o||u!==c)&&yf(t,a,o,c),Nn=!1;var g=t.memoizedState;a.state=g,Yi(t,o,a,s),u=t.memoizedState,l!==o||g!==u||rt.current||Nn?(typeof d=="function"&&(Rc(t,n,d,o),u=t.memoizedState),(l=Nn||xf(t,n,l,o,g,u,c))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=u),a.props=o,a.state=u,a.context=c,o=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{a=t.stateNode,qm(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Pt(t.type,l),a.props=c,f=t.pendingProps,g=a.context,u=n.contextType,typeof u=="object"&&u!==null?u=wt(u):(u=ot(n)?hr:He.current,u=to(t,u));var C=n.getDerivedStateFromProps;(d=typeof C=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==f||g!==u)&&yf(t,a,o,u),Nn=!1,g=t.memoizedState,a.state=g,Yi(t,o,a,s);var x=t.memoizedState;l!==f||g!==x||rt.current||Nn?(typeof C=="function"&&(Rc(t,n,C,o),x=t.memoizedState),(c=Nn||xf(t,n,c,o,g,x,u)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(o,x,u),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(o,x,u)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=x),a.props=o,a.state=x,a.context=u,o=c):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),o=!1)}return Fc(e,t,n,o,i,s)}function Fc(e,t,n,o,s,i){vh(e,t);var a=(t.flags&128)!==0;if(!o&&!a)return s&&uf(t,n,!1),un(e,t,i);o=t.stateNode,Fy.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&a?(t.child=ro(t,e.child,null,i),t.child=ro(t,null,l,i)):Ye(e,t,l,i),t.memoizedState=o.state,s&&uf(t,n,!0),t.child}function gh(e){var t=e.stateNode;t.pendingContext?cf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&cf(e,t.context,!1),Vu(e,t.containerInfo)}function Ef(e,t,n,o,s){return no(),Bu(s),t.flags|=256,Ye(e,t,n,o),t.child}var Mc={dehydrated:null,treeContext:null,retryLane:0};function Lc(e){return{baseLanes:e,cachePool:null,transitions:null}}function xh(e,t,n){var o=t.pendingProps,s=be.current,i=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(s&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(s|=1),ge(be,s&1),e===null)return Oc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=o.children,e=o.fallback,i?(o=t.mode,i=t.child,a={mode:"hidden",children:a},!(o&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=_a(a,o,0,null),e=dr(e,o,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Lc(n),t.memoizedState=Mc,e):Zu(t,a));if(s=e.memoizedState,s!==null&&(l=s.dehydrated,l!==null))return My(e,t,a,o,l,s,n);if(i){i=o.fallback,a=t.mode,s=e.child,l=s.sibling;var u={mode:"hidden",children:o.children};return!(a&1)&&t.child!==s?(o=t.child,o.childLanes=0,o.pendingProps=u,t.deletions=null):(o=Bn(s,u),o.subtreeFlags=s.subtreeFlags&14680064),l!==null?i=Bn(l,i):(i=dr(i,a,n,null),i.flags|=2),i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,a=e.child.memoizedState,a=a===null?Lc(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=Mc,o}return i=e.child,e=i.sibling,o=Bn(i,{mode:"visible",children:o.children}),!(t.mode&1)&&(o.lanes=n),o.return=t,o.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Zu(e,t){return t=_a({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Xs(e,t,n,o){return o!==null&&Bu(o),ro(t,e.child,null,n),e=Zu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function My(e,t,n,o,s,i,a){if(n)return t.flags&256?(t.flags&=-257,o=Fl(Error(V(422))),Xs(e,t,a,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=o.fallback,s=t.mode,o=_a({mode:"visible",children:o.children},s,0,null),i=dr(i,s,a,null),i.flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,t.mode&1&&ro(t,e.child,null,a),t.child.memoizedState=Lc(a),t.memoizedState=Mc,i);if(!(t.mode&1))return Xs(e,t,a,null);if(s.data==="$!"){if(o=s.nextSibling&&s.nextSibling.dataset,o)var l=o.dgst;return o=l,i=Error(V(419)),o=Fl(i,o,void 0),Xs(e,t,a,o)}if(l=(a&e.childLanes)!==0,nt||l){if(o=Fe,o!==null){switch(a&-a){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}s=s&(o.suspendedLanes|a)?0:s,s!==0&&s!==i.retryLane&&(i.retryLane=s,cn(e,s),At(o,e,s,-1))}return sd(),o=Fl(Error(V(421))),Xs(e,t,a,o)}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=Qy.bind(null,e),s._reactRetry=t,null):(e=i.treeContext,ct=Dn(s.nextSibling),ft=t,Ce=!0,Ot=null,e!==null&&(jt[Nt++]=rn,jt[Nt++]=on,jt[Nt++]=vr,rn=e.id,on=e.overflow,vr=t),t=Zu(t,o.children),t.flags|=4096,t)}function kf(e,t,n){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Tc(e.return,t,n)}function Ml(e,t,n,o,s){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:s}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=o,i.tail=n,i.tailMode=s)}function yh(e,t,n){var o=t.pendingProps,s=o.revealOrder,i=o.tail;if(Ye(e,t,o.children,n),o=be.current,o&2)o=o&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&kf(e,n,t);else if(e.tag===19)kf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}if(ge(be,o),!(t.mode&1))t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)e=n.alternate,e!==null&&Gi(e)===null&&(s=n),n=n.sibling;n=s,n===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),Ml(t,!1,s,n,i);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Gi(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}Ml(t,!0,n,null,i);break;case"together":Ml(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function hi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function un(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),xr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(V(153));if(t.child!==null){for(e=t.child,n=Bn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Bn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ly(e,t,n){switch(t.tag){case 3:gh(t),no();break;case 5:Vm(t);break;case 1:ot(t.type)&&Ui(t);break;case 4:Vu(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,s=t.memoizedProps.value;ge(Hi,o._currentValue),o._currentValue=s;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(ge(be,be.current&1),t.flags|=128,null):n&t.child.childLanes?xh(e,t,n):(ge(be,be.current&1),e=un(e,t,n),e!==null?e.sibling:null);ge(be,be.current&1);break;case 19:if(o=(n&t.childLanes)!==0,e.flags&128){if(o)return yh(e,t,n);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ge(be,be.current),o)break;return null;case 22:case 23:return t.lanes=0,hh(e,t,n)}return un(e,t,n)}var jh,Bc,Nh,Ch;jh=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Bc=function(){};Nh=function(e,t,n,o){var s=e.memoizedProps;if(s!==o){e=t.stateNode,lr(Qt.current);var i=null;switch(n){case"input":s=ac(e,s),o=ac(e,o),i=[];break;case"select":s=Se({},s,{value:void 0}),o=Se({},o,{value:void 0}),i=[];break;case"textarea":s=uc(e,s),o=uc(e,o),i=[];break;default:typeof s.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=$i)}fc(n,o);var a;n=null;for(c in s)if(!o.hasOwnProperty(c)&&s.hasOwnProperty(c)&&s[c]!=null)if(c==="style"){var l=s[c];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Zo.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in o){var u=o[c];if(l=s!=null?s[c]:void 0,o.hasOwnProperty(c)&&u!==l&&(u!=null||l!=null))if(c==="style")if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(i||(i=[]),i.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,l=l?l.__html:void 0,u!=null&&l!==u&&(i=i||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(i=i||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Zo.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&ye("scroll",e),i||l===u||(i=[])):(i=i||[]).push(c,u))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};Ch=function(e,t,n,o){n!==o&&(t.flags|=4)};function Oo(e,t){if(!Ce)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;n!==null;)n.alternate!==null&&(o=n),n=n.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,o=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags&14680064,o|=s.flags&14680064,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,o|=s.subtreeFlags,o|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=o,e.childLanes=n,t}function By(e,t,n){var o=t.pendingProps;switch(Lu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return ot(t.type)&&Wi(),Ue(t),null;case 3:return o=t.stateNode,oo(),je(rt),je(He),Ku(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Gs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ot!==null&&(Kc(Ot),Ot=null))),Bc(e,t),Ue(t),null;case 5:Hu(t);var s=lr(ds.current);if(n=t.type,e!==null&&t.stateNode!=null)Nh(e,t,n,o,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(V(166));return Ue(t),null}if(e=lr(Qt.current),Gs(t)){o=t.stateNode,n=t.type;var i=t.memoizedProps;switch(o[Ht]=t,o[cs]=i,e=(t.mode&1)!==0,n){case"dialog":ye("cancel",o),ye("close",o);break;case"iframe":case"object":case"embed":ye("load",o);break;case"video":case"audio":for(s=0;s<Fo.length;s++)ye(Fo[s],o);break;case"source":ye("error",o);break;case"img":case"image":case"link":ye("error",o),ye("load",o);break;case"details":ye("toggle",o);break;case"input":Dd(o,i),ye("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!i.multiple},ye("invalid",o);break;case"textarea":Md(o,i),ye("invalid",o)}fc(n,i),s=null;for(var a in i)if(i.hasOwnProperty(a)){var l=i[a];a==="children"?typeof l=="string"?o.textContent!==l&&(i.suppressHydrationWarning!==!0&&Ys(o.textContent,l,e),s=["children",l]):typeof l=="number"&&o.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Ys(o.textContent,l,e),s=["children",""+l]):Zo.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&ye("scroll",o)}switch(n){case"input":zs(o),Fd(o,i,!0);break;case"textarea":zs(o),Ld(o);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(o.onclick=$i)}o=s,t.updateQueue=o,o!==null&&(t.flags|=4)}else{a=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Qp(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=a.createElement(n,{is:o.is}):(e=a.createElement(n),n==="select"&&(a=e,o.multiple?a.multiple=!0:o.size&&(a.size=o.size))):e=a.createElementNS(e,n),e[Ht]=t,e[cs]=o,jh(e,t,!1,!1),t.stateNode=e;e:{switch(a=pc(n,o),n){case"dialog":ye("cancel",e),ye("close",e),s=o;break;case"iframe":case"object":case"embed":ye("load",e),s=o;break;case"video":case"audio":for(s=0;s<Fo.length;s++)ye(Fo[s],e);s=o;break;case"source":ye("error",e),s=o;break;case"img":case"image":case"link":ye("error",e),ye("load",e),s=o;break;case"details":ye("toggle",e),s=o;break;case"input":Dd(e,o),s=ac(e,o),ye("invalid",e);break;case"option":s=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},s=Se({},o,{value:void 0}),ye("invalid",e);break;case"textarea":Md(e,o),s=uc(e,o),ye("invalid",e);break;default:s=o}fc(n,s),l=s;for(i in l)if(l.hasOwnProperty(i)){var u=l[i];i==="style"?Zp(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Xp(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&es(e,u):typeof u=="number"&&es(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Zo.hasOwnProperty(i)?u!=null&&i==="onScroll"&&ye("scroll",e):u!=null&&bu(e,i,u,a))}switch(n){case"input":zs(e),Fd(e,o,!1);break;case"textarea":zs(e),Ld(e);break;case"option":o.value!=null&&e.setAttribute("value",""+$n(o.value));break;case"select":e.multiple=!!o.multiple,i=o.value,i!=null?Yr(e,!!o.multiple,i,!1):o.defaultValue!=null&&Yr(e,!!o.multiple,o.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=$i)}switch(n){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ue(t),null;case 6:if(e&&t.stateNode!=null)Ch(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(V(166));if(n=lr(ds.current),lr(Qt.current),Gs(t)){if(o=t.stateNode,n=t.memoizedProps,o[Ht]=t,(i=o.nodeValue!==n)&&(e=ft,e!==null))switch(e.tag){case 3:Ys(o.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ys(o.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else o=(n.nodeType===9?n:n.ownerDocument).createTextNode(o),o[Ht]=t,t.stateNode=o}return Ue(t),null;case 13:if(je(be),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ce&&ct!==null&&t.mode&1&&!(t.flags&128))zm(),no(),t.flags|=98560,i=!1;else if(i=Gs(t),o!==null&&o.dehydrated!==null){if(e===null){if(!i)throw Error(V(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(V(317));i[Ht]=t}else no(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ue(t),i=!1}else Ot!==null&&(Kc(Ot),Ot=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,t.mode&1&&(e===null||be.current&1?Te===0&&(Te=3):sd())),t.updateQueue!==null&&(t.flags|=4),Ue(t),null);case 4:return oo(),Bc(e,t),e===null&&as(t.stateNode.containerInfo),Ue(t),null;case 10:return Wu(t.type._context),Ue(t),null;case 17:return ot(t.type)&&Wi(),Ue(t),null;case 19:if(je(be),i=t.memoizedState,i===null)return Ue(t),null;if(o=(t.flags&128)!==0,a=i.rendering,a===null)if(o)Oo(i,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=Gi(e),a!==null){for(t.flags|=128,Oo(i,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=n,n=t.child;n!==null;)i=n,e=o,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ge(be,be.current&1|2),t.child}e=e.sibling}i.tail!==null&&Pe()>io&&(t.flags|=128,o=!0,Oo(i,!1),t.lanes=4194304)}else{if(!o)if(e=Gi(a),e!==null){if(t.flags|=128,o=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Oo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Ce)return Ue(t),null}else 2*Pe()-i.renderingStartTime>io&&n!==1073741824&&(t.flags|=128,o=!0,Oo(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Pe(),t.sibling=null,n=be.current,ge(be,o?n&1|2:n&1),t):(Ue(t),null);case 22:case 23:return od(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&t.mode&1?lt&1073741824&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function zy(e,t){switch(Lu(t),t.tag){case 1:return ot(t.type)&&Wi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return oo(),je(rt),je(He),Ku(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Hu(t),null;case 13:if(je(be),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));no()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return je(be),null;case 4:return oo(),null;case 10:return Wu(t.type._context),null;case 22:case 23:return od(),null;case 24:return null;default:return null}}var Js=!1,qe=!1,$y=typeof WeakSet=="function"?WeakSet:Set,J=null;function zr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(o){Ee(e,t,o)}else n.current=null}function zc(e,t,n){try{n()}catch(o){Ee(e,t,o)}}var Pf=!1;function Wy(e,t){if(bc=Li,e=km(),Fu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var s=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,u=-1,c=0,d=0,f=e,g=null;t:for(;;){for(var C;f!==n||s!==0&&f.nodeType!==3||(l=a+s),f!==i||o!==0&&f.nodeType!==3||(u=a+o),f.nodeType===3&&(a+=f.nodeValue.length),(C=f.firstChild)!==null;)g=f,f=C;for(;;){if(f===e)break t;if(g===n&&++c===s&&(l=a),g===i&&++d===o&&(u=a),(C=f.nextSibling)!==null)break;f=g,g=f.parentNode}f=C}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(wc={focusedElem:e,selectionRange:n},Li=!1,J=t;J!==null;)if(t=J,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var N=x.memoizedProps,b=x.memoizedState,h=t.stateNode,v=h.getSnapshotBeforeUpdate(t.elementType===t.type?N:Pt(t.type,N),b);h.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(y){Ee(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return x=Pf,Pf=!1,x}function Vo(e,t,n){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var s=o=o.next;do{if((s.tag&e)===e){var i=s.destroy;s.destroy=void 0,i!==void 0&&zc(t,n,i)}s=s.next}while(s!==o)}}function ka(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var o=n.create;n.destroy=o()}n=n.next}while(n!==t)}}function $c(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function bh(e){var t=e.alternate;t!==null&&(e.alternate=null,bh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ht],delete t[cs],delete t[kc],delete t[wy],delete t[Sy])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function wh(e){return e.tag===5||e.tag===3||e.tag===4}function _f(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Wc(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=$i));else if(o!==4&&(e=e.child,e!==null))for(Wc(e,t,n),e=e.sibling;e!==null;)Wc(e,t,n),e=e.sibling}function Uc(e,t,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(Uc(e,t,n),e=e.sibling;e!==null;)Uc(e,t,n),e=e.sibling}var Be=null,_t=!1;function xn(e,t,n){for(n=n.child;n!==null;)Sh(e,t,n),n=n.sibling}function Sh(e,t,n){if(Gt&&typeof Gt.onCommitFiberUnmount=="function")try{Gt.onCommitFiberUnmount(ya,n)}catch{}switch(n.tag){case 5:qe||zr(n,t);case 6:var o=Be,s=_t;Be=null,xn(e,t,n),Be=o,_t=s,Be!==null&&(_t?(e=Be,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Be.removeChild(n.stateNode));break;case 18:Be!==null&&(_t?(e=Be,n=n.stateNode,e.nodeType===8?Ol(e.parentNode,n):e.nodeType===1&&Ol(e,n),os(e)):Ol(Be,n.stateNode));break;case 4:o=Be,s=_t,Be=n.stateNode.containerInfo,_t=!0,xn(e,t,n),Be=o,_t=s;break;case 0:case 11:case 14:case 15:if(!qe&&(o=n.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){s=o=o.next;do{var i=s,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&zc(n,t,a),s=s.next}while(s!==o)}xn(e,t,n);break;case 1:if(!qe&&(zr(n,t),o=n.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=n.memoizedProps,o.state=n.memoizedState,o.componentWillUnmount()}catch(l){Ee(n,t,l)}xn(e,t,n);break;case 21:xn(e,t,n);break;case 22:n.mode&1?(qe=(o=qe)||n.memoizedState!==null,xn(e,t,n),qe=o):xn(e,t,n);break;default:xn(e,t,n)}}function Of(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $y),t.forEach(function(o){var s=Xy.bind(null,e,o);n.has(o)||(n.add(o),o.then(s,s))})}}function kt(e,t){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var s=n[o];try{var i=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:Be=l.stateNode,_t=!1;break e;case 3:Be=l.stateNode.containerInfo,_t=!0;break e;case 4:Be=l.stateNode.containerInfo,_t=!0;break e}l=l.return}if(Be===null)throw Error(V(160));Sh(i,a,s),Be=null,_t=!1;var u=s.alternate;u!==null&&(u.return=null),s.return=null}catch(c){Ee(s,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Eh(t,e),t=t.sibling}function Eh(e,t){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(kt(t,e),Ut(e),o&4){try{Vo(3,e,e.return),ka(3,e)}catch(N){Ee(e,e.return,N)}try{Vo(5,e,e.return)}catch(N){Ee(e,e.return,N)}}break;case 1:kt(t,e),Ut(e),o&512&&n!==null&&zr(n,n.return);break;case 5:if(kt(t,e),Ut(e),o&512&&n!==null&&zr(n,n.return),e.flags&32){var s=e.stateNode;try{es(s,"")}catch(N){Ee(e,e.return,N)}}if(o&4&&(s=e.stateNode,s!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,l=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&Yp(s,i),pc(l,a);var c=pc(l,i);for(a=0;a<u.length;a+=2){var d=u[a],f=u[a+1];d==="style"?Zp(s,f):d==="dangerouslySetInnerHTML"?Xp(s,f):d==="children"?es(s,f):bu(s,d,f,c)}switch(l){case"input":lc(s,i);break;case"textarea":Gp(s,i);break;case"select":var g=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!i.multiple;var C=i.value;C!=null?Yr(s,!!i.multiple,C,!1):g!==!!i.multiple&&(i.defaultValue!=null?Yr(s,!!i.multiple,i.defaultValue,!0):Yr(s,!!i.multiple,i.multiple?[]:"",!1))}s[cs]=i}catch(N){Ee(e,e.return,N)}}break;case 6:if(kt(t,e),Ut(e),o&4){if(e.stateNode===null)throw Error(V(162));s=e.stateNode,i=e.memoizedProps;try{s.nodeValue=i}catch(N){Ee(e,e.return,N)}}break;case 3:if(kt(t,e),Ut(e),o&4&&n!==null&&n.memoizedState.isDehydrated)try{os(t.containerInfo)}catch(N){Ee(e,e.return,N)}break;case 4:kt(t,e),Ut(e);break;case 13:kt(t,e),Ut(e),s=e.child,s.flags&8192&&(i=s.memoizedState!==null,s.stateNode.isHidden=i,!i||s.alternate!==null&&s.alternate.memoizedState!==null||(nd=Pe())),o&4&&Of(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(qe=(c=qe)||d,kt(t,e),qe=c):kt(t,e),Ut(e),o&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(J=e,d=e.child;d!==null;){for(f=J=d;J!==null;){switch(g=J,C=g.child,g.tag){case 0:case 11:case 14:case 15:Vo(4,g,g.return);break;case 1:zr(g,g.return);var x=g.stateNode;if(typeof x.componentWillUnmount=="function"){o=g,n=g.return;try{t=o,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(N){Ee(o,n,N)}}break;case 5:zr(g,g.return);break;case 22:if(g.memoizedState!==null){Rf(f);continue}}C!==null?(C.return=g,J=C):Rf(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{s=f.stateNode,c?(i=s.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=f.stateNode,u=f.memoizedProps.style,a=u!=null&&u.hasOwnProperty("display")?u.display:null,l.style.display=Jp("display",a))}catch(N){Ee(e,e.return,N)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(N){Ee(e,e.return,N)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:kt(t,e),Ut(e),o&4&&Of(e);break;case 21:break;default:kt(t,e),Ut(e)}}function Ut(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(wh(n)){var o=n;break e}n=n.return}throw Error(V(160))}switch(o.tag){case 5:var s=o.stateNode;o.flags&32&&(es(s,""),o.flags&=-33);var i=_f(e);Uc(e,i,s);break;case 3:case 4:var a=o.stateNode.containerInfo,l=_f(e);Wc(e,l,a);break;default:throw Error(V(161))}}catch(u){Ee(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Uy(e,t,n){J=e,kh(e)}function kh(e,t,n){for(var o=(e.mode&1)!==0;J!==null;){var s=J,i=s.child;if(s.tag===22&&o){var a=s.memoizedState!==null||Js;if(!a){var l=s.alternate,u=l!==null&&l.memoizedState!==null||qe;l=Js;var c=qe;if(Js=a,(qe=u)&&!c)for(J=s;J!==null;)a=J,u=a.child,a.tag===22&&a.memoizedState!==null?Af(s):u!==null?(u.return=a,J=u):Af(s);for(;i!==null;)J=i,kh(i),i=i.sibling;J=s,Js=l,qe=c}Tf(e)}else s.subtreeFlags&8772&&i!==null?(i.return=s,J=i):Tf(e)}}function Tf(e){for(;J!==null;){var t=J;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:qe||ka(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!qe)if(n===null)o.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Pt(t.type,n.memoizedProps);o.componentDidUpdate(s,n.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&hf(t,i,o);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}hf(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var d=c.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&os(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}qe||t.flags&512&&$c(t)}catch(g){Ee(t,t.return,g)}}if(t===e){J=null;break}if(n=t.sibling,n!==null){n.return=t.return,J=n;break}J=t.return}}function Rf(e){for(;J!==null;){var t=J;if(t===e){J=null;break}var n=t.sibling;if(n!==null){n.return=t.return,J=n;break}J=t.return}}function Af(e){for(;J!==null;){var t=J;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ka(4,t)}catch(u){Ee(t,n,u)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var s=t.return;try{o.componentDidMount()}catch(u){Ee(t,s,u)}}var i=t.return;try{$c(t)}catch(u){Ee(t,i,u)}break;case 5:var a=t.return;try{$c(t)}catch(u){Ee(t,a,u)}}}catch(u){Ee(t,t.return,u)}if(t===e){J=null;break}var l=t.sibling;if(l!==null){l.return=t.return,J=l;break}J=t.return}}var qy=Math.ceil,Ji=pn.ReactCurrentDispatcher,ed=pn.ReactCurrentOwner,bt=pn.ReactCurrentBatchConfig,fe=0,Fe=null,_e=null,ze=0,lt=0,$r=Vn(0),Te=0,hs=null,xr=0,Pa=0,td=0,Ho=null,tt=null,nd=0,io=1/0,en=null,Zi=!1,qc=null,Mn=null,Zs=!1,_n=null,ea=0,Ko=0,Vc=null,vi=-1,gi=0;function Qe(){return fe&6?Pe():vi!==-1?vi:vi=Pe()}function Ln(e){return e.mode&1?fe&2&&ze!==0?ze&-ze:ky.transition!==null?(gi===0&&(gi=dm()),gi):(e=me,e!==0||(e=window.event,e=e===void 0?16:xm(e.type)),e):1}function At(e,t,n,o){if(50<Ko)throw Ko=0,Vc=null,Error(V(185));Ss(e,n,o),(!(fe&2)||e!==Fe)&&(e===Fe&&(!(fe&2)&&(Pa|=n),Te===4&&kn(e,ze)),st(e,o),n===1&&fe===0&&!(t.mode&1)&&(io=Pe()+500,wa&&Hn()))}function st(e,t){var n=e.callbackNode;kx(e,t);var o=Mi(e,e===Fe?ze:0);if(o===0)n!==null&&$d(n),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(n!=null&&$d(n),t===1)e.tag===0?Ey(If.bind(null,e)):Mm(If.bind(null,e)),Cy(function(){!(fe&6)&&Hn()}),n=null;else{switch(fm(o)){case 1:n=Pu;break;case 4:n=cm;break;case 16:n=Fi;break;case 536870912:n=um;break;default:n=Fi}n=Dh(n,Ph.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ph(e,t){if(vi=-1,gi=0,fe&6)throw Error(V(327));var n=e.callbackNode;if(Zr()&&e.callbackNode!==n)return null;var o=Mi(e,e===Fe?ze:0);if(o===0)return null;if(o&30||o&e.expiredLanes||t)t=ta(e,o);else{t=o;var s=fe;fe|=2;var i=Oh();(Fe!==e||ze!==t)&&(en=null,io=Pe()+500,ur(e,t));do try{Ky();break}catch(l){_h(e,l)}while(!0);$u(),Ji.current=i,fe=s,_e!==null?t=0:(Fe=null,ze=0,t=Te)}if(t!==0){if(t===2&&(s=xc(e),s!==0&&(o=s,t=Hc(e,s))),t===1)throw n=hs,ur(e,0),kn(e,o),st(e,Pe()),n;if(t===6)kn(e,o);else{if(s=e.current.alternate,!(o&30)&&!Vy(s)&&(t=ta(e,o),t===2&&(i=xc(e),i!==0&&(o=i,t=Hc(e,i))),t===1))throw n=hs,ur(e,0),kn(e,o),st(e,Pe()),n;switch(e.finishedWork=s,e.finishedLanes=o,t){case 0:case 1:throw Error(V(345));case 2:tr(e,tt,en);break;case 3:if(kn(e,o),(o&130023424)===o&&(t=nd+500-Pe(),10<t)){if(Mi(e,0)!==0)break;if(s=e.suspendedLanes,(s&o)!==o){Qe(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Ec(tr.bind(null,e,tt,en),t);break}tr(e,tt,en);break;case 4:if(kn(e,o),(o&4194240)===o)break;for(t=e.eventTimes,s=-1;0<o;){var a=31-Rt(o);i=1<<a,a=t[a],a>s&&(s=a),o&=~i}if(o=s,o=Pe()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*qy(o/1960))-o,10<o){e.timeoutHandle=Ec(tr.bind(null,e,tt,en),o);break}tr(e,tt,en);break;case 5:tr(e,tt,en);break;default:throw Error(V(329))}}}return st(e,Pe()),e.callbackNode===n?Ph.bind(null,e):null}function Hc(e,t){var n=Ho;return e.current.memoizedState.isDehydrated&&(ur(e,t).flags|=256),e=ta(e,t),e!==2&&(t=tt,tt=n,t!==null&&Kc(t)),e}function Kc(e){tt===null?tt=e:tt.push.apply(tt,e)}function Vy(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var o=0;o<n.length;o++){var s=n[o],i=s.getSnapshot;s=s.value;try{if(!Dt(i(),s))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function kn(e,t){for(t&=~td,t&=~Pa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Rt(t),o=1<<n;e[n]=-1,t&=~o}}function If(e){if(fe&6)throw Error(V(327));Zr();var t=Mi(e,0);if(!(t&1))return st(e,Pe()),null;var n=ta(e,t);if(e.tag!==0&&n===2){var o=xc(e);o!==0&&(t=o,n=Hc(e,o))}if(n===1)throw n=hs,ur(e,0),kn(e,t),st(e,Pe()),n;if(n===6)throw Error(V(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,tr(e,tt,en),st(e,Pe()),null}function rd(e,t){var n=fe;fe|=1;try{return e(t)}finally{fe=n,fe===0&&(io=Pe()+500,wa&&Hn())}}function yr(e){_n!==null&&_n.tag===0&&!(fe&6)&&Zr();var t=fe;fe|=1;var n=bt.transition,o=me;try{if(bt.transition=null,me=1,e)return e()}finally{me=o,bt.transition=n,fe=t,!(fe&6)&&Hn()}}function od(){lt=$r.current,je($r)}function ur(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ny(n)),_e!==null)for(n=_e.return;n!==null;){var o=n;switch(Lu(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Wi();break;case 3:oo(),je(rt),je(He),Ku();break;case 5:Hu(o);break;case 4:oo();break;case 13:je(be);break;case 19:je(be);break;case 10:Wu(o.type._context);break;case 22:case 23:od()}n=n.return}if(Fe=e,_e=e=Bn(e.current,null),ze=lt=t,Te=0,hs=null,td=Pa=xr=0,tt=Ho=null,ar!==null){for(t=0;t<ar.length;t++)if(n=ar[t],o=n.interleaved,o!==null){n.interleaved=null;var s=o.next,i=n.pending;if(i!==null){var a=i.next;i.next=s,o.next=a}n.pending=o}ar=null}return e}function _h(e,t){do{var n=_e;try{if($u(),pi.current=Xi,Qi){for(var o=we.memoizedState;o!==null;){var s=o.queue;s!==null&&(s.pending=null),o=o.next}Qi=!1}if(gr=0,De=Oe=we=null,qo=!1,fs=0,ed.current=null,n===null||n.return===null){Te=1,hs=t,_e=null;break}e:{var i=e,a=n.return,l=n,u=t;if(t=ze,l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,d=l,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var g=d.alternate;g?(d.updateQueue=g.updateQueue,d.memoizedState=g.memoizedState,d.lanes=g.lanes):(d.updateQueue=null,d.memoizedState=null)}var C=Nf(a);if(C!==null){C.flags&=-257,Cf(C,a,l,i,t),C.mode&1&&jf(i,c,t),t=C,u=c;var x=t.updateQueue;if(x===null){var N=new Set;N.add(u),t.updateQueue=N}else x.add(u);break e}else{if(!(t&1)){jf(i,c,t),sd();break e}u=Error(V(426))}}else if(Ce&&l.mode&1){var b=Nf(a);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Cf(b,a,l,i,t),Bu(so(u,l));break e}}i=u=so(u,l),Te!==4&&(Te=2),Ho===null?Ho=[i]:Ho.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=fh(i,u,t);mf(i,h);break e;case 1:l=u;var v=i.type,m=i.stateNode;if(!(i.flags&128)&&(typeof v.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Mn===null||!Mn.has(m)))){i.flags|=65536,t&=-t,i.lanes|=t;var y=ph(i,l,t);mf(i,y);break e}}i=i.return}while(i!==null)}Rh(n)}catch(E){t=E,_e===n&&n!==null&&(_e=n=n.return);continue}break}while(!0)}function Oh(){var e=Ji.current;return Ji.current=Xi,e===null?Xi:e}function sd(){(Te===0||Te===3||Te===2)&&(Te=4),Fe===null||!(xr&268435455)&&!(Pa&268435455)||kn(Fe,ze)}function ta(e,t){var n=fe;fe|=2;var o=Oh();(Fe!==e||ze!==t)&&(en=null,ur(e,t));do try{Hy();break}catch(s){_h(e,s)}while(!0);if($u(),fe=n,Ji.current=o,_e!==null)throw Error(V(261));return Fe=null,ze=0,Te}function Hy(){for(;_e!==null;)Th(_e)}function Ky(){for(;_e!==null&&!xx();)Th(_e)}function Th(e){var t=Ih(e.alternate,e,lt);e.memoizedProps=e.pendingProps,t===null?Rh(e):_e=t,ed.current=null}function Rh(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=zy(n,t),n!==null){n.flags&=32767,_e=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,_e=null;return}}else if(n=By(n,t,lt),n!==null){_e=n;return}if(t=t.sibling,t!==null){_e=t;return}_e=t=e}while(t!==null);Te===0&&(Te=5)}function tr(e,t,n){var o=me,s=bt.transition;try{bt.transition=null,me=1,Yy(e,t,n,o)}finally{bt.transition=s,me=o}return null}function Yy(e,t,n,o){do Zr();while(_n!==null);if(fe&6)throw Error(V(327));n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(V(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Px(e,i),e===Fe&&(_e=Fe=null,ze=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Zs||(Zs=!0,Dh(Fi,function(){return Zr(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=bt.transition,bt.transition=null;var a=me;me=1;var l=fe;fe|=4,ed.current=null,Wy(e,n),Eh(n,e),my(wc),Li=!!bc,wc=bc=null,e.current=n,Uy(n),yx(),fe=l,me=a,bt.transition=i}else e.current=n;if(Zs&&(Zs=!1,_n=e,ea=s),i=e.pendingLanes,i===0&&(Mn=null),Cx(n.stateNode),st(e,Pe()),t!==null)for(o=e.onRecoverableError,n=0;n<t.length;n++)s=t[n],o(s.value,{componentStack:s.stack,digest:s.digest});if(Zi)throw Zi=!1,e=qc,qc=null,e;return ea&1&&e.tag!==0&&Zr(),i=e.pendingLanes,i&1?e===Vc?Ko++:(Ko=0,Vc=e):Ko=0,Hn(),null}function Zr(){if(_n!==null){var e=fm(ea),t=bt.transition,n=me;try{if(bt.transition=null,me=16>e?16:e,_n===null)var o=!1;else{if(e=_n,_n=null,ea=0,fe&6)throw Error(V(331));var s=fe;for(fe|=4,J=e.current;J!==null;){var i=J,a=i.child;if(J.flags&16){var l=i.deletions;if(l!==null){for(var u=0;u<l.length;u++){var c=l[u];for(J=c;J!==null;){var d=J;switch(d.tag){case 0:case 11:case 15:Vo(8,d,i)}var f=d.child;if(f!==null)f.return=d,J=f;else for(;J!==null;){d=J;var g=d.sibling,C=d.return;if(bh(d),d===c){J=null;break}if(g!==null){g.return=C,J=g;break}J=C}}}var x=i.alternate;if(x!==null){var N=x.child;if(N!==null){x.child=null;do{var b=N.sibling;N.sibling=null,N=b}while(N!==null)}}J=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,J=a;else e:for(;J!==null;){if(i=J,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Vo(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,J=h;break e}J=i.return}}var v=e.current;for(J=v;J!==null;){a=J;var m=a.child;if(a.subtreeFlags&2064&&m!==null)m.return=a,J=m;else e:for(a=v;J!==null;){if(l=J,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:ka(9,l)}}catch(E){Ee(l,l.return,E)}if(l===a){J=null;break e}var y=l.sibling;if(y!==null){y.return=l.return,J=y;break e}J=l.return}}if(fe=s,Hn(),Gt&&typeof Gt.onPostCommitFiberRoot=="function")try{Gt.onPostCommitFiberRoot(ya,e)}catch{}o=!0}return o}finally{me=n,bt.transition=t}}return!1}function Df(e,t,n){t=so(n,t),t=fh(e,t,1),e=Fn(e,t,1),t=Qe(),e!==null&&(Ss(e,1,t),st(e,t))}function Ee(e,t,n){if(e.tag===3)Df(e,e,n);else for(;t!==null;){if(t.tag===3){Df(t,e,n);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Mn===null||!Mn.has(o))){e=so(n,e),e=ph(t,e,1),t=Fn(t,e,1),e=Qe(),t!==null&&(Ss(t,1,e),st(t,e));break}}t=t.return}}function Gy(e,t,n){var o=e.pingCache;o!==null&&o.delete(t),t=Qe(),e.pingedLanes|=e.suspendedLanes&n,Fe===e&&(ze&n)===n&&(Te===4||Te===3&&(ze&130023424)===ze&&500>Pe()-nd?ur(e,0):td|=n),st(e,t)}function Ah(e,t){t===0&&(e.mode&1?(t=Us,Us<<=1,!(Us&130023424)&&(Us=4194304)):t=1);var n=Qe();e=cn(e,t),e!==null&&(Ss(e,t,n),st(e,n))}function Qy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ah(e,n)}function Xy(e,t){var n=0;switch(e.tag){case 13:var o=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(V(314))}o!==null&&o.delete(t),Ah(e,n)}var Ih;Ih=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)nt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return nt=!1,Ly(e,t,n);nt=!!(e.flags&131072)}else nt=!1,Ce&&t.flags&1048576&&Lm(t,Vi,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;hi(e,t),e=t.pendingProps;var s=to(t,He.current);Jr(t,n),s=Gu(null,t,o,e,s,n);var i=Qu();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ot(o)?(i=!0,Ui(t)):i=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,qu(t),s.updater=Ea,t.stateNode=s,s._reactInternals=t,Ac(t,o,e,n),t=Fc(null,t,o,!0,i,n)):(t.tag=0,Ce&&i&&Mu(t),Ye(null,t,s,n),t=t.child),t;case 16:o=t.elementType;e:{switch(hi(e,t),e=t.pendingProps,s=o._init,o=s(o._payload),t.type=o,s=t.tag=Zy(o),e=Pt(o,e),s){case 0:t=Dc(null,t,o,e,n);break e;case 1:t=Sf(null,t,o,e,n);break e;case 11:t=bf(null,t,o,e,n);break e;case 14:t=wf(null,t,o,Pt(o.type,e),n);break e}throw Error(V(306,o,""))}return t;case 0:return o=t.type,s=t.pendingProps,s=t.elementType===o?s:Pt(o,s),Dc(e,t,o,s,n);case 1:return o=t.type,s=t.pendingProps,s=t.elementType===o?s:Pt(o,s),Sf(e,t,o,s,n);case 3:e:{if(gh(t),e===null)throw Error(V(387));o=t.pendingProps,i=t.memoizedState,s=i.element,qm(e,t),Yi(t,o,null,n);var a=t.memoizedState;if(o=a.element,i.isDehydrated)if(i={element:o,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){s=so(Error(V(423)),t),t=Ef(e,t,o,n,s);break e}else if(o!==s){s=so(Error(V(424)),t),t=Ef(e,t,o,n,s);break e}else for(ct=Dn(t.stateNode.containerInfo.firstChild),ft=t,Ce=!0,Ot=null,n=Wm(t,null,o,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(no(),o===s){t=un(e,t,n);break e}Ye(e,t,o,n)}t=t.child}return t;case 5:return Vm(t),e===null&&Oc(t),o=t.type,s=t.pendingProps,i=e!==null?e.memoizedProps:null,a=s.children,Sc(o,s)?a=null:i!==null&&Sc(o,i)&&(t.flags|=32),vh(e,t),Ye(e,t,a,n),t.child;case 6:return e===null&&Oc(t),null;case 13:return xh(e,t,n);case 4:return Vu(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=ro(t,null,o,n):Ye(e,t,o,n),t.child;case 11:return o=t.type,s=t.pendingProps,s=t.elementType===o?s:Pt(o,s),bf(e,t,o,s,n);case 7:return Ye(e,t,t.pendingProps,n),t.child;case 8:return Ye(e,t,t.pendingProps.children,n),t.child;case 12:return Ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(o=t.type._context,s=t.pendingProps,i=t.memoizedProps,a=s.value,ge(Hi,o._currentValue),o._currentValue=a,i!==null)if(Dt(i.value,a)){if(i.children===s.children&&!rt.current){t=un(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var u=l.firstContext;u!==null;){if(u.context===o){if(i.tag===1){u=sn(-1,n&-n),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Tc(i.return,n,t),l.lanes|=n;break}u=u.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(V(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Tc(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Ye(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,o=t.pendingProps.children,Jr(t,n),s=wt(s),o=o(s),t.flags|=1,Ye(e,t,o,n),t.child;case 14:return o=t.type,s=Pt(o,t.pendingProps),s=Pt(o.type,s),wf(e,t,o,s,n);case 15:return mh(e,t,t.type,t.pendingProps,n);case 17:return o=t.type,s=t.pendingProps,s=t.elementType===o?s:Pt(o,s),hi(e,t),t.tag=1,ot(o)?(e=!0,Ui(t)):e=!1,Jr(t,n),dh(t,o,s),Ac(t,o,s,n),Fc(null,t,o,!0,e,n);case 19:return yh(e,t,n);case 22:return hh(e,t,n)}throw Error(V(156,t.tag))};function Dh(e,t){return lm(e,t)}function Jy(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ct(e,t,n,o){return new Jy(e,t,n,o)}function id(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zy(e){if(typeof e=="function")return id(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Su)return 11;if(e===Eu)return 14}return 2}function Bn(e,t){var n=e.alternate;return n===null?(n=Ct(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function xi(e,t,n,o,s,i){var a=2;if(o=e,typeof e=="function")id(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Tr:return dr(n.children,s,i,t);case wu:a=8,s|=8;break;case rc:return e=Ct(12,n,t,s|2),e.elementType=rc,e.lanes=i,e;case oc:return e=Ct(13,n,t,s),e.elementType=oc,e.lanes=i,e;case sc:return e=Ct(19,n,t,s),e.elementType=sc,e.lanes=i,e;case Vp:return _a(n,s,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Up:a=10;break e;case qp:a=9;break e;case Su:a=11;break e;case Eu:a=14;break e;case jn:a=16,o=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=Ct(a,n,t,s),t.elementType=e,t.type=o,t.lanes=i,t}function dr(e,t,n,o){return e=Ct(7,e,o,t),e.lanes=n,e}function _a(e,t,n,o){return e=Ct(22,e,o,t),e.elementType=Vp,e.lanes=n,e.stateNode={isHidden:!1},e}function Ll(e,t,n){return e=Ct(6,e,null,t),e.lanes=n,e}function Bl(e,t,n){return t=Ct(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ej(e,t,n,o,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yl(0),this.expirationTimes=yl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yl(0),this.identifierPrefix=o,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function ad(e,t,n,o,s,i,a,l,u){return e=new ej(e,t,n,l,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ct(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:o,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qu(i),e}function tj(e,t,n){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Or,key:o==null?null:""+o,children:e,containerInfo:t,implementation:n}}function Fh(e){if(!e)return Wn;e=e._reactInternals;e:{if(wr(e)!==e||e.tag!==1)throw Error(V(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ot(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(V(171))}if(e.tag===1){var n=e.type;if(ot(n))return Fm(e,n,t)}return t}function Mh(e,t,n,o,s,i,a,l,u){return e=ad(n,o,!0,e,s,i,a,l,u),e.context=Fh(null),n=e.current,o=Qe(),s=Ln(n),i=sn(o,s),i.callback=t??null,Fn(n,i,s),e.current.lanes=s,Ss(e,s,o),st(e,o),e}function Oa(e,t,n,o){var s=t.current,i=Qe(),a=Ln(s);return n=Fh(n),t.context===null?t.context=n:t.pendingContext=n,t=sn(i,a),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=Fn(s,t,a),e!==null&&(At(e,s,a,i),fi(e,s,a)),a}function na(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ff(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ld(e,t){Ff(e,t),(e=e.alternate)&&Ff(e,t)}function nj(){return null}var Lh=typeof reportError=="function"?reportError:function(e){console.error(e)};function cd(e){this._internalRoot=e}Ta.prototype.render=cd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(V(409));Oa(e,t,null,null)};Ta.prototype.unmount=cd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;yr(function(){Oa(null,e,null,null)}),t[ln]=null}};function Ta(e){this._internalRoot=e}Ta.prototype.unstable_scheduleHydration=function(e){if(e){var t=hm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<En.length&&t!==0&&t<En[n].priority;n++);En.splice(n,0,e),n===0&&gm(e)}};function ud(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ra(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Mf(){}function rj(e,t,n,o,s){if(s){if(typeof o=="function"){var i=o;o=function(){var c=na(a);i.call(c)}}var a=Mh(t,o,e,0,null,!1,!1,"",Mf);return e._reactRootContainer=a,e[ln]=a.current,as(e.nodeType===8?e.parentNode:e),yr(),a}for(;s=e.lastChild;)e.removeChild(s);if(typeof o=="function"){var l=o;o=function(){var c=na(u);l.call(c)}}var u=ad(e,0,!1,null,null,!1,!1,"",Mf);return e._reactRootContainer=u,e[ln]=u.current,as(e.nodeType===8?e.parentNode:e),yr(function(){Oa(t,u,n,o)}),u}function Aa(e,t,n,o,s){var i=n._reactRootContainer;if(i){var a=i;if(typeof s=="function"){var l=s;s=function(){var u=na(a);l.call(u)}}Oa(t,a,e,s)}else a=rj(n,t,e,s,o);return na(a)}pm=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Do(t.pendingLanes);n!==0&&(_u(t,n|1),st(t,Pe()),!(fe&6)&&(io=Pe()+500,Hn()))}break;case 13:yr(function(){var o=cn(e,1);if(o!==null){var s=Qe();At(o,e,1,s)}}),ld(e,1)}};Ou=function(e){if(e.tag===13){var t=cn(e,134217728);if(t!==null){var n=Qe();At(t,e,134217728,n)}ld(e,134217728)}};mm=function(e){if(e.tag===13){var t=Ln(e),n=cn(e,t);if(n!==null){var o=Qe();At(n,e,t,o)}ld(e,t)}};hm=function(){return me};vm=function(e,t){var n=me;try{return me=e,t()}finally{me=n}};hc=function(e,t,n){switch(t){case"input":if(lc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var s=ba(o);if(!s)throw Error(V(90));Kp(o),lc(o,s)}}}break;case"textarea":Gp(e,n);break;case"select":t=n.value,t!=null&&Yr(e,!!n.multiple,t,!1)}};nm=rd;rm=yr;var oj={usingClientEntryPoint:!1,Events:[ks,Dr,ba,em,tm,rd]},To={findFiberByHostInstance:ir,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},sj={bundleType:To.bundleType,version:To.version,rendererPackageName:To.rendererPackageName,rendererConfig:To.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:pn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=im(e),e===null?null:e.stateNode},findFiberByHostInstance:To.findFiberByHostInstance||nj,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ei=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ei.isDisabled&&ei.supportsFiber)try{ya=ei.inject(sj),Gt=ei}catch{}}gt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oj;gt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ud(t))throw Error(V(200));return tj(e,t,null,n)};gt.createRoot=function(e,t){if(!ud(e))throw Error(V(299));var n=!1,o="",s=Lh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=ad(e,1,!1,null,null,n,!1,o,s),e[ln]=t.current,as(e.nodeType===8?e.parentNode:e),new cd(t)};gt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(V(188)):(e=Object.keys(e).join(","),Error(V(268,e)));return e=im(t),e=e===null?null:e.stateNode,e};gt.flushSync=function(e){return yr(e)};gt.hydrate=function(e,t,n){if(!Ra(t))throw Error(V(200));return Aa(null,e,t,!0,n)};gt.hydrateRoot=function(e,t,n){if(!ud(e))throw Error(V(405));var o=n!=null&&n.hydratedSources||null,s=!1,i="",a=Lh;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Mh(t,null,e,1,n??null,s,!1,i,a),e[ln]=t.current,as(e),o)for(e=0;e<o.length;e++)n=o[e],s=n._getVersion,s=s(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new Ta(t)};gt.render=function(e,t,n){if(!Ra(t))throw Error(V(200));return Aa(null,e,t,!1,n)};gt.unmountComponentAtNode=function(e){if(!Ra(e))throw Error(V(40));return e._reactRootContainer?(yr(function(){Aa(null,null,e,!1,function(){e._reactRootContainer=null,e[ln]=null})}),!0):!1};gt.unstable_batchedUpdates=rd;gt.unstable_renderSubtreeIntoContainer=function(e,t,n,o){if(!Ra(n))throw Error(V(200));if(e==null||e._reactInternals===void 0)throw Error(V(38));return Aa(e,t,n,!1,o)};gt.version="18.3.1-next-f1338f8080-20240426";function Bh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bh)}catch(e){console.error(e)}}Bh(),Bp.exports=gt;var zh=Bp.exports;const Wr=bs(zh);var $h,Lf=zh;$h=Lf.createRoot,Lf.hydrateRoot;var Wh={exports:{}},Uh={};/**
|
|
* @license React
|
|
* use-sync-external-store-with-selector.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/var _s=S;function ij(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var aj=typeof Object.is=="function"?Object.is:ij,lj=_s.useSyncExternalStore,cj=_s.useRef,uj=_s.useEffect,dj=_s.useMemo,fj=_s.useDebugValue;Uh.useSyncExternalStoreWithSelector=function(e,t,n,o,s){var i=cj(null);if(i.current===null){var a={hasValue:!1,value:null};i.current=a}else a=i.current;i=dj(function(){function u(C){if(!c){if(c=!0,d=C,C=o(C),s!==void 0&&a.hasValue){var x=a.value;if(s(x,C))return f=x}return f=C}if(x=f,aj(d,C))return x;var N=o(C);return s!==void 0&&s(x,N)?x:(d=C,f=N)}var c=!1,d,f,g=n===void 0?null:n;return[function(){return u(t())},g===null?void 0:function(){return u(g())}]},[t,n,o,s]);var l=lj(e,i[0],i[1]);return uj(function(){a.hasValue=!0,a.value=l},[l]),fj(l),l};Wh.exports=Uh;var pj=Wh.exports,ut="default"in tc?I:tc,Bf=Symbol.for("react-redux-context"),zf=typeof globalThis<"u"?globalThis:{};function mj(){if(!ut.createContext)return{};const e=zf[Bf]??(zf[Bf]=new Map);let t=e.get(ut.createContext);return t||(t=ut.createContext(null),e.set(ut.createContext,t)),t}var Un=mj(),hj=()=>{throw new Error("uSES not initialized!")};function dd(e=Un){return function(){return ut.useContext(e)}}var qh=dd(),Vh=hj,vj=e=>{Vh=e},gj=(e,t)=>e===t;function xj(e=Un){const t=e===Un?qh:dd(e),n=(o,s={})=>{const{equalityFn:i=gj,devModeChecks:a={}}=typeof s=="function"?{equalityFn:s}:s,{store:l,subscription:u,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();ut.useRef(!0);const g=ut.useCallback({[o.name](x){return o(x)}}[o.name],[o,d,a.stabilityCheck]),C=Vh(u.addNestedSub,l.getState,c||l.getState,g,i);return ut.useDebugValue(C),C};return Object.assign(n,{withTypes:()=>n}),n}var Ve=xj();function yj(e){e()}function jj(){let e=null,t=null;return{clear(){e=null,t=null},notify(){yj(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let o=e;for(;o;)n.push(o),o=o.next;return n},subscribe(n){let o=!0;const s=t={callback:n,next:null,prev:t};return s.prev?s.prev.next=s:e=s,function(){!o||e===null||(o=!1,s.next?s.next.prev=s.prev:t=s.prev,s.prev?s.prev.next=s.next:e=s.next)}}}}var $f={notify(){},get:()=>[]};function Nj(e,t){let n,o=$f,s=0,i=!1;function a(N){d();const b=o.subscribe(N);let h=!1;return()=>{h||(h=!0,b(),f())}}function l(){o.notify()}function u(){x.onStateChange&&x.onStateChange()}function c(){return i}function d(){s++,n||(n=e.subscribe(u),o=jj())}function f(){s--,n&&s===0&&(n(),n=void 0,o.clear(),o=$f)}function g(){i||(i=!0,d())}function C(){i&&(i=!1,f())}const x={addNestedSub:a,notifyNestedSubs:l,handleChangeWrapper:u,isSubscribed:c,trySubscribe:g,tryUnsubscribe:C,getListeners:()=>o};return x}var Cj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",bj=typeof navigator<"u"&&navigator.product==="ReactNative",wj=Cj||bj?ut.useLayoutEffect:ut.useEffect;function Sj({store:e,context:t,children:n,serverState:o,stabilityCheck:s="once",identityFunctionCheck:i="once"}){const a=ut.useMemo(()=>{const c=Nj(e);return{store:e,subscription:c,getServerState:o?()=>o:void 0,stabilityCheck:s,identityFunctionCheck:i}},[e,o,s,i]),l=ut.useMemo(()=>e.getState(),[e]);wj(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),l!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,l]);const u=t||Un;return ut.createElement(u.Provider,{value:a},n)}var Ej=Sj;function Hh(e=Un){const t=e===Un?qh:dd(e),n=()=>{const{store:o}=t();return o};return Object.assign(n,{withTypes:()=>n}),n}var kj=Hh();function Pj(e=Un){const t=e===Un?kj:Hh(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Ft=Pj();vj(pj.useSyncExternalStoreWithSelector);function Le(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var _j=typeof Symbol=="function"&&Symbol.observable||"@@observable",Wf=_j,zl=()=>Math.random().toString(36).substring(7).split("").join("."),Oj={INIT:`@@redux/INIT${zl()}`,REPLACE:`@@redux/REPLACE${zl()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${zl()}`},ra=Oj;function fd(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Kh(e,t,n){if(typeof e!="function")throw new Error(Le(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Le(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Le(1));return n(Kh)(e,t)}let o=e,s=t,i=new Map,a=i,l=0,u=!1;function c(){a===i&&(a=new Map,i.forEach((b,h)=>{a.set(h,b)}))}function d(){if(u)throw new Error(Le(3));return s}function f(b){if(typeof b!="function")throw new Error(Le(4));if(u)throw new Error(Le(5));let h=!0;c();const v=l++;return a.set(v,b),function(){if(h){if(u)throw new Error(Le(6));h=!1,c(),a.delete(v),i=null}}}function g(b){if(!fd(b))throw new Error(Le(7));if(typeof b.type>"u")throw new Error(Le(8));if(typeof b.type!="string")throw new Error(Le(17));if(u)throw new Error(Le(9));try{u=!0,s=o(s,b)}finally{u=!1}return(i=a).forEach(v=>{v()}),b}function C(b){if(typeof b!="function")throw new Error(Le(10));o=b,g({type:ra.REPLACE})}function x(){const b=f;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(Le(11));function v(){const y=h;y.next&&y.next(d())}return v(),{unsubscribe:b(v)}},[Wf](){return this}}}return g({type:ra.INIT}),{dispatch:g,subscribe:f,getState:d,replaceReducer:C,[Wf]:x}}function Tj(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:ra.INIT})>"u")throw new Error(Le(12));if(typeof n(void 0,{type:ra.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Le(13))})}function Rj(e){const t=Object.keys(e),n={};for(let i=0;i<t.length;i++){const a=t[i];typeof e[a]=="function"&&(n[a]=e[a])}const o=Object.keys(n);let s;try{Tj(n)}catch(i){s=i}return function(a={},l){if(s)throw s;let u=!1;const c={};for(let d=0;d<o.length;d++){const f=o[d],g=n[f],C=a[f],x=g(C,l);if(typeof x>"u")throw l&&l.type,new Error(Le(14));c[f]=x,u=u||x!==C}return u=u||o.length!==Object.keys(a).length,u?c:a}}function oa(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...o)=>t(n(...o)))}function Aj(...e){return t=>(n,o)=>{const s=t(n,o);let i=()=>{throw new Error(Le(15))};const a={getState:s.getState,dispatch:(u,...c)=>i(u,...c)},l=e.map(u=>u(a));return i=oa(...l)(s.dispatch),{...s,dispatch:i}}}function Ij(e){return fd(e)&&"type"in e&&typeof e.type=="string"}var Yh=Symbol.for("immer-nothing"),Uf=Symbol.for("immer-draftable"),ht=Symbol.for("immer-state");function Tt(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ao=Object.getPrototypeOf;function jr(e){return!!e&&!!e[ht]}function dn(e){var t;return e?Gh(e)||Array.isArray(e)||!!e[Uf]||!!((t=e.constructor)!=null&&t[Uf])||Da(e)||Fa(e):!1}var Dj=Object.prototype.constructor.toString();function Gh(e){if(!e||typeof e!="object")return!1;const t=ao(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Dj}function sa(e,t){Ia(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,o)=>t(o,n,e))}function Ia(e){const t=e[ht];return t?t.type_:Array.isArray(e)?1:Da(e)?2:Fa(e)?3:0}function Yc(e,t){return Ia(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Qh(e,t,n){const o=Ia(e);o===2?e.set(t,n):o===3?e.add(n):e[t]=n}function Fj(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Da(e){return e instanceof Map}function Fa(e){return e instanceof Set}function nr(e){return e.copy_||e.base_}function Gc(e,t){if(Da(e))return new Map(e);if(Fa(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Gh(e);if(t===!0||t==="class_only"&&!n){const o=Object.getOwnPropertyDescriptors(e);delete o[ht];let s=Reflect.ownKeys(o);for(let i=0;i<s.length;i++){const a=s[i],l=o[a];l.writable===!1&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(o[a]={configurable:!0,writable:!0,enumerable:l.enumerable,value:e[a]})}return Object.create(ao(e),o)}else{const o=ao(e);if(o!==null&&n)return{...e};const s=Object.create(o);return Object.assign(s,e)}}function pd(e,t=!1){return Ma(e)||jr(e)||!dn(e)||(Ia(e)>1&&(e.set=e.add=e.clear=e.delete=Mj),Object.freeze(e),t&&Object.entries(e).forEach(([n,o])=>pd(o,!0))),e}function Mj(){Tt(2)}function Ma(e){return Object.isFrozen(e)}var Lj={};function Nr(e){const t=Lj[e];return t||Tt(0,e),t}var vs;function Xh(){return vs}function Bj(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function qf(e,t){t&&(Nr("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Qc(e){Xc(e),e.drafts_.forEach(zj),e.drafts_=null}function Xc(e){e===vs&&(vs=e.parent_)}function Vf(e){return vs=Bj(vs,e)}function zj(e){const t=e[ht];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Hf(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[ht].modified_&&(Qc(t),Tt(4)),dn(e)&&(e=ia(t,e),t.parent_||aa(t,e)),t.patches_&&Nr("Patches").generateReplacementPatches_(n[ht].base_,e,t.patches_,t.inversePatches_)):e=ia(t,n,[]),Qc(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Yh?e:void 0}function ia(e,t,n){if(Ma(t))return t;const o=t[ht];if(!o)return sa(t,(s,i)=>Kf(e,o,t,s,i,n)),t;if(o.scope_!==e)return t;if(!o.modified_)return aa(e,o.base_,!0),o.base_;if(!o.finalized_){o.finalized_=!0,o.scope_.unfinalizedDrafts_--;const s=o.copy_;let i=s,a=!1;o.type_===3&&(i=new Set(s),s.clear(),a=!0),sa(i,(l,u)=>Kf(e,o,s,l,u,n,a)),aa(e,s,!1),n&&e.patches_&&Nr("Patches").generatePatches_(o,n,e.patches_,e.inversePatches_)}return o.copy_}function Kf(e,t,n,o,s,i,a){if(jr(s)){const l=i&&t&&t.type_!==3&&!Yc(t.assigned_,o)?i.concat(o):void 0,u=ia(e,s,l);if(Qh(n,o,u),jr(u))e.canAutoFreeze_=!1;else return}else a&&n.add(s);if(dn(s)&&!Ma(s)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;ia(e,s),(!t||!t.scope_.parent_)&&typeof o!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,o)&&aa(e,s)}}function aa(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&pd(t,n)}function $j(e,t){const n=Array.isArray(e),o={type_:n?1:0,scope_:t?t.scope_:Xh(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let s=o,i=md;n&&(s=[o],i=gs);const{revoke:a,proxy:l}=Proxy.revocable(s,i);return o.draft_=l,o.revoke_=a,l}var md={get(e,t){if(t===ht)return e;const n=nr(e);if(!Yc(n,t))return Wj(e,n,t);const o=n[t];return e.finalized_||!dn(o)?o:o===$l(e.base_,t)?(Wl(e),e.copy_[t]=Zc(o,e)):o},has(e,t){return t in nr(e)},ownKeys(e){return Reflect.ownKeys(nr(e))},set(e,t,n){const o=Jh(nr(e),t);if(o!=null&&o.set)return o.set.call(e.draft_,n),!0;if(!e.modified_){const s=$l(nr(e),t),i=s==null?void 0:s[ht];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(Fj(n,s)&&(n!==void 0||Yc(e.base_,t)))return!0;Wl(e),Jc(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return $l(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Wl(e),Jc(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=nr(e),o=Reflect.getOwnPropertyDescriptor(n,t);return o&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:o.enumerable,value:n[t]}},defineProperty(){Tt(11)},getPrototypeOf(e){return ao(e.base_)},setPrototypeOf(){Tt(12)}},gs={};sa(md,(e,t)=>{gs[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});gs.deleteProperty=function(e,t){return gs.set.call(this,e,t,void 0)};gs.set=function(e,t,n){return md.set.call(this,e[0],t,n,e[0])};function $l(e,t){const n=e[ht];return(n?nr(n):e)[t]}function Wj(e,t,n){var s;const o=Jh(t,n);return o?"value"in o?o.value:(s=o.get)==null?void 0:s.call(e.draft_):void 0}function Jh(e,t){if(!(t in e))return;let n=ao(e);for(;n;){const o=Object.getOwnPropertyDescriptor(n,t);if(o)return o;n=ao(n)}}function Jc(e){e.modified_||(e.modified_=!0,e.parent_&&Jc(e.parent_))}function Wl(e){e.copy_||(e.copy_=Gc(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Uj=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,o)=>{if(typeof t=="function"&&typeof n!="function"){const i=n;n=t;const a=this;return function(u=i,...c){return a.produce(u,d=>n.call(this,d,...c))}}typeof n!="function"&&Tt(6),o!==void 0&&typeof o!="function"&&Tt(7);let s;if(dn(t)){const i=Vf(this),a=Zc(t,void 0);let l=!0;try{s=n(a),l=!1}finally{l?Qc(i):Xc(i)}return qf(i,o),Hf(s,i)}else if(!t||typeof t!="object"){if(s=n(t),s===void 0&&(s=t),s===Yh&&(s=void 0),this.autoFreeze_&&pd(s,!0),o){const i=[],a=[];Nr("Patches").generateReplacementPatches_(t,s,i,a),o(i,a)}return s}else Tt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...l)=>this.produceWithPatches(a,u=>t(u,...l));let o,s;return[this.produce(t,n,(a,l)=>{o=a,s=l}),o,s]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){dn(e)||Tt(8),jr(e)&&(e=qj(e));const t=Vf(this),n=Zc(e,void 0);return n[ht].isManual_=!0,Xc(t),n}finishDraft(e,t){const n=e&&e[ht];(!n||!n.isManual_)&&Tt(9);const{scope_:o}=n;return qf(o,t),Hf(void 0,o)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const s=t[n];if(s.path.length===0&&s.op==="replace"){e=s.value;break}}n>-1&&(t=t.slice(n+1));const o=Nr("Patches").applyPatches_;return jr(e)?o(e,t):this.produce(e,s=>o(s,t))}};function Zc(e,t){const n=Da(e)?Nr("MapSet").proxyMap_(e,t):Fa(e)?Nr("MapSet").proxySet_(e,t):$j(e,t);return(t?t.scope_:Xh()).drafts_.push(n),n}function qj(e){return jr(e)||Tt(10,e),Zh(e)}function Zh(e){if(!dn(e)||Ma(e))return e;const t=e[ht];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Gc(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Gc(e,!0);return sa(n,(o,s)=>{Qh(n,o,Zh(s))}),t&&(t.finalized_=!1),n}var vt=new Uj,ev=vt.produce;vt.produceWithPatches.bind(vt);vt.setAutoFreeze.bind(vt);vt.setUseStrictShallowCopy.bind(vt);vt.applyPatches.bind(vt);vt.createDraft.bind(vt);vt.finishDraft.bind(vt);function tv(e){return({dispatch:n,getState:o})=>s=>i=>typeof i=="function"?i(n,o,e):s(i)}var Vj=tv(),Hj=tv,Kj=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?oa:oa.apply(null,arguments)},Yj=e=>e&&typeof e.match=="function";function Yo(e,t){function n(...o){if(t){let s=t(...o);if(!s)throw new Error(It(0));return{type:e,payload:s.payload,..."meta"in s&&{meta:s.meta},..."error"in s&&{error:s.error}}}return{type:e,payload:o[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=o=>Ij(o)&&o.type===e,n}var nv=class Mo extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Mo.prototype)}static get[Symbol.species](){return Mo}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Mo(...t[0].concat(this)):new Mo(...t.concat(this))}};function Yf(e){return dn(e)?ev(e,()=>{}):e}function Gf(e,t,n){if(e.has(t)){let s=e.get(t);return n.update&&(s=n.update(s,t,e),e.set(t,s)),s}if(!n.insert)throw new Error(It(10));const o=n.insert(t,e);return e.set(t,o),o}function Gj(e){return typeof e=="boolean"}var Qj=()=>function(t){const{thunk:n=!0,immutableCheck:o=!0,serializableCheck:s=!0,actionCreatorCheck:i=!0}=t??{};let a=new nv;return n&&(Gj(n)?a.push(Vj):a.push(Hj(n.extraArgument))),a},Xj="RTK_autoBatch",rv=e=>t=>{setTimeout(t,e)},Jj=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:rv(10),Zj=(e={type:"raf"})=>t=>(...n)=>{const o=t(...n);let s=!0,i=!1,a=!1;const l=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?Jj:e.type==="callback"?e.queueNotification:rv(e.timeout),c=()=>{a=!1,i&&(i=!1,l.forEach(d=>d()))};return Object.assign({},o,{subscribe(d){const f=()=>s&&d(),g=o.subscribe(f);return l.add(d),()=>{g(),l.delete(d)}},dispatch(d){var f;try{return s=!((f=d==null?void 0:d.meta)!=null&&f[Xj]),i=!s,i&&(a||(a=!0,u(c))),o.dispatch(d)}finally{s=!0}}})},e1=e=>function(n){const{autoBatch:o=!0}=n??{};let s=new nv(e);return o&&s.push(Zj(typeof o=="object"?o:void 0)),s};function t1(e){const t=Qj(),{reducer:n=void 0,middleware:o,devTools:s=!0,preloadedState:i=void 0,enhancers:a=void 0}=e||{};let l;if(typeof n=="function")l=n;else if(fd(n))l=Rj(n);else throw new Error(It(1));let u;typeof o=="function"?u=o(t):u=t();let c=oa;s&&(c=Kj({trace:!1,...typeof s=="object"&&s}));const d=Aj(...u),f=e1(d);let g=typeof a=="function"?a(f):f();const C=c(...g);return Kh(l,i,C)}function ov(e){const t={},n=[];let o;const s={addCase(i,a){const l=typeof i=="string"?i:i.type;if(!l)throw new Error(It(28));if(l in t)throw new Error(It(29));return t[l]=a,s},addMatcher(i,a){return n.push({matcher:i,reducer:a}),s},addDefaultCase(i){return o=i,s}};return e(s),[t,n,o]}function n1(e){return typeof e=="function"}function r1(e,t){let[n,o,s]=ov(t),i;if(n1(e))i=()=>Yf(e());else{const l=Yf(e);i=()=>l}function a(l=i(),u){let c=[n[u.type],...o.filter(({matcher:d})=>d(u)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[s]),c.reduce((d,f)=>{if(f)if(jr(d)){const C=f(d,u);return C===void 0?d:C}else{if(dn(d))return ev(d,g=>f(g,u));{const g=f(d,u);if(g===void 0){if(d===null)return d;throw new Error(It(9))}return g}}return d},l)}return a.getInitialState=i,a}var o1=(e,t)=>Yj(e)?e.match(t):e(t);function s1(...e){return t=>e.some(n=>o1(n,t))}var i1="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",a1=(e=21)=>{let t="",n=e;for(;n--;)t+=i1[Math.random()*64|0];return t},l1=["name","message","stack","code"],Ul=class{constructor(e,t){pl(this,"_type");this.payload=e,this.meta=t}},Qf=class{constructor(e,t){pl(this,"_type");this.payload=e,this.meta=t}},c1=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of l1)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},Et=(()=>{function e(t,n,o){const s=Yo(t+"/fulfilled",(u,c,d,f)=>({payload:u,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),i=Yo(t+"/pending",(u,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:u,requestStatus:"pending"}})),a=Yo(t+"/rejected",(u,c,d,f,g)=>({payload:f,error:(o&&o.serializeError||c1)(u||"Rejected"),meta:{...g||{},arg:d,requestId:c,rejectedWithValue:!!f,requestStatus:"rejected",aborted:(u==null?void 0:u.name)==="AbortError",condition:(u==null?void 0:u.name)==="ConditionError"}}));function l(u){return(c,d,f)=>{const g=o!=null&&o.idGenerator?o.idGenerator(u):a1(),C=new AbortController;let x,N;function b(v){N=v,C.abort()}const h=async function(){var y,E;let v;try{let k=(y=o==null?void 0:o.condition)==null?void 0:y.call(o,u,{getState:d,extra:f});if(d1(k)&&(k=await k),k===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const T=new Promise((O,B)=>{x=()=>{B({name:"AbortError",message:N||"Aborted"})},C.signal.addEventListener("abort",x)});c(i(g,u,(E=o==null?void 0:o.getPendingMeta)==null?void 0:E.call(o,{requestId:g,arg:u},{getState:d,extra:f}))),v=await Promise.race([T,Promise.resolve(n(u,{dispatch:c,getState:d,extra:f,requestId:g,signal:C.signal,abort:b,rejectWithValue:(O,B)=>new Ul(O,B),fulfillWithValue:(O,B)=>new Qf(O,B)})).then(O=>{if(O instanceof Ul)throw O;return O instanceof Qf?s(O.payload,g,u,O.meta):s(O,g,u)})])}catch(k){v=k instanceof Ul?a(null,g,u,k.payload,k.meta):a(k,g,u)}finally{x&&C.signal.removeEventListener("abort",x)}return o&&!o.dispatchConditionRejection&&a.match(v)&&v.meta.condition||c(v),v}();return Object.assign(h,{abort:b,requestId:g,arg:u,unwrap(){return h.then(u1)}})}}return Object.assign(l,{pending:i,rejected:a,fulfilled:s,settled:s1(a,s),typePrefix:t})}return e.withTypes=()=>e,e})();function u1(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function d1(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var f1=Symbol.for("rtk-slice-createasyncthunk");function p1(e,t){return`${e}/${t}`}function m1({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[f1];return function(s){const{name:i,reducerPath:a=i}=s;if(!i)throw new Error(It(11));typeof process<"u";const l=(typeof s.reducers=="function"?s.reducers(v1()):s.reducers)||{},u=Object.keys(l),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(m,y){const E=typeof m=="string"?m:m.type;if(!E)throw new Error(It(12));if(E in c.sliceCaseReducersByType)throw new Error(It(13));return c.sliceCaseReducersByType[E]=y,d},addMatcher(m,y){return c.sliceMatchers.push({matcher:m,reducer:y}),d},exposeAction(m,y){return c.actionCreators[m]=y,d},exposeCaseReducer(m,y){return c.sliceCaseReducersByName[m]=y,d}};u.forEach(m=>{const y=l[m],E={reducerName:m,type:p1(i,m),createNotation:typeof s.reducers=="function"};x1(y)?j1(E,y,d,t):g1(E,y,d)});function f(){const[m={},y=[],E=void 0]=typeof s.extraReducers=="function"?ov(s.extraReducers):[s.extraReducers],k={...m,...c.sliceCaseReducersByType};return r1(s.initialState,T=>{for(let O in k)T.addCase(O,k[O]);for(let O of c.sliceMatchers)T.addMatcher(O.matcher,O.reducer);for(let O of y)T.addMatcher(O.matcher,O.reducer);E&&T.addDefaultCase(E)})}const g=m=>m,C=new Map;let x;function N(m,y){return x||(x=f()),x(m,y)}function b(){return x||(x=f()),x.getInitialState()}function h(m,y=!1){function E(T){let O=T[m];return typeof O>"u"&&y&&(O=b()),O}function k(T=g){const O=Gf(C,y,{insert:()=>new WeakMap});return Gf(O,T,{insert:()=>{const B={};for(const[$,H]of Object.entries(s.selectors??{}))B[$]=h1(H,T,b,y);return B}})}return{reducerPath:m,getSelectors:k,get selectors(){return k(E)},selectSlice:E}}const v={name:i,reducer:N,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:b,...h(a),injectInto(m,{reducerPath:y,...E}={}){const k=y??a;return m.inject({reducerPath:k,reducer:N},E),{...v,...h(k,!0)}}};return v}}function h1(e,t,n,o){function s(i,...a){let l=t(i);return typeof l>"u"&&o&&(l=n()),e(l,...a)}return s.unwrapped=e,s}var La=m1();function v1(){function e(t,n){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...n}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...n){return t(...n)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,n){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:n}},asyncThunk:e}}function g1({type:e,reducerName:t,createNotation:n},o,s){let i,a;if("reducer"in o){if(n&&!y1(o))throw new Error(It(17));i=o.reducer,a=o.prepare}else i=o;s.addCase(e,i).exposeCaseReducer(t,i).exposeAction(t,a?Yo(e,a):Yo(e))}function x1(e){return e._reducerDefinitionType==="asyncThunk"}function y1(e){return e._reducerDefinitionType==="reducerWithPrepare"}function j1({type:e,reducerName:t},n,o,s){if(!s)throw new Error(It(18));const{payloadCreator:i,fulfilled:a,pending:l,rejected:u,settled:c,options:d}=n,f=s(e,i,d);o.exposeAction(t,f),a&&o.addCase(f.fulfilled,a),l&&o.addCase(f.pending,l),u&&o.addCase(f.rejected,u),c&&o.addMatcher(f.settled,c),o.exposeCaseReducer(t,{fulfilled:a||ti,pending:l||ti,rejected:u||ti,settled:c||ti})}function ti(){}function It(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}function sv(e,t){return function(){return e.apply(t,arguments)}}const{toString:N1}=Object.prototype,{getPrototypeOf:hd}=Object,Ba=(e=>t=>{const n=N1.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Mt=e=>(e=e.toLowerCase(),t=>Ba(t)===e),za=e=>t=>typeof t===e,{isArray:po}=Array,xs=za("undefined");function C1(e){return e!==null&&!xs(e)&&e.constructor!==null&&!xs(e.constructor)&&pt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const iv=Mt("ArrayBuffer");function b1(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&iv(e.buffer),t}const w1=za("string"),pt=za("function"),av=za("number"),$a=e=>e!==null&&typeof e=="object",S1=e=>e===!0||e===!1,yi=e=>{if(Ba(e)!=="object")return!1;const t=hd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},E1=Mt("Date"),k1=Mt("File"),P1=Mt("Blob"),_1=Mt("FileList"),O1=e=>$a(e)&&pt(e.pipe),T1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||pt(e.append)&&((t=Ba(e))==="formdata"||t==="object"&&pt(e.toString)&&e.toString()==="[object FormData]"))},R1=Mt("URLSearchParams"),[A1,I1,D1,F1]=["ReadableStream","Request","Response","Headers"].map(Mt),M1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Os(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,s;if(typeof e!="object"&&(e=[e]),po(e))for(o=0,s=e.length;o<s;o++)t.call(null,e[o],o,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let l;for(o=0;o<a;o++)l=i[o],t.call(null,e[l],l,e)}}function lv(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,s;for(;o-- >0;)if(s=n[o],t===s.toLowerCase())return s;return null}const cr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cv=e=>!xs(e)&&e!==cr;function eu(){const{caseless:e}=cv(this)&&this||{},t={},n=(o,s)=>{const i=e&&lv(t,s)||s;yi(t[i])&&yi(o)?t[i]=eu(t[i],o):yi(o)?t[i]=eu({},o):po(o)?t[i]=o.slice():t[i]=o};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Os(arguments[o],n);return t}const L1=(e,t,n,{allOwnKeys:o}={})=>(Os(t,(s,i)=>{n&&pt(s)?e[i]=sv(s,n):e[i]=s},{allOwnKeys:o}),e),B1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),z1=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},$1=(e,t,n,o)=>{let s,i,a;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)a=s[i],(!o||o(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&hd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},W1=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},U1=e=>{if(!e)return null;if(po(e))return e;let t=e.length;if(!av(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},q1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&hd(Uint8Array)),V1=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=o.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},H1=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},K1=Mt("HTMLFormElement"),Y1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,s){return o.toUpperCase()+s}),Xf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),G1=Mt("RegExp"),uv=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Os(n,(s,i)=>{let a;(a=t(s,i,e))!==!1&&(o[i]=a||s)}),Object.defineProperties(e,o)},Q1=e=>{uv(e,(t,n)=>{if(pt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(pt(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},X1=(e,t)=>{const n={},o=s=>{s.forEach(i=>{n[i]=!0})};return po(e)?o(e):o(String(e).split(t)),n},J1=()=>{},Z1=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ql="abcdefghijklmnopqrstuvwxyz",Jf="0123456789",dv={DIGIT:Jf,ALPHA:ql,ALPHA_DIGIT:ql+ql.toUpperCase()+Jf},e0=(e=16,t=dv.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function t0(e){return!!(e&&pt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const n0=e=>{const t=new Array(10),n=(o,s)=>{if($a(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[s]=o;const i=po(o)?[]:{};return Os(o,(a,l)=>{const u=n(a,s+1);!xs(u)&&(i[l]=u)}),t[s]=void 0,i}}return o};return n(e,0)},r0=Mt("AsyncFunction"),o0=e=>e&&($a(e)||pt(e))&&pt(e.then)&&pt(e.catch),fv=((e,t)=>e?setImmediate:t?((n,o)=>(cr.addEventListener("message",({source:s,data:i})=>{s===cr&&i===n&&o.length&&o.shift()()},!1),s=>{o.push(s),cr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",pt(cr.postMessage)),s0=typeof queueMicrotask<"u"?queueMicrotask.bind(cr):typeof process<"u"&&process.nextTick||fv,z={isArray:po,isArrayBuffer:iv,isBuffer:C1,isFormData:T1,isArrayBufferView:b1,isString:w1,isNumber:av,isBoolean:S1,isObject:$a,isPlainObject:yi,isReadableStream:A1,isRequest:I1,isResponse:D1,isHeaders:F1,isUndefined:xs,isDate:E1,isFile:k1,isBlob:P1,isRegExp:G1,isFunction:pt,isStream:O1,isURLSearchParams:R1,isTypedArray:q1,isFileList:_1,forEach:Os,merge:eu,extend:L1,trim:M1,stripBOM:B1,inherits:z1,toFlatObject:$1,kindOf:Ba,kindOfTest:Mt,endsWith:W1,toArray:U1,forEachEntry:V1,matchAll:H1,isHTMLForm:K1,hasOwnProperty:Xf,hasOwnProp:Xf,reduceDescriptors:uv,freezeMethods:Q1,toObjectSet:X1,toCamelCase:Y1,noop:J1,toFiniteNumber:Z1,findKey:lv,global:cr,isContextDefined:cv,ALPHABET:dv,generateString:e0,isSpecCompliantForm:t0,toJSONObject:n0,isAsyncFn:r0,isThenable:o0,setImmediate:fv,asap:s0};function se(e,t,n,o,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),s&&(this.response=s,this.status=s.status?s.status:null)}z.inherits(se,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:z.toJSONObject(this.config),code:this.code,status:this.status}}});const pv=se.prototype,mv={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{mv[e]={value:e}});Object.defineProperties(se,mv);Object.defineProperty(pv,"isAxiosError",{value:!0});se.from=(e,t,n,o,s,i)=>{const a=Object.create(pv);return z.toFlatObject(e,a,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),se.call(a,e.message,t,n,o,s),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const i0=null;function tu(e){return z.isPlainObject(e)||z.isArray(e)}function hv(e){return z.endsWith(e,"[]")?e.slice(0,-2):e}function Zf(e,t,n){return e?e.concat(t).map(function(s,i){return s=hv(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function a0(e){return z.isArray(e)&&!e.some(tu)}const l0=z.toFlatObject(z,{},null,function(t){return/^is[A-Z]/.test(t)});function Wa(e,t,n){if(!z.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(N,b){return!z.isUndefined(b[N])});const o=n.metaTokens,s=n.visitor||d,i=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&z.isSpecCompliantForm(t);if(!z.isFunction(s))throw new TypeError("visitor must be a function");function c(x){if(x===null)return"";if(z.isDate(x))return x.toISOString();if(!u&&z.isBlob(x))throw new se("Blob is not supported. Use a Buffer instead.");return z.isArrayBuffer(x)||z.isTypedArray(x)?u&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function d(x,N,b){let h=x;if(x&&!b&&typeof x=="object"){if(z.endsWith(N,"{}"))N=o?N:N.slice(0,-2),x=JSON.stringify(x);else if(z.isArray(x)&&a0(x)||(z.isFileList(x)||z.endsWith(N,"[]"))&&(h=z.toArray(x)))return N=hv(N),h.forEach(function(m,y){!(z.isUndefined(m)||m===null)&&t.append(a===!0?Zf([N],y,i):a===null?N:N+"[]",c(m))}),!1}return tu(x)?!0:(t.append(Zf(b,N,i),c(x)),!1)}const f=[],g=Object.assign(l0,{defaultVisitor:d,convertValue:c,isVisitable:tu});function C(x,N){if(!z.isUndefined(x)){if(f.indexOf(x)!==-1)throw Error("Circular reference detected in "+N.join("."));f.push(x),z.forEach(x,function(h,v){(!(z.isUndefined(h)||h===null)&&s.call(t,h,z.isString(v)?v.trim():v,N,g))===!0&&C(h,N?N.concat(v):[v])}),f.pop()}}if(!z.isObject(e))throw new TypeError("data must be an object");return C(e),t}function ep(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function vd(e,t){this._pairs=[],e&&Wa(e,this,t)}const vv=vd.prototype;vv.append=function(t,n){this._pairs.push([t,n])};vv.toString=function(t){const n=t?function(o){return t.call(this,o,ep)}:ep;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function c0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function gv(e,t,n){if(!t)return e;const o=n&&n.encode||c0,s=n&&n.serialize;let i;if(s?i=s(t,n):i=z.isURLSearchParams(t)?t.toString():new vd(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class tp{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){z.forEach(this.handlers,function(o){o!==null&&t(o)})}}const xv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},u0=typeof URLSearchParams<"u"?URLSearchParams:vd,d0=typeof FormData<"u"?FormData:null,f0=typeof Blob<"u"?Blob:null,p0={isBrowser:!0,classes:{URLSearchParams:u0,FormData:d0,Blob:f0},protocols:["http","https","file","blob","url","data"]},gd=typeof window<"u"&&typeof document<"u",nu=typeof navigator=="object"&&navigator||void 0,m0=gd&&(!nu||["ReactNative","NativeScript","NS"].indexOf(nu.product)<0),h0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",v0=gd&&window.location.href||"http://localhost",g0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:gd,hasStandardBrowserEnv:m0,hasStandardBrowserWebWorkerEnv:h0,navigator:nu,origin:v0},Symbol.toStringTag,{value:"Module"})),it={...g0,...p0};function x0(e,t){return Wa(e,new it.classes.URLSearchParams,Object.assign({visitor:function(n,o,s,i){return it.isNode&&z.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function y0(e){return z.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function j0(e){const t={},n=Object.keys(e);let o;const s=n.length;let i;for(o=0;o<s;o++)i=n[o],t[i]=e[i];return t}function yv(e){function t(n,o,s,i){let a=n[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),u=i>=n.length;return a=!a&&z.isArray(s)?s.length:a,u?(z.hasOwnProp(s,a)?s[a]=[s[a],o]:s[a]=o,!l):((!s[a]||!z.isObject(s[a]))&&(s[a]=[]),t(n,o,s[a],i)&&z.isArray(s[a])&&(s[a]=j0(s[a])),!l)}if(z.isFormData(e)&&z.isFunction(e.entries)){const n={};return z.forEachEntry(e,(o,s)=>{t(y0(o),s,n,0)}),n}return null}function N0(e,t,n){if(z.isString(e))try{return(t||JSON.parse)(e),z.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const Ts={transitional:xv,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const o=n.getContentType()||"",s=o.indexOf("application/json")>-1,i=z.isObject(t);if(i&&z.isHTMLForm(t)&&(t=new FormData(t)),z.isFormData(t))return s?JSON.stringify(yv(t)):t;if(z.isArrayBuffer(t)||z.isBuffer(t)||z.isStream(t)||z.isFile(t)||z.isBlob(t)||z.isReadableStream(t))return t;if(z.isArrayBufferView(t))return t.buffer;if(z.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return x0(t,this.formSerializer).toString();if((l=z.isFileList(t))||o.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Wa(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),N0(t)):t}],transformResponse:[function(t){const n=this.transitional||Ts.transitional,o=n&&n.forcedJSONParsing,s=this.responseType==="json";if(z.isResponse(t)||z.isReadableStream(t))return t;if(t&&z.isString(t)&&(o&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?se.from(l,se.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:it.classes.FormData,Blob:it.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};z.forEach(["delete","get","head","post","put","patch"],e=>{Ts.headers[e]={}});const C0=z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),b0=e=>{const t={};let n,o,s;return e&&e.split(`
|
|
`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),o=a.substring(s+1).trim(),!(!n||t[n]&&C0[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},np=Symbol("internals");function Ro(e){return e&&String(e).trim().toLowerCase()}function ji(e){return e===!1||e==null?e:z.isArray(e)?e.map(ji):String(e)}function w0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const S0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vl(e,t,n,o,s){if(z.isFunction(o))return o.call(this,t,n);if(s&&(t=n),!!z.isString(t)){if(z.isString(o))return t.indexOf(o)!==-1;if(z.isRegExp(o))return o.test(t)}}function E0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function k0(e,t){const n=z.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(s,i,a){return this[o].call(this,t,s,i,a)},configurable:!0})})}class at{constructor(t){t&&this.set(t)}set(t,n,o){const s=this;function i(l,u,c){const d=Ro(u);if(!d)throw new Error("header name must be a non-empty string");const f=z.findKey(s,d);(!f||s[f]===void 0||c===!0||c===void 0&&s[f]!==!1)&&(s[f||u]=ji(l))}const a=(l,u)=>z.forEach(l,(c,d)=>i(c,d,u));if(z.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(z.isString(t)&&(t=t.trim())&&!S0(t))a(b0(t),n);else if(z.isHeaders(t))for(const[l,u]of t.entries())i(u,l,o);else t!=null&&i(n,t,o);return this}get(t,n){if(t=Ro(t),t){const o=z.findKey(this,t);if(o){const s=this[o];if(!n)return s;if(n===!0)return w0(s);if(z.isFunction(n))return n.call(this,s,o);if(z.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ro(t),t){const o=z.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Vl(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let s=!1;function i(a){if(a=Ro(a),a){const l=z.findKey(o,a);l&&(!n||Vl(o,o[l],l,n))&&(delete o[l],s=!0)}}return z.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let o=n.length,s=!1;for(;o--;){const i=n[o];(!t||Vl(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,o={};return z.forEach(this,(s,i)=>{const a=z.findKey(o,i);if(a){n[a]=ji(s),delete n[i];return}const l=t?E0(i):String(i).trim();l!==i&&delete n[i],n[l]=ji(s),o[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return z.forEach(this,(o,s)=>{o!=null&&o!==!1&&(n[s]=t&&z.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(s=>o.set(s)),o}static accessor(t){const o=(this[np]=this[np]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=Ro(a);o[l]||(k0(s,a),o[l]=!0)}return z.isArray(t)?t.forEach(i):i(t),this}}at.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);z.reduceDescriptors(at.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});z.freezeMethods(at);function Hl(e,t){const n=this||Ts,o=t||n,s=at.from(o.headers);let i=o.data;return z.forEach(e,function(l){i=l.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function jv(e){return!!(e&&e.__CANCEL__)}function mo(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}z.inherits(mo,se,{__CANCEL__:!0});function Nv(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function P0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function _0(e,t){e=e||10;const n=new Array(e),o=new Array(e);let s=0,i=0,a;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=o[i];a||(a=c),n[s]=u,o[s]=c;let f=i,g=0;for(;f!==s;)g+=n[f++],f=f%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),c-a<t)return;const C=d&&c-d;return C?Math.round(g*1e3/C):void 0}}function O0(e,t){let n=0,o=1e3/t,s,i;const a=(c,d=Date.now())=>{n=d,s=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=o?a(c,d):(s=c,i||(i=setTimeout(()=>{i=null,a(s)},o-f)))},()=>s&&a(s)]}const la=(e,t,n=3)=>{let o=0;const s=_0(50,250);return O0(i=>{const a=i.loaded,l=i.lengthComputable?i.total:void 0,u=a-o,c=s(u),d=a<=l;o=a;const f={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:c||void 0,estimated:c&&l&&d?(l-a)/c:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},rp=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},op=e=>(...t)=>z.asap(()=>e(...t)),T0=it.hasStandardBrowserEnv?function(){const t=it.navigator&&/(msie|trident)/i.test(it.navigator.userAgent),n=document.createElement("a");let o;function s(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=s(window.location.href),function(a){const l=z.isString(a)?s(a):a;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}(),R0=it.hasStandardBrowserEnv?{write(e,t,n,o,s,i){const a=[e+"="+encodeURIComponent(t)];z.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),z.isString(o)&&a.push("path="+o),z.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function A0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function I0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Cv(e,t){return e&&!A0(t)?I0(e,t):t}const sp=e=>e instanceof at?{...e}:e;function Cr(e,t){t=t||{};const n={};function o(c,d,f){return z.isPlainObject(c)&&z.isPlainObject(d)?z.merge.call({caseless:f},c,d):z.isPlainObject(d)?z.merge({},d):z.isArray(d)?d.slice():d}function s(c,d,f){if(z.isUndefined(d)){if(!z.isUndefined(c))return o(void 0,c,f)}else return o(c,d,f)}function i(c,d){if(!z.isUndefined(d))return o(void 0,d)}function a(c,d){if(z.isUndefined(d)){if(!z.isUndefined(c))return o(void 0,c)}else return o(void 0,d)}function l(c,d,f){if(f in t)return o(c,d);if(f in e)return o(void 0,c)}const u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(c,d)=>s(sp(c),sp(d),!0)};return z.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||s,g=f(e[d],t[d],d);z.isUndefined(g)&&f!==l||(n[d]=g)}),n}const bv=e=>{const t=Cr({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:s,xsrfCookieName:i,headers:a,auth:l}=t;t.headers=a=at.from(a),t.url=gv(Cv(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(z.isFormData(n)){if(it.hasStandardBrowserEnv||it.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((u=a.getContentType())!==!1){const[c,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...d].join("; "))}}if(it.hasStandardBrowserEnv&&(o&&z.isFunction(o)&&(o=o(t)),o||o!==!1&&T0(t.url))){const c=s&&i&&R0.read(i);c&&a.set(s,c)}return t},D0=typeof XMLHttpRequest<"u",F0=D0&&function(e){return new Promise(function(n,o){const s=bv(e);let i=s.data;const a=at.from(s.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:c}=s,d,f,g,C,x;function N(){C&&C(),x&&x(),s.cancelToken&&s.cancelToken.unsubscribe(d),s.signal&&s.signal.removeEventListener("abort",d)}let b=new XMLHttpRequest;b.open(s.method.toUpperCase(),s.url,!0),b.timeout=s.timeout;function h(){if(!b)return;const m=at.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),E={data:!l||l==="text"||l==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:m,config:e,request:b};Nv(function(T){n(T),N()},function(T){o(T),N()},E),b=null}"onloadend"in b?b.onloadend=h:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(h)},b.onabort=function(){b&&(o(new se("Request aborted",se.ECONNABORTED,e,b)),b=null)},b.onerror=function(){o(new se("Network Error",se.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let y=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const E=s.transitional||xv;s.timeoutErrorMessage&&(y=s.timeoutErrorMessage),o(new se(y,E.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,b)),b=null},i===void 0&&a.setContentType(null),"setRequestHeader"in b&&z.forEach(a.toJSON(),function(y,E){b.setRequestHeader(E,y)}),z.isUndefined(s.withCredentials)||(b.withCredentials=!!s.withCredentials),l&&l!=="json"&&(b.responseType=s.responseType),c&&([g,x]=la(c,!0),b.addEventListener("progress",g)),u&&b.upload&&([f,C]=la(u),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",C)),(s.cancelToken||s.signal)&&(d=m=>{b&&(o(!m||m.type?new mo(null,e,b):m),b.abort(),b=null)},s.cancelToken&&s.cancelToken.subscribe(d),s.signal&&(s.signal.aborted?d():s.signal.addEventListener("abort",d)));const v=P0(s.url);if(v&&it.protocols.indexOf(v)===-1){o(new se("Unsupported protocol "+v+":",se.ERR_BAD_REQUEST,e));return}b.send(i||null)})},M0=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let o=new AbortController,s;const i=function(c){if(!s){s=!0,l();const d=c instanceof Error?c:this.reason;o.abort(d instanceof se?d:new mo(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,i(new se(`timeout ${t} of ms exceeded`,se.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:u}=o;return u.unsubscribe=()=>z.asap(l),u}},L0=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let o=0,s;for(;o<n;)s=o+t,yield e.slice(o,s),o=s},B0=async function*(e,t){for await(const n of z0(e))yield*L0(n,t)},z0=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:o}=await t.read();if(n)break;yield o}}finally{await t.cancel()}},ip=(e,t,n,o)=>{const s=B0(e,t);let i=0,a,l=u=>{a||(a=!0,o&&o(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await s.next();if(c){l(),u.close();return}let f=d.byteLength;if(n){let g=i+=f;n(g)}u.enqueue(new Uint8Array(d))}catch(c){throw l(c),c}},cancel(u){return l(u),s.return()}},{highWaterMark:2})},Ua=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wv=Ua&&typeof ReadableStream=="function",$0=Ua&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Sv=(e,...t)=>{try{return!!e(...t)}catch{return!1}},W0=wv&&Sv(()=>{let e=!1;const t=new Request(it.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ap=64*1024,ru=wv&&Sv(()=>z.isReadableStream(new Response("").body)),ca={stream:ru&&(e=>e.body)};Ua&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ca[t]&&(ca[t]=z.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new se(`Response type '${t}' is not supported`,se.ERR_NOT_SUPPORT,o)})})})(new Response);const U0=async e=>{if(e==null)return 0;if(z.isBlob(e))return e.size;if(z.isSpecCompliantForm(e))return(await new Request(it.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(z.isArrayBufferView(e)||z.isArrayBuffer(e))return e.byteLength;if(z.isURLSearchParams(e)&&(e=e+""),z.isString(e))return(await $0(e)).byteLength},q0=async(e,t)=>{const n=z.toFiniteNumber(e.getContentLength());return n??U0(t)},V0=Ua&&(async e=>{let{url:t,method:n,data:o,signal:s,cancelToken:i,timeout:a,onDownloadProgress:l,onUploadProgress:u,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:g}=bv(e);c=c?(c+"").toLowerCase():"text";let C=M0([s,i&&i.toAbortSignal()],a),x;const N=C&&C.unsubscribe&&(()=>{C.unsubscribe()});let b;try{if(u&&W0&&n!=="get"&&n!=="head"&&(b=await q0(d,o))!==0){let E=new Request(t,{method:"POST",body:o,duplex:"half"}),k;if(z.isFormData(o)&&(k=E.headers.get("content-type"))&&d.setContentType(k),E.body){const[T,O]=rp(b,la(op(u)));o=ip(E.body,ap,T,O)}}z.isString(f)||(f=f?"include":"omit");const h="credentials"in Request.prototype;x=new Request(t,{...g,signal:C,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:o,duplex:"half",credentials:h?f:void 0});let v=await fetch(x);const m=ru&&(c==="stream"||c==="response");if(ru&&(l||m&&N)){const E={};["status","statusText","headers"].forEach(B=>{E[B]=v[B]});const k=z.toFiniteNumber(v.headers.get("content-length")),[T,O]=l&&rp(k,la(op(l),!0))||[];v=new Response(ip(v.body,ap,T,()=>{O&&O(),N&&N()}),E)}c=c||"text";let y=await ca[z.findKey(ca,c)||"text"](v,e);return!m&&N&&N(),await new Promise((E,k)=>{Nv(E,k,{data:y,headers:at.from(v.headers),status:v.status,statusText:v.statusText,config:e,request:x})})}catch(h){throw N&&N(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new se("Network Error",se.ERR_NETWORK,e,x),{cause:h.cause||h}):se.from(h,h&&h.code,e,x)}}),ou={http:i0,xhr:F0,fetch:V0};z.forEach(ou,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const lp=e=>`- ${e}`,H0=e=>z.isFunction(e)||e===null||e===!1,Ev={getAdapter:e=>{e=z.isArray(e)?e:[e];const{length:t}=e;let n,o;const s={};for(let i=0;i<t;i++){n=e[i];let a;if(o=n,!H0(n)&&(o=ou[(a=String(n)).toLowerCase()],o===void 0))throw new se(`Unknown adapter '${a}'`);if(o)break;s[a||"#"+i]=o}if(!o){const i=Object.entries(s).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
|
|
`+i.map(lp).join(`
|
|
`):" "+lp(i[0]):"as no adapter specified";throw new se("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:ou};function Kl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mo(null,e)}function cp(e){return Kl(e),e.headers=at.from(e.headers),e.data=Hl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ev.getAdapter(e.adapter||Ts.adapter)(e).then(function(o){return Kl(e),o.data=Hl.call(e,e.transformResponse,o),o.headers=at.from(o.headers),o},function(o){return jv(o)||(Kl(e),o&&o.response&&(o.response.data=Hl.call(e,e.transformResponse,o.response),o.response.headers=at.from(o.response.headers))),Promise.reject(o)})}const kv="1.7.7",xd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{xd[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const up={};xd.transitional=function(t,n,o){function s(i,a){return"[Axios v"+kv+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,l)=>{if(t===!1)throw new se(s(a," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!up[a]&&(up[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,l):!0}};function K0(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let s=o.length;for(;s-- >0;){const i=o[s],a=t[i];if(a){const l=e[i],u=l===void 0||a(l,i,e);if(u!==!0)throw new se("option "+i+" must be "+u,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+i,se.ERR_BAD_OPTION)}}const su={assertOptions:K0,validators:xd},yn=su.validators;class fr{constructor(t){this.defaults=t,this.interceptors={request:new tp,response:new tp}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
|
`+i):o.stack=i}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Cr(this.defaults,n);const{transitional:o,paramsSerializer:s,headers:i}=n;o!==void 0&&su.assertOptions(o,{silentJSONParsing:yn.transitional(yn.boolean),forcedJSONParsing:yn.transitional(yn.boolean),clarifyTimeoutError:yn.transitional(yn.boolean)},!1),s!=null&&(z.isFunction(s)?n.paramsSerializer={serialize:s}:su.assertOptions(s,{encode:yn.function,serialize:yn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&z.merge(i.common,i[n.method]);i&&z.forEach(["delete","get","head","post","put","patch","common"],x=>{delete i[x]}),n.headers=at.concat(a,i);const l=[];let u=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(n)===!1||(u=u&&N.synchronous,l.unshift(N.fulfilled,N.rejected))});const c=[];this.interceptors.response.forEach(function(N){c.push(N.fulfilled,N.rejected)});let d,f=0,g;if(!u){const x=[cp.bind(this),void 0];for(x.unshift.apply(x,l),x.push.apply(x,c),g=x.length,d=Promise.resolve(n);f<g;)d=d.then(x[f++],x[f++]);return d}g=l.length;let C=n;for(f=0;f<g;){const x=l[f++],N=l[f++];try{C=x(C)}catch(b){N.call(this,b);break}}try{d=cp.call(this,C)}catch(x){return Promise.reject(x)}for(f=0,g=c.length;f<g;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=Cr(this.defaults,t);const n=Cv(t.baseURL,t.url);return gv(n,t.params,t.paramsSerializer)}}z.forEach(["delete","get","head","options"],function(t){fr.prototype[t]=function(n,o){return this.request(Cr(o||{},{method:t,url:n,data:(o||{}).data}))}});z.forEach(["post","put","patch"],function(t){function n(o){return function(i,a,l){return this.request(Cr(l||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}fr.prototype[t]=n(),fr.prototype[t+"Form"]=n(!0)});class yd{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const o=this;this.promise.then(s=>{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](s);o._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(l=>{o.subscribe(l),i=l}).then(s);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,l){o.reason||(o.reason=new mo(i,a,l),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=o=>{t.abort(o)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new yd(function(s){t=s}),cancel:t}}}function Y0(e){return function(n){return e.apply(null,n)}}function G0(e){return z.isObject(e)&&e.isAxiosError===!0}const iu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(iu).forEach(([e,t])=>{iu[t]=e});function Pv(e){const t=new fr(e),n=sv(fr.prototype.request,t);return z.extend(n,fr.prototype,t,{allOwnKeys:!0}),z.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Pv(Cr(e,s))},n}const ve=Pv(Ts);ve.Axios=fr;ve.CanceledError=mo;ve.CancelToken=yd;ve.isCancel=jv;ve.VERSION=kv;ve.toFormData=Wa;ve.AxiosError=se;ve.Cancel=ve.CanceledError;ve.all=function(t){return Promise.all(t)};ve.spread=Y0;ve.isAxiosError=G0;ve.mergeConfig=Cr;ve.AxiosHeaders=at;ve.formToJSON=e=>yv(z.isHTMLForm(e)?new FormData(e):e);ve.getAdapter=Ev.getAdapter;ve.HttpStatusCode=iu;ve.default=ve;const Q0="http://67.225.129.127:3002",mn=ve.create({baseURL:Q0});mn.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const X0=e=>mn.post("/users/signup",e),J0=e=>mn.post("/users/signin",e),Z0=(e,t,n)=>mn.get(`/users/${e}/verify/${t}`,n),eN=e=>mn.post("/properties",e),tN=(e,t,n)=>mn.get(`/properties/user/${e}?page=${t}&limit=${n}`,e),nN=e=>mn.get(`/properties/${e}`,e),rN=(e,t)=>mn.put(`/properties/${e}`,t),oN=e=>mn.get(`/users/${e}`),sN="http://67.225.129.127:3002",Ni=Et("auth/login",async({formValue:e,navigate:t},{rejectWithValue:n})=>{try{const o=await J0(e);return t("/dashboard"),o.data}catch(o){return n(o.response.data)}}),Ci=Et("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:o})=>{try{const s=await X0(e);return console.log("response",s),n.success("Register Successfully"),t("/registrationsuccess"),s.data}catch(s){return o(s.response.data)}}),bi=Et("auth/updateUser",async({formData:e,toast:t,navigate:n},{rejectWithValue:o})=>{try{const s=await ve.put(`${sN}/users/update`,e);return t.success("Updated Successfully"),n("/login"),s.data}catch(s){return o(s.response.data)}}),_v=La({name:"auth",initialState:{user:null,error:"",loading:!1,isLoading:!1},reducers:{setUser:(e,t)=>{e.user=t.payload},setLogout:e=>{localStorage.clear(),e.user=null},setUserDetails:(e,t)=>{e.user=t.payload},updateUser:(e,t)=>{const n=t.payload;e.user={...e.user,...n}}},extraReducers:e=>{e.addCase(Ni.pending,t=>{t.loading=!0}).addCase(Ni.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Ni.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Ci.pending,t=>{t.loading=!0}).addCase(Ci.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Ci.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(bi.pending,t=>{t.isLoading=!0}).addCase(bi.fulfilled,(t,n)=>{t.isLoading=!1,t.user=n.payload}).addCase(bi.rejected,(t,n)=>{t.isLoading=!1,t.error=n.payload})}}),{setUser:Gw,setLogout:iN,setUserDetails:Qw}=_v.actions,aN=_v.reducer,wi=Et("user/showUser",async(e,{rejectWithValue:t})=>{try{return(await oN(e)).data}catch(n){return t(n.response.data)}}),Si=Et("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:o})=>{try{return(await Z0(e,t,n)).data.message}catch(s){return o(s.response.data)}}),lN=La({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1,user:{}},reducers:{},extraReducers:e=>{e.addCase(wi.pending,t=>{t.loading=!0,t.error=null}).addCase(wi.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(wi.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(Si.pending,t=>{t.loading=!0,t.error=null}).addCase(Si.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(Si.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),cN=lN.reducer,Ei=Et("property/submitProperty",async(e,{rejectWithValue:t})=>{try{return(await eN(e)).data}catch(n){return t(n.response.data)}}),ki=Et("property/fetchUserProperties",async({userId:e,page:t,limit:n},{rejectWithValue:o})=>{try{return(await tN(e,t,n)).data}catch(s){return o(s.response.data)}}),Go=Et("property/fetchPropertyById",async(e,{rejectWithValue:t})=>{try{return(await nN(e)).data}catch(n){return t(n.response.data)}}),Pi=Et("property/updateProperty",async({id:e,propertyData:t},{rejectWithValue:n})=>{try{return(await rN(e,t)).data}catch(o){return n(o.response.data)}}),_i=Et("property/addFundDetails",async({id:e,fundDetails:t,toast:n},{rejectWithValue:o})=>{try{const s=await ve.put(`http://67.225.129.127:3002/properties/${e}/fund-details`,t);return n.success("Submitted Successfully"),s.data}catch(s){return o(s.response.data)}}),Qo=Et("properties/getProperties",async({page:e,limit:t,keyword:n=""})=>(await ve.get(`http://67.225.129.127:3002/properties?page=${e}&limit=${t}&keyword=${n}`)).data),uN=La({name:"property",initialState:{property:{},status:"idle",error:null,userProperties:[],selectedProperty:null,totalPages:0,currentPage:1,loading:!1,properties:[]},reducers:{},extraReducers:e=>{e.addCase(Ei.pending,t=>{t.status="loading"}).addCase(Ei.fulfilled,(t,n)=>{t.status="succeeded",t.property=n.payload}).addCase(Ei.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(ki.pending,t=>{t.loading=!0}).addCase(ki.fulfilled,(t,{payload:n})=>{t.loading=!1,t.userProperties=n.properties,t.totalPages=n.totalPages,t.currentPage=n.currentPage}).addCase(ki.rejected,(t,{payload:n})=>{t.loading=!1,t.error=n}).addCase(Go.pending,t=>{t.status="loading"}).addCase(Go.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(Go.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(Pi.pending,t=>{t.status="loading"}).addCase(Pi.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(Pi.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(Qo.pending,t=>{t.loading=!0}).addCase(Qo.fulfilled,(t,n)=>{t.loading=!1,t.properties=n.payload.data,t.totalPages=n.payload.totalPages,t.currentPage=n.payload.currentPage}).addCase(Qo.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message}).addCase(_i.pending,t=>{t.loading=!0}).addCase(_i.fulfilled,(t,n)=>{t.loading=!1,t.property=n.payload.property}).addCase(_i.rejected,(t,n)=>{t.loading=!1,t.error=n.payload})}}),dN=uN.reducer,Xo=Et("fundDetails/fetchFundDetails",async(e,{rejectWithValue:t})=>{try{return(await ve.get(`http://67.225.129.127:3002/properties/${e}/fund-details`)).data.fundDetails}catch(n){return t(n.response.data)}}),fN=La({name:"fundDetails",initialState:{fundDetails:[],loading:!1,error:null},reducers:{},extraReducers:e=>{e.addCase(Xo.pending,t=>{t.loading=!0}).addCase(Xo.fulfilled,(t,n)=>{t.loading=!1,t.fundDetails=n.payload}).addCase(Xo.rejected,(t,n)=>{t.loading=!1,t.error=n.payload})}}),pN=fN.reducer,mN=t1({reducer:{auth:aN,user:cN,property:dN,fundDetails:pN}});/**
|
|
* @remix-run/router v1.19.1
|
|
*
|
|
* Copyright (c) Remix Software Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
*
|
|
* @license MIT
|
|
*/function ys(){return ys=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ys.apply(this,arguments)}var On;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(On||(On={}));const dp="popstate";function hN(e){e===void 0&&(e={});function t(o,s){let{pathname:i,search:a,hash:l}=o.location;return au("",{pathname:i,search:a,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(o,s){return typeof s=="string"?s:ua(s)}return gN(t,n,null,e)}function ke(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ov(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function vN(){return Math.random().toString(36).substr(2,8)}function fp(e,t){return{usr:e.state,key:e.key,idx:t}}function au(e,t,n,o){return n===void 0&&(n=null),ys({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ho(t):t,{state:n,key:t&&t.key||o||vN()})}function ua(e){let{pathname:t="/",search:n="",hash:o=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function ho(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function gN(e,t,n,o){o===void 0&&(o={});let{window:s=document.defaultView,v5Compat:i=!1}=o,a=s.history,l=On.Pop,u=null,c=d();c==null&&(c=0,a.replaceState(ys({},a.state,{idx:c}),""));function d(){return(a.state||{idx:null}).idx}function f(){l=On.Pop;let b=d(),h=b==null?null:b-c;c=b,u&&u({action:l,location:N.location,delta:h})}function g(b,h){l=On.Push;let v=au(N.location,b,h);c=d()+1;let m=fp(v,c),y=N.createHref(v);try{a.pushState(m,"",y)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;s.location.assign(y)}i&&u&&u({action:l,location:N.location,delta:1})}function C(b,h){l=On.Replace;let v=au(N.location,b,h);c=d();let m=fp(v,c),y=N.createHref(v);a.replaceState(m,"",y),i&&u&&u({action:l,location:N.location,delta:0})}function x(b){let h=s.location.origin!=="null"?s.location.origin:s.location.href,v=typeof b=="string"?b:ua(b);return v=v.replace(/ $/,"%20"),ke(h,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,h)}let N={get action(){return l},get location(){return e(s,a)},listen(b){if(u)throw new Error("A history only accepts one active listener");return s.addEventListener(dp,f),u=b,()=>{s.removeEventListener(dp,f),u=null}},createHref(b){return t(s,b)},createURL:x,encodeLocation(b){let h=x(b);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:g,replace:C,go(b){return a.go(b)}};return N}var pp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(pp||(pp={}));function xN(e,t,n){return n===void 0&&(n="/"),yN(e,t,n,!1)}function yN(e,t,n,o){let s=typeof t=="string"?ho(t):t,i=lo(s.pathname||"/",n);if(i==null)return null;let a=Tv(e);jN(a);let l=null;for(let u=0;l==null&&u<a.length;++u){let c=TN(i);l=_N(a[u],c,o)}return l}function Tv(e,t,n,o){t===void 0&&(t=[]),n===void 0&&(n=[]),o===void 0&&(o="");let s=(i,a,l)=>{let u={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};u.relativePath.startsWith("/")&&(ke(u.relativePath.startsWith(o),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+o+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(o.length));let c=zn([o,u.relativePath]),d=n.concat(u);i.children&&i.children.length>0&&(ke(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Tv(i.children,t,d,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:kN(c,i.index),routesMeta:d})};return e.forEach((i,a)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))s(i,a);else for(let u of Rv(i.path))s(i,a,u)}),t}function Rv(e){let t=e.split("/");if(t.length===0)return[];let[n,...o]=t,s=n.endsWith("?"),i=n.replace(/\?$/,"");if(o.length===0)return s?[i,""]:[i];let a=Rv(o.join("/")),l=[];return l.push(...a.map(u=>u===""?i:[i,u].join("/"))),s&&l.push(...a),l.map(u=>e.startsWith("/")&&u===""?"/":u)}function jN(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:PN(t.routesMeta.map(o=>o.childrenIndex),n.routesMeta.map(o=>o.childrenIndex)))}const NN=/^:[\w-]+$/,CN=3,bN=2,wN=1,SN=10,EN=-2,mp=e=>e==="*";function kN(e,t){let n=e.split("/"),o=n.length;return n.some(mp)&&(o+=EN),t&&(o+=bN),n.filter(s=>!mp(s)).reduce((s,i)=>s+(NN.test(i)?CN:i===""?wN:SN),o)}function PN(e,t){return e.length===t.length&&e.slice(0,-1).every((o,s)=>o===t[s])?e[e.length-1]-t[t.length-1]:0}function _N(e,t,n){let{routesMeta:o}=e,s={},i="/",a=[];for(let l=0;l<o.length;++l){let u=o[l],c=l===o.length-1,d=i==="/"?t:t.slice(i.length)||"/",f=da({path:u.relativePath,caseSensitive:u.caseSensitive,end:c},d),g=u.route;if(!f&&c&&n&&!o[o.length-1].route.index&&(f=da({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},d)),!f)return null;Object.assign(s,f.params),a.push({params:s,pathname:zn([i,f.pathname]),pathnameBase:DN(zn([i,f.pathnameBase])),route:g}),f.pathnameBase!=="/"&&(i=zn([i,f.pathnameBase]))}return a}function da(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,o]=ON(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let i=s[0],a=i.replace(/(.)\/+$/,"$1"),l=s.slice(1);return{params:o.reduce((c,d,f)=>{let{paramName:g,isOptional:C}=d;if(g==="*"){let N=l[f]||"";a=i.slice(0,i.length-N.length).replace(/(.)\/+$/,"$1")}const x=l[f];return C&&!x?c[g]=void 0:c[g]=(x||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:a,pattern:e}}function ON(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ov(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let o=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,u)=>(o.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),o]}function TN(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ov(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function lo(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}function RN(e,t){t===void 0&&(t="/");let{pathname:n,search:o="",hash:s=""}=typeof e=="string"?ho(e):e;return{pathname:n?n.startsWith("/")?n:AN(n,t):t,search:FN(o),hash:MN(s)}}function AN(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function Yl(e,t,n,o){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(o)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function IN(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Av(e,t){let n=IN(e);return t?n.map((o,s)=>s===n.length-1?o.pathname:o.pathnameBase):n.map(o=>o.pathnameBase)}function Iv(e,t,n,o){o===void 0&&(o=!1);let s;typeof e=="string"?s=ho(e):(s=ys({},e),ke(!s.pathname||!s.pathname.includes("?"),Yl("?","pathname","search",s)),ke(!s.pathname||!s.pathname.includes("#"),Yl("#","pathname","hash",s)),ke(!s.search||!s.search.includes("#"),Yl("#","search","hash",s)));let i=e===""||s.pathname==="",a=i?"/":s.pathname,l;if(a==null)l=n;else{let f=t.length-1;if(!o&&a.startsWith("..")){let g=a.split("/");for(;g[0]==="..";)g.shift(),f-=1;s.pathname=g.join("/")}l=f>=0?t[f]:"/"}let u=RN(s,l),c=a&&a!=="/"&&a.endsWith("/"),d=(i||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const zn=e=>e.join("/").replace(/\/\/+/g,"/"),DN=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),FN=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,MN=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function LN(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Dv=["post","put","patch","delete"];new Set(Dv);const BN=["get",...Dv];new Set(BN);/**
|
|
* React Router v6.26.1
|
|
*
|
|
* Copyright (c) Remix Software Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
*
|
|
* @license MIT
|
|
*/function js(){return js=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},js.apply(this,arguments)}const qa=S.createContext(null),Fv=S.createContext(null),Kn=S.createContext(null),Va=S.createContext(null),Yn=S.createContext({outlet:null,matches:[],isDataRoute:!1}),Mv=S.createContext(null);function zN(e,t){let{relative:n}=t===void 0?{}:t;Rs()||ke(!1);let{basename:o,navigator:s}=S.useContext(Kn),{hash:i,pathname:a,search:l}=Ha(e,{relative:n}),u=a;return o!=="/"&&(u=a==="/"?o:zn([o,a])),s.createHref({pathname:u,search:l,hash:i})}function Rs(){return S.useContext(Va)!=null}function As(){return Rs()||ke(!1),S.useContext(Va).location}function Lv(e){S.useContext(Kn).static||S.useLayoutEffect(e)}function vo(){let{isDataRoute:e}=S.useContext(Yn);return e?ZN():$N()}function $N(){Rs()||ke(!1);let e=S.useContext(qa),{basename:t,future:n,navigator:o}=S.useContext(Kn),{matches:s}=S.useContext(Yn),{pathname:i}=As(),a=JSON.stringify(Av(s,n.v7_relativeSplatPath)),l=S.useRef(!1);return Lv(()=>{l.current=!0}),S.useCallback(function(c,d){if(d===void 0&&(d={}),!l.current)return;if(typeof c=="number"){o.go(c);return}let f=Iv(c,JSON.parse(a),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:zn([t,f.pathname])),(d.replace?o.replace:o.push)(f,d.state,d)},[t,o,a,i,e])}function go(){let{matches:e}=S.useContext(Yn),t=e[e.length-1];return t?t.params:{}}function Ha(e,t){let{relative:n}=t===void 0?{}:t,{future:o}=S.useContext(Kn),{matches:s}=S.useContext(Yn),{pathname:i}=As(),a=JSON.stringify(Av(s,o.v7_relativeSplatPath));return S.useMemo(()=>Iv(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function WN(e,t){return UN(e,t)}function UN(e,t,n,o){Rs()||ke(!1);let{navigator:s}=S.useContext(Kn),{matches:i}=S.useContext(Yn),a=i[i.length-1],l=a?a.params:{};a&&a.pathname;let u=a?a.pathnameBase:"/";a&&a.route;let c=As(),d;if(t){var f;let b=typeof t=="string"?ho(t):t;u==="/"||(f=b.pathname)!=null&&f.startsWith(u)||ke(!1),d=b}else d=c;let g=d.pathname||"/",C=g;if(u!=="/"){let b=u.replace(/^\//,"").split("/");C="/"+g.replace(/^\//,"").split("/").slice(b.length).join("/")}let x=xN(e,{pathname:C}),N=YN(x&&x.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:zn([u,s.encodeLocation?s.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?u:zn([u,s.encodeLocation?s.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,o);return t&&N?S.createElement(Va.Provider,{value:{location:js({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:On.Pop}},N):N}function qN(){let e=JN(),t=LN(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),n?S.createElement("pre",{style:s},n):null,null)}const VN=S.createElement(qN,null);class HN extends S.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?S.createElement(Yn.Provider,{value:this.props.routeContext},S.createElement(Mv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function KN(e){let{routeContext:t,match:n,children:o}=e,s=S.useContext(qa);return s&&s.static&&s.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(Yn.Provider,{value:t},o)}function YN(e,t,n,o){var s;if(t===void 0&&(t=[]),n===void 0&&(n=null),o===void 0&&(o=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=o)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,l=(s=n)==null?void 0:s.errors;if(l!=null){let d=a.findIndex(f=>f.route.id&&(l==null?void 0:l[f.route.id])!==void 0);d>=0||ke(!1),a=a.slice(0,Math.min(a.length,d+1))}let u=!1,c=-1;if(n&&o&&o.v7_partialHydration)for(let d=0;d<a.length;d++){let f=a[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=d),f.route.id){let{loaderData:g,errors:C}=n,x=f.route.loader&&g[f.route.id]===void 0&&(!C||C[f.route.id]===void 0);if(f.route.lazy||x){u=!0,c>=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((d,f,g)=>{let C,x=!1,N=null,b=null;n&&(C=l&&f.route.id?l[f.route.id]:void 0,N=f.route.errorElement||VN,u&&(c<0&&g===0?(x=!0,b=null):c===g&&(x=!0,b=f.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,g+1)),v=()=>{let m;return C?m=N:x?m=b:f.route.Component?m=S.createElement(f.route.Component,null):f.route.element?m=f.route.element:m=d,S.createElement(KN,{match:f,routeContext:{outlet:d,matches:h,isDataRoute:n!=null},children:m})};return n&&(f.route.ErrorBoundary||f.route.errorElement||g===0)?S.createElement(HN,{location:n.location,revalidation:n.revalidation,component:N,error:C,children:v(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):v()},null)}var Bv=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Bv||{}),fa=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(fa||{});function GN(e){let t=S.useContext(qa);return t||ke(!1),t}function QN(e){let t=S.useContext(Fv);return t||ke(!1),t}function XN(e){let t=S.useContext(Yn);return t||ke(!1),t}function zv(e){let t=XN(),n=t.matches[t.matches.length-1];return n.route.id||ke(!1),n.route.id}function JN(){var e;let t=S.useContext(Mv),n=QN(fa.UseRouteError),o=zv(fa.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[o]}function ZN(){let{router:e}=GN(Bv.UseNavigateStable),t=zv(fa.UseNavigateStable),n=S.useRef(!1);return Lv(()=>{n.current=!0}),S.useCallback(function(s,i){i===void 0&&(i={}),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,js({fromRouteId:t},i)))},[e,t])}function Ie(e){ke(!1)}function eC(e){let{basename:t="/",children:n=null,location:o,navigationType:s=On.Pop,navigator:i,static:a=!1,future:l}=e;Rs()&&ke(!1);let u=t.replace(/^\/*/,"/"),c=S.useMemo(()=>({basename:u,navigator:i,static:a,future:js({v7_relativeSplatPath:!1},l)}),[u,l,i,a]);typeof o=="string"&&(o=ho(o));let{pathname:d="/",search:f="",hash:g="",state:C=null,key:x="default"}=o,N=S.useMemo(()=>{let b=lo(d,u);return b==null?null:{location:{pathname:b,search:f,hash:g,state:C,key:x},navigationType:s}},[u,d,f,g,C,x,s]);return N==null?null:S.createElement(Kn.Provider,{value:c},S.createElement(Va.Provider,{children:n,value:N}))}function tC(e){let{children:t,location:n}=e;return WN(lu(t),n)}new Promise(()=>{});function lu(e,t){t===void 0&&(t=[]);let n=[];return S.Children.forEach(e,(o,s)=>{if(!S.isValidElement(o))return;let i=[...t,s];if(o.type===S.Fragment){n.push.apply(n,lu(o.props.children,i));return}o.type!==Ie&&ke(!1),!o.props.index||!o.props.children||ke(!1);let a={id:o.props.id||i.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(a.children=lu(o.props.children,i)),n.push(a)}),n}/**
|
|
* React Router DOM v6.26.1
|
|
*
|
|
* Copyright (c) Remix Software Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE.md file in the root directory of this source tree.
|
|
*
|
|
* @license MIT
|
|
*/function pa(){return pa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},pa.apply(this,arguments)}function $v(e,t){if(e==null)return{};var n={},o=Object.keys(e),s,i;for(i=0;i<o.length;i++)s=o[i],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function nC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function rC(e,t){return e.button===0&&(!t||t==="_self")&&!nC(e)}const oC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],sC=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],iC="6";try{window.__reactRouterVersion=iC}catch{}const aC=S.createContext({isTransitioning:!1}),lC="startTransition",hp=tc[lC];function cC(e){let{basename:t,children:n,future:o,window:s}=e,i=S.useRef();i.current==null&&(i.current=hN({window:s,v5Compat:!0}));let a=i.current,[l,u]=S.useState({action:a.action,location:a.location}),{v7_startTransition:c}=o||{},d=S.useCallback(f=>{c&&hp?hp(()=>u(f)):u(f)},[u,c]);return S.useLayoutEffect(()=>a.listen(d),[a,d]),S.createElement(eC,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:o})}const uC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",dC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fC=S.forwardRef(function(t,n){let{onClick:o,relative:s,reloadDocument:i,replace:a,state:l,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,g=$v(t,oC),{basename:C}=S.useContext(Kn),x,N=!1;if(typeof c=="string"&&dC.test(c)&&(x=c,uC))try{let m=new URL(window.location.href),y=c.startsWith("//")?new URL(m.protocol+c):new URL(c),E=lo(y.pathname,C);y.origin===m.origin&&E!=null?c=E+y.search+y.hash:N=!0}catch{}let b=zN(c,{relative:s}),h=mC(c,{replace:a,state:l,target:u,preventScrollReset:d,relative:s,unstable_viewTransition:f});function v(m){o&&o(m),m.defaultPrevented||h(m)}return S.createElement("a",pa({},g,{href:x||b,onClick:N||i?o:v,ref:n,target:u}))}),Ne=S.forwardRef(function(t,n){let{"aria-current":o="page",caseSensitive:s=!1,className:i="",end:a=!1,style:l,to:u,unstable_viewTransition:c,children:d}=t,f=$v(t,sC),g=Ha(u,{relative:f.relative}),C=As(),x=S.useContext(Fv),{navigator:N,basename:b}=S.useContext(Kn),h=x!=null&&hC(g)&&c===!0,v=N.encodeLocation?N.encodeLocation(g).pathname:g.pathname,m=C.pathname,y=x&&x.navigation&&x.navigation.location?x.navigation.location.pathname:null;s||(m=m.toLowerCase(),y=y?y.toLowerCase():null,v=v.toLowerCase()),y&&b&&(y=lo(y,b)||y);const E=v!=="/"&&v.endsWith("/")?v.length-1:v.length;let k=m===v||!a&&m.startsWith(v)&&m.charAt(E)==="/",T=y!=null&&(y===v||!a&&y.startsWith(v)&&y.charAt(v.length)==="/"),O={isActive:k,isPending:T,isTransitioning:h},B=k?o:void 0,$;typeof i=="function"?$=i(O):$=[i,k?"active":null,T?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let H=typeof l=="function"?l(O):l;return S.createElement(fC,pa({},f,{"aria-current":B,className:$,ref:n,style:H,to:u,unstable_viewTransition:c}),typeof d=="function"?d(O):d)});var cu;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(cu||(cu={}));var vp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(vp||(vp={}));function pC(e){let t=S.useContext(qa);return t||ke(!1),t}function mC(e,t){let{target:n,replace:o,state:s,preventScrollReset:i,relative:a,unstable_viewTransition:l}=t===void 0?{}:t,u=vo(),c=As(),d=Ha(e,{relative:a});return S.useCallback(f=>{if(rC(f,n)){f.preventDefault();let g=o!==void 0?o:ua(c)===ua(d);u(e,{replace:g,state:s,preventScrollReset:i,relative:a,unstable_viewTransition:l})}},[c,u,d,o,s,n,e,i,a,l])}function hC(e,t){t===void 0&&(t={});let n=S.useContext(aC);n==null&&ke(!1);let{basename:o}=pC(cu.useViewTransitionState),s=Ha(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=lo(n.currentLocation.pathname,o)||n.currentLocation.pathname,a=lo(n.nextLocation.pathname,o)||n.nextLocation.pathname;return da(s.pathname,a)!=null||da(s.pathname,i)!=null}function Wv(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Wv(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Tn(){for(var e,t,n=0,o="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Wv(e))&&(o&&(o+=" "),o+=t);return o}const Ns=e=>typeof e=="number"&&!isNaN(e),pr=e=>typeof e=="string",dt=e=>typeof e=="function",Oi=e=>pr(e)||dt(e)?e:null,uu=e=>S.isValidElement(e)||pr(e)||dt(e)||Ns(e);function vC(e,t,n){n===void 0&&(n=300);const{scrollHeight:o,style:s}=e;requestAnimationFrame(()=>{s.minHeight="initial",s.height=o+"px",s.transition=`all ${n}ms`,requestAnimationFrame(()=>{s.height="0",s.padding="0",s.margin="0",setTimeout(t,n)})})}function Ka(e){let{enter:t,exit:n,appendPosition:o=!1,collapse:s=!0,collapseDuration:i=300}=e;return function(a){let{children:l,position:u,preventExitTransition:c,done:d,nodeRef:f,isIn:g,playToast:C}=a;const x=o?`${t}--${u}`:t,N=o?`${n}--${u}`:n,b=S.useRef(0);return S.useLayoutEffect(()=>{const h=f.current,v=x.split(" "),m=y=>{y.target===f.current&&(C(),h.removeEventListener("animationend",m),h.removeEventListener("animationcancel",m),b.current===0&&y.type!=="animationcancel"&&h.classList.remove(...v))};h.classList.add(...v),h.addEventListener("animationend",m),h.addEventListener("animationcancel",m)},[]),S.useEffect(()=>{const h=f.current,v=()=>{h.removeEventListener("animationend",v),s?vC(h,d,i):d()};g||(c?v():(b.current=1,h.className+=` ${N}`,h.addEventListener("animationend",v)))},[g]),I.createElement(I.Fragment,null,l)}}function gp(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 Ge=new Map;let Cs=[];const du=new Set,gC=e=>du.forEach(t=>t(e)),Uv=()=>Ge.size>0;function qv(e,t){var n;if(t)return!((n=Ge.get(t))==null||!n.isToastActive(e));let o=!1;return Ge.forEach(s=>{s.isToastActive(e)&&(o=!0)}),o}function Vv(e,t){uu(e)&&(Uv()||Cs.push({content:e,options:t}),Ge.forEach(n=>{n.buildToast(e,t)}))}function xp(e,t){Ge.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 xC(e){const{subscribe:t,getSnapshot:n,setProps:o}=S.useRef(function(i){const a=i.containerId||1;return{subscribe(l){const u=function(d,f,g){let C=1,x=0,N=[],b=[],h=[],v=f;const m=new Map,y=new Set,E=()=>{h=Array.from(m.values()),y.forEach(O=>O())},k=O=>{b=O==null?[]:b.filter(B=>B!==O),E()},T=O=>{const{toastId:B,onOpen:$,updateId:H,children:te}=O.props,Q=H==null;O.staleId&&m.delete(O.staleId),m.set(B,O),b=[...b,O.props.toastId].filter(Z=>Z!==O.staleId),E(),g(gp(O,Q?"added":"updated")),Q&&dt($)&&$(S.isValidElement(te)&&te.props)};return{id:d,props:v,observe:O=>(y.add(O),()=>y.delete(O)),toggle:(O,B)=>{m.forEach($=>{B!=null&&B!==$.props.toastId||dt($.toggle)&&$.toggle(O)})},removeToast:k,toasts:m,clearQueue:()=>{x-=N.length,N=[]},buildToast:(O,B)=>{if((W=>{let{containerId:K,toastId:Y,updateId:ee}=W;const re=K?K!==d:d!==1,ne=m.has(Y)&&ee==null;return re||ne})(B))return;const{toastId:$,updateId:H,data:te,staleId:Q,delay:Z}=B,D=()=>{k($)},U=H==null;U&&x++;const G={...v,style:v.toastStyle,key:C++,...Object.fromEntries(Object.entries(B).filter(W=>{let[K,Y]=W;return Y!=null})),toastId:$,updateId:H,data:te,closeToast:D,isIn:!1,className:Oi(B.className||v.toastClassName),bodyClassName:Oi(B.bodyClassName||v.bodyClassName),progressClassName:Oi(B.progressClassName||v.progressClassName),autoClose:!B.isLoading&&(R=B.autoClose,A=v.autoClose,R===!1||Ns(R)&&R>0?R:A),deleteToast(){const W=m.get($),{onClose:K,children:Y}=W.props;dt(K)&&K(S.isValidElement(Y)&&Y.props),g(gp(W,"removed")),m.delete($),x--,x<0&&(x=0),N.length>0?T(N.shift()):E()}};var R,A;G.closeButton=v.closeButton,B.closeButton===!1||uu(B.closeButton)?G.closeButton=B.closeButton:B.closeButton===!0&&(G.closeButton=!uu(v.closeButton)||v.closeButton);let L=O;S.isValidElement(O)&&!pr(O.type)?L=S.cloneElement(O,{closeToast:D,toastProps:G,data:te}):dt(O)&&(L=O({closeToast:D,toastProps:G,data:te}));const F={content:L,props:G,staleId:Q};v.limit&&v.limit>0&&x>v.limit&&U?N.push(F):Ns(Z)?setTimeout(()=>{T(F)},Z):T(F)},setProps(O){v=O},setToggle:(O,B)=>{m.get(O).toggle=B},isToastActive:O=>b.some(B=>B===O),getSnapshot:()=>v.newestOnTop?h.reverse():h}}(a,i,gC);Ge.set(a,u);const c=u.observe(l);return Cs.forEach(d=>Vv(d.content,d.options)),Cs=[],()=>{c(),Ge.delete(a)}},setProps(l){var u;(u=Ge.get(a))==null||u.setProps(l)},getSnapshot(){var l;return(l=Ge.get(a))==null?void 0:l.getSnapshot()}}}(e)).current;o(e);const s=S.useSyncExternalStore(t,n,n);return{getToastToRender:function(i){if(!s)return[];const a=new Map;return s.forEach(l=>{const{position:u}=l.props;a.has(u)||a.set(u,[]),a.get(u).push(l)}),Array.from(a,l=>i(l[0],l[1]))},isToastActive:qv,count:s==null?void 0:s.length}}function yC(e){const[t,n]=S.useState(!1),[o,s]=S.useState(!1),i=S.useRef(null),a=S.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:u,closeToast:c,onClick:d,closeOnClick:f}=e;var g,C;function x(){n(!0)}function N(){n(!1)}function b(m){const y=i.current;a.canDrag&&y&&(a.didMove=!0,t&&N(),a.delta=e.draggableDirection==="x"?m.clientX-a.start:m.clientY-a.start,a.start!==m.clientX&&(a.canCloseOnClick=!1),y.style.transform=`translate3d(${e.draggableDirection==="x"?`${a.delta}px, var(--y)`:`0, calc(${a.delta}px + var(--y))`},0)`,y.style.opacity=""+(1-Math.abs(a.delta/a.removalDistance)))}function h(){document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",h);const m=i.current;if(a.canDrag&&a.didMove&&m){if(a.canDrag=!1,Math.abs(a.delta)>a.removalDistance)return s(!0),e.closeToast(),void e.collapseAll();m.style.transition="transform 0.2s, opacity 0.2s",m.style.removeProperty("transform"),m.style.removeProperty("opacity")}}(C=Ge.get((g={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||C.setToggle(g.id,g.fn),S.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||N(),window.addEventListener("focus",x),window.addEventListener("blur",N),()=>{window.removeEventListener("focus",x),window.removeEventListener("blur",N)}},[e.pauseOnFocusLoss]);const v={onPointerDown:function(m){if(e.draggable===!0||e.draggable===m.pointerType){a.didMove=!1,document.addEventListener("pointermove",b),document.addEventListener("pointerup",h);const y=i.current;a.canCloseOnClick=!0,a.canDrag=!0,y.style.transition="none",e.draggableDirection==="x"?(a.start=m.clientX,a.removalDistance=y.offsetWidth*(e.draggablePercent/100)):(a.start=m.clientY,a.removalDistance=y.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(m){const{top:y,bottom:E,left:k,right:T}=i.current.getBoundingClientRect();m.nativeEvent.type!=="touchend"&&e.pauseOnHover&&m.clientX>=k&&m.clientX<=T&&m.clientY>=y&&m.clientY<=E?N():x()}};return l&&u&&(v.onMouseEnter=N,e.stacked||(v.onMouseLeave=x)),f&&(v.onClick=m=>{d&&d(m),a.canCloseOnClick&&c()}),{playToast:x,pauseToast:N,isRunning:t,preventExitTransition:o,toastRef:i,eventHandlers:v}}function jC(e){let{delay:t,isRunning:n,closeToast:o,type:s="default",hide:i,className:a,style:l,controlledProgress:u,progress:c,rtl:d,isIn:f,theme:g}=e;const C=i||u&&c===0,x={...l,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};u&&(x.transform=`scaleX(${c})`);const N=Tn("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${g}`,`Toastify__progress-bar--${s}`,{"Toastify__progress-bar--rtl":d}),b=dt(a)?a({rtl:d,type:s,defaultClassName:N}):Tn(N,a),h={[u&&c>=1?"onTransitionEnd":"onAnimationEnd"]:u&&c<1?null:()=>{f&&o()}};return I.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":C},I.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${g} Toastify__progress-bar--${s}`}),I.createElement("div",{role:"progressbar","aria-hidden":C?"true":"false","aria-label":"notification timer",className:b,style:x,...h}))}let NC=1;const Hv=()=>""+NC++;function CC(e){return e&&(pr(e.toastId)||Ns(e.toastId))?e.toastId:Hv()}function Jo(e,t){return Vv(e,t),t.toastId}function ma(e,t){return{...t,type:t&&t.type||e,toastId:CC(t)}}function ni(e){return(t,n)=>Jo(t,ma(e,n))}function le(e,t){return Jo(e,ma("default",t))}le.loading=(e,t)=>Jo(e,ma("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),le.promise=function(e,t,n){let o,{pending:s,error:i,success:a}=t;s&&(o=pr(s)?le.loading(s,n):le.loading(s.render,{...n,...s}));const l={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,g)=>{if(f==null)return void le.dismiss(o);const C={type:d,...l,...n,data:g},x=pr(f)?{render:f}:f;return o?le.update(o,{...C,...x}):le(x.render,{...C,...x}),g},c=dt(e)?e():e;return c.then(d=>u("success",a,d)).catch(d=>u("error",i,d)),c},le.success=ni("success"),le.info=ni("info"),le.error=ni("error"),le.warning=ni("warning"),le.warn=le.warning,le.dark=(e,t)=>Jo(e,ma("default",{theme:"dark",...t})),le.dismiss=function(e){(function(t){var n;if(Uv()){if(t==null||pr(n=t)||Ns(n))Ge.forEach(o=>{o.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const o=Ge.get(t.containerId);o?o.removeToast(t.id):Ge.forEach(s=>{s.removeToast(t.id)})}}else Cs=Cs.filter(o=>t!=null&&o.options.toastId!==t)})(e)},le.clearWaitingQueue=function(e){e===void 0&&(e={}),Ge.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},le.isActive=qv,le.update=function(e,t){t===void 0&&(t={});const n=((o,s)=>{var i;let{containerId:a}=s;return(i=Ge.get(a||1))==null?void 0:i.toasts.get(o)})(e,t);if(n){const{props:o,content:s}=n,i={delay:100,...o,...t,toastId:t.toastId||e,updateId:Hv()};i.toastId!==e&&(i.staleId=e);const a=i.render||s;delete i.render,Jo(a,i)}},le.done=e=>{le.update(e,{progress:1})},le.onChange=function(e){return du.add(e),()=>{du.delete(e)}},le.play=e=>xp(!0,e),le.pause=e=>xp(!1,e);const bC=typeof window<"u"?S.useLayoutEffect:S.useEffect,ri=e=>{let{theme:t,type:n,isLoading:o,...s}=e;return I.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...s})},Gl={info:function(e){return I.createElement(ri,{...e},I.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 I.createElement(ri,{...e},I.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 I.createElement(ri,{...e},I.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 I.createElement(ri,{...e},I.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 I.createElement("div",{className:"Toastify__spinner"})}},wC=e=>{const{isRunning:t,preventExitTransition:n,toastRef:o,eventHandlers:s,playToast:i}=yC(e),{closeButton:a,children:l,autoClose:u,onClick:c,type:d,hideProgressBar:f,closeToast:g,transition:C,position:x,className:N,style:b,bodyClassName:h,bodyStyle:v,progressClassName:m,progressStyle:y,updateId:E,role:k,progress:T,rtl:O,toastId:B,deleteToast:$,isIn:H,isLoading:te,closeOnClick:Q,theme:Z}=e,D=Tn("Toastify__toast",`Toastify__toast-theme--${Z}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":O},{"Toastify__toast--close-on-click":Q}),U=dt(N)?N({rtl:O,position:x,type:d,defaultClassName:D}):Tn(D,N),G=function(F){let{theme:W,type:K,isLoading:Y,icon:ee}=F,re=null;const ne={theme:W,type:K};return ee===!1||(dt(ee)?re=ee({...ne,isLoading:Y}):S.isValidElement(ee)?re=S.cloneElement(ee,ne):Y?re=Gl.spinner():(oe=>oe in Gl)(K)&&(re=Gl[K](ne))),re}(e),R=!!T||!u,A={closeToast:g,type:d,theme:Z};let L=null;return a===!1||(L=dt(a)?a(A):S.isValidElement(a)?S.cloneElement(a,A):function(F){let{closeToast:W,theme:K,ariaLabel:Y="close"}=F;return I.createElement("button",{className:`Toastify__close-button Toastify__close-button--${K}`,type:"button",onClick:ee=>{ee.stopPropagation(),W(ee)},"aria-label":Y},I.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},I.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"})))}(A)),I.createElement(C,{isIn:H,done:$,position:x,preventExitTransition:n,nodeRef:o,playToast:i},I.createElement("div",{id:B,onClick:c,"data-in":H,className:U,...s,style:b,ref:o},I.createElement("div",{...H&&{role:k},className:dt(h)?h({type:d}):Tn("Toastify__toast-body",h),style:v},G!=null&&I.createElement("div",{className:Tn("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!te})},G),I.createElement("div",null,l)),L,I.createElement(jC,{...E&&!R?{key:`pb-${E}`}:{},rtl:O,theme:Z,delay:u,isRunning:t,isIn:H,closeToast:g,hide:f,type:d,style:y,className:m,controlledProgress:R,progress:T||0})))},Ya=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},SC=Ka(Ya("bounce",!0));Ka(Ya("slide",!0));Ka(Ya("zoom"));Ka(Ya("flip"));const EC={position:"top-right",transition:SC,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function kC(e){let t={...EC,...e};const n=e.stacked,[o,s]=S.useState(!0),i=S.useRef(null),{getToastToRender:a,isToastActive:l,count:u}=xC(t),{className:c,style:d,rtl:f,containerId:g}=t;function C(N){const b=Tn("Toastify__toast-container",`Toastify__toast-container--${N}`,{"Toastify__toast-container--rtl":f});return dt(c)?c({position:N,rtl:f,defaultClassName:b}):Tn(b,Oi(c))}function x(){n&&(s(!0),le.play())}return bC(()=>{if(n){var N;const b=i.current.querySelectorAll('[data-in="true"]'),h=12,v=(N=t.position)==null?void 0:N.includes("top");let m=0,y=0;Array.from(b).reverse().forEach((E,k)=>{const T=E;T.classList.add("Toastify__toast--stacked"),k>0&&(T.dataset.collapsed=`${o}`),T.dataset.pos||(T.dataset.pos=v?"top":"bot");const O=m*(o?.2:1)+(o?0:h*k);T.style.setProperty("--y",`${v?O:-1*O}px`),T.style.setProperty("--g",`${h}`),T.style.setProperty("--s",""+(1-(o?y:0))),m+=T.offsetHeight,y+=.025})}},[o,u,n]),I.createElement("div",{ref:i,className:"Toastify",id:g,onMouseEnter:()=>{n&&(s(!1),le.pause())},onMouseLeave:x},a((N,b)=>{const h=b.length?{...d}:{...d,pointerEvents:"none"};return I.createElement("div",{className:C(N),style:h,key:`container-${N}`},b.map(v=>{let{content:m,props:y}=v;return I.createElement(wC,{...y,stacked:n,collapseAll:x,isIn:l(y.toastId,y.containerId),style:y.style,key:`toast-${y.key}`},m)}))}))}const Ze=()=>{const e=new Date().getFullYear();return r.jsx(r.Fragment,{children:r.jsxs("div",{children:[r.jsx("div",{className:"footer_section layout_padding",children:r.jsxs("div",{className:"container",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12"})}),r.jsx("div",{className:"footer_section_2",children:r.jsxs("div",{className:"row",children:[r.jsxs("div",{className:"col-md-4",children:[r.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),r.jsx("div",{className:"footer_menu",children:r.jsxs("ul",{children:[r.jsx("li",{children:r.jsx(Ne,{to:"/",className:"link-primary text-decoration-none",children:"Home"})}),r.jsx("li",{children:r.jsx(Ne,{to:"/about",className:"link-primary text-decoration-none",children:"About"})}),r.jsx("li",{children:r.jsx(Ne,{to:"/services",className:"link-primary text-decoration-none",children:"Services"})}),r.jsx("li",{children:r.jsx(Ne,{to:"/contact",className:"link-primary text-decoration-none",children:"Contact Us"})})]})})]}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),r.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"})]}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),r.jsxs("div",{className:"form-group",children:[r.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),r.jsx("div",{className:"subscribe_bt",children:r.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),r.jsx("div",{className:"social_icon",children:r.jsxs("ul",{children:[r.jsx("li",{children:r.jsx("a",{href:"#",children:r.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),r.jsx("li",{children:r.jsx("a",{href:"#",children:r.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),r.jsx("li",{children:r.jsx("a",{href:"#",children:r.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),r.jsx("li",{children:r.jsx("a",{href:"#",children:r.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),r.jsx("div",{className:"copyright_section",children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-sm-12",children:r.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},PC="/assets/logo-Cb1x1exd.png",Re=()=>{var s,i;const{user:e}=Ve(a=>({...a.auth})),t=Ft(),n=vo(),o=()=>{t(iN()),n("/")};return r.jsx(r.Fragment,{children:r.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:r.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[r.jsxs("div",{className:"d-flex align-items-center",children:[r.jsx("img",{src:PC,alt:"logo",width:"75",height:"75",className:"img-fluid"}),r.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),r.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[r.jsxs("ul",{className:"navbar-nav ml-auto",children:[r.jsx("li",{className:"nav-item active",children:r.jsx(Ne,{to:"/",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Home"})}),r.jsx("li",{className:"nav-item",children:r.jsx(Ne,{to:"/services",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"Services"})}),r.jsx("li",{className:"nav-item",children:r.jsx(Ne,{to:"/searchmyproperties",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Search Database"})}),r.jsx("li",{className:"nav-item",children:r.jsx(Ne,{to:"/about",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"About"})}),r.jsx("li",{className:"nav-item",children:r.jsx(Ne,{to:"/searchproperties",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Search properties"})}),r.jsx("li",{className:"nav-item",children:r.jsx(Ne,{to:"/contact",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"Contact"})})]}),(s=e==null?void 0:e.result)!=null&&s._id?r.jsx(Ne,{to:"/dashboard",style:{fontWeight:"bold"},children:"Dashboard"}):r.jsx(Ne,{to:"/register",className:"nav-link",style:{fontWeight:"bold"},children:"Register"}),(i=e==null?void 0:e.result)!=null&&i._id?r.jsx(Ne,{to:"/login",children:r.jsx("p",{className:"header-text",onClick:o,style:{fontWeight:"bold"},children:"Logout"})}):r.jsx(Ne,{to:"/login",className:"nav-link",style:{fontWeight:"bold"},children:"Login"})]})]})})})},_C=()=>r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsxs("div",{children:[r.jsx("div",{className:"header_section",children:r.jsx("div",{className:"banner_section layout_padding",children:r.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[r.jsxs("div",{className:"carousel-inner",children:[r.jsx("div",{className:"carousel-item active",children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-sm-12",children:r.jsxs("div",{className:"banner_taital_main",children:[r.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),r.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),r.jsxs("div",{className:"btn_main",children:[r.jsx("div",{className:"started_text active",children:r.jsx("a",{href:"#",children:"Contact US"})}),r.jsx("div",{className:"started_text",children:r.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),r.jsx("div",{className:"carousel-item",children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-sm-12",children:r.jsxs("div",{className:"banner_taital_main",children:[r.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),r.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),r.jsxs("div",{className:"btn_main",children:[r.jsx("div",{className:"started_text active",children:r.jsx("a",{href:"#",children:"Contact US"})}),r.jsx("div",{className:"started_text",children:r.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),r.jsx("div",{className:"carousel-item",children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-sm-12",children:r.jsxs("div",{className:"banner_taital_main",children:[r.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),r.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),r.jsxs("div",{className:"btn_main",children:[r.jsx("div",{className:"started_text active",children:r.jsx("a",{href:"#",children:"Contact US"})}),r.jsx("div",{className:"started_text",children:r.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),r.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:r.jsx("i",{className:"fa fa-angle-left"})}),r.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:r.jsx("i",{className:"fa fa-angle-right"})})]})})}),r.jsx("div",{className:"services_section layout_padding",children:r.jsxs("div",{className:"container-fluid",children:[r.jsx("div",{className:"row",children:r.jsxs("div",{className:"col-sm-12",children:[r.jsx("h1",{className:"services_taital",children:"Our Services"}),r.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),r.jsx("div",{className:"services_section_2",children:r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-lg-3 col-sm-6",children:r.jsxs("div",{className:"box_main active",children:[r.jsx("div",{className:"service_img",children:r.jsx("img",{src:"images/icon-1.png"})}),r.jsx("h4",{className:"development_text",children:"Dedication Services"}),r.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"}),r.jsx("div",{className:"readmore_bt",children:r.jsx("a",{href:"#",children:"Read More"})})]})}),r.jsx("div",{className:"col-lg-3 col-sm-6",children:r.jsxs("div",{className:"box_main",children:[r.jsx("div",{className:"service_img",children:r.jsx("img",{src:"images/icon-2.png"})}),r.jsx("h4",{className:"development_text",children:"Building work Reports"}),r.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),r.jsx("div",{className:"readmore_bt",children:r.jsx("a",{href:"#",children:"Read More"})})]})}),r.jsx("div",{className:"col-lg-3 col-sm-6",children:r.jsxs("div",{className:"box_main",children:[r.jsx("div",{className:"service_img",children:r.jsx("img",{src:"images/icon-3.png"})}),r.jsx("h4",{className:"development_text",children:"Reporting continuously"}),r.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),r.jsx("div",{className:"readmore_bt",children:r.jsx("a",{href:"#",children:"Read More"})})]})}),r.jsx("div",{className:"col-lg-3 col-sm-6",children:r.jsxs("div",{className:"box_main",children:[r.jsx("div",{className:"service_img",children:r.jsx("img",{src:"images/icon-4.png"})}),r.jsx("h4",{className:"development_text",children:"Manage your investment "}),r.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"}),r.jsx("div",{className:"readmore_bt",children:r.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})})]}),r.jsx(Ze,{})]}),OC=()=>r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsxs("div",{className:"about_section layout_padding",children:[r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"container",children:r.jsxs("div",{className:"row",children:[r.jsxs("div",{className:"col-md-6",children:[r.jsx("h1",{className:"about_taital",children:"About Us"}),r.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"," "]}),r.jsx("div",{className:"read_bt_1",children:r.jsx("a",{href:"#",children:"Read More"})})]}),r.jsx("div",{className:"col-md-6",children:r.jsx("div",{className:"about_img",children:r.jsx("div",{className:"video_bt",children:r.jsx("div",{className:"play_icon",children:r.jsx("img",{src:"images/play-icon.png"})})})})})]})}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{})]}),r.jsx(Ze,{})]}),TC=()=>r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsxs("div",{className:"contact_section layout_padding",children:[r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12",children:r.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),r.jsx("div",{className:"container-fluid",children:r.jsx("div",{className:"contact_section_2",children:r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-md-6",children:r.jsx("form",{action:!0,children:r.jsxs("div",{className:"mail_section_1",children:[r.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),r.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),r.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),r.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),r.jsx("div",{className:"send_bt",children:r.jsx("a",{href:"#",children:"SEND"})})]})})}),r.jsx("div",{className:"col-md-6 padding_left_15",children:r.jsx("div",{className:"contact_img",children:r.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),r.jsx(Ze,{})]});var tn=function(){return tn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},tn.apply(this,arguments)};function RC(e){var t,n,o,s,i,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.fill)!==null&&n!==void 0?n:"#fff",u=(o=e.stroke)!==null&&o!==void 0?o:"transparent",c=e.fillOpacity,d=e.strokeOpacity;return I.createElement("svg",tn({},tn(tn({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(s=e.height)!==null&&s!==void 0?s:80,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:55}),{viewBox:"0 0 55 80"}),I.createElement("g",{transform:"matrix(1 0 0 -1 0 80)"},I.createElement("rect",tn({width:10,height:20,rx:3},{fill:l,stroke:u,fillOpacity:c,strokeOpacity:d}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(4.3/a,"s"),values:"20;45;57;80;64;32;66;45;64;23;66;13;64;56;34;34;2;23;76;79;20",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",tn({x:15,width:10,height:80,rx:3},{fill:l,stroke:u,fillOpacity:c,strokeOpacity:d}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(2/a,"s"),values:"80;55;33;5;75;23;73;33;12;14;60;80",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",tn({x:30,width:10,height:50,rx:3},{fill:l,stroke:u,fillOpacity:c,strokeOpacity:d}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(1.4/a,"s"),values:"50;34;78;23;56;23;34;76;80;54;21;50",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",tn({x:45,width:10,height:30,rx:3},{fill:l,stroke:u,fillOpacity:c,strokeOpacity:d}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(2/a,"s"),values:"30;45;13;80;56;72;45;76;34;23;67;30",calcMode:"linear",repeatCount:"indefinite"}))))}var Cn=function(){return Cn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},Cn.apply(this,arguments)};function AC(e){var t,n,o,s,i=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=e.fill,l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",Cn({},Cn(Cn({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:57,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:57}),{viewBox:"0 0 57 57"}),I.createElement("g",{transform:"translate(1 1)",strokeWidth:2,fill:"none",fillRule:"evenodd"},I.createElement("circle",Cn({cx:5,cy:50,r:5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"cy",begin:"0s",dur:"".concat(2.2/i,"s"),values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"cx",begin:"0s",dur:"".concat(2.2/i,"s"),values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Cn({cx:27,cy:5,r:5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"cy",begin:"0s",dur:"".concat(2.2/i,"s"),from:5,to:5,values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"cx",begin:"0s",dur:"".concat(2.2/i,"s"),from:27,to:27,values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",Cn({cx:49,cy:50,r:5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"cy",begin:"0s",dur:"".concat(2.2/i,"s"),values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"cx",from:49,to:49,begin:"0s",dur:"".concat(2.2/i,"s"),values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"}))))}var Vt=function(){return Vt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},Vt.apply(this,arguments)};function IC(e){var t,n,o,s,i=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",Vt({},Vt(Vt({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:140,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:135}),{viewBox:"0 0 135 140"}),I.createElement("rect",Vt({y:10,width:15,height:120,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"".concat(1/i,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"".concat(1/i,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",Vt({x:30,y:10,width:15,height:120,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"".concat(1/i,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"".concat(1/i,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",Vt({x:60,width:15,height:140,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(1/i,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0s",dur:"".concat(1/i,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",Vt({x:90,y:10,width:15,height:120,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"".concat(1/i,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"".concat(1/i,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("rect",Vt({x:120,y:10,width:15,height:120,rx:6},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"".concat(1/i,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"".concat(1/i,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})))}var or=function(){return or=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},or.apply(this,arguments)};function DC(e){var t,n,o,s,i=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",or({},or(or({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:135,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:135}),{viewBox:"0 0 135 135"}),I.createElement("path",or({d:"M67.447 58c5.523 0 10-4.477 10-10s-4.477-10-10-10-10 4.477-10 10 4.477 10 10 10zm9.448 9.447c0 5.523 4.477 10 10 10 5.522 0 10-4.477 10-10s-4.478-10-10-10c-5.523 0-10 4.477-10 10zm-9.448 9.448c-5.523 0-10 4.477-10 10 0 5.522 4.477 10 10 10s10-4.478 10-10c0-5.523-4.477-10-10-10zM58 67.447c0-5.523-4.477-10-10-10s-10 4.477-10 10 4.477 10 10 10 10-4.477 10-10z"},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 67 67",to:"-360 67 67",dur:"".concat(2.5/i,"s"),repeatCount:"indefinite"})),I.createElement("path",or({d:"M28.19 40.31c6.627 0 12-5.374 12-12 0-6.628-5.373-12-12-12-6.628 0-12 5.372-12 12 0 6.626 5.372 12 12 12zm30.72-19.825c4.686 4.687 12.284 4.687 16.97 0 4.686-4.686 4.686-12.284 0-16.97-4.686-4.687-12.284-4.687-16.97 0-4.687 4.686-4.687 12.284 0 16.97zm35.74 7.705c0 6.627 5.37 12 12 12 6.626 0 12-5.373 12-12 0-6.628-5.374-12-12-12-6.63 0-12 5.372-12 12zm19.822 30.72c-4.686 4.686-4.686 12.284 0 16.97 4.687 4.686 12.285 4.686 16.97 0 4.687-4.686 4.687-12.284 0-16.97-4.685-4.687-12.283-4.687-16.97 0zm-7.704 35.74c-6.627 0-12 5.37-12 12 0 6.626 5.373 12 12 12s12-5.374 12-12c0-6.63-5.373-12-12-12zm-30.72 19.822c-4.686-4.686-12.284-4.686-16.97 0-4.686 4.687-4.686 12.285 0 16.97 4.686 4.687 12.284 4.687 16.97 0 4.687-4.685 4.687-12.283 0-16.97zm-35.74-7.704c0-6.627-5.372-12-12-12-6.626 0-12 5.373-12 12s5.374 12 12 12c6.628 0 12-5.373 12-12zm-19.823-30.72c4.687-4.686 4.687-12.284 0-16.97-4.686-4.686-12.284-4.686-16.97 0-4.687 4.686-4.687 12.284 0 16.97 4.686 4.687 12.284 4.687 16.97 0z"},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 67 67",to:"360 67 67",dur:"".concat(8/i,"s"),repeatCount:"indefinite"})))}var et=function(){return et=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},et.apply(this,arguments)};function FC(e){var t,n,o,s,i=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",et({},et(et({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:105,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:105}),{viewBox:"0 0 105 105"}),I.createElement("circle",et({cx:12.5,cy:12.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1/i,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",et({cx:12.5,cy:52.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"".concat(1/i,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",et({cx:52.5,cy:12.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"".concat(1/i,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",et({cx:52.5,cy:52.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"".concat(1/i,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",et({cx:92.5,cy:12.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"".concat(1/i,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",et({cx:92.5,cy:52.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"".concat(1/i,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",et({cx:12.5,cy:92.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"".concat(1/i,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",et({cx:52.5,cy:92.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"".concat(1/i,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",et({cx:92.5,cy:92.5,r:12.5},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"".concat(1/i,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})))}var bn=function(){return bn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},bn.apply(this,arguments)};function MC(e){var t,n,o,s,i=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity;return I.createElement("svg",bn({},bn(bn({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:64,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:140}),{viewBox:"0 0 140 64"}),I.createElement("path",bn({d:"M30.262 57.02L7.195 40.723c-5.84-3.976-7.56-12.06-3.842-18.063 3.715-6 11.467-7.65 17.306-3.68l4.52 3.76 2.6-5.274c3.717-6.002 11.47-7.65 17.305-3.68 5.84 3.97 7.56 12.054 3.842 18.062L34.49 56.118c-.897 1.512-2.793 1.915-4.228.9z",fillOpacity:u},{fill:a,stroke:l}),I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.4/i,"s"),values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("path",bn({d:"M105.512 56.12l-14.44-24.272c-3.716-6.008-1.996-14.093 3.843-18.062 5.835-3.97 13.588-2.322 17.306 3.68l2.6 5.274 4.52-3.76c5.84-3.97 13.592-2.32 17.307 3.68 3.718 6.003 1.998 14.088-3.842 18.064L109.74 57.02c-1.434 1.014-3.33.61-4.228-.9z",fillOpacity:u},{fill:a,stroke:l}),I.createElement("animate",{attributeName:"fill-opacity",begin:"0.7s",dur:"".concat(1.4/i,"s"),values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("path",bn({d:"M67.408 57.834l-23.01-24.98c-5.864-6.15-5.864-16.108 0-22.248 5.86-6.14 15.37-6.14 21.234 0L70 16.168l4.368-5.562c5.863-6.14 15.375-6.14 21.235 0 5.863 6.14 5.863 16.098 0 22.247l-23.007 24.98c-1.43 1.556-3.757 1.556-5.188 0z"},{fill:a,stroke:l})))}var Ur=function(){return Ur=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},Ur.apply(this,arguments)};function LC(e){var t,n,o,s,i,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(o=e.strokeWidth)!==null&&o!==void 0?o:2,c=e.strokeOpacity;return I.createElement("svg",Ur({},Ur(Ur({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(s=e.height)!==null&&s!==void 0?s:38,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:38}),{viewBox:"0 0 38 38",overflow:"visible"}),I.createElement("g",Ur({transform:"translate(1 1)",fill:"none",fillRule:"evenodd"},{stroke:l,strokeWidth:u,strokeOpacity:c}),I.createElement("circle",{strokeOpacity:.5,cx:18,cy:18,r:18}),I.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"".concat(1/a,"s"),repeatCount:"indefinite"}))))}var qr=function(){return qr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},qr.apply(this,arguments)};function BC(e){var t,n,o,s,i,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(o=e.strokeWidth)!==null&&o!==void 0?o:2,c=e.strokeOpacity;return I.createElement("svg",qr({},qr(qr({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(s=e.height)!==null&&s!==void 0?s:44,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:44}),{viewBox:"0 0 44 44"}),I.createElement("g",qr({fill:"none",fillRule:"evenodd"},{stroke:l,strokeWidth:u,strokeOpacity:c}),I.createElement("circle",{cx:22,cy:22,r:1},I.createElement("animate",{attributeName:"r",begin:"0s",dur:"".concat(1.8/a,"s"),values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-opacity",begin:"0s",dur:"".concat(1.8/a,"s"),values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})),I.createElement("circle",{cx:22,cy:22,r:1},I.createElement("animate",{attributeName:"r",begin:"-0.9s",dur:"".concat(1.8/a,"s"),values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-opacity",begin:"-0.9s",dur:"".concat(1.8/a,"s"),values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}))))}var Vr=function(){return Vr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},Vr.apply(this,arguments)};function zC(e){var t,n,o,s,i,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(o=e.strokeWidth)!==null&&o!==void 0?o:2,c=e.strokeOpacity;return I.createElement("svg",Vr({},Vr(Vr({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(s=e.height)!==null&&s!==void 0?s:45,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:45}),{viewBox:"0 0 45 45"}),I.createElement("g",Vr({fill:"none",fillRule:"evenodd",transform:"translate(1 1)"},{stroke:l,strokeWidth:u,strokeOpacity:c}),I.createElement("circle",{cx:22,cy:22,r:6},I.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"".concat(3/a,"s"),values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"".concat(3/a,"s"),values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"".concat(3/a,"s"),values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:22,cy:22,r:6},I.createElement("animate",{attributeName:"r",begin:"3s",dur:"".concat(3/a,"s"),values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"".concat(3/a,"s"),values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"".concat(3/a,"s"),values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:22,cy:22,r:8},I.createElement("animate",{attributeName:"r",begin:"0s",dur:"".concat(1.5/a,"s"),values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))}var Hr=function(){return Hr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},Hr.apply(this,arguments)};function $C(e){var t,n,o,s,i=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",Hr({},Hr(Hr({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:58,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:58}),{viewBox:"0 0 58 58"}),I.createElement("g",Hr({transform:"translate(2 1)",fillRule:"evenodd"},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("circle",{cx:42.601,cy:11.462,r:5},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/i,"s"),values:"1;0;0;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:49.063,cy:27.063,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/i,"s"),values:"0;1;0;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:42.601,cy:42.663,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/i,"s"),values:"0;0;1;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:27,cy:49.125,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/i,"s"),values:"0;0;0;1;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:11.399,cy:42.663,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/i,"s"),values:"0;0;0;0;1;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:4.938,cy:27.063,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/i,"s"),values:"0;0;0;0;0;1;0;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:11.399,cy:11.462,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/i,"s"),values:"0;0;0;0;0;0;1;0",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",{cx:27,cy:5,r:5,fillOpacity:0},I.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/i,"s"),values:"0;0;0;0;0;0;0;1",calcMode:"linear",repeatCount:"indefinite"}))))}var Kr=function(){return Kr=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},Kr.apply(this,arguments)};function WC(e){var t,n,o,s,i,a=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),l=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(o=e.strokeWidth)!==null&&o!==void 0?o:2,c=e.strokeOpacity;return I.createElement("svg",Kr({},Kr(Kr({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(s=e.height)!==null&&s!==void 0?s:38,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(i=e.width)!==null&&i!==void 0?i:38}),{viewBox:"0 0 38 38"}),I.createElement("defs",null,I.createElement("linearGradient",{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"prefix__a"},I.createElement("stop",{stopOpacity:0,offset:"0%"}),I.createElement("stop",{stopOpacity:.631,offset:"63.146%"}),I.createElement("stop",{offset:"100%"}))),I.createElement("g",{transform:"translate(1 1)",fill:"none",fillRule:"evenodd"},I.createElement("path",Kr({d:"M36 18c0-9.94-8.06-18-18-18"},{stroke:l,strokeWidth:u,strokeOpacity:c}),I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"".concat(.9/a,"s"),repeatCount:"indefinite"})),I.createElement("circle",{cx:36,cy:18,r:1},I.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"".concat(.9/a,"s"),repeatCount:"indefinite"}))))}var wn=function(){return wn=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},wn.apply(this,arguments)};function UC(e){var t,n,o,s,i=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",l=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return I.createElement("svg",wn({},wn(wn({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(o=e.height)!==null&&o!==void 0?o:30,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(s=e.width)!==null&&s!==void 0?s:120}),{viewBox:"0 0 120 30"}),I.createElement("circle",wn({cx:15,cy:15,r:15},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"r",from:15,to:15,begin:"0s",dur:"".concat(.8/i,"s"),values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"fill-opacity",from:1,to:1,begin:"0s",dur:"".concat(.8/i,"s"),values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",wn({cx:60,cy:15,r:9},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"r",from:9,to:9,begin:"0s",dur:"".concat(.8/i,"s"),values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"fill-opacity",from:.5,to:.5,begin:"0s",dur:"".concat(.8/i,"s"),values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),I.createElement("circle",wn({cx:105,cy:15,r:15},{fill:a,stroke:l,fillOpacity:u,strokeOpacity:c}),I.createElement("animate",{attributeName:"r",from:15,to:15,begin:"0s",dur:"".concat(.8/i,"s"),values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),I.createElement("animate",{attributeName:"fill-opacity",from:1,to:1,begin:"0s",dur:"".concat(.8/i,"s"),values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))}var qC=RC,VC=AC,HC=IC,KC=DC,YC=FC,GC=MC,QC=LC,XC=BC,JC=zC,ZC=$C,eb=WC,tb=UC,Kv={Audio:qC,BallTriangle:VC,Bars:HC,Circles:KC,Grid:YC,Hearts:GC,Oval:QC,Puff:XC,Rings:JC,SpinningCircles:ZC,TailSpin:eb,ThreeDots:tb};const nb={title:"None",firstName:"",middleName:"",lastName:"",email:"",password:"",confirmPassword:"",termsconditions:"",userType:""},rb=()=>{const[e,t]=S.useState(nb),[n,o]=S.useState(!1),{loading:s,error:i}=Ve(E=>({...E.auth})),{title:a,email:l,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:g,termsconditions:C,userType:x}=e,N=Ft(),b=vo();S.useEffect(()=>{i&&le.error(i)},[i]),S.useEffect(()=>{o(a!=="None"&&l&&u&&c&&d&&f&&g&&C&&x!=="")},[a,l,u,c,d,f,g,C,x]);const h=E=>{if(E.preventDefault(),u!==g)return le.error("Password should match");n?N(Ci({formValue:e,navigate:b,toast:le})):le.error("Please fill in all fields and select all checkboxes")},v=E=>E.charAt(0).toUpperCase()+E.slice(1),m=E=>{const{name:k,value:T,type:O,checked:B}=E.target;t(O==="checkbox"?$=>({...$,[k]:B}):$=>({...$,[k]:k==="email"||k==="password"||k==="confirmPassword"?T:v(T)}))},y=E=>{t(k=>({...k,userType:E.target.value}))};return r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:r.jsx("div",{className:"container-fluid px-0",children:r.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[r.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),r.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:r.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:r.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"mb-4",children:[r.jsx("h2",{className:"h3",children:"Registration"}),r.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),r.jsx("hr",{})]})})}),r.jsx("form",{onSubmit:h,children:r.jsxs("div",{className:"row gy-3 overflow-hidden",children:[r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsxs("label",{className:"form-label",children:["Please select the role. ",r.jsx("br",{}),r.jsx("br",{})]}),r.jsxs("div",{className:"form-check form-check-inline",children:[r.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:x==="Lender",onChange:y,required:!0}),r.jsx("label",{className:"form-check-label",children:"Lender"})]}),r.jsxs("div",{className:"form-check form-check-inline",children:[r.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:x==="Borrower",onChange:y,required:!0}),r.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),r.jsx("br",{}),r.jsx("br",{})]})]})}),r.jsxs("div",{className:"col-12",children:[r.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:a,onChange:m,children:[r.jsx("option",{value:"None",children:"Please Select Title"}),r.jsx("option",{value:"Dr",children:"Dr"}),r.jsx("option",{value:"Prof",children:"Prof"}),r.jsx("option",{value:"Mr",children:"Mr"}),r.jsx("option",{value:"Miss",children:"Miss"})]}),r.jsx("br",{})]}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:m,placeholder:"First Name",required:"required"}),r.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:m,placeholder:"Middle Name",required:"required"}),r.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:m,placeholder:"Last Name",required:"required"}),r.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"email",className:"form-control",value:l,name:"email",onChange:m,placeholder:"name@example.com",required:"required"}),r.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:m,placeholder:"Password",required:"required"}),r.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"password",className:"form-control",value:g,name:"confirmPassword",onChange:m,placeholder:"confirmPassword",required:"required"}),r.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-check",children:[r.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:C,name:"termsconditions",checked:C,onChange:m,required:!0}),r.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",r.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-grid",children:r.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||s,children:[s&&r.jsx(Kv.Bars,{}),"Sign up"]})})})]})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:r.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",r.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12"})})]})})})]})})}),r.jsx(Ze,{})]})},ob={email:"",password:""},sb=()=>{const[e,t]=S.useState(ob),{loading:n,error:o}=Ve(d=>({...d.auth})),{email:s,password:i}=e,a=Ft(),l=vo();S.useEffect(()=>{o&&le.error(o)},[o]);const u=d=>{d.preventDefault(),s&&i&&a(Ni({formValue:e,navigate:l,toast:le}))},c=d=>{let{name:f,value:g}=d.target;t({...e,[f]:g})};return r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:r.jsx("div",{className:"container-fluid px-0",children:r.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[r.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:r.jsx("div",{className:"text-bg-primary",children:r.jsxs("div",{className:"px-4",children:[r.jsx("hr",{className:"border-primary-subtle mb-4"}),r.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),r.jsx("div",{className:"text-endx",children:r.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:r.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"})})})]})})}),r.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:r.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:r.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"mb-4",children:r.jsx("h2",{className:"h3",children:"Please Login"})})})}),r.jsx("form",{method:"POST",children:r.jsxs("div",{className:"row gy-3 overflow-hidden",children:[r.jsx("div",{className:"col-12"}),r.jsx("div",{className:"col-12"}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:s,name:"email",onChange:c,required:!0}),r.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:i,name:"password",onChange:c,required:!0}),r.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-check",children:[r.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),r.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-grid",children:r.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&r.jsx(Kv.Bars,{}),"Sign In"]})})})]})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:r.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",r.jsx(Ne,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),r.jsx(Ne,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12"})})]})})})]})})}),r.jsx(Ze,{})]})},Ti="/assets/samplepic-BM_cnzgz.jpg";var Yv={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ig,function(){return function(n){function o(i){if(s[i])return s[i].exports;var a=s[i]={exports:{},id:i,loaded:!1};return n[i].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}var s={};return o.m=n,o.c=s,o.p="",o(0)}([function(n,o,s){function i(C){return C&&C.__esModule?C:{default:C}}function a(C,x){if(!(C instanceof x))throw new TypeError("Cannot call a class as a function")}function l(C,x){if(!C)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!x||typeof x!="object"&&typeof x!="function"?C:x}function u(C,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof x);C.prototype=Object.create(x&&x.prototype,{constructor:{value:C,enumerable:!1,writable:!0,configurable:!0}}),x&&(Object.setPrototypeOf?Object.setPrototypeOf(C,x):C.__proto__=x)}Object.defineProperty(o,"__esModule",{value:!0});var c=function(){function C(x,N){for(var b=0;b<N.length;b++){var h=N[b];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(x,h.key,h)}}return function(x,N,b){return N&&C(x.prototype,N),b&&C(x,b),x}}(),d=s(36),f=i(d),g=function(C){function x(N){a(this,x);var b=l(this,(x.__proto__||Object.getPrototypeOf(x)).call(this,N));return b.state={files:[]},b}return u(x,C),c(x,[{key:"handleChange",value:function(N){for(var b=this,h=N.target.files,v=[],m=function(){var E=h[y],k=new FileReader;k.readAsDataURL(E),k.onload=function(){var T={name:E.name,type:E.type,size:Math.round(E.size/1e3)+" kB",base64:k.result,file:E};v.push(T),v.length==h.length&&(b.props.multiple?b.props.onDone(v):b.props.onDone(v[0]))}},y=0;y<h.length;y++)m()}},{key:"render",value:function(){return f.default.createElement("input",{type:"file",onChange:this.handleChange.bind(this),multiple:this.props.multiple})}}]),x}(f.default.Component);o.default=g,g.defaultProps={multiple:!1}},function(n,o){function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(m){if(g===setTimeout)return setTimeout(m,0);if((g===s||!g)&&setTimeout)return g=setTimeout,setTimeout(m,0);try{return g(m,0)}catch{try{return g.call(null,m,0)}catch{return g.call(this,m,0)}}}function l(m){if(C===clearTimeout)return clearTimeout(m);if((C===i||!C)&&clearTimeout)return C=clearTimeout,clearTimeout(m);try{return C(m)}catch{try{return C.call(null,m)}catch{return C.call(this,m)}}}function u(){h&&N&&(h=!1,N.length?b=N.concat(b):v=-1,b.length&&c())}function c(){if(!h){var m=a(u);h=!0;for(var y=b.length;y;){for(N=b,b=[];++v<y;)N&&N[v].run();v=-1,y=b.length}N=null,h=!1,l(m)}}function d(m,y){this.fun=m,this.array=y}function f(){}var g,C,x=n.exports={};(function(){try{g=typeof setTimeout=="function"?setTimeout:s}catch{g=s}try{C=typeof clearTimeout=="function"?clearTimeout:i}catch{C=i}})();var N,b=[],h=!1,v=-1;x.nextTick=function(m){var y=new Array(arguments.length-1);if(arguments.length>1)for(var E=1;E<arguments.length;E++)y[E-1]=arguments[E];b.push(new d(m,y)),b.length!==1||h||a(c)},d.prototype.run=function(){this.fun.apply(null,this.array)},x.title="browser",x.browser=!0,x.env={},x.argv=[],x.version="",x.versions={},x.on=f,x.addListener=f,x.once=f,x.off=f,x.removeListener=f,x.removeAllListeners=f,x.emit=f,x.prependListener=f,x.prependOnceListener=f,x.listeners=function(m){return[]},x.binding=function(m){throw new Error("process.binding is not supported")},x.cwd=function(){return"/"},x.chdir=function(m){throw new Error("process.chdir is not supported")},x.umask=function(){return 0}},function(n,o,s){(function(i){function a(u,c,d,f,g,C,x,N){if(l(c),!u){var b;if(c===void 0)b=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var h=[d,f,g,C,x,N],v=0;b=new Error(c.replace(/%s/g,function(){return h[v++]})),b.name="Invariant Violation"}throw b.framesToPop=1,b}}var l=function(u){};i.env.NODE_ENV!=="production"&&(l=function(u){if(u===void 0)throw new Error("invariant requires an error message argument")}),n.exports=a}).call(o,s(1))},function(n,o,s){(function(i){var a=s(9),l=a;if(i.env.NODE_ENV!=="production"){var u=function(c){for(var d=arguments.length,f=Array(d>1?d-1:0),g=1;g<d;g++)f[g-1]=arguments[g];var C=0,x="Warning: "+c.replace(/%s/g,function(){return f[C++]});typeof console<"u"&&console.error(x);try{throw new Error(x)}catch{}};l=function(c,d){if(d===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(d.indexOf("Failed Composite propType: ")!==0&&!c){for(var f=arguments.length,g=Array(f>2?f-2:0),C=2;C<f;C++)g[C-2]=arguments[C];u.apply(void 0,[d].concat(g))}}}n.exports=l}).call(o,s(1))},function(n,o,s){(function(i){function a(y){if(i.env.NODE_ENV!=="production"&&b.call(y,"ref")){var E=Object.getOwnPropertyDescriptor(y,"ref").get;if(E&&E.isReactWarning)return!1}return y.ref!==void 0}function l(y){if(i.env.NODE_ENV!=="production"&&b.call(y,"key")){var E=Object.getOwnPropertyDescriptor(y,"key").get;if(E&&E.isReactWarning)return!1}return y.key!==void 0}function u(y,E){var k=function(){d||(d=!0,i.env.NODE_ENV!=="production"&&x(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",E))};k.isReactWarning=!0,Object.defineProperty(y,"key",{get:k,configurable:!0})}function c(y,E){var k=function(){f||(f=!0,i.env.NODE_ENV!=="production"&&x(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",E))};k.isReactWarning=!0,Object.defineProperty(y,"ref",{get:k,configurable:!0})}var d,f,g=s(6),C=s(7),x=s(3),N=s(8),b=Object.prototype.hasOwnProperty,h=s(15),v={key:!0,ref:!0,__self:!0,__source:!0},m=function(y,E,k,T,O,B,$){var H={$$typeof:h,type:y,key:E,ref:k,props:$,_owner:B};return i.env.NODE_ENV!=="production"&&(H._store={},N?(Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:O})):(H._store.validated=!1,H._self=T,H._source=O),Object.freeze&&(Object.freeze(H.props),Object.freeze(H))),H};m.createElement=function(y,E,k){var T,O={},B=null,$=null,H=null,te=null;if(E!=null){a(E)&&($=E.ref),l(E)&&(B=""+E.key),H=E.__self===void 0?null:E.__self,te=E.__source===void 0?null:E.__source;for(T in E)b.call(E,T)&&!v.hasOwnProperty(T)&&(O[T]=E[T])}var Q=arguments.length-2;if(Q===1)O.children=k;else if(Q>1){for(var Z=Array(Q),D=0;D<Q;D++)Z[D]=arguments[D+2];i.env.NODE_ENV!=="production"&&Object.freeze&&Object.freeze(Z),O.children=Z}if(y&&y.defaultProps){var U=y.defaultProps;for(T in U)O[T]===void 0&&(O[T]=U[T])}if(i.env.NODE_ENV!=="production"&&(B||$)&&(typeof O.$$typeof>"u"||O.$$typeof!==h)){var G=typeof y=="function"?y.displayName||y.name||"Unknown":y;B&&u(O,G),$&&c(O,G)}return m(y,B,$,H,te,C.current,O)},m.createFactory=function(y){var E=m.createElement.bind(null,y);return E.type=y,E},m.cloneAndReplaceKey=function(y,E){var k=m(y.type,E,y.ref,y._self,y._source,y._owner,y.props);return k},m.cloneElement=function(y,E,k){var T,O=g({},y.props),B=y.key,$=y.ref,H=y._self,te=y._source,Q=y._owner;if(E!=null){a(E)&&($=E.ref,Q=C.current),l(E)&&(B=""+E.key);var Z;y.type&&y.type.defaultProps&&(Z=y.type.defaultProps);for(T in E)b.call(E,T)&&!v.hasOwnProperty(T)&&(E[T]===void 0&&Z!==void 0?O[T]=Z[T]:O[T]=E[T])}var D=arguments.length-2;if(D===1)O.children=k;else if(D>1){for(var U=Array(D),G=0;G<D;G++)U[G]=arguments[G+2];O.children=U}return m(y.type,B,$,H,te,Q,O)},m.isValidElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===h},n.exports=m}).call(o,s(1))},function(n,o){function s(i){for(var a=arguments.length-1,l="Minified React error #"+i+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+i,u=0;u<a;u++)l+="&args[]="+encodeURIComponent(arguments[u+1]);l+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var c=new Error(l);throw c.name="Invariant Violation",c.framesToPop=1,c}n.exports=s},function(n,o){/*
|
|
object-assign
|
|
(c) Sindre Sorhus
|
|
@license MIT
|
|
*/function s(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function i(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var d={},f=0;f<10;f++)d["_"+String.fromCharCode(f)]=f;var g=Object.getOwnPropertyNames(d).map(function(x){return d[x]});if(g.join("")!=="0123456789")return!1;var C={};return"abcdefghijklmnopqrst".split("").forEach(function(x){C[x]=x}),Object.keys(Object.assign({},C)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;n.exports=i()?Object.assign:function(c,d){for(var f,g,C=s(c),x=1;x<arguments.length;x++){f=Object(arguments[x]);for(var N in f)l.call(f,N)&&(C[N]=f[N]);if(a){g=a(f);for(var b=0;b<g.length;b++)u.call(f,g[b])&&(C[g[b]]=f[g[b]])}}return C}},function(n,o){var s={current:null};n.exports=s},function(n,o,s){(function(i){var a=!1;if(i.env.NODE_ENV!=="production")try{Object.defineProperty({},"x",{get:function(){}}),a=!0}catch{}n.exports=a}).call(o,s(1))},function(n,o){function s(a){return function(){return a}}var i=function(){};i.thatReturns=s,i.thatReturnsFalse=s(!1),i.thatReturnsTrue=s(!0),i.thatReturnsNull=s(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(a){return a},n.exports=i},function(n,o,s){(function(i){function a(D){var U=Function.prototype.toString,G=Object.prototype.hasOwnProperty,R=RegExp("^"+U.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var A=U.call(D);return R.test(A)}catch{return!1}}function l(D){var U=g(D);if(U){var G=U.childIDs;C(D),G.forEach(l)}}function u(D,U,G){return`
|
|
in `+(D||"Unknown")+(U?" (at "+U.fileName.replace(/^.*[\\\/]/,"")+":"+U.lineNumber+")":G?" (created by "+G+")":"")}function c(D){return D==null?"#empty":typeof D=="string"||typeof D=="number"?"#text":typeof D.type=="string"?D.type:D.type.displayName||D.type.name||"Unknown"}function d(D){var U,G=Z.getDisplayName(D),R=Z.getElement(D),A=Z.getOwnerID(D);return A&&(U=Z.getDisplayName(A)),i.env.NODE_ENV!=="production"&&E(R,"ReactComponentTreeHook: Missing React element for debugID %s when building stack",D),u(G,R&&R._source,U)}var f,g,C,x,N,b,h,v=s(5),m=s(7),y=s(2),E=s(3),k=typeof Array.from=="function"&&typeof Map=="function"&&a(Map)&&Map.prototype!=null&&typeof Map.prototype.keys=="function"&&a(Map.prototype.keys)&&typeof Set=="function"&&a(Set)&&Set.prototype!=null&&typeof Set.prototype.keys=="function"&&a(Set.prototype.keys);if(k){var T=new Map,O=new Set;f=function(D,U){T.set(D,U)},g=function(D){return T.get(D)},C=function(D){T.delete(D)},x=function(){return Array.from(T.keys())},N=function(D){O.add(D)},b=function(D){O.delete(D)},h=function(){return Array.from(O.keys())}}else{var B={},$={},H=function(D){return"."+D},te=function(D){return parseInt(D.substr(1),10)};f=function(D,U){var G=H(D);B[G]=U},g=function(D){var U=H(D);return B[U]},C=function(D){var U=H(D);delete B[U]},x=function(){return Object.keys(B).map(te)},N=function(D){var U=H(D);$[U]=!0},b=function(D){var U=H(D);delete $[U]},h=function(){return Object.keys($).map(te)}}var Q=[],Z={onSetChildren:function(D,U){var G=g(D);G||(i.env.NODE_ENV!=="production"?y(!1,"Item must have been set"):v("144")),G.childIDs=U;for(var R=0;R<U.length;R++){var A=U[R],L=g(A);L||(i.env.NODE_ENV!=="production"?y(!1,"Expected hook events to fire for the child before its parent includes it in onSetChildren()."):v("140")),L.childIDs==null&&typeof L.element=="object"&&L.element!=null&&(i.env.NODE_ENV!=="production"?y(!1,"Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren()."):v("141")),L.isMounted||(i.env.NODE_ENV!=="production"?y(!1,"Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren()."):v("71")),L.parentID==null&&(L.parentID=D),L.parentID!==D&&(i.env.NODE_ENV!=="production"?y(!1,"Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",A,L.parentID,D):v("142",A,L.parentID,D))}},onBeforeMountComponent:function(D,U,G){var R={element:U,parentID:G,text:null,childIDs:[],isMounted:!1,updateCount:0};f(D,R)},onBeforeUpdateComponent:function(D,U){var G=g(D);G&&G.isMounted&&(G.element=U)},onMountComponent:function(D){var U=g(D);U||(i.env.NODE_ENV!=="production"?y(!1,"Item must have been set"):v("144")),U.isMounted=!0;var G=U.parentID===0;G&&N(D)},onUpdateComponent:function(D){var U=g(D);U&&U.isMounted&&U.updateCount++},onUnmountComponent:function(D){var U=g(D);if(U){U.isMounted=!1;var G=U.parentID===0;G&&b(D)}Q.push(D)},purgeUnmountedComponents:function(){if(!Z._preventPurging){for(var D=0;D<Q.length;D++){var U=Q[D];l(U)}Q.length=0}},isMounted:function(D){var U=g(D);return!!U&&U.isMounted},getCurrentStackAddendum:function(D){var U="";if(D){var G=c(D),R=D._owner;U+=u(G,D._source,R&&R.getName())}var A=m.current,L=A&&A._debugID;return U+=Z.getStackAddendumByID(L)},getStackAddendumByID:function(D){for(var U="";D;)U+=d(D),D=Z.getParentID(D);return U},getChildIDs:function(D){var U=g(D);return U?U.childIDs:[]},getDisplayName:function(D){var U=Z.getElement(D);return U?c(U):null},getElement:function(D){var U=g(D);return U?U.element:null},getOwnerID:function(D){var U=Z.getElement(D);return U&&U._owner?U._owner._debugID:null},getParentID:function(D){var U=g(D);return U?U.parentID:null},getSource:function(D){var U=g(D),G=U?U.element:null,R=G!=null?G._source:null;return R},getText:function(D){var U=Z.getElement(D);return typeof U=="string"?U:typeof U=="number"?""+U:null},getUpdateCount:function(D){var U=g(D);return U?U.updateCount:0},getRootIDs:h,getRegisteredIDs:x,pushNonStandardWarningStack:function(D,U){if(typeof console.reactStack=="function"){var G=[],R=m.current,A=R&&R._debugID;try{for(D&&G.push({name:A?Z.getDisplayName(A):null,fileName:U?U.fileName:null,lineNumber:U?U.lineNumber:null});A;){var L=Z.getElement(A),F=Z.getParentID(A),W=Z.getOwnerID(A),K=W?Z.getDisplayName(W):null,Y=L&&L._source;G.push({name:K,fileName:Y?Y.fileName:null,lineNumber:Y?Y.lineNumber:null}),A=F}}catch{}console.reactStack(G)}},popNonStandardWarningStack:function(){typeof console.reactStackEnd=="function"&&console.reactStackEnd()}};n.exports=Z}).call(o,s(1))},function(n,o,s){(function(i){var a=function(){};if(i.env.NODE_ENV!=="production"){var l=function(u){for(var c=arguments.length,d=Array(c>1?c-1:0),f=1;f<c;f++)d[f-1]=arguments[f];var g=0,C="Warning: "+u.replace(/%s/g,function(){return d[g++]});typeof console<"u"&&console.warn(C);try{throw new Error(C)}catch{}};a=function(u,c){if(c===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!u){for(var d=arguments.length,f=Array(d>2?d-2:0),g=2;g<d;g++)f[g-2]=arguments[g];l.apply(void 0,[c].concat(f))}}}n.exports=a}).call(o,s(1))},function(n,o,s){(function(i){var a={};i.env.NODE_ENV!=="production"&&Object.freeze(a),n.exports=a}).call(o,s(1))},function(n,o){var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=s},function(n,o,s){(function(i){function a(m,y,E){this.props=m,this.context=y,this.refs=C,this.updater=E||f}function l(m,y,E){this.props=m,this.context=y,this.refs=C,this.updater=E||f}function u(){}var c=s(5),d=s(6),f=s(17),g=s(8),C=s(12),x=s(2),N=s(11);if(a.prototype.isReactComponent={},a.prototype.setState=function(m,y){typeof m!="object"&&typeof m!="function"&&m!=null&&(i.env.NODE_ENV!=="production"?x(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):c("85")),this.updater.enqueueSetState(this,m),y&&this.updater.enqueueCallback(this,y,"setState")},a.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this),m&&this.updater.enqueueCallback(this,m,"forceUpdate")},i.env.NODE_ENV!=="production"){var b={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},h=function(m,y){g&&Object.defineProperty(a.prototype,m,{get:function(){N(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",y[0],y[1])}})};for(var v in b)b.hasOwnProperty(v)&&h(v,b[v])}u.prototype=a.prototype,l.prototype=new u,l.prototype.constructor=l,d(l.prototype,a.prototype),l.prototype.isPureReactComponent=!0,n.exports={Component:a,PureComponent:l}}).call(o,s(1))},function(n,o){var s=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103;n.exports=s},function(n,o,s){(function(i){function a(){if(g.current){var k=g.current.getName();if(k)return" Check the render method of `"+k+"`."}return""}function l(k){if(k!=null&&k.__source!==void 0){var T=k.__source,O=T.fileName.replace(/^.*[\\\/]/,""),B=T.lineNumber;return" Check your code at "+O+":"+B+"."}return""}function u(k){var T=a();if(!T){var O=typeof k=="string"?k:k.displayName||k.name;O&&(T=" Check the top-level render call using <"+O+">.")}return T}function c(k,T){if(k._store&&!k._store.validated&&k.key==null){k._store.validated=!0;var O=y.uniqueKey||(y.uniqueKey={}),B=u(T);if(!O[B]){O[B]=!0;var $="";k&&k._owner&&k._owner!==g.current&&($=" It was passed a child from "+k._owner.getName()+"."),i.env.NODE_ENV!=="production"&&v(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',B,$,C.getCurrentStackAddendum(k))}}}function d(k,T){if(typeof k=="object"){if(Array.isArray(k))for(var O=0;O<k.length;O++){var B=k[O];x.isValidElement(B)&&c(B,T)}else if(x.isValidElement(k))k._store&&(k._store.validated=!0);else if(k){var $=h(k);if($&&$!==k.entries)for(var H,te=$.call(k);!(H=te.next()).done;)x.isValidElement(H.value)&&c(H.value,T)}}}function f(k){var T=k.type;if(typeof T=="function"){var O=T.displayName||T.name;T.propTypes&&N(T.propTypes,k.props,"prop",O,k,null),typeof T.getDefaultProps=="function"&&(i.env.NODE_ENV!=="production"&&v(T.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}}var g=s(7),C=s(10),x=s(4),N=s(32),b=s(8),h=s(18),v=s(3),m=s(11),y={},E={createElement:function(k,T,O){var B=typeof k=="string"||typeof k=="function";if(!B&&typeof k!="function"&&typeof k!="string"){var $="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&($+=" You likely forgot to export your component from the file it's defined in.");var H=l(T);$+=H||a(),$+=C.getCurrentStackAddendum();var te=T!=null&&T.__source!==void 0?T.__source:null;C.pushNonStandardWarningStack(!0,te),i.env.NODE_ENV!=="production"&&v(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",k==null?k:typeof k,$),C.popNonStandardWarningStack()}var Q=x.createElement.apply(this,arguments);if(Q==null)return Q;if(B)for(var Z=2;Z<arguments.length;Z++)d(arguments[Z],k);return f(Q),Q},createFactory:function(k){var T=E.createElement.bind(null,k);return T.type=k,i.env.NODE_ENV!=="production"&&b&&Object.defineProperty(T,"type",{enumerable:!1,get:function(){return m(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:k}),k}}),T},cloneElement:function(k,T,O){for(var B=x.cloneElement.apply(this,arguments),$=2;$<arguments.length;$++)d(arguments[$],B.type);return f(B),B}};n.exports=E}).call(o,s(1))},function(n,o,s){(function(i){function a(c,d){if(i.env.NODE_ENV!=="production"){var f=c.constructor;i.env.NODE_ENV!=="production"&&l(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",d,d,f&&(f.displayName||f.name)||"ReactClass")}}var l=s(3),u={isMounted:function(c){return!1},enqueueCallback:function(c,d){},enqueueForceUpdate:function(c){a(c,"forceUpdate")},enqueueReplaceState:function(c,d){a(c,"replaceState")},enqueueSetState:function(c,d){a(c,"setState")}};n.exports=u}).call(o,s(1))},function(n,o){function s(l){var u=l&&(i&&l[i]||l[a]);if(typeof u=="function")return u}var i=typeof Symbol=="function"&&Symbol.iterator,a="@@iterator";n.exports=s},function(n,o,s){(function(i){function a(x){return x}function l(x,N,b){function h(R,A,L){for(var F in A)A.hasOwnProperty(F)&&i.env.NODE_ENV!=="production"&&f(typeof A[F]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",R.displayName||"ReactClass",g[L],F)}function v(R,A){var L=te.hasOwnProperty(A)?te[A]:null;U.hasOwnProperty(A)&&d(L==="OVERRIDE_BASE","ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",A),R&&d(L==="DEFINE_MANY"||L==="DEFINE_MANY_MERGED","ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",A)}function m(R,A){if(A){d(typeof A!="function","ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),d(!N(A),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var L=R.prototype,F=L.__reactAutoBindPairs;A.hasOwnProperty(C)&&Q.mixins(R,A.mixins);for(var W in A)if(A.hasOwnProperty(W)&&W!==C){var K=A[W],Y=L.hasOwnProperty(W);if(v(Y,W),Q.hasOwnProperty(W))Q[W](R,K);else{var ee=te.hasOwnProperty(W),re=typeof K=="function",ne=re&&!ee&&!Y&&A.autobind!==!1;if(ne)F.push(W,K),L[W]=K;else if(Y){var oe=te[W];d(ee&&(oe==="DEFINE_MANY_MERGED"||oe==="DEFINE_MANY"),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",oe,W),oe==="DEFINE_MANY_MERGED"?L[W]=k(L[W],K):oe==="DEFINE_MANY"&&(L[W]=T(L[W],K))}else L[W]=K,i.env.NODE_ENV!=="production"&&typeof K=="function"&&A.displayName&&(L[W].displayName=A.displayName+"_"+W)}}}else if(i.env.NODE_ENV!=="production"){var ie=typeof A,ce=ie==="object"&&A!==null;i.env.NODE_ENV!=="production"&&f(ce,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",R.displayName||"ReactClass",A===null?null:ie)}}function y(R,A){if(A)for(var L in A){var F=A[L];if(A.hasOwnProperty(L)){var W=L in Q;d(!W,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',L);var K=L in R;d(!K,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",L),R[L]=F}}}function E(R,A){d(R&&A&&typeof R=="object"&&typeof A=="object","mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var L in A)A.hasOwnProperty(L)&&(d(R[L]===void 0,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",L),R[L]=A[L]);return R}function k(R,A){return function(){var L=R.apply(this,arguments),F=A.apply(this,arguments);if(L==null)return F;if(F==null)return L;var W={};return E(W,L),E(W,F),W}}function T(R,A){return function(){R.apply(this,arguments),A.apply(this,arguments)}}function O(R,A){var L=A.bind(R);if(i.env.NODE_ENV!=="production"){L.__reactBoundContext=R,L.__reactBoundMethod=A,L.__reactBoundArguments=null;var F=R.constructor.displayName,W=L.bind;L.bind=function(K){for(var Y=arguments.length,ee=Array(Y>1?Y-1:0),re=1;re<Y;re++)ee[re-1]=arguments[re];if(K!==R&&K!==null)i.env.NODE_ENV!=="production"&&f(!1,"bind(): React component methods may only be bound to the component instance. See %s",F);else if(!ee.length)return i.env.NODE_ENV!=="production"&&f(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",F),L;var ne=W.apply(L,arguments);return ne.__reactBoundContext=R,ne.__reactBoundMethod=A,ne.__reactBoundArguments=ee,ne}}return L}function B(R){for(var A=R.__reactAutoBindPairs,L=0;L<A.length;L+=2){var F=A[L],W=A[L+1];R[F]=O(R,W)}}function $(R){var A=function(F,W,K){i.env.NODE_ENV!=="production"&&f(this instanceof A,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindPairs.length&&B(this),this.props=F,this.context=W,this.refs=c,this.updater=K||b,this.state=null;var Y=this.getInitialState?this.getInitialState():null;i.env.NODE_ENV!=="production"&&Y===void 0&&this.getInitialState._isMockFunction&&(Y=null),d(typeof Y=="object"&&!Array.isArray(Y),"%s.getInitialState(): must return an object or null",A.displayName||"ReactCompositeComponent"),this.state=Y};A.prototype=new G,A.prototype.constructor=A,A.prototype.__reactAutoBindPairs=[],H.forEach(m.bind(null,A)),m(A,Z),m(A,R),m(A,D),A.getDefaultProps&&(A.defaultProps=A.getDefaultProps()),i.env.NODE_ENV!=="production"&&(A.getDefaultProps&&(A.getDefaultProps.isReactClassApproved={}),A.prototype.getInitialState&&(A.prototype.getInitialState.isReactClassApproved={})),d(A.prototype.render,"createClass(...): Class specification must implement a `render` method."),i.env.NODE_ENV!=="production"&&(f(!A.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",R.displayName||"A component"),f(!A.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",R.displayName||"A component"));for(var L in te)A.prototype[L]||(A.prototype[L]=null);return A}var H=[],te={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},Q={displayName:function(R,A){R.displayName=A},mixins:function(R,A){if(A)for(var L=0;L<A.length;L++)m(R,A[L])},childContextTypes:function(R,A){i.env.NODE_ENV!=="production"&&h(R,A,"childContext"),R.childContextTypes=u({},R.childContextTypes,A)},contextTypes:function(R,A){i.env.NODE_ENV!=="production"&&h(R,A,"context"),R.contextTypes=u({},R.contextTypes,A)},getDefaultProps:function(R,A){R.getDefaultProps?R.getDefaultProps=k(R.getDefaultProps,A):R.getDefaultProps=A},propTypes:function(R,A){i.env.NODE_ENV!=="production"&&h(R,A,"prop"),R.propTypes=u({},R.propTypes,A)},statics:function(R,A){y(R,A)},autobind:function(){}},Z={componentDidMount:function(){this.__isMounted=!0}},D={componentWillUnmount:function(){this.__isMounted=!1}},U={replaceState:function(R,A){this.updater.enqueueReplaceState(this,R,A)},isMounted:function(){return i.env.NODE_ENV!=="production"&&(f(this.__didWarnIsMounted,"%s: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.",this.constructor&&this.constructor.displayName||this.name||"Component"),this.__didWarnIsMounted=!0),!!this.__isMounted}},G=function(){};return u(G.prototype,x.prototype,U),$}var u=s(6),c=s(12),d=s(2);if(i.env.NODE_ENV!=="production")var f=s(3);var g,C="mixins";g=i.env.NODE_ENV!=="production"?{prop:"prop",context:"context",childContext:"child context"}:{},n.exports=l}).call(o,s(1))},function(n,o,s){(function(i){function a(f,g,C,x,N){if(i.env.NODE_ENV!=="production"){for(var b in f)if(f.hasOwnProperty(b)){var h;try{l(typeof f[b]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",x||"React class",C,b),h=f[b](g,b,x,C,null,c)}catch(m){h=m}if(u(!h||h instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",x||"React class",C,b,typeof h),h instanceof Error&&!(h.message in d)){d[h.message]=!0;var v=N?N():"";u(!1,"Failed %s type: %s%s",C,h.message,v??"")}}}}if(i.env.NODE_ENV!=="production")var l=s(2),u=s(3),c=s(13),d={};n.exports=a}).call(o,s(1))},function(n,o,s){var i=s(22);n.exports=function(a){var l=!1;return i(a,l)}},function(n,o,s){(function(i){var a=s(9),l=s(2),u=s(3),c=s(13),d=s(20);n.exports=function(f,g){function C(F){var W=F&&(G&&F[G]||F[R]);if(typeof W=="function")return W}function x(F,W){return F===W?F!==0||1/F===1/W:F!==F&&W!==W}function N(F){this.message=F,this.stack=""}function b(F){function W(re,ne,oe,ie,ce,he,Me){if(ie=ie||A,he=he||oe,Me!==c){if(g)l(!1,"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");else if(i.env.NODE_ENV!=="production"&&typeof console<"u"){var yt=ie+":"+oe;!K[yt]&&Y<3&&(u(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",he,ie),K[yt]=!0,Y++)}}return ne[oe]==null?re?new N(ne[oe]===null?"The "+ce+" `"+he+"` is marked as required "+("in `"+ie+"`, but its value is `null`."):"The "+ce+" `"+he+"` is marked as required in "+("`"+ie+"`, but its value is `undefined`.")):null:F(ne,oe,ie,ce,he)}if(i.env.NODE_ENV!=="production")var K={},Y=0;var ee=W.bind(null,!1);return ee.isRequired=W.bind(null,!0),ee}function h(F){function W(K,Y,ee,re,ne,oe){var ie=K[Y],ce=Q(ie);if(ce!==F){var he=Z(ie);return new N("Invalid "+re+" `"+ne+"` of type "+("`"+he+"` supplied to `"+ee+"`, expected ")+("`"+F+"`."))}return null}return b(W)}function v(){return b(a.thatReturnsNull)}function m(F){function W(K,Y,ee,re,ne){if(typeof F!="function")return new N("Property `"+ne+"` of component `"+ee+"` has invalid PropType notation inside arrayOf.");var oe=K[Y];if(!Array.isArray(oe)){var ie=Q(oe);return new N("Invalid "+re+" `"+ne+"` of type "+("`"+ie+"` supplied to `"+ee+"`, expected an array."))}for(var ce=0;ce<oe.length;ce++){var he=F(oe,ce,ee,re,ne+"["+ce+"]",c);if(he instanceof Error)return he}return null}return b(W)}function y(){function F(W,K,Y,ee,re){var ne=W[K];if(!f(ne)){var oe=Q(ne);return new N("Invalid "+ee+" `"+re+"` of type "+("`"+oe+"` supplied to `"+Y+"`, expected a single ReactElement."))}return null}return b(F)}function E(F){function W(K,Y,ee,re,ne){if(!(K[Y]instanceof F)){var oe=F.name||A,ie=U(K[Y]);return new N("Invalid "+re+" `"+ne+"` of type "+("`"+ie+"` supplied to `"+ee+"`, expected ")+("instance of `"+oe+"`."))}return null}return b(W)}function k(F){function W(K,Y,ee,re,ne){for(var oe=K[Y],ie=0;ie<F.length;ie++)if(x(oe,F[ie]))return null;var ce=JSON.stringify(F);return new N("Invalid "+re+" `"+ne+"` of value `"+oe+"` "+("supplied to `"+ee+"`, expected one of "+ce+"."))}return Array.isArray(F)?b(W):(i.env.NODE_ENV!=="production"&&u(!1,"Invalid argument supplied to oneOf, expected an instance of array."),a.thatReturnsNull)}function T(F){function W(K,Y,ee,re,ne){if(typeof F!="function")return new N("Property `"+ne+"` of component `"+ee+"` has invalid PropType notation inside objectOf.");var oe=K[Y],ie=Q(oe);if(ie!=="object")return new N("Invalid "+re+" `"+ne+"` of type "+("`"+ie+"` supplied to `"+ee+"`, expected an object."));for(var ce in oe)if(oe.hasOwnProperty(ce)){var he=F(oe,ce,ee,re,ne+"."+ce,c);if(he instanceof Error)return he}return null}return b(W)}function O(F){function W(ee,re,ne,oe,ie){for(var ce=0;ce<F.length;ce++){var he=F[ce];if(he(ee,re,ne,oe,ie,c)==null)return null}return new N("Invalid "+oe+" `"+ie+"` supplied to "+("`"+ne+"`."))}if(!Array.isArray(F))return i.env.NODE_ENV!=="production"&&u(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),a.thatReturnsNull;for(var K=0;K<F.length;K++){var Y=F[K];if(typeof Y!="function")return u(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",D(Y),K),a.thatReturnsNull}return b(W)}function B(){function F(W,K,Y,ee,re){return H(W[K])?null:new N("Invalid "+ee+" `"+re+"` supplied to "+("`"+Y+"`, expected a ReactNode."))}return b(F)}function $(F){function W(K,Y,ee,re,ne){var oe=K[Y],ie=Q(oe);if(ie!=="object")return new N("Invalid "+re+" `"+ne+"` of type `"+ie+"` "+("supplied to `"+ee+"`, expected `object`."));for(var ce in F){var he=F[ce];if(he){var Me=he(oe,ce,ee,re,ne+"."+ce,c);if(Me)return Me}}return null}return b(W)}function H(F){switch(typeof F){case"number":case"string":case"undefined":return!0;case"boolean":return!F;case"object":if(Array.isArray(F))return F.every(H);if(F===null||f(F))return!0;var W=C(F);if(!W)return!1;var K,Y=W.call(F);if(W!==F.entries){for(;!(K=Y.next()).done;)if(!H(K.value))return!1}else for(;!(K=Y.next()).done;){var ee=K.value;if(ee&&!H(ee[1]))return!1}return!0;default:return!1}}function te(F,W){return F==="symbol"||W["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&W instanceof Symbol}function Q(F){var W=typeof F;return Array.isArray(F)?"array":F instanceof RegExp?"object":te(W,F)?"symbol":W}function Z(F){if(typeof F>"u"||F===null)return""+F;var W=Q(F);if(W==="object"){if(F instanceof Date)return"date";if(F instanceof RegExp)return"regexp"}return W}function D(F){var W=Z(F);switch(W){case"array":case"object":return"an "+W;case"boolean":case"date":case"regexp":return"a "+W;default:return W}}function U(F){return F.constructor&&F.constructor.name?F.constructor.name:A}var G=typeof Symbol=="function"&&Symbol.iterator,R="@@iterator",A="<<anonymous>>",L={array:h("array"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:v(),arrayOf:m,element:y(),instanceOf:E,node:B(),objectOf:T,oneOf:k,oneOfType:O,shape:$};return N.prototype=Error.prototype,L.checkPropTypes=d,L.PropTypes=L,L}}).call(o,s(1))},function(n,o){function s(l){var u=/[=:]/g,c={"=":"=0",":":"=2"},d=(""+l).replace(u,function(f){return c[f]});return"$"+d}function i(l){var u=/(=0|=2)/g,c={"=0":"=","=2":":"},d=l[0]==="."&&l[1]==="$"?l.substring(2):l.substring(1);return(""+d).replace(u,function(f){return c[f]})}var a={escape:s,unescape:i};n.exports=a},function(n,o,s){(function(i){var a=s(5),l=s(2),u=function(h){var v=this;if(v.instancePool.length){var m=v.instancePool.pop();return v.call(m,h),m}return new v(h)},c=function(h,v){var m=this;if(m.instancePool.length){var y=m.instancePool.pop();return m.call(y,h,v),y}return new m(h,v)},d=function(h,v,m){var y=this;if(y.instancePool.length){var E=y.instancePool.pop();return y.call(E,h,v,m),E}return new y(h,v,m)},f=function(h,v,m,y){var E=this;if(E.instancePool.length){var k=E.instancePool.pop();return E.call(k,h,v,m,y),k}return new E(h,v,m,y)},g=function(h){var v=this;h instanceof v||(i.env.NODE_ENV!=="production"?l(!1,"Trying to release an instance into a pool of a different type."):a("25")),h.destructor(),v.instancePool.length<v.poolSize&&v.instancePool.push(h)},C=10,x=u,N=function(h,v){var m=h;return m.instancePool=[],m.getPooled=v||x,m.poolSize||(m.poolSize=C),m.release=g,m},b={addPoolingTo:N,oneArgumentPooler:u,twoArgumentPooler:c,threeArgumentPooler:d,fourArgumentPooler:f};n.exports=b}).call(o,s(1))},function(n,o,s){(function(i){var a=s(6),l=s(14),u=s(26),c=s(27),d=s(4),f=s(29),g=s(31),C=s(33),x=s(34),N=d.createElement,b=d.createFactory,h=d.cloneElement;if(i.env.NODE_ENV!=="production"){var v=s(11),m=s(8),y=s(16),E=!1;N=y.createElement,b=y.createFactory,h=y.cloneElement}var k=a,T=function(Q){return Q};if(i.env.NODE_ENV!=="production"){var O=!1,B=!1;k=function(){return v(O,"React.__spread is deprecated and should not be used. Use Object.assign directly or another helper function with similar semantics. You may be seeing this warning due to your compiler. See https://fb.me/react-spread-deprecation for more details."),O=!0,a.apply(null,arguments)},T=function(Q){return v(B,"React.createMixin is deprecated and should not be used. In React v16.0, it will be removed. You can use this mixin directly instead. See https://fb.me/createmixin-was-never-implemented for more info."),B=!0,Q}}var $={Children:{map:u.map,forEach:u.forEach,count:u.count,toArray:u.toArray,only:x},Component:l.Component,PureComponent:l.PureComponent,createElement:N,cloneElement:h,isValidElement:d.isValidElement,PropTypes:f,createClass:C,createFactory:b,createMixin:T,DOM:c,version:g,__spread:k};if(i.env.NODE_ENV!=="production"){var H=!1;m&&(Object.defineProperty($,"PropTypes",{get:function(){return v(E,"Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs"),E=!0,f}}),Object.defineProperty($,"createClass",{get:function(){return v(H,"Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class"),H=!0,C}})),$.DOM={};var te=!1;Object.keys(c).forEach(function(Q){$.DOM[Q]=function(){return te||(v(!1,"Accessing factories like React.DOM.%s has been deprecated and will be removed in v16.0+. Use the react-dom-factories package instead. Version 1.0 provides a drop-in replacement. For more info, see https://fb.me/react-dom-factories",Q),te=!0),c[Q].apply(c,arguments)}})}n.exports=$}).call(o,s(1))},function(n,o,s){function i(O){return(""+O).replace(k,"$&/")}function a(O,B){this.func=O,this.context=B,this.count=0}function l(O,B,$){var H=O.func,te=O.context;H.call(te,B,O.count++)}function u(O,B,$){if(O==null)return O;var H=a.getPooled(B,$);m(O,l,H),a.release(H)}function c(O,B,$,H){this.result=O,this.keyPrefix=B,this.func=$,this.context=H,this.count=0}function d(O,B,$){var H=O.result,te=O.keyPrefix,Q=O.func,Z=O.context,D=Q.call(Z,B,O.count++);Array.isArray(D)?f(D,H,$,v.thatReturnsArgument):D!=null&&(h.isValidElement(D)&&(D=h.cloneAndReplaceKey(D,te+(!D.key||B&&B.key===D.key?"":i(D.key)+"/")+$)),H.push(D))}function f(O,B,$,H,te){var Q="";$!=null&&(Q=i($)+"/");var Z=c.getPooled(B,Q,H,te);m(O,d,Z),c.release(Z)}function g(O,B,$){if(O==null)return O;var H=[];return f(O,H,null,B,$),H}function C(O,B,$){return null}function x(O,B){return m(O,C,null)}function N(O){var B=[];return f(O,B,null,v.thatReturnsArgument),B}var b=s(24),h=s(4),v=s(9),m=s(35),y=b.twoArgumentPooler,E=b.fourArgumentPooler,k=/\/+/g;a.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},b.addPoolingTo(a,y),c.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},b.addPoolingTo(c,E);var T={forEach:u,map:g,mapIntoWithKeyPrefixInternal:f,count:x,toArray:N};n.exports=T},function(n,o,s){(function(i){var a=s(4),l=a.createFactory;if(i.env.NODE_ENV!=="production"){var u=s(16);l=u.createFactory}var c={a:l("a"),abbr:l("abbr"),address:l("address"),area:l("area"),article:l("article"),aside:l("aside"),audio:l("audio"),b:l("b"),base:l("base"),bdi:l("bdi"),bdo:l("bdo"),big:l("big"),blockquote:l("blockquote"),body:l("body"),br:l("br"),button:l("button"),canvas:l("canvas"),caption:l("caption"),cite:l("cite"),code:l("code"),col:l("col"),colgroup:l("colgroup"),data:l("data"),datalist:l("datalist"),dd:l("dd"),del:l("del"),details:l("details"),dfn:l("dfn"),dialog:l("dialog"),div:l("div"),dl:l("dl"),dt:l("dt"),em:l("em"),embed:l("embed"),fieldset:l("fieldset"),figcaption:l("figcaption"),figure:l("figure"),footer:l("footer"),form:l("form"),h1:l("h1"),h2:l("h2"),h3:l("h3"),h4:l("h4"),h5:l("h5"),h6:l("h6"),head:l("head"),header:l("header"),hgroup:l("hgroup"),hr:l("hr"),html:l("html"),i:l("i"),iframe:l("iframe"),img:l("img"),input:l("input"),ins:l("ins"),kbd:l("kbd"),keygen:l("keygen"),label:l("label"),legend:l("legend"),li:l("li"),link:l("link"),main:l("main"),map:l("map"),mark:l("mark"),menu:l("menu"),menuitem:l("menuitem"),meta:l("meta"),meter:l("meter"),nav:l("nav"),noscript:l("noscript"),object:l("object"),ol:l("ol"),optgroup:l("optgroup"),option:l("option"),output:l("output"),p:l("p"),param:l("param"),picture:l("picture"),pre:l("pre"),progress:l("progress"),q:l("q"),rp:l("rp"),rt:l("rt"),ruby:l("ruby"),s:l("s"),samp:l("samp"),script:l("script"),section:l("section"),select:l("select"),small:l("small"),source:l("source"),span:l("span"),strong:l("strong"),style:l("style"),sub:l("sub"),summary:l("summary"),sup:l("sup"),table:l("table"),tbody:l("tbody"),td:l("td"),textarea:l("textarea"),tfoot:l("tfoot"),th:l("th"),thead:l("thead"),time:l("time"),title:l("title"),tr:l("tr"),track:l("track"),u:l("u"),ul:l("ul"),var:l("var"),video:l("video"),wbr:l("wbr"),circle:l("circle"),clipPath:l("clipPath"),defs:l("defs"),ellipse:l("ellipse"),g:l("g"),image:l("image"),line:l("line"),linearGradient:l("linearGradient"),mask:l("mask"),path:l("path"),pattern:l("pattern"),polygon:l("polygon"),polyline:l("polyline"),radialGradient:l("radialGradient"),rect:l("rect"),stop:l("stop"),svg:l("svg"),text:l("text"),tspan:l("tspan")};n.exports=c}).call(o,s(1))},function(n,o,s){(function(i){var a={};i.env.NODE_ENV!=="production"&&(a={prop:"prop",context:"context",childContext:"child context"}),n.exports=a}).call(o,s(1))},function(n,o,s){var i=s(4),a=i.isValidElement,l=s(21);n.exports=l(a)},function(n,o){var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=s},function(n,o){n.exports="15.6.1"},function(n,o,s){(function(i){function a(x,N,b,h,v,m){for(var y in x)if(x.hasOwnProperty(y)){var E;try{typeof x[y]!="function"&&(i.env.NODE_ENV!=="production"?f(!1,"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",h||"React class",c[b],y):u("84",h||"React class",c[b],y)),E=x[y](N,y,h,b,null,d)}catch(T){E=T}if(i.env.NODE_ENV!=="production"&&g(!E||E instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",h||"React class",c[b],y,typeof E),E instanceof Error&&!(E.message in C)){C[E.message]=!0;var k="";i.env.NODE_ENV!=="production"&&(l||(l=s(10)),m!==null?k=l.getStackAddendumByID(m):v!==null&&(k=l.getCurrentStackAddendum(v))),i.env.NODE_ENV!=="production"&&g(!1,"Failed %s type: %s%s",b,E.message,k)}}}var l,u=s(5),c=s(28),d=s(30),f=s(2),g=s(3);typeof i<"u"&&i.env&&i.env.NODE_ENV==="test"&&(l=s(10));var C={};n.exports=a}).call(o,s(1))},function(n,o,s){var i=s(14),a=i.Component,l=s(4),u=l.isValidElement,c=s(17),d=s(19);n.exports=d(a,u,c)},function(n,o,s){(function(i){function a(d){return u.isValidElement(d)||(i.env.NODE_ENV!=="production"?c(!1,"React.Children.only expected to receive a single React element child."):l("143")),d}var l=s(5),u=s(4),c=s(2);n.exports=a}).call(o,s(1))},function(n,o,s){(function(i){function a(m,y){return m&&typeof m=="object"&&m.key!=null?x.escape(m.key):y.toString(36)}function l(m,y,E,k){var T=typeof m;if(T!=="undefined"&&T!=="boolean"||(m=null),m===null||T==="string"||T==="number"||T==="object"&&m.$$typeof===f)return E(k,m,y===""?b+a(m,0):y),1;var O,B,$=0,H=y===""?b:y+h;if(Array.isArray(m))for(var te=0;te<m.length;te++)O=m[te],B=H+a(O,te),$+=l(O,B,E,k);else{var Q=g(m);if(Q){var Z,D=Q.call(m);if(Q!==m.entries)for(var U=0;!(Z=D.next()).done;)O=Z.value,B=H+a(O,U++),$+=l(O,B,E,k);else{if(i.env.NODE_ENV!=="production"){var G="";if(d.current){var R=d.current.getName();R&&(G=" Check the render method of `"+R+"`.")}i.env.NODE_ENV!=="production"&&N(v,"Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead.%s",G),v=!0}for(;!(Z=D.next()).done;){var A=Z.value;A&&(O=A[1],B=H+x.escape(A[0])+h+a(O,0),$+=l(O,B,E,k))}}}else if(T==="object"){var L="";if(i.env.NODE_ENV!=="production"&&(L=" If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons.",m._isReactElement&&(L=" It looks like you're using an element created by a different version of React. Make sure to use only one copy of React."),d.current)){var F=d.current.getName();F&&(L+=" Check the render method of `"+F+"`.")}var W=String(m);i.env.NODE_ENV!=="production"?C(!1,"Objects are not valid as a React child (found: %s).%s",W==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":W,L):c("31",W==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":W,L)}}return $}function u(m,y,E){return m==null?0:l(m,"",y,E)}var c=s(5),d=s(7),f=s(15),g=s(18),C=s(2),x=s(23),N=s(3),b=".",h=":",v=!1;n.exports=u}).call(o,s(1))},function(n,o,s){n.exports=s(25)}])})})(Yv);var ib=Yv.exports;const jd=bs(ib),ab=()=>{const[e,t]=S.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("Images"),e==="Images"&&t("Accounting")},o=()=>{e==="Images"&&t("propertydetails"),e==="Accounting"&&t("Images")},s=Ft(),{status:i,error:a}=Ve(p=>p.property),{user:l}=Ve(p=>({...p.auth})),u=[1,2,3,4,5,6,7,8,9,10],[c,d]=S.useState({propertyTaxInfo:[{propertytaxowned:"0",ownedyear:"0",taxassessed:"0",taxyear:"0"}],images:[{title:"",file:""}],googleMapLink:"",renovationRisk:null,purchaseCost:"0",costPaidAtoB:[{title:"Closing Fees - Settlement Fee",price:"0"},{title:"Closing Fees - Owner's Title Insurance",price:"0"},{title:"Courier Fees",price:"0"},{title:"Wire Fee",price:"0"},{title:"E recording Fee",price:"0"},{title:"Recording Fee",price:"0"},{title:"Property Tax",price:"0"}],credits:[{title:"Credits",price:"0"}],cashAdjustments:[{title:"Cash Adjustments",price:"0"}],incidentalCost:[{title:"Accounting Fees",price:"0"},{title:"Bank Charges",price:"0"},{title:"Legal Fees",price:"0"},{title:"Property Taxes",price:"0"},{title:"Travel Expenses",price:"0"}],carryCosts:[{title:"Electricity",price:"0"},{title:"Water and Sewer",price:"0"},{title:"Natural Gas",price:"0"},{title:"Trash and Recycling",price:"0"},{title:"Internet and Cable",price:"0"},{title:"Heating Oil/Propane",price:"0"},{title:"HOA fees",price:"0"},{title:"Dump fees",price:"0"},{title:"Insurance",price:"0"},{title:"Interest on Loans",price:"0"},{title:"Loan Payment",price:"0"},{title:"Property Taxes",price:"0"},{title:"Security",price:"0"},{title:"Real Estates fees",price:"0"}],renovationCost:[{title:"Demolition: Removing existing structures or finishes",price:"0"},{title:"Framing: Making structural changes or additions",price:"0"},{title:"Plumbing: Installing or modifying plumbing systems",price:"0"},{title:"Electrical: Updating wiring and fixtures",price:"0"},{title:"HVAC: Installing or upgrading heating and cooling systems",price:"0"},{title:"Insulation: Adding or replacing insulation",price:"0"},{title:"Drywall: Hanging and finishing drywall",price:"0"},{title:"Interior Finishes: Painting, flooring, cabinetry, and fixtures",price:"0"},{title:"Exterior Work: Addressing siding, roofing, or landscaping, if applicable",price:"0"},{title:"Final Inspections: Ensuring everything meets codes",price:"0"},{title:"Punch List: Completing any remaining task",price:"0"}],sellingPriceBtoC:"0",costPaidOutofClosing:[{title:"Buyers Agent Commission",price:"0"},{title:"Sellers Agent Commission",price:"0"},{title:"Home Warranty",price:"0"},{title:"Document Preparation",price:"0"},{title:"Excise Tax",price:"0"},{title:"Legal Fees",price:"0"},{title:"Wire Fees/courier Fees",price:"0"},{title:"County Taxes",price:"0"},{title:"HOA Fee",price:"0"},{title:"Payoff of 1st Mortgage",price:"0"},{title:"Payoff of 2nd Mortgage",price:"0"},{title:"Payoff 3rd Mortgage",price:"0"}],adjustments:[{title:"adjustments",price:"0"}],incomestatement:[{title:"income statement",price:"0"},{title:"income statement",price:"0"}],fundspriortoclosing:"0",shorttermrental:"0",OtherIncome:"0",InsuranceClaim:"0",LongTermRental:"0",FinancingCostClosingCost:"0"}),[f,g]=S.useState(!1),C=(p,j)=>{console.log("File received:",p);const w=[...c.images];w[j].file=p.base64,d({...c,images:w})},x=()=>{d({...c,images:[...c.images,{title:"",file:""}]})},N=p=>{const j=c.images.filter((w,M)=>M!==p);d({...c,images:j})},b=(p,j)=>{const w=[...c.images];w[p].title=j.target.value,d({...c,images:w})},h=(p,j,w)=>{const{name:M,value:q}=p.target;if(w==="propertyTaxInfo"){const X=[...c.propertyTaxInfo];X[j][M]=q,d({...c,propertyTaxInfo:X})}else d({...c,[M]:q})},v=()=>{d({...c,propertyTaxInfo:[...c.propertyTaxInfo,{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}]})},m=p=>{const j=c.propertyTaxInfo.filter((w,M)=>M!==p);d({...c,propertyTaxInfo:j})},y=()=>{d(p=>({...p,costPaidAtoB:[...p.costPaidAtoB,{title:"",price:""}]}))},E=p=>{const j=c.costPaidAtoB.filter((w,M)=>M!==p);d(w=>({...w,costPaidAtoB:j}))},k=(p,j,w)=>{const M=[...c.costPaidAtoB];M[p][j]=w,d(q=>({...q,costPaidAtoB:M}))},T=(p,j)=>{let w=p.target.value;if(w=w.replace(/^\$/,"").trim(),/^\d*\.?\d*$/.test(w)||w===""){const q=c.costPaidAtoB.map((X,ae)=>ae===j?{...X,price:w,isInvalid:!1}:X);d({...c,costPaidAtoB:q})}else{const q=c.costPaidAtoB.map((X,ae)=>ae===j?{...X,isInvalid:!0}:X);d({...c,costPaidAtoB:q})}},O=()=>{const p=c.costPaidAtoB.reduce((w,M)=>{const q=parseFloat(M.price)||0;return w+q},0),j=parseFloat(c.purchaseCost)||0;return p+j},B=()=>{d(p=>({...p,credits:[...p.credits,{title:"",price:""}]}))},$=p=>{const j=c.credits.filter((w,M)=>M!==p);d(w=>({...w,credits:j}))},H=(p,j,w)=>{const M=[...c.credits];M[p][j]=w,d(q=>({...q,credits:M}))},te=(p,j)=>{const w=p.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.credits.map((X,ae)=>ae===j?{...X,price:w,isInvalid:!1}:X);d({...c,credits:q})}else{const q=c.credits.map((X,ae)=>ae===j?{...X,isInvalid:!0}:X);d({...c,credits:q})}},Q=()=>c.credits.reduce((p,j)=>{const w=parseFloat(j.price);return p+(isNaN(w)?0:w)},0),Z=()=>{const p=c.costPaidAtoB.reduce((M,q)=>{const X=parseFloat(q.price)||0;return M+X},0),j=c.credits.reduce((M,q)=>{const X=parseFloat(q.price)||0;return M+X},0),w=parseFloat(c.purchaseCost)||0;return p+j+w},D=()=>{d(p=>({...p,cashAdjustments:[...p.cashAdjustments,{title:"",price:""}]}))},U=p=>{const j=c.cashAdjustments.filter((w,M)=>M!==p);d(w=>({...w,cashAdjustments:j}))},G=(p,j,w)=>{const M=[...c.cashAdjustments];M[p][j]=w,d(q=>({...q,cashAdjustments:M}))},R=(p,j)=>{const w=p.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.cashAdjustments.map((X,ae)=>ae===j?{...X,price:w,isInvalid:!1}:X);d({...c,cashAdjustments:q})}else{const q=c.cashAdjustments.map((X,ae)=>ae===j?{...X,isInvalid:!0}:X);d({...c,cashAdjustments:q})}},A=()=>c.cashAdjustments.reduce((p,j)=>{const w=parseFloat(j.price);return p+(isNaN(w)?0:w)},0),L=()=>{const p=A(),j=Q(),w=O();return p+j+w},F=()=>{d(p=>({...p,incidentalCost:[...p.incidentalCost,{title:"",price:""}]}))},W=p=>{const j=c.incidentalCost.filter((w,M)=>M!==p);d(w=>({...w,incidentalCost:j}))},K=(p,j,w)=>{const M=[...c.incidentalCost];M[p][j]=w,d(q=>({...q,incidentalCost:M}))},Y=(p,j)=>{const w=p.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.incidentalCost.map((X,ae)=>ae===j?{...X,price:w,isInvalid:!1}:X);d({...c,incidentalCost:q})}else{const q=c.incidentalCost.map((X,ae)=>ae===j?{...X,isInvalid:!0}:X);d({...c,incidentalCost:q})}},ee=()=>c.incidentalCost.reduce((p,j)=>{const w=parseFloat(j.price);return p+(isNaN(w)?0:w)},0),re=()=>{d(p=>({...p,carryCosts:[...p.carryCosts,{title:"",price:""}]}))},ne=p=>{const j=c.carryCosts.filter((w,M)=>M!==p);d(w=>({...w,carryCosts:j}))},oe=(p,j,w)=>{const M=[...c.carryCosts];M[p][j]=w,d(q=>({...q,carryCosts:M}))},ie=(p,j)=>{const w=p.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.carryCosts.map((X,ae)=>ae===j?{...X,price:w,isInvalid:!1}:X);d({...c,carryCosts:q})}else{const q=c.carryCosts.map((X,ae)=>ae===j?{...X,isInvalid:!0}:X);d({...c,carryCosts:q})}},ce=()=>c.carryCosts.reduce((p,j)=>{const w=parseFloat(j.price);return p+(isNaN(w)?0:w)},0),he=()=>{d(p=>({...p,renovationCost:[...p.renovationCost,{title:"",price:""}]}))},Me=p=>{const j=c.renovationCost.filter((w,M)=>M!==p);d(w=>({...w,renovationCost:j}))},yt=(p,j,w)=>{const M=[...c.renovationCost];M[p][j]=w,d(q=>({...q,renovationCost:M}))},Lt=(p,j)=>{const w=p.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.renovationCost.map((X,ae)=>ae===j?{...X,price:w,isInvalid:!1}:X);d({...c,renovationCost:q})}else{const q=c.renovationCost.map((X,ae)=>ae===j?{...X,isInvalid:!0}:X);d({...c,renovationCost:q})}},pe=()=>c.renovationCost.reduce((p,j)=>{const w=parseFloat(j.price);return p+(isNaN(w)?0:w)},0),Bt=()=>{const p=ee(),j=ce(),w=pe();return p+j+w},Ke=()=>{const p=Bt(),j=L();return p+j},Gn=()=>{d(p=>({...p,costPaidOutofClosing:[...p.costPaidOutofClosing,{title:"",price:""}]}))},Jt=p=>{const j=c.costPaidOutofClosing.filter((w,M)=>M!==p);d(w=>({...w,costPaidOutofClosing:j}))},yo=(p,j,w)=>{const M=[...c.costPaidOutofClosing];M[p][j]=w,d(q=>({...q,costPaidOutofClosing:M}))},jo=(p,j)=>{const w=p.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.costPaidOutofClosing.map((X,ae)=>ae===j?{...X,price:w,isInvalid:!1}:X);d({...c,costPaidOutofClosing:q})}else{const q=c.costPaidOutofClosing.map((X,ae)=>ae===j?{...X,isInvalid:!0}:X);d({...c,costPaidOutofClosing:q})}},Qn=()=>c.costPaidOutofClosing.reduce((p,j)=>{const w=parseFloat(j.price);return p+(isNaN(w)?0:w)},0),zt=()=>{const p=c.sellingPriceBtoC,j=Qn();return p-j},vn=()=>{d(p=>({...p,adjustments:[...p.adjustments,{title:"",price:""}]}))},$t=p=>{const j=c.adjustments.filter((w,M)=>M!==p);d(w=>({...w,adjustments:j}))},de=(p,j,w)=>{const M=[...c.adjustments];M[p][j]=w,d(q=>({...q,adjustments:M}))},Wt=(p,j)=>{const w=p.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.adjustments.map((X,ae)=>ae===j?{...X,price:w,isInvalid:!1}:X);d({...c,adjustments:q})}else{const q=c.adjustments.map((X,ae)=>ae===j?{...X,isInvalid:!0}:X);d({...c,adjustments:q})}},gn=()=>c.adjustments.reduce((p,j)=>{const w=parseFloat(j.price);return p+(isNaN(w)?0:w)},0),Ds=()=>{const p=zt(),j=gn();return p+j},No=()=>{d(p=>({...p,incomestatement:[...p.incomestatement,{title:"",price:""}]}))},Fs=p=>{const j=c.incomestatement.filter((w,M)=>M!==p);d(w=>({...w,incomestatement:j}))},Ja=(p,j,w)=>{const M=[...c.incomestatement];M[p][j]=w,d(q=>({...q,incomestatement:M}))},Za=(p,j)=>{const w=p.target.value;if(/^\d*\.?\d*$/.test(w)||w===""){const q=c.incomestatement.map((X,ae)=>ae===j?{...X,price:w,isInvalid:!1}:X);d({...c,incomestatement:q})}else{const q=c.incomestatement.map((X,ae)=>ae===j?{...X,isInvalid:!0}:X);d({...c,incomestatement:q})}},Co=()=>c.incomestatement.reduce((p,j)=>{const w=parseFloat(j.price);return p+(isNaN(w)?0:w)},0),Xn=()=>{const p=Co(),j=zt();return p+j},Jn=()=>{const p=isNaN(parseFloat(Xn()))?0:parseFloat(Xn()),j=isNaN(parseFloat(c.shorttermrental))?0:parseFloat(c.shorttermrental),w=isNaN(parseFloat(c.OtherIncome))?0:parseFloat(c.OtherIncome),M=isNaN(parseFloat(c.InsuranceClaim))?0:parseFloat(c.InsuranceClaim),q=isNaN(parseFloat(c.LongTermRental))?0:parseFloat(c.LongTermRental),X=isNaN(parseFloat(Ke()))?0:parseFloat(Ke());return p+j+w+M+q-X},Zt=()=>{const p=Jn(),j=c.FinancingCostClosingCost;return p-j},Sr=()=>Zt(),bo=()=>{var p,j,w,M,q,X;if(c.address&&c.city&&c.state&&c.county&&c.zip&&c.parcel&&c.subdivision&&c.legal&&c.costpersqft&&c.propertyType&&c.lotacres&&c.yearBuild&&c.totallivingsqft&&c.beds&&c.baths&&c.stories&&c.garage&&c.garagesqft&&c.poolspa&&c.fireplaces&&c.ac&&c.heating&&c.buildingstyle&&c.sitevacant&&c.extwall&&c.roofing&&c.totalSqft&&c.renovationRisk&&c.closeDateAtoB&&c.closeDateBtoC&&c.purchaseCost&&c.sellingPriceBtoC&&c.fundspriortoclosing&&c.shorttermrental&&c.OtherIncome&&c.InsuranceClaim&&c.LongTermRental&&c.FinancingCostClosingCost){const ae=Sr(),Ms=O(),tl=Z(),nl=A(),rl=ee(),ol=Q(),sl=L(),il=ce(),al=pe(),ll=Bt(),cl=Ke(),ul=Qn(),dl=gn(),wg=Ds(),Sg=zt(),Eg=zt(),kg=Co(),Pg=Xn(),_g=Jn(),Og=Zt(),fl={...c,userfirstname:(p=l==null?void 0:l.result)==null?void 0:p.firstName,usermiddlename:(j=l==null?void 0:l.result)==null?void 0:j.middleName,userlastname:(w=l==null?void 0:l.result)==null?void 0:w.lastName,usertitle:(M=l==null?void 0:l.result)==null?void 0:M.title,useremail:(q=l==null?void 0:l.result)==null?void 0:q.email,userId:(X=l==null?void 0:l.result)==null?void 0:X.userId,totalPurchaseCosts:Ms,totalcredits:ol,totalPurchaseCostsaftercredits:tl,totalcashAdjustments:nl,totalcashrequiredonsettlement:sl,totalincidentalCost:rl,totalcarryCosts:il,totalrenovationCost:al,totalRenovationsandHoldingCost:ll,totalCoststoBuyAtoB:cl,totalcostPaidOutofClosing:ul,totaladjustments:dl,fundsavailablefordistribution:wg,grossproceedsperHUD:Sg,totalCosttoSellBtoC:Eg,totalincomestatement:kg,netBtoCsalevalue:Pg,netprofitbeforefinancingcosts:_g,NetProfit:Og,rateofreturn:ae};Array.isArray(c.propertyTaxInfo)&&c.propertyTaxInfo.length>0?fl.propertyTaxInfo=c.propertyTaxInfo:fl.propertyTaxInfo=[],s(Ei(fl)),g(!0)}else le.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};S.useEffect(()=>{f&&(i==="succeeded"?(le.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),g(!1)):i==="failed"&&(le.error(`Failed to submit: ${a}`,{position:"top-right",autoClose:3e3}),g(!1)))},[i,a,f]);const[el,P]=S.useState("0 days"),_=(p,j)=>{if(p&&j){const w=new Date(p),M=new Date(j),q=Math.abs(M-w),X=Math.ceil(q/(1e3*60*60*24));P(`${X} days`)}else P("0 days")};return r.jsx(r.Fragment,{children:r.jsxs("div",{className:"container tabs-wrap",children:[r.jsx(Re,{}),r.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[r.jsx("li",{role:"presentation",className:e==="propertydetails"?"active tab":"tab",children:r.jsx("a",{onClick:()=>t("propertydetails"),role:"tab",children:"Property Details"})}),r.jsx("li",{role:"presentation",className:e==="Images"?"active tab":"tab",children:r.jsx("a",{onClick:()=>t("Images"),role:"tab",children:"Images, Maps"})}),r.jsx("li",{role:"presentation",className:e==="Accounting"?"active tab":"tab",children:r.jsx("a",{onClick:()=>t("Accounting"),role:"tab",children:"Accounting"})})]}),r.jsxs("div",{className:"tab-content",children:[e==="propertydetails"&&r.jsxs("div",{role:"tabpanel",className:"card tab-pane active",children:[r.jsxs("form",{children:[r.jsx("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Property Location"}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Property Address",r.jsx("input",{type:"text",className:"form-control",name:"address",value:c.address,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["City",r.jsx("input",{type:"text",className:"form-control",name:"city",value:c.city,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["State",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"state",value:c.state,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Alaska",children:"Alaska"}),r.jsx("option",{value:"Alabama",children:"Alabama"}),r.jsx("option",{value:"Arkansas",children:"Arkansas"}),r.jsx("option",{value:"Arizona",children:"Arizona"}),r.jsx("option",{value:"California",children:"California"}),r.jsx("option",{value:"Colorado",children:"Colorado"}),r.jsx("option",{value:"Connecticut",children:"Connecticut"}),r.jsx("option",{value:"District Of Columbia",children:"District Of Columbia"}),r.jsx("option",{value:"Delaware",children:"Delaware"}),r.jsx("option",{value:"Florida",children:"Florida"}),r.jsx("option",{value:"Georgia",children:"Georgia"}),r.jsx("option",{value:"Hawaii",children:"Hawaii"}),r.jsx("option",{value:"Iowa",children:"Iowa"}),r.jsx("option",{value:"Idaho",children:"Idaho"}),r.jsx("option",{value:"Illinois",children:"Illinois"}),r.jsx("option",{value:"Indiana",children:"Indiana"}),r.jsx("option",{value:"Kansas",children:"Kansas"}),r.jsx("option",{value:"Kentucky",children:"Kentucky"}),r.jsx("option",{value:"Louisiana",children:"Louisiana"}),r.jsx("option",{value:"Massachusetts",children:"Massachusetts"}),r.jsx("option",{value:"Maryland",children:"Maryland"}),r.jsx("option",{value:"Michigan",children:"Michigan"}),r.jsx("option",{value:"Minnesota",children:"Minnesota"}),r.jsx("option",{value:"Missouri",children:"Missouri"}),r.jsx("option",{value:"Mississippi",children:"Mississippi"}),r.jsx("option",{value:"Montana",children:"Montana"}),r.jsx("option",{value:"North Carolina",children:"North Carolina"}),r.jsx("option",{value:"North Dakota",children:"North Dakota"}),r.jsx("option",{value:"Nebraska",children:"Nebraska"}),r.jsx("option",{value:"New Hampshire",children:"New Hampshire"}),r.jsx("option",{value:"New Jersey",children:"New Jersey"}),r.jsx("option",{value:"New Mexico",children:"New Mexico"}),r.jsx("option",{value:"Nevada",children:"Nevada"}),r.jsx("option",{value:"New York",children:"New York"}),r.jsx("option",{value:"Ohio",children:"Ohio"}),r.jsx("option",{value:"Oklahoma",children:"Oklahoma"}),r.jsx("option",{value:"Oregon",children:"Oregon"}),r.jsx("option",{value:"Pennsylvania",children:"Pennsylvania"}),r.jsx("option",{value:"Rhode Island",children:"Rhode Island"}),r.jsx("option",{value:"South Carolina",children:"South Carolina"}),r.jsx("option",{value:"South Dakota",children:"South Dakota"}),r.jsx("option",{value:"Tennessee",children:"Tennessee"}),r.jsx("option",{value:"Texas",children:"Texas"}),r.jsx("option",{value:"Texas",children:"Travis"}),r.jsx("option",{value:"Utah",children:"Utah"}),r.jsx("option",{value:"Virginia",children:"Virginia"}),r.jsx("option",{value:"Vermont",children:"Vermont"}),r.jsx("option",{value:"Washington",children:"Washington"}),r.jsx("option",{value:"Wisconsin",children:"Wisconsin"}),r.jsx("option",{value:"West Virginia",children:"West Virginia"}),r.jsx("option",{value:"Wyoming",children:"Wyoming"})]})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["County",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"county",value:c.county,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Abbeville",children:"Abbeville"}),r.jsx("option",{value:"Aiken",children:"Aiken"}),r.jsx("option",{value:"Allendale",children:"Allendale"}),r.jsx("option",{value:"Anderson",children:"Anderson"}),r.jsx("option",{value:"Bamberg",children:"Bamberg"}),r.jsx("option",{value:"Barnwell",children:"Barnwell"}),r.jsx("option",{value:"Beaufort",children:"Beaufort"}),r.jsx("option",{value:"Berkeley",children:"Berkeley"}),r.jsx("option",{value:"Calhoun",children:"Calhoun"}),r.jsx("option",{value:"Charleston",children:"Charleston"}),r.jsx("option",{value:"Cherokee",children:"Cherokee"}),r.jsx("option",{value:"Chester",children:"Chester"}),r.jsx("option",{value:"Chesterfield",children:"Chesterfield"}),r.jsx("option",{value:"Clarendon",children:"Clarendon"}),r.jsx("option",{value:"Colleton",children:"Colleton"}),r.jsx("option",{value:"Darlington",children:"Darlington"}),r.jsx("option",{value:"Dillon",children:"Dillon"}),r.jsx("option",{value:"Dorchester",children:"Dorchester"}),r.jsx("option",{value:"Edgefield",children:"Edgefield"}),r.jsx("option",{value:"Fairfield",children:"Fairfield"}),r.jsx("option",{value:"Florence",children:"Florence"}),r.jsx("option",{value:"Georgetown",children:"Georgetown"}),r.jsx("option",{value:"Greenville",children:"Greenville"}),r.jsx("option",{value:"Greenwood",children:"Greenwood"}),r.jsx("option",{value:"Hampton",children:"Hampton"}),r.jsx("option",{value:"Horry",children:"Horry"}),r.jsx("option",{value:"Jasper",children:"Jasper"}),r.jsx("option",{value:"Kershaw",children:"Kershaw"}),r.jsx("option",{value:"Lancaster",children:"Lancaster"}),r.jsx("option",{value:"Laurens",children:"Laurens"}),r.jsx("option",{value:"Lee",children:"Lee"}),r.jsx("option",{value:"Lexington",children:"Lexington"}),r.jsx("option",{value:"Marion",children:"Marion"}),r.jsx("option",{value:"Marlboro",children:"Marlboro"}),r.jsx("option",{value:"McCormick",children:"McCormick"}),r.jsx("option",{value:"Newberry",children:"Newberry"}),r.jsx("option",{value:"Oconee",children:"Oconee"}),r.jsx("option",{value:"Orangeburg",children:"Orangeburg"}),r.jsx("option",{value:"Pickens",children:"Pickens"}),r.jsx("option",{value:"Richland",children:"Richland"}),r.jsx("option",{value:"Saluda",children:"Saluda"}),r.jsx("option",{value:"Spartanburg",children:"Spartanburg"}),r.jsx("option",{value:"Sumter",children:"Sumter"}),r.jsx("option",{value:"Union",children:"Union"}),r.jsx("option",{value:"Williamsburg",children:"Williamsburg"}),r.jsx("option",{value:"York",children:"York"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Zip",r.jsx("input",{type:"text",className:"form-control",name:"zip",value:c.zip,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Parcel",r.jsx("input",{type:"text",className:"form-control",name:"parcel",value:c.parcel,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Sub division",r.jsx("input",{type:"text",className:"form-control",name:"subdivision",value:c.subdivision,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Legal Description",r.jsx("textarea",{type:"text",className:"form-control",name:"legal",value:c.legal,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Cost per SQFT",r.jsx("input",{type:"text",className:"form-control",name:"costpersqft",value:c.costpersqft,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Property Type",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:c.propertyType,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Residential",children:"Residential"}),r.jsx("option",{value:"Land",children:"Land"}),r.jsx("option",{value:"Commercial",children:"Commercial"}),r.jsx("option",{value:"Industrial",children:"Industrial"}),r.jsx("option",{value:"Water",children:"Water"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Lot Acres/Sqft",r.jsx("input",{type:"text",className:"form-control",name:"lotacres",value:c.lotacres,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Year Build",r.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:c.yearBuild,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Total Living SQFT",r.jsx("input",{type:"text",className:"form-control",name:"totallivingsqft",value:c.totallivingsqft,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Beds",r.jsx("input",{type:"text",className:"form-control",name:"beds",value:c.beds,onChange:h,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Baths",r.jsx("input",{type:"text",className:"form-control",name:"baths",value:c.baths,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Stories",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"stories",value:c.stories,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"0",children:"0"}),r.jsx("option",{value:"1",children:"1"}),r.jsx("option",{value:"2",children:"2"}),r.jsx("option",{value:"3",children:"3"}),r.jsx("option",{value:"4",children:"4"}),r.jsx("option",{value:"5",children:"5"}),r.jsx("option",{value:"6",children:"6"}),r.jsx("option",{value:"7",children:"7"}),r.jsx("option",{value:"8",children:"8"}),r.jsx("option",{value:"9",children:"9"}),r.jsx("option",{value:"10",children:"10"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Garage",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"garage",value:c.garage,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"0",children:"0"}),r.jsx("option",{value:"1",children:"1"}),r.jsx("option",{value:"2",children:"2"}),r.jsx("option",{value:"3",children:"3"}),r.jsx("option",{value:"4",children:"4"}),r.jsx("option",{value:"5",children:"5"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Garage SQFT",r.jsx("input",{type:"text",className:"form-control",name:"garagesqft",value:c.garagesqft,onChange:h,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Pool/SPA",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"poolspa",value:c.poolspa,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Yes- Pool Only",children:"Yes- Pool Only"}),r.jsx("option",{value:"Yes- SPA only",children:"Yes- SPA only"}),r.jsx("option",{value:"Yes - Both Pool and SPA",children:"Yes - Both Pool and SPA"}),r.jsx("option",{value:"4",children:"None"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Fire places",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"fireplaces",value:c.fireplaces,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"yes",children:"Yes"}),r.jsx("option",{value:"no",children:"No"})]})]}),r.jsxs("div",{className:"col-md-4",children:["A/C",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"ac",value:c.ac,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Central",children:"Central"}),r.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),r.jsx("option",{value:"Warm Air",children:"Warm Air"}),r.jsx("option",{value:"Forced Air",children:"Forced Air"}),r.jsx("option",{value:"Gas",children:"Gas"})]})]})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Heating",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"heating",value:c.heating,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Central",children:"Central"}),r.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),r.jsx("option",{value:"Warm Air",children:"Warm Air"}),r.jsx("option",{value:"Forced Air",children:"Forced Air"}),r.jsx("option",{value:"Gas",children:"Gas"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Building Style",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"buildingstyle",value:c.buildingstyle,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"One Story",children:"One Story"}),r.jsx("option",{value:"Craftsman",children:"Craftsman"}),r.jsx("option",{value:"Log/Cabin",children:"Log/Cabin"}),r.jsx("option",{value:"Split-Level",children:"Split-Level"}),r.jsx("option",{value:"Split-Foyer",children:"Split-Foyer"}),r.jsx("option",{value:"Stick Built",children:"Stick Built"}),r.jsx("option",{value:"Single wide",children:"Single wide"}),r.jsx("option",{value:"Double wide",children:"Double wide"}),r.jsx("option",{value:"Duplex",children:"Duplex"}),r.jsx("option",{value:"Triplex",children:"Triplex"}),r.jsx("option",{value:"Quadruplex",children:"Quadruplex"}),r.jsx("option",{value:"Two Story",children:"Two Story"}),r.jsx("option",{value:"Victorian",children:"Victorian"}),r.jsx("option",{value:"Tudor",children:"Tudor"}),r.jsx("option",{value:"Modern",children:"Modern"}),r.jsx("option",{value:"Art Deco",children:"Art Deco"}),r.jsx("option",{value:"Bungalow",children:"Bungalow"}),r.jsx("option",{value:"Mansion",children:"Mansion"}),r.jsx("option",{value:"Farmhouse",children:"Farmhouse"}),r.jsx("option",{value:"Conventional",children:"Conventional"}),r.jsx("option",{value:"Ranch",children:"Ranch"}),r.jsx("option",{value:"Ranch with Basement",children:"Ranch with Basement"}),r.jsx("option",{value:"Cape Cod",children:"Cape Cod"}),r.jsx("option",{value:"Contemporary",children:"Contemporary"}),r.jsx("option",{value:"Colonial",children:"Colonial"}),r.jsx("option",{value:"Mediterranean",children:"Mediterranean"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Site Vacant",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"sitevacant",value:c.sitevacant,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please select"}),r.jsx("option",{value:"Yes",children:"Yes"}),r.jsx("option",{value:"No",children:"No"})]})]})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Ext Wall",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"extwall",value:c.extwall,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Brick",children:"Brick"}),r.jsx("option",{value:"Brick/Vinyl Siding",children:"Brick/Vinyl Siding"}),r.jsx("option",{value:"Wood/Vinyl Siding",children:"Wood/Vinyl Siding"}),r.jsx("option",{value:"Brick/Wood Siding",children:"Brick/Wood Siding"}),r.jsx("option",{value:"Stone",children:"Stone"}),r.jsx("option",{value:"Masonry",children:"Masonry"}),r.jsx("option",{value:"Metal",children:"Metal"}),r.jsx("option",{value:"Fiberboard",children:"Fiberboard"}),r.jsx("option",{value:"Asphalt Siding",children:"Asphalt Siding"}),r.jsx("option",{value:"Concrete Block",children:"Concrete Block"}),r.jsx("option",{value:"Gable",children:"Gable"}),r.jsx("option",{value:"Brick Veneer",children:"Brick Veneer"}),r.jsx("option",{value:"Frame",children:"Frame"}),r.jsx("option",{value:"Siding",children:"Siding"}),r.jsx("option",{value:"Cement/Wood Fiber Siding",children:"Cement/Wood Fiber Siding"}),r.jsx("option",{value:"Fiber/Cement Siding",children:"Fiber/Cement Siding"}),r.jsx("option",{value:"Wood Siding",children:"Wood Siding"}),r.jsx("option",{value:"Vinyl Siding",children:"Vinyl Siding"}),r.jsx("option",{value:"Aluminium Siding",children:"Aluminium Siding"}),r.jsx("option",{value:"Wood/Vinyl Siding",children:"Alum/Vinyl Siding"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Roofing",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"roofing",value:c.roofing,onChange:h,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Asphalt Shingle",children:"Asphalt Shingle"}),r.jsx("option",{value:"Green Roofs",children:"Green Roofs"}),r.jsx("option",{value:"Built-up Roofing",children:"Built-up Roofing"}),r.jsx("option",{value:"Composition Shingle",children:"Composition Shingle"}),r.jsx("option",{value:"Composition Shingle Heavy",children:"Composition Shingle Heavy"}),r.jsx("option",{value:"Solar tiles",children:"Solar tiles"}),r.jsx("option",{value:"Metal",children:"Metal"}),r.jsx("option",{value:"Stone-coated steel",children:"Stone-coated steel"}),r.jsx("option",{value:"Slate",children:"Slate"}),r.jsx("option",{value:"Rubber Slate",children:"Rubber Slate"}),r.jsx("option",{value:"Clay and Concrete tiles",children:"Clay and Concrete tiles"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Total SQFT",r.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:c.totalSqft,onChange:h,required:!0})]})})]}),r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:[r.jsx("br",{}),"Property Tax Information"]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),c.propertyTaxInfo.map((p,j)=>r.jsxs("div",{className:"row gy-4",children:[r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"form-floating mb-3",children:["Property Tax Owned",r.jsx("input",{type:"text",className:"form-control",name:"propertytaxowned",value:p.propertytaxowned,onChange:w=>h(w,j,"propertyTaxInfo"),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Owned Year",r.jsx("input",{type:"text",className:"form-control",name:"ownedyear",value:p.ownedyear,onChange:w=>h(w,j,"propertyTaxInfo"),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Tax Assessed",r.jsx("input",{type:"text",className:"form-control",name:"taxassessed",value:p.taxassessed,onChange:w=>h(w,j,"propertyTaxInfo"),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Tax Year",r.jsx("input",{type:"text",className:"form-control",name:"taxyear",value:p.taxyear,onChange:w=>h(w,j,"propertyTaxInfo"),required:!0})]})}),r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"form-floating mb-2",children:[r.jsx("br",{}),r.jsx("button",{className:"btn btn-danger",onClick:()=>m(j),style:{height:"25px",width:"35px"},children:"X"})]})})]},j)),r.jsx("button",{className:"btn btn-secondary",onClick:v,children:"+ Add Another Property Tax Info"})]}),r.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="Images"&&r.jsxs("div",{role:"tabpanel",className:"card tab-pane active",children:[r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Upload Images"," "]}),r.jsxs("form",{children:[c.images.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,placeholder:"Image Title",onChange:w=>b(j,w)})}),r.jsxs("div",{className:"col-md-4 d-flex align-items-center",children:[r.jsx(jd,{multiple:!1,onDone:w=>C(w,j)}),r.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>N(j),style:{marginLeft:"5px"},children:"Delete"})]}),p.file&&r.jsxs(r.Fragment,{children:[r.jsx("p",{children:"Base64 Data:"})," ",r.jsxs("pre",{children:[p.file.slice(0,100),"..."]})," ",r.jsx("div",{className:"col-md-12",children:r.jsx("img",{src:p.file,alt:"uploaded",style:{width:"150px",height:"150px",objectFit:"cover"}})})]})]},j)),r.jsx("button",{type:"button",className:"btn btn-primary",onClick:x,style:{backgroundColor:"#fda417",border:"#fda417"},children:"+ Add Image"}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"mb-3",children:[r.jsx("label",{htmlFor:"googleMapLink",className:"form-label",children:r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Google Maps Link"," "]})}),r.jsx("input",{type:"text",className:"form-control",name:"googleMapLink",value:c.googleMapLink,onChange:h,placeholder:"Enter Google Maps link"})]}),c.googleMapLink&&r.jsx("iframe",{title:"Google Map",width:"100%",height:"300",src:`https://www.google.com/maps/embed/v1/view?key=YOUR_API_KEY¢er=${c.googleMapLink}&zoom=10`,frameBorder:"0",allowFullScreen:!0})]}),r.jsx("button",{className:"btn btn-primary back",onClick:o,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{className:"btn btn-primary continue",onClick:n,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),e==="Accounting"&&r.jsxs("div",{className:"card",style:{color:"#fda417",border:"1px solid #fda417",padding:"10px",borderRadius:"8px"},children:[r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Close Date A to B",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"date",className:"form-control",name:"closeDateAtoB",value:c.closeDateAtoB,onChange:p=>{const j=p.target.value;d({...c,closeDateAtoB:j}),_(j,c.closeDateBtoC)},placeholder:"Close Date A to B",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:["[M-D-Y]"," "]}),":"," ",r.jsx("span",{style:{color:"#000000",fontSize:"14px",fontWeight:"normal"},children:new Date(c.closeDateAtoB).toLocaleDateString("en-US",{month:"numeric",day:"numeric",year:"numeric"})})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Close Date B to C",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"date",className:"form-control",name:"closeDateBtoC",value:c.closeDateBtoC,onChange:p=>{const j=p.target.value;d({...c,closeDateBtoC:j}),_(c.closeDateAtoB,j)},placeholder:"Close Date B to C",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:["[M-D-Y] :"," "]}),r.jsx("span",{style:{color:"#000000",fontSize:"14px",fontWeight:"normal"},children:new Date(c.closeDateBtoC).toLocaleDateString("en-US",{month:"numeric",day:"numeric",year:"numeric"})})]})})]}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Renovation Risk"}),r.jsx("div",{className:"col-md-7",children:u.map(p=>r.jsxs("div",{className:"form-check form-check-inline",children:[r.jsx("input",{className:"form-check-input",type:"radio",name:"renovationRisk",id:`renovationRisk${p}`,value:p,checked:c.renovationRisk===p,onChange:j=>{const w=parseInt(j.target.value,10);d({...c,renovationRisk:w})}}),r.jsx("label",{className:"form-check-label",htmlFor:`renovationRisk${p}`,children:p})]},p))})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Rate of Return"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"rateofreturn",value:`$ ${Sr().toFixed(2)}`,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Turn Time"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:el,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Purchase Price"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:`$ ${c.purchaseCost}`,name:"purchaseCost",onChange:p=>{let j=p.target.value.replace(/[^\d.]/g,"");const w=/^\d*\.?\d*$/.test(j);d({...c,purchaseCost:j,isPurchaseCostInvalid:!w})},onKeyPress:p=>{const j=p.charCode;(j<48||j>57)&&j!==46&&(p.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},placeholder:"Enter Purchase Cost",style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Costs paid out of Closing Hud A to B:"}),c.costPaidAtoB.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,onChange:w=>k(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${p.isInvalid?"is-invalid":""}`,value:`$ ${p.price}`,onChange:w=>T(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),p.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>E(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{onClick:y,className:"btn btn-primary back",style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Extra Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Purchase Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalPurchaseCosts",value:`$ ${O().toFixed(2)}`,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Credits received on settlement:"}),c.credits.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,onChange:w=>H(j,"title",w.target.value),placeholder:"credits",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${p.isInvalid?"is-invalid":""}`,value:p.price,onChange:w=>te(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),p.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>$(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:B,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add credits"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total credits received on settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcredits",value:Q(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Purchase Cost after Credits Received"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalPurchaseCostsaftercredits",value:Z(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Cash Adjustments:"}),c.cashAdjustments.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,onChange:w=>G(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${p.isInvalid?"is-invalid":""}`,value:p.price,onChange:w=>R(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),p.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>U(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:D,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Cash Adjustments"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cash Adjustments on Settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcashAdjustments",value:A(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cash Required on Settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcashrequiredonsettlement",value:L(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Incidental Cost:"}),c.incidentalCost.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,onChange:w=>K(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${p.isInvalid?"is-invalid":""}`,value:p.price,onChange:w=>Y(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),p.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>W(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:F,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Incidental Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Incidental Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalincidentalCost",value:ee(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Carry Costs:"}),c.carryCosts.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,onChange:w=>oe(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${p.isInvalid?"is-invalid":""}`,value:p.price,onChange:w=>ie(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),p.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>ne(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:re,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Carry Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Carry Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcarryCosts",value:ce(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Reno/Construction"}),c.renovationCost.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,onChange:w=>yt(j,"title",w.target.value),placeholder:"Title",required:!0,style:{fontSize:"10px"}})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${p.isInvalid?"is-invalid":""}`,value:p.price,onChange:w=>Lt(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),p.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>Me(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:he,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Reno/Construction"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Renovation Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalrenovationCost",value:pe(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Renovations & Holding Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalRenovationsandHoldingCost",value:Bt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Costs to Buy A to B"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:"form-control",name:"totalCoststoBuyAtoB",value:Ke(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0}),c.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Selling Price B to C"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,name:"sellingPriceBtoC",value:c.sellingPriceBtoC,onChange:p=>{const j=p.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,sellingPriceBtoC:j,isPurchaseCostInvalid:!w})},onKeyPress:p=>{const j=p.charCode;(j<48||j>57)&&j!==46&&(p.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},placeholder:"Enter Purchase Cost",style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Less:Costs paid out of closing Hud B to C:"}),c.costPaidOutofClosing.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,onChange:w=>yo(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${p.isInvalid?"is-invalid":""}`,value:p.price,onChange:w=>jo(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),p.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>Jt(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:Gn,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Cost Paid Out of Closing"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total cost paid out of closing"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcostPaidOutofClosing",value:Qn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cost to Sell B to C"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalCosttoSellBtoC",value:zt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Gross Proceeds per HUD"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"grossproceedsperHUD",value:zt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Adjustments:"}),c.adjustments.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,onChange:w=>de(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${p.isInvalid?"is-invalid":""}`,value:p.price,onChange:w=>Wt(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),p.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>$t(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:vn,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Adjustments"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Adjustments"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totaladjustments",value:gn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Funds Available for distribution"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"fundsavailablefordistribution",value:Ds(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Income Statement Adjustments:"}),c.incomestatement.map((p,j)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:p.title,onChange:w=>Ja(j,"title",w.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${p.isInvalid?"is-invalid":""}`,value:p.price,onChange:w=>Za(w,j),placeholder:"Price",style:{textAlign:"right"},required:!0}),p.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>Fs(j),style:{marginLeft:"5px"},children:"x"})})]},j)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:No,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Income Statement"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Income Statement Adjustment"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalincomestatement",value:Co(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net B to C Sale Value"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netBtoCsalevalue",value:Xn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit Computation"}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Total Costs to Buy A to B",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalCoststoBuyAtoBagain",value:Ke(),style:{textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Funds Prior to Closing",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isfundspriortoclosingInvalid?"is-invalid":""}`,value:c.fundspriortoclosing,name:"fundspriortoclosing",onChange:p=>{const j=p.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,fundspriortoclosing:j,isfundspriortoclosingInvalid:!w})},onKeyPress:p=>{const j=p.charCode;(j<48||j>57)&&j!==46&&(p.preventDefault(),d({...c,isfundspriortoclosingInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isfundspriortoclosingInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Net B to C Sale Value",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netBtoCsalevalue",value:Xn(),style:{textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Short Term Rental",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:c.shorttermrental,name:"shorttermrental",onChange:p=>{const j=p.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,shorttermrental:j,isPurchaseCostInvalid:!w})},onKeyPress:p=>{const j=p.charCode;(j<48||j>57)&&j!==46&&(p.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Other Income",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:c.OtherIncome,name:"OtherIncome",onChange:p=>{const j=p.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,OtherIncome:j,isPurchaseCostInvalid:!w})},onKeyPress:p=>{const j=p.charCode;(j<48||j>57)&&j!==46&&(p.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Insurance Claim",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:c.InsuranceClaim,name:"InsuranceClaim",onChange:p=>{const j=p.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,InsuranceClaim:j,isPurchaseCostInvalid:!w})},onKeyPress:p=>{const j=p.charCode;(j<48||j>57)&&j!==46&&(p.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Long Term Rental",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isPurchaseCostInvalid?"is-invalid":""}`,value:c.LongTermRental,name:"LongTermRental",onChange:p=>{const j=p.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,LongTermRental:j,isPurchaseCostInvalid:!w})},onKeyPress:p=>{const j=p.charCode;(j<48||j>57)&&j!==46&&(p.preventDefault(),d({...c,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit Before Financing Costs"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netprofitbeforefinancingcosts",value:Jn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Financing Cost/Other Closing Costs"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${c.isFinancingCostClosingCostInvalid?"is-invalid":""}`,value:c.FinancingCostClosingCost,name:"FinancingCostClosingCost",onChange:p=>{const j=p.target.value,w=/^\d*\.?\d*$/.test(j);d({...c,FinancingCostClosingCost:j,isFinancingCostClosingCostInvalid:!w})},onKeyPress:p=>{const j=p.charCode;(j<48||j>57)&&j!==46&&(p.preventDefault(),d({...c,isFinancingCostClosingCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),c.isFinancingCostClosingCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netprofit",value:Zt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("button",{className:"btn btn-primary back",onClick:o,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:bo,children:"Submit"})," "]}),r.jsx("br",{})]})]})]})})},Yt="/assets/propertydummy-DhVEZ7jN.jpg",lb=()=>{var u;const e=Ft(),{user:t}=Ve(c=>({...c.auth})),{userProperties:n,totalPages:o}=Ve(c=>c.property),[s,i]=S.useState(1),a=5;S.useEffect(()=>{e(ki({userId:t.result.userId,page:s,limit:a}))},[e,(u=t==null?void 0:t.result)==null?void 0:u.userId,s]);const l=c=>{i(c)};return r.jsx(r.Fragment,{children:n.length>0?r.jsxs(r.Fragment,{children:[r.jsx("ul",{children:n.map(c=>r.jsx("li",{children:r.jsx("div",{className:"container",children:r.jsx("div",{className:"col-md-12",children:r.jsxs("div",{className:"row p-2 bg-white border rounded mt-2",children:[r.jsx("div",{className:"col-md-3 mt-1",children:r.jsx("img",{src:c.images[0].file||Yt,className:"w-70",alt:"Img",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}})}),r.jsxs("div",{className:"col-md-6 mt-1",children:[r.jsxs("h5",{children:[" ",r.jsxs(Ne,{to:`/property/${c.propertyId}`,target:"_blank",children:[c.address,"....."]})]}),r.jsx("div",{className:"d-flex flex-row"}),r.jsxs("div",{className:"mt-1 mb-1 spec-1",children:[r.jsx("span",{children:"100% cotton"}),r.jsx("span",{className:"dot"}),r.jsx("span",{children:"Light weight"}),r.jsx("span",{className:"dot"}),r.jsxs("span",{children:["Best finish",r.jsx("br",{})]})]}),r.jsxs("div",{className:"mt-1 mb-1 spec-1",children:[r.jsx("span",{children:"Unique design"}),r.jsx("span",{className:"dot"}),r.jsx("span",{children:"For men"}),r.jsx("span",{className:"dot"}),r.jsxs("span",{children:["Casual",r.jsx("br",{})]})]}),r.jsxs("p",{className:"text-justify text-truncate para mb-0",children:["There are many variations of passages of",r.jsx("br",{}),r.jsx("br",{})]})]}),r.jsx("div",{className:"align-items-center align-content-center col-md-3 border-left mt-1",children:r.jsxs("div",{className:"d-flex flex-column mt-4",children:[r.jsx(Ne,{to:`/property/${c.propertyId}`,children:r.jsxs("button",{className:"btn btn-outline-primary btn-sm mt-2",type:"button",style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{className:"fa fa-eye",style:{color:"#F74B02"}})," "," ","View Details"]})}),r.jsx(Ne,{to:`/editproperty/${c.propertyId}`,children:r.jsxs("button",{className:"btn btn-outline-primary btn-sm mt-2",type:"button",style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{className:"fa fa-edit",style:{color:"#F74B02"}})," "," ","Edit Details .."]})})]})})]})})})},c._id))}),r.jsxs("div",{className:"pagination",children:[r.jsx("button",{onClick:()=>l(s-1),disabled:s===1,children:"Previous"}),Array.from({length:o},(c,d)=>d+1).map(c=>c===s||c===1||c===o||c>=s-1&&c<=s+1?r.jsx("button",{onClick:()=>l(c),disabled:s===c,children:c},c):c===2||c===o-1?r.jsx("span",{children:"..."},c):null),r.jsx("button",{onClick:()=>l(s+1),disabled:s===o,children:"Next"})]})]}):r.jsx("p",{children:"No active properties found."})})},cb=()=>{var c,d,f,g,C,x,N,b,h,v,m,y;const{user:e,isLoading:t}=Ve(E=>E.auth),n=Ft(),o=vo(),[s,i]=S.useState({userId:((c=e==null?void 0:e.result)==null?void 0:c.userId)||"",title:((d=e==null?void 0:e.result)==null?void 0:d.title)||"",firstName:((f=e==null?void 0:e.result)==null?void 0:f.firstName)||"",middleName:((g=e==null?void 0:e.result)==null?void 0:g.middleName)||"",lastName:((C=e==null?void 0:e.result)==null?void 0:C.lastName)||"",email:((x=e==null?void 0:e.result)==null?void 0:x.email)||"",aboutme:((N=e==null?void 0:e.result)==null?void 0:N.aboutme)||"",city:((b=e==null?void 0:e.result)==null?void 0:b.city)||"",state:((h=e==null?void 0:e.result)==null?void 0:h.state)||"",county:((v=e==null?void 0:e.result)==null?void 0:v.county)||"",zip:((m=e==null?void 0:e.result)==null?void 0:m.zip)||"",profileImage:((y=e==null?void 0:e.result)==null?void 0:y.profileImage)||""});S.useEffect(()=>{e&&i({userId:e.result.userId,title:e.result.title,firstName:e.result.firstName,middleName:e.result.middleName,lastName:e.result.lastName,email:e.result.email,aboutme:e.result.aboutme,city:e.result.city,state:e.result.state,county:e.result.county,zip:e.result.zip,profileImage:e.result.profileImage})},[e]);const a=E=>{i({...s,[E.target.name]:E.target.value})},l=()=>{i({...s,profileImage:""})},u=E=>{E.preventDefault(),n(bi({formData:s,toast:le,navigate:o}))};return r.jsx(r.Fragment,{children:r.jsxs("form",{onSubmit:u,children:[r.jsxs("div",{className:"col-4",children:["Title",r.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s.title,onChange:a,children:[r.jsx("option",{value:"None",children:"Please Select Title"}),r.jsx("option",{value:"Dr",children:"Dr"}),r.jsx("option",{value:"Prof",children:"Prof"}),r.jsx("option",{value:"Mr",children:"Mr"}),r.jsx("option",{value:"Miss",children:"Miss"})]})]}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["First Name",r.jsx("input",{type:"text",className:"form-control",placeholder:"First Name",required:"required",name:"firstName",value:s.firstName,onChange:a})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Middle Name",r.jsx("input",{type:"text",className:"form-control",placeholder:"Middle Name",required:"required",name:"middleName",value:s.middleName,onChange:a})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Last Name",r.jsx("input",{type:"text",className:"form-control",placeholder:"Last Name",required:"required",name:"lastName",value:s.lastName,onChange:a})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Email",r.jsx("input",{type:"text",className:"form-control",placeholder:"Email",required:"required",name:"email",value:s.email,onChange:a,disabled:!0})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["About me",r.jsx("textarea",{type:"text",id:"aboutme",name:"aboutme",className:"form-control h-100",value:s.aboutme,onChange:a})]})}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["City",r.jsx("input",{type:"text",className:"form-control",name:"city",placeholder:"city",value:s.city,onChange:a,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["State",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"state",value:s.state,onChange:a,required:!0,children:[r.jsx("option",{value:"",children:"Please Select State"}),r.jsx("option",{value:"Alaska",children:"Alaska"}),r.jsx("option",{value:"Alabama",children:"Alabama"}),r.jsx("option",{value:"Arkansas",children:"Arkansas"}),r.jsx("option",{value:"Arizona",children:"Arizona"}),r.jsx("option",{value:"California",children:"California"}),r.jsx("option",{value:"Colorado",children:"Colorado"}),r.jsx("option",{value:"Connecticut",children:"Connecticut"}),r.jsx("option",{value:"District Of Columbia",children:"District Of Columbia"}),r.jsx("option",{value:"Delaware",children:"Delaware"}),r.jsx("option",{value:"Florida",children:"Florida"}),r.jsx("option",{value:"Georgia",children:"Georgia"}),r.jsx("option",{value:"Hawaii",children:"Hawaii"}),r.jsx("option",{value:"Iowa",children:"Iowa"}),r.jsx("option",{value:"Idaho",children:"Idaho"}),r.jsx("option",{value:"Illinois",children:"Illinois"}),r.jsx("option",{value:"Indiana",children:"Indiana"}),r.jsx("option",{value:"Kansas",children:"Kansas"}),r.jsx("option",{value:"Kentucky",children:"Kentucky"}),r.jsx("option",{value:"Louisiana",children:"Louisiana"}),r.jsx("option",{value:"Massachusetts",children:"Massachusetts"}),r.jsx("option",{value:"Maryland",children:"Maryland"}),r.jsx("option",{value:"Michigan",children:"Michigan"}),r.jsx("option",{value:"Minnesota",children:"Minnesota"}),r.jsx("option",{value:"Missouri",children:"Missouri"}),r.jsx("option",{value:"Mississippi",children:"Mississippi"}),r.jsx("option",{value:"Montana",children:"Montana"}),r.jsx("option",{value:"North Carolina",children:"North Carolina"}),r.jsx("option",{value:"North Dakota",children:"North Dakota"}),r.jsx("option",{value:"Nebraska",children:"Nebraska"}),r.jsx("option",{value:"New Hampshire",children:"New Hampshire"}),r.jsx("option",{value:"New Jersey",children:"New Jersey"}),r.jsx("option",{value:"New Mexico",children:"New Mexico"}),r.jsx("option",{value:"Nevada",children:"Nevada"}),r.jsx("option",{value:"New York",children:"New York"}),r.jsx("option",{value:"Ohio",children:"Ohio"}),r.jsx("option",{value:"Oklahoma",children:"Oklahoma"}),r.jsx("option",{value:"Oregon",children:"Oregon"}),r.jsx("option",{value:"Pennsylvania",children:"Pennsylvania"}),r.jsx("option",{value:"Rhode Island",children:"Rhode Island"}),r.jsx("option",{value:"South Carolina",children:"South Carolina"}),r.jsx("option",{value:"South Dakota",children:"South Dakota"}),r.jsx("option",{value:"Tennessee",children:"Tennessee"}),r.jsx("option",{value:"Texas",children:"Texas"}),r.jsx("option",{value:"Utah",children:"Utah"}),r.jsx("option",{value:"Virginia",children:"Virginia"}),r.jsx("option",{value:"Vermont",children:"Vermont"}),r.jsx("option",{value:"Washington",children:"Washington"}),r.jsx("option",{value:"Wisconsin",children:"Wisconsin"}),r.jsx("option",{value:"West Virginia",children:"West Virginia"}),r.jsx("option",{value:"Wyoming",children:"Wyoming"})]})]})}),r.jsxs("div",{className:"col-md-4",children:["County",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"county",value:s.county,onChange:a,required:!0,children:[r.jsx("option",{value:"",children:"Please Select County"}),r.jsx("option",{value:"Abbeville",children:"Abbeville"}),r.jsx("option",{value:"Aiken",children:"Aiken"}),r.jsx("option",{value:"Allendale",children:"Allendale"}),r.jsx("option",{value:"Anderson",children:"Anderson"}),r.jsx("option",{value:"Bamberg",children:"Bamberg"}),r.jsx("option",{value:"Barnwell",children:"Barnwell"}),r.jsx("option",{value:"Beaufort",children:"Beaufort"}),r.jsx("option",{value:"Berkeley",children:"Berkeley"}),r.jsx("option",{value:"Calhoun",children:"Calhoun"}),r.jsx("option",{value:"Charleston",children:"Charleston"}),r.jsx("option",{value:"Cherokee",children:"Cherokee"}),r.jsx("option",{value:"Chester",children:"Chester"}),r.jsx("option",{value:"Chesterfield",children:"Chesterfield"}),r.jsx("option",{value:"Clarendon",children:"Clarendon"}),r.jsx("option",{value:"Colleton",children:"Colleton"}),r.jsx("option",{value:"Darlington",children:"Darlington"}),r.jsx("option",{value:"Dillon",children:"Dillon"}),r.jsx("option",{value:"Dorchester",children:"Dorchester"}),r.jsx("option",{value:"Edgefield",children:"Edgefield"}),r.jsx("option",{value:"Fairfield",children:"Fairfield"}),r.jsx("option",{value:"Florence",children:"Florence"}),r.jsx("option",{value:"Georgetown",children:"Georgetown"}),r.jsx("option",{value:"Greenville",children:"Greenville"}),r.jsx("option",{value:"Greenwood",children:"Greenwood"}),r.jsx("option",{value:"Hampton",children:"Hampton"}),r.jsx("option",{value:"Horry",children:"Horry"}),r.jsx("option",{value:"Jasper",children:"Jasper"}),r.jsx("option",{value:"Kershaw",children:"Kershaw"}),r.jsx("option",{value:"Lancaster",children:"Lancaster"}),r.jsx("option",{value:"Laurens",children:"Laurens"}),r.jsx("option",{value:"Lee",children:"Lee"}),r.jsx("option",{value:"Lexington",children:"Lexington"}),r.jsx("option",{value:"Marion",children:"Marion"}),r.jsx("option",{value:"Marlboro",children:"Marlboro"}),r.jsx("option",{value:"McCormick",children:"McCormick"}),r.jsx("option",{value:"Newberry",children:"Newberry"}),r.jsx("option",{value:"Oconee",children:"Oconee"}),r.jsx("option",{value:"Orangeburg",children:"Orangeburg"}),r.jsx("option",{value:"Pickens",children:"Pickens"}),r.jsx("option",{value:"Richland",children:"Richland"}),r.jsx("option",{value:"Saluda",children:"Saluda"}),r.jsx("option",{value:"Spartanburg",children:"Spartanburg"}),r.jsx("option",{value:"Sumter",children:"Sumter"}),r.jsx("option",{value:"Union",children:"Union"}),r.jsx("option",{value:"Williamsburg",children:"Williamsburg"}),r.jsx("option",{value:"York",children:"York"})]})]}),r.jsx("div",{className:"col-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Zip",r.jsx("input",{type:"text",className:"form-control",name:"zip",placeholder:"zip",value:s.zip,onChange:a,required:!0})]})}),r.jsxs("div",{className:"col-4",children:[r.jsx("label",{children:"Profile Image"}),r.jsx("div",{className:"mb-3",children:r.jsx(jd,{type:"file",multiple:!1,onDone:({base64:E})=>i({...s,profileImage:E})})})]}),s.profileImage&&r.jsxs("div",{className:"col-4 mb-3",children:[r.jsx("img",{src:s.profileImage,alt:"Profile Preview",style:{width:"150px",height:"150px",borderRadius:"50%"}}),r.jsx("button",{type:"button",className:"btn btn-danger mt-2",onClick:l,children:"Delete Image"})]}),r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-grid",children:r.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:t,children:t?"Updating...":"Update"})})})]})})},ub=()=>{const[e,t]=S.useState("dashboard"),{user:n}=Ve(s=>s.auth),o=()=>{switch(e){case"Userdetails":return r.jsx(cb,{});case"addProperty":return r.jsx(ab,{});case"activeProperties":return r.jsxs("div",{children:[r.jsx("h3",{children:"Active Properties"}),r.jsx(lb,{})]});case"closedProperties":return r.jsx("p",{children:"These are your closed properties."});default:return r.jsx(r.Fragment,{})}};return r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsxs("div",{className:"d-flex flex-row",children:[r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"card card1 p-5",children:[r.jsx("img",{className:"img-fluid",src:n.result.profileImage||Ti,alt:"ProfileImage",style:{marginTop:"0px",maxWidth:"200px",maxHeight:"200px"}}),r.jsx("hr",{className:"hline"}),r.jsxs("div",{className:"d-flex flex-column align-items-center",children:[r.jsxs("button",{className:`btn ${e==="dashboard"?"active":""}`,onClick:()=>t("dashboard"),children:[r.jsx("i",{className:"fa fa-dashboard",style:{color:"#F74B02"}}),r.jsx("span",{children:"Dashboard"})]}),r.jsxs("button",{className:`btn mt-3 ${e==="Userdetails"?"active":""}`,onClick:()=>t("Userdetails"),children:[r.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),r.jsx("span",{children:"User Profile"})]}),r.jsxs("button",{className:`btn mt-3 ${e==="addProperty"?"active":""}`,onClick:()=>t("addProperty"),children:[r.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),r.jsx("span",{children:"Add Property"})]}),r.jsxs("button",{className:`btn mt-3 ${e==="activeProperties"?"active":""}`,onClick:()=>t("activeProperties"),children:[r.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),r.jsx("span",{children:"Active Properties"})]}),r.jsxs("button",{className:`btn mt-3 ${e==="closedProperties"?"active":""}`,onClick:()=>t("closedProperties"),children:[r.jsx("span",{className:"fa fa-home",style:{color:"#F74B02"}}),r.jsx("span",{children:"Closed Properties"})]})]})]})}),r.jsx("div",{className:"col-md-9",children:r.jsxs("div",{className:"card card2 p-1",children:[r.jsx("br",{}),r.jsxs("span",{children:["Welcome to"," ",r.jsx("span",{style:{color:"#067ADC"},children:r.jsxs(Ne,{to:`/profile/${n.result.userId}`,className:"link-primary text-decoration-none",target:"_blank",children:[n.result.title,". ",n.result.firstName," ",n.result.middleName," ",n.result.lastName]})})]}),r.jsx("br",{}),o()]})})]}),r.jsx(Ze,{})]})};var Gv={exports:{}},db="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",fb=db,pb=fb;function Qv(){}function Xv(){}Xv.resetWarningCache=Qv;var mb=function(){function e(o,s,i,a,l,u){if(u!==pb){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Xv,resetWarningCache:Qv};return n.PropTypes=n,n};Gv.exports=mb();var hb=Gv.exports;const Xt=bs(hb),vb=()=>{const[e,t]=S.useState(3),n=vo();return S.useEffect(()=>{const o=setInterval(()=>{t(s=>--s)},1e3);return e===0&&n("/login"),()=>clearInterval(o)},[e,n]),r.jsx("div",{style:{marginTop:"100px"},children:r.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},Ri=({children:e})=>{const{user:t}=Ve(n=>({...n.auth}));return t?e:r.jsx(vb,{})};Ri.propTypes={children:Xt.node.isRequired};const gb=()=>{const e=Ft(),{id:t,token:n}=go();return S.useEffect(()=>{e(Si({id:t,token:n}))},[e,t,n]),r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsxs("div",{className:"contact_section layout_padding",children:[r.jsx("div",{className:"container",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12",children:r.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),r.jsx("div",{className:"container-fluid",children:r.jsx("div",{className:"contact_section_2",children:r.jsxs("div",{className:"row",children:[r.jsxs("div",{className:"col-md-6",children:[r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("h1",{className:"card-title text-center",children:r.jsxs(Ne,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",r.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),r.jsx("div",{className:"col-md-6 padding_left_15",children:r.jsx("div",{className:"contact_img"})})]})})})]}),r.jsx(Ze,{})]})},xb=()=>{const[e,t]=S.useState(""),[n,o]=S.useState(""),s="http://67.225.129.127:3002",i=async()=>{try{const a=await ve.post(`${s}/users/forgotpassword`,{email:e});o(a.data.message)}catch(a){console.error("Forgot Password Error:",a),o(a.response.data.message)}};return r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[r.jsx("div",{className:"container-fluid px-0",children:r.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[r.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),r.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:r.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:r.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"mb-4",children:[r.jsx("h2",{className:"h3",children:"Forgot Password"}),r.jsx("hr",{})]})})}),r.jsxs("div",{className:"row gy-3 overflow-hidden",children:[r.jsx("div",{className:"col-12",children:r.jsxs("div",{className:"form-floating mb-3",children:[r.jsx("input",{type:"email",className:"form-control",value:e,onChange:a=>t(a.target.value),placeholder:"name@example.com",required:"required"}),r.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),r.jsxs("div",{className:"col-12",children:[r.jsx("div",{className:"d-grid",children:r.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:i,children:"Reset Password"})}),r.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:r.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",r.jsx(Ne,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12"})})]})})})]})}),r.jsx(Ze,{})]})]})},yb=()=>{const{userId:e,token:t}=go(),[n,o]=S.useState(""),[s,i]=S.useState(""),[a,l]=S.useState(""),u="http://67.225.129.127:3002",c=async()=>{try{if(!n||n.trim()===""){l("Password not entered"),le.error("Password not entered");return}const d=await ve.post(`${u}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==s){l("Passwords do not match."),le.error("Passwords do not match.");return}else l("Password reset successfull"),le.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return S.useEffect(()=>{le.dismiss()},[]),r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("section",{className:"card mb-0 vh-100",children:r.jsx("div",{className:"container py-10 h-100",children:r.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:r.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[r.jsx("br",{}),r.jsxs("h2",{children:["Reset Password",r.jsx("hr",{}),r.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),r.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>o(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),r.jsx("br",{}),r.jsx("input",{className:"form-control",type:"password",value:s,onChange:d=>i(d.target.value),placeholder:"Confirm your new password"}),r.jsx("br",{}),r.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),r.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:a})]})})})}),r.jsx(Ze,{})]})},jb=()=>r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsxs("div",{className:"col-md-18",children:[r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsxs("h1",{className:"card-title text-center",children:[" ","Thank you for joining the world's most trusted realtor investment and borrowers portal."]}),r.jsxs("h2",{children:["We reqest you to kindly ",r.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"check your email inbox "})," and click on the ",r.jsx("span",{style:{fontSize:"2rem",color:"#fda417"},children:"verification link "}),"to access the dashboard."]})]}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx(Ze,{})]});var Jv={exports:{}};/*!
|
|
Copyright (c) 2018 Jed Watson.
|
|
Licensed under the MIT License (MIT), see
|
|
http://jedwatson.github.io/classnames
|
|
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(i=s(i,o(l)))}return i}function o(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return n.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var l in i)t.call(i,l)&&i[l]&&(a=s(a,l));return a}function s(i,a){return a?i?i+" "+a:i+a:i}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Jv);var Nb=Jv.exports;const xe=bs(Nb);function Cb(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}function fu(e,t){return fu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},fu(e,t)}function bb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,fu(e,t)}const wb=["xxl","xl","lg","md","sm","xs"],Sb="xs",Ga=S.createContext({prefixes:{},breakpoints:wb,minBreakpoint:Sb});function Ae(e,t){const{prefixes:n}=S.useContext(Ga);return e||n[t]||t}function Eb(){const{breakpoints:e}=S.useContext(Ga);return e}function kb(){const{minBreakpoint:e}=S.useContext(Ga);return e}function Pb(){const{dir:e}=S.useContext(Ga);return e==="rtl"}function Qa(e){return e&&e.ownerDocument||document}function _b(e){var t=Qa(e);return t&&t.defaultView||window}function Ob(e,t){return _b(e).getComputedStyle(e,t)}var Tb=/([A-Z])/g;function Rb(e){return e.replace(Tb,"-$1").toLowerCase()}var Ab=/^ms-/;function oi(e){return Rb(e).replace(Ab,"-ms-")}var Ib=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function Db(e){return!!(e&&Ib.test(e))}function mr(e,t){var n="",o="";if(typeof t=="string")return e.style.getPropertyValue(oi(t))||Ob(e).getPropertyValue(oi(t));Object.keys(t).forEach(function(s){var i=t[s];!i&&i!==0?e.style.removeProperty(oi(s)):Db(s)?o+=s+"("+i+") ":n+=oi(s)+": "+i+";"}),o&&(n+="transform: "+o+";"),e.style.cssText+=";"+n}const yp={disabled:!1},Zv=I.createContext(null);var Fb=function(t){return t.scrollTop},Lo="unmounted",rr="exited",Sn="entering",sr="entered",pu="exiting",hn=function(e){bb(t,e);function t(o,s){var i;i=e.call(this,o,s)||this;var a=s,l=a&&!a.isMounting?o.enter:o.appear,u;return i.appearStatus=null,o.in?l?(u=rr,i.appearStatus=Sn):u=sr:o.unmountOnExit||o.mountOnEnter?u=Lo:u=rr,i.state={status:u},i.nextCallback=null,i}t.getDerivedStateFromProps=function(s,i){var a=s.in;return a&&i.status===Lo?{status:rr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var i=null;if(s!==this.props){var a=this.state.status;this.props.in?a!==Sn&&a!==sr&&(i=Sn):(a===Sn||a===sr)&&(i=pu)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,i,a,l;return i=a=l=s,s!=null&&typeof s!="number"&&(i=s.exit,a=s.enter,l=s.appear!==void 0?s.appear:a),{exit:i,enter:a,appear:l}},n.updateStatus=function(s,i){if(s===void 0&&(s=!1),i!==null)if(this.cancelNextCallback(),i===Sn){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Wr.findDOMNode(this);a&&Fb(a)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===rr&&this.setState({status:Lo})},n.performEnter=function(s){var i=this,a=this.props.enter,l=this.context?this.context.isMounting:s,u=this.props.nodeRef?[l]:[Wr.findDOMNode(this),l],c=u[0],d=u[1],f=this.getTimeouts(),g=l?f.appear:f.enter;if(!s&&!a||yp.disabled){this.safeSetState({status:sr},function(){i.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:Sn},function(){i.props.onEntering(c,d),i.onTransitionEnd(g,function(){i.safeSetState({status:sr},function(){i.props.onEntered(c,d)})})})},n.performExit=function(){var s=this,i=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:Wr.findDOMNode(this);if(!i||yp.disabled){this.safeSetState({status:rr},function(){s.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:pu},function(){s.props.onExiting(l),s.onTransitionEnd(a.exit,function(){s.safeSetState({status:rr},function(){s.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,i){i=this.setNextCallback(i),this.setState(s,i)},n.setNextCallback=function(s){var i=this,a=!0;return this.nextCallback=function(l){a&&(a=!1,i.nextCallback=null,s(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(s,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:Wr.findDOMNode(this),l=s==null&&!this.props.addEndListener;if(!a||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],c=u[0],d=u[1];this.props.addEndListener(c,d)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Lo)return null;var i=this.props,a=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=Cb(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return I.createElement(Zv.Provider,{value:null},typeof a=="function"?a(s,l):I.cloneElement(I.Children.only(a),l))},t}(I.Component);hn.contextType=Zv;hn.propTypes={};function kr(){}hn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:kr,onEntering:kr,onEntered:kr,onExit:kr,onExiting:kr,onExited:kr};hn.UNMOUNTED=Lo;hn.EXITED=rr;hn.ENTERING=Sn;hn.ENTERED=sr;hn.EXITING=pu;const xo=!!(typeof window<"u"&&window.document&&window.document.createElement);var mu=!1,hu=!1;try{var Ql={get passive(){return mu=!0},get once(){return hu=mu=!0}};xo&&(window.addEventListener("test",Ql,Ql),window.removeEventListener("test",Ql,!0))}catch{}function eg(e,t,n,o){if(o&&typeof o!="boolean"&&!hu){var s=o.once,i=o.capture,a=n;!hu&&s&&(a=n.__once||function l(u){this.removeEventListener(t,l,i),n.call(this,u)},n.__once=a),e.addEventListener(t,a,mu?o:i)}e.addEventListener(t,n,o)}function vu(e,t,n,o){var s=o&&typeof o!="boolean"?o.capture:o;e.removeEventListener(t,n,s),n.__once&&e.removeEventListener(t,n.__once,s)}function ha(e,t,n,o){return eg(e,t,n,o),function(){vu(e,t,n,o)}}function Mb(e,t,n,o){if(o===void 0&&(o=!0),e){var s=document.createEvent("HTMLEvents");s.initEvent(t,n,o),e.dispatchEvent(s)}}function Lb(e){var t=mr(e,"transitionDuration")||"",n=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*n}function Bb(e,t,n){n===void 0&&(n=5);var o=!1,s=setTimeout(function(){o||Mb(e,"transitionend",!0)},t+n),i=ha(e,"transitionend",function(){o=!0},{once:!0});return function(){clearTimeout(s),i()}}function tg(e,t,n,o){n==null&&(n=Lb(e)||0);var s=Bb(e,n,o),i=ha(e,"transitionend",t);return function(){s(),i()}}function jp(e,t){const n=mr(e,t)||"",o=n.indexOf("ms")===-1?1e3:1;return parseFloat(n)*o}function zb(e,t){const n=jp(e,"transitionDuration"),o=jp(e,"transitionDelay"),s=tg(e,i=>{i.target===e&&(s(),t(i))},n+o)}function $b(e){e.offsetHeight}const Np=e=>!e||typeof e=="function"?e:t=>{e.current=t};function Wb(e,t){const n=Np(e),o=Np(t);return s=>{n&&n(s),o&&o(s)}}function Is(e,t){return S.useMemo(()=>Wb(e,t),[e,t])}function Ub(e){return e&&"setState"in e?Wr.findDOMNode(e):e??null}const qb=I.forwardRef(({onEnter:e,onEntering:t,onEntered:n,onExit:o,onExiting:s,onExited:i,addEndListener:a,children:l,childRef:u,...c},d)=>{const f=S.useRef(null),g=Is(f,u),C=k=>{g(Ub(k))},x=k=>T=>{k&&f.current&&k(f.current,T)},N=S.useCallback(x(e),[e]),b=S.useCallback(x(t),[t]),h=S.useCallback(x(n),[n]),v=S.useCallback(x(o),[o]),m=S.useCallback(x(s),[s]),y=S.useCallback(x(i),[i]),E=S.useCallback(x(a),[a]);return r.jsx(hn,{ref:d,...c,onEnter:N,onEntered:h,onEntering:b,onExit:v,onExited:y,onExiting:m,addEndListener:E,nodeRef:f,children:typeof l=="function"?(k,T)=>l(k,{...T,ref:C}):I.cloneElement(l,{ref:C})})});function Vb(e){const t=S.useRef(e);return S.useEffect(()=>{t.current=e},[e]),t}function Kt(e){const t=Vb(e);return S.useCallback(function(...n){return t.current&&t.current(...n)},[t])}const Hb=e=>S.forwardRef((t,n)=>r.jsx("div",{...t,ref:n,className:xe(t.className,e)}));function Kb(){return S.useState(null)}function Yb(){const e=S.useRef(!0),t=S.useRef(()=>e.current);return S.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Gb(e){const t=S.useRef(null);return S.useEffect(()=>{t.current=e}),t.current}const Qb=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",Xb=typeof document<"u",Cp=Xb||Qb?S.useLayoutEffect:S.useEffect,Jb=["as","disabled"];function Zb(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}function ew(e){return!e||e.trim()==="#"}function ng({tagName:e,disabled:t,href:n,target:o,rel:s,role:i,onClick:a,tabIndex:l=0,type:u}){e||(n!=null||o!=null||s!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:u||"button",disabled:t},c];const d=g=>{if((t||e==="a"&&ew(n))&&g.preventDefault(),t){g.stopPropagation();return}a==null||a(g)},f=g=>{g.key===" "&&(g.preventDefault(),d(g))};return e==="a"&&(n||(n="#"),t&&(n=void 0)),[{role:i??"button",disabled:void 0,tabIndex:t?void 0:l,href:n,target:e==="a"?o:void 0,"aria-disabled":t||void 0,rel:e==="a"?s:void 0,onClick:d,onKeyDown:f},c]}const tw=S.forwardRef((e,t)=>{let{as:n,disabled:o}=e,s=Zb(e,Jb);const[i,{tagName:a}]=ng(Object.assign({tagName:n,disabled:o},s));return r.jsx(a,Object.assign({},s,i,{ref:t}))});tw.displayName="Button";function nw(e){return e.code==="Escape"||e.keyCode===27}function rg(){const e=S.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}const rw={[Sn]:"show",[sr]:"show"},Nd=S.forwardRef(({className:e,children:t,transitionClasses:n={},onEnter:o,...s},i)=>{const a={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...s},l=S.useCallback((d,f)=>{$b(d),o==null||o(d,f)},[o]),{major:u}=rg(),c=u>=19?t.props.ref:t.ref;return r.jsx(qb,{ref:i,addEndListener:zb,...a,onEnter:l,childRef:c,children:(d,f)=>S.cloneElement(t,{...f,className:xe("fade",e,t.props.className,rw[d],n[d])})})});Nd.displayName="Fade";const ow={"aria-label":Xt.string,onClick:Xt.func,variant:Xt.oneOf(["white"])},Cd=S.forwardRef(({className:e,variant:t,"aria-label":n="Close",...o},s)=>r.jsx("button",{ref:s,type:"button",className:xe("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...o}));Cd.displayName="CloseButton";Cd.propTypes=ow;const og=S.forwardRef(({as:e,bsPrefix:t,variant:n="primary",size:o,active:s=!1,disabled:i=!1,className:a,...l},u)=>{const c=Ae(t,"btn"),[d,{tagName:f}]=ng({tagName:e,disabled:i,...l}),g=f;return r.jsx(g,{...d,...l,ref:u,disabled:i,className:xe(a,c,s&&"active",n&&`${c}-${n}`,o&&`${c}-${o}`,l.href&&i&&"disabled")})});og.displayName="Button";function sw(e){const t=S.useRef(e);return t.current=e,t}function sg(e){const t=sw(e);S.useEffect(()=>()=>t.current(),[])}function iw(e,t){return S.Children.toArray(e).some(n=>S.isValidElement(n)&&n.type===t)}function aw({as:e,bsPrefix:t,className:n,...o}){t=Ae(t,"col");const s=Eb(),i=kb(),a=[],l=[];return s.forEach(u=>{const c=o[u];delete o[u];let d,f,g;typeof c=="object"&&c!=null?{span:d,offset:f,order:g}=c:d=c;const C=u!==i?`-${u}`:"";d&&a.push(d===!0?`${t}${C}`:`${t}${C}-${d}`),g!=null&&l.push(`order${C}-${g}`),f!=null&&l.push(`offset${C}-${f}`)}),[{...o,className:xe(n,...a,...l)},{as:e,bsPrefix:t,spans:a}]}const ig=S.forwardRef((e,t)=>{const[{className:n,...o},{as:s="div",bsPrefix:i,spans:a}]=aw(e);return r.jsx(s,{...o,ref:t,className:xe(n,!a.length&&i)})});ig.displayName="Col";var lw=Function.prototype.bind.call(Function.prototype.call,[].slice);function Pr(e,t){return lw(e.querySelectorAll(t))}function bp(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}const cw="data-rr-ui-";function uw(e){return`${cw}${e}`}const ag=S.createContext(xo?window:void 0);ag.Provider;function bd(){return S.useContext(ag)}const dw={type:Xt.string,tooltip:Xt.bool,as:Xt.elementType},Xa=S.forwardRef(({as:e="div",className:t,type:n="valid",tooltip:o=!1,...s},i)=>r.jsx(e,{...s,ref:i,className:xe(t,`${n}-${o?"tooltip":"feedback"}`)}));Xa.displayName="Feedback";Xa.propTypes=dw;const fn=S.createContext({}),wd=S.forwardRef(({id:e,bsPrefix:t,className:n,type:o="checkbox",isValid:s=!1,isInvalid:i=!1,as:a="input",...l},u)=>{const{controlId:c}=S.useContext(fn);return t=Ae(t,"form-check-input"),r.jsx(a,{...l,ref:u,type:o,id:e||c,className:xe(n,t,s&&"is-valid",i&&"is-invalid")})});wd.displayName="FormCheckInput";const va=S.forwardRef(({bsPrefix:e,className:t,htmlFor:n,...o},s)=>{const{controlId:i}=S.useContext(fn);return e=Ae(e,"form-check-label"),r.jsx("label",{...o,ref:s,htmlFor:n||i,className:xe(t,e)})});va.displayName="FormCheckLabel";const lg=S.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:n,inline:o=!1,reverse:s=!1,disabled:i=!1,isValid:a=!1,isInvalid:l=!1,feedbackTooltip:u=!1,feedback:c,feedbackType:d,className:f,style:g,title:C="",type:x="checkbox",label:N,children:b,as:h="input",...v},m)=>{t=Ae(t,"form-check"),n=Ae(n,"form-switch");const{controlId:y}=S.useContext(fn),E=S.useMemo(()=>({controlId:e||y}),[y,e]),k=!b&&N!=null&&N!==!1||iw(b,va),T=r.jsx(wd,{...v,type:x==="switch"?"checkbox":x,ref:m,isValid:a,isInvalid:l,disabled:i,as:h});return r.jsx(fn.Provider,{value:E,children:r.jsx("div",{style:g,className:xe(f,k&&t,o&&`${t}-inline`,s&&`${t}-reverse`,x==="switch"&&n),children:b||r.jsxs(r.Fragment,{children:[T,k&&r.jsx(va,{title:C,children:N}),c&&r.jsx(Xa,{type:d,tooltip:u,children:c})]})})})});lg.displayName="FormCheck";const ga=Object.assign(lg,{Input:wd,Label:va}),cg=S.forwardRef(({bsPrefix:e,type:t,size:n,htmlSize:o,id:s,className:i,isValid:a=!1,isInvalid:l=!1,plaintext:u,readOnly:c,as:d="input",...f},g)=>{const{controlId:C}=S.useContext(fn);return e=Ae(e,"form-control"),r.jsx(d,{...f,type:t,size:o,ref:g,readOnly:c,id:s||C,className:xe(i,u?`${e}-plaintext`:e,n&&`${e}-${n}`,t==="color"&&`${e}-color`,a&&"is-valid",l&&"is-invalid")})});cg.displayName="FormControl";const fw=Object.assign(cg,{Feedback:Xa}),ug=S.forwardRef(({className:e,bsPrefix:t,as:n="div",...o},s)=>(t=Ae(t,"form-floating"),r.jsx(n,{ref:s,className:xe(e,t),...o})));ug.displayName="FormFloating";const Sd=S.forwardRef(({controlId:e,as:t="div",...n},o)=>{const s=S.useMemo(()=>({controlId:e}),[e]);return r.jsx(fn.Provider,{value:s,children:r.jsx(t,{...n,ref:o})})});Sd.displayName="FormGroup";const dg=S.forwardRef(({as:e="label",bsPrefix:t,column:n=!1,visuallyHidden:o=!1,className:s,htmlFor:i,...a},l)=>{const{controlId:u}=S.useContext(fn);t=Ae(t,"form-label");let c="col-form-label";typeof n=="string"&&(c=`${c} ${c}-${n}`);const d=xe(s,t,o&&"visually-hidden",n&&c);return i=i||u,n?r.jsx(ig,{ref:l,as:"label",className:d,htmlFor:i,...a}):r.jsx(e,{ref:l,className:d,htmlFor:i,...a})});dg.displayName="FormLabel";const fg=S.forwardRef(({bsPrefix:e,className:t,id:n,...o},s)=>{const{controlId:i}=S.useContext(fn);return e=Ae(e,"form-range"),r.jsx("input",{...o,type:"range",ref:s,className:xe(t,e),id:n||i})});fg.displayName="FormRange";const pg=S.forwardRef(({bsPrefix:e,size:t,htmlSize:n,className:o,isValid:s=!1,isInvalid:i=!1,id:a,...l},u)=>{const{controlId:c}=S.useContext(fn);return e=Ae(e,"form-select"),r.jsx("select",{...l,size:n,ref:u,className:xe(o,e,t&&`${e}-${t}`,s&&"is-valid",i&&"is-invalid"),id:a||c})});pg.displayName="FormSelect";const mg=S.forwardRef(({bsPrefix:e,className:t,as:n="small",muted:o,...s},i)=>(e=Ae(e,"form-text"),r.jsx(n,{...s,ref:i,className:xe(t,e,o&&"text-muted")})));mg.displayName="FormText";const hg=S.forwardRef((e,t)=>r.jsx(ga,{...e,ref:t,type:"switch"}));hg.displayName="Switch";const pw=Object.assign(hg,{Input:ga.Input,Label:ga.Label}),vg=S.forwardRef(({bsPrefix:e,className:t,children:n,controlId:o,label:s,...i},a)=>(e=Ae(e,"form-floating"),r.jsxs(Sd,{ref:a,className:xe(t,e),controlId:o,...i,children:[n,r.jsx("label",{htmlFor:o,children:s})]})));vg.displayName="FloatingLabel";const mw={_ref:Xt.any,validated:Xt.bool,as:Xt.elementType},Ed=S.forwardRef(({className:e,validated:t,as:n="form",...o},s)=>r.jsx(n,{...o,ref:s,className:xe(e,t&&"was-validated")}));Ed.displayName="Form";Ed.propTypes=mw;const Zn=Object.assign(Ed,{Group:Sd,Control:fw,Floating:ug,Check:ga,Switch:pw,Label:dg,Text:mg,Range:fg,Select:pg,FloatingLabel:vg});var si;function wp(e){if((!si&&si!==0||e)&&xo){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),si=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return si}function Xl(e){e===void 0&&(e=Qa());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function hw(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const Sp=uw("modal-open");class kd{constructor({ownerDocument:t,handleContainerOverflow:n=!0,isRTL:o=!1}={}){this.handleContainerOverflow=n,this.isRTL=o,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return hw(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(t){}removeModalAttributes(t){}setContainerStyle(t){const n={overflow:"hidden"},o=this.isRTL?"paddingLeft":"paddingRight",s=this.getElement();t.style={overflow:s.style.overflow,[o]:s.style[o]},t.scrollBarWidth&&(n[o]=`${parseInt(mr(s,o)||"0",10)+t.scrollBarWidth}px`),s.setAttribute(Sp,""),mr(s,n)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const n=this.getElement();n.removeAttribute(Sp),Object.assign(n.style,t.style)}add(t){let n=this.modals.indexOf(t);return n!==-1||(n=this.modals.length,this.modals.push(t),this.setModalAttributes(t),n!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),n}remove(t){const n=this.modals.indexOf(t);n!==-1&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const Jl=(e,t)=>xo?e==null?(t||Qa()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function vw(e,t){const n=bd(),[o,s]=S.useState(()=>Jl(e,n==null?void 0:n.document));if(!o){const i=Jl(e);i&&s(i)}return S.useEffect(()=>{},[t,o]),S.useEffect(()=>{const i=Jl(e);i!==o&&s(i)},[e,o]),o}function gw({children:e,in:t,onExited:n,mountOnEnter:o,unmountOnExit:s}){const i=S.useRef(null),a=S.useRef(t),l=Kt(n);S.useEffect(()=>{t?a.current=!0:l(i.current)},[t,l]);const u=Is(i,e.ref),c=S.cloneElement(e,{ref:u});return t?c:s||!a.current&&o?null:c}const xw=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function yw(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}function jw(e){let{onEnter:t,onEntering:n,onEntered:o,onExit:s,onExiting:i,onExited:a,addEndListener:l,children:u}=e,c=yw(e,xw);const{major:d}=rg(),f=d>=19?u.props.ref:u.ref,g=S.useRef(null),C=Is(g,typeof u=="function"?null:f),x=k=>T=>{k&&g.current&&k(g.current,T)},N=S.useCallback(x(t),[t]),b=S.useCallback(x(n),[n]),h=S.useCallback(x(o),[o]),v=S.useCallback(x(s),[s]),m=S.useCallback(x(i),[i]),y=S.useCallback(x(a),[a]),E=S.useCallback(x(l),[l]);return Object.assign({},c,{nodeRef:g},t&&{onEnter:N},n&&{onEntering:b},o&&{onEntered:h},s&&{onExit:v},i&&{onExiting:m},a&&{onExited:y},l&&{addEndListener:E},{children:typeof u=="function"?(k,T)=>u(k,Object.assign({},T,{ref:C})):S.cloneElement(u,{ref:C})})}const Nw=["component"];function Cw(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}const bw=S.forwardRef((e,t)=>{let{component:n}=e,o=Cw(e,Nw);const s=jw(o);return r.jsx(n,Object.assign({ref:t},s))});function ww({in:e,onTransition:t}){const n=S.useRef(null),o=S.useRef(!0),s=Kt(t);return Cp(()=>{if(!n.current)return;let i=!1;return s({in:e,element:n.current,initial:o.current,isStale:()=>i}),()=>{i=!0}},[e,s]),Cp(()=>(o.current=!1,()=>{o.current=!0}),[]),n}function Sw({children:e,in:t,onExited:n,onEntered:o,transition:s}){const[i,a]=S.useState(!t);t&&i&&a(!1);const l=ww({in:!!t,onTransition:c=>{const d=()=>{c.isStale()||(c.in?o==null||o(c.element,c.initial):(a(!0),n==null||n(c.element)))};Promise.resolve(s(c)).then(d,f=>{throw c.in||a(!0),f})}}),u=Is(l,e.ref);return i&&!t?null:S.cloneElement(e,{ref:u})}function Ep(e,t,n){return e?r.jsx(bw,Object.assign({},n,{component:e})):t?r.jsx(Sw,Object.assign({},n,{transition:t})):r.jsx(gw,Object.assign({},n))}const Ew=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function kw(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}let Zl;function Pw(e){return Zl||(Zl=new kd({ownerDocument:e==null?void 0:e.document})),Zl}function _w(e){const t=bd(),n=e||Pw(t),o=S.useRef({dialog:null,backdrop:null});return Object.assign(o.current,{add:()=>n.add(o.current),remove:()=>n.remove(o.current),isTopModal:()=>n.isTopModal(o.current),setDialogRef:S.useCallback(s=>{o.current.dialog=s},[]),setBackdropRef:S.useCallback(s=>{o.current.backdrop=s},[])})}const gg=S.forwardRef((e,t)=>{let{show:n=!1,role:o="dialog",className:s,style:i,children:a,backdrop:l=!0,keyboard:u=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:f,runTransition:g,backdropTransition:C,runBackdropTransition:x,autoFocus:N=!0,enforceFocus:b=!0,restoreFocus:h=!0,restoreFocusOptions:v,renderDialog:m,renderBackdrop:y=pe=>r.jsx("div",Object.assign({},pe)),manager:E,container:k,onShow:T,onHide:O=()=>{},onExit:B,onExited:$,onExiting:H,onEnter:te,onEntering:Q,onEntered:Z}=e,D=kw(e,Ew);const U=bd(),G=vw(k),R=_w(E),A=Yb(),L=Gb(n),[F,W]=S.useState(!n),K=S.useRef(null);S.useImperativeHandle(t,()=>R,[R]),xo&&!L&&n&&(K.current=Xl(U==null?void 0:U.document)),n&&F&&W(!1);const Y=Kt(()=>{if(R.add(),ce.current=ha(document,"keydown",oe),ie.current=ha(document,"focus",()=>setTimeout(re),!0),T&&T(),N){var pe,Bt;const Ke=Xl((pe=(Bt=R.dialog)==null?void 0:Bt.ownerDocument)!=null?pe:U==null?void 0:U.document);R.dialog&&Ke&&!bp(R.dialog,Ke)&&(K.current=Ke,R.dialog.focus())}}),ee=Kt(()=>{if(R.remove(),ce.current==null||ce.current(),ie.current==null||ie.current(),h){var pe;(pe=K.current)==null||pe.focus==null||pe.focus(v),K.current=null}});S.useEffect(()=>{!n||!G||Y()},[n,G,Y]),S.useEffect(()=>{F&&ee()},[F,ee]),sg(()=>{ee()});const re=Kt(()=>{if(!b||!A()||!R.isTopModal())return;const pe=Xl(U==null?void 0:U.document);R.dialog&&pe&&!bp(R.dialog,pe)&&R.dialog.focus()}),ne=Kt(pe=>{pe.target===pe.currentTarget&&(c==null||c(pe),l===!0&&O())}),oe=Kt(pe=>{u&&nw(pe)&&R.isTopModal()&&(d==null||d(pe),pe.defaultPrevented||O())}),ie=S.useRef(),ce=S.useRef(),he=(...pe)=>{W(!0),$==null||$(...pe)};if(!G)return null;const Me=Object.assign({role:o,ref:R.setDialogRef,"aria-modal":o==="dialog"?!0:void 0},D,{style:i,className:s,tabIndex:-1});let yt=m?m(Me):r.jsx("div",Object.assign({},Me,{children:S.cloneElement(a,{role:"document"})}));yt=Ep(f,g,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:B,onExiting:H,onExited:he,onEnter:te,onEntering:Q,onEntered:Z,children:yt});let Lt=null;return l&&(Lt=y({ref:R.setBackdropRef,onClick:ne}),Lt=Ep(C,x,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:Lt})),r.jsx(r.Fragment,{children:Wr.createPortal(r.jsxs(r.Fragment,{children:[Lt,yt]}),G)})});gg.displayName="Modal";const Ow=Object.assign(gg,{Manager:kd});function Tw(e,t){return e.classList?e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Rw(e,t){e.classList?e.classList.add(t):Tw(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function kp(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Aw(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=kp(e.className,t):e.setAttribute("class",kp(e.className&&e.className.baseVal||"",t))}const _r={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class Iw extends kd{adjustAndStore(t,n,o){const s=n.style[t];n.dataset[t]=s,mr(n,{[t]:`${parseFloat(mr(n,t))+o}px`})}restore(t,n){const o=n.dataset[t];o!==void 0&&(delete n.dataset[t],mr(n,{[t]:o}))}setContainerStyle(t){super.setContainerStyle(t);const n=this.getElement();if(Rw(n,"modal-open"),!t.scrollBarWidth)return;const o=this.isRTL?"paddingLeft":"paddingRight",s=this.isRTL?"marginLeft":"marginRight";Pr(n,_r.FIXED_CONTENT).forEach(i=>this.adjustAndStore(o,i,t.scrollBarWidth)),Pr(n,_r.STICKY_CONTENT).forEach(i=>this.adjustAndStore(s,i,-t.scrollBarWidth)),Pr(n,_r.NAVBAR_TOGGLER).forEach(i=>this.adjustAndStore(s,i,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const n=this.getElement();Aw(n,"modal-open");const o=this.isRTL?"paddingLeft":"paddingRight",s=this.isRTL?"marginLeft":"marginRight";Pr(n,_r.FIXED_CONTENT).forEach(i=>this.restore(o,i)),Pr(n,_r.STICKY_CONTENT).forEach(i=>this.restore(s,i)),Pr(n,_r.NAVBAR_TOGGLER).forEach(i=>this.restore(s,i))}}let ec;function Dw(e){return ec||(ec=new Iw(e)),ec}const xg=S.forwardRef(({className:e,bsPrefix:t,as:n="div",...o},s)=>(t=Ae(t,"modal-body"),r.jsx(n,{ref:s,className:xe(e,t),...o})));xg.displayName="ModalBody";const yg=S.createContext({onHide(){}}),Pd=S.forwardRef(({bsPrefix:e,className:t,contentClassName:n,centered:o,size:s,fullscreen:i,children:a,scrollable:l,...u},c)=>{e=Ae(e,"modal");const d=`${e}-dialog`,f=typeof i=="string"?`${e}-fullscreen-${i}`:`${e}-fullscreen`;return r.jsx("div",{...u,ref:c,className:xe(d,t,s&&`${e}-${s}`,o&&`${d}-centered`,l&&`${d}-scrollable`,i&&f),children:r.jsx("div",{className:xe(`${e}-content`,n),children:a})})});Pd.displayName="ModalDialog";const jg=S.forwardRef(({className:e,bsPrefix:t,as:n="div",...o},s)=>(t=Ae(t,"modal-footer"),r.jsx(n,{ref:s,className:xe(e,t),...o})));jg.displayName="ModalFooter";const Fw=S.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:o,children:s,...i},a)=>{const l=S.useContext(yg),u=Kt(()=>{l==null||l.onHide(),o==null||o()});return r.jsxs("div",{ref:a,...i,children:[s,n&&r.jsx(Cd,{"aria-label":e,variant:t,onClick:u})]})}),Ng=S.forwardRef(({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:o=!1,...s},i)=>(e=Ae(e,"modal-header"),r.jsx(Fw,{ref:i,...s,className:xe(t,e),closeLabel:n,closeButton:o})));Ng.displayName="ModalHeader";const Mw=Hb("h4"),Cg=S.forwardRef(({className:e,bsPrefix:t,as:n=Mw,...o},s)=>(t=Ae(t,"modal-title"),r.jsx(n,{ref:s,className:xe(e,t),...o})));Cg.displayName="ModalTitle";function Lw(e){return r.jsx(Nd,{...e,timeout:null})}function Bw(e){return r.jsx(Nd,{...e,timeout:null})}const bg=S.forwardRef(({bsPrefix:e,className:t,style:n,dialogClassName:o,contentClassName:s,children:i,dialogAs:a=Pd,"data-bs-theme":l,"aria-labelledby":u,"aria-describedby":c,"aria-label":d,show:f=!1,animation:g=!0,backdrop:C=!0,keyboard:x=!0,onEscapeKeyDown:N,onShow:b,onHide:h,container:v,autoFocus:m=!0,enforceFocus:y=!0,restoreFocus:E=!0,restoreFocusOptions:k,onEntered:T,onExit:O,onExiting:B,onEnter:$,onEntering:H,onExited:te,backdropClassName:Q,manager:Z,...D},U)=>{const[G,R]=S.useState({}),[A,L]=S.useState(!1),F=S.useRef(!1),W=S.useRef(!1),K=S.useRef(null),[Y,ee]=Kb(),re=Is(U,ee),ne=Kt(h),oe=Pb();e=Ae(e,"modal");const ie=S.useMemo(()=>({onHide:ne}),[ne]);function ce(){return Z||Dw({isRTL:oe})}function he(de){if(!xo)return;const Wt=ce().getScrollbarWidth()>0,gn=de.scrollHeight>Qa(de).documentElement.clientHeight;R({paddingRight:Wt&&!gn?wp():void 0,paddingLeft:!Wt&&gn?wp():void 0})}const Me=Kt(()=>{Y&&he(Y.dialog)});sg(()=>{vu(window,"resize",Me),K.current==null||K.current()});const yt=()=>{F.current=!0},Lt=de=>{F.current&&Y&&de.target===Y.dialog&&(W.current=!0),F.current=!1},pe=()=>{L(!0),K.current=tg(Y.dialog,()=>{L(!1)})},Bt=de=>{de.target===de.currentTarget&&pe()},Ke=de=>{if(C==="static"){Bt(de);return}if(W.current||de.target!==de.currentTarget){W.current=!1;return}h==null||h()},Gn=de=>{x?N==null||N(de):(de.preventDefault(),C==="static"&&pe())},Jt=(de,Wt)=>{de&&he(de),$==null||$(de,Wt)},yo=de=>{K.current==null||K.current(),O==null||O(de)},jo=(de,Wt)=>{H==null||H(de,Wt),eg(window,"resize",Me)},Qn=de=>{de&&(de.style.display=""),te==null||te(de),vu(window,"resize",Me)},zt=S.useCallback(de=>r.jsx("div",{...de,className:xe(`${e}-backdrop`,Q,!g&&"show")}),[g,Q,e]),vn={...n,...G};vn.display="block";const $t=de=>r.jsx("div",{role:"dialog",...de,style:vn,className:xe(t,e,A&&`${e}-static`,!g&&"show"),onClick:C?Ke:void 0,onMouseUp:Lt,"data-bs-theme":l,"aria-label":d,"aria-labelledby":u,"aria-describedby":c,children:r.jsx(a,{...D,onMouseDown:yt,className:o,contentClassName:s,children:i})});return r.jsx(yg.Provider,{value:ie,children:r.jsx(Ow,{show:f,ref:re,backdrop:C,container:v,keyboard:!0,autoFocus:m,enforceFocus:y,restoreFocus:E,restoreFocusOptions:k,onEscapeKeyDown:Gn,onShow:b,onHide:h,onEnter:Jt,onEntering:jo,onEntered:T,onExit:yo,onExiting:B,onExited:Qn,manager:ce(),transition:g?Lw:void 0,backdropTransition:g?Bw:void 0,renderBackdrop:zt,renderDialog:$t})})});bg.displayName="Modal";const ii=Object.assign(bg,{Body:xg,Header:Ng,Title:Cg,Footer:jg,Dialog:Pd,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),zw=()=>{var E;const{id:e}=go(),t=Ft(),{selectedProperty:n,status:o,error:s}=Ve(k=>k.property),{user:i}=Ve(k=>({...k.auth})),{fundDetails:a}=Ve(k=>k.fundDetails);S.useEffect(()=>{t(Xo(e))},[t,e]);const[l,u]=S.useState("propertydetails"),[c,d]=S.useState(!0),[f,g]=S.useState(!1),[C,x]=S.useState({fundValue:"0",fundPercentage:"0"});if(S.useEffect(()=>{e&&t(Go(e))},[e,t]),S.useEffect(()=>{t(Xo(e))},[t,e]),S.useEffect(()=>{o==="succeeded"&&d(!1)},[o]),o==="failed")return r.jsxs("p",{children:["Error loading property: ",s]});const N=((E=i==null?void 0:i.result)==null?void 0:E.userId)===(n==null?void 0:n.userId),b=!!i,h=()=>{g(!0)},v=()=>{g(!1)},m=k=>{const{name:T,value:O}=k.target;x({...C,[T]:O})},y=k=>{k.preventDefault();const T={fundValue:Number(C.fundValue),fundPercentage:Number(C.fundPercentage)};t(_i({id:e,fundDetails:T,toast:le})),v()};return r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("br",{})," ",r.jsx("br",{}),r.jsxs("div",{className:"container tabs-wrap col-12",children:[r.jsx(Re,{}),r.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[r.jsx("li",{role:"presentation",className:l==="propertydetails"?"active tab":"tab",children:r.jsx("a",{onClick:()=>u("propertydetails"),role:"tab",children:"Property Details"})}),r.jsx("li",{role:"presentation",className:l==="Funding Details"?"active tab":"tab",children:r.jsx("a",{onClick:()=>u("Funding Details"),role:"tab",children:"Funding Details"})}),r.jsx("li",{role:"presentation",className:l==="Accounting"?"active tab":"tab",children:r.jsx("a",{onClick:()=>u("Accounting"),role:"tab",children:"Accounting"})})]}),r.jsxs("div",{className:"tab-content",children:[l==="propertydetails"&&r.jsx("div",{role:"tabpanel",className:"card container tab-pane active col-12",children:r.jsx("div",{className:"container col-12",children:c?r.jsx("div",{className:"loader",children:"Loading..."}):n?r.jsx("div",{className:"py-3 py-md-5 bg-light",children:r.jsxs("div",{className:"card-header bg-white",children:[r.jsxs("div",{className:"row",children:[r.jsxs("div",{className:"col-md-5 mt-3",children:[r.jsx("div",{children:n.images&&n.images[0]?r.jsx("img",{src:n.images[0].file||Yt,alt:"Property Thumbnail",style:{marginTop:"0px",maxWidth:"400px",maxHeight:"400px"}}):r.jsx("img",{src:Yt,alt:"Default Property Thumbnail",style:{marginTop:"0px",maxWidth:"400px",maxHeight:"400px"}})}),r.jsx("br",{}),r.jsxs("div",{className:"label-stock border",children:[r.jsxs("p",{style:{color:"#fda417",fontSize:"30px",padding:"10px",fontWeight:"normal"},children:["Funding Required:"," ",r.jsxs("span",{style:{color:"#000000",fontSize:"25px"},children:[r.jsx("span",{className:"fa fa-dollar",style:{color:"#F74B02"}})," ",n.totalCoststoBuyAtoB]})]}),r.jsxs("p",{style:{color:"#fda417",fontSize:"30px",padding:"10px",fontWeight:"normal"},children:["Net profit:"," ",r.jsxs("span",{style:{color:"#000000",fontSize:"25px"},children:[r.jsx("span",{className:"fa fa-dollar",style:{color:"#F74B02"}})," ",n.NetProfit]})]})]}),r.jsx("br",{}),r.jsxs("button",{className:"btn btn-primary back",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:N||!b,onClick:N||!b?null:h,children:[r.jsx("span",{style:{fontSize:"25px",fontWeight:"normal"},children:"Willing to Invest/Fund"})," "]}),N&&r.jsx("span",{style:{color:"red",marginTop:"10px"},children:"You cannot invest in your own property."}),!b&&r.jsx("span",{style:{color:"red",marginTop:"10px"},children:"Please login to invest."})]}),r.jsx("div",{className:"col-md-7 mt-3",children:r.jsxs("div",{className:"product-view",children:[r.jsxs("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:[n.address,r.jsx("label",{className:"label-stock bg-success",children:"Verified Property"})]}),r.jsx("hr",{}),r.jsxs("p",{className:"product-path",children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["City:"," "]})," ",n.city," "," /"," "," "," ",r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["County:"," "]})," ",n.county," "," ","/"," "," ",r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["State:"," "]})," ",n.state," "," ","/ "," "," ",r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["Zipcode:"," "]})," ",n.zip," "]}),r.jsxs("div",{children:[r.jsxs("span",{className:"selling-price",style:{color:"#fda417",fontSize:"15px"},children:["Total Living Square Foot:"," "]}),n.totallivingsqft,r.jsx("p",{}),r.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Cost per Square Foot:"," "]}),"$",n.costpersqft,"/sqft",r.jsx("p",{}),r.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Year Built:"," "]}),n.yearBuild]}),r.jsxs("div",{className:"mt-3 card bg-white label-stock border",children:[r.jsx("h5",{className:"mb-0",style:{color:"#fda417",fontSize:"15px"},children:"Legal Description"}),r.jsx("span",{children:n.legal?n.legal:"No data available"})]})]})})]}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12 mt-3",children:r.jsxs("div",{className:"card",children:[r.jsx("div",{className:"card-header bg-white",children:r.jsx("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:"Description"})}),r.jsx("div",{className:"card-body",children:r.jsx("p",{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})})]})})})]})}):r.jsx("p",{children:"No property found."})})}),l==="Funding Details"&&r.jsx("div",{children:l==="Funding Details"&&r.jsx("div",{className:"tab-pane active",children:r.jsxs("div",{children:[n.fundDetails.length===0?r.jsx("p",{children:"No fund details available."}):r.jsx("ul",{children:n.fundDetails.map((k,T)=>r.jsxs("li",{children:["Fund Value: ",k.fundValue,", Fund Percentage: ",k.fundPercentage,"%"]},T))}),a.length===0?r.jsx("p",{children:"No fund details available."}):r.jsx("ul",{children:a.map((k,T)=>r.jsxs("li",{children:["Fund Value: ",k.fundValue,", Fund Percentage: ",k.fundPercentage,"%"]},T))})]})})}),l==="Accounting"&&r.jsx("div",{})]})]}),r.jsx(Ze,{}),r.jsxs(ii,{show:f,onHide:v,children:[r.jsx(ii.Header,{closeButton:!0,children:r.jsx(ii.Title,{children:"Investment/Funding Details"})}),r.jsx(ii.Body,{children:r.jsxs(Zn,{onSubmit:y,children:[r.jsxs(Zn.Group,{children:[r.jsx(Zn.Label,{children:"Fund Value"}),r.jsx(Zn.Control,{type:"number",id:"fundValue",name:"fundValue",value:C.fundValue,onChange:m})]}),r.jsxs(Zn.Group,{children:[r.jsx(Zn.Label,{children:"Fund Percentage"}),r.jsx(Zn.Control,{type:"number",id:"fundPercentage",name:"fundPercentage",value:C.fundPercentage,onChange:m})]}),r.jsx(og,{variant:"primary",type:"submit",children:"Submit"})]})})]})]})},$w=()=>{const[e,t]=S.useState([]),[n,o]=S.useState(0),[s,i]=S.useState(0),[a]=S.useState(10),[l,u]=S.useState(""),[c,d]=S.useState(!1),[f,g]=S.useState(!1),C=async()=>{d(!0),g(!1);try{const h=await ve.get("http://67.225.129.127:3002/mysql/searchmysql",{params:{limit:a,offset:s*a,search:l},headers:{"Cache-Control":"no-cache"}});t(h.data.data),o(h.data.totalRecords),l.trim()&&g(!0)}catch(h){console.log("Error fetching data:",h)}finally{d(!1)}},x=h=>{u(h.target.value),h.target.value.trim()===""&&(i(0),t([]),o(0),g(!1),C())},N=h=>{h.key==="Enter"&&(h.preventDefault(),C())};S.useEffect(()=>{C()},[l,s]);const b=Math.ceil(n/a);return r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsxs("div",{className:"container col-12",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-lg-12 card-margin col-12",children:r.jsx("div",{className:"card search-form col-12",children:r.jsx("div",{className:"card-body p-0",children:r.jsx("form",{id:"search-form",children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"row no-gutters",children:r.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:r.jsx("input",{type:"text",placeholder:"Enter the keyword and hit ENTER button...",className:"form-control",id:"search",name:"search",value:l,onChange:x,onKeyDown:N})})})})})})})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"card card-margin",children:r.jsxs("div",{className:"card-body",children:[f&&e.length>0&&r.jsxs("div",{children:["Showing search results for the keyword"," ",r.jsx("span",{style:{color:"#fda417",fontSize:"25px"},children:l})]}),r.jsx("div",{className:"table-responsive",children:r.jsxs("table",{className:"table widget-26",children:[r.jsx("thead",{style:{color:"#fda417",fontSize:"15px"},children:r.jsxs("tr",{children:[r.jsx("th",{children:"Details"}),r.jsx("th",{children:"Total Living Square Foot"}),r.jsx("th",{children:"Year Built"}),r.jsx("th",{children:"Cost per Square Foot"})]})}),r.jsx("tbody",{children:e.length>0?e.map((h,v)=>r.jsxs("tr",{children:[r.jsx("td",{children:r.jsxs("div",{className:"widget-26-job-title",children:[r.jsx(Ne,{to:`/properties/${h.house_id}`,className:"link-primary text-decoration-none",target:"_blank",children:h.address}),r.jsxs("p",{className:"m-0",children:[r.jsxs("span",{className:"employer-name",children:[r.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),h.city,", ",h.county,",",h.state]}),r.jsxs("p",{className:"text-muted m-0",children:["House Id: ",h.house_id]})]})]})}),r.jsx("td",{children:r.jsx("div",{className:"widget-26-job-info",children:r.jsx("p",{className:"m-0",children:h.total_living_sqft})})}),r.jsx("td",{children:r.jsx("div",{className:"widget-26-job-info",children:r.jsx("p",{className:"m-0",children:h.year_built})})}),r.jsx("td",{children:r.jsxs("div",{className:"widget-26-job-salary",children:["$ ",h.cost_per_sqft,"/sqft"]})})]},v)):r.jsx("tr",{children:r.jsx("td",{colSpan:"4",children:"No results found"})})})]})}),r.jsxs("div",{children:[r.jsx("button",{onClick:()=>i(s-1),disabled:s===0||c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Previous"}),r.jsxs("span",{children:[" ","Page ",s+1," of ",b," "]}),r.jsx("button",{onClick:()=>i(s+1),disabled:s+1>=b||c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})]})})})})]}),r.jsx(Ze,{})]})},Ww=()=>r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),"This page will show the list of services offered by the company",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx(Ze,{})]}),Uw=()=>{const{house_id:e}=go();console.log("house_id",e);const[t,n]=S.useState(null),[o,s]=S.useState(!0);return S.useEffect(()=>{(async()=>{try{const a=await ve.get(`http://67.225.129.127:3002/mysql/properties/${e}`);n(a.data)}catch(a){console.log("Error fetching property details:",a)}finally{s(!1)}})()},[e]),r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"container col-12",children:o?r.jsx("div",{className:"loader",children:"Loading..."}):t?r.jsx("div",{className:"py-3 py-md-5 bg-light",children:r.jsxs("div",{className:"card-header bg-white",children:[r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-md-5 mt-3",children:r.jsx("div",{className:"bg-white border",children:r.jsx("img",{src:Yt,className:"w-70",alt:"Img",style:{marginTop:"0px",maxWidth:"450px",maxHeight:"450px"}})})}),r.jsx("div",{className:"col-md-7 mt-3",children:r.jsxs("div",{className:"product-view",children:[r.jsxs("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:[t.address,r.jsx("label",{className:"label-stock bg-success",children:"Verified Property"})]}),r.jsx("hr",{}),r.jsxs("p",{className:"product-path",children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["city:"," "]})," ",t.city," /",r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["County:"," "]})," ",t.county," /",r.jsxs("span",{style:{color:"#fda417",fontSize:"15px"},children:["State:"," "]})," ",t.state," /",r.jsx("span",{style:{color:"#fda417",fontSize:"15px"},children:"Zipcode:"})," ",t.zip]}),r.jsxs("div",{children:[r.jsxs("span",{className:"selling-price",style:{color:"#fda417",fontSize:"15px"},children:["Total Living Square Foot:"," "]}),t.total_living_sqft,r.jsx("p",{}),r.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Cost per Square Foot:"," "]}),"$",t.cost_per_sqft,"/sqft",r.jsx("p",{}),r.jsxs("span",{className:"",style:{color:"#fda417",fontSize:"15px"},children:["Year Built:"," "]}),t.year_built]}),r.jsxs("div",{className:"mt-3 card bg-white",children:[r.jsx("h5",{className:"mb-0",style:{color:"#fda417",fontSize:"15px"},children:"Legal Summary report"}),r.jsx("span",{children:t.legal_summary_report?t.legal_summary_report:"No data available"})]})]})})]}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-md-12 mt-3",children:r.jsxs("div",{className:"card",children:[r.jsx("div",{className:"card-header bg-white",children:r.jsx("h4",{className:"product-name",style:{color:"#fda417",fontSize:"25px"},children:"Description"})}),r.jsx("div",{className:"card-body",children:r.jsx("p",{children:"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."})})]})})})]})}):r.jsx("p",{children:"No property details found."})}),r.jsx(Ze,{})]})},qw=()=>{const{id:e}=go(),t=Ft(),[n,o]=S.useState("propertydetails"),s=()=>{n==="propertydetails"&&o("Images"),n==="Images"&&o("Accounting")},i=()=>{n==="Images"&&o("propertydetails"),n==="Accounting"&&o("Images")},{selectedProperty:a}=Ve(P=>P.property),[l,u]=S.useState({address:"",city:"",state:"",zip:"",propertyTaxInfo:[{propertytaxowned:"0",ownedyear:"0",taxassessed:"0",taxyear:"0"}],images:[{title:"",file:""}],googleMapLink:"",purchaseCost:"0",costPaidAtoB:[{title:"Closing Fees - Settlement Fee",price:"0"},{title:"Closing Fees - Owner's Title Insurance",price:"0"},{title:"Courier Fees",price:"0"},{title:"Wire Fee",price:"0"},{title:"E recording Fee",price:"0"},{title:"Recording Fee",price:"0"},{title:"Property Tax",price:"0"}],renovationRisk:null,turnTime:"",credits:[{title:"Credits",price:"0"}],cashAdjustments:[{title:"Cash Adjustments",price:"0"}],incidentalCost:[{title:"Accounting Fees",price:"0"},{title:"Bank Charges",price:"0"},{title:"Legal Fees",price:"0"},{title:"Property Taxes",price:"0"},{title:"Travel Expenses",price:"0"}],carryCosts:[{title:"Electricity",price:"0"},{title:"Water and Sewer",price:"0"},{title:"Natural Gas",price:"0"},{title:"Trash and Recycling",price:"0"},{title:"Internet and Cable",price:"0"},{title:"Heating Oil/Propane",price:"0"},{title:"HOA fees",price:"0"},{title:"Dump fees",price:"0"},{title:"Insurance",price:"0"},{title:"Interest on Loans",price:"0"},{title:"Loan Payment",price:"0"},{title:"Property Taxes",price:"0"},{title:"Security",price:"0"},{title:"Real Estates fees",price:"0"}],renovationCost:[{title:"Demolition: Removing existing structures or finishes",price:"0"},{title:"Framing: Making structural changes or additions",price:"0"},{title:"Plumbing: Installing or modifying plumbing systems",price:"0"},{title:"Electrical: Updating wiring and fixtures",price:"0"},{title:"HVAC: Installing or upgrading heating and cooling systems",price:"0"},{title:"Insulation: Adding or replacing insulation",price:"0"},{title:"Drywall: Hanging and finishing drywall",price:"0"},{title:"Interior Finishes: Painting, flooring, cabinetry, and fixtures",price:"0"},{title:"Exterior Work: Addressing siding, roofing, or landscaping, if applicable",price:"0"},{title:"Final Inspections: Ensuring everything meets codes",price:"0"},{title:"Punch List: Completing any remaining task",price:"0"}],sellingPriceBtoC:"0",costPaidOutofClosing:[{title:"Buyers Agent Commission",price:"0"},{title:"Sellers Agent Commission",price:"0"},{title:"Home Warranty",price:"0"},{title:"Document Preparation",price:"0"},{title:"Excise Tax",price:"0"},{title:"Legal Fees",price:"0"},{title:"Wire Fees/courier Fees",price:"0"},{title:"County Taxes",price:"0"},{title:"HOA Fee",price:"0"},{title:"Payoff of 1st Mortgage",price:"0"},{title:"Payoff of 2nd Mortgage",price:"0"},{title:"Payoff 3rd Mortgage",price:"0"}],adjustments:[{title:"adjustments",price:"0"}],incomestatement:[{title:"income statement",price:"0"},{title:"income statement",price:"0"}],fundspriortoclosing:"0",shorttermrental:"0",OtherIncome:"0",InsuranceClaim:"0",LongTermRental:"0",FinancingCostClosingCost:"0"}),c=[1,2,3,4,5,6,7,8,9,10];S.useEffect(()=>{t(Go(e))},[t,e]),S.useEffect(()=>{a&&u({address:a.address||"",city:a.city||"",state:a.state||"",zip:a.zip||"",parcel:a.parcel||"",subdivision:a.subdivision||"",legal:a.legal||"",costpersqft:a.costpersqft||"",propertyType:a.propertyType||"",lotacres:a.lotacres||"",yearBuild:a.yearBuild||"",totallivingsqft:a.totallivingsqft||"",beds:a.beds||"",baths:a.baths||"",stories:a.stories||"",garage:a.garage||"",garagesqft:a.garagesqft||"",poolspa:a.poolspa||"",fireplaces:a.fireplaces||"",ac:a.ac||"",heating:a.heating||"",buildingstyle:a.buildingstyle||"",sitevacant:a.sitevacant||"",extwall:a.extwall||"",roofing:a.roofing||"",totalSqft:a.totalSqft||"",renovationRisk:a.renovationRisk,closeDateAtoB:a.closeDateAtoB,closeDateBtoC:a.closeDateBtoC,purchaseCost:a.purchaseCost,costPaidAtoB:a.costPaidAtoB,totalPurchaseCosts:a.totalPurchaseCosts,credits:a.credits,totalPurchaseCostsaftercredits:a.totalPurchaseCostsaftercredits,cashAdjustments:a.cashAdjustments,totalcashrequiredonsettlement:a.totalcashrequiredonsettlement,incidentalCost:a.incidentalCost,carryCosts:a.carryCosts,renovationCost:a.renovationCost,sellingPriceBtoC:a.sellingPriceBtoC,costPaidOutofClosing:a.costPaidOutofClosing,totalCosttoSellBtoC:a.totalCosttoSellBtoC,grossproceedsperHUD:a.grossproceedsperHUD,adjustments:a.adjustments,fundsavailablefordistribution:a.fundsavailablefordistribution,incomestatement:a.incomestatement,fundspriortoclosing:a.fundspriortoclosing,shorttermrental:a.shorttermrental,OtherIncome:a.OtherIncome,InsuranceClaim:a.InsuranceClaim,LongTermRental:a.LongTermRental,netprofitbeforefinancingcosts:a.netprofitbeforefinancingcosts,FinancingCostClosingCost:a.FinancingCostClosingCost,propertyTaxInfo:a.propertyTaxInfo||[{propertytaxowned:"0",ownedyear:"0",taxassessed:"0",taxyear:"0"}],images:a.images||[{title:"",file:""}],googleMapLink:a.googleMapLink,rateofreturn:a.rateofreturn})},[a]);const d=P=>{u({...l,[P.target.name]:P.target.value})},f=(P,_)=>{const{name:p,value:j}=P.target,w=[...l.propertyTaxInfo],M={...w[_]};M[p]=j,w[_]=M,u({...l,propertyTaxInfo:w})},g=P=>{P.preventDefault();const _=$(),p=D(),j=U(),w=F(),M=W(),q=ne(),X=Me(),ae=Ke(),Ms=Gn(),tl=Jt(),nl=vn(),rl=$t(),ol=$t(),sl=No(),il=Fs(),al=Jn(),ll=Zt(),cl=Sr(),ul=bo(),dl={...l,totalPurchaseCosts:_.toFixed(2),totalcredits:p.toFixed(2),totalPurchaseCostsaftercredits:j.toFixed(2),totalcashAdjustments:w.toFixed(2),totalcashrequiredonsettlement:M.toFixed(2),totalincidentalCost:q.toFixed(2),totalcarryCosts:X.toFixed(2),totalrenovationCost:ae.toFixed(2),totalRenovationsandHoldingCost:Ms.toFixed(2),totalCoststoBuyAtoB:tl.toFixed(2),totalcostPaidOutofClosing:nl.toFixed(2),totalCosttoSellBtoC:rl.toFixed(2),grossproceedsperHUD:ol.toFixed(2),totaladjustments:sl.toFixed(2),fundsavailablefordistribution:il.toFixed(2),totalincomestatement:al.toFixed(2),netBtoCsalevalue:ll.toFixed(2),netprofitbeforefinancingcosts:cl.toFixed(2),netprofit:ul.toFixed(2)};t(Pi({id:e,propertyData:dl}))},C=()=>{u({...l,propertyTaxInfo:[...l.propertyTaxInfo,{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}]})},x=P=>{const _=l.propertyTaxInfo.filter((p,j)=>j!==P);u({...l,propertyTaxInfo:_})},N=(P,_)=>{const p=[...l.images];p[_]={...p[_],file:P.base64},u({...l,images:p})},b=()=>{u({...l,images:[...l.images,{title:"",file:""}]})},h=P=>{const _=l.images.filter((p,j)=>j!==P);u({...l,images:_})},v=(P,_)=>{const p=[...l.images];p[P]={...p[P],title:_.target.value},u({...l,images:p})};S.useEffect(()=>{E(l.closeDateAtoB,l.closeDateBtoC)},[l.closeDateAtoB,l.closeDateBtoC]);const[m,y]=S.useState("0 days"),E=(P,_)=>{if(P&&_){const p=new Date(P),j=new Date(_),w=Math.abs(j-p),M=Math.ceil(w/(1e3*60*60*24));y(`${M} days`)}else y("0 days")},k=()=>{u(P=>({...P,costPaidAtoB:[...P.costPaidAtoB,{title:"",price:""}]}))},T=P=>{const _=l.costPaidAtoB.filter((p,j)=>j!==P);u(p=>({...p,costPaidAtoB:_}))},O=(P,_,p)=>{const j=[...l.costPaidAtoB];j[P][_]=p,u(w=>({...w,costPaidAtoB:j}))},B=(P,_)=>{let p=P.target.value;if(p=p.replace(/^\$/,"").trim(),/^\d*\.?\d*$/.test(p)||p===""){const w=l.costPaidAtoB.map((M,q)=>q===_?{...M,price:p,isInvalid:!1}:M);u({...l,costPaidAtoB:w})}else{const w=l.costPaidAtoB.map((M,q)=>q===_?{...M,isInvalid:!0}:M);u({...l,costPaidAtoB:w})}},$=()=>{const P=l.costPaidAtoB.reduce((p,j)=>{const w=parseFloat(j.price)||0;return p+w},0),_=parseFloat(l.purchaseCost)||0;return P+_},H=()=>{u(P=>({...P,credits:[...P.credits,{title:"",price:""}]}))},te=P=>{const _=l.credits.filter((p,j)=>j!==P);u(p=>({...p,credits:_}))},Q=(P,_,p)=>{const j=[...l.credits];j[P][_]=p,u(w=>({...w,credits:j}))},Z=(P,_)=>{const p=P.target.value;if(/^\d*\.?\d*$/.test(p)||p===""){const w=l.credits.map((M,q)=>q===_?{...M,price:p,isInvalid:!1}:M);u({...l,credits:w})}else{const w=l.credits.map((M,q)=>q===_?{...M,isInvalid:!0}:M);u({...l,credits:w})}},D=()=>l.credits.reduce((P,_)=>{const p=parseFloat(_.price);return P+(isNaN(p)?0:p)},0),U=()=>{const P=l.costPaidAtoB.reduce((j,w)=>{const M=parseFloat(w.price)||0;return j+M},0),_=l.credits.reduce((j,w)=>{const M=parseFloat(w.price)||0;return j+M},0),p=parseFloat(l.purchaseCost)||0;return P+_+p},G=()=>{u(P=>({...P,cashAdjustments:[...P.cashAdjustments,{title:"",price:""}]}))},R=P=>{const _=l.cashAdjustments.filter((p,j)=>j!==P);u(p=>({...p,cashAdjustments:_}))},A=(P,_,p)=>{const j=[...l.cashAdjustments];j[P][_]=p,u(w=>({...w,cashAdjustments:j}))},L=(P,_)=>{const p=P.target.value;if(/^\d*\.?\d*$/.test(p)||p===""){const w=l.cashAdjustments.map((M,q)=>q===_?{...M,price:p,isInvalid:!1}:M);u({...l,cashAdjustments:w})}else{const w=l.cashAdjustments.map((M,q)=>q===_?{...M,isInvalid:!0}:M);u({...l,cashAdjustments:w})}},F=()=>l.cashAdjustments.reduce((P,_)=>{const p=parseFloat(_.price);return P+(isNaN(p)?0:p)},0),W=()=>{const P=F(),_=D(),p=$();return P+_+p},K=()=>{u(P=>({...P,incidentalCost:[...P.incidentalCost,{title:"",price:""}]}))},Y=P=>{const _=l.incidentalCost.filter((p,j)=>j!==P);u(p=>({...p,incidentalCost:_}))},ee=(P,_,p)=>{const j=[...l.incidentalCost];j[P][_]=p,u(w=>({...w,incidentalCost:j}))},re=(P,_)=>{const p=P.target.value;if(/^\d*\.?\d*$/.test(p)||p===""){const w=l.incidentalCost.map((M,q)=>q===_?{...M,price:p,isInvalid:!1}:M);u({...l,incidentalCost:w})}else{const w=l.incidentalCost.map((M,q)=>q===_?{...M,isInvalid:!0}:M);u({...l,incidentalCost:w})}},ne=()=>l.incidentalCost.reduce((P,_)=>{const p=parseFloat(_.price);return P+(isNaN(p)?0:p)},0),oe=()=>{u(P=>({...P,carryCosts:[...P.carryCosts,{title:"",price:""}]}))},ie=P=>{const _=l.carryCosts.filter((p,j)=>j!==P);u(p=>({...p,carryCosts:_}))},ce=(P,_,p)=>{const j=[...l.carryCosts];j[P][_]=p,u(w=>({...w,carryCosts:j}))},he=(P,_)=>{const p=P.target.value;if(/^\d*\.?\d*$/.test(p)||p===""){const w=l.carryCosts.map((M,q)=>q===_?{...M,price:p,isInvalid:!1}:M);u({...l,carryCosts:w})}else{const w=l.carryCosts.map((M,q)=>q===_?{...M,isInvalid:!0}:M);u({...l,carryCosts:w})}},Me=()=>l.carryCosts.reduce((P,_)=>{const p=parseFloat(_.price);return P+(isNaN(p)?0:p)},0),yt=()=>{u(P=>({...P,renovationCost:[...P.renovationCost,{title:"",price:""}]}))},Lt=P=>{const _=l.renovationCost.filter((p,j)=>j!==P);u(p=>({...p,renovationCost:_}))},pe=(P,_,p)=>{const j=[...l.renovationCost];j[P][_]=p,u(w=>({...w,renovationCost:j}))},Bt=(P,_)=>{const p=P.target.value;if(/^\d*\.?\d*$/.test(p)||p===""){const w=l.renovationCost.map((M,q)=>q===_?{...M,price:p,isInvalid:!1}:M);u({...l,renovationCost:w})}else{const w=l.renovationCost.map((M,q)=>q===_?{...M,isInvalid:!0}:M);u({...l,renovationCost:w})}},Ke=()=>l.renovationCost.reduce((P,_)=>{const p=parseFloat(_.price);return P+(isNaN(p)?0:p)},0),Gn=()=>{const P=ne(),_=Me(),p=Ke();return P+_+p},Jt=()=>{const P=Gn(),_=W();return P+_},yo=()=>{u(P=>({...P,costPaidOutofClosing:[...P.costPaidOutofClosing,{title:"",price:""}]}))},jo=P=>{const _=l.costPaidOutofClosing.filter((p,j)=>j!==P);u(p=>({...p,costPaidOutofClosing:_}))},Qn=(P,_,p)=>{const j=[...l.costPaidOutofClosing];j[P][_]=p,u(w=>({...w,costPaidOutofClosing:j}))},zt=(P,_)=>{const p=P.target.value;if(/^\d*\.?\d*$/.test(p)||p===""){const w=l.costPaidOutofClosing.map((M,q)=>q===_?{...M,price:p,isInvalid:!1}:M);u({...l,costPaidOutofClosing:w})}else{const w=l.costPaidOutofClosing.map((M,q)=>q===_?{...M,isInvalid:!0}:M);u({...l,costPaidOutofClosing:w})}},vn=()=>l.costPaidOutofClosing.reduce((P,_)=>{const p=parseFloat(_.price);return P+(isNaN(p)?0:p)},0),$t=()=>{const P=l.sellingPriceBtoC,_=vn();return P-_},de=()=>{u(P=>({...P,adjustments:[...P.adjustments,{title:"",price:""}]}))},Wt=P=>{const _=l.adjustments.filter((p,j)=>j!==P);u(p=>({...p,adjustments:_}))},gn=(P,_,p)=>{const j=[...l.adjustments];j[P][_]=p,u(w=>({...w,adjustments:j}))},Ds=(P,_)=>{const p=P.target.value;if(/^\d*\.?\d*$/.test(p)||p===""){const w=l.adjustments.map((M,q)=>q===_?{...M,price:p,isInvalid:!1}:M);u({...l,adjustments:w})}else{const w=l.adjustments.map((M,q)=>q===_?{...M,isInvalid:!0}:M);u({...l,adjustments:w})}},No=()=>l.adjustments.reduce((P,_)=>{const p=parseFloat(_.price);return P+(isNaN(p)?0:p)},0),Fs=()=>{const P=$t(),_=No();return P+_},Ja=()=>{u(P=>({...P,incomestatement:[...P.incomestatement,{title:"",price:""}]}))},Za=P=>{const _=l.incomestatement.filter((p,j)=>j!==P);u(p=>({...p,incomestatement:_}))},Co=(P,_,p)=>{const j=[...l.incomestatement];j[P][_]=p,u(w=>({...w,incomestatement:j}))},Xn=(P,_)=>{const p=P.target.value;if(/^\d*\.?\d*$/.test(p)||p===""){const w=l.incomestatement.map((M,q)=>q===_?{...M,price:p,isInvalid:!1}:M);u({...l,incomestatement:w})}else{const w=l.incomestatement.map((M,q)=>q===_?{...M,isInvalid:!0}:M);u({...l,incomestatement:w})}},Jn=()=>l.incomestatement.reduce((P,_)=>{const p=parseFloat(_.price);return P+(isNaN(p)?0:p)},0),Zt=()=>{const P=Jn(),_=$t();return P+_},Sr=()=>{const P=isNaN(parseFloat(Zt()))?0:parseFloat(Zt()),_=isNaN(parseFloat(l.shorttermrental))?0:parseFloat(l.shorttermrental),p=isNaN(parseFloat(l.OtherIncome))?0:parseFloat(l.OtherIncome),j=isNaN(parseFloat(l.InsuranceClaim))?0:parseFloat(l.InsuranceClaim),w=isNaN(parseFloat(l.LongTermRental))?0:parseFloat(l.LongTermRental),M=isNaN(parseFloat(Jt()))?0:parseFloat(Jt());return P+_+p+j+w-M},bo=()=>{const P=Sr(),_=l.FinancingCostClosingCost;return P-_},el=()=>bo();return r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"card d-flex justify-content-center align-items-center",children:r.jsxs("div",{className:"justify-content-center",children:[r.jsxs("ul",{className:"nav nav-tabs",role:"tablist",children:[r.jsx("li",{role:"presentation",className:n==="propertydetails"?"active tab":"tab",children:r.jsx("a",{onClick:()=>o("propertydetails"),role:"tab",children:"Property Details"})}),r.jsx("li",{role:"presentation",className:n==="Images"?"active tab":"tab",children:r.jsx("a",{onClick:()=>o("Images"),role:"tab",children:"Images, Maps"})}),r.jsx("li",{role:"presentation",className:n==="Accounting"?"active tab":"tab",children:r.jsx("a",{onClick:()=>o("Accounting"),role:"tab",children:"Accounting"})})]}),r.jsxs("div",{className:"tab-content",children:[n==="propertydetails"&&r.jsxs("div",{role:"tabpanel",className:"card tab-pane active",children:[r.jsxs("form",{children:[r.jsx("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Property Location"}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Property Address",r.jsx("input",{type:"text",className:"form-control",name:"address",value:l.address,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["City",r.jsx("input",{type:"text",className:"form-control",name:"city",value:l.city,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["State",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"state",value:l.state,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Alaska",children:"Alaska"}),r.jsx("option",{value:"Alabama",children:"Alabama"}),r.jsx("option",{value:"Arkansas",children:"Arkansas"}),r.jsx("option",{value:"Arizona",children:"Arizona"}),r.jsx("option",{value:"California",children:"California"}),r.jsx("option",{value:"Colorado",children:"Colorado"}),r.jsx("option",{value:"Connecticut",children:"Connecticut"}),r.jsx("option",{value:"District Of Columbia",children:"District Of Columbia"}),r.jsx("option",{value:"Delaware",children:"Delaware"}),r.jsx("option",{value:"Florida",children:"Florida"}),r.jsx("option",{value:"Georgia",children:"Georgia"}),r.jsx("option",{value:"Hawaii",children:"Hawaii"}),r.jsx("option",{value:"Iowa",children:"Iowa"}),r.jsx("option",{value:"Idaho",children:"Idaho"}),r.jsx("option",{value:"Illinois",children:"Illinois"}),r.jsx("option",{value:"Indiana",children:"Indiana"}),r.jsx("option",{value:"Kansas",children:"Kansas"}),r.jsx("option",{value:"Kentucky",children:"Kentucky"}),r.jsx("option",{value:"Louisiana",children:"Louisiana"}),r.jsx("option",{value:"Massachusetts",children:"Massachusetts"}),r.jsx("option",{value:"Maryland",children:"Maryland"}),r.jsx("option",{value:"Michigan",children:"Michigan"}),r.jsx("option",{value:"Minnesota",children:"Minnesota"}),r.jsx("option",{value:"Missouri",children:"Missouri"}),r.jsx("option",{value:"Mississippi",children:"Mississippi"}),r.jsx("option",{value:"Montana",children:"Montana"}),r.jsx("option",{value:"North Carolina",children:"North Carolina"}),r.jsx("option",{value:"North Dakota",children:"North Dakota"}),r.jsx("option",{value:"Nebraska",children:"Nebraska"}),r.jsx("option",{value:"New Hampshire",children:"New Hampshire"}),r.jsx("option",{value:"New Jersey",children:"New Jersey"}),r.jsx("option",{value:"New Mexico",children:"New Mexico"}),r.jsx("option",{value:"Nevada",children:"Nevada"}),r.jsx("option",{value:"New York",children:"New York"}),r.jsx("option",{value:"Ohio",children:"Ohio"}),r.jsx("option",{value:"Oklahoma",children:"Oklahoma"}),r.jsx("option",{value:"Oregon",children:"Oregon"}),r.jsx("option",{value:"Pennsylvania",children:"Pennsylvania"}),r.jsx("option",{value:"Rhode Island",children:"Rhode Island"}),r.jsx("option",{value:"South Carolina",children:"South Carolina"}),r.jsx("option",{value:"South Dakota",children:"South Dakota"}),r.jsx("option",{value:"Tennessee",children:"Tennessee"}),r.jsx("option",{value:"Texas",children:"Texas"}),r.jsx("option",{value:"Texas",children:"Travis"}),r.jsx("option",{value:"Utah",children:"Utah"}),r.jsx("option",{value:"Virginia",children:"Virginia"}),r.jsx("option",{value:"Vermont",children:"Vermont"}),r.jsx("option",{value:"Washington",children:"Washington"}),r.jsx("option",{value:"Wisconsin",children:"Wisconsin"}),r.jsx("option",{value:"West Virginia",children:"West Virginia"}),r.jsx("option",{value:"Wyoming",children:"Wyoming"})]})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["County",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"county",value:l.county,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Abbeville",children:"Abbeville"}),r.jsx("option",{value:"Aiken",children:"Aiken"}),r.jsx("option",{value:"Allendale",children:"Allendale"}),r.jsx("option",{value:"Anderson",children:"Anderson"}),r.jsx("option",{value:"Bamberg",children:"Bamberg"}),r.jsx("option",{value:"Barnwell",children:"Barnwell"}),r.jsx("option",{value:"Beaufort",children:"Beaufort"}),r.jsx("option",{value:"Berkeley",children:"Berkeley"}),r.jsx("option",{value:"Calhoun",children:"Calhoun"}),r.jsx("option",{value:"Charleston",children:"Charleston"}),r.jsx("option",{value:"Cherokee",children:"Cherokee"}),r.jsx("option",{value:"Chester",children:"Chester"}),r.jsx("option",{value:"Chesterfield",children:"Chesterfield"}),r.jsx("option",{value:"Clarendon",children:"Clarendon"}),r.jsx("option",{value:"Colleton",children:"Colleton"}),r.jsx("option",{value:"Darlington",children:"Darlington"}),r.jsx("option",{value:"Dillon",children:"Dillon"}),r.jsx("option",{value:"Dorchester",children:"Dorchester"}),r.jsx("option",{value:"Edgefield",children:"Edgefield"}),r.jsx("option",{value:"Fairfield",children:"Fairfield"}),r.jsx("option",{value:"Florence",children:"Florence"}),r.jsx("option",{value:"Georgetown",children:"Georgetown"}),r.jsx("option",{value:"Greenville",children:"Greenville"}),r.jsx("option",{value:"Greenwood",children:"Greenwood"}),r.jsx("option",{value:"Hampton",children:"Hampton"}),r.jsx("option",{value:"Horry",children:"Horry"}),r.jsx("option",{value:"Jasper",children:"Jasper"}),r.jsx("option",{value:"Kershaw",children:"Kershaw"}),r.jsx("option",{value:"Lancaster",children:"Lancaster"}),r.jsx("option",{value:"Laurens",children:"Laurens"}),r.jsx("option",{value:"Lee",children:"Lee"}),r.jsx("option",{value:"Lexington",children:"Lexington"}),r.jsx("option",{value:"Marion",children:"Marion"}),r.jsx("option",{value:"Marlboro",children:"Marlboro"}),r.jsx("option",{value:"McCormick",children:"McCormick"}),r.jsx("option",{value:"Newberry",children:"Newberry"}),r.jsx("option",{value:"Oconee",children:"Oconee"}),r.jsx("option",{value:"Orangeburg",children:"Orangeburg"}),r.jsx("option",{value:"Pickens",children:"Pickens"}),r.jsx("option",{value:"Richland",children:"Richland"}),r.jsx("option",{value:"Saluda",children:"Saluda"}),r.jsx("option",{value:"Spartanburg",children:"Spartanburg"}),r.jsx("option",{value:"Sumter",children:"Sumter"}),r.jsx("option",{value:"Union",children:"Union"}),r.jsx("option",{value:"Williamsburg",children:"Williamsburg"}),r.jsx("option",{value:"York",children:"York"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Zip",r.jsx("input",{type:"text",className:"form-control",name:"zip",value:l.zip,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Parcel",r.jsx("input",{type:"text",className:"form-control",name:"parcel",value:l.parcel,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Sub division",r.jsx("input",{type:"text",className:"form-control",name:"subdivision",value:l.subdivision,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Legal Description",r.jsx("textarea",{type:"text",className:"form-control",name:"legal",value:l.legal,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Cost per SQFT",r.jsx("input",{type:"text",className:"form-control",name:"costpersqft",value:l.costpersqft,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Property Type",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"propertyType",value:l.propertyType,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"Residential",children:"Residential"}),r.jsx("option",{value:"Land",children:"Land"}),r.jsx("option",{value:"Commercial",children:"Commercial"}),r.jsx("option",{value:"Industrial",children:"Industrial"}),r.jsx("option",{value:"Water",children:"Water"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Lot Acres/Sqft",r.jsx("input",{type:"text",className:"form-control",name:"lotacres",value:l.lotacres,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Year Build",r.jsx("input",{type:"text",className:"form-control",name:"yearBuild",value:l.yearBuild,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Total Living SQFT",r.jsx("input",{type:"text",className:"form-control",name:"totallivingsqft",value:l.totallivingsqft,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Beds",r.jsx("input",{type:"text",className:"form-control",name:"beds",value:l.beds,onChange:d,required:!0})]})}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Baths",r.jsx("input",{type:"text",className:"form-control",name:"baths",value:l.baths,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Stories",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"stories",value:l.stories,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"0",children:"0"}),r.jsx("option",{value:"1",children:"1"}),r.jsx("option",{value:"2",children:"2"}),r.jsx("option",{value:"3",children:"3"}),r.jsx("option",{value:"4",children:"4"}),r.jsx("option",{value:"5",children:"5"}),r.jsx("option",{value:"6",children:"6"}),r.jsx("option",{value:"7",children:"7"}),r.jsx("option",{value:"8",children:"8"}),r.jsx("option",{value:"9",children:"9"}),r.jsx("option",{value:"10",children:"10"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Garage",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"garage",value:l.garage,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"0",children:"0"}),r.jsx("option",{value:"1",children:"1"}),r.jsx("option",{value:"2",children:"2"}),r.jsx("option",{value:"3",children:"3"}),r.jsx("option",{value:"4",children:"4"}),r.jsx("option",{value:"5",children:"5"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Garage SQFT",r.jsx("input",{type:"text",className:"form-control",name:"garagesqft",value:l.garagesqft,onChange:d,required:!0})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Pool/SPA",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"poolspa",value:l.poolspa,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Yes- Pool Only",children:"Yes- Pool Only"}),r.jsx("option",{value:"Yes- SPA only",children:"Yes- SPA only"}),r.jsx("option",{value:"Yes - Both Pool and SPA",children:"Yes - Both Pool and SPA"}),r.jsx("option",{value:"4",children:"None"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Fire places",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"fireplaces",value:l.fireplaces,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"yes",children:"Yes"}),r.jsx("option",{value:"no",children:"No"})]})]}),r.jsxs("div",{className:"col-md-4",children:["A/C",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"ac",value:l.ac,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Central",children:"Central"}),r.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),r.jsx("option",{value:"Warm Air",children:"Warm Air"}),r.jsx("option",{value:"Forced Air",children:"Forced Air"}),r.jsx("option",{value:"Gas",children:"Gas"})]})]})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Heating",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"heating",value:l.heating,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Central",children:"Central"}),r.jsx("option",{value:"Heat Pump",children:"Heat Pump"}),r.jsx("option",{value:"Warm Air",children:"Warm Air"}),r.jsx("option",{value:"Forced Air",children:"Forced Air"}),r.jsx("option",{value:"Gas",children:"Gas"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Building Style",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"buildingstyle",value:l.buildingstyle,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"One Story",children:"One Story"}),r.jsx("option",{value:"Craftsman",children:"Craftsman"}),r.jsx("option",{value:"Log/Cabin",children:"Log/Cabin"}),r.jsx("option",{value:"Split-Level",children:"Split-Level"}),r.jsx("option",{value:"Split-Foyer",children:"Split-Foyer"}),r.jsx("option",{value:"Stick Built",children:"Stick Built"}),r.jsx("option",{value:"Single wide",children:"Single wide"}),r.jsx("option",{value:"Double wide",children:"Double wide"}),r.jsx("option",{value:"Duplex",children:"Duplex"}),r.jsx("option",{value:"Triplex",children:"Triplex"}),r.jsx("option",{value:"Quadruplex",children:"Quadruplex"}),r.jsx("option",{value:"Two Story",children:"Two Story"}),r.jsx("option",{value:"Victorian",children:"Victorian"}),r.jsx("option",{value:"Tudor",children:"Tudor"}),r.jsx("option",{value:"Modern",children:"Modern"}),r.jsx("option",{value:"Art Deco",children:"Art Deco"}),r.jsx("option",{value:"Bungalow",children:"Bungalow"}),r.jsx("option",{value:"Mansion",children:"Mansion"}),r.jsx("option",{value:"Farmhouse",children:"Farmhouse"}),r.jsx("option",{value:"Conventional",children:"Conventional"}),r.jsx("option",{value:"Ranch",children:"Ranch"}),r.jsx("option",{value:"Ranch with Basement",children:"Ranch with Basement"}),r.jsx("option",{value:"Cape Cod",children:"Cape Cod"}),r.jsx("option",{value:"Contemporary",children:"Contemporary"}),r.jsx("option",{value:"Colonial",children:"Colonial"}),r.jsx("option",{value:"Mediterranean",children:"Mediterranean"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Site Vacant",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"sitevacant",value:l.sitevacant,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please select"}),r.jsx("option",{value:"Yes",children:"Yes"}),r.jsx("option",{value:"No",children:"No"})]})]})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsxs("div",{className:"col-md-4",children:["Ext Wall",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"extwall",value:l.extwall,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Brick",children:"Brick"}),r.jsx("option",{value:"Brick/Vinyl Siding",children:"Brick/Vinyl Siding"}),r.jsx("option",{value:"Wood/Vinyl Siding",children:"Wood/Vinyl Siding"}),r.jsx("option",{value:"Brick/Wood Siding",children:"Brick/Wood Siding"}),r.jsx("option",{value:"Stone",children:"Stone"}),r.jsx("option",{value:"Masonry",children:"Masonry"}),r.jsx("option",{value:"Metal",children:"Metal"}),r.jsx("option",{value:"Fiberboard",children:"Fiberboard"}),r.jsx("option",{value:"Asphalt Siding",children:"Asphalt Siding"}),r.jsx("option",{value:"Concrete Block",children:"Concrete Block"}),r.jsx("option",{value:"Gable",children:"Gable"}),r.jsx("option",{value:"Brick Veneer",children:"Brick Veneer"}),r.jsx("option",{value:"Frame",children:"Frame"}),r.jsx("option",{value:"Siding",children:"Siding"}),r.jsx("option",{value:"Cement/Wood Fiber Siding",children:"Cement/Wood Fiber Siding"}),r.jsx("option",{value:"Fiber/Cement Siding",children:"Fiber/Cement Siding"}),r.jsx("option",{value:"Wood Siding",children:"Wood Siding"}),r.jsx("option",{value:"Vinyl Siding",children:"Vinyl Siding"}),r.jsx("option",{value:"Aluminium Siding",children:"Aluminium Siding"}),r.jsx("option",{value:"Wood/Vinyl Siding",children:"Alum/Vinyl Siding"})]})]}),r.jsxs("div",{className:"col-md-4",children:["Roofing",r.jsxs("select",{className:"form-floating mb-3 form-control",name:"roofing",value:l.roofing,onChange:d,required:!0,children:[r.jsx("option",{value:"",children:"Please Select"}),r.jsx("option",{value:"N/A",children:"N/A"}),r.jsx("option",{value:"Asphalt Shingle",children:"Asphalt Shingle"}),r.jsx("option",{value:"Green Roofs",children:"Green Roofs"}),r.jsx("option",{value:"Built-up Roofing",children:"Built-up Roofing"}),r.jsx("option",{value:"Composition Shingle",children:"Composition Shingle"}),r.jsx("option",{value:"Composition Shingle Heavy",children:"Composition Shingle Heavy"}),r.jsx("option",{value:"Solar tiles",children:"Solar tiles"}),r.jsx("option",{value:"Metal",children:"Metal"}),r.jsx("option",{value:"Stone-coated steel",children:"Stone-coated steel"}),r.jsx("option",{value:"Slate",children:"Slate"}),r.jsx("option",{value:"Rubber Slate",children:"Rubber Slate"}),r.jsx("option",{value:"Clay and Concrete tiles",children:"Clay and Concrete tiles"})]})]}),r.jsx("div",{className:"col-md-4",children:r.jsxs("div",{className:"form-floating mb-3",children:["Total SQFT",r.jsx("input",{type:"text",className:"form-control",name:"totalSqft",value:l.totalSqft,onChange:d,required:!0})]})})]}),r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:[r.jsx("br",{}),"Property Tax Information"]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),l.propertyTaxInfo&&l.propertyTaxInfo.map((P,_)=>r.jsxs("div",{className:"row gy-4",children:[r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"form-floating mb-3",children:["Property Tax Owned",r.jsx("input",{type:"text",className:"form-control",name:"propertytaxowned",value:P.propertytaxowned,onChange:p=>f(p,_),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Owned Year",r.jsx("input",{type:"text",className:"form-control",name:"ownedyear",value:P.ownedyear,onChange:p=>f(p,_),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Tax Assessed",r.jsx("input",{type:"text",className:"form-control",name:"taxassessed",value:P.taxassessed,onChange:p=>f(p,_),required:!0})]})}),r.jsx("div",{className:"col-md-2",children:r.jsxs("div",{className:"form-floating mb-2",children:["Tax Year",r.jsx("input",{type:"text",className:"form-control",name:"taxyear",value:P.taxyear,onChange:p=>f(p,_),required:!0})]})}),r.jsx("div",{className:"col-md-3",children:r.jsxs("div",{className:"form-floating mb-2",children:[r.jsx("br",{}),r.jsx("button",{className:"btn btn-danger",onClick:()=>x(_),style:{height:"25px",width:"35px"},children:"X"})]})})]},_)),r.jsx("button",{className:"btn btn-secondary",onClick:C,children:"+ Add Another Property Tax Info"})]}),r.jsx("button",{className:"btn btn-primary continue",onClick:s,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),n==="Images"&&r.jsxs("div",{role:"tabpanel",className:"card tab-pane active",children:[r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Upload Images"," "]}),r.jsxs("form",{children:[r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),l.images.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,placeholder:"Image Title",onChange:p=>v(_,p)})}),r.jsxs("div",{className:"col-md-4 d-flex align-items-center",children:[r.jsx(jd,{multiple:!1,onDone:p=>N(p,_)}),r.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>h(_),style:{marginLeft:"5px"},children:"Delete"})]}),P.file&&r.jsx("div",{className:"col-md-12",children:r.jsx("img",{src:P.file,alt:"uploaded",style:{width:"150px",height:"150px"}})})]},_)),r.jsx("button",{type:"button",className:"btn btn-primary",onClick:b,style:{backgroundColor:"#fda417",border:"#fda417"},children:"+ Add Image"}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"mb-3",children:[r.jsx("label",{htmlFor:"googleMapLink",className:"form-label",children:r.jsxs("h3",{style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:["Google Maps Link"," "]})}),r.jsx("input",{type:"text",className:"form-control",name:"googleMapLink",value:l.googleMapLink,onChange:d,placeholder:"Enter Google Maps link"})]}),l.googleMapLink&&r.jsx("iframe",{title:"Google Map",width:"100%",height:"300",src:`https://www.google.com/maps/embed/v1/view?key=YOUR_API_KEY¢er=${l.googleMapLink}&zoom=10`,frameBorder:"0",allowFullScreen:!0})]}),r.jsx("button",{className:"btn btn-primary back",onClick:i,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{className:"btn btn-primary continue",onClick:s,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Continue"})]}),n==="Accounting"&&r.jsxs("div",{className:"card",style:{color:"#fda417",border:"1px solid #fda417",padding:"10px",borderRadius:"8px"},children:[r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 col-16",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Close Date A to B",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"date",className:"form-control",name:"closeDateAtoB",value:l.closeDateAtoB,onChange:P=>{const _=P.target.value;u({...l,closeDateAtoB:_}),E(_,l.closeDateBtoC)},placeholder:"Close Date A to B",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:["[M-D-Y]"," "]}),":"," ",r.jsx("span",{style:{color:"#000000",fontSize:"14px",fontWeight:"normal"},children:new Date(l.closeDateAtoB).toLocaleDateString("en-US",{month:"numeric",day:"numeric",year:"numeric"})})]})})]}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Close Date B to C",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"date",className:"form-control",name:"closeDateBtoC",value:l.closeDateBtoC,onChange:P=>{const _=P.target.value;u({...l,closeDateBtoC:_}),E(l.closeDateAtoB,_)},placeholder:"Close Date B to C",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsxs("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:["[M-D-Y] :"," "]}),r.jsx("span",{style:{color:"#000000",fontSize:"14px",fontWeight:"normal"},children:new Date(l.closeDateBtoC).toLocaleDateString("en-US",{month:"numeric",day:"numeric",year:"numeric"})})]})})]}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Renovation Risk"}),r.jsx("div",{className:"col-md-7",children:c.map(P=>r.jsxs("div",{className:"form-check form-check-inline",children:[r.jsx("input",{className:"form-check-input",type:"radio",name:"renovationRisk",id:`renovationRisk${P}`,value:P,checked:l.renovationRisk===P,onChange:_=>{const p=parseInt(_.target.value,10);u({...l,renovationRisk:p})}}),r.jsx("label",{className:"form-check-label",htmlFor:`renovationRisk${P}`,children:P})]},P))})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Rate of Return"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"rateofreturn",value:`$ ${el().toFixed(2)}`,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Turn Time"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:m,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Purchase Price"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:`$ ${l.purchaseCost}`,name:"purchaseCost",onChange:P=>{let _=P.target.value.replace(/[^\d.]/g,"");const p=/^\d*\.?\d*$/.test(_);u({...l,purchaseCost:_,isPurchaseCostInvalid:!p})},onKeyPress:P=>{const _=P.charCode;(_<48||_>57)&&_!==46&&(P.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},placeholder:"Enter Purchase Cost",style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Costs paid out of Closing Hud A to B:"}),l.costPaidAtoB.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,onChange:p=>O(_,"title",p.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${P.isInvalid?"is-invalid":""}`,value:`$ ${P.price}`,onChange:p=>B(p,_),placeholder:"Price",style:{textAlign:"right"},required:!0}),P.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>T(_),style:{marginLeft:"5px"},children:"x"})})]},_)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{onClick:k,className:"btn btn-primary back",style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Extra Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Purchase Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalPurchaseCosts",value:`$ ${$().toFixed(2)}`,readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Credits received on settlement:"}),l.credits.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,onChange:p=>Q(_,"title",p.target.value),placeholder:"credits",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${P.isInvalid?"is-invalid":""}`,value:P.price,onChange:p=>Z(p,_),placeholder:"Price",style:{textAlign:"right"},required:!0}),P.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>te(_),style:{marginLeft:"5px"},children:"x"})})]},_)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:H,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add credits"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total credits received on settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcredits",value:D(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Purchase Cost after Credits Received"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalPurchaseCostsaftercredits",value:U(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Cash Adjustments:"}),l.cashAdjustments.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,onChange:p=>A(_,"title",p.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${P.isInvalid?"is-invalid":""}`,value:P.price,onChange:p=>L(p,_),placeholder:"Price",style:{textAlign:"right"},required:!0}),P.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>R(_),style:{marginLeft:"5px"},children:"x"})})]},_)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:G,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Cash Adjustments"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cash Adjustments on Settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcashAdjustments",value:F(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cash Required on Settlement"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcashrequiredonsettlement",value:W(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Incidental Cost:"}),l.incidentalCost.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,onChange:p=>ee(_,"title",p.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${P.isInvalid?"is-invalid":""}`,value:P.price,onChange:p=>re(p,_),placeholder:"Price",style:{textAlign:"right"},required:!0}),P.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>Y(_),style:{marginLeft:"5px"},children:"x"})})]},_)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:K,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Incidental Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Incidental Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalincidentalCost",value:ne(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Carry Costs:"}),l.carryCosts.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,onChange:p=>ce(_,"title",p.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${P.isInvalid?"is-invalid":""}`,value:P.price,onChange:p=>he(p,_),placeholder:"Price",style:{textAlign:"right"},required:!0}),P.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>ie(_),style:{marginLeft:"5px"},children:"x"})})]},_)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:oe,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Carry Cost"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Carry Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcarryCosts",value:Me(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Reno/Construction"}),l.renovationCost.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,onChange:p=>pe(_,"title",p.target.value),placeholder:"Title",required:!0,style:{fontSize:"10px"}})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${P.isInvalid?"is-invalid":""}`,value:P.price,onChange:p=>Bt(p,_),placeholder:"Price",style:{textAlign:"right"},required:!0}),P.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>Lt(_),style:{marginLeft:"5px"},children:"x"})})]},_)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:yt,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Reno/Construction"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Renovation Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalrenovationCost",value:Ke(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Renovations & Holding Cost"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalRenovationsandHoldingCost",value:Gn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Costs to Buy A to B"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:"form-control",name:"totalCoststoBuyAtoB",value:Jt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0}),l.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Selling Price B to C"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,name:"sellingPriceBtoC",value:l.sellingPriceBtoC,onChange:P=>{const _=P.target.value,p=/^\d*\.?\d*$/.test(_);u({...l,sellingPriceBtoC:_,isPurchaseCostInvalid:!p})},onKeyPress:P=>{const _=P.charCode;(_<48||_>57)&&_!==46&&(P.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},placeholder:"Enter Purchase Cost",style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Less:Costs paid out of closing Hud B to C:"}),l.costPaidOutofClosing.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,onChange:p=>Qn(_,"title",p.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${P.isInvalid?"is-invalid":""}`,value:P.price,onChange:p=>zt(p,_),placeholder:"Price",style:{textAlign:"right"},required:!0}),P.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>jo(_),style:{marginLeft:"5px"},children:"x"})})]},_)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:yo,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Cost Paid Out of Closing"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total cost paid out of closing"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalcostPaidOutofClosing",value:vn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Cost to Sell B to C"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalCosttoSellBtoC",value:$t(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Gross Proceeds per HUD"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"grossproceedsperHUD",value:$t(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Adjustments:"}),l.adjustments.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,onChange:p=>gn(_,"title",p.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${P.isInvalid?"is-invalid":""}`,value:P.price,onChange:p=>Ds(p,_),placeholder:"Price",style:{textAlign:"right"},required:!0}),P.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>Wt(_),style:{marginLeft:"5px"},children:"x"})})]},_)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:de,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Adjustments"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Adjustments"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totaladjustments",value:No(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Funds Available for distribution"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"fundsavailablefordistribution",value:Fs(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Income Statement Adjustments:"}),l.incomestatement.map((P,_)=>r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",value:P.title,onChange:p=>Co(_,"title",p.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${P.isInvalid?"is-invalid":""}`,value:P.price,onChange:p=>Xn(p,_),placeholder:"Price",style:{textAlign:"right"},required:!0}),P.isInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]}),r.jsx("div",{className:"col-md-2 d-flex justify-content-start",children:r.jsx("button",{className:"btn btn-danger",onClick:()=>Za(_),style:{marginLeft:"5px"},children:"x"})})]},_)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:Ja,style:{backgroundColor:"#fda417",border:"#fda417"},children:[r.jsx("span",{style:{fontSize:"20px",fontWeight:"normal"},children:"+"})," ","Add Income Statement"]})}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Total Income Statement Adjustment"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalincomestatement",value:Jn(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net B to C Sale Value"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netBtoCsalevalue",value:Zt(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit Computation"}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Total Costs to Buy A to B",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"totalCoststoBuyAtoBagain",value:Jt(),style:{textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Funds Prior to Closing",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isfundspriortoclosingInvalid?"is-invalid":""}`,value:l.fundspriortoclosing,name:"fundspriortoclosing",onChange:P=>{const _=P.target.value,p=/^\d*\.?\d*$/.test(_);u({...l,fundspriortoclosing:_,isfundspriortoclosingInvalid:!p})},onKeyPress:P=>{const _=P.charCode;(_<48||_>57)&&_!==46&&(P.preventDefault(),u({...l,isfundspriortoclosingInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isfundspriortoclosingInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Net B to C Sale Value",required:!0,disabled:!0})}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netBtoCsalevalue",value:Zt(),style:{textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Short Term Rental",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:l.shorttermrental,name:"shorttermrental",onChange:P=>{const _=P.target.value,p=/^\d*\.?\d*$/.test(_);u({...l,shorttermrental:_,isPurchaseCostInvalid:!p})},onKeyPress:P=>{const _=P.charCode;(_<48||_>57)&&_!==46&&(P.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Other Income",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:l.OtherIncome,name:"OtherIncome",onChange:P=>{const _=P.target.value,p=/^\d*\.?\d*$/.test(_);u({...l,OtherIncome:_,isPurchaseCostInvalid:!p})},onKeyPress:P=>{const _=P.charCode;(_<48||_>57)&&_!==46&&(P.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Insurance Claim",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:l.InsuranceClaim,name:"InsuranceClaim",onChange:P=>{const _=P.target.value,p=/^\d*\.?\d*$/.test(_);u({...l,InsuranceClaim:_,isPurchaseCostInvalid:!p})},onKeyPress:P=>{const _=P.charCode;(_<48||_>57)&&_!==46&&(P.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3",children:[r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",placeholder:"Long Term Rental",required:!0,disabled:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isPurchaseCostInvalid?"is-invalid":""}`,value:l.LongTermRental,name:"LongTermRental",onChange:P=>{const _=P.target.value,p=/^\d*\.?\d*$/.test(_);u({...l,LongTermRental:_,isPurchaseCostInvalid:!p})},onKeyPress:P=>{const _=P.charCode;(_<48||_>57)&&_!==46&&(P.preventDefault(),u({...l,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit Before Financing Costs"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netprofitbeforefinancingcosts",value:Sr(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Financing Cost/Other Closing Costs"}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${l.isFinancingCostClosingCostInvalid?"is-invalid":""}`,value:l.FinancingCostClosingCost,name:"FinancingCostClosingCost",onChange:P=>{const _=P.target.value,p=/^\d*\.?\d*$/.test(_);u({...l,FinancingCostClosingCost:_,isFinancingCostClosingCostInvalid:!p})},onKeyPress:P=>{const _=P.charCode;(_<48||_>57)&&_!==46&&(P.preventDefault(),u({...l,isFinancingCostClosingCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),l.isFinancingCostClosingCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsxs("div",{className:"row gy-3 align-items-center",children:[r.jsx("span",{className:"col-md-4",style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Net Profit"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"netprofit",value:bo(),readOnly:!0,style:{borderColor:"#fda417",color:"#fda417",textAlign:"right"},required:!0})})]}),r.jsx("br",{}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("button",{className:"btn btn-primary back",onClick:i,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:g,children:"Submit"})," "]}),r.jsx("br",{})]})]})]})})]})},Vw=()=>{const e=Ft(),{properties:t,loading:n,totalPages:o,currentPage:s}=Ve(N=>N.property),[i,a]=S.useState(""),[l,u]=S.useState([]),[c,d]=S.useState(1),f=10;S.useEffect(()=>{e(Qo({page:c,limit:f,keyword:i}))},[e,c,i]),S.useEffect(()=>{i.trim()?u(t.filter(N=>N.address.toLowerCase().includes(i.toLowerCase()))):u(t)},[i,t]);const g=N=>{a(N.target.value)},C=N=>{N.preventDefault()},x=N=>{d(N),e(Qo({page:N,limit:f,keyword:i}))};return r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsxs("div",{className:"container col-12",children:[r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-lg-12 card-margin col-12",children:r.jsx("div",{className:"card search-form col-12",children:r.jsx("div",{className:"card-body p-0",children:r.jsx("form",{id:"search-form",onSubmit:C,children:r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"row no-gutters",children:r.jsx("div",{className:"col-lg-8 col-md-6 col-sm-12 p-0",children:r.jsx("input",{type:"text",value:i,onChange:g,placeholder:"Enter the keyword and hit ENTER button...",className:"form-control"})})})})})})})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12",children:r.jsx("div",{className:"card card-margin",children:r.jsx("div",{className:"card-body",children:n?r.jsx("div",{children:"Loading..."}):r.jsx("div",{className:"table-responsive",children:r.jsxs("table",{className:"table widget-26",children:[r.jsx("thead",{style:{color:"#fda417",fontSize:"15px"},children:r.jsxs("tr",{children:[r.jsx("th",{children:"Image"}),r.jsx("th",{children:"Details"}),r.jsx("th",{children:"Total Living Square Foot"}),r.jsx("th",{children:"Year Built"}),r.jsx("th",{children:"Cost per Square Foot"})]})}),r.jsx("tbody",{children:l.length>0?l.map(N=>r.jsxs("tr",{children:[r.jsx("td",{children:N.images&&N.images[0]?r.jsx("img",{src:N.images[0].file||Yt,alt:"Property Thumbnail",style:{width:"100px",height:"auto"}}):r.jsx("img",{src:Yt,alt:"Default Property Thumbnail",style:{width:"100px",height:"auto"}})}),r.jsx("td",{children:r.jsxs("div",{className:"widget-26-job-title",children:[r.jsx(Ne,{to:`/property/${N.propertyId}`,className:"link-primary text-decoration-none",children:N.address}),r.jsxs("p",{className:"m-0",children:[r.jsxs("span",{className:"employer-name",children:[r.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02"}}),N.city,", ",N.county,","," ",N.state]}),r.jsxs("p",{className:"text-muted m-0",children:["House Id: ",N.propertyId]})]})]})}),r.jsx("td",{children:N.totallivingsqft}),r.jsx("td",{children:N.yearBuild}),r.jsx("td",{children:N.costpersqft})]},N.id)):r.jsx("tr",{children:r.jsx("td",{colSpan:"5",children:"No properties found."})})})]})})})})})}),r.jsx("nav",{"aria-label":"Page navigation",children:r.jsxs("ul",{className:"pagination justify-content-center",children:[r.jsx("li",{className:`page-item ${s===1?"disabled":""}`,children:r.jsx("button",{className:"page-link",onClick:()=>x(s-1),children:"Previous"})}),Array.from({length:o},(N,b)=>r.jsx("li",{className:`page-item ${s===b+1?"active":""}`,children:r.jsx("button",{className:"page-link",onClick:()=>x(b+1),children:b+1})},b+1)),r.jsx("li",{className:`page-item ${s===o?"disabled":""}`,children:r.jsx("button",{className:"page-link",onClick:()=>x(s+1),children:"Next"})})]})})]}),r.jsx(Ze,{})]})},Hw=()=>{const{userId:e}=go(),t=Ft(),{user:n,loading:o}=Ve(s=>s.user);return console.log("user",n),S.useEffect(()=>{e&&t(wi(e))},[e,t]),o?r.jsx("div",{children:"Loading..."}):r.jsxs(r.Fragment,{children:[r.jsx(Re,{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("br",{}),r.jsx("div",{className:"main-body",children:r.jsxs("div",{className:"row gutters-sm",children:[r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("div",{className:"d-flex flex-column align-items-center text-center",children:[r.jsx("img",{src:n.profileImage,alt:"Admin",className:"rounded-circle",width:150}),r.jsxs("h4",{children:[n.title,". ",n.firstName," ",n.middleName," ",n.lastName]}),r.jsxs("span",{className:"text-muted font-size-sm",children:[r.jsx("i",{className:"fa fa-map-marker",style:{color:"#F74B02",fontSize:"20px"}})," ",n.city,", ",n.state,", ",n.county,", ",n.zip]})]}),r.jsx("br",{})]})})}),r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",style:{color:"#fda417",fontSize:"26px"},children:"Recent"}),"Project investments"]}),r.jsx("hr",{}),r.jsx("img",{src:Yt,alt:"Admin",className:"rounded-circle",style:{marginRight:"10px",maxWidth:"50px",maxHeight:"50px"}}),r.jsx("small",{children:"Web Design project in California"}),r.jsx("div",{className:"progress",style:{width:"100%",marginTop:"10px"},children:r.jsx("div",{className:"progress-bar",role:"progressbar",style:{width:"25%"},"aria-valuenow":25,"aria-valuemin":0,"aria-valuemax":100,children:"25% completed"})}),r.jsx("hr",{}),r.jsx("img",{src:Yt,alt:"Admin",className:"rounded-circle",style:{marginRight:"10px",maxWidth:"50px",maxHeight:"50px"}}),r.jsx("small",{children:"Web Design project in California"}),r.jsx("div",{className:"progress",style:{width:"100%",marginTop:"10px"},children:r.jsx("div",{className:"progress-bar",role:"progressbar",style:{width:"75%"},"aria-valuenow":75,"aria-valuemin":0,"aria-valuemax":100,children:"75% completed"})})]})})}),r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",children:"Projects"}),"Seeking investments"]}),r.jsx("hr",{}),r.jsx("img",{src:Yt,alt:"Admin",className:"rounded-circle",style:{marginRight:"10px",maxWidth:"50px",maxHeight:"50px"}}),r.jsx("small",{children:"Web Design project in California"}),r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("hr",{}),r.jsx("img",{src:Yt,alt:"Admin",className:"rounded-circle",style:{marginRight:"10px",maxWidth:"50px",maxHeight:"50px"}}),r.jsx("small",{children:"Web Design project in California"}),r.jsx("br",{})," ",r.jsx("br",{})]})})}),r.jsx("div",{className:"col-md-4",children:r.jsx("div",{className:"card mb-3",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",style:{color:"#fda417",fontSize:"26px"},children:"About"}),"me :"]})," ",r.jsx("hr",{}),n.aboutme]})})}),r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",style:{color:"#fda417",fontSize:"26px"},children:"Willing to"}),"invest:"]}),r.jsx("hr",{}),r.jsx("h2",{className:"d-flex flex-column align-items-center text-center",style:{color:"#fda417",border:"#fda417",fontSize:"60px",fontWeight:"normal"},children:"$ 500,000"}),r.jsx("span",{className:"d-flex flex-column align-items-center text-center",children:r.jsx("button",{className:"btn btn-primary btn-lg ",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},children:"Request"})}),r.jsx("hr",{}),r.jsxs("div",{className:"card-body",children:[r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-sm-3",children:r.jsx("span",{className:"mb-0",children:"Email"})}),n.email,r.jsx("div",{className:"col-sm-9 text-secondary"})]}),r.jsx("hr",{}),r.jsxs("div",{className:"row",children:[r.jsx("div",{className:"col-sm-3",children:r.jsx("span",{className:"mb-0",children:"Phone"})}),"67656584687",r.jsx("div",{className:"col-sm-9 text-secondary"})]})]})]})})}),r.jsx("div",{className:"col-md-4 mb-3",children:r.jsx("div",{className:"card",children:r.jsxs("div",{className:"card-body",children:[r.jsxs("h1",{className:"d-flex align-items-center mb-3",style:{color:"#fda417",fontSize:"26px"},children:[r.jsx("i",{className:"material-icons text-info mr-2",children:"Suggested"}),"Borrowers"]}),r.jsxs("ul",{className:"list-group list-group-flush",children:[r.jsx("li",{className:"list-group-item d-flex justify-content-between align-items-center flex-wrap",children:r.jsxs("h6",{className:"mb-0",children:[r.jsx("img",{src:Ti,style:{marginTop:"0px",maxWidth:"50px",maxHeight:"50px"}}),"Ravichandu"]})}),r.jsx("li",{className:"list-group-item d-flex justify-content-between align-items-center flex-wrap",children:r.jsxs("h6",{className:"mb-0",children:[r.jsx("img",{src:Ti,style:{marginTop:"0px",maxWidth:"50px",maxHeight:"50px"}}),"Ravichandu"]})}),r.jsx("li",{className:"list-group-item d-flex justify-content-between align-items-center flex-wrap",children:r.jsxs("h6",{className:"mb-0",children:[r.jsx("img",{src:Ti,style:{marginTop:"0px",maxWidth:"50px",maxHeight:"50px"}}),"Ravichandu"]})})]})]})})})]})})]})},Kw=()=>r.jsxs(cC,{children:[r.jsx(kC,{}),r.jsxs(tC,{children:[r.jsx(Ie,{path:"/",element:r.jsx(_C,{})}),r.jsx(Ie,{path:"/about",element:r.jsx(OC,{})}),r.jsx(Ie,{path:"/services",element:r.jsx(Ww,{})}),r.jsx(Ie,{path:"/contact",element:r.jsx(TC,{})}),r.jsx(Ie,{path:"/register",element:r.jsx(rb,{})}),r.jsx(Ie,{path:"/registrationsuccess",element:r.jsx(Ri,{children:r.jsx(jb,{})})}),r.jsx(Ie,{path:"/login",element:r.jsx(sb,{})}),r.jsx(Ie,{path:"/dashboard",element:r.jsx(Ri,{children:r.jsx(ub,{})})}),r.jsx(Ie,{path:"/users/:id/verify/:token",element:r.jsx(gb,{})}),r.jsx(Ie,{path:"/forgotpassword",element:r.jsx(xb,{})}),r.jsx(Ie,{path:"/users/resetpassword/:userId/:token",element:r.jsx(yb,{})}),r.jsx(Ie,{path:"/property/:id",element:r.jsx(zw,{})}),r.jsx(Ie,{path:"/properties/:house_id",element:r.jsx(Uw,{})}),r.jsx(Ie,{path:"/searchmyproperties",element:r.jsx($w,{})}),r.jsx(Ie,{path:"/searchproperties",element:r.jsx(Vw,{})}),r.jsx(Ie,{path:"/editproperty/:id",element:r.jsx(Ri,{children:r.jsx(qw,{})})}),r.jsx(Ie,{path:"/profile/:userId",element:r.jsx(Hw,{})})]})]});$h(document.getElementById("root")).render(r.jsx(S.StrictMode,{children:r.jsx(Ej,{store:mN,children:r.jsx(Kw,{})})}));
|