From 3231e5021b198c98c4007fa1934f55a6b5fca496 Mon Sep 17 00:00:00 2001 From: omkieit Date: Mon, 9 Sep 2024 22:08:14 +0530 Subject: [PATCH] done --- ef-api/controllers/user.js | 3 +++ ef-api/models/user.js | 1 + .../{index-dKDP2exv.js => index-DAjohXmt.js} | 14 +++++++------- ef-ui/dist/index.html | 2 +- ef-ui/src/components/ForgotPassword.jsx | 16 ++++++++-------- 5 files changed, 20 insertions(+), 16 deletions(-) rename ef-ui/dist/assets/{index-dKDP2exv.js => index-DAjohXmt.js} (96%) diff --git a/ef-api/controllers/user.js b/ef-api/controllers/user.js index feb6290..215ecc7 100644 --- a/ef-api/controllers/user.js +++ b/ef-api/controllers/user.js @@ -20,6 +20,8 @@ export const signup = async (req, res) => { // Hash the password const hashedPassword = await bcrypt.hash(password, 12); + const randomNumber = generateRandomNumber().toString(); + const userId = `EF${randomNumber}`; // Create new user const result = await UserModal.create({ @@ -31,6 +33,7 @@ export const signup = async (req, res) => { lastName, termsconditions, userType, + userId:userId, }); // Generate JWT (if needed) diff --git a/ef-api/models/user.js b/ef-api/models/user.js index 088b46d..dfc9385 100644 --- a/ef-api/models/user.js +++ b/ef-api/models/user.js @@ -13,6 +13,7 @@ const userSchema = new mongoose.Schema({ id: { type: String }, resetToken: { type: String }, resetTokenExpiration: { type: String }, + userId:{type:String}, tokens:[ { token:{ diff --git a/ef-ui/dist/assets/index-dKDP2exv.js b/ef-ui/dist/assets/index-DAjohXmt.js similarity index 96% rename from ef-ui/dist/assets/index-dKDP2exv.js rename to ef-ui/dist/assets/index-DAjohXmt.js index e99e766..f99538a 100644 --- a/ef-ui/dist/assets/index-dKDP2exv.js +++ b/ef-ui/dist/assets/index-DAjohXmt.js @@ -14,7 +14,7 @@ var Op=Object.defineProperty;var Pp=(e,t,n)=>t in e?Op(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Qp=O,Kp=Symbol.for("react.element"),qp=Symbol.for("react.fragment"),Jp=Object.prototype.hasOwnProperty,Gp=Qp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Xp={key:!0,ref:!0,__self:!0,__source:!0};function md(e,t,n){var r,i={},l=null,s=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Jp.call(t,r)&&!Xp.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Kp,type:e,key:l,ref:s,props:i,_owner:Gp.current}}Ml.Fragment=qp;Ml.jsx=md;Ml.jsxs=md;rd.exports=Ml;var o=rd.exports,pd={exports:{}},Me={},hd={exports:{}},vd={};/** + */var Qp=O,Kp=Symbol.for("react.element"),qp=Symbol.for("react.fragment"),Jp=Object.prototype.hasOwnProperty,Gp=Qp.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Xp={key:!0,ref:!0,__self:!0,__source:!0};function md(e,t,n){var r,i={},l=null,s=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Jp.call(t,r)&&!Xp.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Kp,type:e,key:l,ref:s,props:i,_owner:Gp.current}}Ml.Fragment=qp;Ml.jsx=md;Ml.jsxs=md;rd.exports=Ml;var o=rd.exports,pd={exports:{}},Fe={},hd={exports:{}},vd={};/** * @license React * scheduler.production.min.js * @@ -30,14 +30,14 @@ var Op=Object.defineProperty;var Pp=(e,t,n)=>t in e?Op(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Zp=O,Te=Yp;function _(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ys=Object.prototype.hasOwnProperty,eh=/^[: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]*$/,vu={},yu={};function th(e){return Ys.call(yu,e)?!0:Ys.call(vu,e)?!1:eh.test(e)?yu[e]=!0:(vu[e]=!0,!1)}function nh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rh(e,t,n,r){if(t===null||typeof t>"u"||nh(e,t,n,r))return!0;if(r)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 ye(e,t,n,r,i,l,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=s}var ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ae[e]=new ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ae[t]=new ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ae[e]=new ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ae[e]=new ye(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){ae[e]=new ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ae[e]=new ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ae[e]=new ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ae[e]=new ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ae[e]=new ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var fa=/[\-:]([a-z])/g;function ma(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(fa,ma);ae[t]=new ye(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(fa,ma);ae[t]=new ye(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(fa,ma);ae[t]=new ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!1,!1)});ae.xlinkHref=new ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function pa(e,t,n,r){var i=ae.hasOwnProperty(t)?ae[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ys=Object.prototype.hasOwnProperty,eh=/^[: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]*$/,vu={},yu={};function th(e){return Ys.call(yu,e)?!0:Ys.call(vu,e)?!1:eh.test(e)?yu[e]=!0:(vu[e]=!0,!1)}function nh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function rh(e,t,n,r){if(t===null||typeof t>"u"||nh(e,t,n,r))return!0;if(r)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 ye(e,t,n,r,i,l,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=s}var ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ae[e]=new ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ae[t]=new ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ae[e]=new ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ae[e]=new ye(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){ae[e]=new ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ae[e]=new ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ae[e]=new ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ae[e]=new ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ae[e]=new ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var fa=/[\-:]([a-z])/g;function ma(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(fa,ma);ae[t]=new ye(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(fa,ma);ae[t]=new ye(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(fa,ma);ae[t]=new ye(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!1,!1)});ae.xlinkHref=new ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ae[e]=new ye(e,1,!1,e.toLowerCase(),null,!0,!0)});function pa(e,t,n,r){var i=ae.hasOwnProperty(t)?ae[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==l[a]){var u=` -`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{vs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vr(e):""}function ih(e){switch(e.tag){case 5:return vr(e.type);case 16:return vr("Lazy");case 13:return vr("Suspense");case 19:return vr("SuspenseList");case 0:case 2:case 15:return e=ys(e.type,!1),e;case 11:return e=ys(e.type.render,!1),e;case 1:return e=ys(e.type,!0),e;default:return""}}function no(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 jn:return"Fragment";case Nn:return"Portal";case Zs:return"Profiler";case ha:return"StrictMode";case eo:return"Suspense";case to:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xd:return(e.displayName||"Context")+".Consumer";case gd:return(e._context.displayName||"Context")+".Provider";case va:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ya:return t=e.displayName||null,t!==null?t:no(e.type)||"Memo";case St:t=e._payload,e=e._init;try{return no(e(t))}catch{}}return null}function lh(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 no(t);case 8:return t===ha?"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 $t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Nd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sh(e){var t=Nd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,l.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gi(e){e._valueTracker||(e._valueTracker=sh(e))}function jd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Nd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yi(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 ro(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$t(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Sd(e,t){t=t.checked,t!=null&&pa(e,"checked",t,!1)}function io(e,t){Sd(e,t);var n=$t(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?lo(e,t.type,n):t.hasOwnProperty("defaultValue")&&lo(e,t.type,$t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="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 lo(e,t,n){(t!=="number"||Yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var yr=Array.isArray;function Dn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=xi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nr={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},oh=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){oh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function Cd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nr.hasOwnProperty(e)&&Nr[e]?(""+t).trim():t+"px"}function Od(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Cd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ah=K({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 ao(e,t){if(t){if(ah[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function uo(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 co=null;function ga(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fo=null,In=null,Un=null;function Su(e){if(e=ii(e)){if(typeof fo!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Il(t),fo(e.stateNode,e.type,t))}}function Pd(e){In?Un?Un.push(e):Un=[e]:In=e}function Rd(){if(In){var e=In,t=Un;if(Un=In=null,Su(e),t)for(e=0;e>>=0,e===0?32:31-(xh(e)/wh|0)|0}var wi=64,Ni=4194304;function gr(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 nl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=gr(a):(l&=s,l!==0&&(r=gr(l)))}else s=n&~i,s!==0?r=gr(s):l!==0&&(r=gr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ni(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qe(t),e[t]=n}function Eh(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 r=e.eventTimes;for(e=e.expirationTimes;0=Sr),Lu=" ",bu=!1;function Gd(e,t){switch(e){case"keyup":return Yh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Sn=!1;function ev(e,t){switch(e){case"compositionend":return Xd(t);case"keypress":return t.which!==32?null:(bu=!0,Lu);case"textInput":return e=t.data,e===Lu&&bu?null:e;default:return null}}function tv(e,t){if(Sn)return e==="compositionend"||!_a&&Gd(e,t)?(e=qd(),Di=Sa=Rt=null,Sn=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Au(n)}}function tf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nf(){for(var e=window,t=Yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function Ca(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 cv(e){var t=nf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tf(n.ownerDocument.documentElement,n)){if(r!==null&&Ca(n)){if(t=r.start,e=r.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 i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Du(n,l);var s=Du(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(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=document.documentMode,En=null,go=null,kr=null,xo=!1;function Iu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xo||En==null||En!==Yi(r)||(r=En,"selectionStart"in r&&Ca(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),kr&&Ur(kr,r)||(kr=r,r=ll(go,"onSelect"),0Cn||(e.current=ko[Cn],ko[Cn]=null,Cn--)}function B(e,t){Cn++,ko[Cn]=e.current,e.current=t}var Wt={},fe=Qt(Wt),Ne=Qt(!1),cn=Wt;function Vn(e,t){var n=e.type.contextTypes;if(!n)return Wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function je(e){return e=e.childContextTypes,e!=null}function ol(){W(Ne),W(fe)}function Qu(e,t,n){if(fe.current!==Wt)throw Error(_(168));B(fe,t),B(Ne,n)}function ff(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(_(108,lh(e)||"Unknown",i));return K({},n,r)}function al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wt,cn=fe.current,B(fe,e),B(Ne,Ne.current),!0}function Ku(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=ff(e,t,cn),r.__reactInternalMemoizedMergedChildContext=e,W(Ne),W(fe),B(fe,e)):W(Ne),B(Ne,n)}var ut=null,Ul=!1,Ts=!1;function mf(e){ut===null?ut=[e]:ut.push(e)}function jv(e){Ul=!0,mf(e)}function Kt(){if(!Ts&&ut!==null){Ts=!0;var e=0,t=U;try{var n=ut;for(U=1;e>=s,i-=s,ct=1<<32-qe(t)+i|n<C?(z=P,P=null):z=P.sibling;var L=v(h,P,p[C],x);if(L===null){P===null&&(P=z);break}e&&P&&L.alternate===null&&t(h,P),m=l(L,m,C),k===null?E=L:k.sibling=L,k=L,P=z}if(C===p.length)return n(h,P),H&&Yt(h,C),E;if(P===null){for(;CC?(z=P,P=null):z=P.sibling;var me=v(h,P,L.value,x);if(me===null){P===null&&(P=z);break}e&&P&&me.alternate===null&&t(h,P),m=l(me,m,C),k===null?E=me:k.sibling=me,k=me,P=z}if(L.done)return n(h,P),H&&Yt(h,C),E;if(P===null){for(;!L.done;C++,L=p.next())L=f(h,L.value,x),L!==null&&(m=l(L,m,C),k===null?E=L:k.sibling=L,k=L);return H&&Yt(h,C),E}for(P=r(h,P);!L.done;C++,L=p.next())L=g(P,h,C,L.value,x),L!==null&&(e&&L.alternate!==null&&P.delete(L.key===null?C:L.key),m=l(L,m,C),k===null?E=L:k.sibling=L,k=L);return e&&P.forEach(function(lr){return t(h,lr)}),H&&Yt(h,C),E}function N(h,m,p,x){if(typeof p=="object"&&p!==null&&p.type===jn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case yi:e:{for(var E=p.key,k=m;k!==null;){if(k.key===E){if(E=p.type,E===jn){if(k.tag===7){n(h,k.sibling),m=i(k,p.props.children),m.return=h,h=m;break e}}else if(k.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===St&&Gu(E)===k.type){n(h,k.sibling),m=i(k,p.props),m.ref=fr(h,k,p),m.return=h,h=m;break e}n(h,k);break}else t(h,k);k=k.sibling}p.type===jn?(m=an(p.props.children,h.mode,x,p.key),m.return=h,h=m):(x=Qi(p.type,p.key,p.props,null,h.mode,x),x.ref=fr(h,m,p),x.return=h,h=x)}return s(h);case Nn:e:{for(k=p.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===p.containerInfo&&m.stateNode.implementation===p.implementation){n(h,m.sibling),m=i(m,p.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Is(p,h.mode,x),m.return=h,h=m}return s(h);case St:return k=p._init,N(h,m,k(p._payload),x)}if(yr(p))return y(h,m,p,x);if(or(p))return w(h,m,p,x);Oi(h,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,p),m.return=h,h=m):(n(h,m),m=Ds(p,h.mode,x),m.return=h,h=m),s(h)):n(h,m)}return N}var Kn=yf(!0),gf=yf(!1),dl=Qt(null),fl=null,Rn=null,Ta=null;function La(){Ta=Rn=fl=null}function ba(e){var t=dl.current;W(dl),e._currentValue=t}function Oo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function $n(e,t){fl=e,Ta=Rn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(we=!0),e.firstContext=null)}function Be(e){var t=e._currentValue;if(Ta!==e)if(e={context:e,memoizedValue:t,next:null},Rn===null){if(fl===null)throw Error(_(308));Rn=e,fl.dependencies={lanes:0,firstContext:e}}else Rn=Rn.next=e;return t}var rn=null;function Ma(e){rn===null?rn=[e]:rn.push(e)}function xf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ma(t)):(n.next=i.next,i.next=n),t.interleaved=n,ht(e,r)}function ht(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 Et=!1;function Fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function wf(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 ft(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function At(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ht(e,n)}return i=r.interleaved,i===null?(t.next=t,Ma(r)):(t.next=i.next,i.next=t),r.interleaved=t,ht(e,n)}function Ui(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wa(e,n)}}function Xu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=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?i=l=s:l=l.next=s,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ml(e,t,n,r){var i=e.updateQueue;Et=!1;var l=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.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=i.baseState;s=0,d=c=u=null,a=l;do{var v=a.lane,g=a.eventTime;if((r&v)===v){d!==null&&(d=d.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,w=a;switch(v=t,g=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){f=y.call(g,f,v);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,v=typeof y=="function"?y.call(g,f,v):y,v==null)break e;f=K({},f,v);break e;case 2:Et=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,v=i.effects,v===null?i.effects=[a]:v.push(a))}else g={eventTime:g,lane:v,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=g,u=f):d=d.next=g,s|=v;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;v=a,a=v.next,v.next=null,i.lastBaseUpdate=v,i.shared.pending=null}}while(!0);if(d===null&&(u=f),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);mn|=s,e.lanes=s,e.memoizedState=f}}function Yu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=bs.transition;bs.transition={};try{e(!1),t()}finally{U=n,bs.transition=r}}function Af(){return $e().memoizedState}function _v(e,t,n){var r=It(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Df(e))If(t,n);else if(n=xf(e,t,n,r),n!==null){var i=he();Je(n,e,r,i),Uf(n,t,r)}}function Cv(e,t,n){var r=It(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Df(e))If(t,i);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(i.hasEagerState=!0,i.eagerState=a,Xe(a,s)){var u=t.interleaved;u===null?(i.next=i,Ma(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=xf(e,t,i,r),n!==null&&(i=he(),Je(n,e,r,i),Uf(n,t,r))}}function Df(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function If(e,t){_r=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Uf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wa(e,n)}}var vl={readContext:Be,useCallback:ue,useContext:ue,useEffect:ue,useImperativeHandle:ue,useInsertionEffect:ue,useLayoutEffect:ue,useMemo:ue,useReducer:ue,useRef:ue,useState:ue,useDebugValue:ue,useDeferredValue:ue,useTransition:ue,useMutableSource:ue,useSyncExternalStore:ue,useId:ue,unstable_isNewReconciler:!1},Ov={readContext:Be,useCallback:function(e,t){return tt().memoizedState=[e,t===void 0?null:t],e},useContext:Be,useEffect:ec,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$i(4194308,4,Lf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=tt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=_v.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=tt();return e={current:e},t.memoizedState=e},useState:Zu,useDebugValue:Wa,useDeferredValue:function(e){return tt().memoizedState=e},useTransition:function(){var e=Zu(!1),t=e[0];return e=kv.bind(null,e[1]),tt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=tt();if(H){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),ie===null)throw Error(_(349));fn&30||Ef(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,ec(_f.bind(null,r,l,e),[e]),r.flags|=2048,qr(9,kf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=tt(),t=ie.identifierPrefix;if(H){var n=dt,r=ct;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qr++,0")&&(u=u.replace("",e.displayName)),u}while(1<=s&&0<=a);break}}}finally{vs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?vr(e):""}function ih(e){switch(e.tag){case 5:return vr(e.type);case 16:return vr("Lazy");case 13:return vr("Suspense");case 19:return vr("SuspenseList");case 0:case 2:case 15:return e=ys(e.type,!1),e;case 11:return e=ys(e.type.render,!1),e;case 1:return e=ys(e.type,!0),e;default:return""}}function no(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 jn:return"Fragment";case Nn:return"Portal";case Zs:return"Profiler";case ha:return"StrictMode";case eo:return"Suspense";case to:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xd:return(e.displayName||"Context")+".Consumer";case gd:return(e._context.displayName||"Context")+".Provider";case va:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ya:return t=e.displayName||null,t!==null?t:no(e.type)||"Memo";case St:t=e._payload,e=e._init;try{return no(e(t))}catch{}}return null}function lh(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 no(t);case 8:return t===ha?"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 $t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Nd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function sh(e){var t=Nd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,l.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gi(e){e._valueTracker||(e._valueTracker=sh(e))}function jd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Nd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Yi(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 ro(e,t){var n=t.checked;return K({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$t(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Sd(e,t){t=t.checked,t!=null&&pa(e,"checked",t,!1)}function io(e,t){Sd(e,t);var n=$t(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?lo(e,t.type,n):t.hasOwnProperty("defaultValue")&&lo(e,t.type,$t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="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 lo(e,t,n){(t!=="number"||Yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var yr=Array.isArray;function Dn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=xi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Nr={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},oh=["Webkit","ms","Moz","O"];Object.keys(Nr).forEach(function(e){oh.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nr[t]=Nr[e]})});function Cd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Nr.hasOwnProperty(e)&&Nr[e]?(""+t).trim():t+"px"}function Od(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Cd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var ah=K({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 ao(e,t){if(t){if(ah[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function uo(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 co=null;function ga(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fo=null,In=null,Un=null;function Su(e){if(e=ii(e)){if(typeof fo!="function")throw Error(_(280));var t=e.stateNode;t&&(t=Il(t),fo(e.stateNode,e.type,t))}}function Pd(e){In?Un?Un.push(e):Un=[e]:In=e}function Rd(){if(In){var e=In,t=Un;if(Un=In=null,Su(e),t)for(e=0;e>>=0,e===0?32:31-(xh(e)/wh|0)|0}var wi=64,Ni=4194304;function gr(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 nl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,l=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=gr(a):(l&=s,l!==0&&(r=gr(l)))}else s=n&~i,s!==0?r=gr(s):l!==0&&(r=gr(l));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,l=t&-t,i>=l||i===16&&(l&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ni(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qe(t),e[t]=n}function Eh(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 r=e.eventTimes;for(e=e.expirationTimes;0=Sr),Lu=" ",bu=!1;function Gd(e,t){switch(e){case"keyup":return Yh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Sn=!1;function ev(e,t){switch(e){case"compositionend":return Xd(t);case"keypress":return t.which!==32?null:(bu=!0,Lu);case"textInput":return e=t.data,e===Lu&&bu?null:e;default:return null}}function tv(e,t){if(Sn)return e==="compositionend"||!_a&&Gd(e,t)?(e=qd(),Di=Sa=Rt=null,Sn=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Au(n)}}function tf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function nf(){for(var e=window,t=Yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Yi(e.document)}return t}function Ca(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 cv(e){var t=nf(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tf(n.ownerDocument.documentElement,n)){if(r!==null&&Ca(n)){if(t=r.start,e=r.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 i=n.textContent.length,l=Math.min(r.start,i);r=r.end===void 0?l:Math.min(r.end,i),!e.extend&&l>r&&(i=r,r=l,l=i),i=Du(n,l);var s=Du(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),l>r?(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=document.documentMode,En=null,go=null,kr=null,xo=!1;function Iu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xo||En==null||En!==Yi(r)||(r=En,"selectionStart"in r&&Ca(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),kr&&Ur(kr,r)||(kr=r,r=ll(go,"onSelect"),0Cn||(e.current=ko[Cn],ko[Cn]=null,Cn--)}function B(e,t){Cn++,ko[Cn]=e.current,e.current=t}var Wt={},fe=Qt(Wt),Ne=Qt(!1),cn=Wt;function Vn(e,t){var n=e.type.contextTypes;if(!n)return Wt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function je(e){return e=e.childContextTypes,e!=null}function ol(){W(Ne),W(fe)}function Qu(e,t,n){if(fe.current!==Wt)throw Error(_(168));B(fe,t),B(Ne,n)}function ff(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(_(108,lh(e)||"Unknown",i));return K({},n,r)}function al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Wt,cn=fe.current,B(fe,e),B(Ne,Ne.current),!0}function Ku(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=ff(e,t,cn),r.__reactInternalMemoizedMergedChildContext=e,W(Ne),W(fe),B(fe,e)):W(Ne),B(Ne,n)}var ut=null,Ul=!1,Ts=!1;function mf(e){ut===null?ut=[e]:ut.push(e)}function jv(e){Ul=!0,mf(e)}function Kt(){if(!Ts&&ut!==null){Ts=!0;var e=0,t=U;try{var n=ut;for(U=1;e>=s,i-=s,ct=1<<32-qe(t)+i|n<C?(z=P,P=null):z=P.sibling;var L=v(h,P,p[C],x);if(L===null){P===null&&(P=z);break}e&&P&&L.alternate===null&&t(h,P),m=l(L,m,C),k===null?E=L:k.sibling=L,k=L,P=z}if(C===p.length)return n(h,P),H&&Yt(h,C),E;if(P===null){for(;CC?(z=P,P=null):z=P.sibling;var me=v(h,P,L.value,x);if(me===null){P===null&&(P=z);break}e&&P&&me.alternate===null&&t(h,P),m=l(me,m,C),k===null?E=me:k.sibling=me,k=me,P=z}if(L.done)return n(h,P),H&&Yt(h,C),E;if(P===null){for(;!L.done;C++,L=p.next())L=f(h,L.value,x),L!==null&&(m=l(L,m,C),k===null?E=L:k.sibling=L,k=L);return H&&Yt(h,C),E}for(P=r(h,P);!L.done;C++,L=p.next())L=g(P,h,C,L.value,x),L!==null&&(e&&L.alternate!==null&&P.delete(L.key===null?C:L.key),m=l(L,m,C),k===null?E=L:k.sibling=L,k=L);return e&&P.forEach(function(lr){return t(h,lr)}),H&&Yt(h,C),E}function N(h,m,p,x){if(typeof p=="object"&&p!==null&&p.type===jn&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case yi:e:{for(var E=p.key,k=m;k!==null;){if(k.key===E){if(E=p.type,E===jn){if(k.tag===7){n(h,k.sibling),m=i(k,p.props.children),m.return=h,h=m;break e}}else if(k.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===St&&Gu(E)===k.type){n(h,k.sibling),m=i(k,p.props),m.ref=fr(h,k,p),m.return=h,h=m;break e}n(h,k);break}else t(h,k);k=k.sibling}p.type===jn?(m=an(p.props.children,h.mode,x,p.key),m.return=h,h=m):(x=Qi(p.type,p.key,p.props,null,h.mode,x),x.ref=fr(h,m,p),x.return=h,h=x)}return s(h);case Nn:e:{for(k=p.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===p.containerInfo&&m.stateNode.implementation===p.implementation){n(h,m.sibling),m=i(m,p.children||[]),m.return=h,h=m;break e}else{n(h,m);break}else t(h,m);m=m.sibling}m=Is(p,h.mode,x),m.return=h,h=m}return s(h);case St:return k=p._init,N(h,m,k(p._payload),x)}if(yr(p))return y(h,m,p,x);if(or(p))return w(h,m,p,x);Oi(h,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,m!==null&&m.tag===6?(n(h,m.sibling),m=i(m,p),m.return=h,h=m):(n(h,m),m=Ds(p,h.mode,x),m.return=h,h=m),s(h)):n(h,m)}return N}var Kn=yf(!0),gf=yf(!1),dl=Qt(null),fl=null,Rn=null,Ta=null;function La(){Ta=Rn=fl=null}function ba(e){var t=dl.current;W(dl),e._currentValue=t}function Oo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function $n(e,t){fl=e,Ta=Rn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(we=!0),e.firstContext=null)}function Be(e){var t=e._currentValue;if(Ta!==e)if(e={context:e,memoizedValue:t,next:null},Rn===null){if(fl===null)throw Error(_(308));Rn=e,fl.dependencies={lanes:0,firstContext:e}}else Rn=Rn.next=e;return t}var rn=null;function Ma(e){rn===null?rn=[e]:rn.push(e)}function xf(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ma(t)):(n.next=i.next,i.next=n),t.interleaved=n,ht(e,r)}function ht(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 Et=!1;function Fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function wf(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 ft(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function At(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,ht(e,n)}return i=r.interleaved,i===null?(t.next=t,Ma(r)):(t.next=i.next,i.next=t),r.interleaved=t,ht(e,n)}function Ui(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wa(e,n)}}function Xu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=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?i=l=s:l=l.next=s,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ml(e,t,n,r){var i=e.updateQueue;Et=!1;var l=i.firstBaseUpdate,s=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.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=i.baseState;s=0,d=c=u=null,a=l;do{var v=a.lane,g=a.eventTime;if((r&v)===v){d!==null&&(d=d.next={eventTime:g,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var y=e,w=a;switch(v=t,g=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){f=y.call(g,f,v);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,v=typeof y=="function"?y.call(g,f,v):y,v==null)break e;f=K({},f,v);break e;case 2:Et=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,v=i.effects,v===null?i.effects=[a]:v.push(a))}else g={eventTime:g,lane:v,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(c=d=g,u=f):d=d.next=g,s|=v;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;v=a,a=v.next,v.next=null,i.lastBaseUpdate=v,i.shared.pending=null}}while(!0);if(d===null&&(u=f),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=d,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else l===null&&(i.shared.lanes=0);mn|=s,e.lanes=s,e.memoizedState=f}}function Yu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=bs.transition;bs.transition={};try{e(!1),t()}finally{U=n,bs.transition=r}}function Af(){return $e().memoizedState}function _v(e,t,n){var r=It(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Df(e))If(t,n);else if(n=xf(e,t,n,r),n!==null){var i=he();Je(n,e,r,i),Uf(n,t,r)}}function Cv(e,t,n){var r=It(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Df(e))If(t,i);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(i.hasEagerState=!0,i.eagerState=a,Xe(a,s)){var u=t.interleaved;u===null?(i.next=i,Ma(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=xf(e,t,i,r),n!==null&&(i=he(),Je(n,e,r,i),Uf(n,t,r))}}function Df(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function If(e,t){_r=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Uf(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,wa(e,n)}}var vl={readContext:Be,useCallback:ue,useContext:ue,useEffect:ue,useImperativeHandle:ue,useInsertionEffect:ue,useLayoutEffect:ue,useMemo:ue,useReducer:ue,useRef:ue,useState:ue,useDebugValue:ue,useDeferredValue:ue,useTransition:ue,useMutableSource:ue,useSyncExternalStore:ue,useId:ue,unstable_isNewReconciler:!1},Ov={readContext:Be,useCallback:function(e,t){return tt().memoizedState=[e,t===void 0?null:t],e},useContext:Be,useEffect:ec,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,$i(4194308,4,Lf.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $i(4194308,4,e,t)},useInsertionEffect:function(e,t){return $i(4,2,e,t)},useMemo:function(e,t){var n=tt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=_v.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=tt();return e={current:e},t.memoizedState=e},useState:Zu,useDebugValue:Wa,useDeferredValue:function(e){return tt().memoizedState=e},useTransition:function(){var e=Zu(!1),t=e[0];return e=kv.bind(null,e[1]),tt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,i=tt();if(H){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),ie===null)throw Error(_(349));fn&30||Ef(r,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,ec(_f.bind(null,r,l,e),[e]),r.flags|=2048,qr(9,kf.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=tt(),t=ie.identifierPrefix;if(H){var n=dt,r=ct;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[rt]=t,e[Wr]=r,Gf(e,t,!1,!1),t.stateNode=e;e:{switch(s=uo(n,r),n){case"dialog":$("cancel",e),$("close",e),i=r;break;case"iframe":case"object":case"embed":$("load",e),i=r;break;case"video":case"audio":for(i=0;iGn&&(t.flags|=128,r=!0,mr(l,!1),t.lanes=4194304)}else{if(!r)if(e=pl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),mr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!H)return ce(t),null}else 2*Y()-l.renderingStartTime>Gn&&n!==1073741824&&(t.flags|=128,r=!0,mr(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=Y(),t.sibling=null,n=V.current,B(V,r?n&1|2:n&1),t):(ce(t),null);case 22:case 23:return Ja(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_e&1073741824&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function zv(e,t){switch(Pa(t),t.tag){case 1:return je(t.type)&&ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qn(),W(Ne),W(fe),Da(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Aa(t),null;case 13:if(W(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Qn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(V),null;case 4:return qn(),null;case 10:return ba(t.type._context),null;case 22:case 23:return Ja(),null;case 24:return null;default:return null}}var Ri=!1,de=!1,Av=typeof WeakSet=="function"?WeakSet:Set,R=null;function Tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function Ao(e,t,n){try{n()}catch(r){q(e,t,r)}}var dc=!1;function Dv(e,t){if(wo=rl,e=nf(),Ca(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.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 g;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==l||r!==0&&f.nodeType!==3||(u=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)v=f,f=g;for(;;){if(f===e)break t;if(v===n&&++c===i&&(a=s),v===l&&++d===r&&(u=s),(g=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=g}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(No={focusedElem:e,selectionRange:n},rl=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,N=y.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:He(t.type,w),N);h.__reactInternalSnapshotBeforeUpdate=m}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(_(163))}}catch(x){q(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=dc,dc=!1,y}function Cr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Ao(t,n,l)}i=i.next}while(i!==r)}}function Wl(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 r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Do(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 Zf(e){var t=e.alternate;t!==null&&(e.alternate=null,Zf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Wr],delete t[Eo],delete t[wv],delete t[Nv])),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 em(e){return e.tag===5||e.tag===3||e.tag===4}function fc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||em(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 Io(e,t,n){var r=e.tag;if(r===5||r===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=sl));else if(r!==4&&(e=e.child,e!==null))for(Io(e,t,n),e=e.sibling;e!==null;)Io(e,t,n),e=e.sibling}function Uo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Uo(e,t,n),e=e.sibling;e!==null;)Uo(e,t,n),e=e.sibling}var se=null,Ve=!1;function Nt(e,t,n){for(n=n.child;n!==null;)tm(e,t,n),n=n.sibling}function tm(e,t,n){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:de||Tn(n,t);case 6:var r=se,i=Ve;se=null,Nt(e,t,n),se=r,Ve=i,se!==null&&(Ve?(e=se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):se.removeChild(n.stateNode));break;case 18:se!==null&&(Ve?(e=se,n=n.stateNode,e.nodeType===8?Rs(e.parentNode,n):e.nodeType===1&&Rs(e,n),Dr(e)):Rs(se,n.stateNode));break;case 4:r=se,i=Ve,se=n.stateNode.containerInfo,Ve=!0,Nt(e,t,n),se=r,Ve=i;break;case 0:case 11:case 14:case 15:if(!de&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,s=l.destroy;l=l.tag,s!==void 0&&(l&2||l&4)&&Ao(n,t,s),i=i.next}while(i!==r)}Nt(e,t,n);break;case 1:if(!de&&(Tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){q(n,t,a)}Nt(e,t,n);break;case 21:Nt(e,t,n);break;case 22:n.mode&1?(de=(r=de)||n.memoizedState!==null,Nt(e,t,n),de=r):Nt(e,t,n);break;default:Nt(e,t,n)}}function mc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Av),t.forEach(function(r){var i=Kv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function We(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~l}if(r=i,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Uv(r/1960))-r,10e?16:e,Tt===null)var r=!1;else{if(e=Tt,Tt=null,xl=0,I&6)throw Error(_(331));var i=I;for(I|=4,R=e.current;R!==null;){var l=R,s=l.child;if(R.flags&16){var a=l.deletions;if(a!==null){for(var u=0;uY()-Ka?on(e,0):Qa|=n),Se(e,t)}function um(e,t){t===0&&(e.mode&1?(t=Ni,Ni<<=1,!(Ni&130023424)&&(Ni=4194304)):t=1);var n=he();e=ht(e,t),e!==null&&(ni(e,t,n),Se(e,n))}function Qv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),um(e,n)}function Kv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),um(e,n)}var cm;cm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,Mv(e,t,n);we=!!(e.flags&131072)}else we=!1,H&&t.flags&1048576&&pf(t,cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wi(e,t),e=t.pendingProps;var i=Vn(t,fe.current);$n(t,n),i=Ua(null,t,r,e,i,n);var l=Ba();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(r)?(l=!0,al(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fa(t),i.updater=$l,t.stateNode=i,i._reactInternals=t,Ro(t,r,e,n),t=bo(null,t,r,!0,l,n)):(t.tag=0,H&&l&&Oa(t),pe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Jv(r),e=He(r,e),i){case 0:t=Lo(null,t,r,e,n);break e;case 1:t=ac(null,t,r,e,n);break e;case 11:t=sc(null,t,r,e,n);break e;case 14:t=oc(null,t,r,He(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),Lo(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),ac(e,t,r,i,n);case 3:e:{if(Kf(t),e===null)throw Error(_(387));r=t.pendingProps,l=t.memoizedState,i=l.element,wf(e,t),ml(t,r,null,n);var s=t.memoizedState;if(r=s.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=Jn(Error(_(423)),t),t=uc(e,t,r,n,i);break e}else if(r!==i){i=Jn(Error(_(424)),t),t=uc(e,t,r,n,i);break e}else for(Ce=zt(t.stateNode.containerInfo.firstChild),Pe=t,H=!0,Qe=null,n=gf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Qn(),r===i){t=vt(e,t,n);break e}pe(e,t,r,n)}t=t.child}return t;case 5:return Nf(t),e===null&&Co(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,s=i.children,jo(r,i)?s=null:l!==null&&jo(r,l)&&(t.flags|=32),Qf(e,t),pe(e,t,s,n),t.child;case 6:return e===null&&Co(t),null;case 13:return qf(e,t,n);case 4:return za(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Kn(t,null,r,n):pe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),sc(e,t,r,i,n);case 7:return pe(e,t,t.pendingProps,n),t.child;case 8:return pe(e,t,t.pendingProps.children,n),t.child;case 12:return pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,s=i.value,B(dl,r._currentValue),r._currentValue=s,l!==null)if(Xe(l.value,s)){if(l.children===i.children&&!Ne.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===r){if(l.tag===1){u=ft(-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),Oo(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(_(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Oo(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}pe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,$n(t,n),i=Be(i),r=r(i),t.flags|=1,pe(e,t,r,n),t.child;case 14:return r=t.type,i=He(r,t.pendingProps),i=He(r.type,i),oc(e,t,r,i,n);case 15:return Hf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),Wi(e,t),t.tag=1,je(r)?(e=!0,al(t)):e=!1,$n(t,n),Bf(t,r,i),Ro(t,r,i,n),bo(null,t,r,!0,e,n);case 19:return Jf(e,t,n);case 22:return Vf(e,t,n)}throw Error(_(156,t.tag))};function dm(e,t){return Ad(e,t)}function qv(e,t,n,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ie(e,t,n,r){return new qv(e,t,n,r)}function Xa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jv(e){if(typeof e=="function")return Xa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===va)return 11;if(e===ya)return 14}return 2}function Ut(e,t){var n=e.alternate;return n===null?(n=Ie(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 Qi(e,t,n,r,i,l){var s=2;if(r=e,typeof e=="function")Xa(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case jn:return an(n.children,i,l,t);case ha:s=8,i|=8;break;case Zs:return e=Ie(12,n,t,i|2),e.elementType=Zs,e.lanes=l,e;case eo:return e=Ie(13,n,t,i),e.elementType=eo,e.lanes=l,e;case to:return e=Ie(19,n,t,i),e.elementType=to,e.lanes=l,e;case wd:return Vl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gd:s=10;break e;case xd:s=9;break e;case va:s=11;break e;case ya:s=14;break e;case St:s=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Ie(s,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function an(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Vl(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=wd,e.lanes=n,e.stateNode={isHidden:!1},e}function Ds(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Is(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gv(e,t,n,r,i){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=xs(0),this.expirationTimes=xs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ya(e,t,n,r,i,l,s,a,u){return e=new Gv(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ie(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fa(l),e}function Xv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hm)}catch(e){console.error(e)}}hm(),pd.exports=Me;var ny=pd.exports,vm,Nc=ny;vm=Nc.createRoot,Nc.hydrateRoot;var ym={exports:{}},gm={};/** +`+l.stack}return{value:e,source:t,stack:i,digest:null}}function zs(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function To(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Tv=typeof WeakMap=="function"?WeakMap:Map;function $f(e,t,n){n=ft(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){gl||(gl=!0,Bo=r),To(e,t)},n}function Wf(e,t,n){n=ft(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){To(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){To(e,t),typeof r!="function"&&(Dt===null?Dt=new Set([this]):Dt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function rc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Tv;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Vv.bind(null,e,t,n),t.then(e,e))}function ic(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 lc(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=ft(-1,1),t.tag=2,At(n,t,1))),n.lanes|=1),e)}var Lv=gt.ReactCurrentOwner,we=!1;function pe(e,t,n,r){t.child=e===null?gf(t,null,n,r):Kn(t,e.child,n,r)}function sc(e,t,n,r,i){n=n.render;var l=t.ref;return $n(t,i),r=Ua(e,t,n,r,l,i),n=Ba(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vt(e,t,i)):(H&&n&&Oa(t),t.flags|=1,pe(e,t,r,i),t.child)}function oc(e,t,n,r,i){if(e===null){var l=n.type;return typeof l=="function"&&!Xa(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,Hf(e,t,l,r,i)):(e=Qi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&i)){var s=l.memoizedProps;if(n=n.compare,n=n!==null?n:Ur,n(s,r)&&e.ref===t.ref)return vt(e,t,i)}return t.flags|=1,e=Ut(l,r),e.ref=t.ref,e.return=t,t.child=e}function Hf(e,t,n,r,i){if(e!==null){var l=e.memoizedProps;if(Ur(l,r)&&e.ref===t.ref)if(we=!1,t.pendingProps=r=l,(e.lanes&i)!==0)e.flags&131072&&(we=!0);else return t.lanes=e.lanes,vt(e,t,i)}return Lo(e,t,n,r,i)}function Vf(e,t,n){var r=t.pendingProps,i=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},B(Ln,Ce),Ce|=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,B(Ln,Ce),Ce|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,B(Ln,Ce),Ce|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,B(Ln,Ce),Ce|=r;return pe(e,t,i,n),t.child}function Qf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Lo(e,t,n,r,i){var l=je(n)?cn:fe.current;return l=Vn(t,l),$n(t,i),n=Ua(e,t,n,r,l,i),r=Ba(),e!==null&&!we?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vt(e,t,i)):(H&&r&&Oa(t),t.flags|=1,pe(e,t,n,i),t.child)}function ac(e,t,n,r,i){if(je(n)){var l=!0;al(t)}else l=!1;if($n(t,i),t.stateNode===null)Wi(e,t),Bf(t,n,r),Ro(t,n,r,i),r=!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=Be(c):(c=je(n)?cn:fe.current,c=Vn(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!==r||u!==c)&&nc(t,s,r,c),Et=!1;var v=t.memoizedState;s.state=v,ml(t,r,s,i),u=t.memoizedState,a!==r||v!==u||Ne.current||Et?(typeof d=="function"&&(Po(t,n,d,r),u=t.memoizedState),(a=Et||tc(t,n,a,r,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=r,t.memoizedState=u),s.props=r,s.state=u,s.context=c,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,wf(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:He(t.type,a),s.props=c,f=t.pendingProps,v=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=Be(u):(u=je(n)?cn:fe.current,u=Vn(t,u));var g=n.getDerivedStateFromProps;(d=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||v!==u)&&nc(t,s,r,u),Et=!1,v=t.memoizedState,s.state=v,ml(t,r,s,i);var y=t.memoizedState;a!==f||v!==y||Ne.current||Et?(typeof g=="function"&&(Po(t,n,g,r),y=t.memoizedState),(c=Et||tc(t,n,c,r,v,y,u)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,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=r,t.memoizedState=y),s.props=r,s.state=y,s.context=u,r=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),r=!1)}return bo(e,t,n,r,l,i)}function bo(e,t,n,r,i,l){Qf(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Ku(t,n,!1),vt(e,t,l);r=t.stateNode,Lv.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Kn(t,e.child,null,l),t.child=Kn(t,null,a,l)):pe(e,t,a,l),t.memoizedState=r.state,i&&Ku(t,n,!0),t.child}function Kf(e){var t=e.stateNode;t.pendingContext?Qu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Qu(e,t.context,!1),za(e,t.containerInfo)}function uc(e,t,n,r,i){return Qn(),Ra(i),t.flags|=256,pe(e,t,n,r),t.child}var Mo={dehydrated:null,treeContext:null,retryLane:0};function Fo(e){return{baseLanes:e,cachePool:null,transitions:null}}function qf(e,t,n){var r=t.pendingProps,i=V.current,l=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),B(V,i&1),e===null)return Co(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=r.children,e=r.fallback,l?(r=t.mode,l=t.child,s={mode:"hidden",children:s},!(r&1)&&l!==null?(l.childLanes=0,l.pendingProps=s):l=Vl(s,r,0,null),e=an(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Fo(n),t.memoizedState=Mo,e):Ha(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return bv(e,t,s,r,a,i,n);if(l){l=r.fallback,s=t.mode,i=e.child,a=i.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=Ut(i,u),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?l=Ut(a,l):(l=an(l,s,n,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,r=l,l=t.child,s=e.child.memoizedState,s=s===null?Fo(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~n,t.memoizedState=Mo,r}return l=e.child,e=l.sibling,r=Ut(l,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ha(e,t){return t=Vl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Pi(e,t,n,r){return r!==null&&Ra(r),Kn(t,e.child,null,n),e=Ha(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function bv(e,t,n,r,i,l,s){if(n)return t.flags&256?(t.flags&=-257,r=zs(Error(_(422))),Pi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=r.fallback,i=t.mode,r=Vl({mode:"visible",children:r.children},i,0,null),l=an(l,i,s,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,t.mode&1&&Kn(t,e.child,null,s),t.child.memoizedState=Fo(s),t.memoizedState=Mo,l);if(!(t.mode&1))return Pi(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,l=Error(_(419)),r=zs(l,r,void 0),Pi(e,t,s,r)}if(a=(s&e.childLanes)!==0,we||a){if(r=ie,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==l.retryLane&&(l.retryLane=i,ht(e,i),Je(r,e,i,-1))}return Ga(),r=zs(Error(_(421))),Pi(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Qv.bind(null,e),i._reactRetry=t,null):(e=l.treeContext,Oe=zt(i.nextSibling),Re=t,H=!0,Qe=null,e!==null&&(Ae[De++]=ct,Ae[De++]=dt,Ae[De++]=dn,ct=e.id,dt=e.overflow,dn=t),t=Ha(t,r.children),t.flags|=4096,t)}function cc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Oo(e.return,t,n)}function As(e,t,n,r,i){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=i)}function Jf(e,t,n){var r=t.pendingProps,i=r.revealOrder,l=r.tail;if(pe(e,t,r.children,n),r=V.current,r&2)r=r&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&&cc(e,n,t);else if(e.tag===19)cc(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}r&=1}if(B(V,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&pl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),As(t,!1,i,n,l);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&pl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}As(t,!0,n,null,l);break;case"together":As(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wi(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),mn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=Ut(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ut(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Mv(e,t,n){switch(t.tag){case 3:Kf(t),Qn();break;case 5:Nf(t);break;case 1:je(t.type)&&al(t);break;case 4:za(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;B(dl,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(B(V,V.current&1),t.flags|=128,null):n&t.child.childLanes?qf(e,t,n):(B(V,V.current&1),e=vt(e,t,n),e!==null?e.sibling:null);B(V,V.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Jf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),B(V,V.current),r)break;return null;case 22:case 23:return t.lanes=0,Vf(e,t,n)}return vt(e,t,n)}var Gf,zo,Xf,Yf;Gf=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}};zo=function(){};Xf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,ln(st.current);var l=null;switch(n){case"input":i=ro(e,i),r=ro(e,r),l=[];break;case"select":i=K({},i,{value:void 0}),r=K({},r,{value:void 0}),l=[];break;case"textarea":i=so(e,i),r=so(e,r),l=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=sl)}ao(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var a=i[c];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(br.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(a=i!=null?i[c]:void 0,r.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"&&(br.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&$("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)}};Yf=function(e,t,n,r){n!==r&&(t.flags|=4)};function mr(e,t){if(!H)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 r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ce(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Fv(e,t,n){var r=t.pendingProps;switch(Pa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ce(t),null;case 1:return je(t.type)&&ol(),ce(t),null;case 3:return r=t.stateNode,qn(),W(Ne),W(fe),Da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ci(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qe!==null&&(Ho(Qe),Qe=null))),zo(e,t),ce(t),null;case 5:Aa(t);var i=ln(Vr.current);if(n=t.type,e!==null&&t.stateNode!=null)Xf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return ce(t),null}if(e=ln(st.current),Ci(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[rt]=t,r[Wr]=l,e=(t.mode&1)!==0,n){case"dialog":$("cancel",r),$("close",r);break;case"iframe":case"object":case"embed":$("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[rt]=t,e[Wr]=r,Gf(e,t,!1,!1),t.stateNode=e;e:{switch(s=uo(n,r),n){case"dialog":$("cancel",e),$("close",e),i=r;break;case"iframe":case"object":case"embed":$("load",e),i=r;break;case"video":case"audio":for(i=0;iGn&&(t.flags|=128,r=!0,mr(l,!1),t.lanes=4194304)}else{if(!r)if(e=pl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),mr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!s.alternate&&!H)return ce(t),null}else 2*Y()-l.renderingStartTime>Gn&&n!==1073741824&&(t.flags|=128,r=!0,mr(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=Y(),t.sibling=null,n=V.current,B(V,r?n&1|2:n&1),t):(ce(t),null);case 22:case 23:return Ja(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ce&1073741824&&(ce(t),t.subtreeFlags&6&&(t.flags|=8192)):ce(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function zv(e,t){switch(Pa(t),t.tag){case 1:return je(t.type)&&ol(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qn(),W(Ne),W(fe),Da(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Aa(t),null;case 13:if(W(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Qn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(V),null;case 4:return qn(),null;case 10:return ba(t.type._context),null;case 22:case 23:return Ja(),null;case 24:return null;default:return null}}var Ri=!1,de=!1,Av=typeof WeakSet=="function"?WeakSet:Set,R=null;function Tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function Ao(e,t,n){try{n()}catch(r){q(e,t,r)}}var dc=!1;function Dv(e,t){if(wo=rl,e=nf(),Ca(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.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 g;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==l||r!==0&&f.nodeType!==3||(u=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(g=f.firstChild)!==null;)v=f,f=g;for(;;){if(f===e)break t;if(v===n&&++c===i&&(a=s),v===l&&++d===r&&(u=s),(g=f.nextSibling)!==null)break;f=v,v=f.parentNode}f=g}n=a===-1||u===-1?null:{start:a,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(No={focusedElem:e,selectionRange:n},rl=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,N=y.memoizedState,h=t.stateNode,m=h.getSnapshotBeforeUpdate(t.elementType===t.type?w:He(t.type,w),N);h.__reactInternalSnapshotBeforeUpdate=m}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(_(163))}}catch(x){q(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return y=dc,dc=!1,y}function Cr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Ao(t,n,l)}i=i.next}while(i!==r)}}function Wl(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 r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Do(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 Zf(e){var t=e.alternate;t!==null&&(e.alternate=null,Zf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[Wr],delete t[Eo],delete t[wv],delete t[Nv])),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 em(e){return e.tag===5||e.tag===3||e.tag===4}function fc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||em(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 Io(e,t,n){var r=e.tag;if(r===5||r===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=sl));else if(r!==4&&(e=e.child,e!==null))for(Io(e,t,n),e=e.sibling;e!==null;)Io(e,t,n),e=e.sibling}function Uo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Uo(e,t,n),e=e.sibling;e!==null;)Uo(e,t,n),e=e.sibling}var se=null,Ve=!1;function Nt(e,t,n){for(n=n.child;n!==null;)tm(e,t,n),n=n.sibling}function tm(e,t,n){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:de||Tn(n,t);case 6:var r=se,i=Ve;se=null,Nt(e,t,n),se=r,Ve=i,se!==null&&(Ve?(e=se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):se.removeChild(n.stateNode));break;case 18:se!==null&&(Ve?(e=se,n=n.stateNode,e.nodeType===8?Rs(e.parentNode,n):e.nodeType===1&&Rs(e,n),Dr(e)):Rs(se,n.stateNode));break;case 4:r=se,i=Ve,se=n.stateNode.containerInfo,Ve=!0,Nt(e,t,n),se=r,Ve=i;break;case 0:case 11:case 14:case 15:if(!de&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,s=l.destroy;l=l.tag,s!==void 0&&(l&2||l&4)&&Ao(n,t,s),i=i.next}while(i!==r)}Nt(e,t,n);break;case 1:if(!de&&(Tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){q(n,t,a)}Nt(e,t,n);break;case 21:Nt(e,t,n);break;case 22:n.mode&1?(de=(r=de)||n.memoizedState!==null,Nt(e,t,n),de=r):Nt(e,t,n);break;default:Nt(e,t,n)}}function mc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Av),t.forEach(function(r){var i=Kv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function We(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~l}if(r=i,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Uv(r/1960))-r,10e?16:e,Tt===null)var r=!1;else{if(e=Tt,Tt=null,xl=0,I&6)throw Error(_(331));var i=I;for(I|=4,R=e.current;R!==null;){var l=R,s=l.child;if(R.flags&16){var a=l.deletions;if(a!==null){for(var u=0;uY()-Ka?on(e,0):Qa|=n),Se(e,t)}function um(e,t){t===0&&(e.mode&1?(t=Ni,Ni<<=1,!(Ni&130023424)&&(Ni=4194304)):t=1);var n=he();e=ht(e,t),e!==null&&(ni(e,t,n),Se(e,n))}function Qv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),um(e,n)}function Kv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),um(e,n)}var cm;cm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ne.current)we=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return we=!1,Mv(e,t,n);we=!!(e.flags&131072)}else we=!1,H&&t.flags&1048576&&pf(t,cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wi(e,t),e=t.pendingProps;var i=Vn(t,fe.current);$n(t,n),i=Ua(null,t,r,e,i,n);var l=Ba();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(r)?(l=!0,al(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fa(t),i.updater=$l,t.stateNode=i,i._reactInternals=t,Ro(t,r,e,n),t=bo(null,t,r,!0,l,n)):(t.tag=0,H&&l&&Oa(t),pe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Jv(r),e=He(r,e),i){case 0:t=Lo(null,t,r,e,n);break e;case 1:t=ac(null,t,r,e,n);break e;case 11:t=sc(null,t,r,e,n);break e;case 14:t=oc(null,t,r,He(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),Lo(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),ac(e,t,r,i,n);case 3:e:{if(Kf(t),e===null)throw Error(_(387));r=t.pendingProps,l=t.memoizedState,i=l.element,wf(e,t),ml(t,r,null,n);var s=t.memoizedState;if(r=s.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=Jn(Error(_(423)),t),t=uc(e,t,r,n,i);break e}else if(r!==i){i=Jn(Error(_(424)),t),t=uc(e,t,r,n,i);break e}else for(Oe=zt(t.stateNode.containerInfo.firstChild),Re=t,H=!0,Qe=null,n=gf(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Qn(),r===i){t=vt(e,t,n);break e}pe(e,t,r,n)}t=t.child}return t;case 5:return Nf(t),e===null&&Co(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,s=i.children,jo(r,i)?s=null:l!==null&&jo(r,l)&&(t.flags|=32),Qf(e,t),pe(e,t,s,n),t.child;case 6:return e===null&&Co(t),null;case 13:return qf(e,t,n);case 4:return za(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Kn(t,null,r,n):pe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),sc(e,t,r,i,n);case 7:return pe(e,t,t.pendingProps,n),t.child;case 8:return pe(e,t,t.pendingProps.children,n),t.child;case 12:return pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,s=i.value,B(dl,r._currentValue),r._currentValue=s,l!==null)if(Xe(l.value,s)){if(l.children===i.children&&!Ne.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===r){if(l.tag===1){u=ft(-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),Oo(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(_(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Oo(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}pe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,$n(t,n),i=Be(i),r=r(i),t.flags|=1,pe(e,t,r,n),t.child;case 14:return r=t.type,i=He(r,t.pendingProps),i=He(r.type,i),oc(e,t,r,i,n);case 15:return Hf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:He(r,i),Wi(e,t),t.tag=1,je(r)?(e=!0,al(t)):e=!1,$n(t,n),Bf(t,r,i),Ro(t,r,i,n),bo(null,t,r,!0,e,n);case 19:return Jf(e,t,n);case 22:return Vf(e,t,n)}throw Error(_(156,t.tag))};function dm(e,t){return Ad(e,t)}function qv(e,t,n,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ie(e,t,n,r){return new qv(e,t,n,r)}function Xa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Jv(e){if(typeof e=="function")return Xa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===va)return 11;if(e===ya)return 14}return 2}function Ut(e,t){var n=e.alternate;return n===null?(n=Ie(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 Qi(e,t,n,r,i,l){var s=2;if(r=e,typeof e=="function")Xa(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case jn:return an(n.children,i,l,t);case ha:s=8,i|=8;break;case Zs:return e=Ie(12,n,t,i|2),e.elementType=Zs,e.lanes=l,e;case eo:return e=Ie(13,n,t,i),e.elementType=eo,e.lanes=l,e;case to:return e=Ie(19,n,t,i),e.elementType=to,e.lanes=l,e;case wd:return Vl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gd:s=10;break e;case xd:s=9;break e;case va:s=11;break e;case ya:s=14;break e;case St:s=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Ie(s,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function an(e,t,n,r){return e=Ie(7,e,r,t),e.lanes=n,e}function Vl(e,t,n,r){return e=Ie(22,e,r,t),e.elementType=wd,e.lanes=n,e.stateNode={isHidden:!1},e}function Ds(e,t,n){return e=Ie(6,e,null,t),e.lanes=n,e}function Is(e,t,n){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gv(e,t,n,r,i){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=xs(0),this.expirationTimes=xs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Ya(e,t,n,r,i,l,s,a,u){return e=new Gv(e,t,n,a,u),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Ie(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fa(l),e}function Xv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hm)}catch(e){console.error(e)}}hm(),pd.exports=Fe;var ny=pd.exports,vm,Nc=ny;vm=Nc.createRoot,Nc.hydrateRoot;var ym={exports:{}},gm={};/** * @license React * use-sync-external-store-with-selector.production.min.js * @@ -45,7 +45,7 @@ Error generating stack: `+l.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var si=O;function ry(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var iy=typeof Object.is=="function"?Object.is:ry,ly=si.useSyncExternalStore,sy=si.useRef,oy=si.useEffect,ay=si.useMemo,uy=si.useDebugValue;gm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=sy(null);if(l.current===null){var s={hasValue:!1,value:null};l.current=s}else s=l.current;l=ay(function(){function u(g){if(!c){if(c=!0,d=g,g=r(g),i!==void 0&&s.hasValue){var y=s.value;if(i(y,g))return f=y}return f=g}if(y=f,iy(d,g))return y;var w=r(g);return i!==void 0&&i(y,w)?y:(d=g,f=w)}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,r,i]);var a=ly(e,l[0],l[1]);return oy(function(){s.hasValue=!0,s.value=a},[a]),uy(a),a};ym.exports=gm;var cy=ym.exports,Oe="default"in Xs?S:Xs,jc=Symbol.for("react-redux-context"),Sc=typeof globalThis<"u"?globalThis:{};function dy(){if(!Oe.createContext)return{};const e=Sc[jc]??(Sc[jc]=new Map);let t=e.get(Oe.createContext);return t||(t=Oe.createContext(null),e.set(Oe.createContext,t)),t}var Ht=dy(),fy=()=>{throw new Error("uSES not initialized!")};function nu(e=Ht){return function(){return Oe.useContext(e)}}var xm=nu(),wm=fy,my=e=>{wm=e},py=(e,t)=>e===t;function hy(e=Ht){const t=e===Ht?xm:nu(e),n=(r,i={})=>{const{equalityFn:l=py,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();Oe.useRef(!0);const v=Oe.useCallback({[r.name](y){return r(y)}}[r.name],[r,d,s.stabilityCheck]),g=wm(u.addNestedSub,a.getState,c||a.getState,v,l);return Oe.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var oi=hy();function vy(e){e()}function yy(){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 r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Ec={notify(){},get:()=>[]};function gy(e,t){let n,r=Ec,i=0,l=!1;function s(w){d();const N=r.subscribe(w);let h=!1;return()=>{h||(h=!0,N(),f())}}function a(){r.notify()}function u(){y.onStateChange&&y.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(u),r=yy())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Ec)}function v(){l||(l=!0,d())}function g(){l&&(l=!1,f())}const y={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:c,trySubscribe:v,tryUnsubscribe:g,getListeners:()=>r};return y}var xy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wy=typeof navigator<"u"&&navigator.product==="ReactNative",Ny=xy||wy?Oe.useLayoutEffect:Oe.useEffect;function jy({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const s=Oe.useMemo(()=>{const c=gy(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),a=Oe.useMemo(()=>e.getState(),[e]);Ny(()=>{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||Ht;return Oe.createElement(u.Provider,{value:s},n)}var Sy=jy;function Nm(e=Ht){const t=e===Ht?xm:nu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Ey=Nm();function ky(e=Ht){const t=e===Ht?Ey:Nm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Gl=ky();my(cy.useSyncExternalStoreWithSelector);function le(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var _y=typeof Symbol=="function"&&Symbol.observable||"@@observable",kc=_y,Us=()=>Math.random().toString(36).substring(7).split("").join("."),Cy={INIT:`@@redux/INIT${Us()}`,REPLACE:`@@redux/REPLACE${Us()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Us()}`},jl=Cy;function ru(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 jm(e,t,n){if(typeof e!="function")throw new Error(le(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(le(1));return n(jm)(e,t)}let r=e,i=t,l=new Map,s=l,a=0,u=!1;function c(){s===l&&(s=new Map,l.forEach((N,h)=>{s.set(h,N)}))}function d(){if(u)throw new Error(le(3));return i}function f(N){if(typeof N!="function")throw new Error(le(4));if(u)throw new Error(le(5));let h=!0;c();const m=a++;return s.set(m,N),function(){if(h){if(u)throw new Error(le(6));h=!1,c(),s.delete(m),l=null}}}function v(N){if(!ru(N))throw new Error(le(7));if(typeof N.type>"u")throw new Error(le(8));if(typeof N.type!="string")throw new Error(le(17));if(u)throw new Error(le(9));try{u=!0,i=r(i,N)}finally{u=!1}return(l=s).forEach(m=>{m()}),N}function g(N){if(typeof N!="function")throw new Error(le(10));r=N,v({type:jl.REPLACE})}function y(){const N=f;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(le(11));function m(){const x=h;x.next&&x.next(d())}return m(),{unsubscribe:N(m)}},[kc](){return this}}}return v({type:jl.INIT}),{dispatch:v,subscribe:f,getState:d,replaceReducer:g,[kc]:y}}function Oy(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:jl.INIT})>"u")throw new Error(le(12));if(typeof n(void 0,{type:jl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function Py(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw a&&a.type,new Error(le(14));c[f]=y,u=u||y!==g}return u=u||r.length!==Object.keys(s).length,u?c:s}}function Sl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Ry(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(le(15))};const s={getState:i.getState,dispatch:(u,...c)=>l(u,...c)},a=e.map(u=>u(s));return l=Sl(...a)(i.dispatch),{...i,dispatch:l}}}function Ty(e){return ru(e)&&"type"in e&&typeof e.type=="string"}var Sm=Symbol.for("immer-nothing"),_c=Symbol.for("immer-draftable"),Le=Symbol.for("immer-state");function Ke(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Xn=Object.getPrototypeOf;function hn(e){return!!e&&!!e[Le]}function yt(e){var t;return e?Em(e)||Array.isArray(e)||!!e[_c]||!!((t=e.constructor)!=null&&t[_c])||Yl(e)||Zl(e):!1}var Ly=Object.prototype.constructor.toString();function Em(e){if(!e||typeof e!="object")return!1;const t=Xn(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)===Ly}function El(e,t){Xl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Xl(e){const t=e[Le];return t?t.type_:Array.isArray(e)?1:Yl(e)?2:Zl(e)?3:0}function Vo(e,t){return Xl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function km(e,t,n){const r=Xl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function by(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Yl(e){return e instanceof Map}function Zl(e){return e instanceof Set}function en(e){return e.copy_||e.base_}function Qo(e,t){if(Yl(e))return new Map(e);if(Zl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Em(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Le];let i=Reflect.ownKeys(r);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=My),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>iu(r,!0))),e}function My(){Ke(2)}function es(e){return Object.isFrozen(e)}var Fy={};function vn(e){const t=Fy[e];return t||Ke(0,e),t}var Gr;function _m(){return Gr}function zy(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Cc(e,t){t&&(vn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ko(e){qo(e),e.drafts_.forEach(Ay),e.drafts_=null}function qo(e){e===Gr&&(Gr=e.parent_)}function Oc(e){return Gr=zy(Gr,e)}function Ay(e){const t=e[Le];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Pc(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Le].modified_&&(Ko(t),Ke(4)),yt(e)&&(e=kl(t,e),t.parent_||_l(t,e)),t.patches_&&vn("Patches").generateReplacementPatches_(n[Le].base_,e,t.patches_,t.inversePatches_)):e=kl(t,n,[]),Ko(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Sm?e:void 0}function kl(e,t,n){if(es(t))return t;const r=t[Le];if(!r)return El(t,(i,l)=>Rc(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return _l(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let l=i,s=!1;r.type_===3&&(l=new Set(i),i.clear(),s=!0),El(l,(a,u)=>Rc(e,r,i,a,u,n,s)),_l(e,i,!1),n&&e.patches_&&vn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Rc(e,t,n,r,i,l,s){if(hn(i)){const a=l&&t&&t.type_!==3&&!Vo(t.assigned_,r)?l.concat(r):void 0,u=kl(e,i,a);if(km(n,r,u),hn(u))e.canAutoFreeze_=!1;else return}else s&&n.add(i);if(yt(i)&&!es(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;kl(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&_l(e,i)}}function _l(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&iu(t,n)}function Dy(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:_m(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=lu;n&&(i=[r],l=Xr);const{revoke:s,proxy:a}=Proxy.revocable(i,l);return r.draft_=a,r.revoke_=s,a}var lu={get(e,t){if(t===Le)return e;const n=en(e);if(!Vo(n,t))return Iy(e,n,t);const r=n[t];return e.finalized_||!yt(r)?r:r===Bs(e.base_,t)?($s(e),e.copy_[t]=Go(r,e)):r},has(e,t){return t in en(e)},ownKeys(e){return Reflect.ownKeys(en(e))},set(e,t,n){const r=Cm(en(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=Bs(en(e),t),l=i==null?void 0:i[Le];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(by(n,i)&&(n!==void 0||Vo(e.base_,t)))return!0;$s(e),Jo(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 Bs(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,$s(e),Jo(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=en(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Ke(11)},getPrototypeOf(e){return Xn(e.base_)},setPrototypeOf(){Ke(12)}},Xr={};El(lu,(e,t)=>{Xr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Xr.deleteProperty=function(e,t){return Xr.set.call(this,e,t,void 0)};Xr.set=function(e,t,n){return lu.set.call(this,e[0],t,n,e[0])};function Bs(e,t){const n=e[Le];return(n?en(n):e)[t]}function Iy(e,t,n){var i;const r=Cm(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Cm(e,t){if(!(t in e))return;let n=Xn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Xn(n)}}function Jo(e){e.modified_||(e.modified_=!0,e.parent_&&Jo(e.parent_))}function $s(e){e.copy_||(e.copy_=Qo(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Uy=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{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"&&Ke(6),r!==void 0&&typeof r!="function"&&Ke(7);let i;if(yt(t)){const l=Oc(this),s=Go(t,void 0);let a=!0;try{i=n(s),a=!1}finally{a?Ko(l):qo(l)}return Cc(l,r),Pc(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Sm&&(i=void 0),this.autoFreeze_&&iu(i,!0),r){const l=[],s=[];vn("Patches").generateReplacementPatches_(t,i,l,s),r(l,s)}return i}else Ke(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,u=>t(u,...a));let r,i;return[this.produce(t,n,(s,a)=>{r=s,i=a}),r,i]},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){yt(e)||Ke(8),hn(e)&&(e=By(e));const t=Oc(this),n=Go(e,void 0);return n[Le].isManual_=!0,qo(t),n}finishDraft(e,t){const n=e&&e[Le];(!n||!n.isManual_)&&Ke(9);const{scope_:r}=n;return Cc(r,t),Pc(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=vn("Patches").applyPatches_;return hn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function Go(e,t){const n=Yl(e)?vn("MapSet").proxyMap_(e,t):Zl(e)?vn("MapSet").proxySet_(e,t):Dy(e,t);return(t?t.scope_:_m()).drafts_.push(n),n}function By(e){return hn(e)||Ke(10,e),Om(e)}function Om(e){if(!yt(e)||es(e))return e;const t=e[Le];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Qo(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Qo(e,!0);return El(n,(r,i)=>{km(n,r,Om(i))}),t&&(t.finalized_=!1),n}var be=new Uy,Pm=be.produce;be.produceWithPatches.bind(be);be.setAutoFreeze.bind(be);be.setUseStrictShallowCopy.bind(be);be.applyPatches.bind(be);be.createDraft.bind(be);be.finishDraft.bind(be);function Rm(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var $y=Rm(),Wy=Rm,Hy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Sl:Sl.apply(null,arguments)},Vy=e=>e&&typeof e.match=="function";function Rr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(Ge(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Ty(r)&&r.type===e,n}var Tm=class wr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,wr.prototype)}static get[Symbol.species](){return wr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new wr(...t[0].concat(this)):new wr(...t.concat(this))}};function Tc(e){return yt(e)?Pm(e,()=>{}):e}function Lc(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(Ge(10));const r=n.insert(t,e);return e.set(t,r),r}function Qy(e){return typeof e=="boolean"}var Ky=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let s=new Tm;return n&&(Qy(n)?s.push($y):s.push(Wy(n.extraArgument))),s},qy="RTK_autoBatch",Lm=e=>t=>{setTimeout(t,e)},Jy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Lm(10),Gy=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,s=!1;const a=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?Jy:e.type==="callback"?e.queueNotification:Lm(e.timeout),c=()=>{s=!1,l&&(l=!1,a.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),v=r.subscribe(f);return a.add(d),()=>{v(),a.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[qy]),l=!i,l&&(s||(s=!0,u(c))),r.dispatch(d)}finally{i=!0}}})},Xy=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Tm(e);return r&&i.push(Gy(typeof r=="object"?r:void 0)),i};function Yy(e){const t=Ky(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:l=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(ru(n))a=Py(n);else throw new Error(Ge(1));let u;typeof r=="function"?u=r(t):u=t();let c=Sl;i&&(c=Hy({trace:!1,...typeof i=="object"&&i}));const d=Ry(...u),f=Xy(d);let v=typeof s=="function"?s(f):f();const g=c(...v);return jm(a,l,g)}function bm(e){const t={},n=[];let r;const i={addCase(l,s){const a=typeof l=="string"?l:l.type;if(!a)throw new Error(Ge(28));if(a in t)throw new Error(Ge(29));return t[a]=s,i},addMatcher(l,s){return n.push({matcher:l,reducer:s}),i},addDefaultCase(l){return r=l,i}};return e(i),[t,n,r]}function Zy(e){return typeof e=="function"}function e0(e,t){let[n,r,i]=bm(t),l;if(Zy(e))l=()=>Tc(e());else{const a=Tc(e);l=()=>a}function s(a=l(),u){let c=[n[u.type],...r.filter(({matcher:d})=>d(u)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(hn(d)){const g=f(d,u);return g===void 0?d:g}else{if(yt(d))return Pm(d,v=>f(v,u));{const v=f(d,u);if(v===void 0){if(d===null)return d;throw new Error(Ge(9))}return v}}return d},a)}return s.getInitialState=l,s}var t0=(e,t)=>Vy(e)?e.match(t):e(t);function n0(...e){return t=>e.some(n=>t0(n,t))}var r0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",i0=(e=21)=>{let t="",n=e;for(;n--;)t+=r0[Math.random()*64|0];return t},l0=["name","message","stack","code"],Ws=class{constructor(e,t){ms(this,"_type");this.payload=e,this.meta=t}},bc=class{constructor(e,t){ms(this,"_type");this.payload=e,this.meta=t}},s0=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of l0)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},ai=(()=>{function e(t,n,r){const i=Rr(t+"/fulfilled",(u,c,d,f)=>({payload:u,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),l=Rr(t+"/pending",(u,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:u,requestStatus:"pending"}})),s=Rr(t+"/rejected",(u,c,d,f,v)=>({payload:f,error:(r&&r.serializeError||s0)(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=r!=null&&r.idGenerator?r.idGenerator(u):i0(),g=new AbortController;let y,w;function N(m){w=m,g.abort()}const h=async function(){var x,E;let m;try{let k=(x=r==null?void 0:r.condition)==null?void 0:x.call(r,u,{getState:d,extra:f});if(a0(k)&&(k=await k),k===!1||g.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const P=new Promise((C,z)=>{y=()=>{z({name:"AbortError",message:w||"Aborted"})},g.signal.addEventListener("abort",y)});c(l(v,u,(E=r==null?void 0:r.getPendingMeta)==null?void 0:E.call(r,{requestId:v,arg:u},{getState:d,extra:f}))),m=await Promise.race([P,Promise.resolve(n(u,{dispatch:c,getState:d,extra:f,requestId:v,signal:g.signal,abort:N,rejectWithValue:(C,z)=>new Ws(C,z),fulfillWithValue:(C,z)=>new bc(C,z)})).then(C=>{if(C instanceof Ws)throw C;return C instanceof bc?i(C.payload,v,u,C.meta):i(C,v,u)})])}catch(k){m=k instanceof Ws?s(null,v,u,k.payload,k.meta):s(k,v,u)}finally{y&&g.signal.removeEventListener("abort",y)}return r&&!r.dispatchConditionRejection&&s.match(m)&&m.meta.condition||c(m),m}();return Object.assign(h,{abort:N,requestId:v,arg:u,unwrap(){return h.then(o0)}})}}return Object.assign(a,{pending:l,rejected:s,fulfilled:i,settled:n0(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function o0(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function a0(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var u0=Symbol.for("rtk-slice-createasyncthunk");function c0(e,t){return`${e}/${t}`}function d0({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[u0];return function(i){const{name:l,reducerPath:s=l}=i;if(!l)throw new Error(Ge(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(m0()):i.reducers)||{},u=Object.keys(a),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(p,x){const E=typeof p=="string"?p:p.type;if(!E)throw new Error(Ge(12));if(E in c.sliceCaseReducersByType)throw new Error(Ge(13));return c.sliceCaseReducersByType[E]=x,d},addMatcher(p,x){return c.sliceMatchers.push({matcher:p,reducer:x}),d},exposeAction(p,x){return c.actionCreators[p]=x,d},exposeCaseReducer(p,x){return c.sliceCaseReducersByName[p]=x,d}};u.forEach(p=>{const x=a[p],E={reducerName:p,type:c0(l,p),createNotation:typeof i.reducers=="function"};h0(x)?y0(E,x,d,t):p0(E,x,d)});function f(){const[p={},x=[],E=void 0]=typeof i.extraReducers=="function"?bm(i.extraReducers):[i.extraReducers],k={...p,...c.sliceCaseReducersByType};return e0(i.initialState,P=>{for(let C in k)P.addCase(C,k[C]);for(let C of c.sliceMatchers)P.addMatcher(C.matcher,C.reducer);for(let C of x)P.addMatcher(C.matcher,C.reducer);E&&P.addDefaultCase(E)})}const v=p=>p,g=new Map;let y;function w(p,x){return y||(y=f()),y(p,x)}function N(){return y||(y=f()),y.getInitialState()}function h(p,x=!1){function E(P){let C=P[p];return typeof C>"u"&&x&&(C=N()),C}function k(P=v){const C=Lc(g,x,{insert:()=>new WeakMap});return Lc(C,P,{insert:()=>{const z={};for(const[L,me]of Object.entries(i.selectors??{}))z[L]=f0(me,P,N,x);return z}})}return{reducerPath:p,getSelectors:k,get selectors(){return k(E)},selectSlice:E}}const m={name:l,reducer:w,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:N,...h(s),injectInto(p,{reducerPath:x,...E}={}){const k=x??s;return p.inject({reducerPath:k,reducer:w},E),{...m,...h(k,!0)}}};return m}}function f0(e,t,n,r){function i(l,...s){let a=t(l);return typeof a>"u"&&r&&(a=n()),e(a,...s)}return i.unwrapped=e,i}var Mm=d0();function m0(){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 p0({type:e,reducerName:t,createNotation:n},r,i){let l,s;if("reducer"in r){if(n&&!v0(r))throw new Error(Ge(17));l=r.reducer,s=r.prepare}else l=r;i.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,s?Rr(e,s):Rr(e))}function h0(e){return e._reducerDefinitionType==="asyncThunk"}function v0(e){return e._reducerDefinitionType==="reducerWithPrepare"}function y0({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Ge(18));const{payloadCreator:l,fulfilled:s,pending:a,rejected:u,settled:c,options:d}=n,f=i(e,l,d);r.exposeAction(t,f),s&&r.addCase(f.fulfilled,s),a&&r.addCase(f.pending,a),u&&r.addCase(f.rejected,u),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:s||bi,pending:a||bi,rejected:u||bi,settled:c||bi})}function bi(){}function Ge(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 Fm(e,t){return function(){return e.apply(t,arguments)}}const{toString:g0}=Object.prototype,{getPrototypeOf:su}=Object,ts=(e=>t=>{const n=g0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ye=e=>(e=e.toLowerCase(),t=>ts(t)===e),ns=e=>t=>typeof t===e,{isArray:nr}=Array,Yr=ns("undefined");function x0(e){return e!==null&&!Yr(e)&&e.constructor!==null&&!Yr(e.constructor)&&Re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zm=Ye("ArrayBuffer");function w0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&zm(e.buffer),t}const N0=ns("string"),Re=ns("function"),Am=ns("number"),rs=e=>e!==null&&typeof e=="object",j0=e=>e===!0||e===!1,Ki=e=>{if(ts(e)!=="object")return!1;const t=su(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},S0=Ye("Date"),E0=Ye("File"),k0=Ye("Blob"),_0=Ye("FileList"),C0=e=>rs(e)&&Re(e.pipe),O0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Re(e.append)&&((t=ts(e))==="formdata"||t==="object"&&Re(e.toString)&&e.toString()==="[object FormData]"))},P0=Ye("URLSearchParams"),[R0,T0,L0,b0]=["ReadableStream","Request","Response","Headers"].map(Ye),M0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ui(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),nr(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const sn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Im=e=>!Yr(e)&&e!==sn;function Xo(){const{caseless:e}=Im(this)&&this||{},t={},n=(r,i)=>{const l=e&&Dm(t,i)||i;Ki(t[l])&&Ki(r)?t[l]=Xo(t[l],r):Ki(r)?t[l]=Xo({},r):nr(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(ui(t,(i,l)=>{n&&Re(i)?e[l]=Fm(i,n):e[l]=i},{allOwnKeys:r}),e),z0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),A0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},D0=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&su(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},I0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},U0=e=>{if(!e)return null;if(nr(e))return e;let t=e.length;if(!Am(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},B0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&su(Uint8Array)),$0=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},W0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},H0=Ye("HTMLFormElement"),V0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Mc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Q0=Ye("RegExp"),Um=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ui(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},K0=e=>{Um(e,(t,n)=>{if(Re(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Re(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},q0=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return nr(e)?r(e):r(String(e).split(t)),n},J0=()=>{},G0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Hs="abcdefghijklmnopqrstuvwxyz",Fc="0123456789",Bm={DIGIT:Fc,ALPHA:Hs,ALPHA_DIGIT:Hs+Hs.toUpperCase()+Fc},X0=(e=16,t=Bm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Y0(e){return!!(e&&Re(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Z0=e=>{const t=new Array(10),n=(r,i)=>{if(rs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=nr(r)?[]:{};return ui(r,(s,a)=>{const u=n(s,i+1);!Yr(u)&&(l[a]=u)}),t[i]=void 0,l}}return r};return n(e,0)},eg=Ye("AsyncFunction"),tg=e=>e&&(rs(e)||Re(e))&&Re(e.then)&&Re(e.catch),$m=((e,t)=>e?setImmediate:t?((n,r)=>(sn.addEventListener("message",({source:i,data:l})=>{i===sn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),sn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Re(sn.postMessage)),ng=typeof queueMicrotask<"u"?queueMicrotask.bind(sn):typeof process<"u"&&process.nextTick||$m,j={isArray:nr,isArrayBuffer:zm,isBuffer:x0,isFormData:O0,isArrayBufferView:w0,isString:N0,isNumber:Am,isBoolean:j0,isObject:rs,isPlainObject:Ki,isReadableStream:R0,isRequest:T0,isResponse:L0,isHeaders:b0,isUndefined:Yr,isDate:S0,isFile:E0,isBlob:k0,isRegExp:Q0,isFunction:Re,isStream:C0,isURLSearchParams:P0,isTypedArray:B0,isFileList:_0,forEach:ui,merge:Xo,extend:F0,trim:M0,stripBOM:z0,inherits:A0,toFlatObject:D0,kindOf:ts,kindOfTest:Ye,endsWith:I0,toArray:U0,forEachEntry:$0,matchAll:W0,isHTMLForm:H0,hasOwnProperty:Mc,hasOwnProp:Mc,reduceDescriptors:Um,freezeMethods:K0,toObjectSet:q0,toCamelCase:V0,noop:J0,toFiniteNumber:G0,findKey:Dm,global:sn,isContextDefined:Im,ALPHABET:Bm,generateString:X0,isSpecCompliantForm:Y0,toJSONObject:Z0,isAsyncFn:eg,isThenable:tg,setImmediate:$m,asap:ng};function b(e,t,n,r,i){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),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}j.inherits(b,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:j.toJSONObject(this.config),code:this.code,status:this.status}}});const Wm=b.prototype,Hm={};["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=>{Hm[e]={value:e}});Object.defineProperties(b,Hm);Object.defineProperty(Wm,"isAxiosError",{value:!0});b.from=(e,t,n,r,i,l)=>{const s=Object.create(Wm);return j.toFlatObject(e,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),b.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const rg=null;function Yo(e){return j.isPlainObject(e)||j.isArray(e)}function Vm(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function zc(e,t,n){return e?e.concat(t).map(function(i,l){return i=Vm(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function ig(e){return j.isArray(e)&&!e.some(Yo)}const lg=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function is(e,t,n){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,N){return!j.isUndefined(N[w])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(i))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(j.isDate(y))return y.toISOString();if(!u&&j.isBlob(y))throw new b("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(y)||j.isTypedArray(y)?u&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,w,N){let h=y;if(y&&!N&&typeof y=="object"){if(j.endsWith(w,"{}"))w=r?w:w.slice(0,-2),y=JSON.stringify(y);else if(j.isArray(y)&&ig(y)||(j.isFileList(y)||j.endsWith(w,"[]"))&&(h=j.toArray(y)))return w=Vm(w),h.forEach(function(p,x){!(j.isUndefined(p)||p===null)&&t.append(s===!0?zc([w],x,l):s===null?w:w+"[]",c(p))}),!1}return Yo(y)?!0:(t.append(zc(N,w,l),c(y)),!1)}const f=[],v=Object.assign(lg,{defaultVisitor:d,convertValue:c,isVisitable:Yo});function g(y,w){if(!j.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(y),j.forEach(y,function(h,m){(!(j.isUndefined(h)||h===null)&&i.call(t,h,j.isString(m)?m.trim():m,w,v))===!0&&g(h,w?w.concat(m):[m])}),f.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Ac(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ou(e,t){this._pairs=[],e&&is(e,this,t)}const Qm=ou.prototype;Qm.append=function(t,n){this._pairs.push([t,n])};Qm.toString=function(t){const n=t?function(r){return t.call(this,r,Ac)}:Ac;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function sg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Km(e,t,n){if(!t)return e;const r=n&&n.encode||sg,i=n&&n.serialize;let l;if(i?l=i(t,n):l=j.isURLSearchParams(t)?t.toString():new ou(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Dc{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const qm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},og=typeof URLSearchParams<"u"?URLSearchParams:ou,ag=typeof FormData<"u"?FormData:null,ug=typeof Blob<"u"?Blob:null,cg={isBrowser:!0,classes:{URLSearchParams:og,FormData:ag,Blob:ug},protocols:["http","https","file","blob","url","data"]},au=typeof window<"u"&&typeof document<"u",Zo=typeof navigator=="object"&&navigator||void 0,dg=au&&(!Zo||["ReactNative","NativeScript","NS"].indexOf(Zo.product)<0),fg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",mg=au&&window.location.href||"http://localhost",pg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:au,hasStandardBrowserEnv:dg,hasStandardBrowserWebWorkerEnv:fg,navigator:Zo,origin:mg},Symbol.toStringTag,{value:"Module"})),Ee={...pg,...cg};function hg(e,t){return is(e,new Ee.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return Ee.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function vg(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function yg(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r=n.length;return s=!s&&j.isArray(i)?i.length:s,u?(j.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!j.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&j.isArray(i[s])&&(i[s]=yg(i[s])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(vg(r),i,n,0)}),n}return null}function gg(e,t,n){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ci={transitional:qm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=j.isObject(t);if(l&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i?JSON.stringify(Jm(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t)||j.isReadableStream(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return hg(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return is(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),gg(t)):t}],transformResponse:[function(t){const n=this.transitional||ci.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(j.isResponse(t)||j.isReadableStream(t))return t;if(t&&j.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?b.from(a,b.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:Ee.classes.FormData,Blob:Ee.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{ci.headers[e]={}});const xg=j.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"]),wg=e=>{const t={};let n,r,i;return e&&e.split(` + */var si=O;function ry(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var iy=typeof Object.is=="function"?Object.is:ry,ly=si.useSyncExternalStore,sy=si.useRef,oy=si.useEffect,ay=si.useMemo,uy=si.useDebugValue;gm.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=sy(null);if(l.current===null){var s={hasValue:!1,value:null};l.current=s}else s=l.current;l=ay(function(){function u(g){if(!c){if(c=!0,d=g,g=r(g),i!==void 0&&s.hasValue){var y=s.value;if(i(y,g))return f=y}return f=g}if(y=f,iy(d,g))return y;var w=r(g);return i!==void 0&&i(y,w)?y:(d=g,f=w)}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,r,i]);var a=ly(e,l[0],l[1]);return oy(function(){s.hasValue=!0,s.value=a},[a]),uy(a),a};ym.exports=gm;var cy=ym.exports,Pe="default"in Xs?S:Xs,jc=Symbol.for("react-redux-context"),Sc=typeof globalThis<"u"?globalThis:{};function dy(){if(!Pe.createContext)return{};const e=Sc[jc]??(Sc[jc]=new Map);let t=e.get(Pe.createContext);return t||(t=Pe.createContext(null),e.set(Pe.createContext,t)),t}var Ht=dy(),fy=()=>{throw new Error("uSES not initialized!")};function nu(e=Ht){return function(){return Pe.useContext(e)}}var xm=nu(),wm=fy,my=e=>{wm=e},py=(e,t)=>e===t;function hy(e=Ht){const t=e===Ht?xm:nu(e),n=(r,i={})=>{const{equalityFn:l=py,devModeChecks:s={}}=typeof i=="function"?{equalityFn:i}:i,{store:a,subscription:u,getServerState:c,stabilityCheck:d,identityFunctionCheck:f}=t();Pe.useRef(!0);const v=Pe.useCallback({[r.name](y){return r(y)}}[r.name],[r,d,s.stabilityCheck]),g=wm(u.addNestedSub,a.getState,c||a.getState,v,l);return Pe.useDebugValue(g),g};return Object.assign(n,{withTypes:()=>n}),n}var oi=hy();function vy(e){e()}function yy(){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 r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0;const i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var Ec={notify(){},get:()=>[]};function gy(e,t){let n,r=Ec,i=0,l=!1;function s(w){d();const N=r.subscribe(w);let h=!1;return()=>{h||(h=!0,N(),f())}}function a(){r.notify()}function u(){y.onStateChange&&y.onStateChange()}function c(){return l}function d(){i++,n||(n=e.subscribe(u),r=yy())}function f(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=Ec)}function v(){l||(l=!0,d())}function g(){l&&(l=!1,f())}const y={addNestedSub:s,notifyNestedSubs:a,handleChangeWrapper:u,isSubscribed:c,trySubscribe:v,tryUnsubscribe:g,getListeners:()=>r};return y}var xy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",wy=typeof navigator<"u"&&navigator.product==="ReactNative",Ny=xy||wy?Pe.useLayoutEffect:Pe.useEffect;function jy({store:e,context:t,children:n,serverState:r,stabilityCheck:i="once",identityFunctionCheck:l="once"}){const s=Pe.useMemo(()=>{const c=gy(e);return{store:e,subscription:c,getServerState:r?()=>r:void 0,stabilityCheck:i,identityFunctionCheck:l}},[e,r,i,l]),a=Pe.useMemo(()=>e.getState(),[e]);Ny(()=>{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||Ht;return Pe.createElement(u.Provider,{value:s},n)}var Sy=jy;function Nm(e=Ht){const t=e===Ht?xm:nu(e),n=()=>{const{store:r}=t();return r};return Object.assign(n,{withTypes:()=>n}),n}var Ey=Nm();function ky(e=Ht){const t=e===Ht?Ey:Nm(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}var Gl=ky();my(cy.useSyncExternalStoreWithSelector);function le(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var _y=typeof Symbol=="function"&&Symbol.observable||"@@observable",kc=_y,Us=()=>Math.random().toString(36).substring(7).split("").join("."),Cy={INIT:`@@redux/INIT${Us()}`,REPLACE:`@@redux/REPLACE${Us()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Us()}`},jl=Cy;function ru(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 jm(e,t,n){if(typeof e!="function")throw new Error(le(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(le(1));return n(jm)(e,t)}let r=e,i=t,l=new Map,s=l,a=0,u=!1;function c(){s===l&&(s=new Map,l.forEach((N,h)=>{s.set(h,N)}))}function d(){if(u)throw new Error(le(3));return i}function f(N){if(typeof N!="function")throw new Error(le(4));if(u)throw new Error(le(5));let h=!0;c();const m=a++;return s.set(m,N),function(){if(h){if(u)throw new Error(le(6));h=!1,c(),s.delete(m),l=null}}}function v(N){if(!ru(N))throw new Error(le(7));if(typeof N.type>"u")throw new Error(le(8));if(typeof N.type!="string")throw new Error(le(17));if(u)throw new Error(le(9));try{u=!0,i=r(i,N)}finally{u=!1}return(l=s).forEach(m=>{m()}),N}function g(N){if(typeof N!="function")throw new Error(le(10));r=N,v({type:jl.REPLACE})}function y(){const N=f;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(le(11));function m(){const x=h;x.next&&x.next(d())}return m(),{unsubscribe:N(m)}},[kc](){return this}}}return v({type:jl.INIT}),{dispatch:v,subscribe:f,getState:d,replaceReducer:g,[kc]:y}}function Oy(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:jl.INIT})>"u")throw new Error(le(12));if(typeof n(void 0,{type:jl.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function Py(e){const t=Object.keys(e),n={};for(let l=0;l"u")throw a&&a.type,new Error(le(14));c[f]=y,u=u||y!==g}return u=u||r.length!==Object.keys(s).length,u?c:s}}function Sl(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Ry(...e){return t=>(n,r)=>{const i=t(n,r);let l=()=>{throw new Error(le(15))};const s={getState:i.getState,dispatch:(u,...c)=>l(u,...c)},a=e.map(u=>u(s));return l=Sl(...a)(i.dispatch),{...i,dispatch:l}}}function Ty(e){return ru(e)&&"type"in e&&typeof e.type=="string"}var Sm=Symbol.for("immer-nothing"),_c=Symbol.for("immer-draftable"),be=Symbol.for("immer-state");function Ke(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Xn=Object.getPrototypeOf;function hn(e){return!!e&&!!e[be]}function yt(e){var t;return e?Em(e)||Array.isArray(e)||!!e[_c]||!!((t=e.constructor)!=null&&t[_c])||Yl(e)||Zl(e):!1}var Ly=Object.prototype.constructor.toString();function Em(e){if(!e||typeof e!="object")return!1;const t=Xn(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)===Ly}function El(e,t){Xl(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Xl(e){const t=e[be];return t?t.type_:Array.isArray(e)?1:Yl(e)?2:Zl(e)?3:0}function Vo(e,t){return Xl(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function km(e,t,n){const r=Xl(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function by(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Yl(e){return e instanceof Map}function Zl(e){return e instanceof Set}function en(e){return e.copy_||e.base_}function Qo(e,t){if(Yl(e))return new Map(e);if(Zl(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Em(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[be];let i=Reflect.ownKeys(r);for(let l=0;l1&&(e.set=e.add=e.clear=e.delete=My),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>iu(r,!0))),e}function My(){Ke(2)}function es(e){return Object.isFrozen(e)}var Fy={};function vn(e){const t=Fy[e];return t||Ke(0,e),t}var Gr;function _m(){return Gr}function zy(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function Cc(e,t){t&&(vn("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Ko(e){qo(e),e.drafts_.forEach(Ay),e.drafts_=null}function qo(e){e===Gr&&(Gr=e.parent_)}function Oc(e){return Gr=zy(Gr,e)}function Ay(e){const t=e[be];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Pc(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[be].modified_&&(Ko(t),Ke(4)),yt(e)&&(e=kl(t,e),t.parent_||_l(t,e)),t.patches_&&vn("Patches").generateReplacementPatches_(n[be].base_,e,t.patches_,t.inversePatches_)):e=kl(t,n,[]),Ko(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Sm?e:void 0}function kl(e,t,n){if(es(t))return t;const r=t[be];if(!r)return El(t,(i,l)=>Rc(e,r,t,i,l,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return _l(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let l=i,s=!1;r.type_===3&&(l=new Set(i),i.clear(),s=!0),El(l,(a,u)=>Rc(e,r,i,a,u,n,s)),_l(e,i,!1),n&&e.patches_&&vn("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function Rc(e,t,n,r,i,l,s){if(hn(i)){const a=l&&t&&t.type_!==3&&!Vo(t.assigned_,r)?l.concat(r):void 0,u=kl(e,i,a);if(km(n,r,u),hn(u))e.canAutoFreeze_=!1;else return}else s&&n.add(i);if(yt(i)&&!es(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;kl(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&_l(e,i)}}function _l(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&iu(t,n)}function Dy(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:_m(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,l=lu;n&&(i=[r],l=Xr);const{revoke:s,proxy:a}=Proxy.revocable(i,l);return r.draft_=a,r.revoke_=s,a}var lu={get(e,t){if(t===be)return e;const n=en(e);if(!Vo(n,t))return Iy(e,n,t);const r=n[t];return e.finalized_||!yt(r)?r:r===Bs(e.base_,t)?($s(e),e.copy_[t]=Go(r,e)):r},has(e,t){return t in en(e)},ownKeys(e){return Reflect.ownKeys(en(e))},set(e,t,n){const r=Cm(en(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=Bs(en(e),t),l=i==null?void 0:i[be];if(l&&l.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(by(n,i)&&(n!==void 0||Vo(e.base_,t)))return!0;$s(e),Jo(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 Bs(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,$s(e),Jo(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=en(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Ke(11)},getPrototypeOf(e){return Xn(e.base_)},setPrototypeOf(){Ke(12)}},Xr={};El(lu,(e,t)=>{Xr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});Xr.deleteProperty=function(e,t){return Xr.set.call(this,e,t,void 0)};Xr.set=function(e,t,n){return lu.set.call(this,e[0],t,n,e[0])};function Bs(e,t){const n=e[be];return(n?en(n):e)[t]}function Iy(e,t,n){var i;const r=Cm(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Cm(e,t){if(!(t in e))return;let n=Xn(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Xn(n)}}function Jo(e){e.modified_||(e.modified_=!0,e.parent_&&Jo(e.parent_))}function $s(e){e.copy_||(e.copy_=Qo(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Uy=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{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"&&Ke(6),r!==void 0&&typeof r!="function"&&Ke(7);let i;if(yt(t)){const l=Oc(this),s=Go(t,void 0);let a=!0;try{i=n(s),a=!1}finally{a?Ko(l):qo(l)}return Cc(l,r),Pc(i,l)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Sm&&(i=void 0),this.autoFreeze_&&iu(i,!0),r){const l=[],s=[];vn("Patches").generateReplacementPatches_(t,i,l,s),r(l,s)}return i}else Ke(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,u=>t(u,...a));let r,i;return[this.produce(t,n,(s,a)=>{r=s,i=a}),r,i]},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){yt(e)||Ke(8),hn(e)&&(e=By(e));const t=Oc(this),n=Go(e,void 0);return n[be].isManual_=!0,qo(t),n}finishDraft(e,t){const n=e&&e[be];(!n||!n.isManual_)&&Ke(9);const{scope_:r}=n;return Cc(r,t),Pc(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=vn("Patches").applyPatches_;return hn(e)?r(e,t):this.produce(e,i=>r(i,t))}};function Go(e,t){const n=Yl(e)?vn("MapSet").proxyMap_(e,t):Zl(e)?vn("MapSet").proxySet_(e,t):Dy(e,t);return(t?t.scope_:_m()).drafts_.push(n),n}function By(e){return hn(e)||Ke(10,e),Om(e)}function Om(e){if(!yt(e)||es(e))return e;const t=e[be];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=Qo(e,t.scope_.immer_.useStrictShallowCopy_)}else n=Qo(e,!0);return El(n,(r,i)=>{km(n,r,Om(i))}),t&&(t.finalized_=!1),n}var Me=new Uy,Pm=Me.produce;Me.produceWithPatches.bind(Me);Me.setAutoFreeze.bind(Me);Me.setUseStrictShallowCopy.bind(Me);Me.applyPatches.bind(Me);Me.createDraft.bind(Me);Me.finishDraft.bind(Me);function Rm(e){return({dispatch:n,getState:r})=>i=>l=>typeof l=="function"?l(n,r,e):i(l)}var $y=Rm(),Wy=Rm,Hy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Sl:Sl.apply(null,arguments)},Vy=e=>e&&typeof e.match=="function";function Rr(e,t){function n(...r){if(t){let i=t(...r);if(!i)throw new Error(Ge(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:r[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=r=>Ty(r)&&r.type===e,n}var Tm=class wr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,wr.prototype)}static get[Symbol.species](){return wr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new wr(...t[0].concat(this)):new wr(...t.concat(this))}};function Tc(e){return yt(e)?Pm(e,()=>{}):e}function Lc(e,t,n){if(e.has(t)){let i=e.get(t);return n.update&&(i=n.update(i,t,e),e.set(t,i)),i}if(!n.insert)throw new Error(Ge(10));const r=n.insert(t,e);return e.set(t,r),r}function Qy(e){return typeof e=="boolean"}var Ky=()=>function(t){const{thunk:n=!0,immutableCheck:r=!0,serializableCheck:i=!0,actionCreatorCheck:l=!0}=t??{};let s=new Tm;return n&&(Qy(n)?s.push($y):s.push(Wy(n.extraArgument))),s},qy="RTK_autoBatch",Lm=e=>t=>{setTimeout(t,e)},Jy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Lm(10),Gy=(e={type:"raf"})=>t=>(...n)=>{const r=t(...n);let i=!0,l=!1,s=!1;const a=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?Jy:e.type==="callback"?e.queueNotification:Lm(e.timeout),c=()=>{s=!1,l&&(l=!1,a.forEach(d=>d()))};return Object.assign({},r,{subscribe(d){const f=()=>i&&d(),v=r.subscribe(f);return a.add(d),()=>{v(),a.delete(d)}},dispatch(d){var f;try{return i=!((f=d==null?void 0:d.meta)!=null&&f[qy]),l=!i,l&&(s||(s=!0,u(c))),r.dispatch(d)}finally{i=!0}}})},Xy=e=>function(n){const{autoBatch:r=!0}=n??{};let i=new Tm(e);return r&&i.push(Gy(typeof r=="object"?r:void 0)),i};function Yy(e){const t=Ky(),{reducer:n=void 0,middleware:r,devTools:i=!0,preloadedState:l=void 0,enhancers:s=void 0}=e||{};let a;if(typeof n=="function")a=n;else if(ru(n))a=Py(n);else throw new Error(Ge(1));let u;typeof r=="function"?u=r(t):u=t();let c=Sl;i&&(c=Hy({trace:!1,...typeof i=="object"&&i}));const d=Ry(...u),f=Xy(d);let v=typeof s=="function"?s(f):f();const g=c(...v);return jm(a,l,g)}function bm(e){const t={},n=[];let r;const i={addCase(l,s){const a=typeof l=="string"?l:l.type;if(!a)throw new Error(Ge(28));if(a in t)throw new Error(Ge(29));return t[a]=s,i},addMatcher(l,s){return n.push({matcher:l,reducer:s}),i},addDefaultCase(l){return r=l,i}};return e(i),[t,n,r]}function Zy(e){return typeof e=="function"}function e0(e,t){let[n,r,i]=bm(t),l;if(Zy(e))l=()=>Tc(e());else{const a=Tc(e);l=()=>a}function s(a=l(),u){let c=[n[u.type],...r.filter(({matcher:d})=>d(u)).map(({reducer:d})=>d)];return c.filter(d=>!!d).length===0&&(c=[i]),c.reduce((d,f)=>{if(f)if(hn(d)){const g=f(d,u);return g===void 0?d:g}else{if(yt(d))return Pm(d,v=>f(v,u));{const v=f(d,u);if(v===void 0){if(d===null)return d;throw new Error(Ge(9))}return v}}return d},a)}return s.getInitialState=l,s}var t0=(e,t)=>Vy(e)?e.match(t):e(t);function n0(...e){return t=>e.some(n=>t0(n,t))}var r0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",i0=(e=21)=>{let t="",n=e;for(;n--;)t+=r0[Math.random()*64|0];return t},l0=["name","message","stack","code"],Ws=class{constructor(e,t){ms(this,"_type");this.payload=e,this.meta=t}},bc=class{constructor(e,t){ms(this,"_type");this.payload=e,this.meta=t}},s0=e=>{if(typeof e=="object"&&e!==null){const t={};for(const n of l0)typeof e[n]=="string"&&(t[n]=e[n]);return t}return{message:String(e)}},ai=(()=>{function e(t,n,r){const i=Rr(t+"/fulfilled",(u,c,d,f)=>({payload:u,meta:{...f||{},arg:d,requestId:c,requestStatus:"fulfilled"}})),l=Rr(t+"/pending",(u,c,d)=>({payload:void 0,meta:{...d||{},arg:c,requestId:u,requestStatus:"pending"}})),s=Rr(t+"/rejected",(u,c,d,f,v)=>({payload:f,error:(r&&r.serializeError||s0)(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=r!=null&&r.idGenerator?r.idGenerator(u):i0(),g=new AbortController;let y,w;function N(m){w=m,g.abort()}const h=async function(){var x,E;let m;try{let k=(x=r==null?void 0:r.condition)==null?void 0:x.call(r,u,{getState:d,extra:f});if(a0(k)&&(k=await k),k===!1||g.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};const P=new Promise((C,z)=>{y=()=>{z({name:"AbortError",message:w||"Aborted"})},g.signal.addEventListener("abort",y)});c(l(v,u,(E=r==null?void 0:r.getPendingMeta)==null?void 0:E.call(r,{requestId:v,arg:u},{getState:d,extra:f}))),m=await Promise.race([P,Promise.resolve(n(u,{dispatch:c,getState:d,extra:f,requestId:v,signal:g.signal,abort:N,rejectWithValue:(C,z)=>new Ws(C,z),fulfillWithValue:(C,z)=>new bc(C,z)})).then(C=>{if(C instanceof Ws)throw C;return C instanceof bc?i(C.payload,v,u,C.meta):i(C,v,u)})])}catch(k){m=k instanceof Ws?s(null,v,u,k.payload,k.meta):s(k,v,u)}finally{y&&g.signal.removeEventListener("abort",y)}return r&&!r.dispatchConditionRejection&&s.match(m)&&m.meta.condition||c(m),m}();return Object.assign(h,{abort:N,requestId:v,arg:u,unwrap(){return h.then(o0)}})}}return Object.assign(a,{pending:l,rejected:s,fulfilled:i,settled:n0(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function o0(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function a0(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var u0=Symbol.for("rtk-slice-createasyncthunk");function c0(e,t){return`${e}/${t}`}function d0({creators:e}={}){var n;const t=(n=e==null?void 0:e.asyncThunk)==null?void 0:n[u0];return function(i){const{name:l,reducerPath:s=l}=i;if(!l)throw new Error(Ge(11));typeof process<"u";const a=(typeof i.reducers=="function"?i.reducers(m0()):i.reducers)||{},u=Object.keys(a),c={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},d={addCase(p,x){const E=typeof p=="string"?p:p.type;if(!E)throw new Error(Ge(12));if(E in c.sliceCaseReducersByType)throw new Error(Ge(13));return c.sliceCaseReducersByType[E]=x,d},addMatcher(p,x){return c.sliceMatchers.push({matcher:p,reducer:x}),d},exposeAction(p,x){return c.actionCreators[p]=x,d},exposeCaseReducer(p,x){return c.sliceCaseReducersByName[p]=x,d}};u.forEach(p=>{const x=a[p],E={reducerName:p,type:c0(l,p),createNotation:typeof i.reducers=="function"};h0(x)?y0(E,x,d,t):p0(E,x,d)});function f(){const[p={},x=[],E=void 0]=typeof i.extraReducers=="function"?bm(i.extraReducers):[i.extraReducers],k={...p,...c.sliceCaseReducersByType};return e0(i.initialState,P=>{for(let C in k)P.addCase(C,k[C]);for(let C of c.sliceMatchers)P.addMatcher(C.matcher,C.reducer);for(let C of x)P.addMatcher(C.matcher,C.reducer);E&&P.addDefaultCase(E)})}const v=p=>p,g=new Map;let y;function w(p,x){return y||(y=f()),y(p,x)}function N(){return y||(y=f()),y.getInitialState()}function h(p,x=!1){function E(P){let C=P[p];return typeof C>"u"&&x&&(C=N()),C}function k(P=v){const C=Lc(g,x,{insert:()=>new WeakMap});return Lc(C,P,{insert:()=>{const z={};for(const[L,me]of Object.entries(i.selectors??{}))z[L]=f0(me,P,N,x);return z}})}return{reducerPath:p,getSelectors:k,get selectors(){return k(E)},selectSlice:E}}const m={name:l,reducer:w,actions:c.actionCreators,caseReducers:c.sliceCaseReducersByName,getInitialState:N,...h(s),injectInto(p,{reducerPath:x,...E}={}){const k=x??s;return p.inject({reducerPath:k,reducer:w},E),{...m,...h(k,!0)}}};return m}}function f0(e,t,n,r){function i(l,...s){let a=t(l);return typeof a>"u"&&r&&(a=n()),e(a,...s)}return i.unwrapped=e,i}var Mm=d0();function m0(){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 p0({type:e,reducerName:t,createNotation:n},r,i){let l,s;if("reducer"in r){if(n&&!v0(r))throw new Error(Ge(17));l=r.reducer,s=r.prepare}else l=r;i.addCase(e,l).exposeCaseReducer(t,l).exposeAction(t,s?Rr(e,s):Rr(e))}function h0(e){return e._reducerDefinitionType==="asyncThunk"}function v0(e){return e._reducerDefinitionType==="reducerWithPrepare"}function y0({type:e,reducerName:t},n,r,i){if(!i)throw new Error(Ge(18));const{payloadCreator:l,fulfilled:s,pending:a,rejected:u,settled:c,options:d}=n,f=i(e,l,d);r.exposeAction(t,f),s&&r.addCase(f.fulfilled,s),a&&r.addCase(f.pending,a),u&&r.addCase(f.rejected,u),c&&r.addMatcher(f.settled,c),r.exposeCaseReducer(t,{fulfilled:s||bi,pending:a||bi,rejected:u||bi,settled:c||bi})}function bi(){}function Ge(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 Fm(e,t){return function(){return e.apply(t,arguments)}}const{toString:g0}=Object.prototype,{getPrototypeOf:su}=Object,ts=(e=>t=>{const n=g0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ye=e=>(e=e.toLowerCase(),t=>ts(t)===e),ns=e=>t=>typeof t===e,{isArray:nr}=Array,Yr=ns("undefined");function x0(e){return e!==null&&!Yr(e)&&e.constructor!==null&&!Yr(e.constructor)&&Te(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zm=Ye("ArrayBuffer");function w0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&zm(e.buffer),t}const N0=ns("string"),Te=ns("function"),Am=ns("number"),rs=e=>e!==null&&typeof e=="object",j0=e=>e===!0||e===!1,Ki=e=>{if(ts(e)!=="object")return!1;const t=su(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},S0=Ye("Date"),E0=Ye("File"),k0=Ye("Blob"),_0=Ye("FileList"),C0=e=>rs(e)&&Te(e.pipe),O0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Te(e.append)&&((t=ts(e))==="formdata"||t==="object"&&Te(e.toString)&&e.toString()==="[object FormData]"))},P0=Ye("URLSearchParams"),[R0,T0,L0,b0]=["ReadableStream","Request","Response","Headers"].map(Ye),M0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ui(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),nr(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const sn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Im=e=>!Yr(e)&&e!==sn;function Xo(){const{caseless:e}=Im(this)&&this||{},t={},n=(r,i)=>{const l=e&&Dm(t,i)||i;Ki(t[l])&&Ki(r)?t[l]=Xo(t[l],r):Ki(r)?t[l]=Xo({},r):nr(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r(ui(t,(i,l)=>{n&&Te(i)?e[l]=Fm(i,n):e[l]=i},{allOwnKeys:r}),e),z0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),A0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},D0=(e,t,n,r)=>{let i,l,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)s=i[l],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&su(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},I0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},U0=e=>{if(!e)return null;if(nr(e))return e;let t=e.length;if(!Am(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},B0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&su(Uint8Array)),$0=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},W0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},H0=Ye("HTMLFormElement"),V0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Mc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Q0=Ye("RegExp"),Um=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ui(n,(i,l)=>{let s;(s=t(i,l,e))!==!1&&(r[l]=s||i)}),Object.defineProperties(e,r)},K0=e=>{Um(e,(t,n)=>{if(Te(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Te(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},q0=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return nr(e)?r(e):r(String(e).split(t)),n},J0=()=>{},G0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Hs="abcdefghijklmnopqrstuvwxyz",Fc="0123456789",Bm={DIGIT:Fc,ALPHA:Hs,ALPHA_DIGIT:Hs+Hs.toUpperCase()+Fc},X0=(e=16,t=Bm.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Y0(e){return!!(e&&Te(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Z0=e=>{const t=new Array(10),n=(r,i)=>{if(rs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=nr(r)?[]:{};return ui(r,(s,a)=>{const u=n(s,i+1);!Yr(u)&&(l[a]=u)}),t[i]=void 0,l}}return r};return n(e,0)},eg=Ye("AsyncFunction"),tg=e=>e&&(rs(e)||Te(e))&&Te(e.then)&&Te(e.catch),$m=((e,t)=>e?setImmediate:t?((n,r)=>(sn.addEventListener("message",({source:i,data:l})=>{i===sn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),sn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Te(sn.postMessage)),ng=typeof queueMicrotask<"u"?queueMicrotask.bind(sn):typeof process<"u"&&process.nextTick||$m,j={isArray:nr,isArrayBuffer:zm,isBuffer:x0,isFormData:O0,isArrayBufferView:w0,isString:N0,isNumber:Am,isBoolean:j0,isObject:rs,isPlainObject:Ki,isReadableStream:R0,isRequest:T0,isResponse:L0,isHeaders:b0,isUndefined:Yr,isDate:S0,isFile:E0,isBlob:k0,isRegExp:Q0,isFunction:Te,isStream:C0,isURLSearchParams:P0,isTypedArray:B0,isFileList:_0,forEach:ui,merge:Xo,extend:F0,trim:M0,stripBOM:z0,inherits:A0,toFlatObject:D0,kindOf:ts,kindOfTest:Ye,endsWith:I0,toArray:U0,forEachEntry:$0,matchAll:W0,isHTMLForm:H0,hasOwnProperty:Mc,hasOwnProp:Mc,reduceDescriptors:Um,freezeMethods:K0,toObjectSet:q0,toCamelCase:V0,noop:J0,toFiniteNumber:G0,findKey:Dm,global:sn,isContextDefined:Im,ALPHABET:Bm,generateString:X0,isSpecCompliantForm:Y0,toJSONObject:Z0,isAsyncFn:eg,isThenable:tg,setImmediate:$m,asap:ng};function b(e,t,n,r,i){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),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}j.inherits(b,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:j.toJSONObject(this.config),code:this.code,status:this.status}}});const Wm=b.prototype,Hm={};["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=>{Hm[e]={value:e}});Object.defineProperties(b,Hm);Object.defineProperty(Wm,"isAxiosError",{value:!0});b.from=(e,t,n,r,i,l)=>{const s=Object.create(Wm);return j.toFlatObject(e,s,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),b.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,l&&Object.assign(s,l),s};const rg=null;function Yo(e){return j.isPlainObject(e)||j.isArray(e)}function Vm(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function zc(e,t,n){return e?e.concat(t).map(function(i,l){return i=Vm(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function ig(e){return j.isArray(e)&&!e.some(Yo)}const lg=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function is(e,t,n){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,N){return!j.isUndefined(N[w])});const r=n.metaTokens,i=n.visitor||d,l=n.dots,s=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(i))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(j.isDate(y))return y.toISOString();if(!u&&j.isBlob(y))throw new b("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(y)||j.isTypedArray(y)?u&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,w,N){let h=y;if(y&&!N&&typeof y=="object"){if(j.endsWith(w,"{}"))w=r?w:w.slice(0,-2),y=JSON.stringify(y);else if(j.isArray(y)&&ig(y)||(j.isFileList(y)||j.endsWith(w,"[]"))&&(h=j.toArray(y)))return w=Vm(w),h.forEach(function(p,x){!(j.isUndefined(p)||p===null)&&t.append(s===!0?zc([w],x,l):s===null?w:w+"[]",c(p))}),!1}return Yo(y)?!0:(t.append(zc(N,w,l),c(y)),!1)}const f=[],v=Object.assign(lg,{defaultVisitor:d,convertValue:c,isVisitable:Yo});function g(y,w){if(!j.isUndefined(y)){if(f.indexOf(y)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(y),j.forEach(y,function(h,m){(!(j.isUndefined(h)||h===null)&&i.call(t,h,j.isString(m)?m.trim():m,w,v))===!0&&g(h,w?w.concat(m):[m])}),f.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Ac(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ou(e,t){this._pairs=[],e&&is(e,this,t)}const Qm=ou.prototype;Qm.append=function(t,n){this._pairs.push([t,n])};Qm.toString=function(t){const n=t?function(r){return t.call(this,r,Ac)}:Ac;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function sg(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Km(e,t,n){if(!t)return e;const r=n&&n.encode||sg,i=n&&n.serialize;let l;if(i?l=i(t,n):l=j.isURLSearchParams(t)?t.toString():new ou(t,n).toString(r),l){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Dc{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const qm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},og=typeof URLSearchParams<"u"?URLSearchParams:ou,ag=typeof FormData<"u"?FormData:null,ug=typeof Blob<"u"?Blob:null,cg={isBrowser:!0,classes:{URLSearchParams:og,FormData:ag,Blob:ug},protocols:["http","https","file","blob","url","data"]},au=typeof window<"u"&&typeof document<"u",Zo=typeof navigator=="object"&&navigator||void 0,dg=au&&(!Zo||["ReactNative","NativeScript","NS"].indexOf(Zo.product)<0),fg=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",mg=au&&window.location.href||"http://localhost",pg=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:au,hasStandardBrowserEnv:dg,hasStandardBrowserWebWorkerEnv:fg,navigator:Zo,origin:mg},Symbol.toStringTag,{value:"Module"})),Ee={...pg,...cg};function hg(e,t){return is(e,new Ee.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return Ee.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function vg(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function yg(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r=n.length;return s=!s&&j.isArray(i)?i.length:s,u?(j.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!j.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],l)&&j.isArray(i[s])&&(i[s]=yg(i[s])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(vg(r),i,n,0)}),n}return null}function gg(e,t,n){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ci={transitional:qm,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=j.isObject(t);if(l&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i?JSON.stringify(Jm(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t)||j.isReadableStream(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return hg(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return is(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),gg(t)):t}],transformResponse:[function(t){const n=this.transitional||ci.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(j.isResponse(t)||j.isReadableStream(t))return t;if(t&&j.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?b.from(a,b.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:Ee.classes.FormData,Blob:Ee.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{ci.headers[e]={}});const xg=j.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"]),wg=e=>{const t={};let n,r,i;return e&&e.split(` `).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&xg[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ic=Symbol("internals");function hr(e){return e&&String(e).trim().toLowerCase()}function qi(e){return e===!1||e==null?e:j.isArray(e)?e.map(qi):String(e)}function Ng(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const jg=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vs(e,t,n,r,i){if(j.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function Sg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Eg(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,s){return this[r].call(this,t,i,l,s)},configurable:!0})})}class ke{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(a,u,c){const d=hr(u);if(!d)throw new Error("header name must be a non-empty string");const f=j.findKey(i,d);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||u]=qi(a))}const s=(a,u)=>j.forEach(a,(c,d)=>l(c,d,u));if(j.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(j.isString(t)&&(t=t.trim())&&!jg(t))s(wg(t),n);else if(j.isHeaders(t))for(const[a,u]of t.entries())l(u,a,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=hr(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return Ng(i);if(j.isFunction(n))return n.call(this,i,r);if(j.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=hr(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Vs(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(s){if(s=hr(s),s){const a=j.findKey(r,s);a&&(!n||Vs(r,r[a],a,n))&&(delete r[a],i=!0)}}return j.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||Vs(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,l)=>{const s=j.findKey(r,l);if(s){n[s]=qi(i),delete n[l];return}const a=t?Sg(l):String(l).trim();a!==l&&delete n[l],n[a]=qi(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&j.isArray(r)?r.join(", "):r)}),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 r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Ic]=this[Ic]={accessors:{}}).accessors,i=this.prototype;function l(s){const a=hr(s);r[a]||(Eg(i,s),r[a]=!0)}return j.isArray(t)?t.forEach(l):l(t),this}}ke.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(ke.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(ke);function Qs(e,t){const n=this||ci,r=t||n,i=ke.from(r.headers);let l=r.data;return j.forEach(e,function(a){l=a.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function Gm(e){return!!(e&&e.__CANCEL__)}function rr(e,t,n){b.call(this,e??"canceled",b.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(rr,b,{__CANCEL__:!0});function Xm(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new b("Request failed with status code "+n.status,[b.ERR_BAD_REQUEST,b.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function kg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function _g(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,s;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=r[l];s||(s=c),n[i]=u,r[i]=c;let f=l,v=0;for(;f!==i;)v+=n[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-s{n=d,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const d=Date.now(),f=d-n;f>=r?s(c,d):(i=c,l||(l=setTimeout(()=>{l=null,s(i)},r-f)))},()=>i&&s(i)]}const Cl=(e,t,n=3)=>{let r=0;const i=_g(50,250);return Cg(l=>{const s=l.loaded,a=l.lengthComputable?l.total:void 0,u=s-r,c=i(u),d=s<=a;r=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)},Uc=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Bc=e=>(...t)=>j.asap(()=>e(...t)),Og=Ee.hasStandardBrowserEnv?function(){const t=Ee.navigator&&/(msie|trident)/i.test(Ee.navigator.userAgent),n=document.createElement("a");let r;function i(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 r=i(window.location.href),function(s){const a=j.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),Pg=Ee.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const s=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),j.isString(r)&&s.push("path="+r),j.isString(i)&&s.push("domain="+i),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 Rg(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Tg(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ym(e,t){return e&&!Rg(t)?Tg(e,t):t}const $c=e=>e instanceof ke?{...e}:e;function yn(e,t){t=t||{};const n={};function r(c,d,f){return j.isPlainObject(c)&&j.isPlainObject(d)?j.merge.call({caseless:f},c,d):j.isPlainObject(d)?j.merge({},d):j.isArray(d)?d.slice():d}function i(c,d,f){if(j.isUndefined(d)){if(!j.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function l(c,d){if(!j.isUndefined(d))return r(void 0,d)}function s(c,d){if(j.isUndefined(d)){if(!j.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function a(c,d,f){if(f in t)return r(c,d);if(f in e)return r(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)=>i($c(c),$c(d),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=u[d]||i,v=f(e[d],t[d],d);j.isUndefined(v)&&f!==a||(n[d]=v)}),n}const Zm=e=>{const t=yn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:a}=t;t.headers=s=ke.from(s),t.url=Km(Ym(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(j.isFormData(n)){if(Ee.hasStandardBrowserEnv||Ee.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(Ee.hasStandardBrowserEnv&&(r&&j.isFunction(r)&&(r=r(t)),r||r!==!1&&Og(t.url))){const c=i&&l&&Pg.read(l);c&&s.set(i,c)}return t},Lg=typeof XMLHttpRequest<"u",bg=Lg&&function(e){return new Promise(function(n,r){const i=Zm(e);let l=i.data;const s=ke.from(i.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:c}=i,d,f,v,g,y;function w(){g&&g(),y&&y(),i.cancelToken&&i.cancelToken.unsubscribe(d),i.signal&&i.signal.removeEventListener("abort",d)}let N=new XMLHttpRequest;N.open(i.method.toUpperCase(),i.url,!0),N.timeout=i.timeout;function h(){if(!N)return;const p=ke.from("getAllResponseHeaders"in N&&N.getAllResponseHeaders()),E={data:!a||a==="text"||a==="json"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:p,config:e,request:N};Xm(function(P){n(P),w()},function(P){r(P),w()},E),N=null}"onloadend"in N?N.onloadend=h:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf("file:")===0)||setTimeout(h)},N.onabort=function(){N&&(r(new b("Request aborted",b.ECONNABORTED,e,N)),N=null)},N.onerror=function(){r(new b("Network Error",b.ERR_NETWORK,e,N)),N=null},N.ontimeout=function(){let x=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||qm;i.timeoutErrorMessage&&(x=i.timeoutErrorMessage),r(new b(x,E.clarifyTimeoutError?b.ETIMEDOUT:b.ECONNABORTED,e,N)),N=null},l===void 0&&s.setContentType(null),"setRequestHeader"in N&&j.forEach(s.toJSON(),function(x,E){N.setRequestHeader(E,x)}),j.isUndefined(i.withCredentials)||(N.withCredentials=!!i.withCredentials),a&&a!=="json"&&(N.responseType=i.responseType),c&&([v,y]=Cl(c,!0),N.addEventListener("progress",v)),u&&N.upload&&([f,g]=Cl(u),N.upload.addEventListener("progress",f),N.upload.addEventListener("loadend",g)),(i.cancelToken||i.signal)&&(d=p=>{N&&(r(!p||p.type?new rr(null,e,N):p),N.abort(),N=null)},i.cancelToken&&i.cancelToken.subscribe(d),i.signal&&(i.signal.aborted?d():i.signal.addEventListener("abort",d)));const m=kg(i.url);if(m&&Ee.protocols.indexOf(m)===-1){r(new b("Unsupported protocol "+m+":",b.ERR_BAD_REQUEST,e));return}N.send(l||null)})},Mg=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const l=function(c){if(!i){i=!0,a();const d=c instanceof Error?c:this.reason;r.abort(d instanceof b?d:new rr(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,l(new b(`timeout ${t} of ms exceeded`,b.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}=r;return u.unsubscribe=()=>j.asap(a),u}},Fg=function*(e,t){let n=e.byteLength;if(!t||n{const i=zg(e,t);let l=0,s,a=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await i.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),i.return()}},{highWaterMark:2})},ls=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ep=ls&&typeof ReadableStream=="function",Dg=ls&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),tp=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Ig=ep&&tp(()=>{let e=!1;const t=new Request(Ee.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Hc=64*1024,ea=ep&&tp(()=>j.isReadableStream(new Response("").body)),Ol={stream:ea&&(e=>e.body)};ls&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Ol[t]&&(Ol[t]=j.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new b(`Response type '${t}' is not supported`,b.ERR_NOT_SUPPORT,r)})})})(new Response);const Ug=async e=>{if(e==null)return 0;if(j.isBlob(e))return e.size;if(j.isSpecCompliantForm(e))return(await new Request(Ee.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(j.isArrayBufferView(e)||j.isArrayBuffer(e))return e.byteLength;if(j.isURLSearchParams(e)&&(e=e+""),j.isString(e))return(await Dg(e)).byteLength},Bg=async(e,t)=>{const n=j.toFiniteNumber(e.getContentLength());return n??Ug(t)},$g=ls&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:s,onDownloadProgress:a,onUploadProgress:u,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:v}=Zm(e);c=c?(c+"").toLowerCase():"text";let g=Mg([i,l&&l.toAbortSignal()],s),y;const w=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let N;try{if(u&&Ig&&n!=="get"&&n!=="head"&&(N=await Bg(d,r))!==0){let E=new Request(t,{method:"POST",body:r,duplex:"half"}),k;if(j.isFormData(r)&&(k=E.headers.get("content-type"))&&d.setContentType(k),E.body){const[P,C]=Uc(N,Cl(Bc(u)));r=Wc(E.body,Hc,P,C)}}j.isString(f)||(f=f?"include":"omit");const h="credentials"in Request.prototype;y=new Request(t,{...v,signal:g,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:h?f:void 0});let m=await fetch(y);const p=ea&&(c==="stream"||c==="response");if(ea&&(a||p&&w)){const E={};["status","statusText","headers"].forEach(z=>{E[z]=m[z]});const k=j.toFiniteNumber(m.headers.get("content-length")),[P,C]=a&&Uc(k,Cl(Bc(a),!0))||[];m=new Response(Wc(m.body,Hc,P,()=>{C&&C(),w&&w()}),E)}c=c||"text";let x=await Ol[j.findKey(Ol,c)||"text"](m,e);return!p&&w&&w(),await new Promise((E,k)=>{Xm(E,k,{data:x,headers:ke.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:y})})}catch(h){throw w&&w(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new b("Network Error",b.ERR_NETWORK,e,y),{cause:h.cause||h}):b.from(h,h&&h.code,e,y)}}),ta={http:rg,xhr:bg,fetch:$g};j.forEach(ta,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Vc=e=>`- ${e}`,Wg=e=>j.isFunction(e)||e===null||e===!1,np={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l`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(Vc).join(` @@ -77,4 +77,4 @@ Error generating stack: `+l.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function W1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function H1(e,t){return e.button===0&&(!t||t==="_self")&&!W1(e)}const V1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Q1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],K1="6";try{window.__reactRouterVersion=K1}catch{}const q1=O.createContext({isTransitioning:!1}),J1="startTransition",Yc=Xs[J1];function G1(e){let{basename:t,children:n,future:r,window:i}=e,l=O.useRef();l.current==null&&(l.current=n1({window:i,v5Compat:!0}));let s=l.current,[a,u]=O.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},d=O.useCallback(f=>{c&&Yc?Yc(()=>u(f)):u(f)},[u,c]);return O.useLayoutEffect(()=>s.listen(d),[s,d]),O.createElement(B1,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const X1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Y1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Z1=O.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=gp(t,V1),{basename:g}=O.useContext(qt),y,w=!1;if(typeof c=="string"&&Y1.test(c)&&(y=c,X1))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),E=Yn(x.pathname,g);x.origin===p.origin&&E!=null?c=E+x.search+x.hash:w=!0}catch{}let N=C1(c,{relative:i}),h=tx(c,{replace:s,state:a,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return O.createElement("a",Ll({},v,{href:y||N,onClick:w||l?r:m,ref:n,target:u}))}),ze=O.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:u,unstable_viewTransition:c,children:d}=t,f=gp(t,Q1),v=us(u,{relative:f.relative}),g=fi(),y=O.useContext(fp),{navigator:w,basename:N}=O.useContext(qt),h=y!=null&&nx(v)&&c===!0,m=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=g.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&N&&(x=Yn(x,N)||x);const E=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let k=p===m||!s&&p.startsWith(m)&&p.charAt(E)==="/",P=x!=null&&(x===m||!s&&x.startsWith(m)&&x.charAt(m.length)==="/"),C={isActive:k,isPending:P,isTransitioning:h},z=k?r:void 0,L;typeof l=="function"?L=l(C):L=[l,k?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let me=typeof a=="function"?a(C):a;return O.createElement(Z1,Ll({},f,{"aria-current":z,className:L,ref:n,style:me,to:u,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var sa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(sa||(sa={}));var Zc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zc||(Zc={}));function ex(e){let t=O.useContext(os);return t||J(!1),t}function tx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=mi(),c=fi(),d=us(e,{relative:s});return O.useCallback(f=>{if(H1(f,n)){f.preventDefault();let v=r!==void 0?r:Pl(c)===Pl(d);u(e,{replace:v,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,d,r,i,n,e,l,s,a])}function nx(e,t){t===void 0&&(t={});let n=O.useContext(q1);n==null&&J(!1);let{basename:r}=ex(sa.useViewTransitionState),i=us(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Yn(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Yn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rl(i.pathname,s)!=null||Rl(i.pathname,l)!=null}const xt=()=>{const e=new Date().getFullYear();return o.jsx(o.Fragment,{children:o.jsxs("div",{children:[o.jsx("div",{className:"footer_section layout_padding",children:o.jsxs("div",{className:"container",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12"})}),o.jsx("div",{className:"footer_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),o.jsx("div",{className:"footer_menu",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"index.html",children:"Home"})}),o.jsx("li",{children:o.jsx("a",{href:"about.html",children:"About"})}),o.jsx("li",{children:o.jsx("a",{href:"services.html",children:"Services"})}),o.jsx("li",{children:o.jsx("a",{href:"projects.html",children:"Projects"})}),o.jsx("li",{children:o.jsx("a",{href:"contact.html",children:"Contact Us"})})]})})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),o.jsx("p",{className:"lorem_text",children:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem"})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),o.jsxs("div",{className:"form-group",children:[o.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),o.jsx("div",{className:"subscribe_bt",children:o.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),o.jsx("div",{className:"social_icon",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),o.jsx("div",{className:"copyright_section",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},rx="/assets/logo-Cb1x1exd.png",wt=()=>{var i,l;const{user:e}=oi(s=>({...s.auth})),t=Gl(),n=mi(),r=()=>{t(Xg()),n("/")};return o.jsx(o.Fragment,{children:o.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:o.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[o.jsxs("div",{className:"d-flex align-items-center",children:[o.jsx("img",{src:rx,alt:"logo",width:"75",height:"75",className:"img-fluid"}),o.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),o.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[o.jsxs("ul",{className:"navbar-nav ml-auto",children:[o.jsx("li",{className:"nav-item active",children:o.jsx(ze,{to:"/",className:"nav-link",children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ze,{to:"/services",className:"nav-link",children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ze,{to:"/about",className:"nav-link",children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ze,{to:"/projects",className:"nav-link",children:"Project"})}),o.jsx("li",{className:"nav-item",children:o.jsx(ze,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(ze,{to:"/dashboard",children:"Dashboard"}):o.jsx(ze,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(ze,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):o.jsx(ze,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},ix=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{children:[o.jsx("div",{className:"header_section",children:o.jsx("div",{className:"banner_section layout_padding",children:o.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),o.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),o.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),o.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),o.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:o.jsx("i",{className:"fa fa-angle-left"})}),o.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:o.jsx("i",{className:"fa fa-angle-right"})})]})})}),o.jsx("div",{className:"services_section layout_padding",children:o.jsxs("div",{className:"container-fluid",children:[o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-sm-12",children:[o.jsx("h1",{className:"services_taital",children:"Our Services"}),o.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),o.jsx("div",{className:"services_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main active",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-1.png"})}),o.jsx("h4",{className:"development_text",children:"Dedication Services"}),o.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-2.png"})}),o.jsx("h4",{className:"development_text",children:"Building work Reports"}),o.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-3.png"})}),o.jsx("h4",{className:"development_text",children:"Reporting continuously"}),o.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-4.png"})}),o.jsx("h4",{className:"development_text",children:"Manage your investment "}),o.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),o.jsxs("div",{className:"projects_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-md-12",children:[o.jsx("h1",{className:"projects_taital",children:"Projects"}),o.jsx("div",{className:"nav-tabs-navigation",children:o.jsx("div",{className:"nav-tabs-wrapper",children:o.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),o.jsx("div",{className:"projects_section_2 layout_padding",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"pets_section",children:o.jsx("div",{className:"pets_section_2",children:o.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]})]}),o.jsx(xt,{})]}),lx=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"about_section layout_padding",children:[o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("h1",{className:"about_taital",children:"About Us"}),o.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),o.jsx("div",{className:"read_bt_1",children:o.jsx("a",{href:"#",children:"Read More"})})]}),o.jsx("div",{className:"col-md-6",children:o.jsx("div",{className:"about_img",children:o.jsx("div",{className:"video_bt",children:o.jsx("div",{className:"play_icon",children:o.jsx("img",{src:"images/play-icon.png"})})})})})]})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{})]}),o.jsx(xt,{})]}),sx=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-6",children:o.jsx("form",{action:!0,children:o.jsxs("div",{className:"mail_section_1",children:[o.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),o.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),o.jsx("div",{className:"send_bt",children:o.jsx("a",{href:"#",children:"SEND"})})]})})}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img",children:o.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),o.jsx(xt,{})]}),du=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",xp=e=>typeof e=="function",ox=e=>O.isValidElement(e)||Tr(e)||xp(e)||du(e),it=new Map;let oa=[];const ed=new Set,wp=()=>it.size>0;function ax(e,t){var n;if(t)return!((n=it.get(t))==null||!n.isToastActive(e));let r=!1;return it.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function ux(e,t){ox(e)&&(wp()||oa.push({content:e,options:t}),it.forEach(n=>{n.buildToast(e,t)}))}function td(e,t){it.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}let cx=1;const Np=()=>""+cx++;function dx(e){return e&&(Tr(e.toastId)||du(e.toastId))?e.toastId:Np()}function Lr(e,t){return ux(e,t),t.toastId}function bl(e,t){return{...t,type:t&&t.type||e,toastId:dx(t)}}function Mi(e){return(t,n)=>Lr(t,bl(e,n))}function D(e,t){return Lr(e,bl("default",t))}D.loading=(e,t)=>Lr(e,bl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),D.promise=function(e,t,n){let r,{pending:i,error:l,success:s}=t;i&&(r=Tr(i)?D.loading(i,n):D.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,v)=>{if(f==null)return void D.dismiss(r);const g={type:d,...a,...n,data:v},y=Tr(f)?{render:f}:f;return r?D.update(r,{...g,...y}):D(y.render,{...g,...y}),v},c=xp(e)?e():e;return c.then(d=>u("success",s,d)).catch(d=>u("error",l,d)),c},D.success=Mi("success"),D.info=Mi("info"),D.error=Mi("error"),D.warning=Mi("warning"),D.warn=D.warning,D.dark=(e,t)=>Lr(e,bl("default",{theme:"dark",...t})),D.dismiss=function(e){(function(t){var n;if(wp()){if(t==null||Tr(n=t)||du(n))it.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=it.get(t.containerId);r?r.removeToast(t.id):it.forEach(i=>{i.removeToast(t.id)})}}else oa=oa.filter(r=>t!=null&&r.options.toastId!==t)})(e)},D.clearWaitingQueue=function(e){e===void 0&&(e={}),it.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},D.isActive=ax,D.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:s}=i;return(l=it.get(s||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:Np()};l.toastId!==e&&(l.staleId=e);const s=l.render||i;delete l.render,Lr(s,l)}},D.done=e=>{D.update(e,{progress:1})},D.onChange=function(e){return ed.add(e),()=>{ed.delete(e)}},D.play=e=>td(!0,e),D.pause=e=>td(!1,e);var at=function(){return at=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=O.useState(zx),[n,r]=O.useState(!1),{loading:i,error:l}=oi(E=>({...E.auth})),{title:s,email:a,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:v,termsconditions:g,userType:y}=e,w=Gl(),N=mi();O.useEffect(()=>{l&&D.error(l)},[l]),O.useEffect(()=>{r(s!=="None"&&a&&u&&c&&d&&f&&v&&g&&y!=="")},[s,a,u,c,d,f,v,g,y]);const h=E=>{if(E.preventDefault(),u!==v)return D.error("Password should match");n?w(Gi({formValue:e,navigate:N,toast:D})):D.error("Please fill in all fields and select all checkboxes")},m=E=>E.charAt(0).toUpperCase()+E.slice(1),p=E=>{const{name:k,value:P,type:C,checked:z}=E.target;t(C==="checkbox"?L=>({...L,[k]:z}):L=>({...L,[k]:k==="email"||k==="password"||k==="confirmPassword"?P:m(P)}))},x=E=>{t(k=>({...k,userType:E.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Registration"}),o.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),o.jsx("hr",{})]})})}),o.jsx("form",{onSubmit:h,children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsxs("label",{className:"form-label",children:["Please select the role. ",o.jsx("br",{}),o.jsx("br",{})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:y==="Lender",onChange:x,required:!0}),o.jsx("label",{className:"form-check-label",children:"Lender"})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:y==="Borrower",onChange:x,required:!0}),o.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),o.jsx("br",{}),o.jsx("br",{})]})]})}),o.jsxs("div",{className:"col-12",children:[o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s,onChange:p,children:[o.jsx("option",{value:"None",children:"Please Select Title"}),o.jsx("option",{value:"Dr",children:"Dr"}),o.jsx("option",{value:"Prof",children:"Prof"}),o.jsx("option",{value:"Mr",children:"Mr"}),o.jsx("option",{value:"Miss",children:"Miss"})]}),o.jsx("br",{})]}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),o.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),o.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),o.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:a,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:p,placeholder:"Password",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:v,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:g,name:"termsconditions",checked:g,onChange:p,required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&o.jsx(jp.Bars,{}),"Sign up"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},Dx={email:"",password:""},Ix=()=>{const[e,t]=O.useState(Dx),{loading:n,error:r}=oi(d=>({...d.auth})),{email:i,password:l}=e,s=Gl(),a=mi();O.useEffect(()=>{r&&D.error(r)},[r]);const u=d=>{d.preventDefault(),i&&l&&s(Ji({formValue:e,navigate:a,toast:D}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),o.jsx("div",{className:"text-endx",children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"mb-4",children:o.jsx("h2",{className:"h3",children:"Please Login"})})})}),o.jsx("form",{method:"POST",children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&o.jsx(jp.Bars,{}),"Sign In"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",o.jsx(ze,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(ze,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},Ux=()=>{var t;const{user:e}=oi(n=>({...n.auth}));return o.jsxs("div",{style:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[o.jsx(wt,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("main",{style:{flex:1},children:o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center ",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsx("div",{className:"card-body p-3 p-md-4 p-xl-5",children:((t=e==null?void 0:e.result)==null?void 0:t._id)&&o.jsxs("div",{className:"form-group row",children:[o.jsxs("label",{htmlFor:"firstName",className:"col-sm-6 col-form-label",children:["First Name:"," ",o.jsx("span",{style:{color:"#067ADC"},children:e.result.firstName})]}),o.jsxs("label",{htmlFor:"middleName",className:"col-sm-6 col-form-label",children:["Middle Name:"," ",o.jsx("span",{style:{color:"#067ADC"},children:e.result.middleName})]}),o.jsxs("label",{htmlFor:"lastName",className:"col-sm-6 col-form-label",children:["Last Name:"," ",o.jsx("span",{style:{color:"#067ADC"},children:e.result.lastName})]}),o.jsxs("label",{htmlFor:"email",className:"col-sm-6 col-form-label",children:["Email:"," ",o.jsx("span",{style:{color:"#067ADC"},children:e.result.email})]})]})})})})]})})})}),o.jsx(xt,{})]})};var Sp={exports:{}},Bx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$x=Bx,Wx=$x;function Ep(){}function kp(){}kp.resetWarningCache=Ep;var Hx=function(){function e(r,i,l,s,a,u){if(u!==Wx){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:kp,resetWarningCache:Ep};return n.PropTypes=n,n};Sp.exports=Hx();var Vx=Sp.exports;const Qx=nd(Vx),Kx=()=>{const[e,t]=O.useState(3),n=mi();return O.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),o.jsx("div",{style:{marginTop:"100px"},children:o.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},_p=({children:e})=>{const{user:t}=oi(n=>({...n.auth}));return t?e:o.jsx(Kx,{})};_p.propTypes={children:Qx.node.isRequired};const qx=()=>{const e=Gl(),{id:t,token:n}=hp();return O.useEffect(()=>{e(Xi({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("h1",{className:"card-title text-center",children:o.jsxs(ze,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",o.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img"})})]})})})]}),o.jsx(xt,{})]})},Jx=()=>{const[e,t]=O.useState(""),[n,r]=O.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const s=await G.post(`${i}/users/forgotpassword`,{email:e});r(s.data.message)}catch(s){console.error("Forgot Password Error:",s),r(s.response.data.message)}};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Forgot Password"}),o.jsx("hr",{})]})})}),o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:e,onChange:s=>t(s.target.value),placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),o.jsxs("div",{className:"col-12",children:[o.jsx("div",{className:"d-grid",children:o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:l,children:"Reset Password"})}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})}),o.jsx(xt,{})]})]})},Gx=()=>{const{userId:e,token:t}=hp(),[n,r]=O.useState(""),[i,l]=O.useState(""),[s,a]=O.useState(""),u="http://67.225.129.127:3002",c=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),D.error("Password not entered");return}const d=await G.post(`${u}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){a("Passwords do not match."),D.error("Passwords do not match.");return}else a("Password reset successfull"),D.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return O.useEffect(()=>{D.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card mb-0 vh-100",children:o.jsx("div",{className:"container py-10 h-100",children:o.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:o.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[o.jsx("br",{}),o.jsxs("h2",{children:["Reset Password",o.jsx("hr",{}),o.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),o.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>r(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),o.jsx("br",{}),o.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>l(d.target.value),placeholder:"Confirm your new password"}),o.jsx("br",{}),o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:s})]})})})}),o.jsx(xt,{})]})},Xx=()=>o.jsx(G1,{children:o.jsxs($1,{children:[o.jsx(et,{path:"/",element:o.jsx(ix,{})}),o.jsx(et,{path:"/about",element:o.jsx(lx,{})}),o.jsx(et,{path:"/contact",element:o.jsx(sx,{})}),o.jsx(et,{path:"/register",element:o.jsx(Ax,{})}),o.jsx(et,{path:"/login",element:o.jsx(Ix,{})}),o.jsx(et,{path:"/dashboard",element:o.jsx(_p,{children:o.jsx(Ux,{})})}),o.jsx(et,{path:"/users/:id/verify/:token",element:o.jsx(qx,{})}),o.jsx(et,{path:"/forgotpassword",element:o.jsx(Jx,{})}),o.jsx(et,{path:"/users/resetpassword/:userId/:token",element:o.jsx(Gx,{})})]})});vm(document.getElementById("root")).render(o.jsx(O.StrictMode,{children:o.jsx(Sy,{store:t1,children:o.jsx(Xx,{})})})); + */function Ll(){return Ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function W1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function H1(e,t){return e.button===0&&(!t||t==="_self")&&!W1(e)}const V1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Q1=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],K1="6";try{window.__reactRouterVersion=K1}catch{}const q1=O.createContext({isTransitioning:!1}),J1="startTransition",Yc=Xs[J1];function G1(e){let{basename:t,children:n,future:r,window:i}=e,l=O.useRef();l.current==null&&(l.current=n1({window:i,v5Compat:!0}));let s=l.current,[a,u]=O.useState({action:s.action,location:s.location}),{v7_startTransition:c}=r||{},d=O.useCallback(f=>{c&&Yc?Yc(()=>u(f)):u(f)},[u,c]);return O.useLayoutEffect(()=>s.listen(d),[s,d]),O.createElement(B1,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const X1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Y1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Z1=O.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:l,replace:s,state:a,target:u,to:c,preventScrollReset:d,unstable_viewTransition:f}=t,v=gp(t,V1),{basename:g}=O.useContext(qt),y,w=!1;if(typeof c=="string"&&Y1.test(c)&&(y=c,X1))try{let p=new URL(window.location.href),x=c.startsWith("//")?new URL(p.protocol+c):new URL(c),E=Yn(x.pathname,g);x.origin===p.origin&&E!=null?c=E+x.search+x.hash:w=!0}catch{}let N=C1(c,{relative:i}),h=tx(c,{replace:s,state:a,target:u,preventScrollReset:d,relative:i,unstable_viewTransition:f});function m(p){r&&r(p),p.defaultPrevented||h(p)}return O.createElement("a",Ll({},v,{href:y||N,onClick:w||l?r:m,ref:n,target:u}))}),_e=O.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:l="",end:s=!1,style:a,to:u,unstable_viewTransition:c,children:d}=t,f=gp(t,Q1),v=us(u,{relative:f.relative}),g=fi(),y=O.useContext(fp),{navigator:w,basename:N}=O.useContext(qt),h=y!=null&&nx(v)&&c===!0,m=w.encodeLocation?w.encodeLocation(v).pathname:v.pathname,p=g.pathname,x=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;i||(p=p.toLowerCase(),x=x?x.toLowerCase():null,m=m.toLowerCase()),x&&N&&(x=Yn(x,N)||x);const E=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let k=p===m||!s&&p.startsWith(m)&&p.charAt(E)==="/",P=x!=null&&(x===m||!s&&x.startsWith(m)&&x.charAt(m.length)==="/"),C={isActive:k,isPending:P,isTransitioning:h},z=k?r:void 0,L;typeof l=="function"?L=l(C):L=[l,k?"active":null,P?"pending":null,h?"transitioning":null].filter(Boolean).join(" ");let me=typeof a=="function"?a(C):a;return O.createElement(Z1,Ll({},f,{"aria-current":z,className:L,ref:n,style:me,to:u,unstable_viewTransition:c}),typeof d=="function"?d(C):d)});var sa;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(sa||(sa={}));var Zc;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zc||(Zc={}));function ex(e){let t=O.useContext(os);return t||J(!1),t}function tx(e,t){let{target:n,replace:r,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,u=mi(),c=fi(),d=us(e,{relative:s});return O.useCallback(f=>{if(H1(f,n)){f.preventDefault();let v=r!==void 0?r:Pl(c)===Pl(d);u(e,{replace:v,state:i,preventScrollReset:l,relative:s,unstable_viewTransition:a})}},[c,u,d,r,i,n,e,l,s,a])}function nx(e,t){t===void 0&&(t={});let n=O.useContext(q1);n==null&&J(!1);let{basename:r}=ex(sa.useViewTransitionState),i=us(e,{relative:t.relative});if(!n.isTransitioning)return!1;let l=Yn(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Yn(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Rl(i.pathname,s)!=null||Rl(i.pathname,l)!=null}const xt=()=>{const e=new Date().getFullYear();return o.jsx(o.Fragment,{children:o.jsxs("div",{children:[o.jsx("div",{className:"footer_section layout_padding",children:o.jsxs("div",{className:"container",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12"})}),o.jsx("div",{className:"footer_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"QUICK LINKS"}),o.jsx("div",{className:"footer_menu",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"index.html",children:"Home"})}),o.jsx("li",{children:o.jsx("a",{href:"about.html",children:"About"})}),o.jsx("li",{children:o.jsx("a",{href:"services.html",children:"Services"})}),o.jsx("li",{children:o.jsx("a",{href:"projects.html",children:"Projects"})}),o.jsx("li",{children:o.jsx("a",{href:"contact.html",children:"Contact Us"})})]})})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"Work Portfolio"}),o.jsx("p",{className:"lorem_text",children:"It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem"})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsx("h2",{className:"useful_text",children:"SIGN UP TO OUR NEWSLETTER"}),o.jsxs("div",{className:"form-group",children:[o.jsx("textarea",{className:"update_mail",placeholder:"Enter Your Email",rows:5,id:"comment",name:"Enter Your Email",defaultValue:""}),o.jsx("div",{className:"subscribe_bt",children:o.jsx("a",{href:"#",children:"Subscribe"})})]})]})]})}),o.jsx("div",{className:"social_icon",children:o.jsxs("ul",{children:[o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-facebook","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-twitter","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-linkedin","aria-hidden":"true"})})}),o.jsx("li",{children:o.jsx("a",{href:"#",children:o.jsx("i",{className:"fa fa-instagram","aria-hidden":"true"})})})]})})]})}),o.jsx("div",{className:"copyright_section",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("p",{className:"copyright_text",children:[e," All Rights Reserved."]})})})})})]})})},rx="/assets/logo-Cb1x1exd.png",wt=()=>{var i,l;const{user:e}=oi(s=>({...s.auth})),t=Gl(),n=mi(),r=()=>{t(Xg()),n("/")};return o.jsx(o.Fragment,{children:o.jsx("div",{className:"navbar navbar-expand-lg w-100",style:{backgroundColor:"#000000",position:"fixed",top:0,left:0,right:0,zIndex:1e3},children:o.jsxs("div",{className:"container-fluid d-flex align-items-center justify-content-between",children:[o.jsxs("div",{className:"d-flex align-items-center",children:[o.jsx("img",{src:rx,alt:"logo",width:"75",height:"75",className:"img-fluid"}),o.jsx("p",{style:{display:"inline-block",fontStyle:"italic",fontSize:"14px",color:"white",margin:"0 0 0 10px"}})]}),o.jsxs("div",{className:"collapse navbar-collapse",id:"navbarSupportedContent",children:[o.jsxs("ul",{className:"navbar-nav ml-auto",children:[o.jsx("li",{className:"nav-item active",children:o.jsx(_e,{to:"/",className:"nav-link",children:"Home"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/services",className:"nav-link",children:"Services"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/about",className:"nav-link",children:"About"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/projects",className:"nav-link",children:"Project"})}),o.jsx("li",{className:"nav-item",children:o.jsx(_e,{to:"/contact",className:"nav-link",children:"Contact Us"})})]}),(i=e==null?void 0:e.result)!=null&&i._id?o.jsx(_e,{to:"/dashboard",children:"Dashboard"}):o.jsx(_e,{to:"/register",className:"nav-link",children:"Register"}),(l=e==null?void 0:e.result)!=null&&l._id?o.jsx(_e,{to:"/login",children:o.jsx("p",{className:"header-text",onClick:r,children:"Logout"})}):o.jsx(_e,{to:"/login",className:"nav-link",children:"Login"})]})]})})})},ix=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsxs("div",{children:[o.jsx("div",{className:"header_section",children:o.jsx("div",{className:"banner_section layout_padding",children:o.jsxs("div",{id:"my_slider",className:"carousel slide","data-ride":"carousel",children:[o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Reinventing real estate investment"}),o.jsxs("p",{className:"banner_text",children:["Owners/operators, and real estate investment firms to excel in what they do best: finding new opportunities"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"streamline investment management"}),o.jsxs("p",{className:"banner_text",children:["Best possible experience to our customers and their investors."," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})}),o.jsx("div",{className:"carousel-item",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-sm-12",children:o.jsxs("div",{className:"banner_taital_main",children:[o.jsx("h1",{className:"banner_taital",children:"Increase your efficiency and security"}),o.jsxs("p",{className:"banner_text",children:["All-in-one real estate investment management platform with 100% security tools"," "]}),o.jsxs("div",{className:"btn_main",children:[o.jsx("div",{className:"started_text active",children:o.jsx("a",{href:"#",children:"Contact US"})}),o.jsx("div",{className:"started_text",children:o.jsx("a",{href:"#",children:"About Us"})})]})]})})})})})]}),o.jsx("a",{className:"carousel-control-prev",href:"#my_slider",role:"button","data-slide":"prev",children:o.jsx("i",{className:"fa fa-angle-left"})}),o.jsx("a",{className:"carousel-control-next",href:"#my_slider",role:"button","data-slide":"next",children:o.jsx("i",{className:"fa fa-angle-right"})})]})})}),o.jsx("div",{className:"services_section layout_padding",children:o.jsxs("div",{className:"container-fluid",children:[o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-sm-12",children:[o.jsx("h1",{className:"services_taital",children:"Our Services"}),o.jsx("p",{className:"services_text_1",children:"your documents, always and immediately within reach"})]})}),o.jsx("div",{className:"services_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main active",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-1.png"})}),o.jsx("h4",{className:"development_text",children:"Dedication Services"}),o.jsx("p",{className:"services_text",children:"Real estate investing even on a very small scale remains a tried and true means of building and individual cash flow and wealth"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-2.png"})}),o.jsx("h4",{className:"development_text",children:"Building work Reports"}),o.jsx("p",{className:"services_text",children:"Deliver all the reports your investors need. Eliminate manual work and human errors with automatic distribution and allocation"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-3.png"})}),o.jsx("h4",{className:"development_text",children:"Reporting continuously"}),o.jsx("p",{className:"services_text",children:"Streamlining investor interactions, gaining complete visibility into your data, and using smart filters to create automatic workflows"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})}),o.jsx("div",{className:"col-lg-3 col-sm-6",children:o.jsxs("div",{className:"box_main",children:[o.jsx("div",{className:"service_img",children:o.jsx("img",{src:"images/icon-4.png"})}),o.jsx("h4",{className:"development_text",children:"Manage your investment "}),o.jsx("p",{className:"services_text",children:"We offer a comprehensive set of tools and services to fully facilitate all your real estate investment management needs"}),o.jsx("div",{className:"readmore_bt",children:o.jsx("a",{href:"#",children:"Read More"})})]})})]})})]})}),o.jsxs("div",{className:"projects_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsxs("div",{className:"col-md-12",children:[o.jsx("h1",{className:"projects_taital",children:"Projects"}),o.jsx("div",{className:"nav-tabs-navigation",children:o.jsx("div",{className:"nav-tabs-wrapper",children:o.jsxs("ul",{className:"nav ","data-tabs":"tabs",children:[o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link active",href:"#","data-toggle":"tab",children:"Category filter"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"All"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Paintingl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Reconstructionl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Repairsl"})}),o.jsx("li",{className:"nav-item",children:o.jsx("a",{className:"nav-link ",href:"#","data-toggle":"tab",children:"Residentall"})})]})})})]})})}),o.jsx("div",{className:"projects_section_2 layout_padding",children:o.jsx("div",{className:"container",children:o.jsx("div",{className:"pets_section",children:o.jsx("div",{className:"pets_section_2",children:o.jsx("div",{id:"main_slider",className:"carousel slide","data-ride":"carousel",children:o.jsxs("div",{className:"carousel-inner",children:[o.jsx("div",{className:"carousel-item active",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})}),o.jsx("div",{className:"carousel-item",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-1.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-2.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]}),o.jsxs("div",{className:"col-md-4",children:[o.jsxs("div",{className:"container_main",children:[o.jsx("img",{src:"images/img-3.png",alt:!0,className:"image"}),o.jsx("div",{className:"overlay",children:o.jsx("div",{className:"text",children:o.jsx("h4",{className:"some_text",children:o.jsx("i",{className:"fa fa-link","aria-hidden":"true"})})})})]}),o.jsxs("div",{className:"project_main",children:[o.jsx("h2",{className:"work_text",children:"Home Work"}),o.jsx("p",{className:"dummy_text",children:"alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use"})]})]})]})})]})})})})})})]})]}),o.jsx(xt,{})]}),lx=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"about_section layout_padding",children:[o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("div",{className:"container",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("h1",{className:"about_taital",children:"About Us"}),o.jsxs("p",{className:"about_text",children:["There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All"," "]}),o.jsx("div",{className:"read_bt_1",children:o.jsx("a",{href:"#",children:"Read More"})})]}),o.jsx("div",{className:"col-md-6",children:o.jsx("div",{className:"about_img",children:o.jsx("div",{className:"video_bt",children:o.jsx("div",{className:"play_icon",children:o.jsx("img",{src:"images/play-icon.png"})})})})})]})}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{})]}),o.jsx(xt,{})]}),sx=()=>o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsx("div",{className:"col-md-6",children:o.jsx("form",{action:!0,children:o.jsxs("div",{className:"mail_section_1",children:[o.jsx("input",{type:"text",className:"mail_text",placeholder:"Name",name:"Name"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Phone Number",name:"Phone Number"}),o.jsx("input",{type:"text",className:"mail_text",placeholder:"Email",name:"Email"}),o.jsx("textarea",{className:"massage-bt",placeholder:"Massage",rows:5,id:"comment",name:"Massage",defaultValue:""}),o.jsx("div",{className:"send_bt",children:o.jsx("a",{href:"#",children:"SEND"})})]})})}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img",children:o.jsx("img",{src:"images/contact-img.png"})})})]})})})]}),o.jsx(xt,{})]}),du=e=>typeof e=="number"&&!isNaN(e),Tr=e=>typeof e=="string",xp=e=>typeof e=="function",ox=e=>O.isValidElement(e)||Tr(e)||xp(e)||du(e),it=new Map;let oa=[];const ed=new Set,wp=()=>it.size>0;function ax(e,t){var n;if(t)return!((n=it.get(t))==null||!n.isToastActive(e));let r=!1;return it.forEach(i=>{i.isToastActive(e)&&(r=!0)}),r}function ux(e,t){ox(e)&&(wp()||oa.push({content:e,options:t}),it.forEach(n=>{n.buildToast(e,t)}))}function td(e,t){it.forEach(n=>{t!=null&&t!=null&&t.containerId?(t==null?void 0:t.containerId)===n.id&&n.toggle(e,t==null?void 0:t.id):n.toggle(e,t==null?void 0:t.id)})}let cx=1;const Np=()=>""+cx++;function dx(e){return e&&(Tr(e.toastId)||du(e.toastId))?e.toastId:Np()}function Lr(e,t){return ux(e,t),t.toastId}function bl(e,t){return{...t,type:t&&t.type||e,toastId:dx(t)}}function Mi(e){return(t,n)=>Lr(t,bl(e,n))}function D(e,t){return Lr(e,bl("default",t))}D.loading=(e,t)=>Lr(e,bl("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),D.promise=function(e,t,n){let r,{pending:i,error:l,success:s}=t;i&&(r=Tr(i)?D.loading(i,n):D.loading(i.render,{...n,...i}));const a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(d,f,v)=>{if(f==null)return void D.dismiss(r);const g={type:d,...a,...n,data:v},y=Tr(f)?{render:f}:f;return r?D.update(r,{...g,...y}):D(y.render,{...g,...y}),v},c=xp(e)?e():e;return c.then(d=>u("success",s,d)).catch(d=>u("error",l,d)),c},D.success=Mi("success"),D.info=Mi("info"),D.error=Mi("error"),D.warning=Mi("warning"),D.warn=D.warning,D.dark=(e,t)=>Lr(e,bl("default",{theme:"dark",...t})),D.dismiss=function(e){(function(t){var n;if(wp()){if(t==null||Tr(n=t)||du(n))it.forEach(r=>{r.removeToast(t)});else if(t&&("containerId"in t||"id"in t)){const r=it.get(t.containerId);r?r.removeToast(t.id):it.forEach(i=>{i.removeToast(t.id)})}}else oa=oa.filter(r=>t!=null&&r.options.toastId!==t)})(e)},D.clearWaitingQueue=function(e){e===void 0&&(e={}),it.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},D.isActive=ax,D.update=function(e,t){t===void 0&&(t={});const n=((r,i)=>{var l;let{containerId:s}=i;return(l=it.get(s||1))==null?void 0:l.toasts.get(r)})(e,t);if(n){const{props:r,content:i}=n,l={delay:100,...r,...t,toastId:t.toastId||e,updateId:Np()};l.toastId!==e&&(l.staleId=e);const s=l.render||i;delete l.render,Lr(s,l)}},D.done=e=>{D.update(e,{progress:1})},D.onChange=function(e){return ed.add(e),()=>{ed.delete(e)}},D.play=e=>td(!0,e),D.pause=e=>td(!1,e);var at=function(){return at=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const[e,t]=O.useState(zx),[n,r]=O.useState(!1),{loading:i,error:l}=oi(E=>({...E.auth})),{title:s,email:a,password:u,firstName:c,middleName:d,lastName:f,confirmPassword:v,termsconditions:g,userType:y}=e,w=Gl(),N=mi();O.useEffect(()=>{l&&D.error(l)},[l]),O.useEffect(()=>{r(s!=="None"&&a&&u&&c&&d&&f&&v&&g&&y!=="")},[s,a,u,c,d,f,v,g,y]);const h=E=>{if(E.preventDefault(),u!==v)return D.error("Password should match");n?w(Gi({formValue:e,navigate:N,toast:D})):D.error("Please fill in all fields and select all checkboxes")},m=E=>E.charAt(0).toUpperCase()+E.slice(1),p=E=>{const{name:k,value:P,type:C,checked:z}=E.target;t(C==="checkbox"?L=>({...L,[k]:z}):L=>({...L,[k]:k==="email"||k==="password"||k==="confirmPassword"?P:m(P)}))},x=E=>{t(k=>({...k,userType:E.target.value}))};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Registration"}),o.jsx("h3",{style:{color:"red"},children:'All fields are mandatory to enable "Sign up"'}),o.jsx("hr",{})]})})}),o.jsx("form",{onSubmit:h,children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsxs("label",{className:"form-label",children:["Please select the role. ",o.jsx("br",{}),o.jsx("br",{})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Lender",checked:y==="Lender",onChange:x,required:!0}),o.jsx("label",{className:"form-check-label",children:"Lender"})]}),o.jsxs("div",{className:"form-check form-check-inline",children:[o.jsx("input",{className:"form-check-input",type:"radio",name:"userType",value:"Borrower",checked:y==="Borrower",onChange:x,required:!0}),o.jsxs("label",{className:"form-check-label",children:["Borrower"," "]}),o.jsx("br",{}),o.jsx("br",{})]})]})}),o.jsxs("div",{className:"col-12",children:[o.jsxs("select",{className:"form-floating mb-3 form-control","aria-label":"Default select example",name:"title",value:s,onChange:p,children:[o.jsx("option",{value:"None",children:"Please Select Title"}),o.jsx("option",{value:"Dr",children:"Dr"}),o.jsx("option",{value:"Prof",children:"Prof"}),o.jsx("option",{value:"Mr",children:"Mr"}),o.jsx("option",{value:"Miss",children:"Miss"})]}),o.jsx("br",{})]}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:c,name:"firstName",onChange:p,placeholder:"First Name",required:"required"}),o.jsx("label",{htmlFor:"firstName",className:"form-label",children:"First Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:d,name:"middleName",onChange:p,placeholder:"Middle Name",required:"required"}),o.jsx("label",{htmlFor:"middleName",className:"form-label",children:"Middle Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"text",className:"form-control",value:f,name:"lastName",onChange:p,placeholder:"Last Name",required:"required"}),o.jsx("label",{htmlFor:"lastName",className:"form-label",children:"Last Name"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:a,name:"email",onChange:p,placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:u,name:"password",onChange:p,placeholder:"Password",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",value:v,name:"confirmPassword",onChange:p,placeholder:"confirmPassword",required:"required"}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Retype Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",id:"termsconditions",value:g,name:"termsconditions",checked:g,onChange:p,required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["I agree to the"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"terms and conditions"})]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},disabled:!n||i,children:[i&&o.jsx(jp.Bars,{}),"Sign up"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx("a",{href:"#!",className:"link-primary text-decoration-none",children:"Sign in"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},Dx={email:"",password:""},Ix=()=>{const[e,t]=O.useState(Dx),{loading:n,error:r}=oi(d=>({...d.auth})),{email:i,password:l}=e,s=Gl(),a=mi();O.useEffect(()=>{r&&D.error(r)},[r]);const u=d=>{d.preventDefault(),i&&l&&s(Ji({formValue:e,navigate:a,toast:D}))},c=d=>{let{name:f,value:v}=d.target;t({...e,[f]:v})};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"}),o.jsx("div",{className:"text-endx",children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:48,height:48,fill:"currentColor",className:"bi bi-grip-horizontal",viewBox:"0 0 16 16",children:o.jsx("path",{d:"M2 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm3 3a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm0-3a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})})})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"mb-4",children:o.jsx("h2",{className:"h3",children:"Please Login"})})})}),o.jsx("form",{method:"POST",children:o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12"}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",id:"email",placeholder:"name@example.com",value:i,name:"email",onChange:c,required:!0}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Email"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"password",className:"form-control",id:"password",placeholder:"Password",value:l,name:"password",onChange:c,required:!0}),o.jsx("label",{htmlFor:"password",className:"form-label",children:"Password"})]})}),o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{className:"form-check-input",type:"checkbox",name:"iAgree",id:"iAgree",required:!0}),o.jsxs("label",{className:"form-check-label text-secondary",htmlFor:"iAgree",children:["Remember me"," "]})]})}),o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-grid",children:o.jsxs("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:u,style:{backgroundColor:"#fda417",border:"#fda417"},children:[n&&o.jsx(jp.Bars,{}),"Sign In"]})})})]})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Don't have an account?"," ",o.jsx(_e,{to:"/register",className:"link-primary text-decoration-none",children:"Register"}),o.jsx(_e,{to:"/forgotpassword",className:"nav-link",children:"Forgot Password"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})})}),o.jsx(xt,{})]})},Ux=()=>{var t;const{user:e}=oi(n=>({...n.auth}));return o.jsxs("div",{style:{display:"flex",flexDirection:"column",minHeight:"100vh"},children:[o.jsx(wt,{}),o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{})," ",o.jsx("br",{}),o.jsx("main",{style:{flex:1},children:o.jsx("section",{className:"py-19 py-md-5 py-xl-8",style:{backgroundColor:"#FFFFFF"},children:o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center ",children:[o.jsx("div",{className:"col-12 col-md-6 col-xl-20 text-center text-md-start",children:o.jsx("div",{className:"text-bg-primary",children:o.jsxs("div",{className:"px-4",children:[o.jsx("hr",{className:"border-primary-subtle mb-4"}),o.jsx("p",{className:"lead mb-5",children:"A beautiful, easy-to-use, and secure Investor Portal that gives your investors everything they may need"})]})})}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsx("div",{className:"card-body p-3 p-md-4 p-xl-5",children:((t=e==null?void 0:e.result)==null?void 0:t._id)&&o.jsxs("div",{className:"form-group row",children:[o.jsxs("label",{htmlFor:"firstName",className:"col-sm-6 col-form-label",children:["First Name:"," ",o.jsx("span",{style:{color:"#067ADC"},children:e.result.firstName})]}),o.jsxs("label",{htmlFor:"middleName",className:"col-sm-6 col-form-label",children:["Middle Name:"," ",o.jsx("span",{style:{color:"#067ADC"},children:e.result.middleName})]}),o.jsxs("label",{htmlFor:"lastName",className:"col-sm-6 col-form-label",children:["Last Name:"," ",o.jsx("span",{style:{color:"#067ADC"},children:e.result.lastName})]}),o.jsxs("label",{htmlFor:"email",className:"col-sm-6 col-form-label",children:["Email:"," ",o.jsx("span",{style:{color:"#067ADC"},children:e.result.email})]})]})})})})]})})})}),o.jsx(xt,{})]})};var Sp={exports:{}},Bx="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$x=Bx,Wx=$x;function Ep(){}function kp(){}kp.resetWarningCache=Ep;var Hx=function(){function e(r,i,l,s,a,u){if(u!==Wx){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:kp,resetWarningCache:Ep};return n.PropTypes=n,n};Sp.exports=Hx();var Vx=Sp.exports;const Qx=nd(Vx),Kx=()=>{const[e,t]=O.useState(3),n=mi();return O.useEffect(()=>{const r=setInterval(()=>{t(i=>--i)},1e3);return e===0&&n("/login"),()=>clearInterval(r)},[e,n]),o.jsx("div",{style:{marginTop:"100px"},children:o.jsxs("h5",{children:["Redirecting you in ",e," seconds"]})})},_p=({children:e})=>{const{user:t}=oi(n=>({...n.auth}));return t?e:o.jsx(Kx,{})};_p.propTypes={children:Qx.node.isRequired};const qx=()=>{const e=Gl(),{id:t,token:n}=hp();return O.useEffect(()=>{e(Xi({id:t,token:n}))},[e,t,n]),o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsxs("div",{className:"contact_section layout_padding",children:[o.jsx("div",{className:"container",children:o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-md-12",children:o.jsx("h1",{className:"contact_taital",children:"Contact Us"})})})}),o.jsx("div",{className:"container-fluid",children:o.jsx("div",{className:"contact_section_2",children:o.jsxs("div",{className:"row",children:[o.jsxs("div",{className:"col-md-6",children:[o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("h1",{className:"card-title text-center",children:o.jsxs(_e,{to:"/login",className:"glightbox play-btn mb-4",children:[" ","Email verified successfully !!! Please",o.jsx("span",{style:{color:"#F74B02"},children:" login "})," "," ","to access ..."]})})]}),o.jsx("div",{className:"col-md-6 padding_left_15",children:o.jsx("div",{className:"contact_img"})})]})})})]}),o.jsx(xt,{})]})},Jx=()=>{const[e,t]=O.useState(""),[n,r]=O.useState(""),i="http://67.225.129.127:3002",l=async()=>{try{const s=await G.post(`${i}/users/forgotpassword`,{email:e});r(s.data.message)}catch(s){console.error("Forgot Password Error:",s),r(s.response.data.message)}};return o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsxs("section",{className:"card",style:{minHeight:"100vh",backgroundColor:"#FFFFFF"},children:[o.jsx("div",{className:"container-fluid px-0",children:o.jsxs("div",{className:"row gy-4 align-items-center justify-content-center",children:[o.jsx("div",{className:"col-12 col-md-0 col-xl-20 text-center text-md-start"}),o.jsx("div",{className:"col-12 col-md-6 col-xl-5",children:o.jsx("div",{className:"card border-0 rounded-4 shadow-lg",style:{width:"100%"},children:o.jsxs("div",{className:"card-body p-3 p-md-4 p-xl-5",children:[o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"mb-4",children:[o.jsx("h2",{className:"h3",children:"Forgot Password"}),o.jsx("hr",{})]})})}),o.jsxs("div",{className:"row gy-3 overflow-hidden",children:[o.jsx("div",{className:"col-12",children:o.jsxs("div",{className:"form-floating mb-3",children:[o.jsx("input",{type:"email",className:"form-control",value:e,onChange:s=>t(s.target.value),placeholder:"name@example.com",required:"required"}),o.jsx("label",{htmlFor:"email",className:"form-label",children:"Enter your email address to receive a password reset link"})]})}),o.jsxs("div",{className:"col-12",children:[o.jsx("div",{className:"d-grid",children:o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",style:{backgroundColor:"#fda417",border:"#fda417"},onClick:l,children:"Reset Password"})}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:n})]})]}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12",children:o.jsx("div",{className:"d-flex gap-2 gap-md-4 flex-column flex-md-row justify-content-md-end mt-4",children:o.jsxs("p",{className:"m-0 text-secondary text-center",children:["Already have an account?"," ",o.jsx(_e,{to:"/login",className:"link-primary text-decoration-none",children:"Sign In"})]})})})}),o.jsx("div",{className:"row",children:o.jsx("div",{className:"col-12"})})]})})})]})}),o.jsx(xt,{})]})]})},Gx=()=>{const{userId:e,token:t}=hp(),[n,r]=O.useState(""),[i,l]=O.useState(""),[s,a]=O.useState(""),u="http://67.225.129.127:3002",c=async()=>{try{if(!n||n.trim()===""){a("Password not entered"),D.error("Password not entered");return}const d=await G.post(`${u}/users/resetpassword/${e}/${t}`,{userId:e,token:t,password:n});if(n!==i){a("Passwords do not match."),D.error("Passwords do not match.");return}else a("Password reset successfull"),D.success(d.data.message)}catch(d){console.error("Reset Password Error:",d)}};return O.useEffect(()=>{D.dismiss()},[]),o.jsxs(o.Fragment,{children:[o.jsx(wt,{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("br",{}),o.jsx("section",{className:"card mb-0 vh-100",children:o.jsx("div",{className:"container py-10 h-100",children:o.jsx("div",{className:"row d-flex align-items-center justify-content-center h-100",children:o.jsxs("div",{className:"col-md-10 col-lg-5 col-xl-5 offset-xl-1 card mb-10",children:[o.jsx("br",{}),o.jsxs("h2",{children:["Reset Password",o.jsx("hr",{}),o.jsx("p",{className:"card-title text-center",style:{color:"#F74B02"},children:"Enter your new password:"})]}),o.jsx("input",{className:"form-control vh-10",type:"password",value:n,onChange:d=>r(d.target.value),placeholder:"Enter your new password",style:{display:"flex",gap:"35px"}}),o.jsx("br",{}),o.jsx("input",{className:"form-control",type:"password",value:i,onChange:d=>l(d.target.value),placeholder:"Confirm your new password"}),o.jsx("br",{}),o.jsx("button",{className:"btn btn-primary btn-lg",type:"submit",name:"signin",value:"Sign in",onClick:c,style:{backgroundColor:"#fda417",border:"#fda417"},children:"Reset Password"}),o.jsx("p",{style:{color:"#067ADC"},className:"card-title text-center",children:s})]})})})}),o.jsx(xt,{})]})},Xx=()=>o.jsx(G1,{children:o.jsxs($1,{children:[o.jsx(et,{path:"/",element:o.jsx(ix,{})}),o.jsx(et,{path:"/about",element:o.jsx(lx,{})}),o.jsx(et,{path:"/contact",element:o.jsx(sx,{})}),o.jsx(et,{path:"/register",element:o.jsx(Ax,{})}),o.jsx(et,{path:"/login",element:o.jsx(Ix,{})}),o.jsx(et,{path:"/dashboard",element:o.jsx(_p,{children:o.jsx(Ux,{})})}),o.jsx(et,{path:"/users/:id/verify/:token",element:o.jsx(qx,{})}),o.jsx(et,{path:"/forgotpassword",element:o.jsx(Jx,{})}),o.jsx(et,{path:"/users/resetpassword/:userId/:token",element:o.jsx(Gx,{})})]})});vm(document.getElementById("root")).render(o.jsx(O.StrictMode,{children:o.jsx(Sy,{store:t1,children:o.jsx(Xx,{})})})); diff --git a/ef-ui/dist/index.html b/ef-ui/dist/index.html index 0067234..586ff06 100644 --- a/ef-ui/dist/index.html +++ b/ef-ui/dist/index.html @@ -27,7 +27,7 @@ - + diff --git a/ef-ui/src/components/ForgotPassword.jsx b/ef-ui/src/components/ForgotPassword.jsx index 22156d1..6a4c80e 100644 --- a/ef-ui/src/components/ForgotPassword.jsx +++ b/ef-ui/src/components/ForgotPassword.jsx @@ -1,7 +1,8 @@ import { useState } from "react"; import axios from "axios"; import Navbar from "./Navbar"; -import Footer from "../components/Footer"; +import Footer from "./Footer"; +import { NavLink } from "react-router-dom"; @@ -111,12 +112,11 @@ const ForgotPassword = () => {

Already have an account?{" "} - - Sign in - + + + Sign In + +

@@ -129,7 +129,7 @@ const ForgotPassword = () => { -