86 lines
472 KiB
JavaScript
86 lines
472 KiB
JavaScript
var nv=Object.defineProperty;var rv=(e,t,n)=>t in e?nv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var os=(e,t,n)=>rv(e,typeof t!="symbol"?t+"":t,n);function iv(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in e)){const l=Object.getOwnPropertyDescriptor(i,o);l&&Object.defineProperty(e,o,l.get?l:{enumerable:!0,get:()=>i[o]})}}}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 o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const s of l.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function i(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();var ov=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Za(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xd={exports:{}},Nl={},Zd={exports:{}},le={};/**
|
|
* @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 Mi=Symbol.for("react.element"),lv=Symbol.for("react.portal"),sv=Symbol.for("react.fragment"),av=Symbol.for("react.strict_mode"),cv=Symbol.for("react.profiler"),uv=Symbol.for("react.provider"),dv=Symbol.for("react.context"),fv=Symbol.for("react.forward_ref"),pv=Symbol.for("react.suspense"),mv=Symbol.for("react.memo"),hv=Symbol.for("react.lazy"),cu=Symbol.iterator;function vv(e){return e===null||typeof e!="object"?null:(e=cu&&e[cu]||e["@@iterator"],typeof e=="function"?e:null)}var ef={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tf=Object.assign,nf={};function Pr(e,t,n){this.props=e,this.context=t,this.refs=nf,this.updater=n||ef}Pr.prototype.isReactComponent={};Pr.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")};Pr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rf(){}rf.prototype=Pr.prototype;function ec(e,t,n){this.props=e,this.context=t,this.refs=nf,this.updater=n||ef}var tc=ec.prototype=new rf;tc.constructor=ec;tf(tc,Pr.prototype);tc.isPureReactComponent=!0;var uu=Array.isArray,of=Object.prototype.hasOwnProperty,nc={current:null},lf={key:!0,ref:!0,__self:!0,__source:!0};function sf(e,t,n){var i,o={},l=null,s=null;if(t!=null)for(i in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(l=""+t.key),t)of.call(t,i)&&!lf.hasOwnProperty(i)&&(o[i]=t[i]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var u=Array(a),c=0;c<a;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(i in a=e.defaultProps,a)o[i]===void 0&&(o[i]=a[i]);return{$$typeof:Mi,type:e,key:l,ref:s,props:o,_owner:nc.current}}function gv(e,t){return{$$typeof:Mi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function rc(e){return typeof e=="object"&&e!==null&&e.$$typeof===Mi}function yv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var du=/\/+/g;function ls(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yv(""+e.key):t.toString(36)}function mo(e,t,n,i,o){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Mi:case lv:s=!0}}if(s)return s=e,o=o(s),e=i===""?"."+ls(s,0):i,uu(o)?(n="",e!=null&&(n=e.replace(du,"$&/")+"/"),mo(o,t,n,"",function(c){return c})):o!=null&&(rc(o)&&(o=gv(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(du,"$&/")+"/")+e)),t.push(o)),1;if(s=0,i=i===""?".":i+":",uu(e))for(var a=0;a<e.length;a++){l=e[a];var u=i+ls(l,a);s+=mo(l,t,n,u,o)}else if(u=vv(e),typeof u=="function")for(e=u.call(e),a=0;!(l=e.next()).done;)l=l.value,u=i+ls(l,a++),s+=mo(l,t,n,u,o);else if(l==="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 s}function Ki(e,t,n){if(e==null)return e;var i=[],o=0;return mo(e,i,"","",function(l){return t.call(n,l,o++)}),i}function xv(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 $e={current:null},ho={transition:null},jv={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:ho,ReactCurrentOwner:nc};function af(){throw Error("act(...) is not supported in production builds of React.")}le.Children={map:Ki,forEach:function(e,t,n){Ki(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ki(e,function(){t++}),t},toArray:function(e){return Ki(e,function(t){return t})||[]},only:function(e){if(!rc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};le.Component=Pr;le.Fragment=sv;le.Profiler=cv;le.PureComponent=ec;le.StrictMode=av;le.Suspense=pv;le.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jv;le.act=af;le.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=tf({},e.props),o=e.key,l=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(l=t.ref,s=nc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)of.call(t,u)&&!lf.hasOwnProperty(u)&&(i[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)i.children=n;else if(1<u){a=Array(u);for(var c=0;c<u;c++)a[c]=arguments[c+2];i.children=a}return{$$typeof:Mi,type:e.type,key:o,ref:l,props:i,_owner:s}};le.createContext=function(e){return e={$$typeof:dv,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:uv,_context:e},e.Consumer=e};le.createElement=sf;le.createFactory=function(e){var t=sf.bind(null,e);return t.type=e,t};le.createRef=function(){return{current:null}};le.forwardRef=function(e){return{$$typeof:fv,render:e}};le.isValidElement=rc;le.lazy=function(e){return{$$typeof:hv,_payload:{_status:-1,_result:e},_init:xv}};le.memo=function(e,t){return{$$typeof:mv,type:e,compare:t===void 0?null:t}};le.startTransition=function(e){var t=ho.transition;ho.transition={};try{e()}finally{ho.transition=t}};le.unstable_act=af;le.useCallback=function(e,t){return $e.current.useCallback(e,t)};le.useContext=function(e){return $e.current.useContext(e)};le.useDebugValue=function(){};le.useDeferredValue=function(e){return $e.current.useDeferredValue(e)};le.useEffect=function(e,t){return $e.current.useEffect(e,t)};le.useId=function(){return $e.current.useId()};le.useImperativeHandle=function(e,t,n){return $e.current.useImperativeHandle(e,t,n)};le.useInsertionEffect=function(e,t){return $e.current.useInsertionEffect(e,t)};le.useLayoutEffect=function(e,t){return $e.current.useLayoutEffect(e,t)};le.useMemo=function(e,t){return $e.current.useMemo(e,t)};le.useReducer=function(e,t,n){return $e.current.useReducer(e,t,n)};le.useRef=function(e){return $e.current.useRef(e)};le.useState=function(e){return $e.current.useState(e)};le.useSyncExternalStore=function(e,t,n){return $e.current.useSyncExternalStore(e,t,n)};le.useTransition=function(){return $e.current.useTransition()};le.version="18.3.1";Zd.exports=le;var R=Zd.exports;const T=Za(R),$s=iv({__proto__:null,default:T},[R]);/**
|
|
* @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 Nv=R,Cv=Symbol.for("react.element"),bv=Symbol.for("react.fragment"),wv=Object.prototype.hasOwnProperty,Sv=Nv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,kv={key:!0,ref:!0,__self:!0,__source:!0};function cf(e,t,n){var i,o={},l=null,s=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(s=t.ref);for(i in t)wv.call(t,i)&&!kv.hasOwnProperty(i)&&(o[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps,t)o[i]===void 0&&(o[i]=t[i]);return{$$typeof:Cv,type:e,key:l,ref:s,props:o,_owner:Sv.current}}Nl.Fragment=bv;Nl.jsx=cf;Nl.jsxs=cf;Xd.exports=Nl;var r=Xd.exports,uf={exports:{}},ct={},df={exports:{}},ff={};/**
|
|
* @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(O,P){var D=O.length;O.push(P);e:for(;0<D;){var F=D-1>>>1,z=O[F];if(0<o(z,P))O[F]=P,O[D]=z,D=F;else break e}}function n(O){return O.length===0?null:O[0]}function i(O){if(O.length===0)return null;var P=O[0],D=O.pop();if(D!==P){O[0]=D;e:for(var F=0,z=O.length,V=z>>>1;F<V;){var K=2*(F+1)-1,X=O[K],ee=K+1,te=O[ee];if(0>o(X,D))ee<z&&0>o(te,X)?(O[F]=te,O[ee]=D,F=ee):(O[F]=X,O[K]=D,F=K);else if(ee<z&&0>o(te,D))O[F]=te,O[ee]=D,F=ee;else break e}}return P}function o(O,P){var D=O.sortIndex-P.sortIndex;return D!==0?D:O.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var u=[],c=[],d=1,f=null,v=3,j=!1,g=!1,x=!1,N=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(O){for(var P=n(c);P!==null;){if(P.callback===null)i(c);else if(P.startTime<=O)i(c),P.sortIndex=P.expirationTime,t(u,P);else break;P=n(c)}}function y(O){if(x=!1,p(O),!g)if(n(u)!==null)g=!0,B(w);else{var P=n(c);P!==null&&G(y,P.startTime-O)}}function w(O,P){g=!1,x&&(x=!1,m(S),S=-1),j=!0;var D=v;try{for(p(P),f=n(u);f!==null&&(!(f.expirationTime>P)||O&&!$());){var F=f.callback;if(typeof F=="function"){f.callback=null,v=f.priorityLevel;var z=F(f.expirationTime<=P);P=e.unstable_now(),typeof z=="function"?f.callback=z:f===n(u)&&i(u),p(P)}else i(u);f=n(u)}if(f!==null)var V=!0;else{var K=n(c);K!==null&&G(y,K.startTime-P),V=!1}return V}finally{f=null,v=D,j=!1}}var k=!1,_=null,S=-1,M=5,L=-1;function $(){return!(e.unstable_now()-L<M)}function Z(){if(_!==null){var O=e.unstable_now();L=O;var P=!0;try{P=_(!0,O)}finally{P?Q():(k=!1,_=null)}}else k=!1}var Q;if(typeof h=="function")Q=function(){h(Z)};else if(typeof MessageChannel<"u"){var J=new MessageChannel,A=J.port2;J.port1.onmessage=Z,Q=function(){A.postMessage(null)}}else Q=function(){N(Z,0)};function B(O){_=O,k||(k=!0,Q())}function G(O,P){S=N(function(){O(e.unstable_now())},P)}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(O){O.callback=null},e.unstable_continueExecution=function(){g||j||(g=!0,B(w))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(O){switch(v){case 1:case 2:case 3:var P=3;break;default:P=v}var D=v;v=P;try{return O()}finally{v=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,P){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var D=v;v=O;try{return P()}finally{v=D}},e.unstable_scheduleCallback=function(O,P,D){var F=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?F+D:F):D=F,O){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}return z=D+z,O={id:d++,callback:P,priorityLevel:O,startTime:D,expirationTime:z,sortIndex:-1},D>F?(O.sortIndex=D,t(c,O),n(u)===null&&O===n(c)&&(x?(m(S),S=-1):x=!0,G(y,D-F))):(O.sortIndex=z,t(u,O),g||j||(g=!0,B(w))),O},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(O){var P=v;return function(){var D=v;v=P;try{return O.apply(this,arguments)}finally{v=D}}}})(ff);df.exports=ff;var Ev=df.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 _v=R,lt=Ev;function W(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 pf=new Set,fi={};function Hn(e,t){jr(e,t),jr(e+"Capture",t)}function jr(e,t){for(fi[e]=t,e=0;e<t.length;e++)pf.add(t[e])}var $t=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Us=Object.prototype.hasOwnProperty,Pv=/^[: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]*$/,fu={},pu={};function Ov(e){return Us.call(pu,e)?!0:Us.call(fu,e)?!1:Pv.test(e)?pu[e]=!0:(fu[e]=!0,!1)}function Tv(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Rv(e,t,n,i){if(t===null||typeof t>"u"||Tv(e,t,n,i))return!0;if(i)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 Ue(e,t,n,i,o,l,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=s}var Ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ie[e]=new Ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ie[t]=new Ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ie[e]=new Ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ie[e]=new Ue(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){Ie[e]=new Ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ie[e]=new Ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ie[e]=new Ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ie[e]=new Ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ie[e]=new Ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var ic=/[\-:]([a-z])/g;function oc(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(ic,oc);Ie[t]=new Ue(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(ic,oc);Ie[t]=new Ue(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(ic,oc);Ie[t]=new Ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ie[e]=new Ue(e,1,!1,e.toLowerCase(),null,!1,!1)});Ie.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ie[e]=new Ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function lc(e,t,n,i){var o=Ie.hasOwnProperty(t)?Ie[t]:null;(o!==null?o.type!==0:i||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Rv(t,n,o,i)&&(n=null),i||o===null?Ov(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,i=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,i?e.setAttributeNS(i,t,n):e.setAttribute(t,n))))}var Kt=_v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Yi=Symbol.for("react.element"),Jn=Symbol.for("react.portal"),Xn=Symbol.for("react.fragment"),sc=Symbol.for("react.strict_mode"),qs=Symbol.for("react.profiler"),mf=Symbol.for("react.provider"),hf=Symbol.for("react.context"),ac=Symbol.for("react.forward_ref"),Vs=Symbol.for("react.suspense"),Hs=Symbol.for("react.suspense_list"),cc=Symbol.for("react.memo"),Jt=Symbol.for("react.lazy"),vf=Symbol.for("react.offscreen"),mu=Symbol.iterator;function zr(e){return e===null||typeof e!="object"?null:(e=mu&&e[mu]||e["@@iterator"],typeof e=="function"?e:null)}var xe=Object.assign,ss;function Yr(e){if(ss===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ss=t&&t[1]||""}return`
|
|
`+ss+e}var as=!1;function cs(e,t){if(!e||as)return"";as=!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 i=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){i=c}e.call(t.prototype)}else{try{throw Error()}catch(c){i=c}e()}}catch(c){if(c&&i&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
|
`),l=i.stack.split(`
|
|
`),s=o.length-1,a=l.length-1;1<=s&&0<=a&&o[s]!==l[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==l[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==l[a]){var u=`
|
|
`+o[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{as=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Yr(e):""}function Av(e){switch(e.tag){case 5:return Yr(e.type);case 16:return Yr("Lazy");case 13:return Yr("Suspense");case 19:return Yr("SuspenseList");case 0:case 2:case 15:return e=cs(e.type,!1),e;case 11:return e=cs(e.type.render,!1),e;case 1:return e=cs(e.type,!0),e;default:return""}}function Ks(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 Xn:return"Fragment";case Jn:return"Portal";case qs:return"Profiler";case sc:return"StrictMode";case Vs:return"Suspense";case Hs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hf:return(e.displayName||"Context")+".Consumer";case mf:return(e._context.displayName||"Context")+".Provider";case ac:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case cc:return t=e.displayName||null,t!==null?t:Ks(e.type)||"Memo";case Jt:t=e._payload,e=e._init;try{return Ks(e(t))}catch{}}return null}function Iv(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 Ks(t);case 8:return t===sc?"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 yn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Dv(e){var t=gf(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){i=""+s,l.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(s){i=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Gi(e){e._valueTracker||(e._valueTracker=Dv(e))}function yf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=gf(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function zo(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 Ys(e,t){var n=t.checked;return xe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function hu(e,t){var n=t.defaultValue==null?"":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=yn(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function xf(e,t){t=t.checked,t!=null&&lc(e,"checked",t,!1)}function Gs(e,t){xf(e,t);var n=yn(t.value),i=t.type;if(n!=null)i==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(i==="submit"||i==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Qs(e,t.type,n):t.hasOwnProperty("defaultValue")&&Qs(e,t.type,yn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function vu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var i=t.type;if(!(i!=="submit"&&i!=="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 Qs(e,t,n){(t!=="number"||zo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Gr=Array.isArray;function mr(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&i&&(e[n].defaultSelected=!0)}else{for(n=""+yn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Js(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(W(91));return xe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function gu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(W(92));if(Gr(n)){if(1<n.length)throw Error(W(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:yn(n)}}function jf(e,t){var n=yn(t.value),i=yn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),i!=null&&(e.defaultValue=""+i)}function yu(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Nf(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 Xs(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Nf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Qi,Cf=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,i,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,i,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Qi=Qi||document.createElement("div"),Qi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Qi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function pi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Zr={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},Mv=["Webkit","ms","Moz","O"];Object.keys(Zr).forEach(function(e){Mv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zr[t]=Zr[e]})});function bf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Zr.hasOwnProperty(e)&&Zr[e]?(""+t).trim():t+"px"}function wf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf("--")===0,o=bf(n,t[n],i);n==="float"&&(n="cssFloat"),i?e.setProperty(n,o):e[n]=o}}var Fv=xe({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 Zs(e,t){if(t){if(Fv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(62))}}function ea(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 ta=null;function uc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var na=null,hr=null,vr=null;function xu(e){if(e=zi(e)){if(typeof na!="function")throw Error(W(280));var t=e.stateNode;t&&(t=kl(t),na(e.stateNode,e.type,t))}}function Sf(e){hr?vr?vr.push(e):vr=[e]:hr=e}function kf(){if(hr){var e=hr,t=vr;if(vr=hr=null,xu(e),t)for(e=0;e<t.length;e++)xu(t[e])}}function Ef(e,t){return e(t)}function _f(){}var us=!1;function Pf(e,t,n){if(us)return e(t,n);us=!0;try{return Ef(e,t,n)}finally{us=!1,(hr!==null||vr!==null)&&(_f(),kf())}}function mi(e,t){var n=e.stateNode;if(n===null)return null;var i=kl(n);if(i===null)return null;n=i[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":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(W(231,t,typeof n));return n}var ra=!1;if($t)try{var Br={};Object.defineProperty(Br,"passive",{get:function(){ra=!0}}),window.addEventListener("test",Br,Br),window.removeEventListener("test",Br,Br)}catch{ra=!1}function Lv(e,t,n,i,o,l,s,a,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(d){this.onError(d)}}var ei=!1,Bo=null,Wo=!1,ia=null,zv={onError:function(e){ei=!0,Bo=e}};function Bv(e,t,n,i,o,l,s,a,u){ei=!1,Bo=null,Lv.apply(zv,arguments)}function Wv(e,t,n,i,o,l,s,a,u){if(Bv.apply(this,arguments),ei){if(ei){var c=Bo;ei=!1,Bo=null}else throw Error(W(198));Wo||(Wo=!0,ia=c)}}function Kn(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 Of(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 ju(e){if(Kn(e)!==e)throw Error(W(188))}function $v(e){var t=e.alternate;if(!t){if(t=Kn(e),t===null)throw Error(W(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(o===null)break;var l=o.alternate;if(l===null){if(i=o.return,i!==null){n=i;continue}break}if(o.child===l.child){for(l=o.child;l;){if(l===n)return ju(o),e;if(l===i)return ju(o),t;l=l.sibling}throw Error(W(188))}if(n.return!==i.return)n=o,i=l;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,i=l;break}if(a===i){s=!0,i=o,n=l;break}a=a.sibling}if(!s){for(a=l.child;a;){if(a===n){s=!0,n=l,i=o;break}if(a===i){s=!0,i=l,n=o;break}a=a.sibling}if(!s)throw Error(W(189))}}if(n.alternate!==i)throw Error(W(190))}if(n.tag!==3)throw Error(W(188));return n.stateNode.current===n?e:t}function Tf(e){return e=$v(e),e!==null?Rf(e):null}function Rf(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Rf(e);if(t!==null)return t;e=e.sibling}return null}var Af=lt.unstable_scheduleCallback,Nu=lt.unstable_cancelCallback,Uv=lt.unstable_shouldYield,qv=lt.unstable_requestPaint,be=lt.unstable_now,Vv=lt.unstable_getCurrentPriorityLevel,dc=lt.unstable_ImmediatePriority,If=lt.unstable_UserBlockingPriority,$o=lt.unstable_NormalPriority,Hv=lt.unstable_LowPriority,Df=lt.unstable_IdlePriority,Cl=null,At=null;function Kv(e){if(At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(Cl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ct=Math.clz32?Math.clz32:Qv,Yv=Math.log,Gv=Math.LN2;function Qv(e){return e>>>=0,e===0?32:31-(Yv(e)/Gv|0)|0}var Ji=64,Xi=4194304;function Qr(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 Uo(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,o=e.suspendedLanes,l=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?i=Qr(a):(l&=s,l!==0&&(i=Qr(l)))}else s=n&~o,s!==0?i=Qr(s):l!==0&&(i=Qr(l));if(i===0)return 0;if(t!==0&&t!==i&&!(t&o)&&(o=i&-i,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(i&4&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0<t;)n=31-Ct(t),o=1<<n,i|=e[n],t&=~o;return i}function Jv(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 Xv(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,l=e.pendingLanes;0<l;){var s=31-Ct(l),a=1<<s,u=o[s];u===-1?(!(a&n)||a&i)&&(o[s]=Jv(a,t)):u<=t&&(e.expiredLanes|=a),l&=~a}}function oa(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Mf(){var e=Ji;return Ji<<=1,!(Ji&4194240)&&(Ji=64),e}function ds(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Fi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ct(t),e[t]=n}function Zv(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 i=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Ct(n),l=1<<o;t[o]=0,i[o]=-1,e[o]=-1,n&=~l}}function fc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-Ct(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}var ue=0;function Ff(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Lf,pc,zf,Bf,Wf,la=!1,Zi=[],cn=null,un=null,dn=null,hi=new Map,vi=new Map,nn=[],eg="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 Cu(e,t){switch(e){case"focusin":case"focusout":cn=null;break;case"dragenter":case"dragleave":un=null;break;case"mouseover":case"mouseout":dn=null;break;case"pointerover":case"pointerout":hi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vi.delete(t.pointerId)}}function Wr(e,t,n,i,o,l){return e===null||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:l,targetContainers:[o]},t!==null&&(t=zi(t),t!==null&&pc(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function tg(e,t,n,i,o){switch(t){case"focusin":return cn=Wr(cn,e,t,n,i,o),!0;case"dragenter":return un=Wr(un,e,t,n,i,o),!0;case"mouseover":return dn=Wr(dn,e,t,n,i,o),!0;case"pointerover":var l=o.pointerId;return hi.set(l,Wr(hi.get(l)||null,e,t,n,i,o)),!0;case"gotpointercapture":return l=o.pointerId,vi.set(l,Wr(vi.get(l)||null,e,t,n,i,o)),!0}return!1}function $f(e){var t=On(e.target);if(t!==null){var n=Kn(t);if(n!==null){if(t=n.tag,t===13){if(t=Of(n),t!==null){e.blockedOn=t,Wf(e.priority,function(){zf(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 vo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=sa(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);ta=i,n.target.dispatchEvent(i),ta=null}else return t=zi(n),t!==null&&pc(t),e.blockedOn=n,!1;t.shift()}return!0}function bu(e,t,n){vo(e)&&n.delete(t)}function ng(){la=!1,cn!==null&&vo(cn)&&(cn=null),un!==null&&vo(un)&&(un=null),dn!==null&&vo(dn)&&(dn=null),hi.forEach(bu),vi.forEach(bu)}function $r(e,t){e.blockedOn===t&&(e.blockedOn=null,la||(la=!0,lt.unstable_scheduleCallback(lt.unstable_NormalPriority,ng)))}function gi(e){function t(o){return $r(o,e)}if(0<Zi.length){$r(Zi[0],e);for(var n=1;n<Zi.length;n++){var i=Zi[n];i.blockedOn===e&&(i.blockedOn=null)}}for(cn!==null&&$r(cn,e),un!==null&&$r(un,e),dn!==null&&$r(dn,e),hi.forEach(t),vi.forEach(t),n=0;n<nn.length;n++)i=nn[n],i.blockedOn===e&&(i.blockedOn=null);for(;0<nn.length&&(n=nn[0],n.blockedOn===null);)$f(n),n.blockedOn===null&&nn.shift()}var gr=Kt.ReactCurrentBatchConfig,qo=!0;function rg(e,t,n,i){var o=ue,l=gr.transition;gr.transition=null;try{ue=1,mc(e,t,n,i)}finally{ue=o,gr.transition=l}}function ig(e,t,n,i){var o=ue,l=gr.transition;gr.transition=null;try{ue=4,mc(e,t,n,i)}finally{ue=o,gr.transition=l}}function mc(e,t,n,i){if(qo){var o=sa(e,t,n,i);if(o===null)Ns(e,t,i,Vo,n),Cu(e,i);else if(tg(o,e,t,n,i))i.stopPropagation();else if(Cu(e,i),t&4&&-1<eg.indexOf(e)){for(;o!==null;){var l=zi(o);if(l!==null&&Lf(l),l=sa(e,t,n,i),l===null&&Ns(e,t,i,Vo,n),l===o)break;o=l}o!==null&&i.stopPropagation()}else Ns(e,t,i,null,n)}}var Vo=null;function sa(e,t,n,i){if(Vo=null,e=uc(i),e=On(e),e!==null)if(t=Kn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Of(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 Vo=e,null}function Uf(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(Vv()){case dc:return 1;case If:return 4;case $o:case Hv:return 16;case Df:return 536870912;default:return 16}default:return 16}}var on=null,hc=null,go=null;function qf(){if(go)return go;var e,t=hc,n=t.length,i,o="value"in on?on.value:on.textContent,l=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(i=1;i<=s&&t[n-i]===o[l-i];i++);return go=o.slice(e,1<i?1-i:void 0)}function yo(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 eo(){return!0}function wu(){return!1}function ut(e){function t(n,i,o,l,s){this._reactName=n,this._targetInst=o,this.type=i,this.nativeEvent=l,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(l):l[a]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?eo:wu,this.isPropagationStopped=wu,this}return xe(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=eo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=eo)},persist:function(){},isPersistent:eo}),t}var Or={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vc=ut(Or),Li=xe({},Or,{view:0,detail:0}),og=ut(Li),fs,ps,Ur,bl=xe({},Li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gc,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!==Ur&&(Ur&&e.type==="mousemove"?(fs=e.screenX-Ur.screenX,ps=e.screenY-Ur.screenY):ps=fs=0,Ur=e),fs)},movementY:function(e){return"movementY"in e?e.movementY:ps}}),Su=ut(bl),lg=xe({},bl,{dataTransfer:0}),sg=ut(lg),ag=xe({},Li,{relatedTarget:0}),ms=ut(ag),cg=xe({},Or,{animationName:0,elapsedTime:0,pseudoElement:0}),ug=ut(cg),dg=xe({},Or,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fg=ut(dg),pg=xe({},Or,{data:0}),ku=ut(pg),mg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hg={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"},vg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vg[e])?!!t[e]:!1}function gc(){return gg}var yg=xe({},Li,{key:function(e){if(e.key){var t=mg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?hg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gc,charCode:function(e){return e.type==="keypress"?yo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xg=ut(yg),jg=xe({},bl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Eu=ut(jg),Ng=xe({},Li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gc}),Cg=ut(Ng),bg=xe({},Or,{propertyName:0,elapsedTime:0,pseudoElement:0}),wg=ut(bg),Sg=xe({},bl,{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}),kg=ut(Sg),Eg=[9,13,27,32],yc=$t&&"CompositionEvent"in window,ti=null;$t&&"documentMode"in document&&(ti=document.documentMode);var _g=$t&&"TextEvent"in window&&!ti,Vf=$t&&(!yc||ti&&8<ti&&11>=ti),_u=" ",Pu=!1;function Hf(e,t){switch(e){case"keyup":return Eg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zn=!1;function Pg(e,t){switch(e){case"compositionend":return Kf(t);case"keypress":return t.which!==32?null:(Pu=!0,_u);case"textInput":return e=t.data,e===_u&&Pu?null:e;default:return null}}function Og(e,t){if(Zn)return e==="compositionend"||!yc&&Hf(e,t)?(e=qf(),go=hc=on=null,Zn=!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 Vf&&t.locale!=="ko"?null:t.data;default:return null}}var Tg={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 Ou(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Tg[e.type]:t==="textarea"}function Yf(e,t,n,i){Sf(i),t=Ho(t,"onChange"),0<t.length&&(n=new vc("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var ni=null,yi=null;function Rg(e){op(e,0)}function wl(e){var t=nr(e);if(yf(t))return e}function Ag(e,t){if(e==="change")return t}var Gf=!1;if($t){var hs;if($t){var vs="oninput"in document;if(!vs){var Tu=document.createElement("div");Tu.setAttribute("oninput","return;"),vs=typeof Tu.oninput=="function"}hs=vs}else hs=!1;Gf=hs&&(!document.documentMode||9<document.documentMode)}function Ru(){ni&&(ni.detachEvent("onpropertychange",Qf),yi=ni=null)}function Qf(e){if(e.propertyName==="value"&&wl(yi)){var t=[];Yf(t,yi,e,uc(e)),Pf(Rg,t)}}function Ig(e,t,n){e==="focusin"?(Ru(),ni=t,yi=n,ni.attachEvent("onpropertychange",Qf)):e==="focusout"&&Ru()}function Dg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wl(yi)}function Mg(e,t){if(e==="click")return wl(t)}function Fg(e,t){if(e==="input"||e==="change")return wl(t)}function Lg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var St=typeof Object.is=="function"?Object.is:Lg;function xi(e,t){if(St(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!Us.call(t,o)||!St(e[o],t[o]))return!1}return!0}function Au(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Iu(e,t){var n=Au(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Au(n)}}function Jf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xf(){for(var e=window,t=zo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=zo(e.document)}return t}function xc(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 zg(e){var t=Xf(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Jf(n.ownerDocument.documentElement,n)){if(i!==null&&xc(n)){if(t=i.start,e=i.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 o=n.textContent.length,l=Math.min(i.start,o);i=i.end===void 0?l:Math.min(i.end,o),!e.extend&&l>i&&(o=i,i=l,l=o),o=Iu(n,l);var s=Iu(n,i);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>i?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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 Bg=$t&&"documentMode"in document&&11>=document.documentMode,er=null,aa=null,ri=null,ca=!1;function Du(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ca||er==null||er!==zo(i)||(i=er,"selectionStart"in i&&xc(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),ri&&xi(ri,i)||(ri=i,i=Ho(aa,"onSelect"),0<i.length&&(t=new vc("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=er)))}function to(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var tr={animationend:to("Animation","AnimationEnd"),animationiteration:to("Animation","AnimationIteration"),animationstart:to("Animation","AnimationStart"),transitionend:to("Transition","TransitionEnd")},gs={},Zf={};$t&&(Zf=document.createElement("div").style,"AnimationEvent"in window||(delete tr.animationend.animation,delete tr.animationiteration.animation,delete tr.animationstart.animation),"TransitionEvent"in window||delete tr.transitionend.transition);function Sl(e){if(gs[e])return gs[e];if(!tr[e])return e;var t=tr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Zf)return gs[e]=t[n];return e}var ep=Sl("animationend"),tp=Sl("animationiteration"),np=Sl("animationstart"),rp=Sl("transitionend"),ip=new Map,Mu="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 Nn(e,t){ip.set(e,t),Hn(t,[e])}for(var ys=0;ys<Mu.length;ys++){var xs=Mu[ys],Wg=xs.toLowerCase(),$g=xs[0].toUpperCase()+xs.slice(1);Nn(Wg,"on"+$g)}Nn(ep,"onAnimationEnd");Nn(tp,"onAnimationIteration");Nn(np,"onAnimationStart");Nn("dblclick","onDoubleClick");Nn("focusin","onFocus");Nn("focusout","onBlur");Nn(rp,"onTransitionEnd");jr("onMouseEnter",["mouseout","mouseover"]);jr("onMouseLeave",["mouseout","mouseover"]);jr("onPointerEnter",["pointerout","pointerover"]);jr("onPointerLeave",["pointerout","pointerover"]);Hn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Hn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Hn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Hn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Hn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Hn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Jr="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(" "),Ug=new Set("cancel close invalid load scroll toggle".split(" ").concat(Jr));function Fu(e,t,n){var i=e.type||"unknown-event";e.currentTarget=n,Wv(i,t,void 0,e),e.currentTarget=null}function op(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],o=i.event;i=i.listeners;e:{var l=void 0;if(t)for(var s=i.length-1;0<=s;s--){var a=i[s],u=a.instance,c=a.currentTarget;if(a=a.listener,u!==l&&o.isPropagationStopped())break e;Fu(o,a,c),l=u}else for(s=0;s<i.length;s++){if(a=i[s],u=a.instance,c=a.currentTarget,a=a.listener,u!==l&&o.isPropagationStopped())break e;Fu(o,a,c),l=u}}}if(Wo)throw e=ia,Wo=!1,ia=null,e}function pe(e,t){var n=t[ma];n===void 0&&(n=t[ma]=new Set);var i=e+"__bubble";n.has(i)||(lp(t,e,2,!1),n.add(i))}function js(e,t,n){var i=0;t&&(i|=4),lp(n,e,i,t)}var no="_reactListening"+Math.random().toString(36).slice(2);function ji(e){if(!e[no]){e[no]=!0,pf.forEach(function(n){n!=="selectionchange"&&(Ug.has(n)||js(n,!1,e),js(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[no]||(t[no]=!0,js("selectionchange",!1,t))}}function lp(e,t,n,i){switch(Uf(t)){case 1:var o=rg;break;case 4:o=ig;break;default:o=mc}n=o.bind(null,t,n,e),o=void 0,!ra||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ns(e,t,n,i,o){var l=i;if(!(t&1)&&!(t&2)&&i!==null)e:for(;;){if(i===null)return;var s=i.tag;if(s===3||s===4){var a=i.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=i.return;s!==null;){var u=s.tag;if((u===3||u===4)&&(u=s.stateNode.containerInfo,u===o||u.nodeType===8&&u.parentNode===o))return;s=s.return}for(;a!==null;){if(s=On(a),s===null)return;if(u=s.tag,u===5||u===6){i=l=s;continue e}a=a.parentNode}}i=i.return}Pf(function(){var c=l,d=uc(n),f=[];e:{var v=ip.get(e);if(v!==void 0){var j=vc,g=e;switch(e){case"keypress":if(yo(n)===0)break e;case"keydown":case"keyup":j=xg;break;case"focusin":g="focus",j=ms;break;case"focusout":g="blur",j=ms;break;case"beforeblur":case"afterblur":j=ms;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":j=Su;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=sg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Cg;break;case ep:case tp:case np:j=ug;break;case rp:j=wg;break;case"scroll":j=og;break;case"wheel":j=kg;break;case"copy":case"cut":case"paste":j=fg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Eu}var x=(t&4)!==0,N=!x&&e==="scroll",m=x?v!==null?v+"Capture":null:v;x=[];for(var h=c,p;h!==null;){p=h;var y=p.stateNode;if(p.tag===5&&y!==null&&(p=y,m!==null&&(y=mi(h,m),y!=null&&x.push(Ni(h,y,p)))),N)break;h=h.return}0<x.length&&(v=new j(v,g,null,n,d),f.push({event:v,listeners:x}))}}if(!(t&7)){e:{if(v=e==="mouseover"||e==="pointerover",j=e==="mouseout"||e==="pointerout",v&&n!==ta&&(g=n.relatedTarget||n.fromElement)&&(On(g)||g[Ut]))break e;if((j||v)&&(v=d.window===d?d:(v=d.ownerDocument)?v.defaultView||v.parentWindow:window,j?(g=n.relatedTarget||n.toElement,j=c,g=g?On(g):null,g!==null&&(N=Kn(g),g!==N||g.tag!==5&&g.tag!==6)&&(g=null)):(j=null,g=c),j!==g)){if(x=Su,y="onMouseLeave",m="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(x=Eu,y="onPointerLeave",m="onPointerEnter",h="pointer"),N=j==null?v:nr(j),p=g==null?v:nr(g),v=new x(y,h+"leave",j,n,d),v.target=N,v.relatedTarget=p,y=null,On(d)===c&&(x=new x(m,h+"enter",g,n,d),x.target=p,x.relatedTarget=N,y=x),N=y,j&&g)t:{for(x=j,m=g,h=0,p=x;p;p=Qn(p))h++;for(p=0,y=m;y;y=Qn(y))p++;for(;0<h-p;)x=Qn(x),h--;for(;0<p-h;)m=Qn(m),p--;for(;h--;){if(x===m||m!==null&&x===m.alternate)break t;x=Qn(x),m=Qn(m)}x=null}else x=null;j!==null&&Lu(f,v,j,x,!1),g!==null&&N!==null&&Lu(f,N,g,x,!0)}}e:{if(v=c?nr(c):window,j=v.nodeName&&v.nodeName.toLowerCase(),j==="select"||j==="input"&&v.type==="file")var w=Ag;else if(Ou(v))if(Gf)w=Fg;else{w=Dg;var k=Ig}else(j=v.nodeName)&&j.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(w=Mg);if(w&&(w=w(e,c))){Yf(f,w,n,d);break e}k&&k(e,v,c),e==="focusout"&&(k=v._wrapperState)&&k.controlled&&v.type==="number"&&Qs(v,"number",v.value)}switch(k=c?nr(c):window,e){case"focusin":(Ou(k)||k.contentEditable==="true")&&(er=k,aa=c,ri=null);break;case"focusout":ri=aa=er=null;break;case"mousedown":ca=!0;break;case"contextmenu":case"mouseup":case"dragend":ca=!1,Du(f,n,d);break;case"selectionchange":if(Bg)break;case"keydown":case"keyup":Du(f,n,d)}var _;if(yc)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else Zn?Hf(e,n)&&(S="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(S="onCompositionStart");S&&(Vf&&n.locale!=="ko"&&(Zn||S!=="onCompositionStart"?S==="onCompositionEnd"&&Zn&&(_=qf()):(on=d,hc="value"in on?on.value:on.textContent,Zn=!0)),k=Ho(c,S),0<k.length&&(S=new ku(S,e,null,n,d),f.push({event:S,listeners:k}),_?S.data=_:(_=Kf(n),_!==null&&(S.data=_)))),(_=_g?Pg(e,n):Og(e,n))&&(c=Ho(c,"onBeforeInput"),0<c.length&&(d=new ku("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:c}),d.data=_))}op(f,t)})}function Ni(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ho(e,t){for(var n=t+"Capture",i=[];e!==null;){var o=e,l=o.stateNode;o.tag===5&&l!==null&&(o=l,l=mi(e,n),l!=null&&i.unshift(Ni(e,l,o)),l=mi(e,t),l!=null&&i.push(Ni(e,l,o))),e=e.return}return i}function Qn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Lu(e,t,n,i,o){for(var l=t._reactName,s=[];n!==null&&n!==i;){var a=n,u=a.alternate,c=a.stateNode;if(u!==null&&u===i)break;a.tag===5&&c!==null&&(a=c,o?(u=mi(n,l),u!=null&&s.unshift(Ni(n,u,a))):o||(u=mi(n,l),u!=null&&s.push(Ni(n,u,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var qg=/\r\n?/g,Vg=/\u0000|\uFFFD/g;function zu(e){return(typeof e=="string"?e:""+e).replace(qg,`
|
|
`).replace(Vg,"")}function ro(e,t,n){if(t=zu(t),zu(e)!==t&&n)throw Error(W(425))}function Ko(){}var ua=null,da=null;function fa(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 pa=typeof setTimeout=="function"?setTimeout:void 0,Hg=typeof clearTimeout=="function"?clearTimeout:void 0,Bu=typeof Promise=="function"?Promise:void 0,Kg=typeof queueMicrotask=="function"?queueMicrotask:typeof Bu<"u"?function(e){return Bu.resolve(null).then(e).catch(Yg)}:pa;function Yg(e){setTimeout(function(){throw e})}function Cs(e,t){var n=t,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(i===0){e.removeChild(o),gi(t);return}i--}else n!=="$"&&n!=="$?"&&n!=="$!"||i++;n=o}while(n);gi(t)}function fn(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 Wu(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 Tr=Math.random().toString(36).slice(2),Tt="__reactFiber$"+Tr,Ci="__reactProps$"+Tr,Ut="__reactContainer$"+Tr,ma="__reactEvents$"+Tr,Gg="__reactListeners$"+Tr,Qg="__reactHandles$"+Tr;function On(e){var t=e[Tt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ut]||n[Tt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Wu(e);e!==null;){if(n=e[Tt])return n;e=Wu(e)}return t}e=n,n=e.parentNode}return null}function zi(e){return e=e[Tt]||e[Ut],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function nr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(W(33))}function kl(e){return e[Ci]||null}var ha=[],rr=-1;function Cn(e){return{current:e}}function me(e){0>rr||(e.current=ha[rr],ha[rr]=null,rr--)}function de(e,t){rr++,ha[rr]=e.current,e.current=t}var xn={},Le=Cn(xn),Ye=Cn(!1),Ln=xn;function Nr(e,t){var n=e.type.contextTypes;if(!n)return xn;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ge(e){return e=e.childContextTypes,e!=null}function Yo(){me(Ye),me(Le)}function $u(e,t,n){if(Le.current!==xn)throw Error(W(168));de(Le,t),de(Ye,n)}function sp(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!="function")return n;i=i.getChildContext();for(var o in i)if(!(o in t))throw Error(W(108,Iv(e)||"Unknown",o));return xe({},n,i)}function Go(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xn,Ln=Le.current,de(Le,e),de(Ye,Ye.current),!0}function Uu(e,t,n){var i=e.stateNode;if(!i)throw Error(W(169));n?(e=sp(e,t,Ln),i.__reactInternalMemoizedMergedChildContext=e,me(Ye),me(Le),de(Le,e)):me(Ye),de(Ye,n)}var Lt=null,El=!1,bs=!1;function ap(e){Lt===null?Lt=[e]:Lt.push(e)}function Jg(e){El=!0,ap(e)}function bn(){if(!bs&&Lt!==null){bs=!0;var e=0,t=ue;try{var n=Lt;for(ue=1;e<n.length;e++){var i=n[e];do i=i(!0);while(i!==null)}Lt=null,El=!1}catch(o){throw Lt!==null&&(Lt=Lt.slice(e+1)),Af(dc,bn),o}finally{ue=t,bs=!1}}return null}var ir=[],or=0,Qo=null,Jo=0,dt=[],ft=0,zn=null,zt=1,Bt="";function kn(e,t){ir[or++]=Jo,ir[or++]=Qo,Qo=e,Jo=t}function cp(e,t,n){dt[ft++]=zt,dt[ft++]=Bt,dt[ft++]=zn,zn=e;var i=zt;e=Bt;var o=32-Ct(i)-1;i&=~(1<<o),n+=1;var l=32-Ct(t)+o;if(30<l){var s=o-o%5;l=(i&(1<<s)-1).toString(32),i>>=s,o-=s,zt=1<<32-Ct(t)+o|n<<o|i,Bt=l+e}else zt=1<<l|n<<o|i,Bt=e}function jc(e){e.return!==null&&(kn(e,1),cp(e,1,0))}function Nc(e){for(;e===Qo;)Qo=ir[--or],ir[or]=null,Jo=ir[--or],ir[or]=null;for(;e===zn;)zn=dt[--ft],dt[ft]=null,Bt=dt[--ft],dt[ft]=null,zt=dt[--ft],dt[ft]=null}var it=null,tt=null,ve=!1,jt=null;function up(e,t){var n=pt(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 qu(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,it=e,tt=fn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,it=e,tt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=zn!==null?{id:zt,overflow:Bt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=pt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,it=e,tt=null,!0):!1;default:return!1}}function va(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ga(e){if(ve){var t=tt;if(t){var n=t;if(!qu(e,t)){if(va(e))throw Error(W(418));t=fn(n.nextSibling);var i=it;t&&qu(e,t)?up(i,n):(e.flags=e.flags&-4097|2,ve=!1,it=e)}}else{if(va(e))throw Error(W(418));e.flags=e.flags&-4097|2,ve=!1,it=e}}}function Vu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;it=e}function io(e){if(e!==it)return!1;if(!ve)return Vu(e),ve=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!fa(e.type,e.memoizedProps)),t&&(t=tt)){if(va(e))throw dp(),Error(W(418));for(;t;)up(e,t),t=fn(t.nextSibling)}if(Vu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(W(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){tt=fn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}tt=null}}else tt=it?fn(e.stateNode.nextSibling):null;return!0}function dp(){for(var e=tt;e;)e=fn(e.nextSibling)}function Cr(){tt=it=null,ve=!1}function Cc(e){jt===null?jt=[e]:jt.push(e)}var Xg=Kt.ReactCurrentBatchConfig;function qr(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(W(309));var i=n.stateNode}if(!i)throw Error(W(147,e));var o=i,l=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===l?t.ref:(t=function(s){var a=o.refs;s===null?delete a[l]:a[l]=s},t._stringRef=l,t)}if(typeof e!="string")throw Error(W(284));if(!n._owner)throw Error(W(290,e))}return e}function oo(e,t){throw e=Object.prototype.toString.call(t),Error(W(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Hu(e){var t=e._init;return t(e._payload)}function fp(e){function t(m,h){if(e){var p=m.deletions;p===null?(m.deletions=[h],m.flags|=16):p.push(h)}}function n(m,h){if(!e)return null;for(;h!==null;)t(m,h),h=h.sibling;return null}function i(m,h){for(m=new Map;h!==null;)h.key!==null?m.set(h.key,h):m.set(h.index,h),h=h.sibling;return m}function o(m,h){return m=vn(m,h),m.index=0,m.sibling=null,m}function l(m,h,p){return m.index=p,e?(p=m.alternate,p!==null?(p=p.index,p<h?(m.flags|=2,h):p):(m.flags|=2,h)):(m.flags|=1048576,h)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,h,p,y){return h===null||h.tag!==6?(h=Os(p,m.mode,y),h.return=m,h):(h=o(h,p),h.return=m,h)}function u(m,h,p,y){var w=p.type;return w===Xn?d(m,h,p.props.children,y,p.key):h!==null&&(h.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Jt&&Hu(w)===h.type)?(y=o(h,p.props),y.ref=qr(m,h,p),y.return=m,y):(y=So(p.type,p.key,p.props,null,m.mode,y),y.ref=qr(m,h,p),y.return=m,y)}function c(m,h,p,y){return h===null||h.tag!==4||h.stateNode.containerInfo!==p.containerInfo||h.stateNode.implementation!==p.implementation?(h=Ts(p,m.mode,y),h.return=m,h):(h=o(h,p.children||[]),h.return=m,h)}function d(m,h,p,y,w){return h===null||h.tag!==7?(h=Dn(p,m.mode,y,w),h.return=m,h):(h=o(h,p),h.return=m,h)}function f(m,h,p){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Os(""+h,m.mode,p),h.return=m,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Yi:return p=So(h.type,h.key,h.props,null,m.mode,p),p.ref=qr(m,null,h),p.return=m,p;case Jn:return h=Ts(h,m.mode,p),h.return=m,h;case Jt:var y=h._init;return f(m,y(h._payload),p)}if(Gr(h)||zr(h))return h=Dn(h,m.mode,p,null),h.return=m,h;oo(m,h)}return null}function v(m,h,p,y){var w=h!==null?h.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return w!==null?null:a(m,h,""+p,y);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Yi:return p.key===w?u(m,h,p,y):null;case Jn:return p.key===w?c(m,h,p,y):null;case Jt:return w=p._init,v(m,h,w(p._payload),y)}if(Gr(p)||zr(p))return w!==null?null:d(m,h,p,y,null);oo(m,p)}return null}function j(m,h,p,y,w){if(typeof y=="string"&&y!==""||typeof y=="number")return m=m.get(p)||null,a(h,m,""+y,w);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Yi:return m=m.get(y.key===null?p:y.key)||null,u(h,m,y,w);case Jn:return m=m.get(y.key===null?p:y.key)||null,c(h,m,y,w);case Jt:var k=y._init;return j(m,h,p,k(y._payload),w)}if(Gr(y)||zr(y))return m=m.get(p)||null,d(h,m,y,w,null);oo(h,y)}return null}function g(m,h,p,y){for(var w=null,k=null,_=h,S=h=0,M=null;_!==null&&S<p.length;S++){_.index>S?(M=_,_=null):M=_.sibling;var L=v(m,_,p[S],y);if(L===null){_===null&&(_=M);break}e&&_&&L.alternate===null&&t(m,_),h=l(L,h,S),k===null?w=L:k.sibling=L,k=L,_=M}if(S===p.length)return n(m,_),ve&&kn(m,S),w;if(_===null){for(;S<p.length;S++)_=f(m,p[S],y),_!==null&&(h=l(_,h,S),k===null?w=_:k.sibling=_,k=_);return ve&&kn(m,S),w}for(_=i(m,_);S<p.length;S++)M=j(_,m,S,p[S],y),M!==null&&(e&&M.alternate!==null&&_.delete(M.key===null?S:M.key),h=l(M,h,S),k===null?w=M:k.sibling=M,k=M);return e&&_.forEach(function($){return t(m,$)}),ve&&kn(m,S),w}function x(m,h,p,y){var w=zr(p);if(typeof w!="function")throw Error(W(150));if(p=w.call(p),p==null)throw Error(W(151));for(var k=w=null,_=h,S=h=0,M=null,L=p.next();_!==null&&!L.done;S++,L=p.next()){_.index>S?(M=_,_=null):M=_.sibling;var $=v(m,_,L.value,y);if($===null){_===null&&(_=M);break}e&&_&&$.alternate===null&&t(m,_),h=l($,h,S),k===null?w=$:k.sibling=$,k=$,_=M}if(L.done)return n(m,_),ve&&kn(m,S),w;if(_===null){for(;!L.done;S++,L=p.next())L=f(m,L.value,y),L!==null&&(h=l(L,h,S),k===null?w=L:k.sibling=L,k=L);return ve&&kn(m,S),w}for(_=i(m,_);!L.done;S++,L=p.next())L=j(_,m,S,L.value,y),L!==null&&(e&&L.alternate!==null&&_.delete(L.key===null?S:L.key),h=l(L,h,S),k===null?w=L:k.sibling=L,k=L);return e&&_.forEach(function(Z){return t(m,Z)}),ve&&kn(m,S),w}function N(m,h,p,y){if(typeof p=="object"&&p!==null&&p.type===Xn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Yi:e:{for(var w=p.key,k=h;k!==null;){if(k.key===w){if(w=p.type,w===Xn){if(k.tag===7){n(m,k.sibling),h=o(k,p.props.children),h.return=m,m=h;break e}}else if(k.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Jt&&Hu(w)===k.type){n(m,k.sibling),h=o(k,p.props),h.ref=qr(m,k,p),h.return=m,m=h;break e}n(m,k);break}else t(m,k);k=k.sibling}p.type===Xn?(h=Dn(p.props.children,m.mode,y,p.key),h.return=m,m=h):(y=So(p.type,p.key,p.props,null,m.mode,y),y.ref=qr(m,h,p),y.return=m,m=y)}return s(m);case Jn:e:{for(k=p.key;h!==null;){if(h.key===k)if(h.tag===4&&h.stateNode.containerInfo===p.containerInfo&&h.stateNode.implementation===p.implementation){n(m,h.sibling),h=o(h,p.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=Ts(p,m.mode,y),h.return=m,m=h}return s(m);case Jt:return k=p._init,N(m,h,k(p._payload),y)}if(Gr(p))return g(m,h,p,y);if(zr(p))return x(m,h,p,y);oo(m,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,h!==null&&h.tag===6?(n(m,h.sibling),h=o(h,p),h.return=m,m=h):(n(m,h),h=Os(p,m.mode,y),h.return=m,m=h),s(m)):n(m,h)}return N}var br=fp(!0),pp=fp(!1),Xo=Cn(null),Zo=null,lr=null,bc=null;function wc(){bc=lr=Zo=null}function Sc(e){var t=Xo.current;me(Xo),e._currentValue=t}function ya(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function yr(e,t){Zo=e,bc=lr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ke=!0),e.firstContext=null)}function ht(e){var t=e._currentValue;if(bc!==e)if(e={context:e,memoizedValue:t,next:null},lr===null){if(Zo===null)throw Error(W(308));lr=e,Zo.dependencies={lanes:0,firstContext:e}}else lr=lr.next=e;return t}var Tn=null;function kc(e){Tn===null?Tn=[e]:Tn.push(e)}function mp(e,t,n,i){var o=t.interleaved;return o===null?(n.next=n,kc(t)):(n.next=o.next,o.next=n),t.interleaved=n,qt(e,i)}function qt(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 Xt=!1;function Ec(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function hp(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 Wt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function pn(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,se&2){var o=i.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,qt(e,n)}return o=i.interleaved,o===null?(t.next=t,kc(i)):(t.next=o.next,o.next=t),i.interleaved=t,qt(e,n)}function xo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,fc(e,n)}}function Ku(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var o=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};l===null?o=l=s:l=l.next=s,n=n.next}while(n!==null);l===null?o=l=t:l=l.next=t}else o=l=t;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:l,shared:i.shared,effects:i.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function el(e,t,n,i){var o=e.updateQueue;Xt=!1;var l=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var u=a,c=u.next;u.next=null,s===null?l=c:s.next=c,s=u;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=c:a.next=c,d.lastBaseUpdate=u))}if(l!==null){var f=o.baseState;s=0,d=c=u=null,a=l;do{var v=a.lane,j=a.eventTime;if((i&v)===v){d!==null&&(d=d.next={eventTime:j,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=e,x=a;switch(v=t,j=n,x.tag){case 1:if(g=x.payload,typeof g=="function"){f=g.call(j,f,v);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=x.payload,v=typeof g=="function"?g.call(j,f,v):g,v==null)break e;f=xe({},f,v);break e;case 2:Xt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,v=o.effects,v===null?o.effects=[a]:v.push(a))}else j={eventTime:j,lane:v,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=j,u=f):d=d.next=j,s|=v;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;v=a,a=v.next,v.next=null,o.lastBaseUpdate=v,o.shared.pending=null}}while(!0);if(d===null&&(u=f),o.baseState=u,o.firstBaseUpdate=c,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else l===null&&(o.shared.lanes=0);Wn|=s,e.lanes=s,e.memoizedState=f}}function Yu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],o=i.callback;if(o!==null){if(i.callback=null,i=n,typeof o!="function")throw Error(W(191,o));o.call(i)}}}var Bi={},It=Cn(Bi),bi=Cn(Bi),wi=Cn(Bi);function Rn(e){if(e===Bi)throw Error(W(174));return e}function _c(e,t){switch(de(wi,t),de(bi,e),de(It,Bi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xs(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xs(t,e)}me(It),de(It,t)}function wr(){me(It),me(bi),me(wi)}function vp(e){Rn(wi.current);var t=Rn(It.current),n=Xs(t,e.type);t!==n&&(de(bi,e),de(It,n))}function Pc(e){bi.current===e&&(me(It),me(bi))}var ge=Cn(0);function tl(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 ws=[];function Oc(){for(var e=0;e<ws.length;e++)ws[e]._workInProgressVersionPrimary=null;ws.length=0}var jo=Kt.ReactCurrentDispatcher,Ss=Kt.ReactCurrentBatchConfig,Bn=0,ye=null,Se=null,_e=null,nl=!1,ii=!1,Si=0,Zg=0;function De(){throw Error(W(321))}function Tc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!St(e[n],t[n]))return!1;return!0}function Rc(e,t,n,i,o,l){if(Bn=l,ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,jo.current=e===null||e.memoizedState===null?ry:iy,e=n(i,o),ii){l=0;do{if(ii=!1,Si=0,25<=l)throw Error(W(301));l+=1,_e=Se=null,t.updateQueue=null,jo.current=oy,e=n(i,o)}while(ii)}if(jo.current=rl,t=Se!==null&&Se.next!==null,Bn=0,_e=Se=ye=null,nl=!1,t)throw Error(W(300));return e}function Ac(){var e=Si!==0;return Si=0,e}function Pt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _e===null?ye.memoizedState=_e=e:_e=_e.next=e,_e}function vt(){if(Se===null){var e=ye.alternate;e=e!==null?e.memoizedState:null}else e=Se.next;var t=_e===null?ye.memoizedState:_e.next;if(t!==null)_e=t,Se=e;else{if(e===null)throw Error(W(310));Se=e,e={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},_e===null?ye.memoizedState=_e=e:_e=_e.next=e}return _e}function ki(e,t){return typeof t=="function"?t(e):t}function ks(e){var t=vt(),n=t.queue;if(n===null)throw Error(W(311));n.lastRenderedReducer=e;var i=Se,o=i.baseQueue,l=n.pending;if(l!==null){if(o!==null){var s=o.next;o.next=l.next,l.next=s}i.baseQueue=o=l,n.pending=null}if(o!==null){l=o.next,i=i.baseState;var a=s=null,u=null,c=l;do{var d=c.lane;if((Bn&d)===d)u!==null&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),i=c.hasEagerState?c.eagerState:e(i,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(a=u=f,s=i):u=u.next=f,ye.lanes|=d,Wn|=d}c=c.next}while(c!==null&&c!==l);u===null?s=i:u.next=a,St(i,t.memoizedState)||(Ke=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=u,n.lastRenderedState=i}if(e=n.interleaved,e!==null){o=e;do l=o.lane,ye.lanes|=l,Wn|=l,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Es(e){var t=vt(),n=t.queue;if(n===null)throw Error(W(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,l=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do l=e(l,s.action),s=s.next;while(s!==o);St(l,t.memoizedState)||(Ke=!0),t.memoizedState=l,t.baseQueue===null&&(t.baseState=l),n.lastRenderedState=l}return[l,i]}function gp(){}function yp(e,t){var n=ye,i=vt(),o=t(),l=!St(i.memoizedState,o);if(l&&(i.memoizedState=o,Ke=!0),i=i.queue,Ic(Np.bind(null,n,i,e),[e]),i.getSnapshot!==t||l||_e!==null&&_e.memoizedState.tag&1){if(n.flags|=2048,Ei(9,jp.bind(null,n,i,o,t),void 0,null),Pe===null)throw Error(W(349));Bn&30||xp(n,t,o)}return o}function xp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ye.updateQueue,t===null?(t={lastEffect:null,stores:null},ye.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function jp(e,t,n,i){t.value=n,t.getSnapshot=i,Cp(t)&&bp(e)}function Np(e,t,n){return n(function(){Cp(t)&&bp(e)})}function Cp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!St(e,n)}catch{return!0}}function bp(e){var t=qt(e,1);t!==null&&bt(t,e,1,-1)}function Gu(e){var t=Pt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ki,lastRenderedState:e},t.queue=e,e=e.dispatch=ny.bind(null,ye,e),[t.memoizedState,e]}function Ei(e,t,n,i){return e={tag:e,create:t,destroy:n,deps:i,next:null},t=ye.updateQueue,t===null?(t={lastEffect:null,stores:null},ye.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e)),e}function wp(){return vt().memoizedState}function No(e,t,n,i){var o=Pt();ye.flags|=e,o.memoizedState=Ei(1|t,n,void 0,i===void 0?null:i)}function _l(e,t,n,i){var o=vt();i=i===void 0?null:i;var l=void 0;if(Se!==null){var s=Se.memoizedState;if(l=s.destroy,i!==null&&Tc(i,s.deps)){o.memoizedState=Ei(t,n,l,i);return}}ye.flags|=e,o.memoizedState=Ei(1|t,n,l,i)}function Qu(e,t){return No(8390656,8,e,t)}function Ic(e,t){return _l(2048,8,e,t)}function Sp(e,t){return _l(4,2,e,t)}function kp(e,t){return _l(4,4,e,t)}function Ep(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 _p(e,t,n){return n=n!=null?n.concat([e]):null,_l(4,4,Ep.bind(null,t,e),n)}function Dc(){}function Pp(e,t){var n=vt();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Tc(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function Op(e,t){var n=vt();t=t===void 0?null:t;var i=n.memoizedState;return i!==null&&t!==null&&Tc(t,i[1])?i[0]:(e=e(),n.memoizedState=[e,t],e)}function Tp(e,t,n){return Bn&21?(St(n,t)||(n=Mf(),ye.lanes|=n,Wn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ke=!0),e.memoizedState=n)}function ey(e,t){var n=ue;ue=n!==0&&4>n?n:4,e(!0);var i=Ss.transition;Ss.transition={};try{e(!1),t()}finally{ue=n,Ss.transition=i}}function Rp(){return vt().memoizedState}function ty(e,t,n){var i=hn(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},Ap(e))Ip(t,n);else if(n=mp(e,t,n,i),n!==null){var o=We();bt(n,e,i,o),Dp(n,t,i)}}function ny(e,t,n){var i=hn(e),o={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ap(e))Ip(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var s=t.lastRenderedState,a=l(s,n);if(o.hasEagerState=!0,o.eagerState=a,St(a,s)){var u=t.interleaved;u===null?(o.next=o,kc(t)):(o.next=u.next,u.next=o),t.interleaved=o;return}}catch{}finally{}n=mp(e,t,o,i),n!==null&&(o=We(),bt(n,e,i,o),Dp(n,t,i))}}function Ap(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function Ip(e,t){ii=nl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Dp(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,fc(e,n)}}var rl={readContext:ht,useCallback:De,useContext:De,useEffect:De,useImperativeHandle:De,useInsertionEffect:De,useLayoutEffect:De,useMemo:De,useReducer:De,useRef:De,useState:De,useDebugValue:De,useDeferredValue:De,useTransition:De,useMutableSource:De,useSyncExternalStore:De,useId:De,unstable_isNewReconciler:!1},ry={readContext:ht,useCallback:function(e,t){return Pt().memoizedState=[e,t===void 0?null:t],e},useContext:ht,useEffect:Qu,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,No(4194308,4,Ep.bind(null,t,e),n)},useLayoutEffect:function(e,t){return No(4194308,4,e,t)},useInsertionEffect:function(e,t){return No(4,2,e,t)},useMemo:function(e,t){var n=Pt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=Pt();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=ty.bind(null,ye,e),[i.memoizedState,e]},useRef:function(e){var t=Pt();return e={current:e},t.memoizedState=e},useState:Gu,useDebugValue:Dc,useDeferredValue:function(e){return Pt().memoizedState=e},useTransition:function(){var e=Gu(!1),t=e[0];return e=ey.bind(null,e[1]),Pt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=ye,o=Pt();if(ve){if(n===void 0)throw Error(W(407));n=n()}else{if(n=t(),Pe===null)throw Error(W(349));Bn&30||xp(i,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,Qu(Np.bind(null,i,l,e),[e]),i.flags|=2048,Ei(9,jp.bind(null,i,l,n,t),void 0,null),n},useId:function(){var e=Pt(),t=Pe.identifierPrefix;if(ve){var n=Bt,i=zt;n=(i&~(1<<32-Ct(i)-1)).toString(32)+n,t=":"+t+"R"+n,n=Si++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Zg++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},iy={readContext:ht,useCallback:Pp,useContext:ht,useEffect:Ic,useImperativeHandle:_p,useInsertionEffect:Sp,useLayoutEffect:kp,useMemo:Op,useReducer:ks,useRef:wp,useState:function(){return ks(ki)},useDebugValue:Dc,useDeferredValue:function(e){var t=vt();return Tp(t,Se.memoizedState,e)},useTransition:function(){var e=ks(ki)[0],t=vt().memoizedState;return[e,t]},useMutableSource:gp,useSyncExternalStore:yp,useId:Rp,unstable_isNewReconciler:!1},oy={readContext:ht,useCallback:Pp,useContext:ht,useEffect:Ic,useImperativeHandle:_p,useInsertionEffect:Sp,useLayoutEffect:kp,useMemo:Op,useReducer:Es,useRef:wp,useState:function(){return Es(ki)},useDebugValue:Dc,useDeferredValue:function(e){var t=vt();return Se===null?t.memoizedState=e:Tp(t,Se.memoizedState,e)},useTransition:function(){var e=Es(ki)[0],t=vt().memoizedState;return[e,t]},useMutableSource:gp,useSyncExternalStore:yp,useId:Rp,unstable_isNewReconciler:!1};function yt(e,t){if(e&&e.defaultProps){t=xe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function xa(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:xe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Pl={isMounted:function(e){return(e=e._reactInternals)?Kn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var i=We(),o=hn(e),l=Wt(i,o);l.payload=t,n!=null&&(l.callback=n),t=pn(e,l,o),t!==null&&(bt(t,e,o,i),xo(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=We(),o=hn(e),l=Wt(i,o);l.tag=1,l.payload=t,n!=null&&(l.callback=n),t=pn(e,l,o),t!==null&&(bt(t,e,o,i),xo(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=We(),i=hn(e),o=Wt(n,i);o.tag=2,t!=null&&(o.callback=t),t=pn(e,o,i),t!==null&&(bt(t,e,i,n),xo(t,e,i))}};function Ju(e,t,n,i,o,l,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,l,s):t.prototype&&t.prototype.isPureReactComponent?!xi(n,i)||!xi(o,l):!0}function Mp(e,t,n){var i=!1,o=xn,l=t.contextType;return typeof l=="object"&&l!==null?l=ht(l):(o=Ge(t)?Ln:Le.current,i=t.contextTypes,l=(i=i!=null)?Nr(e,o):xn),t=new t(n,l),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Pl,e.stateNode=t,t._reactInternals=e,i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=l),t}function Xu(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&Pl.enqueueReplaceState(t,t.state,null)}function ja(e,t,n,i){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Ec(e);var l=t.contextType;typeof l=="object"&&l!==null?o.context=ht(l):(l=Ge(t)?Ln:Le.current,o.context=Nr(e,l)),o.state=e.memoizedState,l=t.getDerivedStateFromProps,typeof l=="function"&&(xa(e,t,l,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Pl.enqueueReplaceState(o,o.state,null),el(e,n,o,i),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Sr(e,t){try{var n="",i=t;do n+=Av(i),i=i.return;while(i);var o=n}catch(l){o=`
|
|
Error generating stack: `+l.message+`
|
|
`+l.stack}return{value:e,source:t,stack:o,digest:null}}function _s(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Na(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ly=typeof WeakMap=="function"?WeakMap:Map;function Fp(e,t,n){n=Wt(-1,n),n.tag=3,n.payload={element:null};var i=t.value;return n.callback=function(){ol||(ol=!0,Ta=i),Na(e,t)},n}function Lp(e,t,n){n=Wt(-1,n),n.tag=3;var i=e.type.getDerivedStateFromError;if(typeof i=="function"){var o=t.value;n.payload=function(){return i(o)},n.callback=function(){Na(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Na(e,t),typeof i!="function"&&(mn===null?mn=new Set([this]):mn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Zu(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new ly;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(n)||(o.add(n),e=jy.bind(null,e,t,n),t.then(e,e))}function ed(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 td(e,t,n,i,o){return e.mode&1?(e.flags|=65536,e.lanes=o,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=Wt(-1,1),t.tag=2,pn(n,t,1))),n.lanes|=1),e)}var sy=Kt.ReactCurrentOwner,Ke=!1;function ze(e,t,n,i){t.child=e===null?pp(t,null,n,i):br(t,e.child,n,i)}function nd(e,t,n,i,o){n=n.render;var l=t.ref;return yr(t,o),i=Rc(e,t,n,i,l,o),n=Ac(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vt(e,t,o)):(ve&&n&&jc(t),t.flags|=1,ze(e,t,i,o),t.child)}function rd(e,t,n,i,o){if(e===null){var l=n.type;return typeof l=="function"&&!Uc(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,zp(e,t,l,i,o)):(e=So(n.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&o)){var s=l.memoizedProps;if(n=n.compare,n=n!==null?n:xi,n(s,i)&&e.ref===t.ref)return Vt(e,t,o)}return t.flags|=1,e=vn(l,i),e.ref=t.ref,e.return=t,t.child=e}function zp(e,t,n,i,o){if(e!==null){var l=e.memoizedProps;if(xi(l,i)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=i=l,(e.lanes&o)!==0)e.flags&131072&&(Ke=!0);else return t.lanes=e.lanes,Vt(e,t,o)}return Ca(e,t,n,i,o)}function Bp(e,t,n){var i=t.pendingProps,o=i.children,l=e!==null?e.memoizedState:null;if(i.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},de(ar,et),et|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,de(ar,et),et|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},i=l!==null?l.baseLanes:n,de(ar,et),et|=i}else l!==null?(i=l.baseLanes|n,t.memoizedState=null):i=n,de(ar,et),et|=i;return ze(e,t,o,n),t.child}function Wp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ca(e,t,n,i,o){var l=Ge(n)?Ln:Le.current;return l=Nr(t,l),yr(t,o),n=Rc(e,t,n,i,l,o),i=Ac(),e!==null&&!Ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vt(e,t,o)):(ve&&i&&jc(t),t.flags|=1,ze(e,t,n,o),t.child)}function id(e,t,n,i,o){if(Ge(n)){var l=!0;Go(t)}else l=!1;if(yr(t,o),t.stateNode===null)Co(e,t),Mp(t,n,i),ja(t,n,i,o),i=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var u=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=ht(c):(c=Ge(n)?Ln:Le.current,c=Nr(t,c));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==i||u!==c)&&Xu(t,s,i,c),Xt=!1;var v=t.memoizedState;s.state=v,el(t,i,s,o),u=t.memoizedState,a!==i||v!==u||Ye.current||Xt?(typeof d=="function"&&(xa(t,n,d,i),u=t.memoizedState),(a=Xt||Ju(t,n,a,i,v,u,c))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=u),s.props=i,s.state=u,s.context=c,i=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{s=t.stateNode,hp(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:yt(t.type,a),s.props=c,f=t.pendingProps,v=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=ht(u):(u=Ge(n)?Ln:Le.current,u=Nr(t,u));var j=n.getDerivedStateFromProps;(d=typeof j=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||v!==u)&&Xu(t,s,i,u),Xt=!1,v=t.memoizedState,s.state=v,el(t,i,s,o);var g=t.memoizedState;a!==f||v!==g||Ye.current||Xt?(typeof j=="function"&&(xa(t,n,j,i),g=t.memoizedState),(c=Xt||Ju(t,n,c,i,v,g,u)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,g,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,g,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=g),s.props=i,s.state=g,s.context=u,i=c):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&v===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&v===e.memoizedState||(t.flags|=1024),i=!1)}return ba(e,t,n,i,l,o)}function ba(e,t,n,i,o,l){Wp(e,t);var s=(t.flags&128)!==0;if(!i&&!s)return o&&Uu(t,n,!1),Vt(e,t,l);i=t.stateNode,sy.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:i.render();return t.flags|=1,e!==null&&s?(t.child=br(t,e.child,null,l),t.child=br(t,null,a,l)):ze(e,t,a,l),t.memoizedState=i.state,o&&Uu(t,n,!0),t.child}function $p(e){var t=e.stateNode;t.pendingContext?$u(e,t.pendingContext,t.pendingContext!==t.context):t.context&&$u(e,t.context,!1),_c(e,t.containerInfo)}function od(e,t,n,i,o){return Cr(),Cc(o),t.flags|=256,ze(e,t,n,i),t.child}var wa={dehydrated:null,treeContext:null,retryLane:0};function Sa(e){return{baseLanes:e,cachePool:null,transitions:null}}function Up(e,t,n){var i=t.pendingProps,o=ge.current,l=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),de(ge,o&1),e===null)return ga(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):(s=i.children,e=i.fallback,l?(i=t.mode,l=t.child,s={mode:"hidden",children:s},!(i&1)&&l!==null?(l.childLanes=0,l.pendingProps=s):l=Rl(s,i,0,null),e=Dn(e,i,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Sa(n),t.memoizedState=wa,e):Mc(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return ay(e,t,s,i,a,o,n);if(l){l=i.fallback,s=t.mode,o=e.child,a=o.sibling;var u={mode:"hidden",children:i.children};return!(s&1)&&t.child!==o?(i=t.child,i.childLanes=0,i.pendingProps=u,t.deletions=null):(i=vn(o,u),i.subtreeFlags=o.subtreeFlags&14680064),a!==null?l=vn(a,l):(l=Dn(l,s,n,null),l.flags|=2),l.return=t,i.return=t,i.sibling=l,t.child=i,i=l,l=t.child,s=e.child.memoizedState,s=s===null?Sa(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=wa,i}return l=e.child,e=l.sibling,i=vn(l,{mode:"visible",children:i.children}),!(t.mode&1)&&(i.lanes=n),i.return=t,i.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Mc(e,t){return t=Rl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function lo(e,t,n,i){return i!==null&&Cc(i),br(t,e.child,null,n),e=Mc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ay(e,t,n,i,o,l,s){if(n)return t.flags&256?(t.flags&=-257,i=_s(Error(W(422))),lo(e,t,s,i)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=i.fallback,o=t.mode,i=Rl({mode:"visible",children:i.children},o,0,null),l=Dn(l,o,s,null),l.flags|=2,i.return=t,l.return=t,i.sibling=l,t.child=i,t.mode&1&&br(t,e.child,null,s),t.child.memoizedState=Sa(s),t.memoizedState=wa,l);if(!(t.mode&1))return lo(e,t,s,null);if(o.data==="$!"){if(i=o.nextSibling&&o.nextSibling.dataset,i)var a=i.dgst;return i=a,l=Error(W(419)),i=_s(l,i,void 0),lo(e,t,s,i)}if(a=(s&e.childLanes)!==0,Ke||a){if(i=Pe,i!==null){switch(s&-s){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(i.suspendedLanes|s)?0:o,o!==0&&o!==l.retryLane&&(l.retryLane=o,qt(e,o),bt(i,e,o,-1))}return $c(),i=_s(Error(W(421))),lo(e,t,s,i)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Ny.bind(null,e),o._reactRetry=t,null):(e=l.treeContext,tt=fn(o.nextSibling),it=t,ve=!0,jt=null,e!==null&&(dt[ft++]=zt,dt[ft++]=Bt,dt[ft++]=zn,zt=e.id,Bt=e.overflow,zn=t),t=Mc(t,i.children),t.flags|=4096,t)}function ld(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),ya(e.return,t,n)}function Ps(e,t,n,i,o){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=i,l.tail=n,l.tailMode=o)}function qp(e,t,n){var i=t.pendingProps,o=i.revealOrder,l=i.tail;if(ze(e,t,i.children,n),i=ge.current,i&2)i=i&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&&ld(e,n,t);else if(e.tag===19)ld(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}i&=1}if(de(ge,i),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&tl(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ps(t,!1,o,n,l);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&tl(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ps(t,!0,n,null,l);break;case"together":Ps(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Co(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Wn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(W(153));if(t.child!==null){for(e=t.child,n=vn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cy(e,t,n){switch(t.tag){case 3:$p(t),Cr();break;case 5:vp(t);break;case 1:Ge(t.type)&&Go(t);break;case 4:_c(t,t.stateNode.containerInfo);break;case 10:var i=t.type._context,o=t.memoizedProps.value;de(Xo,i._currentValue),i._currentValue=o;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(de(ge,ge.current&1),t.flags|=128,null):n&t.child.childLanes?Up(e,t,n):(de(ge,ge.current&1),e=Vt(e,t,n),e!==null?e.sibling:null);de(ge,ge.current&1);break;case 19:if(i=(n&t.childLanes)!==0,e.flags&128){if(i)return qp(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),de(ge,ge.current),i)break;return null;case 22:case 23:return t.lanes=0,Bp(e,t,n)}return Vt(e,t,n)}var Vp,ka,Hp,Kp;Vp=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}};ka=function(){};Hp=function(e,t,n,i){var o=e.memoizedProps;if(o!==i){e=t.stateNode,Rn(It.current);var l=null;switch(n){case"input":o=Ys(e,o),i=Ys(e,i),l=[];break;case"select":o=xe({},o,{value:void 0}),i=xe({},i,{value:void 0}),l=[];break;case"textarea":o=Js(e,o),i=Js(e,i),l=[];break;default:typeof o.onClick!="function"&&typeof i.onClick=="function"&&(e.onclick=Ko)}Zs(n,i);var s;n=null;for(c in o)if(!i.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var a=o[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(fi.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in i){var u=i[c];if(a=o!=null?o[c]:void 0,i.hasOwnProperty(c)&&u!==a&&(u!=null||a!=null))if(c==="style")if(a){for(s in a)!a.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&a[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(l||(l=[]),l.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(l=l||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(l=l||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(fi.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&pe("scroll",e),l||a===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}};Kp=function(e,t,n,i){n!==i&&(t.flags|=4)};function Vr(e,t){if(!ve)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 i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Me(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags&14680064,i|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function uy(e,t,n){var i=t.pendingProps;switch(Nc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Me(t),null;case 1:return Ge(t.type)&&Yo(),Me(t),null;case 3:return i=t.stateNode,wr(),me(Ye),me(Le),Oc(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(io(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,jt!==null&&(Ia(jt),jt=null))),ka(e,t),Me(t),null;case 5:Pc(t);var o=Rn(wi.current);if(n=t.type,e!==null&&t.stateNode!=null)Hp(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(W(166));return Me(t),null}if(e=Rn(It.current),io(t)){i=t.stateNode,n=t.type;var l=t.memoizedProps;switch(i[Tt]=t,i[Ci]=l,e=(t.mode&1)!==0,n){case"dialog":pe("cancel",i),pe("close",i);break;case"iframe":case"object":case"embed":pe("load",i);break;case"video":case"audio":for(o=0;o<Jr.length;o++)pe(Jr[o],i);break;case"source":pe("error",i);break;case"img":case"image":case"link":pe("error",i),pe("load",i);break;case"details":pe("toggle",i);break;case"input":hu(i,l),pe("invalid",i);break;case"select":i._wrapperState={wasMultiple:!!l.multiple},pe("invalid",i);break;case"textarea":gu(i,l),pe("invalid",i)}Zs(n,l),o=null;for(var s in l)if(l.hasOwnProperty(s)){var a=l[s];s==="children"?typeof a=="string"?i.textContent!==a&&(l.suppressHydrationWarning!==!0&&ro(i.textContent,a,e),o=["children",a]):typeof a=="number"&&i.textContent!==""+a&&(l.suppressHydrationWarning!==!0&&ro(i.textContent,a,e),o=["children",""+a]):fi.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&pe("scroll",i)}switch(n){case"input":Gi(i),vu(i,l,!0);break;case"textarea":Gi(i),yu(i);break;case"select":case"option":break;default:typeof l.onClick=="function"&&(i.onclick=Ko)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Nf(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof i.is=="string"?e=s.createElement(n,{is:i.is}):(e=s.createElement(n),n==="select"&&(s=e,i.multiple?s.multiple=!0:i.size&&(s.size=i.size))):e=s.createElementNS(e,n),e[Tt]=t,e[Ci]=i,Vp(e,t,!1,!1),t.stateNode=e;e:{switch(s=ea(n,i),n){case"dialog":pe("cancel",e),pe("close",e),o=i;break;case"iframe":case"object":case"embed":pe("load",e),o=i;break;case"video":case"audio":for(o=0;o<Jr.length;o++)pe(Jr[o],e);o=i;break;case"source":pe("error",e),o=i;break;case"img":case"image":case"link":pe("error",e),pe("load",e),o=i;break;case"details":pe("toggle",e),o=i;break;case"input":hu(e,i),o=Ys(e,i),pe("invalid",e);break;case"option":o=i;break;case"select":e._wrapperState={wasMultiple:!!i.multiple},o=xe({},i,{value:void 0}),pe("invalid",e);break;case"textarea":gu(e,i),o=Js(e,i),pe("invalid",e);break;default:o=i}Zs(n,o),a=o;for(l in a)if(a.hasOwnProperty(l)){var u=a[l];l==="style"?wf(e,u):l==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&Cf(e,u)):l==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&pi(e,u):typeof u=="number"&&pi(e,""+u):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(fi.hasOwnProperty(l)?u!=null&&l==="onScroll"&&pe("scroll",e):u!=null&&lc(e,l,u,s))}switch(n){case"input":Gi(e),vu(e,i,!1);break;case"textarea":Gi(e),yu(e);break;case"option":i.value!=null&&e.setAttribute("value",""+yn(i.value));break;case"select":e.multiple=!!i.multiple,l=i.value,l!=null?mr(e,!!i.multiple,l,!1):i.defaultValue!=null&&mr(e,!!i.multiple,i.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ko)}switch(n){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Me(t),null;case 6:if(e&&t.stateNode!=null)Kp(e,t,e.memoizedProps,i);else{if(typeof i!="string"&&t.stateNode===null)throw Error(W(166));if(n=Rn(wi.current),Rn(It.current),io(t)){if(i=t.stateNode,n=t.memoizedProps,i[Tt]=t,(l=i.nodeValue!==n)&&(e=it,e!==null))switch(e.tag){case 3:ro(i.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ro(i.nodeValue,n,(e.mode&1)!==0)}l&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Tt]=t,t.stateNode=i}return Me(t),null;case 13:if(me(ge),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ve&&tt!==null&&t.mode&1&&!(t.flags&128))dp(),Cr(),t.flags|=98560,l=!1;else if(l=io(t),i!==null&&i.dehydrated!==null){if(e===null){if(!l)throw Error(W(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(W(317));l[Tt]=t}else Cr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Me(t),l=!1}else jt!==null&&(Ia(jt),jt=null),l=!0;if(!l)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||ge.current&1?ke===0&&(ke=3):$c())),t.updateQueue!==null&&(t.flags|=4),Me(t),null);case 4:return wr(),ka(e,t),e===null&&ji(t.stateNode.containerInfo),Me(t),null;case 10:return Sc(t.type._context),Me(t),null;case 17:return Ge(t.type)&&Yo(),Me(t),null;case 19:if(me(ge),l=t.memoizedState,l===null)return Me(t),null;if(i=(t.flags&128)!==0,s=l.rendering,s===null)if(i)Vr(l,!1);else{if(ke!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=tl(e),s!==null){for(t.flags|=128,Vr(l,!1),i=s.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)l=n,e=i,l.flags&=14680066,s=l.alternate,s===null?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return de(ge,ge.current&1|2),t.child}e=e.sibling}l.tail!==null&&be()>kr&&(t.flags|=128,i=!0,Vr(l,!1),t.lanes=4194304)}else{if(!i)if(e=tl(s),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Vr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!ve)return Me(t),null}else 2*be()-l.renderingStartTime>kr&&n!==1073741824&&(t.flags|=128,i=!0,Vr(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(n=l.last,n!==null?n.sibling=s:t.child=s,l.last=s)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=be(),t.sibling=null,n=ge.current,de(ge,i?n&1|2:n&1),t):(Me(t),null);case 22:case 23:return Wc(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?et&1073741824&&(Me(t),t.subtreeFlags&6&&(t.flags|=8192)):Me(t),null;case 24:return null;case 25:return null}throw Error(W(156,t.tag))}function dy(e,t){switch(Nc(t),t.tag){case 1:return Ge(t.type)&&Yo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wr(),me(Ye),me(Le),Oc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Pc(t),null;case 13:if(me(ge),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(W(340));Cr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return me(ge),null;case 4:return wr(),null;case 10:return Sc(t.type._context),null;case 22:case 23:return Wc(),null;case 24:return null;default:return null}}var so=!1,Fe=!1,fy=typeof WeakSet=="function"?WeakSet:Set,Y=null;function sr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(i){je(e,t,i)}else n.current=null}function Ea(e,t,n){try{n()}catch(i){je(e,t,i)}}var sd=!1;function py(e,t){if(ua=qo,e=Xf(),xc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,l=i.focusNode;i=i.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var s=0,a=-1,u=-1,c=0,d=0,f=e,v=null;t:for(;;){for(var j;f!==n||o!==0&&f.nodeType!==3||(a=s+o),f!==l||i!==0&&f.nodeType!==3||(u=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(j=f.firstChild)!==null;)v=f,f=j;for(;;){if(f===e)break t;if(v===n&&++c===o&&(a=s),v===l&&++d===i&&(u=s),(j=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=j}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(da={focusedElem:e,selectionRange:n},qo=!1,Y=t;Y!==null;)if(t=Y,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Y=e;else for(;Y!==null;){t=Y;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var x=g.memoizedProps,N=g.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?x:yt(t.type,x),N);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(W(163))}}catch(y){je(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,Y=e;break}Y=t.return}return g=sd,sd=!1,g}function oi(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var o=i=i.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&Ea(t,n,l)}o=o.next}while(o!==i)}}function Ol(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 i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function _a(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 Yp(e){var t=e.alternate;t!==null&&(e.alternate=null,Yp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Tt],delete t[Ci],delete t[ma],delete t[Gg],delete t[Qg])),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 Gp(e){return e.tag===5||e.tag===3||e.tag===4}function ad(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gp(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 Pa(e,t,n){var i=e.tag;if(i===5||i===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=Ko));else if(i!==4&&(e=e.child,e!==null))for(Pa(e,t,n),e=e.sibling;e!==null;)Pa(e,t,n),e=e.sibling}function Oa(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(Oa(e,t,n),e=e.sibling;e!==null;)Oa(e,t,n),e=e.sibling}var Re=null,xt=!1;function Gt(e,t,n){for(n=n.child;n!==null;)Qp(e,t,n),n=n.sibling}function Qp(e,t,n){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(Cl,n)}catch{}switch(n.tag){case 5:Fe||sr(n,t);case 6:var i=Re,o=xt;Re=null,Gt(e,t,n),Re=i,xt=o,Re!==null&&(xt?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(xt?(e=Re,n=n.stateNode,e.nodeType===8?Cs(e.parentNode,n):e.nodeType===1&&Cs(e,n),gi(e)):Cs(Re,n.stateNode));break;case 4:i=Re,o=xt,Re=n.stateNode.containerInfo,xt=!0,Gt(e,t,n),Re=i,xt=o;break;case 0:case 11:case 14:case 15:if(!Fe&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){o=i=i.next;do{var l=o,s=l.destroy;l=l.tag,s!==void 0&&(l&2||l&4)&&Ea(n,t,s),o=o.next}while(o!==i)}Gt(e,t,n);break;case 1:if(!Fe&&(sr(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(a){je(n,t,a)}Gt(e,t,n);break;case 21:Gt(e,t,n);break;case 22:n.mode&1?(Fe=(i=Fe)||n.memoizedState!==null,Gt(e,t,n),Fe=i):Gt(e,t,n);break;default:Gt(e,t,n)}}function cd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new fy),t.forEach(function(i){var o=Cy.bind(null,e,i);n.has(i)||(n.add(i),i.then(o,o))})}}function gt(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i];try{var l=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Re=a.stateNode,xt=!1;break e;case 3:Re=a.stateNode.containerInfo,xt=!0;break e;case 4:Re=a.stateNode.containerInfo,xt=!0;break e}a=a.return}if(Re===null)throw Error(W(160));Qp(l,s,o),Re=null,xt=!1;var u=o.alternate;u!==null&&(u.return=null),o.return=null}catch(c){je(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Jp(t,e),t=t.sibling}function Jp(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gt(t,e),_t(e),i&4){try{oi(3,e,e.return),Ol(3,e)}catch(x){je(e,e.return,x)}try{oi(5,e,e.return)}catch(x){je(e,e.return,x)}}break;case 1:gt(t,e),_t(e),i&512&&n!==null&&sr(n,n.return);break;case 5:if(gt(t,e),_t(e),i&512&&n!==null&&sr(n,n.return),e.flags&32){var o=e.stateNode;try{pi(o,"")}catch(x){je(e,e.return,x)}}if(i&4&&(o=e.stateNode,o!=null)){var l=e.memoizedProps,s=n!==null?n.memoizedProps:l,a=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{a==="input"&&l.type==="radio"&&l.name!=null&&xf(o,l),ea(a,s);var c=ea(a,l);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];d==="style"?wf(o,f):d==="dangerouslySetInnerHTML"?Cf(o,f):d==="children"?pi(o,f):lc(o,d,f,c)}switch(a){case"input":Gs(o,l);break;case"textarea":jf(o,l);break;case"select":var v=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!l.multiple;var j=l.value;j!=null?mr(o,!!l.multiple,j,!1):v!==!!l.multiple&&(l.defaultValue!=null?mr(o,!!l.multiple,l.defaultValue,!0):mr(o,!!l.multiple,l.multiple?[]:"",!1))}o[Ci]=l}catch(x){je(e,e.return,x)}}break;case 6:if(gt(t,e),_t(e),i&4){if(e.stateNode===null)throw Error(W(162));o=e.stateNode,l=e.memoizedProps;try{o.nodeValue=l}catch(x){je(e,e.return,x)}}break;case 3:if(gt(t,e),_t(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{gi(t.containerInfo)}catch(x){je(e,e.return,x)}break;case 4:gt(t,e),_t(e);break;case 13:gt(t,e),_t(e),o=e.child,o.flags&8192&&(l=o.memoizedState!==null,o.stateNode.isHidden=l,!l||o.alternate!==null&&o.alternate.memoizedState!==null||(zc=be())),i&4&&cd(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Fe=(c=Fe)||d,gt(t,e),Fe=c):gt(t,e),_t(e),i&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!d&&e.mode&1)for(Y=e,d=e.child;d!==null;){for(f=Y=d;Y!==null;){switch(v=Y,j=v.child,v.tag){case 0:case 11:case 14:case 15:oi(4,v,v.return);break;case 1:sr(v,v.return);var g=v.stateNode;if(typeof g.componentWillUnmount=="function"){i=v,n=v.return;try{t=i,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(x){je(i,n,x)}}break;case 5:sr(v,v.return);break;case 22:if(v.memoizedState!==null){dd(f);continue}}j!==null?(j.return=v,Y=j):dd(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,c?(l=o.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"):(a=f.stateNode,u=f.memoizedProps.style,s=u!=null&&u.hasOwnProperty("display")?u.display:null,a.style.display=bf("display",s))}catch(x){je(e,e.return,x)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(x){je(e,e.return,x)}}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:gt(t,e),_t(e),i&4&&cd(e);break;case 21:break;default:gt(t,e),_t(e)}}function _t(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Gp(n)){var i=n;break e}n=n.return}throw Error(W(160))}switch(i.tag){case 5:var o=i.stateNode;i.flags&32&&(pi(o,""),i.flags&=-33);var l=ad(e);Oa(e,l,o);break;case 3:case 4:var s=i.stateNode.containerInfo,a=ad(e);Pa(e,a,s);break;default:throw Error(W(161))}}catch(u){je(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function my(e,t,n){Y=e,Xp(e)}function Xp(e,t,n){for(var i=(e.mode&1)!==0;Y!==null;){var o=Y,l=o.child;if(o.tag===22&&i){var s=o.memoizedState!==null||so;if(!s){var a=o.alternate,u=a!==null&&a.memoizedState!==null||Fe;a=so;var c=Fe;if(so=s,(Fe=u)&&!c)for(Y=o;Y!==null;)s=Y,u=s.child,s.tag===22&&s.memoizedState!==null?fd(o):u!==null?(u.return=s,Y=u):fd(o);for(;l!==null;)Y=l,Xp(l),l=l.sibling;Y=o,so=a,Fe=c}ud(e)}else o.subtreeFlags&8772&&l!==null?(l.return=o,Y=l):ud(e)}}function ud(e){for(;Y!==null;){var t=Y;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Fe||Ol(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!Fe)if(n===null)i.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:yt(t.type,n.memoizedProps);i.componentDidUpdate(o,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;l!==null&&Yu(t,l,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Yu(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;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&&gi(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(W(163))}Fe||t.flags&512&&_a(t)}catch(v){je(t,t.return,v)}}if(t===e){Y=null;break}if(n=t.sibling,n!==null){n.return=t.return,Y=n;break}Y=t.return}}function dd(e){for(;Y!==null;){var t=Y;if(t===e){Y=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Y=n;break}Y=t.return}}function fd(e){for(;Y!==null;){var t=Y;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ol(4,t)}catch(u){je(t,n,u)}break;case 1:var i=t.stateNode;if(typeof i.componentDidMount=="function"){var o=t.return;try{i.componentDidMount()}catch(u){je(t,o,u)}}var l=t.return;try{_a(t)}catch(u){je(t,l,u)}break;case 5:var s=t.return;try{_a(t)}catch(u){je(t,s,u)}}}catch(u){je(t,t.return,u)}if(t===e){Y=null;break}var a=t.sibling;if(a!==null){a.return=t.return,Y=a;break}Y=t.return}}var hy=Math.ceil,il=Kt.ReactCurrentDispatcher,Fc=Kt.ReactCurrentOwner,mt=Kt.ReactCurrentBatchConfig,se=0,Pe=null,we=null,Ae=0,et=0,ar=Cn(0),ke=0,_i=null,Wn=0,Tl=0,Lc=0,li=null,He=null,zc=0,kr=1/0,Mt=null,ol=!1,Ta=null,mn=null,ao=!1,ln=null,ll=0,si=0,Ra=null,bo=-1,wo=0;function We(){return se&6?be():bo!==-1?bo:bo=be()}function hn(e){return e.mode&1?se&2&&Ae!==0?Ae&-Ae:Xg.transition!==null?(wo===0&&(wo=Mf()),wo):(e=ue,e!==0||(e=window.event,e=e===void 0?16:Uf(e.type)),e):1}function bt(e,t,n,i){if(50<si)throw si=0,Ra=null,Error(W(185));Fi(e,n,i),(!(se&2)||e!==Pe)&&(e===Pe&&(!(se&2)&&(Tl|=n),ke===4&&rn(e,Ae)),Qe(e,i),n===1&&se===0&&!(t.mode&1)&&(kr=be()+500,El&&bn()))}function Qe(e,t){var n=e.callbackNode;Xv(e,t);var i=Uo(e,e===Pe?Ae:0);if(i===0)n!==null&&Nu(n),e.callbackNode=null,e.callbackPriority=0;else if(t=i&-i,e.callbackPriority!==t){if(n!=null&&Nu(n),t===1)e.tag===0?Jg(pd.bind(null,e)):ap(pd.bind(null,e)),Kg(function(){!(se&6)&&bn()}),n=null;else{switch(Ff(i)){case 1:n=dc;break;case 4:n=If;break;case 16:n=$o;break;case 536870912:n=Df;break;default:n=$o}n=lm(n,Zp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Zp(e,t){if(bo=-1,wo=0,se&6)throw Error(W(327));var n=e.callbackNode;if(xr()&&e.callbackNode!==n)return null;var i=Uo(e,e===Pe?Ae:0);if(i===0)return null;if(i&30||i&e.expiredLanes||t)t=sl(e,i);else{t=i;var o=se;se|=2;var l=tm();(Pe!==e||Ae!==t)&&(Mt=null,kr=be()+500,In(e,t));do try{yy();break}catch(a){em(e,a)}while(!0);wc(),il.current=l,se=o,we!==null?t=0:(Pe=null,Ae=0,t=ke)}if(t!==0){if(t===2&&(o=oa(e),o!==0&&(i=o,t=Aa(e,o))),t===1)throw n=_i,In(e,0),rn(e,i),Qe(e,be()),n;if(t===6)rn(e,i);else{if(o=e.current.alternate,!(i&30)&&!vy(o)&&(t=sl(e,i),t===2&&(l=oa(e),l!==0&&(i=l,t=Aa(e,l))),t===1))throw n=_i,In(e,0),rn(e,i),Qe(e,be()),n;switch(e.finishedWork=o,e.finishedLanes=i,t){case 0:case 1:throw Error(W(345));case 2:En(e,He,Mt);break;case 3:if(rn(e,i),(i&130023424)===i&&(t=zc+500-be(),10<t)){if(Uo(e,0)!==0)break;if(o=e.suspendedLanes,(o&i)!==i){We(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=pa(En.bind(null,e,He,Mt),t);break}En(e,He,Mt);break;case 4:if(rn(e,i),(i&4194240)===i)break;for(t=e.eventTimes,o=-1;0<i;){var s=31-Ct(i);l=1<<s,s=t[s],s>o&&(o=s),i&=~l}if(i=o,i=be()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*hy(i/1960))-i,10<i){e.timeoutHandle=pa(En.bind(null,e,He,Mt),i);break}En(e,He,Mt);break;case 5:En(e,He,Mt);break;default:throw Error(W(329))}}}return Qe(e,be()),e.callbackNode===n?Zp.bind(null,e):null}function Aa(e,t){var n=li;return e.current.memoizedState.isDehydrated&&(In(e,t).flags|=256),e=sl(e,t),e!==2&&(t=He,He=n,t!==null&&Ia(t)),e}function Ia(e){He===null?He=e:He.push.apply(He,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 i=0;i<n.length;i++){var o=n[i],l=o.getSnapshot;o=o.value;try{if(!St(l(),o))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 rn(e,t){for(t&=~Lc,t&=~Tl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ct(t),i=1<<n;e[n]=-1,t&=~i}}function pd(e){if(se&6)throw Error(W(327));xr();var t=Uo(e,0);if(!(t&1))return Qe(e,be()),null;var n=sl(e,t);if(e.tag!==0&&n===2){var i=oa(e);i!==0&&(t=i,n=Aa(e,i))}if(n===1)throw n=_i,In(e,0),rn(e,t),Qe(e,be()),n;if(n===6)throw Error(W(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,En(e,He,Mt),Qe(e,be()),null}function Bc(e,t){var n=se;se|=1;try{return e(t)}finally{se=n,se===0&&(kr=be()+500,El&&bn())}}function $n(e){ln!==null&&ln.tag===0&&!(se&6)&&xr();var t=se;se|=1;var n=mt.transition,i=ue;try{if(mt.transition=null,ue=1,e)return e()}finally{ue=i,mt.transition=n,se=t,!(se&6)&&bn()}}function Wc(){et=ar.current,me(ar)}function In(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Hg(n)),we!==null)for(n=we.return;n!==null;){var i=n;switch(Nc(i),i.tag){case 1:i=i.type.childContextTypes,i!=null&&Yo();break;case 3:wr(),me(Ye),me(Le),Oc();break;case 5:Pc(i);break;case 4:wr();break;case 13:me(ge);break;case 19:me(ge);break;case 10:Sc(i.type._context);break;case 22:case 23:Wc()}n=n.return}if(Pe=e,we=e=vn(e.current,null),Ae=et=t,ke=0,_i=null,Lc=Tl=Wn=0,He=li=null,Tn!==null){for(t=0;t<Tn.length;t++)if(n=Tn[t],i=n.interleaved,i!==null){n.interleaved=null;var o=i.next,l=n.pending;if(l!==null){var s=l.next;l.next=o,i.next=s}n.pending=i}Tn=null}return e}function em(e,t){do{var n=we;try{if(wc(),jo.current=rl,nl){for(var i=ye.memoizedState;i!==null;){var o=i.queue;o!==null&&(o.pending=null),i=i.next}nl=!1}if(Bn=0,_e=Se=ye=null,ii=!1,Si=0,Fc.current=null,n===null||n.return===null){ke=1,_i=t,we=null;break}e:{var l=e,s=n.return,a=n,u=t;if(t=Ae,a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var v=d.alternate;v?(d.updateQueue=v.updateQueue,d.memoizedState=v.memoizedState,d.lanes=v.lanes):(d.updateQueue=null,d.memoizedState=null)}var j=ed(s);if(j!==null){j.flags&=-257,td(j,s,a,l,t),j.mode&1&&Zu(l,c,t),t=j,u=c;var g=t.updateQueue;if(g===null){var x=new Set;x.add(u),t.updateQueue=x}else g.add(u);break e}else{if(!(t&1)){Zu(l,c,t),$c();break e}u=Error(W(426))}}else if(ve&&a.mode&1){var N=ed(s);if(N!==null){!(N.flags&65536)&&(N.flags|=256),td(N,s,a,l,t),Cc(Sr(u,a));break e}}l=u=Sr(u,a),ke!==4&&(ke=2),li===null?li=[l]:li.push(l),l=s;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t;var m=Fp(l,u,t);Ku(l,m);break e;case 1:a=u;var h=l.type,p=l.stateNode;if(!(l.flags&128)&&(typeof h.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(mn===null||!mn.has(p)))){l.flags|=65536,t&=-t,l.lanes|=t;var y=Lp(l,a,t);Ku(l,y);break e}}l=l.return}while(l!==null)}rm(n)}catch(w){t=w,we===n&&n!==null&&(we=n=n.return);continue}break}while(!0)}function tm(){var e=il.current;return il.current=rl,e===null?rl:e}function $c(){(ke===0||ke===3||ke===2)&&(ke=4),Pe===null||!(Wn&268435455)&&!(Tl&268435455)||rn(Pe,Ae)}function sl(e,t){var n=se;se|=2;var i=tm();(Pe!==e||Ae!==t)&&(Mt=null,In(e,t));do try{gy();break}catch(o){em(e,o)}while(!0);if(wc(),se=n,il.current=i,we!==null)throw Error(W(261));return Pe=null,Ae=0,ke}function gy(){for(;we!==null;)nm(we)}function yy(){for(;we!==null&&!Uv();)nm(we)}function nm(e){var t=om(e.alternate,e,et);e.memoizedProps=e.pendingProps,t===null?rm(e):we=t,Fc.current=null}function rm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=dy(n,t),n!==null){n.flags&=32767,we=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ke=6,we=null;return}}else if(n=uy(n,t,et),n!==null){we=n;return}if(t=t.sibling,t!==null){we=t;return}we=t=e}while(t!==null);ke===0&&(ke=5)}function En(e,t,n){var i=ue,o=mt.transition;try{mt.transition=null,ue=1,xy(e,t,n,i)}finally{mt.transition=o,ue=i}return null}function xy(e,t,n,i){do xr();while(ln!==null);if(se&6)throw Error(W(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(W(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(Zv(e,l),e===Pe&&(we=Pe=null,Ae=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ao||(ao=!0,lm($o,function(){return xr(),null})),l=(n.flags&15990)!==0,n.subtreeFlags&15990||l){l=mt.transition,mt.transition=null;var s=ue;ue=1;var a=se;se|=4,Fc.current=null,py(e,n),Jp(n,e),zg(da),qo=!!ua,da=ua=null,e.current=n,my(n),qv(),se=a,ue=s,mt.transition=l}else e.current=n;if(ao&&(ao=!1,ln=e,ll=o),l=e.pendingLanes,l===0&&(mn=null),Kv(n.stateNode),Qe(e,be()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],i(o.value,{componentStack:o.stack,digest:o.digest});if(ol)throw ol=!1,e=Ta,Ta=null,e;return ll&1&&e.tag!==0&&xr(),l=e.pendingLanes,l&1?e===Ra?si++:(si=0,Ra=e):si=0,bn(),null}function xr(){if(ln!==null){var e=Ff(ll),t=mt.transition,n=ue;try{if(mt.transition=null,ue=16>e?16:e,ln===null)var i=!1;else{if(e=ln,ln=null,ll=0,se&6)throw Error(W(331));var o=se;for(se|=4,Y=e.current;Y!==null;){var l=Y,s=l.child;if(Y.flags&16){var a=l.deletions;if(a!==null){for(var u=0;u<a.length;u++){var c=a[u];for(Y=c;Y!==null;){var d=Y;switch(d.tag){case 0:case 11:case 15:oi(8,d,l)}var f=d.child;if(f!==null)f.return=d,Y=f;else for(;Y!==null;){d=Y;var v=d.sibling,j=d.return;if(Yp(d),d===c){Y=null;break}if(v!==null){v.return=j,Y=v;break}Y=j}}}var g=l.alternate;if(g!==null){var x=g.child;if(x!==null){g.child=null;do{var N=x.sibling;x.sibling=null,x=N}while(x!==null)}}Y=l}}if(l.subtreeFlags&2064&&s!==null)s.return=l,Y=s;else e:for(;Y!==null;){if(l=Y,l.flags&2048)switch(l.tag){case 0:case 11:case 15:oi(9,l,l.return)}var m=l.sibling;if(m!==null){m.return=l.return,Y=m;break e}Y=l.return}}var h=e.current;for(Y=h;Y!==null;){s=Y;var p=s.child;if(s.subtreeFlags&2064&&p!==null)p.return=s,Y=p;else e:for(s=h;Y!==null;){if(a=Y,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Ol(9,a)}}catch(w){je(a,a.return,w)}if(a===s){Y=null;break e}var y=a.sibling;if(y!==null){y.return=a.return,Y=y;break e}Y=a.return}}if(se=o,bn(),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(Cl,e)}catch{}i=!0}return i}finally{ue=n,mt.transition=t}}return!1}function md(e,t,n){t=Sr(n,t),t=Fp(e,t,1),e=pn(e,t,1),t=We(),e!==null&&(Fi(e,1,t),Qe(e,t))}function je(e,t,n){if(e.tag===3)md(e,e,n);else for(;t!==null;){if(t.tag===3){md(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(mn===null||!mn.has(i))){e=Sr(n,e),e=Lp(t,e,1),t=pn(t,e,1),e=We(),t!==null&&(Fi(t,1,e),Qe(t,e));break}}t=t.return}}function jy(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),t=We(),e.pingedLanes|=e.suspendedLanes&n,Pe===e&&(Ae&n)===n&&(ke===4||ke===3&&(Ae&130023424)===Ae&&500>be()-zc?In(e,0):Lc|=n),Qe(e,t)}function im(e,t){t===0&&(e.mode&1?(t=Xi,Xi<<=1,!(Xi&130023424)&&(Xi=4194304)):t=1);var n=We();e=qt(e,t),e!==null&&(Fi(e,t,n),Qe(e,n))}function Ny(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),im(e,n)}function Cy(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(W(314))}i!==null&&i.delete(t),im(e,n)}var om;om=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ye.current)Ke=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ke=!1,cy(e,t,n);Ke=!!(e.flags&131072)}else Ke=!1,ve&&t.flags&1048576&&cp(t,Jo,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Co(e,t),e=t.pendingProps;var o=Nr(t,Le.current);yr(t,n),o=Rc(null,t,i,e,o,n);var l=Ac();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ge(i)?(l=!0,Go(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Ec(t),o.updater=Pl,t.stateNode=o,o._reactInternals=t,ja(t,i,e,n),t=ba(null,t,i,!0,l,n)):(t.tag=0,ve&&l&&jc(t),ze(null,t,o,n),t=t.child),t;case 16:i=t.elementType;e:{switch(Co(e,t),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=wy(i),e=yt(i,e),o){case 0:t=Ca(null,t,i,e,n);break e;case 1:t=id(null,t,i,e,n);break e;case 11:t=nd(null,t,i,e,n);break e;case 14:t=rd(null,t,i,yt(i.type,e),n);break e}throw Error(W(306,i,""))}return t;case 0:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:yt(i,o),Ca(e,t,i,o,n);case 1:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:yt(i,o),id(e,t,i,o,n);case 3:e:{if($p(t),e===null)throw Error(W(387));i=t.pendingProps,l=t.memoizedState,o=l.element,hp(e,t),el(t,i,null,n);var s=t.memoizedState;if(i=s.element,l.isDehydrated)if(l={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=Sr(Error(W(423)),t),t=od(e,t,i,n,o);break e}else if(i!==o){o=Sr(Error(W(424)),t),t=od(e,t,i,n,o);break e}else for(tt=fn(t.stateNode.containerInfo.firstChild),it=t,ve=!0,jt=null,n=pp(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Cr(),i===o){t=Vt(e,t,n);break e}ze(e,t,i,n)}t=t.child}return t;case 5:return vp(t),e===null&&ga(t),i=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,s=o.children,fa(i,o)?s=null:l!==null&&fa(i,l)&&(t.flags|=32),Wp(e,t),ze(e,t,s,n),t.child;case 6:return e===null&&ga(t),null;case 13:return Up(e,t,n);case 4:return _c(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=br(t,null,i,n):ze(e,t,i,n),t.child;case 11:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:yt(i,o),nd(e,t,i,o,n);case 7:return ze(e,t,t.pendingProps,n),t.child;case 8:return ze(e,t,t.pendingProps.children,n),t.child;case 12:return ze(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,l=t.memoizedProps,s=o.value,de(Xo,i._currentValue),i._currentValue=s,l!==null)if(St(l.value,s)){if(l.children===o.children&&!Ye.current){t=Vt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var a=l.dependencies;if(a!==null){s=l.child;for(var u=a.firstContext;u!==null;){if(u.context===i){if(l.tag===1){u=Wt(-1,n&-n),u.tag=2;var c=l.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}}l.lanes|=n,u=l.alternate,u!==null&&(u.lanes|=n),ya(l.return,n,t),a.lanes|=n;break}u=u.next}}else if(l.tag===10)s=l.type===t.type?null:l.child;else if(l.tag===18){if(s=l.return,s===null)throw Error(W(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),ya(s,n,t),s=l.sibling}else s=l.child;if(s!==null)s.return=l;else for(s=l;s!==null;){if(s===t){s=null;break}if(l=s.sibling,l!==null){l.return=s.return,s=l;break}s=s.return}l=s}ze(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,yr(t,n),o=ht(o),i=i(o),t.flags|=1,ze(e,t,i,n),t.child;case 14:return i=t.type,o=yt(i,t.pendingProps),o=yt(i.type,o),rd(e,t,i,o,n);case 15:return zp(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:yt(i,o),Co(e,t),t.tag=1,Ge(i)?(e=!0,Go(t)):e=!1,yr(t,n),Mp(t,i,o),ja(t,i,o,n),ba(null,t,i,!0,e,n);case 19:return qp(e,t,n);case 22:return Bp(e,t,n)}throw Error(W(156,t.tag))};function lm(e,t){return Af(e,t)}function by(e,t,n,i){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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pt(e,t,n,i){return new by(e,t,n,i)}function Uc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wy(e){if(typeof e=="function")return Uc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ac)return 11;if(e===cc)return 14}return 2}function vn(e,t){var n=e.alternate;return n===null?(n=pt(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 So(e,t,n,i,o,l){var s=2;if(i=e,typeof e=="function")Uc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Xn:return Dn(n.children,o,l,t);case sc:s=8,o|=8;break;case qs:return e=pt(12,n,t,o|2),e.elementType=qs,e.lanes=l,e;case Vs:return e=pt(13,n,t,o),e.elementType=Vs,e.lanes=l,e;case Hs:return e=pt(19,n,t,o),e.elementType=Hs,e.lanes=l,e;case vf:return Rl(n,o,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mf:s=10;break e;case hf:s=9;break e;case ac:s=11;break e;case cc:s=14;break e;case Jt:s=16,i=null;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=pt(s,n,t,o),t.elementType=e,t.type=i,t.lanes=l,t}function Dn(e,t,n,i){return e=pt(7,e,i,t),e.lanes=n,e}function Rl(e,t,n,i){return e=pt(22,e,i,t),e.elementType=vf,e.lanes=n,e.stateNode={isHidden:!1},e}function Os(e,t,n){return e=pt(6,e,null,t),e.lanes=n,e}function Ts(e,t,n){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sy(e,t,n,i,o){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=ds(0),this.expirationTimes=ds(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ds(0),this.identifierPrefix=i,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function qc(e,t,n,i,o,l,s,a,u){return e=new Sy(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=pt(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ec(l),e}function ky(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Jn,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}function sm(e){if(!e)return xn;e=e._reactInternals;e:{if(Kn(e)!==e||e.tag!==1)throw Error(W(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ge(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(W(171))}if(e.tag===1){var n=e.type;if(Ge(n))return sp(e,n,t)}return t}function am(e,t,n,i,o,l,s,a,u){return e=qc(n,i,!0,e,o,l,s,a,u),e.context=sm(null),n=e.current,i=We(),o=hn(n),l=Wt(i,o),l.callback=t??null,pn(n,l,o),e.current.lanes=o,Fi(e,o,i),Qe(e,i),e}function Al(e,t,n,i){var o=t.current,l=We(),s=hn(o);return n=sm(n),t.context===null?t.context=n:t.pendingContext=n,t=Wt(l,s),t.payload={element:e},i=i===void 0?null:i,i!==null&&(t.callback=i),e=pn(o,t,s),e!==null&&(bt(e,o,s,l),xo(e,o,s)),s}function al(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 hd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Vc(e,t){hd(e,t),(e=e.alternate)&&hd(e,t)}function Ey(){return null}var cm=typeof reportError=="function"?reportError:function(e){console.error(e)};function Hc(e){this._internalRoot=e}Il.prototype.render=Hc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(W(409));Al(e,t,null,null)};Il.prototype.unmount=Hc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$n(function(){Al(null,e,null,null)}),t[Ut]=null}};function Il(e){this._internalRoot=e}Il.prototype.unstable_scheduleHydration=function(e){if(e){var t=Bf();e={blockedOn:null,target:e,priority:t};for(var n=0;n<nn.length&&t!==0&&t<nn[n].priority;n++);nn.splice(n,0,e),n===0&&$f(e)}};function Kc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Dl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function vd(){}function _y(e,t,n,i,o){if(o){if(typeof i=="function"){var l=i;i=function(){var c=al(s);l.call(c)}}var s=am(t,i,e,0,null,!1,!1,"",vd);return e._reactRootContainer=s,e[Ut]=s.current,ji(e.nodeType===8?e.parentNode:e),$n(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof i=="function"){var a=i;i=function(){var c=al(u);a.call(c)}}var u=qc(e,0,!1,null,null,!1,!1,"",vd);return e._reactRootContainer=u,e[Ut]=u.current,ji(e.nodeType===8?e.parentNode:e),$n(function(){Al(t,u,n,i)}),u}function Ml(e,t,n,i,o){var l=n._reactRootContainer;if(l){var s=l;if(typeof o=="function"){var a=o;o=function(){var u=al(s);a.call(u)}}Al(t,s,e,o)}else s=_y(n,t,e,o,i);return al(s)}Lf=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Qr(t.pendingLanes);n!==0&&(fc(t,n|1),Qe(t,be()),!(se&6)&&(kr=be()+500,bn()))}break;case 13:$n(function(){var i=qt(e,1);if(i!==null){var o=We();bt(i,e,1,o)}}),Vc(e,1)}};pc=function(e){if(e.tag===13){var t=qt(e,134217728);if(t!==null){var n=We();bt(t,e,134217728,n)}Vc(e,134217728)}};zf=function(e){if(e.tag===13){var t=hn(e),n=qt(e,t);if(n!==null){var i=We();bt(n,e,t,i)}Vc(e,t)}};Bf=function(){return ue};Wf=function(e,t){var n=ue;try{return ue=e,t()}finally{ue=n}};na=function(e,t,n){switch(t){case"input":if(Gs(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 i=n[t];if(i!==e&&i.form===e.form){var o=kl(i);if(!o)throw Error(W(90));yf(i),Gs(i,o)}}}break;case"textarea":jf(e,n);break;case"select":t=n.value,t!=null&&mr(e,!!n.multiple,t,!1)}};Ef=Bc;_f=$n;var Py={usingClientEntryPoint:!1,Events:[zi,nr,kl,Sf,kf,Bc]},Hr={findFiberByHostInstance:On,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Oy={bundleType:Hr.bundleType,version:Hr.version,rendererPackageName:Hr.rendererPackageName,rendererConfig:Hr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Kt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Tf(e),e===null?null:e.stateNode},findFiberByHostInstance:Hr.findFiberByHostInstance||Ey,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 co=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!co.isDisabled&&co.supportsFiber)try{Cl=co.inject(Oy),At=co}catch{}}ct.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Py;ct.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kc(t))throw Error(W(200));return ky(e,t,null,n)};ct.createRoot=function(e,t){if(!Kc(e))throw Error(W(299));var n=!1,i="",o=cm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=qc(e,1,!1,null,null,n,!1,i,o),e[Ut]=t.current,ji(e.nodeType===8?e.parentNode:e),new Hc(t)};ct.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(W(188)):(e=Object.keys(e).join(","),Error(W(268,e)));return e=Tf(t),e=e===null?null:e.stateNode,e};ct.flushSync=function(e){return $n(e)};ct.hydrate=function(e,t,n){if(!Dl(t))throw Error(W(200));return Ml(null,e,t,!0,n)};ct.hydrateRoot=function(e,t,n){if(!Kc(e))throw Error(W(405));var i=n!=null&&n.hydratedSources||null,o=!1,l="",s=cm;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=am(t,null,e,1,n??null,o,!1,l,s),e[Ut]=t.current,ji(e),i)for(e=0;e<i.length;e++)n=i[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Il(t)};ct.render=function(e,t,n){if(!Dl(t))throw Error(W(200));return Ml(null,e,t,!1,n)};ct.unmountComponentAtNode=function(e){if(!Dl(e))throw Error(W(40));return e._reactRootContainer?($n(function(){Ml(null,null,e,!1,function(){e._reactRootContainer=null,e[Ut]=null})}),!0):!1};ct.unstable_batchedUpdates=Bc;ct.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!Dl(n))throw Error(W(200));if(e==null||e._reactInternals===void 0)throw Error(W(38));return Ml(e,t,n,!1,i)};ct.version="18.3.1-next-f1338f8080-20240426";function um(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(um)}catch(e){console.error(e)}}um(),uf.exports=ct;var Ty=uf.exports,dm,gd=Ty;dm=gd.createRoot,gd.hydrateRoot;var fm={exports:{}},pm={};/**
|
|
* @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 Wi=R;function Ry(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ay=typeof Object.is=="function"?Object.is:Ry,Iy=Wi.useSyncExternalStore,Dy=Wi.useRef,My=Wi.useEffect,Fy=Wi.useMemo,Ly=Wi.useDebugValue;pm.useSyncExternalStoreWithSelector=function(e,t,n,i,o){var l=Dy(null);if(l.current===null){var s={hasValue:!1,value:null};l.current=s}else s=l.current;l=Fy(function(){function u(j){if(!c){if(c=!0,d=j,j=i(j),o!==void 0&&s.hasValue){var g=s.value;if(o(g,j))return f=g}return f=j}if(g=f,Ay(d,j))return g;var x=i(j);return o!==void 0&&o(g,x)?g:(d=j,f=x)}var c=!1,d,f,v=n===void 0?null:n;return[function(){return u(t())},v===null?void 0:function(){return u(v())}]},[t,n,i,o]);var a=Iy(e,l[0],l[1]);return My(function(){s.hasValue=!0,s.value=a},[a]),Ly(a),a};fm.exports=pm;var zy=fm.exports,nt="default"in $s?T:$s,yd=Symbol.for("react-redux-context"),xd=typeof globalThis<"u"?globalThis:{};function By(){if(!nt.createContext)return{};const e=xd[yd]??(xd[yd]=new Map);let t=e.get(nt.createContext);return t||(t=nt.createContext(null),e.set(nt.createContext,t)),t}var jn=By(),Wy=()=>{throw new Error("uSES not initialized!")};function Yc(e=jn){return function(){return nt.useContext(e)}}var mm=Yc(),hm=Wy,$y=e=>{hm=e},Uy=(e,t)=>e===t;function qy(e=jn){const t=e===jn?mm:Yc(e),n=(i,o={})=>{const{equalityFn:l=Uy,devModeChecks:s={}}=typeof o=="function"?{equalityFn:o}:o,{store:a,subscription:u,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();nt.useRef(!0);const v=nt.useCallback({[i.name](g){return i(g)}}[i.name],[i,d,s.stabilityCheck]),j=hm(u.addNestedSub,a.getState,c||a.getState,v,l);return nt.useDebugValue(j),j};return Object.assign(n,{withTypes:()=>n}),n}var Ze=qy();function Vy(e){e()}function Hy(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Vy(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){const n=[];let i=e;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0;const o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!i||e===null||(i=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var jd={notify(){},get:()=>[]};function Ky(e,t){let n,i=jd,o=0,l=!1;function s(x){d();const N=i.subscribe(x);let m=!1;return()=>{m||(m=!0,N(),f())}}function a(){i.notify()}function u(){g.onStateChange&&g.onStateChange()}function c(){return l}function d(){o++,n||(n=e.subscribe(u),i=Hy())}function f(){o--,n&&o===0&&(n(),n=void 0,i.clear(),i=jd)}function v(){l||(l=!0,d())}function j(){l&&(l=!1,f())}const g={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:c,trySubscribe:v,tryUnsubscribe:j,getListeners:()=>i};return g}var Yy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Gy=typeof navigator<"u"&&navigator.product==="ReactNative",Qy=Yy||Gy?nt.useLayoutEffect:nt.useEffect;function Jy({store:e,context:t,children:n,serverState:i,stabilityCheck:o="once",identityFunctionCheck:l="once"}){const s=nt.useMemo(()=>{const c=Ky(e);return{store:e,subscription:c,getServerState:i?()=>i:void 0,stabilityCheck:o,identityFunctionCheck:l}},[e,i,o,l]),a=nt.useMemo(()=>e.getState(),[e]);Qy(()=>{const{subscription:c}=s;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),a!==e.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[s,a]);const u=t||jn;return nt.createElement(u.Provider,{value:s},n)}var Xy=Jy;function vm(e=jn){const t=e===jn?mm:Yc(e),n=()=>{const{store:i}=t();return i};return Object.assign(n,{withTypes:()=>n}),n}var Zy=vm();function ex(e=jn){const t=e===jn?Zy:vm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var kt=ex();$y(zy.useSyncExternalStoreWithSelector);function Te(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 tx=typeof Symbol=="function"&&Symbol.observable||"@@observable",Nd=tx,Rs=()=>Math.random().toString(36).substring(7).split("").join("."),nx={INIT:`@@redux/INIT${Rs()}`,REPLACE:`@@redux/REPLACE${Rs()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Rs()}`},cl=nx;function Gc(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 gm(e,t,n){if(typeof e!="function")throw new Error(Te(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Te(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Te(1));return n(gm)(e,t)}let i=e,o=t,l=new Map,s=l,a=0,u=!1;function c(){s===l&&(s=new Map,l.forEach((N,m)=>{s.set(m,N)}))}function d(){if(u)throw new Error(Te(3));return o}function f(N){if(typeof N!="function")throw new Error(Te(4));if(u)throw new Error(Te(5));let m=!0;c();const h=a++;return s.set(h,N),function(){if(m){if(u)throw new Error(Te(6));m=!1,c(),s.delete(h),l=null}}}function v(N){if(!Gc(N))throw new Error(Te(7));if(typeof N.type>"u")throw new Error(Te(8));if(typeof N.type!="string")throw new Error(Te(17));if(u)throw new Error(Te(9));try{u=!0,o=i(o,N)}finally{u=!1}return(l=s).forEach(h=>{h()}),N}function j(N){if(typeof N!="function")throw new Error(Te(10));i=N,v({type:cl.REPLACE})}function g(){const N=f;return{subscribe(m){if(typeof m!="object"||m===null)throw new Error(Te(11));function h(){const y=m;y.next&&y.next(d())}return h(),{unsubscribe:N(h)}},[Nd](){return this}}}return v({type:cl.INIT}),{dispatch:v,subscribe:f,getState:d,replaceReducer:j,[Nd]:g}}function rx(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:cl.INIT})>"u")throw new Error(Te(12));if(typeof n(void 0,{type:cl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Te(13))})}function ix(e){const t=Object.keys(e),n={};for(let l=0;l<t.length;l++){const s=t[l];typeof e[s]=="function"&&(n[s]=e[s])}const i=Object.keys(n);let o;try{rx(n)}catch(l){o=l}return function(s={},a){if(o)throw o;let u=!1;const c={};for(let d=0;d<i.length;d++){const f=i[d],v=n[f],j=s[f],g=v(j,a);if(typeof g>"u")throw a&&a.type,new Error(Te(14));c[f]=g,u=u||g!==j}return u=u||i.length!==Object.keys(s).length,u?c:s}}function ul(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...i)=>t(n(...i)))}function ox(...e){return t=>(n,i)=>{const o=t(n,i);let l=()=>{throw new Error(Te(15))};const s={getState:o.getState,dispatch:(u,...c)=>l(u,...c)},a=e.map(u=>u(s));return l=ul(...a)(o.dispatch),{...o,dispatch:l}}}function lx(e){return Gc(e)&&"type"in e&&typeof e.type=="string"}var ym=Symbol.for("immer-nothing"),Cd=Symbol.for("immer-draftable"),st=Symbol.for("immer-state");function Nt(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Er=Object.getPrototypeOf;function Un(e){return!!e&&!!e[st]}function Ht(e){var t;return e?xm(e)||Array.isArray(e)||!!e[Cd]||!!((t=e.constructor)!=null&&t[Cd])||Ll(e)||zl(e):!1}var sx=Object.prototype.constructor.toString();function xm(e){if(!e||typeof e!="object")return!1;const t=Er(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)===sx}function dl(e,t){Fl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,i)=>t(i,n,e))}function Fl(e){const t=e[st];return t?t.type_:Array.isArray(e)?1:Ll(e)?2:zl(e)?3:0}function Da(e,t){return Fl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function jm(e,t,n){const i=Fl(e);i===2?e.set(t,n):i===3?e.add(n):e[t]=n}function ax(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ll(e){return e instanceof Map}function zl(e){return e instanceof Set}function _n(e){return e.copy_||e.base_}function Ma(e,t){if(Ll(e))return new Map(e);if(zl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=xm(e);if(t===!0||t==="class_only"&&!n){const i=Object.getOwnPropertyDescriptors(e);delete i[st];let o=Reflect.ownKeys(i);for(let l=0;l<o.length;l++){const s=o[l],a=i[s];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(i[s]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[s]})}return Object.create(Er(e),i)}else{const i=Er(e);if(i!==null&&n)return{...e};const o=Object.create(i);return Object.assign(o,e)}}function Qc(e,t=!1){return Bl(e)||Un(e)||!Ht(e)||(Fl(e)>1&&(e.set=e.add=e.clear=e.delete=cx),Object.freeze(e),t&&Object.entries(e).forEach(([n,i])=>Qc(i,!0))),e}function cx(){Nt(2)}function Bl(e){return Object.isFrozen(e)}var ux={};function qn(e){const t=ux[e];return t||Nt(0,e),t}var Pi;function Nm(){return Pi}function dx(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function bd(e,t){t&&(qn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Fa(e){La(e),e.drafts_.forEach(fx),e.drafts_=null}function La(e){e===Pi&&(Pi=e.parent_)}function wd(e){return Pi=dx(Pi,e)}function fx(e){const t=e[st];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Sd(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[st].modified_&&(Fa(t),Nt(4)),Ht(e)&&(e=fl(t,e),t.parent_||pl(t,e)),t.patches_&&qn("Patches").generateReplacementPatches_(n[st].base_,e,t.patches_,t.inversePatches_)):e=fl(t,n,[]),Fa(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==ym?e:void 0}function fl(e,t,n){if(Bl(t))return t;const i=t[st];if(!i)return dl(t,(o,l)=>kd(e,i,t,o,l,n)),t;if(i.scope_!==e)return t;if(!i.modified_)return pl(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;const o=i.copy_;let l=o,s=!1;i.type_===3&&(l=new Set(o),o.clear(),s=!0),dl(l,(a,u)=>kd(e,i,o,a,u,n,s)),pl(e,o,!1),n&&e.patches_&&qn("Patches").generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function kd(e,t,n,i,o,l,s){if(Un(o)){const a=l&&t&&t.type_!==3&&!Da(t.assigned_,i)?l.concat(i):void 0,u=fl(e,o,a);if(jm(n,i,u),Un(u))e.canAutoFreeze_=!1;else return}else s&&n.add(o);if(Ht(o)&&!Bl(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;fl(e,o),(!t||!t.scope_.parent_)&&typeof i!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,i)&&pl(e,o)}}function pl(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Qc(t,n)}function px(e,t){const n=Array.isArray(e),i={type_:n?1:0,scope_:t?t.scope_:Nm(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=i,l=Jc;n&&(o=[i],l=Oi);const{revoke:s,proxy:a}=Proxy.revocable(o,l);return i.draft_=a,i.revoke_=s,a}var Jc={get(e,t){if(t===st)return e;const n=_n(e);if(!Da(n,t))return mx(e,n,t);const i=n[t];return e.finalized_||!Ht(i)?i:i===As(e.base_,t)?(Is(e),e.copy_[t]=Ba(i,e)):i},has(e,t){return t in _n(e)},ownKeys(e){return Reflect.ownKeys(_n(e))},set(e,t,n){const i=Cm(_n(e),t);if(i!=null&&i.set)return i.set.call(e.draft_,n),!0;if(!e.modified_){const o=As(_n(e),t),l=o==null?void 0:o[st];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(ax(n,o)&&(n!==void 0||Da(e.base_,t)))return!0;Is(e),za(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 As(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Is(e),za(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=_n(e),i=Reflect.getOwnPropertyDescriptor(n,t);return i&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:i.enumerable,value:n[t]}},defineProperty(){Nt(11)},getPrototypeOf(e){return Er(e.base_)},setPrototypeOf(){Nt(12)}},Oi={};dl(Jc,(e,t)=>{Oi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Oi.deleteProperty=function(e,t){return Oi.set.call(this,e,t,void 0)};Oi.set=function(e,t,n){return Jc.set.call(this,e[0],t,n,e[0])};function As(e,t){const n=e[st];return(n?_n(n):e)[t]}function mx(e,t,n){var o;const i=Cm(t,n);return i?"value"in i?i.value:(o=i.get)==null?void 0:o.call(e.draft_):void 0}function Cm(e,t){if(!(t in e))return;let n=Er(e);for(;n;){const i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Er(n)}}function za(e){e.modified_||(e.modified_=!0,e.parent_&&za(e.parent_))}function Is(e){e.copy_||(e.copy_=Ma(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var hx=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,i)=>{if(typeof t=="function"&&typeof n!="function"){const l=n;n=t;const s=this;return function(u=l,...c){return s.produce(u,d=>n.call(this,d,...c))}}typeof n!="function"&&Nt(6),i!==void 0&&typeof i!="function"&&Nt(7);let o;if(Ht(t)){const l=wd(this),s=Ba(t,void 0);let a=!0;try{o=n(s),a=!1}finally{a?Fa(l):La(l)}return bd(l,i),Sd(o,l)}else if(!t||typeof t!="object"){if(o=n(t),o===void 0&&(o=t),o===ym&&(o=void 0),this.autoFreeze_&&Qc(o,!0),i){const l=[],s=[];qn("Patches").generateReplacementPatches_(t,o,l,s),i(l,s)}return o}else Nt(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,u=>t(u,...a));let i,o;return[this.produce(t,n,(s,a)=>{i=s,o=a}),i,o]},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){Ht(e)||Nt(8),Un(e)&&(e=vx(e));const t=wd(this),n=Ba(e,void 0);return n[st].isManual_=!0,La(t),n}finishDraft(e,t){const n=e&&e[st];(!n||!n.isManual_)&&Nt(9);const{scope_:i}=n;return bd(i,t),Sd(void 0,i)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const i=qn("Patches").applyPatches_;return Un(e)?i(e,t):this.produce(e,o=>i(o,t))}};function Ba(e,t){const n=Ll(e)?qn("MapSet").proxyMap_(e,t):zl(e)?qn("MapSet").proxySet_(e,t):px(e,t);return(t?t.scope_:Nm()).drafts_.push(n),n}function vx(e){return Un(e)||Nt(10,e),bm(e)}function bm(e){if(!Ht(e)||Bl(e))return e;const t=e[st];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Ma(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Ma(e,!0);return dl(n,(i,o)=>{jm(n,i,bm(o))}),t&&(t.finalized_=!1),n}var at=new hx,wm=at.produce;at.produceWithPatches.bind(at);at.setAutoFreeze.bind(at);at.setUseStrictShallowCopy.bind(at);at.applyPatches.bind(at);at.createDraft.bind(at);at.finishDraft.bind(at);function Sm(e){return({dispatch:n,getState:i})=>o=>l=>typeof l=="function"?l(n,i,e):o(l)}var gx=Sm(),yx=Sm,xx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ul:ul.apply(null,arguments)},jx=e=>e&&typeof e.match=="function";function ai(e,t){function n(...i){if(t){let o=t(...i);if(!o)throw new Error(wt(0));return{type:e,payload:o.payload,..."meta"in o&&{meta:o.meta},..."error"in o&&{error:o.error}}}return{type:e,payload:i[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=i=>lx(i)&&i.type===e,n}var km=class Xr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Xr.prototype)}static get[Symbol.species](){return Xr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Xr(...t[0].concat(this)):new Xr(...t.concat(this))}};function Ed(e){return Ht(e)?wm(e,()=>{}):e}function _d(e,t,n){if(e.has(t)){let o=e.get(t);return n.update&&(o=n.update(o,t,e),e.set(t,o)),o}if(!n.insert)throw new Error(wt(10));const i=n.insert(t,e);return e.set(t,i),i}function Nx(e){return typeof e=="boolean"}var Cx=()=>function(t){const{thunk:n=!0,immutableCheck:i=!0,serializableCheck:o=!0,actionCreatorCheck:l=!0}=t??{};let s=new km;return n&&(Nx(n)?s.push(gx):s.push(yx(n.extraArgument))),s},bx="RTK_autoBatch",Em=e=>t=>{setTimeout(t,e)},wx=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Em(10),Sx=(e={type:"raf"})=>t=>(...n)=>{const i=t(...n);let o=!0,l=!1,s=!1;const a=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?wx:e.type==="callback"?e.queueNotification:Em(e.timeout),c=()=>{s=!1,l&&(l=!1,a.forEach(d=>d()))};return Object.assign({},i,{subscribe(d){const f=()=>o&&d(),v=i.subscribe(f);return a.add(d),()=>{v(),a.delete(d)}},dispatch(d){var f;try{return o=!((f=d==null?void 0:d.meta)!=null&&f[bx]),l=!o,l&&(s||(s=!0,u(c))),i.dispatch(d)}finally{o=!0}}})},kx=e=>function(n){const{autoBatch:i=!0}=n??{};let o=new km(e);return i&&o.push(Sx(typeof i=="object"?i:void 0)),o};function Ex(e){const t=Cx(),{reducer:n=void 0,middleware:i,devTools:o=!0,preloadedState:l=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(Gc(n))a=ix(n);else throw new Error(wt(1));let u;typeof i=="function"?u=i(t):u=t();let c=ul;o&&(c=xx({trace:!1,...typeof o=="object"&&o}));const d=ox(...u),f=kx(d);let v=typeof s=="function"?s(f):f();const j=c(...v);return gm(a,l,j)}function _m(e){const t={},n=[];let i;const o={addCase(l,s){const a=typeof l=="string"?l:l.type;if(!a)throw new Error(wt(28));if(a in t)throw new Error(wt(29));return t[a]=s,o},addMatcher(l,s){return n.push({matcher:l,reducer:s}),o},addDefaultCase(l){return i=l,o}};return e(o),[t,n,i]}function _x(e){return typeof e=="function"}function Px(e,t){let[n,i,o]=_m(t),l;if(_x(e))l=()=>Ed(e());else{const a=Ed(e);l=()=>a}function s(a=l(),u){let c=[n[u.type],...i.filter(({matcher:d})=>d(u)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[o]),c.reduce((d,f)=>{if(f)if(Un(d)){const j=f(d,u);return j===void 0?d:j}else{if(Ht(d))return wm(d,v=>f(v,u));{const v=f(d,u);if(v===void 0){if(d===null)return d;throw new Error(wt(9))}return v}}return d},a)}return s.getInitialState=l,s}var Ox=(e,t)=>jx(e)?e.match(t):e(t);function Tx(...e){return t=>e.some(n=>Ox(n,t))}var Rx="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ax=(e=21)=>{let t="",n=e;for(;n--;)t+=Rx[Math.random()*64|0];return t},Ix=["name","message","stack","code"],Ds=class{constructor(e,t){os(this,"_type");this.payload=e,this.meta=t}},Pd=class{constructor(e,t){os(this,"_type");this.payload=e,this.meta=t}},Dx=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of Ix)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},Dt=(()=>{function e(t,n,i){const o=ai(t+"/fulfilled",(u,c,d,f)=>({payload:u,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),l=ai(t+"/pending",(u,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:u,requestStatus:"pending"}})),s=ai(t+"/rejected",(u,c,d,f,v)=>({payload:f,error:(i&&i.serializeError||Dx)(u||"Rejected"),meta:{...v||{},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 a(u){return(c,d,f)=>{const v=i!=null&&i.idGenerator?i.idGenerator(u):Ax(),j=new AbortController;let g,x;function N(h){x=h,j.abort()}const m=async function(){var y,w;let h;try{let k=(y=i==null?void 0:i.condition)==null?void 0:y.call(i,u,{getState:d,extra:f});if(Fx(k)&&(k=await k),k===!1||j.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const _=new Promise((S,M)=>{g=()=>{M({name:"AbortError",message:x||"Aborted"})},j.signal.addEventListener("abort",g)});c(l(v,u,(w=i==null?void 0:i.getPendingMeta)==null?void 0:w.call(i,{requestId:v,arg:u},{getState:d,extra:f}))),h=await Promise.race([_,Promise.resolve(n(u,{dispatch:c,getState:d,extra:f,requestId:v,signal:j.signal,abort:N,rejectWithValue:(S,M)=>new Ds(S,M),fulfillWithValue:(S,M)=>new Pd(S,M)})).then(S=>{if(S instanceof Ds)throw S;return S instanceof Pd?o(S.payload,v,u,S.meta):o(S,v,u)})])}catch(k){h=k instanceof Ds?s(null,v,u,k.payload,k.meta):s(k,v,u)}finally{g&&j.signal.removeEventListener("abort",g)}return i&&!i.dispatchConditionRejection&&s.match(h)&&h.meta.condition||c(h),h}();return Object.assign(m,{abort:N,requestId:v,arg:u,unwrap(){return m.then(Mx)}})}}return Object.assign(a,{pending:l,rejected:s,fulfilled:o,settled:Tx(s,o),typePrefix:t})}return e.withTypes=()=>e,e})();function Mx(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Fx(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Lx=Symbol.for("rtk-slice-createasyncthunk");function zx(e,t){return`${e}/${t}`}function Bx({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[Lx];return function(o){const{name:l,reducerPath:s=l}=o;if(!l)throw new Error(wt(11));typeof process<"u";const a=(typeof o.reducers=="function"?o.reducers($x()):o.reducers)||{},u=Object.keys(a),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(p,y){const w=typeof p=="string"?p:p.type;if(!w)throw new Error(wt(12));if(w in c.sliceCaseReducersByType)throw new Error(wt(13));return c.sliceCaseReducersByType[w]=y,d},addMatcher(p,y){return c.sliceMatchers.push({matcher:p,reducer:y}),d},exposeAction(p,y){return c.actionCreators[p]=y,d},exposeCaseReducer(p,y){return c.sliceCaseReducersByName[p]=y,d}};u.forEach(p=>{const y=a[p],w={reducerName:p,type:zx(l,p),createNotation:typeof o.reducers=="function"};qx(y)?Hx(w,y,d,t):Ux(w,y,d)});function f(){const[p={},y=[],w=void 0]=typeof o.extraReducers=="function"?_m(o.extraReducers):[o.extraReducers],k={...p,...c.sliceCaseReducersByType};return Px(o.initialState,_=>{for(let S in k)_.addCase(S,k[S]);for(let S of c.sliceMatchers)_.addMatcher(S.matcher,S.reducer);for(let S of y)_.addMatcher(S.matcher,S.reducer);w&&_.addDefaultCase(w)})}const v=p=>p,j=new Map;let g;function x(p,y){return g||(g=f()),g(p,y)}function N(){return g||(g=f()),g.getInitialState()}function m(p,y=!1){function w(_){let S=_[p];return typeof S>"u"&&y&&(S=N()),S}function k(_=v){const S=_d(j,y,{insert:()=>new WeakMap});return _d(S,_,{insert:()=>{const M={};for(const[L,$]of Object.entries(o.selectors??{}))M[L]=Wx($,_,N,y);return M}})}return{reducerPath:p,getSelectors:k,get selectors(){return k(w)},selectSlice:w}}const h={name:l,reducer:x,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:N,...m(s),injectInto(p,{reducerPath:y,...w}={}){const k=y??s;return p.inject({reducerPath:k,reducer:x},w),{...h,...m(k,!0)}}};return h}}function Wx(e,t,n,i){function o(l,...s){let a=t(l);return typeof a>"u"&&i&&(a=n()),e(a,...s)}return o.unwrapped=e,o}var Xc=Bx();function $x(){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 Ux({type:e,reducerName:t,createNotation:n},i,o){let l,s;if("reducer"in i){if(n&&!Vx(i))throw new Error(wt(17));l=i.reducer,s=i.prepare}else l=i;o.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,s?ai(e,s):ai(e))}function qx(e){return e._reducerDefinitionType==="asyncThunk"}function Vx(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Hx({type:e,reducerName:t},n,i,o){if(!o)throw new Error(wt(18));const{payloadCreator:l,fulfilled:s,pending:a,rejected:u,settled:c,options:d}=n,f=o(e,l,d);i.exposeAction(t,f),s&&i.addCase(f.fulfilled,s),a&&i.addCase(f.pending,a),u&&i.addCase(f.rejected,u),c&&i.addMatcher(f.settled,c),i.exposeCaseReducer(t,{fulfilled:s||uo,pending:a||uo,rejected:u||uo,settled:c||uo})}function uo(){}function wt(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 Pm(e,t){return function(){return e.apply(t,arguments)}}const{toString:Kx}=Object.prototype,{getPrototypeOf:Zc}=Object,Wl=(e=>t=>{const n=Kx.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Et=e=>(e=e.toLowerCase(),t=>Wl(t)===e),$l=e=>t=>typeof t===e,{isArray:Rr}=Array,Ti=$l("undefined");function Yx(e){return e!==null&&!Ti(e)&&e.constructor!==null&&!Ti(e.constructor)&&ot(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Om=Et("ArrayBuffer");function Gx(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Om(e.buffer),t}const Qx=$l("string"),ot=$l("function"),Tm=$l("number"),Ul=e=>e!==null&&typeof e=="object",Jx=e=>e===!0||e===!1,ko=e=>{if(Wl(e)!=="object")return!1;const t=Zc(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Xx=Et("Date"),Zx=Et("File"),e1=Et("Blob"),t1=Et("FileList"),n1=e=>Ul(e)&&ot(e.pipe),r1=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ot(e.append)&&((t=Wl(e))==="formdata"||t==="object"&&ot(e.toString)&&e.toString()==="[object FormData]"))},i1=Et("URLSearchParams"),[o1,l1,s1,a1]=["ReadableStream","Request","Response","Headers"].map(Et),c1=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function $i(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,o;if(typeof e!="object"&&(e=[e]),Rr(e))for(i=0,o=e.length;i<o;i++)t.call(null,e[i],i,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;let a;for(i=0;i<s;i++)a=l[i],t.call(null,e[a],a,e)}}function Rm(e,t){t=t.toLowerCase();const n=Object.keys(e);let i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}const An=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Am=e=>!Ti(e)&&e!==An;function Wa(){const{caseless:e}=Am(this)&&this||{},t={},n=(i,o)=>{const l=e&&Rm(t,o)||o;ko(t[l])&&ko(i)?t[l]=Wa(t[l],i):ko(i)?t[l]=Wa({},i):Rr(i)?t[l]=i.slice():t[l]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&$i(arguments[i],n);return t}const u1=(e,t,n,{allOwnKeys:i}={})=>($i(t,(o,l)=>{n&&ot(o)?e[l]=Pm(o,n):e[l]=o},{allOwnKeys:i}),e),d1=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),f1=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},p1=(e,t,n,i)=>{let o,l,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),l=o.length;l-- >0;)s=o[l],(!i||i(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Zc(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},m1=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},h1=e=>{if(!e)return null;if(Rr(e))return e;let t=e.length;if(!Tm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},v1=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Zc(Uint8Array)),g1=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=i.next())&&!o.done;){const l=o.value;t.call(e,l[0],l[1])}},y1=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},x1=Et("HTMLFormElement"),j1=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),Od=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),N1=Et("RegExp"),Im=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};$i(n,(o,l)=>{let s;(s=t(o,l,e))!==!1&&(i[l]=s||o)}),Object.defineProperties(e,i)},C1=e=>{Im(e,(t,n)=>{if(ot(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(ot(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},b1=(e,t)=>{const n={},i=o=>{o.forEach(l=>{n[l]=!0})};return Rr(e)?i(e):i(String(e).split(t)),n},w1=()=>{},S1=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Ms="abcdefghijklmnopqrstuvwxyz",Td="0123456789",Dm={DIGIT:Td,ALPHA:Ms,ALPHA_DIGIT:Ms+Ms.toUpperCase()+Td},k1=(e=16,t=Dm.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n};function E1(e){return!!(e&&ot(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const _1=e=>{const t=new Array(10),n=(i,o)=>{if(Ul(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;const l=Rr(i)?[]:{};return $i(i,(s,a)=>{const u=n(s,o+1);!Ti(u)&&(l[a]=u)}),t[o]=void 0,l}}return i};return n(e,0)},P1=Et("AsyncFunction"),O1=e=>e&&(Ul(e)||ot(e))&&ot(e.then)&&ot(e.catch),Mm=((e,t)=>e?setImmediate:t?((n,i)=>(An.addEventListener("message",({source:o,data:l})=>{o===An&&l===n&&i.length&&i.shift()()},!1),o=>{i.push(o),An.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ot(An.postMessage)),T1=typeof queueMicrotask<"u"?queueMicrotask.bind(An):typeof process<"u"&&process.nextTick||Mm,I={isArray:Rr,isArrayBuffer:Om,isBuffer:Yx,isFormData:r1,isArrayBufferView:Gx,isString:Qx,isNumber:Tm,isBoolean:Jx,isObject:Ul,isPlainObject:ko,isReadableStream:o1,isRequest:l1,isResponse:s1,isHeaders:a1,isUndefined:Ti,isDate:Xx,isFile:Zx,isBlob:e1,isRegExp:N1,isFunction:ot,isStream:n1,isURLSearchParams:i1,isTypedArray:v1,isFileList:t1,forEach:$i,merge:Wa,extend:u1,trim:c1,stripBOM:d1,inherits:f1,toFlatObject:p1,kindOf:Wl,kindOfTest:Et,endsWith:m1,toArray:h1,forEachEntry:g1,matchAll:y1,isHTMLForm:x1,hasOwnProperty:Od,hasOwnProp:Od,reduceDescriptors:Im,freezeMethods:C1,toObjectSet:b1,toCamelCase:j1,noop:w1,toFiniteNumber:S1,findKey:Rm,global:An,isContextDefined:Am,ALPHABET:Dm,generateString:k1,isSpecCompliantForm:E1,toJSONObject:_1,isAsyncFn:P1,isThenable:O1,setImmediate:Mm,asap:T1};function ne(e,t,n,i,o){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),i&&(this.request=i),o&&(this.response=o,this.status=o.status?o.status:null)}I.inherits(ne,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:I.toJSONObject(this.config),code:this.code,status:this.status}}});const Fm=ne.prototype,Lm={};["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=>{Lm[e]={value:e}});Object.defineProperties(ne,Lm);Object.defineProperty(Fm,"isAxiosError",{value:!0});ne.from=(e,t,n,i,o,l)=>{const s=Object.create(Fm);return I.toFlatObject(e,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),ne.call(s,e.message,t,n,i,o),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const R1=null;function $a(e){return I.isPlainObject(e)||I.isArray(e)}function zm(e){return I.endsWith(e,"[]")?e.slice(0,-2):e}function Rd(e,t,n){return e?e.concat(t).map(function(o,l){return o=zm(o),!n&&l?"["+o+"]":o}).join(n?".":""):t}function A1(e){return I.isArray(e)&&!e.some($a)}const I1=I.toFlatObject(I,{},null,function(t){return/^is[A-Z]/.test(t)});function ql(e,t,n){if(!I.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=I.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,N){return!I.isUndefined(N[x])});const i=n.metaTokens,o=n.visitor||d,l=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&I.isSpecCompliantForm(t);if(!I.isFunction(o))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(I.isDate(g))return g.toISOString();if(!u&&I.isBlob(g))throw new ne("Blob is not supported. Use a Buffer instead.");return I.isArrayBuffer(g)||I.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,x,N){let m=g;if(g&&!N&&typeof g=="object"){if(I.endsWith(x,"{}"))x=i?x:x.slice(0,-2),g=JSON.stringify(g);else if(I.isArray(g)&&A1(g)||(I.isFileList(g)||I.endsWith(x,"[]"))&&(m=I.toArray(g)))return x=zm(x),m.forEach(function(p,y){!(I.isUndefined(p)||p===null)&&t.append(s===!0?Rd([x],y,l):s===null?x:x+"[]",c(p))}),!1}return $a(g)?!0:(t.append(Rd(N,x,l),c(g)),!1)}const f=[],v=Object.assign(I1,{defaultVisitor:d,convertValue:c,isVisitable:$a});function j(g,x){if(!I.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+x.join("."));f.push(g),I.forEach(g,function(m,h){(!(I.isUndefined(m)||m===null)&&o.call(t,m,I.isString(h)?h.trim():h,x,v))===!0&&j(m,x?x.concat(h):[h])}),f.pop()}}if(!I.isObject(e))throw new TypeError("data must be an object");return j(e),t}function Ad(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function eu(e,t){this._pairs=[],e&&ql(e,this,t)}const Bm=eu.prototype;Bm.append=function(t,n){this._pairs.push([t,n])};Bm.toString=function(t){const n=t?function(i){return t.call(this,i,Ad)}:Ad;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function D1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wm(e,t,n){if(!t)return e;const i=n&&n.encode||D1,o=n&&n.serialize;let l;if(o?l=o(t,n):l=I.isURLSearchParams(t)?t.toString():new eu(t,n).toString(i),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Id{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){I.forEach(this.handlers,function(i){i!==null&&t(i)})}}const $m={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},M1=typeof URLSearchParams<"u"?URLSearchParams:eu,F1=typeof FormData<"u"?FormData:null,L1=typeof Blob<"u"?Blob:null,z1={isBrowser:!0,classes:{URLSearchParams:M1,FormData:F1,Blob:L1},protocols:["http","https","file","blob","url","data"]},tu=typeof window<"u"&&typeof document<"u",Ua=typeof navigator=="object"&&navigator||void 0,B1=tu&&(!Ua||["ReactNative","NativeScript","NS"].indexOf(Ua.product)<0),W1=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$1=tu&&window.location.href||"http://localhost",U1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:tu,hasStandardBrowserEnv:B1,hasStandardBrowserWebWorkerEnv:W1,navigator:Ua,origin:$1},Symbol.toStringTag,{value:"Module"})),Je={...U1,...z1};function q1(e,t){return ql(e,new Je.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,l){return Je.isNode&&I.isBuffer(n)?(this.append(i,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function V1(e){return I.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function H1(e){const t={},n=Object.keys(e);let i;const o=n.length;let l;for(i=0;i<o;i++)l=n[i],t[l]=e[l];return t}function Um(e){function t(n,i,o,l){let s=n[l++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),u=l>=n.length;return s=!s&&I.isArray(o)?o.length:s,u?(I.hasOwnProp(o,s)?o[s]=[o[s],i]:o[s]=i,!a):((!o[s]||!I.isObject(o[s]))&&(o[s]=[]),t(n,i,o[s],l)&&I.isArray(o[s])&&(o[s]=H1(o[s])),!a)}if(I.isFormData(e)&&I.isFunction(e.entries)){const n={};return I.forEachEntry(e,(i,o)=>{t(V1(i),o,n,0)}),n}return null}function K1(e,t,n){if(I.isString(e))try{return(t||JSON.parse)(e),I.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(e)}const Ui={transitional:$m,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const i=n.getContentType()||"",o=i.indexOf("application/json")>-1,l=I.isObject(t);if(l&&I.isHTMLForm(t)&&(t=new FormData(t)),I.isFormData(t))return o?JSON.stringify(Um(t)):t;if(I.isArrayBuffer(t)||I.isBuffer(t)||I.isStream(t)||I.isFile(t)||I.isBlob(t)||I.isReadableStream(t))return t;if(I.isArrayBufferView(t))return t.buffer;if(I.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(l){if(i.indexOf("application/x-www-form-urlencoded")>-1)return q1(t,this.formSerializer).toString();if((a=I.isFileList(t))||i.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ql(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return l||o?(n.setContentType("application/json",!1),K1(t)):t}],transformResponse:[function(t){const n=this.transitional||Ui.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(I.isResponse(t)||I.isReadableStream(t))return t;if(t&&I.isString(t)&&(i&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?ne.from(a,ne.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Je.classes.FormData,Blob:Je.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};I.forEach(["delete","get","head","post","put","patch"],e=>{Ui.headers[e]={}});const Y1=I.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"]),G1=e=>{const t={};let n,i,o;return e&&e.split(`
|
|
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),i=s.substring(o+1).trim(),!(!n||t[n]&&Y1[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},Dd=Symbol("internals");function Kr(e){return e&&String(e).trim().toLowerCase()}function Eo(e){return e===!1||e==null?e:I.isArray(e)?e.map(Eo):String(e)}function Q1(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const J1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Fs(e,t,n,i,o){if(I.isFunction(i))return i.call(this,t,n);if(o&&(t=n),!!I.isString(t)){if(I.isString(i))return t.indexOf(i)!==-1;if(I.isRegExp(i))return i.test(t)}}function X1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function Z1(e,t){const n=I.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(o,l,s){return this[i].call(this,t,o,l,s)},configurable:!0})})}class Xe{constructor(t){t&&this.set(t)}set(t,n,i){const o=this;function l(a,u,c){const d=Kr(u);if(!d)throw new Error("header name must be a non-empty string");const f=I.findKey(o,d);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||u]=Eo(a))}const s=(a,u)=>I.forEach(a,(c,d)=>l(c,d,u));if(I.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(I.isString(t)&&(t=t.trim())&&!J1(t))s(G1(t),n);else if(I.isHeaders(t))for(const[a,u]of t.entries())l(u,a,i);else t!=null&&l(n,t,i);return this}get(t,n){if(t=Kr(t),t){const i=I.findKey(this,t);if(i){const o=this[i];if(!n)return o;if(n===!0)return Q1(o);if(I.isFunction(n))return n.call(this,o,i);if(I.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Kr(t),t){const i=I.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||Fs(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let o=!1;function l(s){if(s=Kr(s),s){const a=I.findKey(i,s);a&&(!n||Fs(i,i[a],a,n))&&(delete i[a],o=!0)}}return I.isArray(t)?t.forEach(l):l(t),o}clear(t){const n=Object.keys(this);let i=n.length,o=!1;for(;i--;){const l=n[i];(!t||Fs(this,this[l],l,t,!0))&&(delete this[l],o=!0)}return o}normalize(t){const n=this,i={};return I.forEach(this,(o,l)=>{const s=I.findKey(i,l);if(s){n[s]=Eo(o),delete n[l];return}const a=t?X1(l):String(l).trim();a!==l&&delete n[l],n[a]=Eo(o),i[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return I.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=t&&I.isArray(i)?i.join(", "):i)}),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 i=new this(t);return n.forEach(o=>i.set(o)),i}static accessor(t){const i=(this[Dd]=this[Dd]={accessors:{}}).accessors,o=this.prototype;function l(s){const a=Kr(s);i[a]||(Z1(o,s),i[a]=!0)}return I.isArray(t)?t.forEach(l):l(t),this}}Xe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);I.reduceDescriptors(Xe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});I.freezeMethods(Xe);function Ls(e,t){const n=this||Ui,i=t||n,o=Xe.from(i.headers);let l=i.data;return I.forEach(e,function(a){l=a.call(n,l,o.normalize(),t?t.status:void 0)}),o.normalize(),l}function qm(e){return!!(e&&e.__CANCEL__)}function Ar(e,t,n){ne.call(this,e??"canceled",ne.ERR_CANCELED,t,n),this.name="CanceledError"}I.inherits(Ar,ne,{__CANCEL__:!0});function Vm(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new ne("Request failed with status code "+n.status,[ne.ERR_BAD_REQUEST,ne.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function e0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function t0(e,t){e=e||10;const n=new Array(e),i=new Array(e);let o=0,l=0,s;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=i[l];s||(s=c),n[o]=u,i[o]=c;let f=l,v=0;for(;f!==o;)v+=n[f++],f=f%e;if(o=(o+1)%e,o===l&&(l=(l+1)%e),c-s<t)return;const j=d&&c-d;return j?Math.round(v*1e3/j):void 0}}function n0(e,t){let n=0,i=1e3/t,o,l;const s=(c,d=Date.now())=>{n=d,o=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=i?s(c,d):(o=c,l||(l=setTimeout(()=>{l=null,s(o)},i-f)))},()=>o&&s(o)]}const ml=(e,t,n=3)=>{let i=0;const o=t0(50,250);return n0(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,u=s-i,c=o(u),d=s<=a;i=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&d?(a-s)/c:void 0,event:l,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},n)},Md=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Fd=e=>(...t)=>I.asap(()=>e(...t)),r0=Je.hasStandardBrowserEnv?function(){const t=Je.navigator&&/(msie|trident)/i.test(Je.navigator.userAgent),n=document.createElement("a");let i;function o(l){let s=l;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{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 i=o(window.location.href),function(s){const a=I.isString(s)?o(s):s;return a.protocol===i.protocol&&a.host===i.host}}():function(){return function(){return!0}}(),i0=Je.hasStandardBrowserEnv?{write(e,t,n,i,o,l){const s=[e+"="+encodeURIComponent(t)];I.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),I.isString(i)&&s.push("path="+i),I.isString(o)&&s.push("domain="+o),l===!0&&s.push("secure"),document.cookie=s.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 o0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function l0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Hm(e,t){return e&&!o0(t)?l0(e,t):t}const Ld=e=>e instanceof Xe?{...e}:e;function Vn(e,t){t=t||{};const n={};function i(c,d,f){return I.isPlainObject(c)&&I.isPlainObject(d)?I.merge.call({caseless:f},c,d):I.isPlainObject(d)?I.merge({},d):I.isArray(d)?d.slice():d}function o(c,d,f){if(I.isUndefined(d)){if(!I.isUndefined(c))return i(void 0,c,f)}else return i(c,d,f)}function l(c,d){if(!I.isUndefined(d))return i(void 0,d)}function s(c,d){if(I.isUndefined(d)){if(!I.isUndefined(c))return i(void 0,c)}else return i(void 0,d)}function a(c,d,f){if(f in t)return i(c,d);if(f in e)return i(void 0,c)}const u={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,d)=>o(Ld(c),Ld(d),!0)};return I.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||o,v=f(e[d],t[d],d);I.isUndefined(v)&&f!==a||(n[d]=v)}),n}const Km=e=>{const t=Vn({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=Xe.from(s),t.url=Wm(Hm(t.baseURL,t.url),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(I.isFormData(n)){if(Je.hasStandardBrowserEnv||Je.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((u=s.getContentType())!==!1){const[c,...d]=u?u.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...d].join("; "))}}if(Je.hasStandardBrowserEnv&&(i&&I.isFunction(i)&&(i=i(t)),i||i!==!1&&r0(t.url))){const c=o&&l&&i0.read(l);c&&s.set(o,c)}return t},s0=typeof XMLHttpRequest<"u",a0=s0&&function(e){return new Promise(function(n,i){const o=Km(e);let l=o.data;const s=Xe.from(o.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:c}=o,d,f,v,j,g;function x(){j&&j(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let N=new XMLHttpRequest;N.open(o.method.toUpperCase(),o.url,!0),N.timeout=o.timeout;function m(){if(!N)return;const p=Xe.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),w={data:!a||a==="text"||a==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:p,config:e,request:N};Vm(function(_){n(_),x()},function(_){i(_),x()},w),N=null}"onloadend"in N?N.onloadend=m:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(m)},N.onabort=function(){N&&(i(new ne("Request aborted",ne.ECONNABORTED,e,N)),N=null)},N.onerror=function(){i(new ne("Network Error",ne.ERR_NETWORK,e,N)),N=null},N.ontimeout=function(){let y=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const w=o.transitional||$m;o.timeoutErrorMessage&&(y=o.timeoutErrorMessage),i(new ne(y,w.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,e,N)),N=null},l===void 0&&s.setContentType(null),"setRequestHeader"in N&&I.forEach(s.toJSON(),function(y,w){N.setRequestHeader(w,y)}),I.isUndefined(o.withCredentials)||(N.withCredentials=!!o.withCredentials),a&&a!=="json"&&(N.responseType=o.responseType),c&&([v,g]=ml(c,!0),N.addEventListener("progress",v)),u&&N.upload&&([f,j]=ml(u),N.upload.addEventListener("progress",f),N.upload.addEventListener("loadend",j)),(o.cancelToken||o.signal)&&(d=p=>{N&&(i(!p||p.type?new Ar(null,e,N):p),N.abort(),N=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const h=e0(o.url);if(h&&Je.protocols.indexOf(h)===-1){i(new ne("Unsupported protocol "+h+":",ne.ERR_BAD_REQUEST,e));return}N.send(l||null)})},c0=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let i=new AbortController,o;const l=function(c){if(!o){o=!0,a();const d=c instanceof Error?c:this.reason;i.abort(d instanceof ne?d:new Ar(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,l(new ne(`timeout ${t} of ms exceeded`,ne.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:u}=i;return u.unsubscribe=()=>I.asap(a),u}},u0=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let i=0,o;for(;i<n;)o=i+t,yield e.slice(i,o),i=o},d0=async function*(e,t){for await(const n of f0(e))yield*u0(n,t)},f0=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:i}=await t.read();if(n)break;yield i}}finally{await t.cancel()}},zd=(e,t,n,i)=>{const o=d0(e,t);let l=0,s,a=u=>{s||(s=!0,i&&i(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await o.next();if(c){a(),u.close();return}let f=d.byteLength;if(n){let v=l+=f;n(v)}u.enqueue(new Uint8Array(d))}catch(c){throw a(c),c}},cancel(u){return a(u),o.return()}},{highWaterMark:2})},Vl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ym=Vl&&typeof ReadableStream=="function",p0=Vl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Gm=(e,...t)=>{try{return!!e(...t)}catch{return!1}},m0=Ym&&Gm(()=>{let e=!1;const t=new Request(Je.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Bd=64*1024,qa=Ym&&Gm(()=>I.isReadableStream(new Response("").body)),hl={stream:qa&&(e=>e.body)};Vl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!hl[t]&&(hl[t]=I.isFunction(e[t])?n=>n[t]():(n,i)=>{throw new ne(`Response type '${t}' is not supported`,ne.ERR_NOT_SUPPORT,i)})})})(new Response);const h0=async e=>{if(e==null)return 0;if(I.isBlob(e))return e.size;if(I.isSpecCompliantForm(e))return(await new Request(Je.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(I.isArrayBufferView(e)||I.isArrayBuffer(e))return e.byteLength;if(I.isURLSearchParams(e)&&(e=e+""),I.isString(e))return(await p0(e)).byteLength},v0=async(e,t)=>{const n=I.toFiniteNumber(e.getContentLength());return n??h0(t)},g0=Vl&&(async e=>{let{url:t,method:n,data:i,signal:o,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:u,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:v}=Km(e);c=c?(c+"").toLowerCase():"text";let j=c0([o,l&&l.toAbortSignal()],s),g;const x=j&&j.unsubscribe&&(()=>{j.unsubscribe()});let N;try{if(u&&m0&&n!=="get"&&n!=="head"&&(N=await v0(d,i))!==0){let w=new Request(t,{method:"POST",body:i,duplex:"half"}),k;if(I.isFormData(i)&&(k=w.headers.get("content-type"))&&d.setContentType(k),w.body){const[_,S]=Md(N,ml(Fd(u)));i=zd(w.body,Bd,_,S)}}I.isString(f)||(f=f?"include":"omit");const m="credentials"in Request.prototype;g=new Request(t,{...v,signal:j,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:i,duplex:"half",credentials:m?f:void 0});let h=await fetch(g);const p=qa&&(c==="stream"||c==="response");if(qa&&(a||p&&x)){const w={};["status","statusText","headers"].forEach(M=>{w[M]=h[M]});const k=I.toFiniteNumber(h.headers.get("content-length")),[_,S]=a&&Md(k,ml(Fd(a),!0))||[];h=new Response(zd(h.body,Bd,_,()=>{S&&S(),x&&x()}),w)}c=c||"text";let y=await hl[I.findKey(hl,c)||"text"](h,e);return!p&&x&&x(),await new Promise((w,k)=>{Vm(w,k,{data:y,headers:Xe.from(h.headers),status:h.status,statusText:h.statusText,config:e,request:g})})}catch(m){throw x&&x(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new ne("Network Error",ne.ERR_NETWORK,e,g),{cause:m.cause||m}):ne.from(m,m&&m.code,e,g)}}),Va={http:R1,xhr:a0,fetch:g0};I.forEach(Va,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Wd=e=>`- ${e}`,y0=e=>I.isFunction(e)||e===null||e===!1,Qm={getAdapter:e=>{e=I.isArray(e)?e:[e];const{length:t}=e;let n,i;const o={};for(let l=0;l<t;l++){n=e[l];let s;if(i=n,!y0(n)&&(i=Va[(s=String(n)).toLowerCase()],i===void 0))throw new ne(`Unknown adapter '${s}'`);if(i)break;o[s||"#"+l]=i}if(!i){const l=Object.entries(o).map(([a,u])=>`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=t?l.length>1?`since :
|
|
`+l.map(Wd).join(`
|
|
`):" "+Wd(l[0]):"as no adapter specified";throw new ne("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return i},adapters:Va};function zs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ar(null,e)}function $d(e){return zs(e),e.headers=Xe.from(e.headers),e.data=Ls.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Qm.getAdapter(e.adapter||Ui.adapter)(e).then(function(i){return zs(e),i.data=Ls.call(e,e.transformResponse,i),i.headers=Xe.from(i.headers),i},function(i){return qm(i)||(zs(e),i&&i.response&&(i.response.data=Ls.call(e,e.transformResponse,i.response),i.response.headers=Xe.from(i.response.headers))),Promise.reject(i)})}const Jm="1.7.7",nu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{nu[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const Ud={};nu.transitional=function(t,n,i){function o(l,s){return"[Axios v"+Jm+"] Transitional option '"+l+"'"+s+(i?". "+i:"")}return(l,s,a)=>{if(t===!1)throw new ne(o(s," has been removed"+(n?" in "+n:"")),ne.ERR_DEPRECATED);return n&&!Ud[s]&&(Ud[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,s,a):!0}};function x0(e,t,n){if(typeof e!="object")throw new ne("options must be an object",ne.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let o=i.length;for(;o-- >0;){const l=i[o],s=t[l];if(s){const a=e[l],u=a===void 0||s(a,l,e);if(u!==!0)throw new ne("option "+l+" must be "+u,ne.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ne("Unknown option "+l,ne.ERR_BAD_OPTION)}}const Ha={assertOptions:x0,validators:nu},Qt=Ha.validators;class Mn{constructor(t){this.defaults=t,this.interceptors={request:new Id,response:new Id}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const l=o.stack?o.stack.replace(/^.+\n/,""):"";try{i.stack?l&&!String(i.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(i.stack+=`
|
|
`+l):i.stack=l}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Vn(this.defaults,n);const{transitional:i,paramsSerializer:o,headers:l}=n;i!==void 0&&Ha.assertOptions(i,{silentJSONParsing:Qt.transitional(Qt.boolean),forcedJSONParsing:Qt.transitional(Qt.boolean),clarifyTimeoutError:Qt.transitional(Qt.boolean)},!1),o!=null&&(I.isFunction(o)?n.paramsSerializer={serialize:o}:Ha.assertOptions(o,{encode:Qt.function,serialize:Qt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=l&&I.merge(l.common,l[n.method]);l&&I.forEach(["delete","get","head","post","put","patch","common"],g=>{delete l[g]}),n.headers=Xe.concat(s,l);const a=[];let u=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(u=u&&x.synchronous,a.unshift(x.fulfilled,x.rejected))});const c=[];this.interceptors.response.forEach(function(x){c.push(x.fulfilled,x.rejected)});let d,f=0,v;if(!u){const g=[$d.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,c),v=g.length,d=Promise.resolve(n);f<v;)d=d.then(g[f++],g[f++]);return d}v=a.length;let j=n;for(f=0;f<v;){const g=a[f++],x=a[f++];try{j=g(j)}catch(N){x.call(this,N);break}}try{d=$d.call(this,j)}catch(g){return Promise.reject(g)}for(f=0,v=c.length;f<v;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=Vn(this.defaults,t);const n=Hm(t.baseURL,t.url);return Wm(n,t.params,t.paramsSerializer)}}I.forEach(["delete","get","head","options"],function(t){Mn.prototype[t]=function(n,i){return this.request(Vn(i||{},{method:t,url:n,data:(i||{}).data}))}});I.forEach(["post","put","patch"],function(t){function n(i){return function(l,s,a){return this.request(Vn(a||{},{method:t,headers:i?{"Content-Type":"multipart/form-data"}:{},url:l,data:s}))}}Mn.prototype[t]=n(),Mn.prototype[t+"Form"]=n(!0)});class ru{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const i=this;this.promise.then(o=>{if(!i._listeners)return;let l=i._listeners.length;for(;l-- >0;)i._listeners[l](o);i._listeners=null}),this.promise.then=o=>{let l;const s=new Promise(a=>{i.subscribe(a),l=a}).then(o);return s.cancel=function(){i.unsubscribe(l)},s},t(function(l,s,a){i.reason||(i.reason=new Ar(l,s,a),n(i.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=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ru(function(o){t=o}),cancel:t}}}function j0(e){return function(n){return e.apply(null,n)}}function N0(e){return I.isObject(e)&&e.isAxiosError===!0}const Ka={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(Ka).forEach(([e,t])=>{Ka[t]=e});function Xm(e){const t=new Mn(e),n=Pm(Mn.prototype.request,t);return I.extend(n,Mn.prototype,t,{allOwnKeys:!0}),I.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Xm(Vn(e,o))},n}const fe=Xm(Ui);fe.Axios=Mn;fe.CanceledError=Ar;fe.CancelToken=ru;fe.isCancel=qm;fe.VERSION=Jm;fe.toFormData=ql;fe.AxiosError=ne;fe.Cancel=fe.CanceledError;fe.all=function(t){return Promise.all(t)};fe.spread=j0;fe.isAxiosError=N0;fe.mergeConfig=Vn;fe.AxiosHeaders=Xe;fe.formToJSON=e=>Um(I.isHTMLForm(e)?new FormData(e):e);fe.getAdapter=Qm.getAdapter;fe.HttpStatusCode=Ka;fe.default=fe;const C0="http://67.225.129.127:3002",Yt=fe.create({baseURL:C0});Yt.interceptors.request.use(e=>(localStorage.getItem("profile")&&(e.headers.Authorization=`Bearer ${JSON.parse(localStorage.getItem("profile")).token}`),e));const b0=e=>Yt.post("/users/signup",e),w0=e=>Yt.post("/users/signin",e),S0=(e,t,n)=>Yt.get(`/users/${e}/verify/${t}`,n),k0=e=>Yt.post("/properties",e),E0=(e,t,n)=>Yt.get(`/properties/user/${e}?page=${t}&limit=${n}`,e),_0=e=>Yt.get(`/properties/${e}`,e),P0=(e,t)=>Yt.put(`/properties/${e}`,t),O0=e=>Yt.get(`/users/${e}`),_o=Dt("auth/login",async({formValue:e,navigate:t},{rejectWithValue:n})=>{try{const i=await w0(e);return t("/dashboard"),i.data}catch(i){return n(i.response.data)}}),Po=Dt("auth/register",async({formValue:e,navigate:t,toast:n},{rejectWithValue:i})=>{try{const o=await b0(e);return n.success("Register Successfully"),t("/registrationsuccess"),o.data}catch(o){return i(o.response.data)}}),Oo=Dt("auth/updateUser",async(e,{rejectWithValue:t})=>{try{return(await fe.put("http://localhost:3002/users/update",e)).data}catch(n){return t(n.response.data)}}),Zm=Xc({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(_o.pending,t=>{t.loading=!0}).addCase(_o.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(_o.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Po.pending,t=>{t.loading=!0}).addCase(Po.fulfilled,(t,n)=>{t.loading=!1,localStorage.setItem("profile",JSON.stringify({...n.payload})),t.user=n.payload}).addCase(Po.rejected,(t,n)=>{t.loading=!1,t.error=n.payload.message}).addCase(Oo.pending,t=>{t.isLoading=!0}).addCase(Oo.fulfilled,(t,n)=>{t.isLoading=!1,t.user=n.payload}).addCase(Oo.rejected,(t,n)=>{t.isLoading=!1,t.error=n.payload})}}),{setUser:eC,setLogout:T0,setUserDetails:tC}=Zm.actions,R0=Zm.reducer,To=Dt("user/showUser",async(e,{rejectWithValue:t})=>{try{return(await O0(e)).data}catch(n){return t(n.response.data)}}),Ro=Dt("user/verifyEmail",async({id:e,token:t,data:n},{rejectWithValue:i})=>{try{return(await S0(e,t,n)).data.message}catch(o){return i(o.response.data)}}),A0=Xc({name:"user",initialState:{users:[],error:"",loading:!1,verified:!1,user:{}},reducers:{},extraReducers:e=>{e.addCase(To.pending,t=>{t.loading=!0,t.error=null}).addCase(To.fulfilled,(t,n)=>{t.loading=!1,t.user=n.payload}).addCase(To.rejected,(t,n)=>{t.loading=!1,t.error=n.payload}).addCase(Ro.pending,t=>{t.loading=!0,t.error=null}).addCase(Ro.fulfilled,(t,n)=>{t.loading=!1,t.verified=n.payload==="Email verified successfully"}).addCase(Ro.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),I0=A0.reducer,Ao=Dt("property/submitProperty",async(e,{rejectWithValue:t})=>{try{return(await k0(e)).data}catch(n){return t(n.response.data)}}),Io=Dt("property/fetchUserProperties",async({userId:e,page:t,limit:n},{rejectWithValue:i})=>{try{return(await E0(e,t,n)).data}catch(o){return i(o.response.data)}}),ci=Dt("property/fetchPropertyById",async(e,{rejectWithValue:t})=>{try{return(await _0(e)).data}catch(n){return t(n.response.data)}}),Do=Dt("property/updateProperty",async({id:e,propertyData:t},{rejectWithValue:n})=>{try{return(await P0(e,t)).data}catch(i){return n(i.response.data)}}),ui=Dt("properties/getProperties",async({page:e,limit:t,keyword:n=""})=>(await fe.get(`http://67.225.129.127:3002/properties?page=${e}&limit=${t}&keyword=${n}`)).data),D0=Xc({name:"property",initialState:{property:{},status:"idle",error:null,userProperties:[],selectedProperty:null,totalPages:0,currentPage:1,loading:!1,properties:[]},reducers:{},extraReducers:e=>{e.addCase(Ao.pending,t=>{t.status="loading"}).addCase(Ao.fulfilled,(t,n)=>{t.status="succeeded",t.property=n.payload}).addCase(Ao.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(Io.pending,t=>{t.loading=!0}).addCase(Io.fulfilled,(t,{payload:n})=>{t.loading=!1,t.userProperties=n.properties,t.totalPages=n.totalPages,t.currentPage=n.currentPage}).addCase(Io.rejected,(t,{payload:n})=>{t.loading=!1,t.error=n}).addCase(ci.pending,t=>{t.status="loading"}).addCase(ci.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(ci.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(Do.pending,t=>{t.status="loading"}).addCase(Do.fulfilled,(t,n)=>{t.status="succeeded",t.selectedProperty=n.payload}).addCase(Do.rejected,(t,n)=>{t.status="failed",t.error=n.payload}).addCase(ui.pending,t=>{t.loading=!0}).addCase(ui.fulfilled,(t,n)=>{t.loading=!1,t.properties=n.payload.data,t.totalPages=n.payload.totalPages,t.currentPage=n.payload.currentPage}).addCase(ui.rejected,(t,n)=>{t.loading=!1,t.error=n.error.message})}}),M0=D0.reducer,F0=Ex({reducer:{auth:R0,user:I0,property:M0}});/**
|
|
* @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 Ri(){return Ri=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ri.apply(this,arguments)}var sn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(sn||(sn={}));const qd="popstate";function L0(e){e===void 0&&(e={});function t(i,o){let{pathname:l,search:s,hash:a}=i.location;return Ya("",{pathname:l,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(i,o){return typeof o=="string"?o:vl(o)}return B0(t,n,null,e)}function Ne(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function eh(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function z0(){return Math.random().toString(36).substr(2,8)}function Vd(e,t){return{usr:e.state,key:e.key,idx:t}}function Ya(e,t,n,i){return n===void 0&&(n=null),Ri({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ir(t):t,{state:n,key:t&&t.key||i||z0()})}function vl(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),i&&i!=="#"&&(t+=i.charAt(0)==="#"?i:"#"+i),t}function Ir(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}function B0(e,t,n,i){i===void 0&&(i={});let{window:o=document.defaultView,v5Compat:l=!1}=i,s=o.history,a=sn.Pop,u=null,c=d();c==null&&(c=0,s.replaceState(Ri({},s.state,{idx:c}),""));function d(){return(s.state||{idx:null}).idx}function f(){a=sn.Pop;let N=d(),m=N==null?null:N-c;c=N,u&&u({action:a,location:x.location,delta:m})}function v(N,m){a=sn.Push;let h=Ya(x.location,N,m);c=d()+1;let p=Vd(h,c),y=x.createHref(h);try{s.pushState(p,"",y)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;o.location.assign(y)}l&&u&&u({action:a,location:x.location,delta:1})}function j(N,m){a=sn.Replace;let h=Ya(x.location,N,m);c=d();let p=Vd(h,c),y=x.createHref(h);s.replaceState(p,"",y),l&&u&&u({action:a,location:x.location,delta:0})}function g(N){let m=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof N=="string"?N:vl(N);return h=h.replace(/ $/,"%20"),Ne(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let x={get action(){return a},get location(){return e(o,s)},listen(N){if(u)throw new Error("A history only accepts one active listener");return o.addEventListener(qd,f),u=N,()=>{o.removeEventListener(qd,f),u=null}},createHref(N){return t(o,N)},createURL:g,encodeLocation(N){let m=g(N);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:v,replace:j,go(N){return s.go(N)}};return x}var Hd;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Hd||(Hd={}));function W0(e,t,n){return n===void 0&&(n="/"),$0(e,t,n,!1)}function $0(e,t,n,i){let o=typeof t=="string"?Ir(t):t,l=_r(o.pathname||"/",n);if(l==null)return null;let s=th(e);U0(s);let a=null;for(let u=0;a==null&&u<s.length;++u){let c=ej(l);a=X0(s[u],c,i)}return a}function th(e,t,n,i){t===void 0&&(t=[]),n===void 0&&(n=[]),i===void 0&&(i="");let o=(l,s,a)=>{let u={relativePath:a===void 0?l.path||"":a,caseSensitive:l.caseSensitive===!0,childrenIndex:s,route:l};u.relativePath.startsWith("/")&&(Ne(u.relativePath.startsWith(i),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+i+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(i.length));let c=gn([i,u.relativePath]),d=n.concat(u);l.children&&l.children.length>0&&(Ne(l.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),th(l.children,t,d,c)),!(l.path==null&&!l.index)&&t.push({path:c,score:Q0(c,l.index),routesMeta:d})};return e.forEach((l,s)=>{var a;if(l.path===""||!((a=l.path)!=null&&a.includes("?")))o(l,s);else for(let u of nh(l.path))o(l,s,u)}),t}function nh(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,o=n.endsWith("?"),l=n.replace(/\?$/,"");if(i.length===0)return o?[l,""]:[l];let s=nh(i.join("/")),a=[];return a.push(...s.map(u=>u===""?l:[l,u].join("/"))),o&&a.push(...s),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function U0(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:J0(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}const q0=/^:[\w-]+$/,V0=3,H0=2,K0=1,Y0=10,G0=-2,Kd=e=>e==="*";function Q0(e,t){let n=e.split("/"),i=n.length;return n.some(Kd)&&(i+=G0),t&&(i+=H0),n.filter(o=>!Kd(o)).reduce((o,l)=>o+(q0.test(l)?V0:l===""?K0:Y0),i)}function J0(e,t){return e.length===t.length&&e.slice(0,-1).every((i,o)=>i===t[o])?e[e.length-1]-t[t.length-1]:0}function X0(e,t,n){let{routesMeta:i}=e,o={},l="/",s=[];for(let a=0;a<i.length;++a){let u=i[a],c=a===i.length-1,d=l==="/"?t:t.slice(l.length)||"/",f=gl({path:u.relativePath,caseSensitive:u.caseSensitive,end:c},d),v=u.route;if(!f&&c&&n&&!i[i.length-1].route.index&&(f=gl({path:u.relativePath,caseSensitive:u.caseSensitive,end:!1},d)),!f)return null;Object.assign(o,f.params),s.push({params:o,pathname:gn([l,f.pathname]),pathnameBase:ij(gn([l,f.pathnameBase])),route:v}),f.pathnameBase!=="/"&&(l=gn([l,f.pathnameBase]))}return s}function gl(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=Z0(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let l=o[0],s=l.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:i.reduce((c,d,f)=>{let{paramName:v,isOptional:j}=d;if(v==="*"){let x=a[f]||"";s=l.slice(0,l.length-x.length).replace(/(.)\/+$/,"$1")}const g=a[f];return j&&!g?c[v]=void 0:c[v]=(g||"").replace(/%2F/g,"/"),c},{}),pathname:l,pathnameBase:s,pattern:e}}function Z0(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),eh(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 i=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,u)=>(i.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),i]}function ej(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return eh(!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 _r(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}function tj(e,t){t===void 0&&(t="/");let{pathname:n,search:i="",hash:o=""}=typeof e=="string"?Ir(e):e;return{pathname:n?n.startsWith("/")?n:nj(n,t):t,search:oj(i),hash:lj(o)}}function nj(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Bs(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(i)+"]. 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 rj(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function rh(e,t){let n=rj(e);return t?n.map((i,o)=>o===n.length-1?i.pathname:i.pathnameBase):n.map(i=>i.pathnameBase)}function ih(e,t,n,i){i===void 0&&(i=!1);let o;typeof e=="string"?o=Ir(e):(o=Ri({},e),Ne(!o.pathname||!o.pathname.includes("?"),Bs("?","pathname","search",o)),Ne(!o.pathname||!o.pathname.includes("#"),Bs("#","pathname","hash",o)),Ne(!o.search||!o.search.includes("#"),Bs("#","search","hash",o)));let l=e===""||o.pathname==="",s=l?"/":o.pathname,a;if(s==null)a=n;else{let f=t.length-1;if(!i&&s.startsWith("..")){let v=s.split("/");for(;v[0]==="..";)v.shift(),f-=1;o.pathname=v.join("/")}a=f>=0?t[f]:"/"}let u=tj(o,a),c=s&&s!=="/"&&s.endsWith("/"),d=(l||s===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||d)&&(u.pathname+="/"),u}const gn=e=>e.join("/").replace(/\/\/+/g,"/"),ij=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),oj=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,lj=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function sj(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const oh=["post","put","patch","delete"];new Set(oh);const aj=["get",...oh];new Set(aj);/**
|
|
* 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 Ai(){return Ai=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ai.apply(this,arguments)}const Hl=R.createContext(null),lh=R.createContext(null),wn=R.createContext(null),Kl=R.createContext(null),Sn=R.createContext({outlet:null,matches:[],isDataRoute:!1}),sh=R.createContext(null);function cj(e,t){let{relative:n}=t===void 0?{}:t;qi()||Ne(!1);let{basename:i,navigator:o}=R.useContext(wn),{hash:l,pathname:s,search:a}=Yl(e,{relative:n}),u=s;return i!=="/"&&(u=s==="/"?i:gn([i,s])),o.createHref({pathname:u,search:a,hash:l})}function qi(){return R.useContext(Kl)!=null}function Vi(){return qi()||Ne(!1),R.useContext(Kl).location}function ah(e){R.useContext(wn).static||R.useLayoutEffect(e)}function Dr(){let{isDataRoute:e}=R.useContext(Sn);return e?Cj():uj()}function uj(){qi()||Ne(!1);let e=R.useContext(Hl),{basename:t,future:n,navigator:i}=R.useContext(wn),{matches:o}=R.useContext(Sn),{pathname:l}=Vi(),s=JSON.stringify(rh(o,n.v7_relativeSplatPath)),a=R.useRef(!1);return ah(()=>{a.current=!0}),R.useCallback(function(c,d){if(d===void 0&&(d={}),!a.current)return;if(typeof c=="number"){i.go(c);return}let f=ih(c,JSON.parse(s),l,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:gn([t,f.pathname])),(d.replace?i.replace:i.push)(f,d.state,d)},[t,i,s,l,e])}function Mr(){let{matches:e}=R.useContext(Sn),t=e[e.length-1];return t?t.params:{}}function Yl(e,t){let{relative:n}=t===void 0?{}:t,{future:i}=R.useContext(wn),{matches:o}=R.useContext(Sn),{pathname:l}=Vi(),s=JSON.stringify(rh(o,i.v7_relativeSplatPath));return R.useMemo(()=>ih(e,JSON.parse(s),l,n==="path"),[e,s,l,n])}function dj(e,t){return fj(e,t)}function fj(e,t,n,i){qi()||Ne(!1);let{navigator:o}=R.useContext(wn),{matches:l}=R.useContext(Sn),s=l[l.length-1],a=s?s.params:{};s&&s.pathname;let u=s?s.pathnameBase:"/";s&&s.route;let c=Vi(),d;if(t){var f;let N=typeof t=="string"?Ir(t):t;u==="/"||(f=N.pathname)!=null&&f.startsWith(u)||Ne(!1),d=N}else d=c;let v=d.pathname||"/",j=v;if(u!=="/"){let N=u.replace(/^\//,"").split("/");j="/"+v.replace(/^\//,"").split("/").slice(N.length).join("/")}let g=W0(e,{pathname:j}),x=gj(g&&g.map(N=>Object.assign({},N,{params:Object.assign({},a,N.params),pathname:gn([u,o.encodeLocation?o.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?u:gn([u,o.encodeLocation?o.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),l,n,i);return t&&x?R.createElement(Kl.Provider,{value:{location:Ai({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:sn.Pop}},x):x}function pj(){let e=Nj(),t=sj(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},t),n?R.createElement("pre",{style:o},n):null,null)}const mj=R.createElement(pj,null);class hj extends R.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?R.createElement(Sn.Provider,{value:this.props.routeContext},R.createElement(sh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vj(e){let{routeContext:t,match:n,children:i}=e,o=R.useContext(Hl);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),R.createElement(Sn.Provider,{value:t},i)}function gj(e,t,n,i){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),i===void 0&&(i=null),e==null){var l;if(!n)return null;if(n.errors)e=n.matches;else if((l=i)!=null&&l.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let d=s.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||Ne(!1),s=s.slice(0,Math.min(s.length,d+1))}let u=!1,c=-1;if(n&&i&&i.v7_partialHydration)for(let d=0;d<s.length;d++){let f=s[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=d),f.route.id){let{loaderData:v,errors:j}=n,g=f.route.loader&&v[f.route.id]===void 0&&(!j||j[f.route.id]===void 0);if(f.route.lazy||g){u=!0,c>=0?s=s.slice(0,c+1):s=[s[0]];break}}}return s.reduceRight((d,f,v)=>{let j,g=!1,x=null,N=null;n&&(j=a&&f.route.id?a[f.route.id]:void 0,x=f.route.errorElement||mj,u&&(c<0&&v===0?(g=!0,N=null):c===v&&(g=!0,N=f.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,v+1)),h=()=>{let p;return j?p=x:g?p=N:f.route.Component?p=R.createElement(f.route.Component,null):f.route.element?p=f.route.element:p=d,R.createElement(vj,{match:f,routeContext:{outlet:d,matches:m,isDataRoute:n!=null},children:p})};return n&&(f.route.ErrorBoundary||f.route.errorElement||v===0)?R.createElement(hj,{location:n.location,revalidation:n.revalidation,component:x,error:j,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var ch=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(ch||{}),yl=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}(yl||{});function yj(e){let t=R.useContext(Hl);return t||Ne(!1),t}function xj(e){let t=R.useContext(lh);return t||Ne(!1),t}function jj(e){let t=R.useContext(Sn);return t||Ne(!1),t}function uh(e){let t=jj(),n=t.matches[t.matches.length-1];return n.route.id||Ne(!1),n.route.id}function Nj(){var e;let t=R.useContext(sh),n=xj(yl.UseRouteError),i=uh(yl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[i]}function Cj(){let{router:e}=yj(ch.UseNavigateStable),t=uh(yl.UseNavigateStable),n=R.useRef(!1);return ah(()=>{n.current=!0}),R.useCallback(function(o,l){l===void 0&&(l={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Ai({fromRouteId:t},l)))},[e,t])}function Ee(e){Ne(!1)}function bj(e){let{basename:t="/",children:n=null,location:i,navigationType:o=sn.Pop,navigator:l,static:s=!1,future:a}=e;qi()&&Ne(!1);let u=t.replace(/^\/*/,"/"),c=R.useMemo(()=>({basename:u,navigator:l,static:s,future:Ai({v7_relativeSplatPath:!1},a)}),[u,a,l,s]);typeof i=="string"&&(i=Ir(i));let{pathname:d="/",search:f="",hash:v="",state:j=null,key:g="default"}=i,x=R.useMemo(()=>{let N=_r(d,u);return N==null?null:{location:{pathname:N,search:f,hash:v,state:j,key:g},navigationType:o}},[u,d,f,v,j,g,o]);return x==null?null:R.createElement(wn.Provider,{value:c},R.createElement(Kl.Provider,{children:n,value:x}))}function wj(e){let{children:t,location:n}=e;return dj(Ga(t),n)}new Promise(()=>{});function Ga(e,t){t===void 0&&(t=[]);let n=[];return R.Children.forEach(e,(i,o)=>{if(!R.isValidElement(i))return;let l=[...t,o];if(i.type===R.Fragment){n.push.apply(n,Ga(i.props.children,l));return}i.type!==Ee&&Ne(!1),!i.props.index||!i.props.children||Ne(!1);let s={id:i.props.id||l.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,loader:i.props.loader,action:i.props.action,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(s.children=Ga(i.props.children,l)),n.push(s)}),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 xl(){return xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xl.apply(this,arguments)}function dh(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,l;for(l=0;l<i.length;l++)o=i[l],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Sj(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function kj(e,t){return e.button===0&&(!t||t==="_self")&&!Sj(e)}const Ej=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],_j=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],Pj="6";try{window.__reactRouterVersion=Pj}catch{}const Oj=R.createContext({isTransitioning:!1}),Tj="startTransition",Yd=$s[Tj];function Rj(e){let{basename:t,children:n,future:i,window:o}=e,l=R.useRef();l.current==null&&(l.current=L0({window:o,v5Compat:!0}));let s=l.current,[a,u]=R.useState({action:s.action,location:s.location}),{v7_startTransition:c}=i||{},d=R.useCallback(f=>{c&&Yd?Yd(()=>u(f)):u(f)},[u,c]);return R.useLayoutEffect(()=>s.listen(d),[s,d]),R.createElement(bj,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:i})}const Aj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ij=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Dj=R.forwardRef(function(t,n){let{onClick:i,relative:o,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=dh(t,Ej),{basename:j}=R.useContext(wn),g,x=!1;if(typeof c=="string"&&Ij.test(c)&&(g=c,Aj))try{let p=new URL(window.location.href),y=c.startsWith("//")?new URL(p.protocol+c):new URL(c),w=_r(y.pathname,j);y.origin===p.origin&&w!=null?c=w+y.search+y.hash:x=!0}catch{}let N=cj(c,{relative:o}),m=Fj(c,{replace:s,state:a,target:u,preventScrollReset:d,relative:o,unstable_viewTransition:f});function h(p){i&&i(p),p.defaultPrevented||m(p)}return R.createElement("a",xl({},v,{href:g||N,onClick:x||l?i:h,ref:n,target:u}))}),he=R.forwardRef(function(t,n){let{"aria-current":i="page",caseSensitive:o=!1,className:l="",end:s=!1,style:a,to:u,unstable_viewTransition:c,children:d}=t,f=dh(t,_j),v=Yl(u,{relative:f.relative}),j=Vi(),g=R.useContext(lh),{navigator:x,basename:N}=R.useContext(wn),m=g!=null&&Lj(v)&&c===!0,h=x.encodeLocation?x.encodeLocation(v).pathname:v.pathname,p=j.pathname,y=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;o||(p=p.toLowerCase(),y=y?y.toLowerCase():null,h=h.toLowerCase()),y&&N&&(y=_r(y,N)||y);const w=h!=="/"&&h.endsWith("/")?h.length-1:h.length;let k=p===h||!s&&p.startsWith(h)&&p.charAt(w)==="/",_=y!=null&&(y===h||!s&&y.startsWith(h)&&y.charAt(h.length)==="/"),S={isActive:k,isPending:_,isTransitioning:m},M=k?i:void 0,L;typeof l=="function"?L=l(S):L=[l,k?"active":null,_?"pending":null,m?"transitioning":null].filter(Boolean).join(" ");let $=typeof a=="function"?a(S):a;return R.createElement(Dj,xl({},f,{"aria-current":M,className:L,ref:n,style:$,to:u,unstable_viewTransition:c}),typeof d=="function"?d(S):d)});var Qa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Qa||(Qa={}));var Gd;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Gd||(Gd={}));function Mj(e){let t=R.useContext(Hl);return t||Ne(!1),t}function Fj(e,t){let{target:n,replace:i,state:o,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=Dr(),c=Vi(),d=Yl(e,{relative:s});return R.useCallback(f=>{if(kj(f,n)){f.preventDefault();let v=i!==void 0?i:vl(c)===vl(d);u(e,{replace:v,state:o,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,d,i,o,n,e,l,s,a])}function Lj(e,t){t===void 0&&(t={});let n=R.useContext(Oj);n==null&&Ne(!1);let{basename:i}=Mj(Qa.useViewTransitionState),o=Yl(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=_r(n.currentLocation.pathname,i)||n.currentLocation.pathname,s=_r(n.nextLocation.pathname,i)||n.nextLocation.pathname;return gl(o.pathname,s)!=null||gl(o.pathname,l)!=null}function fh(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=fh(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function an(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=fh(e))&&(i&&(i+=" "),i+=t);return i}const Ii=e=>typeof e=="number"&&!isNaN(e),Fn=e=>typeof e=="string",rt=e=>typeof e=="function",Mo=e=>Fn(e)||rt(e)?e:null,Ja=e=>R.isValidElement(e)||Fn(e)||rt(e)||Ii(e);function zj(e,t,n){n===void 0&&(n=300);const{scrollHeight:i,style:o}=e;requestAnimationFrame(()=>{o.minHeight="initial",o.height=i+"px",o.transition=`all ${n}ms`,requestAnimationFrame(()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)})})}function Gl(e){let{enter:t,exit:n,appendPosition:i=!1,collapse:o=!0,collapseDuration:l=300}=e;return function(s){let{children:a,position:u,preventExitTransition:c,done:d,nodeRef:f,isIn:v,playToast:j}=s;const g=i?`${t}--${u}`:t,x=i?`${n}--${u}`:n,N=R.useRef(0);return R.useLayoutEffect(()=>{const m=f.current,h=g.split(" "),p=y=>{y.target===f.current&&(j(),m.removeEventListener("animationend",p),m.removeEventListener("animationcancel",p),N.current===0&&y.type!=="animationcancel"&&m.classList.remove(...h))};m.classList.add(...h),m.addEventListener("animationend",p),m.addEventListener("animationcancel",p)},[]),R.useEffect(()=>{const m=f.current,h=()=>{m.removeEventListener("animationend",h),o?zj(m,d,l):d()};v||(c?h():(N.current=1,m.className+=` ${x}`,m.addEventListener("animationend",h)))},[v]),T.createElement(T.Fragment,null,a)}}function Qd(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 Be=new Map;let Di=[];const Xa=new Set,Bj=e=>Xa.forEach(t=>t(e)),ph=()=>Be.size>0;function mh(e,t){var n;if(t)return!((n=Be.get(t))==null||!n.isToastActive(e));let i=!1;return Be.forEach(o=>{o.isToastActive(e)&&(i=!0)}),i}function hh(e,t){Ja(e)&&(ph()||Di.push({content:e,options:t}),Be.forEach(n=>{n.buildToast(e,t)}))}function Jd(e,t){Be.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 Wj(e){const{subscribe:t,getSnapshot:n,setProps:i}=R.useRef(function(l){const s=l.containerId||1;return{subscribe(a){const u=function(d,f,v){let j=1,g=0,x=[],N=[],m=[],h=f;const p=new Map,y=new Set,w=()=>{m=Array.from(p.values()),y.forEach(S=>S())},k=S=>{N=S==null?[]:N.filter(M=>M!==S),w()},_=S=>{const{toastId:M,onOpen:L,updateId:$,children:Z}=S.props,Q=$==null;S.staleId&&p.delete(S.staleId),p.set(M,S),N=[...N,S.props.toastId].filter(J=>J!==S.staleId),w(),v(Qd(S,Q?"added":"updated")),Q&&rt(L)&&L(R.isValidElement(Z)&&Z.props)};return{id:d,props:h,observe:S=>(y.add(S),()=>y.delete(S)),toggle:(S,M)=>{p.forEach(L=>{M!=null&&M!==L.props.toastId||rt(L.toggle)&&L.toggle(S)})},removeToast:k,toasts:p,clearQueue:()=>{g-=x.length,x=[]},buildToast:(S,M)=>{if((z=>{let{containerId:V,toastId:K,updateId:X}=z;const ee=V?V!==d:d!==1,te=p.has(K)&&X==null;return ee||te})(M))return;const{toastId:L,updateId:$,data:Z,staleId:Q,delay:J}=M,A=()=>{k(L)},B=$==null;B&&g++;const G={...h,style:h.toastStyle,key:j++,...Object.fromEntries(Object.entries(M).filter(z=>{let[V,K]=z;return K!=null})),toastId:L,updateId:$,data:Z,closeToast:A,isIn:!1,className:Mo(M.className||h.toastClassName),bodyClassName:Mo(M.bodyClassName||h.bodyClassName),progressClassName:Mo(M.progressClassName||h.progressClassName),autoClose:!M.isLoading&&(O=M.autoClose,P=h.autoClose,O===!1||Ii(O)&&O>0?O:P),deleteToast(){const z=p.get(L),{onClose:V,children:K}=z.props;rt(V)&&V(R.isValidElement(K)&&K.props),v(Qd(z,"removed")),p.delete(L),g--,g<0&&(g=0),x.length>0?_(x.shift()):w()}};var O,P;G.closeButton=h.closeButton,M.closeButton===!1||Ja(M.closeButton)?G.closeButton=M.closeButton:M.closeButton===!0&&(G.closeButton=!Ja(h.closeButton)||h.closeButton);let D=S;R.isValidElement(S)&&!Fn(S.type)?D=R.cloneElement(S,{closeToast:A,toastProps:G,data:Z}):rt(S)&&(D=S({closeToast:A,toastProps:G,data:Z}));const F={content:D,props:G,staleId:Q};h.limit&&h.limit>0&&g>h.limit&&B?x.push(F):Ii(J)?setTimeout(()=>{_(F)},J):_(F)},setProps(S){h=S},setToggle:(S,M)=>{p.get(S).toggle=M},isToastActive:S=>N.some(M=>M===S),getSnapshot:()=>h.newestOnTop?m.reverse():m}}(s,l,Bj);Be.set(s,u);const c=u.observe(a);return Di.forEach(d=>hh(d.content,d.options)),Di=[],()=>{c(),Be.delete(s)}},setProps(a){var u;(u=Be.get(s))==null||u.setProps(a)},getSnapshot(){var a;return(a=Be.get(s))==null?void 0:a.getSnapshot()}}}(e)).current;i(e);const o=R.useSyncExternalStore(t,n,n);return{getToastToRender:function(l){if(!o)return[];const s=new Map;return o.forEach(a=>{const{position:u}=a.props;s.has(u)||s.set(u,[]),s.get(u).push(a)}),Array.from(s,a=>l(a[0],a[1]))},isToastActive:mh,count:o==null?void 0:o.length}}function $j(e){const[t,n]=R.useState(!1),[i,o]=R.useState(!1),l=R.useRef(null),s=R.useRef({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:a,pauseOnHover:u,closeToast:c,onClick:d,closeOnClick:f}=e;var v,j;function g(){n(!0)}function x(){n(!1)}function N(p){const y=l.current;s.canDrag&&y&&(s.didMove=!0,t&&x(),s.delta=e.draggableDirection==="x"?p.clientX-s.start:p.clientY-s.start,s.start!==p.clientX&&(s.canCloseOnClick=!1),y.style.transform=`translate3d(${e.draggableDirection==="x"?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,y.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function m(){document.removeEventListener("pointermove",N),document.removeEventListener("pointerup",m);const p=l.current;if(s.canDrag&&s.didMove&&p){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();p.style.transition="transform 0.2s, opacity 0.2s",p.style.removeProperty("transform"),p.style.removeProperty("opacity")}}(j=Be.get((v={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))==null||j.setToggle(v.id,v.fn),R.useEffect(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||x(),window.addEventListener("focus",g),window.addEventListener("blur",x),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",x)}},[e.pauseOnFocusLoss]);const h={onPointerDown:function(p){if(e.draggable===!0||e.draggable===p.pointerType){s.didMove=!1,document.addEventListener("pointermove",N),document.addEventListener("pointerup",m);const y=l.current;s.canCloseOnClick=!0,s.canDrag=!0,y.style.transition="none",e.draggableDirection==="x"?(s.start=p.clientX,s.removalDistance=y.offsetWidth*(e.draggablePercent/100)):(s.start=p.clientY,s.removalDistance=y.offsetHeight*(e.draggablePercent===80?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(p){const{top:y,bottom:w,left:k,right:_}=l.current.getBoundingClientRect();p.nativeEvent.type!=="touchend"&&e.pauseOnHover&&p.clientX>=k&&p.clientX<=_&&p.clientY>=y&&p.clientY<=w?x():g()}};return a&&u&&(h.onMouseEnter=x,e.stacked||(h.onMouseLeave=g)),f&&(h.onClick=p=>{d&&d(p),s.canCloseOnClick&&c()}),{playToast:g,pauseToast:x,isRunning:t,preventExitTransition:i,toastRef:l,eventHandlers:h}}function Uj(e){let{delay:t,isRunning:n,closeToast:i,type:o="default",hide:l,className:s,style:a,controlledProgress:u,progress:c,rtl:d,isIn:f,theme:v}=e;const j=l||u&&c===0,g={...a,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};u&&(g.transform=`scaleX(${c})`);const x=an("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${v}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":d}),N=rt(s)?s({rtl:d,type:o,defaultClassName:x}):an(x,s),m={[u&&c>=1?"onTransitionEnd":"onAnimationEnd"]:u&&c<1?null:()=>{f&&i()}};return T.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":j},T.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${v} Toastify__progress-bar--${o}`}),T.createElement("div",{role:"progressbar","aria-hidden":j?"true":"false","aria-label":"notification timer",className:N,style:g,...m}))}let qj=1;const vh=()=>""+qj++;function Vj(e){return e&&(Fn(e.toastId)||Ii(e.toastId))?e.toastId:vh()}function di(e,t){return hh(e,t),t.toastId}function jl(e,t){return{...t,type:t&&t.type||e,toastId:Vj(t)}}function fo(e){return(t,n)=>di(t,jl(e,n))}function oe(e,t){return di(e,jl("default",t))}oe.loading=(e,t)=>di(e,jl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),oe.promise=function(e,t,n){let i,{pending:o,error:l,success:s}=t;o&&(i=Fn(o)?oe.loading(o,n):oe.loading(o.render,{...n,...o}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,v)=>{if(f==null)return void oe.dismiss(i);const j={type:d,...a,...n,data:v},g=Fn(f)?{render:f}:f;return i?oe.update(i,{...j,...g}):oe(g.render,{...j,...g}),v},c=rt(e)?e():e;return c.then(d=>u("success",s,d)).catch(d=>u("error",l,d)),c},oe.success=fo("success"),oe.info=fo("info"),oe.error=fo("error"),oe.warning=fo("warning"),oe.warn=oe.warning,oe.dark=(e,t)=>di(e,jl("default",{theme:"dark",...t})),oe.dismiss=function(e){(function(t){var n;if(ph()){if(t==null||Fn(n=t)||Ii(n))Be.forEach(i=>{i.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const i=Be.get(t.containerId);i?i.removeToast(t.id):Be.forEach(o=>{o.removeToast(t.id)})}}else Di=Di.filter(i=>t!=null&&i.options.toastId!==t)})(e)},oe.clearWaitingQueue=function(e){e===void 0&&(e={}),Be.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},oe.isActive=mh,oe.update=function(e,t){t===void 0&&(t={});const n=((i,o)=>{var l;let{containerId:s}=o;return(l=Be.get(s||1))==null?void 0:l.toasts.get(i)})(e,t);if(n){const{props:i,content:o}=n,l={delay:100,...i,...t,toastId:t.toastId||e,updateId:vh()};l.toastId!==e&&(l.staleId=e);const s=l.render||o;delete l.render,di(s,l)}},oe.done=e=>{oe.update(e,{progress:1})},oe.onChange=function(e){return Xa.add(e),()=>{Xa.delete(e)}},oe.play=e=>Jd(!0,e),oe.pause=e=>Jd(!1,e);const Hj=typeof window<"u"?R.useLayoutEffect:R.useEffect,po=e=>{let{theme:t,type:n,isLoading:i,...o}=e;return T.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:t==="colored"?"currentColor":`var(--toastify-icon-color-${n})`,...o})},Ws={info:function(e){return T.createElement(po,{...e},T.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 T.createElement(po,{...e},T.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 T.createElement(po,{...e},T.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 T.createElement(po,{...e},T.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 T.createElement("div",{className:"Toastify__spinner"})}},Kj=e=>{const{isRunning:t,preventExitTransition:n,toastRef:i,eventHandlers:o,playToast:l}=$j(e),{closeButton:s,children:a,autoClose:u,onClick:c,type:d,hideProgressBar:f,closeToast:v,transition:j,position:g,className:x,style:N,bodyClassName:m,bodyStyle:h,progressClassName:p,progressStyle:y,updateId:w,role:k,progress:_,rtl:S,toastId:M,deleteToast:L,isIn:$,isLoading:Z,closeOnClick:Q,theme:J}=e,A=an("Toastify__toast",`Toastify__toast-theme--${J}`,`Toastify__toast--${d}`,{"Toastify__toast--rtl":S},{"Toastify__toast--close-on-click":Q}),B=rt(x)?x({rtl:S,position:g,type:d,defaultClassName:A}):an(A,x),G=function(F){let{theme:z,type:V,isLoading:K,icon:X}=F,ee=null;const te={theme:z,type:V};return X===!1||(rt(X)?ee=X({...te,isLoading:K}):R.isValidElement(X)?ee=R.cloneElement(X,te):K?ee=Ws.spinner():(re=>re in Ws)(V)&&(ee=Ws[V](te))),ee}(e),O=!!_||!u,P={closeToast:v,type:d,theme:J};let D=null;return s===!1||(D=rt(s)?s(P):R.isValidElement(s)?R.cloneElement(s,P):function(F){let{closeToast:z,theme:V,ariaLabel:K="close"}=F;return T.createElement("button",{className:`Toastify__close-button Toastify__close-button--${V}`,type:"button",onClick:X=>{X.stopPropagation(),z(X)},"aria-label":K},T.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},T.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"})))}(P)),T.createElement(j,{isIn:$,done:L,position:g,preventExitTransition:n,nodeRef:i,playToast:l},T.createElement("div",{id:M,onClick:c,"data-in":$,className:B,...o,style:N,ref:i},T.createElement("div",{...$&&{role:k},className:rt(m)?m({type:d}):an("Toastify__toast-body",m),style:h},G!=null&&T.createElement("div",{className:an("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!Z})},G),T.createElement("div",null,a)),D,T.createElement(Uj,{...w&&!O?{key:`pb-${w}`}:{},rtl:S,theme:J,delay:u,isRunning:t,isIn:$,closeToast:v,hide:f,type:d,style:y,className:p,controlledProgress:O,progress:_||0})))},Ql=function(e,t){return t===void 0&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},Yj=Gl(Ql("bounce",!0));Gl(Ql("slide",!0));Gl(Ql("zoom"));Gl(Ql("flip"));const Gj={position:"top-right",transition:Yj,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function Qj(e){let t={...Gj,...e};const n=e.stacked,[i,o]=R.useState(!0),l=R.useRef(null),{getToastToRender:s,isToastActive:a,count:u}=Wj(t),{className:c,style:d,rtl:f,containerId:v}=t;function j(x){const N=an("Toastify__toast-container",`Toastify__toast-container--${x}`,{"Toastify__toast-container--rtl":f});return rt(c)?c({position:x,rtl:f,defaultClassName:N}):an(N,Mo(c))}function g(){n&&(o(!0),oe.play())}return Hj(()=>{if(n){var x;const N=l.current.querySelectorAll('[data-in="true"]'),m=12,h=(x=t.position)==null?void 0:x.includes("top");let p=0,y=0;Array.from(N).reverse().forEach((w,k)=>{const _=w;_.classList.add("Toastify__toast--stacked"),k>0&&(_.dataset.collapsed=`${i}`),_.dataset.pos||(_.dataset.pos=h?"top":"bot");const S=p*(i?.2:1)+(i?0:m*k);_.style.setProperty("--y",`${h?S:-1*S}px`),_.style.setProperty("--g",`${m}`),_.style.setProperty("--s",""+(1-(i?y:0))),p+=_.offsetHeight,y+=.025})}},[i,u,n]),T.createElement("div",{ref:l,className:"Toastify",id:v,onMouseEnter:()=>{n&&(o(!1),oe.pause())},onMouseLeave:g},s((x,N)=>{const m=N.length?{...d}:{...d,pointerEvents:"none"};return T.createElement("div",{className:j(x),style:m,key:`container-${x}`},N.map(h=>{let{content:p,props:y}=h;return T.createElement(Kj,{...y,stacked:n,collapseAll:g,isIn:a(y.toastId,y.containerId),style:y.style,key:`toast-${y.key}`},p)}))}))}const qe=()=>{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(he,{to:"/",className:"link-primary text-decoration-none",children:"Home"})}),r.jsx("li",{children:r.jsx(he,{to:"/about",className:"link-primary text-decoration-none",children:"About"})}),r.jsx("li",{children:r.jsx(he,{to:"/services",className:"link-primary text-decoration-none",children:"Services"})}),r.jsx("li",{children:r.jsx(he,{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."]})})})})})]})})},Jj="/assets/logo-Cb1x1exd.png",Oe=()=>{var o,l;const{user:e}=Ze(s=>({...s.auth})),t=kt(),n=Dr(),i=()=>{t(T0()),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:Jj,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(he,{to:"/",className:"nav-link",style:{color:"#fda417",border:"#fda417",fontSize:"20px",fontWeight:"normal"},children:"Home"})}),r.jsx("li",{className:"nav-item",children:r.jsx(he,{to:"/services",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"Services"})}),r.jsx("li",{className:"nav-item",children:r.jsx(he,{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(he,{to:"/about",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"About"})}),r.jsx("li",{className:"nav-item",children:r.jsx(he,{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(he,{to:"/contact",className:"nav-link",style:{fontSize:"20px",fontWeight:"normal"},children:"Contact"})})]}),(o=e==null?void 0:e.result)!=null&&o._id?r.jsx(he,{to:"/dashboard",style:{fontWeight:"bold"},children:"Dashboard"}):r.jsx(he,{to:"/register",className:"nav-link",style:{fontWeight:"bold"},children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?r.jsx(he,{to:"/login",children:r.jsx("p",{className:"header-text",onClick:i,style:{fontWeight:"bold"},children:"Logout"})}):r.jsx(he,{to:"/login",className:"nav-link",style:{fontWeight:"bold"},children:"Login"})]})]})})})},Xj=()=>r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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(qe,{})]}),Zj=()=>r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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(qe,{})]}),eN=()=>r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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(qe,{})]});var Ft=function(){return Ft=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ft.apply(this,arguments)};function tN(e){var t,n,i,o,l,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.fill)!==null&&n!==void 0?n:"#fff",u=(i=e.stroke)!==null&&i!==void 0?i:"transparent",c=e.fillOpacity,d=e.strokeOpacity;return T.createElement("svg",Ft({},Ft(Ft({},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:80,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(l=e.width)!==null&&l!==void 0?l:55}),{viewBox:"0 0 55 80"}),T.createElement("g",{transform:"matrix(1 0 0 -1 0 80)"},T.createElement("rect",Ft({width:10,height:20,rx:3},{fill:a,stroke:u,fillOpacity:c,strokeOpacity:d}),T.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(4.3/s,"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"})),T.createElement("rect",Ft({x:15,width:10,height:80,rx:3},{fill:a,stroke:u,fillOpacity:c,strokeOpacity:d}),T.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(2/s,"s"),values:"80;55;33;5;75;23;73;33;12;14;60;80",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("rect",Ft({x:30,width:10,height:50,rx:3},{fill:a,stroke:u,fillOpacity:c,strokeOpacity:d}),T.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(1.4/s,"s"),values:"50;34;78;23;56;23;34;76;80;54;21;50",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("rect",Ft({x:45,width:10,height:30,rx:3},{fill:a,stroke:u,fillOpacity:c,strokeOpacity:d}),T.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(2/s,"s"),values:"30;45;13;80;56;72;45;76;34;23;67;30",calcMode:"linear",repeatCount:"indefinite"}))))}var Zt=function(){return Zt=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Zt.apply(this,arguments)};function nN(e){var t,n,i,o,l=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),s=e.fill,a=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=e.fillOpacity,c=e.strokeOpacity;return T.createElement("svg",Zt({},Zt(Zt({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:57,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(o=e.width)!==null&&o!==void 0?o:57}),{viewBox:"0 0 57 57"}),T.createElement("g",{transform:"translate(1 1)",strokeWidth:2,fill:"none",fillRule:"evenodd"},T.createElement("circle",Zt({cx:5,cy:50,r:5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"cy",begin:"0s",dur:"".concat(2.2/l,"s"),values:"50;5;50;50",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"cx",begin:"0s",dur:"".concat(2.2/l,"s"),values:"5;27;49;5",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Zt({cx:27,cy:5,r:5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"cy",begin:"0s",dur:"".concat(2.2/l,"s"),from:5,to:5,values:"5;50;50;5",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"cx",begin:"0s",dur:"".concat(2.2/l,"s"),from:27,to:27,values:"27;49;5;27",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Zt({cx:49,cy:50,r:5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"cy",begin:"0s",dur:"".concat(2.2/l,"s"),values:"50;50;5;50",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"cx",from:49,to:49,begin:"0s",dur:"".concat(2.2/l,"s"),values:"49;5;27;49",calcMode:"linear",repeatCount:"indefinite"}))))}var Ot=function(){return Ot=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ot.apply(this,arguments)};function rN(e){var t,n,i,o,l=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),s=(n=e.fill)!==null&&n!==void 0?n:"#fff",a=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return T.createElement("svg",Ot({},Ot(Ot({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:140,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(o=e.width)!==null&&o!==void 0?o:135}),{viewBox:"0 0 135 140"}),T.createElement("rect",Ot({y:10,width:15,height:120,rx:6},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"".concat(1/l,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"".concat(1/l,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("rect",Ot({x:30,y:10,width:15,height:120,rx:6},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"".concat(1/l,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"".concat(1/l,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("rect",Ot({x:60,width:15,height:140,rx:6},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"height",begin:"0s",dur:"".concat(1/l,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"y",begin:"0s",dur:"".concat(1/l,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("rect",Ot({x:90,y:10,width:15,height:120,rx:6},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"height",begin:"0.25s",dur:"".concat(1/l,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"y",begin:"0.25s",dur:"".concat(1/l,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("rect",Ot({x:120,y:10,width:15,height:120,rx:6},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"height",begin:"0.5s",dur:"".concat(1/l,"s"),values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"y",begin:"0.5s",dur:"".concat(1/l,"s"),values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})))}var Pn=function(){return Pn=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Pn.apply(this,arguments)};function iN(e){var t,n,i,o,l=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),s=(n=e.fill)!==null&&n!==void 0?n:"#fff",a=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return T.createElement("svg",Pn({},Pn(Pn({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:135,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(o=e.width)!==null&&o!==void 0?o:135}),{viewBox:"0 0 135 135"}),T.createElement("path",Pn({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:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 67 67",to:"-360 67 67",dur:"".concat(2.5/l,"s"),repeatCount:"indefinite"})),T.createElement("path",Pn({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:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 67 67",to:"360 67 67",dur:"".concat(8/l,"s"),repeatCount:"indefinite"})))}var Ve=function(){return Ve=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ve.apply(this,arguments)};function oN(e){var t,n,i,o,l=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),s=(n=e.fill)!==null&&n!==void 0?n:"#fff",a=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return T.createElement("svg",Ve({},Ve(Ve({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:105,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(o=e.width)!==null&&o!==void 0?o:105}),{viewBox:"0 0 105 105"}),T.createElement("circle",Ve({cx:12.5,cy:12.5,r:12.5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1/l,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Ve({cx:12.5,cy:52.5,r:12.5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"fill-opacity",begin:"100ms",dur:"".concat(1/l,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Ve({cx:52.5,cy:12.5,r:12.5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"fill-opacity",begin:"300ms",dur:"".concat(1/l,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Ve({cx:52.5,cy:52.5,r:12.5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"fill-opacity",begin:"600ms",dur:"".concat(1/l,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Ve({cx:92.5,cy:12.5,r:12.5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"fill-opacity",begin:"800ms",dur:"".concat(1/l,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Ve({cx:92.5,cy:52.5,r:12.5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"fill-opacity",begin:"400ms",dur:"".concat(1/l,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Ve({cx:12.5,cy:92.5,r:12.5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"fill-opacity",begin:"700ms",dur:"".concat(1/l,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Ve({cx:52.5,cy:92.5,r:12.5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"fill-opacity",begin:"500ms",dur:"".concat(1/l,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",Ve({cx:92.5,cy:92.5,r:12.5},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"fill-opacity",begin:"200ms",dur:"".concat(1/l,"s"),values:"1;.2;1",calcMode:"linear",repeatCount:"indefinite"})))}var en=function(){return en=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},en.apply(this,arguments)};function lN(e){var t,n,i,o,l=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),s=(n=e.fill)!==null&&n!==void 0?n:"#fff",a=e.stroke,u=e.fillOpacity;return T.createElement("svg",en({},en(en({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:64,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(o=e.width)!==null&&o!==void 0?o:140}),{viewBox:"0 0 140 64"}),T.createElement("path",en({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:s,stroke:a}),T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.4/l,"s"),values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("path",en({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:s,stroke:a}),T.createElement("animate",{attributeName:"fill-opacity",begin:"0.7s",dur:"".concat(1.4/l,"s"),values:"0.5;1;0.5",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("path",en({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:s,stroke:a})))}var cr=function(){return cr=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},cr.apply(this,arguments)};function sN(e){var t,n,i,o,l,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(i=e.strokeWidth)!==null&&i!==void 0?i:2,c=e.strokeOpacity;return T.createElement("svg",cr({},cr(cr({},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:38,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(l=e.width)!==null&&l!==void 0?l:38}),{viewBox:"0 0 38 38",overflow:"visible"}),T.createElement("g",cr({transform:"translate(1 1)",fill:"none",fillRule:"evenodd"},{stroke:a,strokeWidth:u,strokeOpacity:c}),T.createElement("circle",{strokeOpacity:.5,cx:18,cy:18,r:18}),T.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},T.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"".concat(1/s,"s"),repeatCount:"indefinite"}))))}var ur=function(){return ur=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},ur.apply(this,arguments)};function aN(e){var t,n,i,o,l,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(i=e.strokeWidth)!==null&&i!==void 0?i:2,c=e.strokeOpacity;return T.createElement("svg",ur({},ur(ur({},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:44,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(l=e.width)!==null&&l!==void 0?l:44}),{viewBox:"0 0 44 44"}),T.createElement("g",ur({fill:"none",fillRule:"evenodd"},{stroke:a,strokeWidth:u,strokeOpacity:c}),T.createElement("circle",{cx:22,cy:22,r:1},T.createElement("animate",{attributeName:"r",begin:"0s",dur:"".concat(1.8/s,"s"),values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"stroke-opacity",begin:"0s",dur:"".concat(1.8/s,"s"),values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"})),T.createElement("circle",{cx:22,cy:22,r:1},T.createElement("animate",{attributeName:"r",begin:"-0.9s",dur:"".concat(1.8/s,"s"),values:"1; 20",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.165, 0.84, 0.44, 1",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"stroke-opacity",begin:"-0.9s",dur:"".concat(1.8/s,"s"),values:"1; 0",calcMode:"spline",keyTimes:"0; 1",keySplines:"0.3, 0.61, 0.355, 1",repeatCount:"indefinite"}))))}var dr=function(){return dr=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},dr.apply(this,arguments)};function cN(e){var t,n,i,o,l,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(i=e.strokeWidth)!==null&&i!==void 0?i:2,c=e.strokeOpacity;return T.createElement("svg",dr({},dr(dr({},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:45,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(l=e.width)!==null&&l!==void 0?l:45}),{viewBox:"0 0 45 45"}),T.createElement("g",dr({fill:"none",fillRule:"evenodd",transform:"translate(1 1)"},{stroke:a,strokeWidth:u,strokeOpacity:c}),T.createElement("circle",{cx:22,cy:22,r:6},T.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"".concat(3/s,"s"),values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"".concat(3/s,"s"),values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"".concat(3/s,"s"),values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",{cx:22,cy:22,r:6},T.createElement("animate",{attributeName:"r",begin:"3s",dur:"".concat(3/s,"s"),values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"".concat(3/s,"s"),values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"".concat(3/s,"s"),values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",{cx:22,cy:22,r:8},T.createElement("animate",{attributeName:"r",begin:"0s",dur:"".concat(1.5/s,"s"),values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))}var fr=function(){return fr=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},fr.apply(this,arguments)};function uN(e){var t,n,i,o,l=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),s=(n=e.fill)!==null&&n!==void 0?n:"#fff",a=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return T.createElement("svg",fr({},fr(fr({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:58,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(o=e.width)!==null&&o!==void 0?o:58}),{viewBox:"0 0 58 58"}),T.createElement("g",fr({transform:"translate(2 1)",fillRule:"evenodd"},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("circle",{cx:42.601,cy:11.462,r:5},T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/l,"s"),values:"1;0;0;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",{cx:49.063,cy:27.063,r:5,fillOpacity:0},T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/l,"s"),values:"0;1;0;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",{cx:42.601,cy:42.663,r:5,fillOpacity:0},T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/l,"s"),values:"0;0;1;0;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",{cx:27,cy:49.125,r:5,fillOpacity:0},T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/l,"s"),values:"0;0;0;1;0;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",{cx:11.399,cy:42.663,r:5,fillOpacity:0},T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/l,"s"),values:"0;0;0;0;1;0;0;0",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",{cx:4.938,cy:27.063,r:5,fillOpacity:0},T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/l,"s"),values:"0;0;0;0;0;1;0;0",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",{cx:11.399,cy:11.462,r:5,fillOpacity:0},T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/l,"s"),values:"0;0;0;0;0;0;1;0",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",{cx:27,cy:5,r:5,fillOpacity:0},T.createElement("animate",{attributeName:"fill-opacity",begin:"0s",dur:"".concat(1.3/l,"s"),values:"0;0;0;0;0;0;0;1",calcMode:"linear",repeatCount:"indefinite"}))))}var pr=function(){return pr=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},pr.apply(this,arguments)};function dN(e){var t,n,i,o,l,s=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),a=(n=e.stroke)!==null&&n!==void 0?n:"#fff",u=(i=e.strokeWidth)!==null&&i!==void 0?i:2,c=e.strokeOpacity;return T.createElement("svg",pr({},pr(pr({},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:38,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(l=e.width)!==null&&l!==void 0?l:38}),{viewBox:"0 0 38 38"}),T.createElement("defs",null,T.createElement("linearGradient",{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"prefix__a"},T.createElement("stop",{stopOpacity:0,offset:"0%"}),T.createElement("stop",{stopOpacity:.631,offset:"63.146%"}),T.createElement("stop",{offset:"100%"}))),T.createElement("g",{transform:"translate(1 1)",fill:"none",fillRule:"evenodd"},T.createElement("path",pr({d:"M36 18c0-9.94-8.06-18-18-18"},{stroke:a,strokeWidth:u,strokeOpacity:c}),T.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"".concat(.9/s,"s"),repeatCount:"indefinite"})),T.createElement("circle",{cx:36,cy:18,r:1},T.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"".concat(.9/s,"s"),repeatCount:"indefinite"}))))}var tn=function(){return tn=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},tn.apply(this,arguments)};function fN(e){var t,n,i,o,l=Number(String((t=e.speed)!==null&&t!==void 0?t:1)),s=(n=e.fill)!==null&&n!==void 0?n:"#fff",a=e.stroke,u=e.fillOpacity,c=e.strokeOpacity;return T.createElement("svg",tn({},tn(tn({},e),{className:e.className?"icon-loading ".concat(e.className):"icon-loading",fill:void 0,fillOpacity:void 0,height:(i=e.height)!==null&&i!==void 0?i:30,speed:void 0,stroke:void 0,strokeOpacity:void 0,strokeWidth:void 0,width:(o=e.width)!==null&&o!==void 0?o:120}),{viewBox:"0 0 120 30"}),T.createElement("circle",tn({cx:15,cy:15,r:15},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"r",from:15,to:15,begin:"0s",dur:"".concat(.8/l,"s"),values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"fill-opacity",from:1,to:1,begin:"0s",dur:"".concat(.8/l,"s"),values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",tn({cx:60,cy:15,r:9},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"r",from:9,to:9,begin:"0s",dur:"".concat(.8/l,"s"),values:"9;15;9",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"fill-opacity",from:.5,to:.5,begin:"0s",dur:"".concat(.8/l,"s"),values:".5;1;.5",calcMode:"linear",repeatCount:"indefinite"})),T.createElement("circle",tn({cx:105,cy:15,r:15},{fill:s,stroke:a,fillOpacity:u,strokeOpacity:c}),T.createElement("animate",{attributeName:"r",from:15,to:15,begin:"0s",dur:"".concat(.8/l,"s"),values:"15;9;15",calcMode:"linear",repeatCount:"indefinite"}),T.createElement("animate",{attributeName:"fill-opacity",from:1,to:1,begin:"0s",dur:"".concat(.8/l,"s"),values:"1;.5;1",calcMode:"linear",repeatCount:"indefinite"})))}var pN=tN,mN=nN,hN=rN,vN=iN,gN=oN,yN=lN,xN=sN,jN=aN,NN=cN,CN=uN,bN=dN,wN=fN,gh={Audio:pN,BallTriangle:mN,Bars:hN,Circles:vN,Grid:gN,Hearts:yN,Oval:xN,Puff:jN,Rings:NN,SpinningCircles:CN,TailSpin:bN,ThreeDots:wN};const SN={title:"None",firstName:"",middleName:"",lastName:"",email:"",password:"",confirmPassword:"",termsconditions:"",userType:""},kN=()=>{const[e,t]=R.useState(SN),[n,i]=R.useState(!1),{loading:o,error:l}=Ze(w=>({...w.auth})),{title:s,email:a,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:v,termsconditions:j,userType:g}=e,x=kt(),N=Dr();R.useEffect(()=>{l&&oe.error(l)},[l]),R.useEffect(()=>{i(s!=="None"&&a&&u&&c&&d&&f&&v&&j&&g!=="")},[s,a,u,c,d,f,v,j,g]);const m=w=>{if(w.preventDefault(),u!==v)return oe.error("Password should match");n?x(Po({formValue:e,navigate:N,toast:oe})):oe.error("Please fill in all fields and select all checkboxes")},h=w=>w.charAt(0).toUpperCase()+w.slice(1),p=w=>{const{name:k,value:_,type:S,checked:M}=w.target;t(S==="checkbox"?L=>({...L,[k]:M}):L=>({...L,[k]:k==="email"||k==="password"||k==="confirmPassword"?_:h(_)}))},y=w=>{t(k=>({...k,userType:w.target.value}))};return r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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:m,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:g==="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:g==="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:s,onChange:p,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:p,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:p,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:p,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:a,name:"email",onChange:p,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:p,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:v,name:"confirmPassword",onChange:p,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:j,name:"termsconditions",checked:j,onChange:p,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||o,children:[o&&r.jsx(gh.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(qe,{})]})},EN={email:"",password:""},_N=()=>{const[e,t]=R.useState(EN),{loading:n,error:i}=Ze(d=>({...d.auth})),{email:o,password:l}=e,s=kt(),a=Dr();R.useEffect(()=>{i&&oe.error(i)},[i]);const u=d=>{d.preventDefault(),o&&l&&s(_o({formValue:e,navigate:a,toast:oe}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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:o,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:l,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(gh.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(he,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),r.jsx(he,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),r.jsx("div",{className:"row",children:r.jsx("div",{className:"col-12"})})]})})})]})})}),r.jsx(qe,{})]})},Fo="/assets/samplepic-BM_cnzgz.jpg";var yh={exports:{}};(function(e,t){(function(n,i){e.exports=i()})(ov,function(){return function(n){function i(l){if(o[l])return o[l].exports;var s=o[l]={exports:{},id:l,loaded:!1};return n[l].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}var o={};return i.m=n,i.c=o,i.p="",i(0)}([function(n,i,o){function l(j){return j&&j.__esModule?j:{default:j}}function s(j,g){if(!(j instanceof g))throw new TypeError("Cannot call a class as a function")}function a(j,g){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!g||typeof g!="object"&&typeof g!="function"?j:g}function u(j,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);j.prototype=Object.create(g&&g.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(j,g):j.__proto__=g)}Object.defineProperty(i,"__esModule",{value:!0});var c=function(){function j(g,x){for(var N=0;N<x.length;N++){var m=x[N];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(g,m.key,m)}}return function(g,x,N){return x&&j(g.prototype,x),N&&j(g,N),g}}(),d=o(36),f=l(d),v=function(j){function g(x){s(this,g);var N=a(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,x));return N.state={files:[]},N}return u(g,j),c(g,[{key:"handleChange",value:function(x){for(var N=this,m=x.target.files,h=[],p=function(){var w=m[y],k=new FileReader;k.readAsDataURL(w),k.onload=function(){var _={name:w.name,type:w.type,size:Math.round(w.size/1e3)+" kB",base64:k.result,file:w};h.push(_),h.length==m.length&&(N.props.multiple?N.props.onDone(h):N.props.onDone(h[0]))}},y=0;y<m.length;y++)p()}},{key:"render",value:function(){return f.default.createElement("input",{type:"file",onChange:this.handleChange.bind(this),multiple:this.props.multiple})}}]),g}(f.default.Component);i.default=v,v.defaultProps={multiple:!1}},function(n,i){function o(){throw new Error("setTimeout has not been defined")}function l(){throw new Error("clearTimeout has not been defined")}function s(p){if(v===setTimeout)return setTimeout(p,0);if((v===o||!v)&&setTimeout)return v=setTimeout,setTimeout(p,0);try{return v(p,0)}catch{try{return v.call(null,p,0)}catch{return v.call(this,p,0)}}}function a(p){if(j===clearTimeout)return clearTimeout(p);if((j===l||!j)&&clearTimeout)return j=clearTimeout,clearTimeout(p);try{return j(p)}catch{try{return j.call(null,p)}catch{return j.call(this,p)}}}function u(){m&&x&&(m=!1,x.length?N=x.concat(N):h=-1,N.length&&c())}function c(){if(!m){var p=s(u);m=!0;for(var y=N.length;y;){for(x=N,N=[];++h<y;)x&&x[h].run();h=-1,y=N.length}x=null,m=!1,a(p)}}function d(p,y){this.fun=p,this.array=y}function f(){}var v,j,g=n.exports={};(function(){try{v=typeof setTimeout=="function"?setTimeout:o}catch{v=o}try{j=typeof clearTimeout=="function"?clearTimeout:l}catch{j=l}})();var x,N=[],m=!1,h=-1;g.nextTick=function(p){var y=new Array(arguments.length-1);if(arguments.length>1)for(var w=1;w<arguments.length;w++)y[w-1]=arguments[w];N.push(new d(p,y)),N.length!==1||m||s(c)},d.prototype.run=function(){this.fun.apply(null,this.array)},g.title="browser",g.browser=!0,g.env={},g.argv=[],g.version="",g.versions={},g.on=f,g.addListener=f,g.once=f,g.off=f,g.removeListener=f,g.removeAllListeners=f,g.emit=f,g.prependListener=f,g.prependOnceListener=f,g.listeners=function(p){return[]},g.binding=function(p){throw new Error("process.binding is not supported")},g.cwd=function(){return"/"},g.chdir=function(p){throw new Error("process.chdir is not supported")},g.umask=function(){return 0}},function(n,i,o){(function(l){function s(u,c,d,f,v,j,g,x){if(a(c),!u){var N;if(c===void 0)N=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[d,f,v,j,g,x],h=0;N=new Error(c.replace(/%s/g,function(){return m[h++]})),N.name="Invariant Violation"}throw N.framesToPop=1,N}}var a=function(u){};l.env.NODE_ENV!=="production"&&(a=function(u){if(u===void 0)throw new Error("invariant requires an error message argument")}),n.exports=s}).call(i,o(1))},function(n,i,o){(function(l){var s=o(9),a=s;if(l.env.NODE_ENV!=="production"){var u=function(c){for(var d=arguments.length,f=Array(d>1?d-1:0),v=1;v<d;v++)f[v-1]=arguments[v];var j=0,g="Warning: "+c.replace(/%s/g,function(){return f[j++]});typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}};a=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,v=Array(f>2?f-2:0),j=2;j<f;j++)v[j-2]=arguments[j];u.apply(void 0,[d].concat(v))}}}n.exports=a}).call(i,o(1))},function(n,i,o){(function(l){function s(y){if(l.env.NODE_ENV!=="production"&&N.call(y,"ref")){var w=Object.getOwnPropertyDescriptor(y,"ref").get;if(w&&w.isReactWarning)return!1}return y.ref!==void 0}function a(y){if(l.env.NODE_ENV!=="production"&&N.call(y,"key")){var w=Object.getOwnPropertyDescriptor(y,"key").get;if(w&&w.isReactWarning)return!1}return y.key!==void 0}function u(y,w){var k=function(){d||(d=!0,l.env.NODE_ENV!=="production"&&g(!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)",w))};k.isReactWarning=!0,Object.defineProperty(y,"key",{get:k,configurable:!0})}function c(y,w){var k=function(){f||(f=!0,l.env.NODE_ENV!=="production"&&g(!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)",w))};k.isReactWarning=!0,Object.defineProperty(y,"ref",{get:k,configurable:!0})}var d,f,v=o(6),j=o(7),g=o(3),x=o(8),N=Object.prototype.hasOwnProperty,m=o(15),h={key:!0,ref:!0,__self:!0,__source:!0},p=function(y,w,k,_,S,M,L){var $={$$typeof:m,type:y,key:w,ref:k,props:L,_owner:M};return l.env.NODE_ENV!=="production"&&($._store={},x?(Object.defineProperty($._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty($,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.defineProperty($,"_source",{configurable:!1,enumerable:!1,writable:!1,value:S})):($._store.validated=!1,$._self=_,$._source=S),Object.freeze&&(Object.freeze($.props),Object.freeze($))),$};p.createElement=function(y,w,k){var _,S={},M=null,L=null,$=null,Z=null;if(w!=null){s(w)&&(L=w.ref),a(w)&&(M=""+w.key),$=w.__self===void 0?null:w.__self,Z=w.__source===void 0?null:w.__source;for(_ in w)N.call(w,_)&&!h.hasOwnProperty(_)&&(S[_]=w[_])}var Q=arguments.length-2;if(Q===1)S.children=k;else if(Q>1){for(var J=Array(Q),A=0;A<Q;A++)J[A]=arguments[A+2];l.env.NODE_ENV!=="production"&&Object.freeze&&Object.freeze(J),S.children=J}if(y&&y.defaultProps){var B=y.defaultProps;for(_ in B)S[_]===void 0&&(S[_]=B[_])}if(l.env.NODE_ENV!=="production"&&(M||L)&&(typeof S.$$typeof>"u"||S.$$typeof!==m)){var G=typeof y=="function"?y.displayName||y.name||"Unknown":y;M&&u(S,G),L&&c(S,G)}return p(y,M,L,$,Z,j.current,S)},p.createFactory=function(y){var w=p.createElement.bind(null,y);return w.type=y,w},p.cloneAndReplaceKey=function(y,w){var k=p(y.type,w,y.ref,y._self,y._source,y._owner,y.props);return k},p.cloneElement=function(y,w,k){var _,S=v({},y.props),M=y.key,L=y.ref,$=y._self,Z=y._source,Q=y._owner;if(w!=null){s(w)&&(L=w.ref,Q=j.current),a(w)&&(M=""+w.key);var J;y.type&&y.type.defaultProps&&(J=y.type.defaultProps);for(_ in w)N.call(w,_)&&!h.hasOwnProperty(_)&&(w[_]===void 0&&J!==void 0?S[_]=J[_]:S[_]=w[_])}var A=arguments.length-2;if(A===1)S.children=k;else if(A>1){for(var B=Array(A),G=0;G<A;G++)B[G]=arguments[G+2];S.children=B}return p(y.type,M,L,$,Z,Q,S)},p.isValidElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===m},n.exports=p}).call(i,o(1))},function(n,i){function o(l){for(var s=arguments.length-1,a="Minified React error #"+l+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+l,u=0;u<s;u++)a+="&args[]="+encodeURIComponent(arguments[u+1]);a+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var c=new Error(a);throw c.name="Invariant Violation",c.framesToPop=1,c}n.exports=o},function(n,i){/*
|
|
object-assign
|
|
(c) Sindre Sorhus
|
|
@license MIT
|
|
*/function o(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function l(){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 v=Object.getOwnPropertyNames(d).map(function(g){return d[g]});if(v.join("")!=="0123456789")return!1;var j={};return"abcdefghijklmnopqrst".split("").forEach(function(g){j[g]=g}),Object.keys(Object.assign({},j)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;n.exports=l()?Object.assign:function(c,d){for(var f,v,j=o(c),g=1;g<arguments.length;g++){f=Object(arguments[g]);for(var x in f)a.call(f,x)&&(j[x]=f[x]);if(s){v=s(f);for(var N=0;N<v.length;N++)u.call(f,v[N])&&(j[v[N]]=f[v[N]])}}return j}},function(n,i){var o={current:null};n.exports=o},function(n,i,o){(function(l){var s=!1;if(l.env.NODE_ENV!=="production")try{Object.defineProperty({},"x",{get:function(){}}),s=!0}catch{}n.exports=s}).call(i,o(1))},function(n,i){function o(s){return function(){return s}}var l=function(){};l.thatReturns=o,l.thatReturnsFalse=o(!1),l.thatReturnsTrue=o(!0),l.thatReturnsNull=o(null),l.thatReturnsThis=function(){return this},l.thatReturnsArgument=function(s){return s},n.exports=l},function(n,i,o){(function(l){function s(A){var B=Function.prototype.toString,G=Object.prototype.hasOwnProperty,O=RegExp("^"+B.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var P=B.call(A);return O.test(P)}catch{return!1}}function a(A){var B=v(A);if(B){var G=B.childIDs;j(A),G.forEach(a)}}function u(A,B,G){return`
|
|
in `+(A||"Unknown")+(B?" (at "+B.fileName.replace(/^.*[\\\/]/,"")+":"+B.lineNumber+")":G?" (created by "+G+")":"")}function c(A){return A==null?"#empty":typeof A=="string"||typeof A=="number"?"#text":typeof A.type=="string"?A.type:A.type.displayName||A.type.name||"Unknown"}function d(A){var B,G=J.getDisplayName(A),O=J.getElement(A),P=J.getOwnerID(A);return P&&(B=J.getDisplayName(P)),l.env.NODE_ENV!=="production"&&w(O,"ReactComponentTreeHook: Missing React element for debugID %s when building stack",A),u(G,O&&O._source,B)}var f,v,j,g,x,N,m,h=o(5),p=o(7),y=o(2),w=o(3),k=typeof Array.from=="function"&&typeof Map=="function"&&s(Map)&&Map.prototype!=null&&typeof Map.prototype.keys=="function"&&s(Map.prototype.keys)&&typeof Set=="function"&&s(Set)&&Set.prototype!=null&&typeof Set.prototype.keys=="function"&&s(Set.prototype.keys);if(k){var _=new Map,S=new Set;f=function(A,B){_.set(A,B)},v=function(A){return _.get(A)},j=function(A){_.delete(A)},g=function(){return Array.from(_.keys())},x=function(A){S.add(A)},N=function(A){S.delete(A)},m=function(){return Array.from(S.keys())}}else{var M={},L={},$=function(A){return"."+A},Z=function(A){return parseInt(A.substr(1),10)};f=function(A,B){var G=$(A);M[G]=B},v=function(A){var B=$(A);return M[B]},j=function(A){var B=$(A);delete M[B]},g=function(){return Object.keys(M).map(Z)},x=function(A){var B=$(A);L[B]=!0},N=function(A){var B=$(A);delete L[B]},m=function(){return Object.keys(L).map(Z)}}var Q=[],J={onSetChildren:function(A,B){var G=v(A);G||(l.env.NODE_ENV!=="production"?y(!1,"Item must have been set"):h("144")),G.childIDs=B;for(var O=0;O<B.length;O++){var P=B[O],D=v(P);D||(l.env.NODE_ENV!=="production"?y(!1,"Expected hook events to fire for the child before its parent includes it in onSetChildren()."):h("140")),D.childIDs==null&&typeof D.element=="object"&&D.element!=null&&(l.env.NODE_ENV!=="production"?y(!1,"Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren()."):h("141")),D.isMounted||(l.env.NODE_ENV!=="production"?y(!1,"Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren()."):h("71")),D.parentID==null&&(D.parentID=A),D.parentID!==A&&(l.env.NODE_ENV!=="production"?y(!1,"Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",P,D.parentID,A):h("142",P,D.parentID,A))}},onBeforeMountComponent:function(A,B,G){var O={element:B,parentID:G,text:null,childIDs:[],isMounted:!1,updateCount:0};f(A,O)},onBeforeUpdateComponent:function(A,B){var G=v(A);G&&G.isMounted&&(G.element=B)},onMountComponent:function(A){var B=v(A);B||(l.env.NODE_ENV!=="production"?y(!1,"Item must have been set"):h("144")),B.isMounted=!0;var G=B.parentID===0;G&&x(A)},onUpdateComponent:function(A){var B=v(A);B&&B.isMounted&&B.updateCount++},onUnmountComponent:function(A){var B=v(A);if(B){B.isMounted=!1;var G=B.parentID===0;G&&N(A)}Q.push(A)},purgeUnmountedComponents:function(){if(!J._preventPurging){for(var A=0;A<Q.length;A++){var B=Q[A];a(B)}Q.length=0}},isMounted:function(A){var B=v(A);return!!B&&B.isMounted},getCurrentStackAddendum:function(A){var B="";if(A){var G=c(A),O=A._owner;B+=u(G,A._source,O&&O.getName())}var P=p.current,D=P&&P._debugID;return B+=J.getStackAddendumByID(D)},getStackAddendumByID:function(A){for(var B="";A;)B+=d(A),A=J.getParentID(A);return B},getChildIDs:function(A){var B=v(A);return B?B.childIDs:[]},getDisplayName:function(A){var B=J.getElement(A);return B?c(B):null},getElement:function(A){var B=v(A);return B?B.element:null},getOwnerID:function(A){var B=J.getElement(A);return B&&B._owner?B._owner._debugID:null},getParentID:function(A){var B=v(A);return B?B.parentID:null},getSource:function(A){var B=v(A),G=B?B.element:null,O=G!=null?G._source:null;return O},getText:function(A){var B=J.getElement(A);return typeof B=="string"?B:typeof B=="number"?""+B:null},getUpdateCount:function(A){var B=v(A);return B?B.updateCount:0},getRootIDs:m,getRegisteredIDs:g,pushNonStandardWarningStack:function(A,B){if(typeof console.reactStack=="function"){var G=[],O=p.current,P=O&&O._debugID;try{for(A&&G.push({name:P?J.getDisplayName(P):null,fileName:B?B.fileName:null,lineNumber:B?B.lineNumber:null});P;){var D=J.getElement(P),F=J.getParentID(P),z=J.getOwnerID(P),V=z?J.getDisplayName(z):null,K=D&&D._source;G.push({name:V,fileName:K?K.fileName:null,lineNumber:K?K.lineNumber:null}),P=F}}catch{}console.reactStack(G)}},popNonStandardWarningStack:function(){typeof console.reactStackEnd=="function"&&console.reactStackEnd()}};n.exports=J}).call(i,o(1))},function(n,i,o){(function(l){var s=function(){};if(l.env.NODE_ENV!=="production"){var a=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 v=0,j="Warning: "+u.replace(/%s/g,function(){return d[v++]});typeof console<"u"&&console.warn(j);try{throw new Error(j)}catch{}};s=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),v=2;v<d;v++)f[v-2]=arguments[v];a.apply(void 0,[c].concat(f))}}}n.exports=s}).call(i,o(1))},function(n,i,o){(function(l){var s={};l.env.NODE_ENV!=="production"&&Object.freeze(s),n.exports=s}).call(i,o(1))},function(n,i){var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=o},function(n,i,o){(function(l){function s(p,y,w){this.props=p,this.context=y,this.refs=j,this.updater=w||f}function a(p,y,w){this.props=p,this.context=y,this.refs=j,this.updater=w||f}function u(){}var c=o(5),d=o(6),f=o(17),v=o(8),j=o(12),g=o(2),x=o(11);if(s.prototype.isReactComponent={},s.prototype.setState=function(p,y){typeof p!="object"&&typeof p!="function"&&p!=null&&(l.env.NODE_ENV!=="production"?g(!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,p),y&&this.updater.enqueueCallback(this,y,"setState")},s.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this),p&&this.updater.enqueueCallback(this,p,"forceUpdate")},l.env.NODE_ENV!=="production"){var N={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)."]},m=function(p,y){v&&Object.defineProperty(s.prototype,p,{get:function(){x(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",y[0],y[1])}})};for(var h in N)N.hasOwnProperty(h)&&m(h,N[h])}u.prototype=s.prototype,a.prototype=new u,a.prototype.constructor=a,d(a.prototype,s.prototype),a.prototype.isPureReactComponent=!0,n.exports={Component:s,PureComponent:a}}).call(i,o(1))},function(n,i){var o=typeof Symbol=="function"&&Symbol.for&&Symbol.for("react.element")||60103;n.exports=o},function(n,i,o){(function(l){function s(){if(v.current){var k=v.current.getName();if(k)return" Check the render method of `"+k+"`."}return""}function a(k){if(k!=null&&k.__source!==void 0){var _=k.__source,S=_.fileName.replace(/^.*[\\\/]/,""),M=_.lineNumber;return" Check your code at "+S+":"+M+"."}return""}function u(k){var _=s();if(!_){var S=typeof k=="string"?k:k.displayName||k.name;S&&(_=" Check the top-level render call using <"+S+">.")}return _}function c(k,_){if(k._store&&!k._store.validated&&k.key==null){k._store.validated=!0;var S=y.uniqueKey||(y.uniqueKey={}),M=u(_);if(!S[M]){S[M]=!0;var L="";k&&k._owner&&k._owner!==v.current&&(L=" It was passed a child from "+k._owner.getName()+"."),l.env.NODE_ENV!=="production"&&h(!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',M,L,j.getCurrentStackAddendum(k))}}}function d(k,_){if(typeof k=="object"){if(Array.isArray(k))for(var S=0;S<k.length;S++){var M=k[S];g.isValidElement(M)&&c(M,_)}else if(g.isValidElement(k))k._store&&(k._store.validated=!0);else if(k){var L=m(k);if(L&&L!==k.entries)for(var $,Z=L.call(k);!($=Z.next()).done;)g.isValidElement($.value)&&c($.value,_)}}}function f(k){var _=k.type;if(typeof _=="function"){var S=_.displayName||_.name;_.propTypes&&x(_.propTypes,k.props,"prop",S,k,null),typeof _.getDefaultProps=="function"&&(l.env.NODE_ENV!=="production"&&h(_.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}}var v=o(7),j=o(10),g=o(4),x=o(32),N=o(8),m=o(18),h=o(3),p=o(11),y={},w={createElement:function(k,_,S){var M=typeof k=="string"||typeof k=="function";if(!M&&typeof k!="function"&&typeof k!="string"){var L="";(k===void 0||typeof k=="object"&&k!==null&&Object.keys(k).length===0)&&(L+=" You likely forgot to export your component from the file it's defined in.");var $=a(_);L+=$||s(),L+=j.getCurrentStackAddendum();var Z=_!=null&&_.__source!==void 0?_.__source:null;j.pushNonStandardWarningStack(!0,Z),l.env.NODE_ENV!=="production"&&h(!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,L),j.popNonStandardWarningStack()}var Q=g.createElement.apply(this,arguments);if(Q==null)return Q;if(M)for(var J=2;J<arguments.length;J++)d(arguments[J],k);return f(Q),Q},createFactory:function(k){var _=w.createElement.bind(null,k);return _.type=k,l.env.NODE_ENV!=="production"&&N&&Object.defineProperty(_,"type",{enumerable:!1,get:function(){return p(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:k}),k}}),_},cloneElement:function(k,_,S){for(var M=g.cloneElement.apply(this,arguments),L=2;L<arguments.length;L++)d(arguments[L],M.type);return f(M),M}};n.exports=w}).call(i,o(1))},function(n,i,o){(function(l){function s(c,d){if(l.env.NODE_ENV!=="production"){var f=c.constructor;l.env.NODE_ENV!=="production"&&a(!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 a=o(3),u={isMounted:function(c){return!1},enqueueCallback:function(c,d){},enqueueForceUpdate:function(c){s(c,"forceUpdate")},enqueueReplaceState:function(c,d){s(c,"replaceState")},enqueueSetState:function(c,d){s(c,"setState")}};n.exports=u}).call(i,o(1))},function(n,i){function o(a){var u=a&&(l&&a[l]||a[s]);if(typeof u=="function")return u}var l=typeof Symbol=="function"&&Symbol.iterator,s="@@iterator";n.exports=o},function(n,i,o){(function(l){function s(g){return g}function a(g,x,N){function m(O,P,D){for(var F in P)P.hasOwnProperty(F)&&l.env.NODE_ENV!=="production"&&f(typeof P[F]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",O.displayName||"ReactClass",v[D],F)}function h(O,P){var D=Z.hasOwnProperty(P)?Z[P]:null;B.hasOwnProperty(P)&&d(D==="OVERRIDE_BASE","ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",P),O&&d(D==="DEFINE_MANY"||D==="DEFINE_MANY_MERGED","ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",P)}function p(O,P){if(P){d(typeof P!="function","ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),d(!x(P),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var D=O.prototype,F=D.__reactAutoBindPairs;P.hasOwnProperty(j)&&Q.mixins(O,P.mixins);for(var z in P)if(P.hasOwnProperty(z)&&z!==j){var V=P[z],K=D.hasOwnProperty(z);if(h(K,z),Q.hasOwnProperty(z))Q[z](O,V);else{var X=Z.hasOwnProperty(z),ee=typeof V=="function",te=ee&&!X&&!K&&P.autobind!==!1;if(te)F.push(z,V),D[z]=V;else if(K){var re=Z[z];d(X&&(re==="DEFINE_MANY_MERGED"||re==="DEFINE_MANY"),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",re,z),re==="DEFINE_MANY_MERGED"?D[z]=k(D[z],V):re==="DEFINE_MANY"&&(D[z]=_(D[z],V))}else D[z]=V,l.env.NODE_ENV!=="production"&&typeof V=="function"&&P.displayName&&(D[z].displayName=P.displayName+"_"+z)}}}else if(l.env.NODE_ENV!=="production"){var ae=typeof P,ce=ae==="object"&&P!==null;l.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.",O.displayName||"ReactClass",P===null?null:ae)}}function y(O,P){if(P)for(var D in P){var F=P[D];if(P.hasOwnProperty(D)){var z=D in Q;d(!z,'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.',D);var V=D in O;d(!V,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",D),O[D]=F}}}function w(O,P){d(O&&P&&typeof O=="object"&&typeof P=="object","mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var D in P)P.hasOwnProperty(D)&&(d(O[D]===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.",D),O[D]=P[D]);return O}function k(O,P){return function(){var D=O.apply(this,arguments),F=P.apply(this,arguments);if(D==null)return F;if(F==null)return D;var z={};return w(z,D),w(z,F),z}}function _(O,P){return function(){O.apply(this,arguments),P.apply(this,arguments)}}function S(O,P){var D=P.bind(O);if(l.env.NODE_ENV!=="production"){D.__reactBoundContext=O,D.__reactBoundMethod=P,D.__reactBoundArguments=null;var F=O.constructor.displayName,z=D.bind;D.bind=function(V){for(var K=arguments.length,X=Array(K>1?K-1:0),ee=1;ee<K;ee++)X[ee-1]=arguments[ee];if(V!==O&&V!==null)l.env.NODE_ENV!=="production"&&f(!1,"bind(): React component methods may only be bound to the component instance. See %s",F);else if(!X.length)return l.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),D;var te=z.apply(D,arguments);return te.__reactBoundContext=O,te.__reactBoundMethod=P,te.__reactBoundArguments=X,te}}return D}function M(O){for(var P=O.__reactAutoBindPairs,D=0;D<P.length;D+=2){var F=P[D],z=P[D+1];O[F]=S(O,z)}}function L(O){var P=function(F,z,V){l.env.NODE_ENV!=="production"&&f(this instanceof P,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindPairs.length&&M(this),this.props=F,this.context=z,this.refs=c,this.updater=V||N,this.state=null;var K=this.getInitialState?this.getInitialState():null;l.env.NODE_ENV!=="production"&&K===void 0&&this.getInitialState._isMockFunction&&(K=null),d(typeof K=="object"&&!Array.isArray(K),"%s.getInitialState(): must return an object or null",P.displayName||"ReactCompositeComponent"),this.state=K};P.prototype=new G,P.prototype.constructor=P,P.prototype.__reactAutoBindPairs=[],$.forEach(p.bind(null,P)),p(P,J),p(P,O),p(P,A),P.getDefaultProps&&(P.defaultProps=P.getDefaultProps()),l.env.NODE_ENV!=="production"&&(P.getDefaultProps&&(P.getDefaultProps.isReactClassApproved={}),P.prototype.getInitialState&&(P.prototype.getInitialState.isReactClassApproved={})),d(P.prototype.render,"createClass(...): Class specification must implement a `render` method."),l.env.NODE_ENV!=="production"&&(f(!P.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.",O.displayName||"A component"),f(!P.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",O.displayName||"A component"));for(var D in Z)P.prototype[D]||(P.prototype[D]=null);return P}var $=[],Z={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(O,P){O.displayName=P},mixins:function(O,P){if(P)for(var D=0;D<P.length;D++)p(O,P[D])},childContextTypes:function(O,P){l.env.NODE_ENV!=="production"&&m(O,P,"childContext"),O.childContextTypes=u({},O.childContextTypes,P)},contextTypes:function(O,P){l.env.NODE_ENV!=="production"&&m(O,P,"context"),O.contextTypes=u({},O.contextTypes,P)},getDefaultProps:function(O,P){O.getDefaultProps?O.getDefaultProps=k(O.getDefaultProps,P):O.getDefaultProps=P},propTypes:function(O,P){l.env.NODE_ENV!=="production"&&m(O,P,"prop"),O.propTypes=u({},O.propTypes,P)},statics:function(O,P){y(O,P)},autobind:function(){}},J={componentDidMount:function(){this.__isMounted=!0}},A={componentWillUnmount:function(){this.__isMounted=!1}},B={replaceState:function(O,P){this.updater.enqueueReplaceState(this,O,P)},isMounted:function(){return l.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,g.prototype,B),L}var u=o(6),c=o(12),d=o(2);if(l.env.NODE_ENV!=="production")var f=o(3);var v,j="mixins";v=l.env.NODE_ENV!=="production"?{prop:"prop",context:"context",childContext:"child context"}:{},n.exports=a}).call(i,o(1))},function(n,i,o){(function(l){function s(f,v,j,g,x){if(l.env.NODE_ENV!=="production"){for(var N in f)if(f.hasOwnProperty(N)){var m;try{a(typeof f[N]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",g||"React class",j,N),m=f[N](v,N,g,j,null,c)}catch(p){m=p}if(u(!m||m 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).",g||"React class",j,N,typeof m),m instanceof Error&&!(m.message in d)){d[m.message]=!0;var h=x?x():"";u(!1,"Failed %s type: %s%s",j,m.message,h??"")}}}}if(l.env.NODE_ENV!=="production")var a=o(2),u=o(3),c=o(13),d={};n.exports=s}).call(i,o(1))},function(n,i,o){var l=o(22);n.exports=function(s){var a=!1;return l(s,a)}},function(n,i,o){(function(l){var s=o(9),a=o(2),u=o(3),c=o(13),d=o(20);n.exports=function(f,v){function j(F){var z=F&&(G&&F[G]||F[O]);if(typeof z=="function")return z}function g(F,z){return F===z?F!==0||1/F===1/z:F!==F&&z!==z}function x(F){this.message=F,this.stack=""}function N(F){function z(ee,te,re,ae,ce,Ce,Yn){if(ae=ae||P,Ce=Ce||re,Yn!==c){if(v)a(!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(l.env.NODE_ENV!=="production"&&typeof console<"u"){var Hi=ae+":"+re;!V[Hi]&&K<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.",Ce,ae),V[Hi]=!0,K++)}}return te[re]==null?ee?new x(te[re]===null?"The "+ce+" `"+Ce+"` is marked as required "+("in `"+ae+"`, but its value is `null`."):"The "+ce+" `"+Ce+"` is marked as required in "+("`"+ae+"`, but its value is `undefined`.")):null:F(te,re,ae,ce,Ce)}if(l.env.NODE_ENV!=="production")var V={},K=0;var X=z.bind(null,!1);return X.isRequired=z.bind(null,!0),X}function m(F){function z(V,K,X,ee,te,re){var ae=V[K],ce=Q(ae);if(ce!==F){var Ce=J(ae);return new x("Invalid "+ee+" `"+te+"` of type "+("`"+Ce+"` supplied to `"+X+"`, expected ")+("`"+F+"`."))}return null}return N(z)}function h(){return N(s.thatReturnsNull)}function p(F){function z(V,K,X,ee,te){if(typeof F!="function")return new x("Property `"+te+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var re=V[K];if(!Array.isArray(re)){var ae=Q(re);return new x("Invalid "+ee+" `"+te+"` of type "+("`"+ae+"` supplied to `"+X+"`, expected an array."))}for(var ce=0;ce<re.length;ce++){var Ce=F(re,ce,X,ee,te+"["+ce+"]",c);if(Ce instanceof Error)return Ce}return null}return N(z)}function y(){function F(z,V,K,X,ee){var te=z[V];if(!f(te)){var re=Q(te);return new x("Invalid "+X+" `"+ee+"` of type "+("`"+re+"` supplied to `"+K+"`, expected a single ReactElement."))}return null}return N(F)}function w(F){function z(V,K,X,ee,te){if(!(V[K]instanceof F)){var re=F.name||P,ae=B(V[K]);return new x("Invalid "+ee+" `"+te+"` of type "+("`"+ae+"` supplied to `"+X+"`, expected ")+("instance of `"+re+"`."))}return null}return N(z)}function k(F){function z(V,K,X,ee,te){for(var re=V[K],ae=0;ae<F.length;ae++)if(g(re,F[ae]))return null;var ce=JSON.stringify(F);return new x("Invalid "+ee+" `"+te+"` of value `"+re+"` "+("supplied to `"+X+"`, expected one of "+ce+"."))}return Array.isArray(F)?N(z):(l.env.NODE_ENV!=="production"&&u(!1,"Invalid argument supplied to oneOf, expected an instance of array."),s.thatReturnsNull)}function _(F){function z(V,K,X,ee,te){if(typeof F!="function")return new x("Property `"+te+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var re=V[K],ae=Q(re);if(ae!=="object")return new x("Invalid "+ee+" `"+te+"` of type "+("`"+ae+"` supplied to `"+X+"`, expected an object."));for(var ce in re)if(re.hasOwnProperty(ce)){var Ce=F(re,ce,X,ee,te+"."+ce,c);if(Ce instanceof Error)return Ce}return null}return N(z)}function S(F){function z(X,ee,te,re,ae){for(var ce=0;ce<F.length;ce++){var Ce=F[ce];if(Ce(X,ee,te,re,ae,c)==null)return null}return new x("Invalid "+re+" `"+ae+"` supplied to "+("`"+te+"`."))}if(!Array.isArray(F))return l.env.NODE_ENV!=="production"&&u(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),s.thatReturnsNull;for(var V=0;V<F.length;V++){var K=F[V];if(typeof K!="function")return u(!1,"Invalid argument supplid to oneOfType. Expected an array of check functions, but received %s at index %s.",A(K),V),s.thatReturnsNull}return N(z)}function M(){function F(z,V,K,X,ee){return $(z[V])?null:new x("Invalid "+X+" `"+ee+"` supplied to "+("`"+K+"`, expected a ReactNode."))}return N(F)}function L(F){function z(V,K,X,ee,te){var re=V[K],ae=Q(re);if(ae!=="object")return new x("Invalid "+ee+" `"+te+"` of type `"+ae+"` "+("supplied to `"+X+"`, expected `object`."));for(var ce in F){var Ce=F[ce];if(Ce){var Yn=Ce(re,ce,X,ee,te+"."+ce,c);if(Yn)return Yn}}return null}return N(z)}function $(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($);if(F===null||f(F))return!0;var z=j(F);if(!z)return!1;var V,K=z.call(F);if(z!==F.entries){for(;!(V=K.next()).done;)if(!$(V.value))return!1}else for(;!(V=K.next()).done;){var X=V.value;if(X&&!$(X[1]))return!1}return!0;default:return!1}}function Z(F,z){return F==="symbol"||z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&z instanceof Symbol}function Q(F){var z=typeof F;return Array.isArray(F)?"array":F instanceof RegExp?"object":Z(z,F)?"symbol":z}function J(F){if(typeof F>"u"||F===null)return""+F;var z=Q(F);if(z==="object"){if(F instanceof Date)return"date";if(F instanceof RegExp)return"regexp"}return z}function A(F){var z=J(F);switch(z){case"array":case"object":return"an "+z;case"boolean":case"date":case"regexp":return"a "+z;default:return z}}function B(F){return F.constructor&&F.constructor.name?F.constructor.name:P}var G=typeof Symbol=="function"&&Symbol.iterator,O="@@iterator",P="<<anonymous>>",D={array:m("array"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(),arrayOf:p,element:y(),instanceOf:w,node:M(),objectOf:_,oneOf:k,oneOfType:S,shape:L};return x.prototype=Error.prototype,D.checkPropTypes=d,D.PropTypes=D,D}}).call(i,o(1))},function(n,i){function o(a){var u=/[=:]/g,c={"=":"=0",":":"=2"},d=(""+a).replace(u,function(f){return c[f]});return"$"+d}function l(a){var u=/(=0|=2)/g,c={"=0":"=","=2":":"},d=a[0]==="."&&a[1]==="$"?a.substring(2):a.substring(1);return(""+d).replace(u,function(f){return c[f]})}var s={escape:o,unescape:l};n.exports=s},function(n,i,o){(function(l){var s=o(5),a=o(2),u=function(m){var h=this;if(h.instancePool.length){var p=h.instancePool.pop();return h.call(p,m),p}return new h(m)},c=function(m,h){var p=this;if(p.instancePool.length){var y=p.instancePool.pop();return p.call(y,m,h),y}return new p(m,h)},d=function(m,h,p){var y=this;if(y.instancePool.length){var w=y.instancePool.pop();return y.call(w,m,h,p),w}return new y(m,h,p)},f=function(m,h,p,y){var w=this;if(w.instancePool.length){var k=w.instancePool.pop();return w.call(k,m,h,p,y),k}return new w(m,h,p,y)},v=function(m){var h=this;m instanceof h||(l.env.NODE_ENV!=="production"?a(!1,"Trying to release an instance into a pool of a different type."):s("25")),m.destructor(),h.instancePool.length<h.poolSize&&h.instancePool.push(m)},j=10,g=u,x=function(m,h){var p=m;return p.instancePool=[],p.getPooled=h||g,p.poolSize||(p.poolSize=j),p.release=v,p},N={addPoolingTo:x,oneArgumentPooler:u,twoArgumentPooler:c,threeArgumentPooler:d,fourArgumentPooler:f};n.exports=N}).call(i,o(1))},function(n,i,o){(function(l){var s=o(6),a=o(14),u=o(26),c=o(27),d=o(4),f=o(29),v=o(31),j=o(33),g=o(34),x=d.createElement,N=d.createFactory,m=d.cloneElement;if(l.env.NODE_ENV!=="production"){var h=o(11),p=o(8),y=o(16),w=!1;x=y.createElement,N=y.createFactory,m=y.cloneElement}var k=s,_=function(Q){return Q};if(l.env.NODE_ENV!=="production"){var S=!1,M=!1;k=function(){return h(S,"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."),S=!0,s.apply(null,arguments)},_=function(Q){return h(M,"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."),M=!0,Q}}var L={Children:{map:u.map,forEach:u.forEach,count:u.count,toArray:u.toArray,only:g},Component:a.Component,PureComponent:a.PureComponent,createElement:x,cloneElement:m,isValidElement:d.isValidElement,PropTypes:f,createClass:j,createFactory:N,createMixin:_,DOM:c,version:v,__spread:k};if(l.env.NODE_ENV!=="production"){var $=!1;p&&(Object.defineProperty(L,"PropTypes",{get:function(){return h(w,"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"),w=!0,f}}),Object.defineProperty(L,"createClass",{get:function(){return 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"),$=!0,j}})),L.DOM={};var Z=!1;Object.keys(c).forEach(function(Q){L.DOM[Q]=function(){return Z||(h(!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),Z=!0),c[Q].apply(c,arguments)}})}n.exports=L}).call(i,o(1))},function(n,i,o){function l(S){return(""+S).replace(k,"$&/")}function s(S,M){this.func=S,this.context=M,this.count=0}function a(S,M,L){var $=S.func,Z=S.context;$.call(Z,M,S.count++)}function u(S,M,L){if(S==null)return S;var $=s.getPooled(M,L);p(S,a,$),s.release($)}function c(S,M,L,$){this.result=S,this.keyPrefix=M,this.func=L,this.context=$,this.count=0}function d(S,M,L){var $=S.result,Z=S.keyPrefix,Q=S.func,J=S.context,A=Q.call(J,M,S.count++);Array.isArray(A)?f(A,$,L,h.thatReturnsArgument):A!=null&&(m.isValidElement(A)&&(A=m.cloneAndReplaceKey(A,Z+(!A.key||M&&M.key===A.key?"":l(A.key)+"/")+L)),$.push(A))}function f(S,M,L,$,Z){var Q="";L!=null&&(Q=l(L)+"/");var J=c.getPooled(M,Q,$,Z);p(S,d,J),c.release(J)}function v(S,M,L){if(S==null)return S;var $=[];return f(S,$,null,M,L),$}function j(S,M,L){return null}function g(S,M){return p(S,j,null)}function x(S){var M=[];return f(S,M,null,h.thatReturnsArgument),M}var N=o(24),m=o(4),h=o(9),p=o(35),y=N.twoArgumentPooler,w=N.fourArgumentPooler,k=/\/+/g;s.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},N.addPoolingTo(s,y),c.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},N.addPoolingTo(c,w);var _={forEach:u,map:v,mapIntoWithKeyPrefixInternal:f,count:g,toArray:x};n.exports=_},function(n,i,o){(function(l){var s=o(4),a=s.createFactory;if(l.env.NODE_ENV!=="production"){var u=o(16);a=u.createFactory}var c={a:a("a"),abbr:a("abbr"),address:a("address"),area:a("area"),article:a("article"),aside:a("aside"),audio:a("audio"),b:a("b"),base:a("base"),bdi:a("bdi"),bdo:a("bdo"),big:a("big"),blockquote:a("blockquote"),body:a("body"),br:a("br"),button:a("button"),canvas:a("canvas"),caption:a("caption"),cite:a("cite"),code:a("code"),col:a("col"),colgroup:a("colgroup"),data:a("data"),datalist:a("datalist"),dd:a("dd"),del:a("del"),details:a("details"),dfn:a("dfn"),dialog:a("dialog"),div:a("div"),dl:a("dl"),dt:a("dt"),em:a("em"),embed:a("embed"),fieldset:a("fieldset"),figcaption:a("figcaption"),figure:a("figure"),footer:a("footer"),form:a("form"),h1:a("h1"),h2:a("h2"),h3:a("h3"),h4:a("h4"),h5:a("h5"),h6:a("h6"),head:a("head"),header:a("header"),hgroup:a("hgroup"),hr:a("hr"),html:a("html"),i:a("i"),iframe:a("iframe"),img:a("img"),input:a("input"),ins:a("ins"),kbd:a("kbd"),keygen:a("keygen"),label:a("label"),legend:a("legend"),li:a("li"),link:a("link"),main:a("main"),map:a("map"),mark:a("mark"),menu:a("menu"),menuitem:a("menuitem"),meta:a("meta"),meter:a("meter"),nav:a("nav"),noscript:a("noscript"),object:a("object"),ol:a("ol"),optgroup:a("optgroup"),option:a("option"),output:a("output"),p:a("p"),param:a("param"),picture:a("picture"),pre:a("pre"),progress:a("progress"),q:a("q"),rp:a("rp"),rt:a("rt"),ruby:a("ruby"),s:a("s"),samp:a("samp"),script:a("script"),section:a("section"),select:a("select"),small:a("small"),source:a("source"),span:a("span"),strong:a("strong"),style:a("style"),sub:a("sub"),summary:a("summary"),sup:a("sup"),table:a("table"),tbody:a("tbody"),td:a("td"),textarea:a("textarea"),tfoot:a("tfoot"),th:a("th"),thead:a("thead"),time:a("time"),title:a("title"),tr:a("tr"),track:a("track"),u:a("u"),ul:a("ul"),var:a("var"),video:a("video"),wbr:a("wbr"),circle:a("circle"),clipPath:a("clipPath"),defs:a("defs"),ellipse:a("ellipse"),g:a("g"),image:a("image"),line:a("line"),linearGradient:a("linearGradient"),mask:a("mask"),path:a("path"),pattern:a("pattern"),polygon:a("polygon"),polyline:a("polyline"),radialGradient:a("radialGradient"),rect:a("rect"),stop:a("stop"),svg:a("svg"),text:a("text"),tspan:a("tspan")};n.exports=c}).call(i,o(1))},function(n,i,o){(function(l){var s={};l.env.NODE_ENV!=="production"&&(s={prop:"prop",context:"context",childContext:"child context"}),n.exports=s}).call(i,o(1))},function(n,i,o){var l=o(4),s=l.isValidElement,a=o(21);n.exports=a(s)},function(n,i){var o="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";n.exports=o},function(n,i){n.exports="15.6.1"},function(n,i,o){(function(l){function s(g,x,N,m,h,p){for(var y in g)if(g.hasOwnProperty(y)){var w;try{typeof g[y]!="function"&&(l.env.NODE_ENV!=="production"?f(!1,"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",m||"React class",c[N],y):u("84",m||"React class",c[N],y)),w=g[y](x,y,m,N,null,d)}catch(_){w=_}if(l.env.NODE_ENV!=="production"&&v(!w||w 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).",m||"React class",c[N],y,typeof w),w instanceof Error&&!(w.message in j)){j[w.message]=!0;var k="";l.env.NODE_ENV!=="production"&&(a||(a=o(10)),p!==null?k=a.getStackAddendumByID(p):h!==null&&(k=a.getCurrentStackAddendum(h))),l.env.NODE_ENV!=="production"&&v(!1,"Failed %s type: %s%s",N,w.message,k)}}}var a,u=o(5),c=o(28),d=o(30),f=o(2),v=o(3);typeof l<"u"&&l.env&&l.env.NODE_ENV==="test"&&(a=o(10));var j={};n.exports=s}).call(i,o(1))},function(n,i,o){var l=o(14),s=l.Component,a=o(4),u=a.isValidElement,c=o(17),d=o(19);n.exports=d(s,u,c)},function(n,i,o){(function(l){function s(d){return u.isValidElement(d)||(l.env.NODE_ENV!=="production"?c(!1,"React.Children.only expected to receive a single React element child."):a("143")),d}var a=o(5),u=o(4),c=o(2);n.exports=s}).call(i,o(1))},function(n,i,o){(function(l){function s(p,y){return p&&typeof p=="object"&&p.key!=null?g.escape(p.key):y.toString(36)}function a(p,y,w,k){var _=typeof p;if(_!=="undefined"&&_!=="boolean"||(p=null),p===null||_==="string"||_==="number"||_==="object"&&p.$$typeof===f)return w(k,p,y===""?N+s(p,0):y),1;var S,M,L=0,$=y===""?N:y+m;if(Array.isArray(p))for(var Z=0;Z<p.length;Z++)S=p[Z],M=$+s(S,Z),L+=a(S,M,w,k);else{var Q=v(p);if(Q){var J,A=Q.call(p);if(Q!==p.entries)for(var B=0;!(J=A.next()).done;)S=J.value,M=$+s(S,B++),L+=a(S,M,w,k);else{if(l.env.NODE_ENV!=="production"){var G="";if(d.current){var O=d.current.getName();O&&(G=" Check the render method of `"+O+"`.")}l.env.NODE_ENV!=="production"&&x(h,"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),h=!0}for(;!(J=A.next()).done;){var P=J.value;P&&(S=P[1],M=$+g.escape(P[0])+m+s(S,0),L+=a(S,M,w,k))}}}else if(_==="object"){var D="";if(l.env.NODE_ENV!=="production"&&(D=" 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.",p._isReactElement&&(D=" 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&&(D+=" Check the render method of `"+F+"`.")}var z=String(p);l.env.NODE_ENV!=="production"?j(!1,"Objects are not valid as a React child (found: %s).%s",z==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":z,D):c("31",z==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":z,D)}}return L}function u(p,y,w){return p==null?0:a(p,"",y,w)}var c=o(5),d=o(7),f=o(15),v=o(18),j=o(2),g=o(23),x=o(3),N=".",m=":",h=!1;n.exports=u}).call(i,o(1))},function(n,i,o){n.exports=o(25)}])})})(yh);var PN=yh.exports;const xh=Za(PN),ON=()=>{const[e,t]=R.useState("propertydetails"),n=()=>{e==="propertydetails"&&t("Images"),e==="Images"&&t("Accounting")},i=()=>{e==="Images"&&t("propertydetails"),e==="Accounting"&&t("Images")},o=kt(),{status:l,error:s}=Ze(C=>C.property),{user:a}=Ze(C=>({...C.auth})),u=[1,2,3,4,5,6,7,8,9,10],[c,d]=R.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,v]=R.useState(!1),j=(C,b)=>{const E=[...c.images];E[b].file=C.base64,d({...c,images:E})},g=()=>{d({...c,images:[...c.images,{title:"",file:""}]})},x=C=>{const b=c.images.filter((E,U)=>U!==C);d({...c,images:b})},N=(C,b)=>{const E=[...c.images];E[C].title=b.target.value,d({...c,images:E})},m=(C,b,E)=>{const{name:U,value:q}=C.target;if(E==="propertyTaxInfo"){const H=[...c.propertyTaxInfo];H[b][U]=q,d({...c,propertyTaxInfo:H})}else d({...c,[U]:q})},h=()=>{d({...c,propertyTaxInfo:[...c.propertyTaxInfo,{propertytaxowned:"",ownedyear:"",taxassessed:"",taxyear:""}]})},p=C=>{const b=c.propertyTaxInfo.filter((E,U)=>U!==C);d({...c,propertyTaxInfo:b})},y=()=>{d(C=>({...C,costPaidAtoB:[...C.costPaidAtoB,{title:"",price:""}]}))},w=C=>{const b=c.costPaidAtoB.filter((E,U)=>U!==C);d(E=>({...E,costPaidAtoB:b}))},k=(C,b,E)=>{const U=[...c.costPaidAtoB];U[C][b]=E,d(q=>({...q,costPaidAtoB:U}))},_=(C,b)=>{let E=C.target.value;if(E=E.replace(/^\$/,"").trim(),/^\d*\.?\d*$/.test(E)||E===""){const q=c.costPaidAtoB.map((H,ie)=>ie===b?{...H,price:E,isInvalid:!1}:H);d({...c,costPaidAtoB:q})}else{const q=c.costPaidAtoB.map((H,ie)=>ie===b?{...H,isInvalid:!0}:H);d({...c,costPaidAtoB:q})}},S=()=>{const C=c.costPaidAtoB.reduce((E,U)=>{const q=parseFloat(U.price)||0;return E+q},0),b=parseFloat(c.purchaseCost)||0;return C+b},M=()=>{d(C=>({...C,credits:[...C.credits,{title:"",price:""}]}))},L=C=>{const b=c.credits.filter((E,U)=>U!==C);d(E=>({...E,credits:b}))},$=(C,b,E)=>{const U=[...c.credits];U[C][b]=E,d(q=>({...q,credits:U}))},Z=(C,b)=>{const E=C.target.value;if(/^\d*\.?\d*$/.test(E)||E===""){const q=c.credits.map((H,ie)=>ie===b?{...H,price:E,isInvalid:!1}:H);d({...c,credits:q})}else{const q=c.credits.map((H,ie)=>ie===b?{...H,isInvalid:!0}:H);d({...c,credits:q})}},Q=()=>c.credits.reduce((C,b)=>{const E=parseFloat(b.price);return C+(isNaN(E)?0:E)},0),J=()=>{const C=c.costPaidAtoB.reduce((U,q)=>{const H=parseFloat(q.price)||0;return U+H},0),b=c.credits.reduce((U,q)=>{const H=parseFloat(q.price)||0;return U+H},0),E=parseFloat(c.purchaseCost)||0;return C+b+E},A=()=>{d(C=>({...C,cashAdjustments:[...C.cashAdjustments,{title:"",price:""}]}))},B=C=>{const b=c.cashAdjustments.filter((E,U)=>U!==C);d(E=>({...E,cashAdjustments:b}))},G=(C,b,E)=>{const U=[...c.cashAdjustments];U[C][b]=E,d(q=>({...q,cashAdjustments:U}))},O=(C,b)=>{const E=C.target.value;if(/^\d*\.?\d*$/.test(E)||E===""){const q=c.cashAdjustments.map((H,ie)=>ie===b?{...H,price:E,isInvalid:!1}:H);d({...c,cashAdjustments:q})}else{const q=c.cashAdjustments.map((H,ie)=>ie===b?{...H,isInvalid:!0}:H);d({...c,cashAdjustments:q})}},P=()=>c.cashAdjustments.reduce((C,b)=>{const E=parseFloat(b.price);return C+(isNaN(E)?0:E)},0),D=()=>{const C=P(),b=Q(),E=S();return C+b+E},F=()=>{d(C=>({...C,incidentalCost:[...C.incidentalCost,{title:"",price:""}]}))},z=C=>{const b=c.incidentalCost.filter((E,U)=>U!==C);d(E=>({...E,incidentalCost:b}))},V=(C,b,E)=>{const U=[...c.incidentalCost];U[C][b]=E,d(q=>({...q,incidentalCost:U}))},K=(C,b)=>{const E=C.target.value;if(/^\d*\.?\d*$/.test(E)||E===""){const q=c.incidentalCost.map((H,ie)=>ie===b?{...H,price:E,isInvalid:!1}:H);d({...c,incidentalCost:q})}else{const q=c.incidentalCost.map((H,ie)=>ie===b?{...H,isInvalid:!0}:H);d({...c,incidentalCost:q})}},X=()=>c.incidentalCost.reduce((C,b)=>{const E=parseFloat(b.price);return C+(isNaN(E)?0:E)},0),ee=()=>{d(C=>({...C,carryCosts:[...C.carryCosts,{title:"",price:""}]}))},te=C=>{const b=c.carryCosts.filter((E,U)=>U!==C);d(E=>({...E,carryCosts:b}))},re=(C,b,E)=>{const U=[...c.carryCosts];U[C][b]=E,d(q=>({...q,carryCosts:U}))},ae=(C,b)=>{const E=C.target.value;if(/^\d*\.?\d*$/.test(E)||E===""){const q=c.carryCosts.map((H,ie)=>ie===b?{...H,price:E,isInvalid:!1}:H);d({...c,carryCosts:q})}else{const q=c.carryCosts.map((H,ie)=>ie===b?{...H,isInvalid:!0}:H);d({...c,carryCosts:q})}},ce=()=>c.carryCosts.reduce((C,b)=>{const E=parseFloat(b.price);return C+(isNaN(E)?0:E)},0),Ce=()=>{d(C=>({...C,renovationCost:[...C.renovationCost,{title:"",price:""}]}))},Yn=C=>{const b=c.renovationCost.filter((E,U)=>U!==C);d(E=>({...E,renovationCost:b}))},Hi=(C,b,E)=>{const U=[...c.renovationCost];U[C][b]=E,d(q=>({...q,renovationCost:U}))},bh=(C,b)=>{const E=C.target.value;if(/^\d*\.?\d*$/.test(E)||E===""){const q=c.renovationCost.map((H,ie)=>ie===b?{...H,price:E,isInvalid:!1}:H);d({...c,renovationCost:q})}else{const q=c.renovationCost.map((H,ie)=>ie===b?{...H,isInvalid:!0}:H);d({...c,renovationCost:q})}},Jl=()=>c.renovationCost.reduce((C,b)=>{const E=parseFloat(b.price);return C+(isNaN(E)?0:E)},0),Xl=()=>{const C=X(),b=ce(),E=Jl();return C+b+E},Fr=()=>{const C=Xl(),b=D();return C+b},wh=()=>{d(C=>({...C,costPaidOutofClosing:[...C.costPaidOutofClosing,{title:"",price:""}]}))},Sh=C=>{const b=c.costPaidOutofClosing.filter((E,U)=>U!==C);d(E=>({...E,costPaidOutofClosing:b}))},kh=(C,b,E)=>{const U=[...c.costPaidOutofClosing];U[C][b]=E,d(q=>({...q,costPaidOutofClosing:U}))},Eh=(C,b)=>{const E=C.target.value;if(/^\d*\.?\d*$/.test(E)||E===""){const q=c.costPaidOutofClosing.map((H,ie)=>ie===b?{...H,price:E,isInvalid:!1}:H);d({...c,costPaidOutofClosing:q})}else{const q=c.costPaidOutofClosing.map((H,ie)=>ie===b?{...H,isInvalid:!0}:H);d({...c,costPaidOutofClosing:q})}},Zl=()=>c.costPaidOutofClosing.reduce((C,b)=>{const E=parseFloat(b.price);return C+(isNaN(E)?0:E)},0),Gn=()=>{const C=c.sellingPriceBtoC,b=Zl();return C-b},_h=()=>{d(C=>({...C,adjustments:[...C.adjustments,{title:"",price:""}]}))},Ph=C=>{const b=c.adjustments.filter((E,U)=>U!==C);d(E=>({...E,adjustments:b}))},Oh=(C,b,E)=>{const U=[...c.adjustments];U[C][b]=E,d(q=>({...q,adjustments:U}))},Th=(C,b)=>{const E=C.target.value;if(/^\d*\.?\d*$/.test(E)||E===""){const q=c.adjustments.map((H,ie)=>ie===b?{...H,price:E,isInvalid:!1}:H);d({...c,adjustments:q})}else{const q=c.adjustments.map((H,ie)=>ie===b?{...H,isInvalid:!0}:H);d({...c,adjustments:q})}},es=()=>c.adjustments.reduce((C,b)=>{const E=parseFloat(b.price);return C+(isNaN(E)?0:E)},0),iu=()=>{const C=Gn(),b=es();return C+b},Rh=()=>{d(C=>({...C,incomestatement:[...C.incomestatement,{title:"",price:""}]}))},Ah=C=>{const b=c.incomestatement.filter((E,U)=>U!==C);d(E=>({...E,incomestatement:b}))},Ih=(C,b,E)=>{const U=[...c.incomestatement];U[C][b]=E,d(q=>({...q,incomestatement:U}))},Dh=(C,b)=>{const E=C.target.value;if(/^\d*\.?\d*$/.test(E)||E===""){const q=c.incomestatement.map((H,ie)=>ie===b?{...H,price:E,isInvalid:!1}:H);d({...c,incomestatement:q})}else{const q=c.incomestatement.map((H,ie)=>ie===b?{...H,isInvalid:!0}:H);d({...c,incomestatement:q})}},ts=()=>c.incomestatement.reduce((C,b)=>{const E=parseFloat(b.price);return C+(isNaN(E)?0:E)},0),Lr=()=>{const C=ts(),b=Gn();return C+b},ns=()=>{const C=isNaN(parseFloat(Lr()))?0:parseFloat(Lr()),b=isNaN(parseFloat(c.shorttermrental))?0:parseFloat(c.shorttermrental),E=isNaN(parseFloat(c.OtherIncome))?0:parseFloat(c.OtherIncome),U=isNaN(parseFloat(c.InsuranceClaim))?0:parseFloat(c.InsuranceClaim),q=isNaN(parseFloat(c.LongTermRental))?0:parseFloat(c.LongTermRental),H=isNaN(parseFloat(Fr()))?0:parseFloat(Fr());return C+b+E+U+q-H},rs=()=>{const C=ns(),b=c.FinancingCostClosingCost;return C-b},ou=()=>rs(),Mh=()=>{var C,b,E,U,q,H;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 ie=ou(),au=S(),Lh=J(),zh=P(),Bh=X(),Wh=Q(),$h=D(),Uh=ce(),qh=Jl(),Vh=Xl(),Hh=Fr(),Kh=Zl(),Yh=es(),Gh=iu(),Qh=Gn(),Jh=Gn(),Xh=ts(),Zh=Lr(),ev=ns(),tv=rs(),is={...c,userfirstname:(C=a==null?void 0:a.result)==null?void 0:C.firstName,usermiddlename:(b=a==null?void 0:a.result)==null?void 0:b.middleName,userlastname:(E=a==null?void 0:a.result)==null?void 0:E.lastName,usertitle:(U=a==null?void 0:a.result)==null?void 0:U.title,useremail:(q=a==null?void 0:a.result)==null?void 0:q.email,userId:(H=a==null?void 0:a.result)==null?void 0:H.userId,totalPurchaseCosts:au,totalcredits:Wh,totalPurchaseCostsaftercredits:Lh,totalcashAdjustments:zh,totalcashrequiredonsettlement:$h,totalincidentalCost:Bh,totalcarryCosts:Uh,totalrenovationCost:qh,totalRenovationsandHoldingCost:Vh,totalCoststoBuyAtoB:Hh,costPaidOutofClosing:Kh,totaladjustments:Yh,fundsavailablefordistribution:Gh,grossproceedsperHUD:Qh,totalCosttoSellBtoC:Jh,totalincomestatement:Xh,netBtoCsalevalue:Zh,netprofitbeforefinancingcosts:ev,NetProfit:tv,rateofreturn:ie};Array.isArray(c.propertyTaxInfo)&&c.propertyTaxInfo.length>0?is.propertyTaxInfo=c.propertyTaxInfo:is.propertyTaxInfo=[],o(Ao(is)),v(!0)}else oe.error("Please fill all fields before submitting",{position:"top-right",autoClose:3e3})};R.useEffect(()=>{f&&(l==="succeeded"?(oe.success("Property submitted successfully!",{position:"top-right",autoClose:3e3}),v(!1)):l==="failed"&&(oe.error(`Failed to submit: ${s}`,{position:"top-right",autoClose:3e3}),v(!1)))},[l,s,f]);const[Fh,lu]=R.useState("0 days"),su=(C,b)=>{if(C&&b){const E=new Date(C),U=new Date(b),q=Math.abs(U-E),H=Math.ceil(q/(1e3*60*60*24));lu(`${H} days`)}else lu("0 days")};return r.jsx(r.Fragment,{children:r.jsxs("div",{className:"container tabs-wrap",children:[r.jsx(Oe,{}),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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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:m,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((C,b)=>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:C.propertytaxowned,onChange:E=>m(E,b,"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:C.ownedyear,onChange:E=>m(E,b,"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:C.taxassessed,onChange:E=>m(E,b,"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:C.taxyear,onChange:E=>m(E,b,"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:()=>p(b),style:{height:"25px",width:"35px"},children:"X"})]})})]},b)),r.jsx("button",{className:"btn btn-secondary",onClick:h,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((C,b)=>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:C.title,placeholder:"Image Title",onChange:E=>N(b,E)})}),r.jsxs("div",{className:"col-md-4 d-flex align-items-center",children:[r.jsx(xh,{multiple:!1,onDone:E=>j(E,b)}),r.jsx("button",{type:"button",className:"btn btn-danger",onClick:()=>x(b),style:{marginLeft:"5px"},children:"Delete"})]}),C.file&&r.jsx("div",{className:"col-md-12",children:r.jsx("img",{src:C.file,alt:"uploaded",style:{width:"150px",height:"150px"}})})]},b)),r.jsx("button",{type:"button",className:"btn btn-primary",onClick:g,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:m,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:i,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:C=>{const b=C.target.value;d({...c,closeDateAtoB:b}),su(b,c.closeDateBtoC)},placeholder:"Close Date A to B",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsx("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:C=>{const b=C.target.value;d({...c,closeDateBtoC:b}),su(c.closeDateAtoB,b)},placeholder:"Close Date B to C",style:{textAlign:"right"},required:!0})}),r.jsx("div",{children:r.jsxs("p",{children:[r.jsx("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(C=>r.jsxs("div",{className:"form-check form-check-inline",children:[r.jsx("input",{className:"form-check-input",type:"radio",name:"renovationRisk",id:`renovationRisk${C}`,value:C,checked:c.renovationRisk===C,onChange:b=>{const E=parseInt(b.target.value,10);d({...c,renovationRisk:E})}}),r.jsx("label",{className:"form-check-label",htmlFor:`renovationRisk${C}`,children:C})]},C))})]}),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:`$ ${ou().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:Fh,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:C=>{let b=C.target.value.replace(/[^\d.]/g,"");const E=/^\d*\.?\d*$/.test(b);d({...c,purchaseCost:b,isPurchaseCostInvalid:!E})},onKeyPress:C=>{const b=C.charCode;(b<48||b>57)&&b!==46&&(C.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((C,b)=>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:C.title,onChange:E=>k(b,"title",E.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${C.isInvalid?"is-invalid":""}`,value:`$ ${C.price}`,onChange:E=>_(E,b),placeholder:"Price",style:{textAlign:"right"},required:!0}),C.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(b),style:{marginLeft:"5px"},children:"x"})})]},b)),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:`$ ${S().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((C,b)=>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:C.title,onChange:E=>$(b,"title",E.target.value),placeholder:"credits",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${C.isInvalid?"is-invalid":""}`,value:C.price,onChange:E=>Z(E,b),placeholder:"Price",style:{textAlign:"right"},required:!0}),C.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:()=>L(b),style:{marginLeft:"5px"},children:"x"})})]},b)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:M,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:J(),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((C,b)=>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:C.title,onChange:E=>G(b,"title",E.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${C.isInvalid?"is-invalid":""}`,value:C.price,onChange:E=>O(E,b),placeholder:"Price",style:{textAlign:"right"},required:!0}),C.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:()=>B(b),style:{marginLeft:"5px"},children:"x"})})]},b)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:A,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:P(),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: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.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Incidental Cost:"}),c.incidentalCost.map((C,b)=>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:C.title,onChange:E=>V(b,"title",E.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${C.isInvalid?"is-invalid":""}`,value:C.price,onChange:E=>K(E,b),placeholder:"Price",style:{textAlign:"right"},required:!0}),C.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:()=>z(b),style:{marginLeft:"5px"},children:"x"})})]},b)),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:X(),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((C,b)=>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:C.title,onChange:E=>re(b,"title",E.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${C.isInvalid?"is-invalid":""}`,value:C.price,onChange:E=>ae(E,b),placeholder:"Price",style:{textAlign:"right"},required:!0}),C.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(b),style:{marginLeft:"5px"},children:"x"})})]},b)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:ee,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((C,b)=>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:C.title,onChange:E=>Hi(b,"title",E.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 ${C.isInvalid?"is-invalid":""}`,value:C.price,onChange:E=>bh(E,b),placeholder:"Price",style:{textAlign:"right"},required:!0}),C.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:()=>Yn(b),style:{marginLeft:"5px"},children:"x"})})]},b)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:Ce,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:Jl(),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:Xl(),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:Fr(),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:C=>{const b=C.target.value,E=/^\d*\.?\d*$/.test(b);d({...c,sellingPriceBtoC:b,isPurchaseCostInvalid:!E})},onKeyPress:C=>{const b=C.charCode;(b<48||b>57)&&b!==46&&(C.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((C,b)=>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:C.title,onChange:E=>kh(b,"title",E.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${C.isInvalid?"is-invalid":""}`,value:C.price,onChange:E=>Eh(E,b),placeholder:"Price",style:{textAlign:"right"},required:!0}),C.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:()=>Sh(b),style:{marginLeft:"5px"},children:"x"})})]},b)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:wh,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:"costPaidOutofClosing",value:Zl(),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: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:"Gross Proceeds per HUD"}),r.jsx("div",{className:"col-md-4",children:r.jsx("input",{type:"text",className:"form-control",name:"grossproceedsperHUD",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.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Adjustments:"}),c.adjustments.map((C,b)=>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:C.title,onChange:E=>Oh(b,"title",E.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${C.isInvalid?"is-invalid":""}`,value:C.price,onChange:E=>Th(E,b),placeholder:"Price",style:{textAlign:"right"},required:!0}),C.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:()=>Ph(b),style:{marginLeft:"5px"},children:"x"})})]},b)),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 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:es(),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:iu(),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((C,b)=>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:C.title,onChange:E=>Ih(b,"title",E.target.value),placeholder:"Title",required:!0})}),r.jsxs("div",{className:"col-md-4",children:[r.jsx("input",{type:"text",className:`form-control ${C.isInvalid?"is-invalid":""}`,value:C.price,onChange:E=>Dh(E,b),placeholder:"Price",style:{textAlign:"right"},required:!0}),C.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:()=>Ah(b),style:{marginLeft:"5px"},children:"x"})})]},b)),r.jsx("div",{className:"col-md-4",children:r.jsxs("button",{className:"btn btn-primary back",onClick:Rh,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:ts(),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:Lr(),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:Fr(),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:C=>{const b=C.target.value,E=/^\d*\.?\d*$/.test(b);d({...c,fundspriortoclosing:b,isfundspriortoclosingInvalid:!E})},onKeyPress:C=>{const b=C.charCode;(b<48||b>57)&&b!==46&&(C.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:Lr(),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:C=>{const b=C.target.value,E=/^\d*\.?\d*$/.test(b);d({...c,shorttermrental:b,isPurchaseCostInvalid:!E})},onKeyPress:C=>{const b=C.charCode;(b<48||b>57)&&b!==46&&(C.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:C=>{const b=C.target.value,E=/^\d*\.?\d*$/.test(b);d({...c,OtherIncome:b,isPurchaseCostInvalid:!E})},onKeyPress:C=>{const b=C.charCode;(b<48||b>57)&&b!==46&&(C.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:C=>{const b=C.target.value,E=/^\d*\.?\d*$/.test(b);d({...c,InsuranceClaim:b,isPurchaseCostInvalid:!E})},onKeyPress:C=>{const b=C.charCode;(b<48||b>57)&&b!==46&&(C.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:C=>{const b=C.target.value,E=/^\d*\.?\d*$/.test(b);d({...c,LongTermRental:b,isPurchaseCostInvalid:!E})},onKeyPress:C=>{const b=C.charCode;(b<48||b>57)&&b!==46&&(C.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:ns(),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:C=>{const b=C.target.value,E=/^\d*\.?\d*$/.test(b);d({...c,FinancingCostClosingCost:b,isFinancingCostClosingCostInvalid:!E})},onKeyPress:C=>{const b=C.charCode;(b<48||b>57)&&b!==46&&(C.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:rs(),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: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:Mh,children:"Submit"})," "]}),r.jsx("br",{})]})]})]})})},Rt="/assets/propertydummy-DhVEZ7jN.jpg",TN=()=>{var u;const e=kt(),{user:t}=Ze(c=>({...c.auth})),{userProperties:n,totalPages:i}=Ze(c=>c.property),[o,l]=R.useState(1),s=5;R.useEffect(()=>{e(Io({userId:t.result.userId,page:o,limit:s}))},[e,(u=t==null?void 0:t.result)==null?void 0:u.userId,o]);const a=c=>{l(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:Rt,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(he,{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(he,{to:`/property/${c.propertyId}`,target:"_blank",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(he,{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:()=>a(o-1),disabled:o===1,children:"Previous"}),Array.from({length:i},(c,d)=>d+1).map(c=>c===o||c===1||c===i||c>=o-1&&c<=o+1?r.jsx("button",{onClick:()=>a(c),disabled:o===c,children:c},c):c===2||c===i-1?r.jsx("span",{children:"..."},c):null),r.jsx("button",{onClick:()=>a(o+1),disabled:o===i,children:"Next"})]})]}):r.jsx("p",{children:"No active properties found."})})},RN=()=>{var d,f,v,j,g,x,N,m,h,p,y,w;const{user:e,isLoading:t,error:n}=Ze(k=>k.auth),i=kt(),o=Dr(),[l,s]=R.useState({userId:((d=e==null?void 0:e.result)==null?void 0:d.userId)||"",title:((f=e==null?void 0:e.result)==null?void 0:f.title)||"",firstName:((v=e==null?void 0:e.result)==null?void 0:v.firstName)||"",middleName:((j=e==null?void 0:e.result)==null?void 0:j.middleName)||"",lastName:((g=e==null?void 0:e.result)==null?void 0:g.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:((m=e==null?void 0:e.result)==null?void 0:m.city)||"",state:((h=e==null?void 0:e.result)==null?void 0:h.state)||"",county:((p=e==null?void 0:e.result)==null?void 0:p.county)||"",zip:((y=e==null?void 0:e.result)==null?void 0:y.zip)||"",profileImage:((w=e==null?void 0:e.result)==null?void 0:w.profileImage)||""});R.useEffect(()=>{e&&s({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=k=>{s({...l,[k.target.name]:k.target.value})},u=()=>{s({...l,profileImage:""})},c=k=>{k.preventDefault(),i(Oo(l)),o("/login")};return r.jsx(r.Fragment,{children:r.jsxs("form",{onSubmit:c,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:l.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:l.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:l.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:l.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:l.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:l.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:l.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:l.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:l.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:l.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(xh,{type:"file",multiple:!1,onDone:({base64:k})=>s({...l,profileImage:k})})})]}),l.profileImage&&r.jsxs("div",{className:"col-4 mb-3",children:[r.jsx("img",{src:l.profileImage,alt:"Profile Preview",style:{width:"150px",height:"150px",borderRadius:"50%"}}),r.jsx("button",{type:"button",className:"btn btn-danger mt-2",onClick:u,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"})})}),n&&r.jsx("p",{children:n})]})})},AN=()=>{const[e,t]=R.useState("dashboard"),{user:n}=Ze(o=>o.auth),i=()=>{switch(e){case"Userdetails":return r.jsx(RN,{});case"addProperty":return r.jsx(ON,{});case"activeProperties":return r.jsxs("div",{children:[r.jsx("h3",{children:"Active Properties"}),r.jsx(TN,{})]});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(Oe,{}),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||Fo,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(he,{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",{}),i()]})})]}),r.jsx(qe,{})]})};var jh={exports:{}},IN="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",DN=IN,MN=DN;function Nh(){}function Ch(){}Ch.resetWarningCache=Nh;var FN=function(){function e(i,o,l,s,a,u){if(u!==MN){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:Ch,resetWarningCache:Nh};return n.PropTypes=n,n};jh.exports=FN();var LN=jh.exports;const zN=Za(LN),BN=()=>{const[e,t]=R.useState(3),n=Dr();return R.useEffect(()=>{const i=setInterval(()=>{t(o=>--o)},1e3);return e===0&&n("/login"),()=>clearInterval(i)},[e,n]),r.jsx("div",{style:{marginTop:"100px"},children:r.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},Lo=({children:e})=>{const{user:t}=Ze(n=>({...n.auth}));return t?e:r.jsx(BN,{})};Lo.propTypes={children:zN.node.isRequired};const WN=()=>{const e=kt(),{id:t,token:n}=Mr();return R.useEffect(()=>{e(Ro({id:t,token:n}))},[e,t,n]),r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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(he,{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(qe,{})]})},$N=()=>{const[e,t]=R.useState(""),[n,i]=R.useState(""),o="http://67.225.129.127:3002",l=async()=>{try{const s=await fe.post(`${o}/users/forgotpassword`,{email:e});i(s.data.message)}catch(s){console.error("Forgot Password Error:",s),i(s.response.data.message)}};return r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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:s=>t(s.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:l,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(he,{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(qe,{})]})]})},UN=()=>{const{userId:e,token:t}=Mr(),[n,i]=R.useState(""),[o,l]=R.useState(""),[s,a]=R.useState(""),u="http://67.225.129.127:3002",c=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),oe.error("Password not entered");return}const d=await fe.post(`${u}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==o){a("Passwords do not match."),oe.error("Passwords do not match.");return}else a("Password reset successfull"),oe.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return R.useEffect(()=>{oe.dismiss()},[]),r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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=>i(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:o,onChange:d=>l(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:s})]})})})}),r.jsx(qe,{})]})},qN=()=>r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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(qe,{})]}),VN=()=>{const{id:e}=Mr(),t=kt(),{selectedProperty:n,status:i,error:o}=Ze(a=>a.property),[l,s]=R.useState(!0);return R.useEffect(()=>{e&&(t(ci(e)),s(!1))},[e,t]),i==="loading"?r.jsx("p",{children:"Loading property details..."}):i==="failed"?r.jsxs("p",{children:["Error loading property: ",o]}):r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"container col-12",children:l?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.jsx("div",{className:"col-md-5 mt-3",children:r.jsx("div",{className:"bg-white border",children:n.images&&n.images[0]?r.jsx("img",{src:n.images[0].file||Rt,alt:"Property Thumbnail",style:{marginTop:"0px",maxWidth:"500px",maxHeight:"500px"}}):r.jsx("img",{src:Rt,alt:"Default Property Thumbnail",style:{marginTop:"0px",maxWidth:"500px",maxHeight:"500px"}})})}),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.jsx("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",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 details found."})}),r.jsx(qe,{})]})},HN=()=>{const[e,t]=R.useState([]),[n,i]=R.useState(0),[o,l]=R.useState(0),[s]=R.useState(10),[a,u]=R.useState(""),[c,d]=R.useState(!1),[f,v]=R.useState(!1),j=async()=>{d(!0),v(!1);try{const m=await fe.get("http://67.225.129.127:3002/mysql/searchmysql",{params:{limit:s,offset:o*s,search:a},headers:{"Cache-Control":"no-cache"}});t(m.data.data),i(m.data.totalRecords),a.trim()&&v(!0)}catch(m){console.log("Error fetching data:",m)}finally{d(!1)}},g=m=>{u(m.target.value),m.target.value.trim()===""&&(l(0),t([]),i(0),v(!1),j())},x=m=>{m.key==="Enter"&&(m.preventDefault(),j())};R.useEffect(()=>{j()},[a,o]);const N=Math.ceil(n/s);return r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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:a,onChange:g,onKeyDown:x})})})})})})})})})}),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:a})]}),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((m,h)=>r.jsxs("tr",{children:[r.jsx("td",{children:r.jsxs("div",{className:"widget-26-job-title",children:[r.jsx(he,{to:`/properties/${m.house_id}`,className:"link-primary text-decoration-none",target:"_blank",children:m.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"}}),m.city,", ",m.county,",",m.state]}),r.jsxs("p",{className:"text-muted m-0",children:["House Id: ",m.house_id]})]})]})}),r.jsx("td",{children:r.jsx("div",{className:"widget-26-job-info",children:r.jsx("p",{className:"m-0",children:m.total_living_sqft})})}),r.jsx("td",{children:r.jsx("div",{className:"widget-26-job-info",children:r.jsx("p",{className:"m-0",children:m.year_built})})}),r.jsx("td",{children:r.jsxs("div",{className:"widget-26-job-salary",children:["$ ",m.cost_per_sqft,"/sqft"]})})]},h)):r.jsx("tr",{children:r.jsx("td",{colSpan:"4",children:"No results found"})})})]})}),r.jsxs("div",{children:[r.jsx("button",{onClick:()=>l(o-1),disabled:o===0||c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Previous"}),r.jsxs("span",{children:[" ","Page ",o+1," of ",N," "]}),r.jsx("button",{onClick:()=>l(o+1),disabled:o+1>=N||c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Next"})]})]})})})})]}),r.jsx(qe,{})]})},KN=()=>r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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(qe,{})]}),YN=()=>{const{house_id:e}=Mr();console.log("house_id",e);const[t,n]=R.useState(null),[i,o]=R.useState(!0);return R.useEffect(()=>{(async()=>{try{const s=await fe.get(`http://67.225.129.127:3002/mysql/properties/${e}`);n(s.data)}catch(s){console.log("Error fetching property details:",s)}finally{o(!1)}})()},[e]),r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"container col-12",children:i?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:Rt,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(qe,{})]})},GN=()=>{const{id:e}=Mr(),t=kt(),[n,i]=R.useState("propertydetails"),o=()=>{n==="propertydetails"&&i("Images"),n==="Images"&&i("Accounting")},l=()=>{n==="Images"&&i("propertydetails"),n==="Accounting"&&i("Images")},{selectedProperty:s}=Ze(f=>f.property),[a,u]=R.useState({});R.useEffect(()=>{t(ci(e))},[t,e]),R.useEffect(()=>{s&&u({address:s.address,propertyType:s.propertyType,yearBuild:s.yearBuild,totalSqft:s.totalSqft})},[s]);const c=f=>{u({...a,[f.target.name]:f.target.value})},d=f=>{f.preventDefault(),t(Do({id:e,propertyData:a}))};return r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{})," ",r.jsx("br",{}),r.jsx("div",{className:"d-flex justify-content-center align-items-center",children:r.jsxs("div",{className:"card 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:()=>i("propertydetails"),role:"tab",children:"Property Details"})}),r.jsx("li",{role:"presentation",className:n==="Images"?"active tab":"tab",children:r.jsx("a",{onClick:()=>i("Images"),role:"tab",children:"Images, Maps"})}),r.jsx("li",{role:"presentation",className:n==="Accounting"?"active tab":"tab",children:r.jsx("a",{onClick:()=>i("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:a.address,onChange:c,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:a.city,onChange:c,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:a.state,onChange:c,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:a.county,onChange:c,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:a.zip,onChange:c,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:a.parcel,onChange:c,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:a.subdivision,onChange:c,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:a.legal,onChange:c,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:a.costpersqft,onChange:c,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:a.propertyType,onChange:c,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:a.lotacres,onChange:c,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:a.yearBuild,onChange:c,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:a.totallivingsqft,onChange:c,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:a.beds,onChange:c,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:a.baths,onChange:c,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:a.stories,onChange:c,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:a.garage,onChange:c,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:a.garagesqft,onChange:c,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:a.poolspa,onChange:c,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:a.fireplaces,onChange:c,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:a.ac,onChange:c,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:a.heating,onChange:c,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:a.buildingstyle,onChange:c,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:a.sitevacant,onChange:c,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:a.extwall,onChange:c,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:a.roofing,onChange:c,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:a.totalSqft,onChange:c,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"}})]}),r.jsx("button",{className:"btn btn-primary continue",onClick:o,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"}}),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:a.googleMapLink,onChange:c,placeholder:"Enter Google Maps link"})]}),a.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=${a.googleMapLink}&zoom=10`,frameBorder:"0",allowFullScreen:!0})]}),r.jsx("button",{className:"btn btn-primary back",onClick:l,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{className:"btn btn-primary continue",onClick:o,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.jsx("br",{}),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:"}),r.jsx("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("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("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("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Cash Adjustments:"}),r.jsx("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("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("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("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Incidental Cost:"}),r.jsx("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("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("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.jsx("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("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("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("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("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Adjustments:"}),r.jsx("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("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("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("hr",{style:{borderColor:"#fda417",borderWidth:"1px",backgroundColor:"#fda417",height:"1px"}}),r.jsx("span",{style:{color:"#fda417",fontSize:"14px",fontWeight:"bold"},children:"Income Statement Adjustments:"}),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.jsx("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("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 ${a.isfundspriortoclosingInvalid?"is-invalid":""}`,value:a.fundspriortoclosing,name:"fundspriortoclosing",onChange:f=>{const v=f.target.value,j=/^\d*\.?\d*$/.test(v);u({...a,fundspriortoclosing:v,isfundspriortoclosingInvalid:!j})},onKeyPress:f=>{const v=f.charCode;(v<48||v>57)&&v!==46&&(f.preventDefault(),u({...a,isfundspriortoclosingInvalid:!0}))},style:{textAlign:"right"},required:!0}),a.isfundspriortoclosingInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsx("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("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 ${a.isPurchaseCostInvalid?"is-invalid":""}`,value:a.shorttermrental,name:"shorttermrental",onChange:f=>{const v=f.target.value,j=/^\d*\.?\d*$/.test(v);u({...a,shorttermrental:v,isPurchaseCostInvalid:!j})},onKeyPress:f=>{const v=f.charCode;(v<48||v>57)&&v!==46&&(f.preventDefault(),u({...a,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),a.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 ${a.isPurchaseCostInvalid?"is-invalid":""}`,value:a.OtherIncome,name:"OtherIncome",onChange:f=>{const v=f.target.value,j=/^\d*\.?\d*$/.test(v);u({...a,OtherIncome:v,isPurchaseCostInvalid:!j})},onKeyPress:f=>{const v=f.charCode;(v<48||v>57)&&v!==46&&(f.preventDefault(),u({...a,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),a.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 ${a.isPurchaseCostInvalid?"is-invalid":""}`,value:a.InsuranceClaim,name:"InsuranceClaim",onChange:f=>{const v=f.target.value,j=/^\d*\.?\d*$/.test(v);u({...a,InsuranceClaim:v,isPurchaseCostInvalid:!j})},onKeyPress:f=>{const v=f.charCode;(v<48||v>57)&&v!==46&&(f.preventDefault(),u({...a,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),a.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 ${a.isPurchaseCostInvalid?"is-invalid":""}`,value:a.LongTermRental,name:"LongTermRental",onChange:f=>{const v=f.target.value,j=/^\d*\.?\d*$/.test(v);u({...a,LongTermRental:v,isPurchaseCostInvalid:!j})},onKeyPress:f=>{const v=f.charCode;(v<48||v>57)&&v!==46&&(f.preventDefault(),u({...a,isPurchaseCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),a.isPurchaseCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsx("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("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 ${a.isFinancingCostClosingCostInvalid?"is-invalid":""}`,value:a.FinancingCostClosingCost,name:"FinancingCostClosingCost",onChange:f=>{const v=f.target.value,j=/^\d*\.?\d*$/.test(v);u({...a,FinancingCostClosingCost:v,isFinancingCostClosingCostInvalid:!j})},onKeyPress:f=>{const v=f.charCode;(v<48||v>57)&&v!==46&&(f.preventDefault(),u({...a,isFinancingCostClosingCostInvalid:!0}))},style:{textAlign:"right"},required:!0}),a.isFinancingCostClosingCostInvalid&&r.jsx("div",{className:"invalid-feedback",children:"Please enter a valid number."})]})]}),r.jsx("br",{}),r.jsx("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.jsxs("div",{className:"col-md-4",children:[r.jsx("button",{className:"btn btn-primary back",onClick:l,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Go Back"})," ",r.jsx("button",{type:"button",className:"btn btn-primary continue",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:d,children:"Submit"})," "]}),r.jsx("br",{})]})]})]})})]})},QN=()=>{const e=kt(),{properties:t,loading:n,totalPages:i,currentPage:o}=Ze(x=>x.property),[l,s]=R.useState(""),[a,u]=R.useState([]),[c,d]=R.useState(1),f=10;R.useEffect(()=>{e(ui({page:c,limit:f,keyword:l}))},[e,c,l]),R.useEffect(()=>{l.trim()?u(t.filter(x=>x.address.toLowerCase().includes(l.toLowerCase()))):u(t)},[l,t]);const v=x=>{s(x.target.value)},j=x=>{x.preventDefault()},g=x=>{d(x),e(ui({page:x,limit:f,keyword:l}))};return r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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:j,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:l,onChange:v,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:a.length>0?a.map(x=>r.jsxs("tr",{children:[r.jsx("td",{children:x.images&&x.images[0]?r.jsx("img",{src:x.images[0].file||Rt,alt:"Property Thumbnail",style:{width:"100px",height:"auto"}}):r.jsx("img",{src:Rt,alt:"Default Property Thumbnail",style:{width:"100px",height:"auto"}})}),r.jsx("td",{children:r.jsxs("div",{className:"widget-26-job-title",children:[r.jsx(he,{to:`/property/${x.propertyId}`,className:"link-primary text-decoration-none",target:"_blank",children:x.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"}}),x.city,", ",x.county,","," ",x.state]}),r.jsxs("p",{className:"text-muted m-0",children:["House Id: ",x.propertyId]})]})]})}),r.jsx("td",{children:x.totallivingsqft}),r.jsx("td",{children:x.yearBuild}),r.jsx("td",{children:x.costpersqft})]},x.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 ${o===1?"disabled":""}`,children:r.jsx("button",{className:"page-link",onClick:()=>g(o-1),children:"Previous"})}),Array.from({length:i},(x,N)=>r.jsx("li",{className:`page-item ${o===N+1?"active":""}`,children:r.jsx("button",{className:"page-link",onClick:()=>g(N+1),children:N+1})},N+1)),r.jsx("li",{className:`page-item ${o===i?"disabled":""}`,children:r.jsx("button",{className:"page-link",onClick:()=>g(o+1),children:"Next"})})]})})]}),r.jsx(qe,{})]})},JN=()=>{const{userId:e}=Mr(),t=kt(),{user:n,loading:i}=Ze(o=>o.user);return console.log("user",n),R.useEffect(()=>{e&&t(To(e))},[e,t]),i?r.jsx("div",{children:"Loading..."}):r.jsxs(r.Fragment,{children:[r.jsx(Oe,{}),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:Rt,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:Rt,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:Rt,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:Rt,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:Fo,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:Fo,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:Fo,style:{marginTop:"0px",maxWidth:"50px",maxHeight:"50px"}}),"Ravichandu"]})})]})]})})})]})})]})},XN=()=>r.jsxs(Rj,{children:[r.jsx(Qj,{}),r.jsxs(wj,{children:[r.jsx(Ee,{path:"/",element:r.jsx(Xj,{})}),r.jsx(Ee,{path:"/about",element:r.jsx(Zj,{})}),r.jsx(Ee,{path:"/services",element:r.jsx(KN,{})}),r.jsx(Ee,{path:"/contact",element:r.jsx(eN,{})}),r.jsx(Ee,{path:"/register",element:r.jsx(kN,{})}),r.jsx(Ee,{path:"/registrationsuccess",element:r.jsx(Lo,{children:r.jsx(qN,{})})}),r.jsx(Ee,{path:"/login",element:r.jsx(_N,{})}),r.jsx(Ee,{path:"/dashboard",element:r.jsx(Lo,{children:r.jsx(AN,{})})}),r.jsx(Ee,{path:"/users/:id/verify/:token",element:r.jsx(WN,{})}),r.jsx(Ee,{path:"/forgotpassword",element:r.jsx($N,{})}),r.jsx(Ee,{path:"/users/resetpassword/:userId/:token",element:r.jsx(UN,{})}),r.jsx(Ee,{path:"/property/:id",element:r.jsx(VN,{})}),r.jsx(Ee,{path:"/properties/:house_id",element:r.jsx(YN,{})}),r.jsx(Ee,{path:"/searchmyproperties",element:r.jsx(HN,{})}),r.jsx(Ee,{path:"/searchproperties",element:r.jsx(QN,{})}),r.jsx(Ee,{path:"/editproperty/:id",element:r.jsx(Lo,{children:r.jsx(GN,{})})}),r.jsx(Ee,{path:"/profile/:userId",element:r.jsx(JN,{})})]})]});dm(document.getElementById("root")).render(r.jsx(R.StrictMode,{children:r.jsx(Xy,{store:F0,children:r.jsx(XN,{})})}));
|