@daiyu-5577/buildsystem 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +485 -0
  2. package/dist/artifact.js +59 -0
  3. package/dist/artifact.js.map +1 -0
  4. package/dist/cli.js +25 -0
  5. package/dist/cli.js.map +1 -0
  6. package/dist/commands/build.js +39 -0
  7. package/dist/commands/build.js.map +1 -0
  8. package/dist/commands/server.js +28 -0
  9. package/dist/commands/server.js.map +1 -0
  10. package/dist/config.js +42 -0
  11. package/dist/config.js.map +1 -0
  12. package/dist/cron.js +163 -0
  13. package/dist/cron.js.map +1 -0
  14. package/dist/crypto.js +40 -0
  15. package/dist/crypto.js.map +1 -0
  16. package/dist/custError.js +10 -0
  17. package/dist/custError.js.map +1 -0
  18. package/dist/database/index.js +64 -0
  19. package/dist/database/index.js.map +1 -0
  20. package/dist/database/types.js +8 -0
  21. package/dist/database/types.js.map +1 -0
  22. package/dist/fsHelpers.js +93 -0
  23. package/dist/fsHelpers.js.map +1 -0
  24. package/dist/git.js +67 -0
  25. package/dist/git.js.map +1 -0
  26. package/dist/logger.js +80 -0
  27. package/dist/logger.js.map +1 -0
  28. package/dist/notifier.js +66 -0
  29. package/dist/notifier.js.map +1 -0
  30. package/dist/pm.js +21 -0
  31. package/dist/pm.js.map +1 -0
  32. package/dist/queue.js +273 -0
  33. package/dist/queue.js.map +1 -0
  34. package/dist/server/index.js +189 -0
  35. package/dist/server/index.js.map +1 -0
  36. package/dist/server/routes.js +395 -0
  37. package/dist/server/routes.js.map +1 -0
  38. package/dist/server/websocket.js +230 -0
  39. package/dist/server/websocket.js.map +1 -0
  40. package/dist/static/web/assets/index-BzSDdMyu.js +304 -0
  41. package/dist/static/web/assets/index-DptBjpyJ.css +1 -0
  42. package/dist/static/web/index.html +13 -0
  43. package/dist/types.js +33 -0
  44. package/dist/types.js.map +1 -0
  45. package/dist/utils.js +66 -0
  46. package/dist/utils.js.map +1 -0
  47. package/dist/web/assets/index-Ds-OtVY9.js +76 -0
  48. package/dist/web/assets/index-F5jE8yX9.css +1 -0
  49. package/dist/web/index.html +13 -0
  50. package/package.json +61 -0
@@ -0,0 +1,304 @@
1
+ var Ox=Object.defineProperty;var Ux=(s,o,u)=>o in s?Ox(s,o,{enumerable:!0,configurable:!0,writable:!0,value:u}):s[o]=u;var ra=(s,o,u)=>Ux(s,typeof o!="symbol"?o+"":o,u);function Mx(s,o){for(var u=0;u<o.length;u++){const c=o[u];if(typeof c!="string"&&!Array.isArray(c)){for(const h in c)if(h!=="default"&&!(h in s)){const y=Object.getOwnPropertyDescriptor(c,h);y&&Object.defineProperty(s,h,y.get?y:{enumerable:!0,get:()=>c[h]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))c(h);new MutationObserver(h=>{for(const y of h)if(y.type==="childList")for(const E of y.addedNodes)E.tagName==="LINK"&&E.rel==="modulepreload"&&c(E)}).observe(document,{childList:!0,subtree:!0});function u(h){const y={};return h.integrity&&(y.integrity=h.integrity),h.referrerPolicy&&(y.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?y.credentials="include":h.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function c(h){if(h.ep)return;h.ep=!0;const y=u(h);fetch(h.href,y)}})();function Of(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var bp={exports:{}},yf={},vp={exports:{}},Gr={exports:{}};Gr.exports;var k1;function zx(){return k1||(k1=1,(function(s,o){/**
2
+ * @license React
3
+ * react.development.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */(function(){function u(p,A){Object.defineProperty(y.prototype,p,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",A[0],A[1])}})}function c(p){return p===null||typeof p!="object"?null:(p=Ft&&p[Ft]||p["@@iterator"],typeof p=="function"?p:null)}function h(p,A){p=(p=p.constructor)&&(p.displayName||p.name)||"ReactClass";var J=p+"."+A;Mt[J]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",A,p),Mt[J]=!0)}function y(p,A,J){this.props=p,this.context=A,this.refs=Ke,this.updater=J||On}function E(){}function g(p,A,J){this.props=p,this.context=A,this.refs=Ke,this.updater=J||On}function x(){}function _(p){return""+p}function U(p){try{_(p);var A=!1}catch{A=!0}if(A){A=console;var J=A.error,P=typeof Symbol=="function"&&Symbol.toStringTag&&p[Symbol.toStringTag]||p.constructor.name||"Object";return J.call(A,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",P),_(p)}}function b(p){if(p==null)return null;if(typeof p=="function")return p.$$typeof===Hf?null:p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case B:return"Fragment";case ve:return"Profiler";case ie:return"StrictMode";case Ye:return"Suspense";case K:return"SuspenseList";case F:return"Activity"}if(typeof p=="object")switch(typeof p.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),p.$$typeof){case le:return"Portal";case Qe:return p.displayName||"Context";case de:return(p._context.displayName||"Context")+".Consumer";case Bt:var A=p.render;return p=p.displayName,p||(p=A.displayName||A.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case ue:return A=p.displayName||null,A!==null?A:b(p.type)||"Memo";case ke:A=p._payload,p=p._init;try{return b(p(A))}catch{}}return null}function v(p){if(p===B)return"<>";if(typeof p=="object"&&p!==null&&p.$$typeof===ke)return"<...>";try{var A=b(p);return A?"<"+A+">":"<...>"}catch{return"<...>"}}function V(){var p=re.A;return p===null?null:p.getOwner()}function H(){return Error("react-stack-top-frame")}function $(p){if(Wi.call(p,"key")){var A=Object.getOwnPropertyDescriptor(p,"key").get;if(A&&A.isReactWarning)return!1}return p.key!==void 0}function k(p,A){function J(){ui||(ui=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",A))}J.isReactWarning=!0,Object.defineProperty(p,"key",{get:J,configurable:!0})}function Q(){var p=b(this.type);return Wr[p]||(Wr[p]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),p=this.props.ref,p!==void 0?p:null}function X(p,A,J,P,ce,Ce){var he=J.ref;return p={$$typeof:ne,type:p,key:A,props:J,_owner:P},(he!==void 0?he:null)!==null?Object.defineProperty(p,"ref",{enumerable:!1,get:Q}):Object.defineProperty(p,"ref",{enumerable:!1,value:null}),p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(p,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(p,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ce}),Object.defineProperty(p,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ce}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p}function oe(p,A){return A=X(p.type,A,p.props,p._owner,p._debugStack,p._debugTask),p._store&&(A._store.validated=p._store.validated),A}function me(p){xe(p)?p._store&&(p._store.validated=1):typeof p=="object"&&p!==null&&p.$$typeof===ke&&(p._payload.status==="fulfilled"?xe(p._payload.value)&&p._payload.value._store&&(p._payload.value._store.validated=1):p._store&&(p._store.validated=1))}function xe(p){return typeof p=="object"&&p!==null&&p.$$typeof===ne}function ft(p){var A={"=":"=0",":":"=2"};return"$"+p.replace(/[=:]/g,function(J){return A[J]})}function We(p,A){return typeof p=="object"&&p!==null&&p.key!=null?(U(p.key),ft(""+p.key)):A.toString(36)}function Me(p){switch(p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(x,x):(p.status="pending",p.then(function(A){p.status==="pending"&&(p.status="fulfilled",p.value=A)},function(A){p.status==="pending"&&(p.status="rejected",p.reason=A)})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}}throw p}function Ze(p,A,J,P,ce){var Ce=typeof p;(Ce==="undefined"||Ce==="boolean")&&(p=null);var he=!1;if(p===null)he=!0;else switch(Ce){case"bigint":case"string":case"number":he=!0;break;case"object":switch(p.$$typeof){case ne:case le:he=!0;break;case ke:return he=p._init,Ze(he(p._payload),A,J,P,ce)}}if(he){he=p,ce=ce(he);var $e=P===""?"."+We(he,0):P;return Pi(ce)?(J="",$e!=null&&(J=$e.replace(eu,"$&/")+"/"),Ze(ce,A,J,"",function(Pt){return Pt})):ce!=null&&(xe(ce)&&(ce.key!=null&&(he&&he.key===ce.key||U(ce.key)),J=oe(ce,J+(ce.key==null||he&&he.key===ce.key?"":(""+ce.key).replace(eu,"$&/")+"/")+$e),P!==""&&he!=null&&xe(he)&&he.key==null&&he._store&&!he._store.validated&&(J._store.validated=2),ce=J),A.push(ce)),1}if(he=0,$e=P===""?".":P+":",Pi(p))for(var Re=0;Re<p.length;Re++)P=p[Re],Ce=$e+We(P,Re),he+=Ze(P,A,J,Ce,ce);else if(Re=c(p),typeof Re=="function")for(Re===p.entries&&(bl||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bl=!0),p=Re.call(p),Re=0;!(P=p.next()).done;)P=P.value,Ce=$e+We(P,Re++),he+=Ze(P,A,J,Ce,ce);else if(Ce==="object"){if(typeof p.then=="function")return Ze(Me(p),A,J,P,ce);throw A=String(p),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.")}return he}function I(p,A,J){if(p==null)return p;var P=[],ce=0;return Ze(p,P,"","",function(Ce){return A.call(J,Ce,ce++)}),P}function be(p){if(p._status===-1){var A=p._ioInfo;A!=null&&(A.start=A.end=performance.now()),A=p._result;var J=A();if(J.then(function(ce){if(p._status===0||p._status===-1){p._status=1,p._result=ce;var Ce=p._ioInfo;Ce!=null&&(Ce.end=performance.now()),J.status===void 0&&(J.status="fulfilled",J.value=ce)}},function(ce){if(p._status===0||p._status===-1){p._status=2,p._result=ce;var Ce=p._ioInfo;Ce!=null&&(Ce.end=performance.now()),J.status===void 0&&(J.status="rejected",J.reason=ce)}}),A=p._ioInfo,A!=null){A.value=J;var P=J.displayName;typeof P=="string"&&(A.name=P)}p._status===-1&&(p._status=0,p._result=J)}if(p._status===1)return A=p._result,A===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
10
+
11
+ Your code should look like:
12
+ const MyComponent = lazy(() => import('./MyComponent'))
13
+
14
+ Did you accidentally put curly braces around the import?`,A),"default"in A||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
15
+
16
+ Your code should look like:
17
+ const MyComponent = lazy(() => import('./MyComponent'))`,A),A.default;throw p._result}function ge(){var p=re.H;return p===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
18
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
19
+ 2. You might be breaking the Rules of Hooks
20
+ 3. You might have more than one copy of React in the same app
21
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),p}function Te(){re.asyncTransitions--}function se(p){if(ci===null)try{var A=("require"+Math.random()).slice(0,7);ci=(s&&s[A]).call(s,"timers").setImmediate}catch{ci=function(P){ds===!1&&(ds=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var ce=new MessageChannel;ce.port1.onmessage=P,ce.port2.postMessage(void 0)}}return ci(p)}function ee(p){return 1<p.length&&typeof AggregateError=="function"?new AggregateError(p):p[0]}function M(p,A){A!==vl-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),vl=A}function G(p,A,J){var P=re.actQueue;if(P!==null)if(P.length!==0)try{Y(P),se(function(){return G(p,A,J)});return}catch(ce){re.thrownErrors.push(ce)}else re.actQueue=null;0<re.thrownErrors.length?(P=ee(re.thrownErrors),re.thrownErrors.length=0,J(P)):A(p)}function Y(p){if(!eo){eo=!0;var A=0;try{for(;A<p.length;A++){var J=p[A];do{re.didUsePromise=!1;var P=J(!1);if(P!==null){if(re.didUsePromise){p[A]=J,p.splice(0,A);return}J=P}else break}while(!0)}p.length=0}catch(ce){p.splice(0,A+1),re.thrownErrors.push(ce)}finally{eo=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ne=Symbol.for("react.transitional.element"),le=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),ie=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),de=Symbol.for("react.consumer"),Qe=Symbol.for("react.context"),Bt=Symbol.for("react.forward_ref"),Ye=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),ke=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),Ft=Symbol.iterator,Mt={},On={isMounted:function(){return!1},enqueueForceUpdate:function(p){h(p,"forceUpdate")},enqueueReplaceState:function(p){h(p,"replaceState")},enqueueSetState:function(p){h(p,"setState")}},yl=Object.assign,Ke={};Object.freeze(Ke),y.prototype.isReactComponent={},y.prototype.setState=function(p,A){if(typeof p!="object"&&typeof p!="function"&&p!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,p,A,"setState")},y.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};var Xt={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Sl in Xt)Xt.hasOwnProperty(Sl)&&u(Sl,Xt[Sl]);E.prototype=y.prototype,Xt=g.prototype=new E,Xt.constructor=g,yl(Xt,y.prototype),Xt.isPureReactComponent=!0;var Pi=Array.isArray,Hf=Symbol.for("react.client.reference"),re={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Wi=Object.prototype.hasOwnProperty,ca=console.createTask?console.createTask:function(){return null};Xt={react_stack_bottom_frame:function(p){return p()}};var ui,gl,Wr={},us=Xt.react_stack_bottom_frame.bind(Xt,H)(),cs=ca(v(H)),bl=!1,eu=/\/+/g,fs=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var A=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p),error:p});if(!window.dispatchEvent(A))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)},ds=!1,ci=null,vl=0,fi=!1,eo=!1,to=typeof queueMicrotask=="function"?function(p){queueMicrotask(function(){return queueMicrotask(p)})}:se;Xt=Object.freeze({__proto__:null,c:function(p){return ge().useMemoCache(p)}});var Sl={map:I,forEach:function(p,A,J){I(p,function(){A.apply(this,arguments)},J)},count:function(p){var A=0;return I(p,function(){A++}),A},toArray:function(p){return I(p,function(A){return A})||[]},only:function(p){if(!xe(p))throw Error("React.Children.only expected to receive a single React element child.");return p}};o.Activity=F,o.Children=Sl,o.Component=y,o.Fragment=B,o.Profiler=ve,o.PureComponent=g,o.StrictMode=ie,o.Suspense=Ye,o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=re,o.__COMPILER_RUNTIME=Xt,o.act=function(p){var A=re.actQueue,J=vl;vl++;var P=re.actQueue=A!==null?A:[],ce=!1;try{var Ce=p()}catch(Re){re.thrownErrors.push(Re)}if(0<re.thrownErrors.length)throw M(A,J),p=ee(re.thrownErrors),re.thrownErrors.length=0,p;if(Ce!==null&&typeof Ce=="object"&&typeof Ce.then=="function"){var he=Ce;return to(function(){ce||fi||(fi=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(Re,Pt){ce=!0,he.then(function(fa){if(M(A,J),J===0){try{Y(P),se(function(){return G(fa,Re,Pt)})}catch(no){re.thrownErrors.push(no)}if(0<re.thrownErrors.length){var tu=ee(re.thrownErrors);re.thrownErrors.length=0,Pt(tu)}}else Re(fa)},function(fa){M(A,J),0<re.thrownErrors.length&&(fa=ee(re.thrownErrors),re.thrownErrors.length=0),Pt(fa)})}}}var $e=Ce;if(M(A,J),J===0&&(Y(P),P.length!==0&&to(function(){ce||fi||(fi=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),re.actQueue=null),0<re.thrownErrors.length)throw p=ee(re.thrownErrors),re.thrownErrors.length=0,p;return{then:function(Re,Pt){ce=!0,J===0?(re.actQueue=P,se(function(){return G($e,Re,Pt)})):Re($e)}}},o.cache=function(p){return function(){return p.apply(null,arguments)}},o.cacheSignal=function(){return null},o.captureOwnerStack=function(){var p=re.getCurrentStack;return p===null?null:p()},o.cloneElement=function(p,A,J){if(p==null)throw Error("The argument must be a React element, but you passed "+p+".");var P=yl({},p.props),ce=p.key,Ce=p._owner;if(A!=null){var he;e:{if(Wi.call(A,"ref")&&(he=Object.getOwnPropertyDescriptor(A,"ref").get)&&he.isReactWarning){he=!1;break e}he=A.ref!==void 0}he&&(Ce=V()),$(A)&&(U(A.key),ce=""+A.key);for($e in A)!Wi.call(A,$e)||$e==="key"||$e==="__self"||$e==="__source"||$e==="ref"&&A.ref===void 0||(P[$e]=A[$e])}var $e=arguments.length-2;if($e===1)P.children=J;else if(1<$e){he=Array($e);for(var Re=0;Re<$e;Re++)he[Re]=arguments[Re+2];P.children=he}for(P=X(p.type,ce,P,Ce,p._debugStack,p._debugTask),ce=2;ce<arguments.length;ce++)me(arguments[ce]);return P},o.createContext=function(p){return p={$$typeof:Qe,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null},p.Provider=p,p.Consumer={$$typeof:de,_context:p},p._currentRenderer=null,p._currentRenderer2=null,p},o.createElement=function(p,A,J){for(var P=2;P<arguments.length;P++)me(arguments[P]);P={};var ce=null;if(A!=null)for(Re in gl||!("__self"in A)||"key"in A||(gl=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),$(A)&&(U(A.key),ce=""+A.key),A)Wi.call(A,Re)&&Re!=="key"&&Re!=="__self"&&Re!=="__source"&&(P[Re]=A[Re]);var Ce=arguments.length-2;if(Ce===1)P.children=J;else if(1<Ce){for(var he=Array(Ce),$e=0;$e<Ce;$e++)he[$e]=arguments[$e+2];Object.freeze&&Object.freeze(he),P.children=he}if(p&&p.defaultProps)for(Re in Ce=p.defaultProps,Ce)P[Re]===void 0&&(P[Re]=Ce[Re]);ce&&k(P,typeof p=="function"?p.displayName||p.name||"Unknown":p);var Re=1e4>re.recentlyCreatedOwnerStacks++;return X(p,ce,P,V(),Re?Error("react-stack-top-frame"):us,Re?ca(v(p)):cs)},o.createRef=function(){var p={current:null};return Object.seal(p),p},o.forwardRef=function(p){p!=null&&p.$$typeof===ue?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof p!="function"?console.error("forwardRef requires a render function but was given %s.",p===null?"null":typeof p):p.length!==0&&p.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",p.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),p!=null&&p.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var A={$$typeof:Bt,render:p},J;return Object.defineProperty(A,"displayName",{enumerable:!1,configurable:!0,get:function(){return J},set:function(P){J=P,p.name||p.displayName||(Object.defineProperty(p,"name",{value:P}),p.displayName=P)}}),A},o.isValidElement=xe,o.lazy=function(p){p={_status:-1,_result:p};var A={$$typeof:ke,_payload:p,_init:be},J={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return p._ioInfo=J,A._debugInfo=[{awaited:J}],A},o.memo=function(p,A){p==null&&console.error("memo: The first argument must be a component. Instead received: %s",p===null?"null":typeof p),A={$$typeof:ue,type:p,compare:A===void 0?null:A};var J;return Object.defineProperty(A,"displayName",{enumerable:!1,configurable:!0,get:function(){return J},set:function(P){J=P,p.name||p.displayName||(Object.defineProperty(p,"name",{value:P}),p.displayName=P)}}),A},o.startTransition=function(p){var A=re.T,J={};J._updatedFibers=new Set,re.T=J;try{var P=p(),ce=re.S;ce!==null&&ce(J,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&(re.asyncTransitions++,P.then(Te,Te),P.then(x,fs))}catch(Ce){fs(Ce)}finally{A===null&&J._updatedFibers&&(p=J._updatedFibers.size,J._updatedFibers.clear(),10<p&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),A!==null&&J.types!==null&&(A.types!==null&&A.types!==J.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),A.types=J.types),re.T=A}},o.unstable_useCacheRefresh=function(){return ge().useCacheRefresh()},o.use=function(p){return ge().use(p)},o.useActionState=function(p,A,J){return ge().useActionState(p,A,J)},o.useCallback=function(p,A){return ge().useCallback(p,A)},o.useContext=function(p){var A=ge();return p.$$typeof===de&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),A.useContext(p)},o.useDebugValue=function(p,A){return ge().useDebugValue(p,A)},o.useDeferredValue=function(p,A){return ge().useDeferredValue(p,A)},o.useEffect=function(p,A){return p==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),ge().useEffect(p,A)},o.useEffectEvent=function(p){return ge().useEffectEvent(p)},o.useId=function(){return ge().useId()},o.useImperativeHandle=function(p,A,J){return ge().useImperativeHandle(p,A,J)},o.useInsertionEffect=function(p,A){return p==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),ge().useInsertionEffect(p,A)},o.useLayoutEffect=function(p,A){return p==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),ge().useLayoutEffect(p,A)},o.useMemo=function(p,A){return ge().useMemo(p,A)},o.useOptimistic=function(p,A){return ge().useOptimistic(p,A)},o.useReducer=function(p,A,J){return ge().useReducer(p,A,J)},o.useRef=function(p){return ge().useRef(p)},o.useState=function(p){return ge().useState(p)},o.useSyncExternalStore=function(p,A,J){return ge().useSyncExternalStore(p,A,J)},o.useTransition=function(){return ge().useTransition()},o.version="19.2.6",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Gr,Gr.exports)),Gr.exports}var q1;function Uf(){return q1||(q1=1,vp.exports=zx()),vp.exports}var Y1;function jx(){if(Y1)return yf;Y1=1;/**
22
+ * @license React
23
+ * react-jsx-dev-runtime.development.js
24
+ *
25
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
26
+ *
27
+ * This source code is licensed under the MIT license found in the
28
+ * LICENSE file in the root directory of this source tree.
29
+ */return(function(){function s(B){if(B==null)return null;if(typeof B=="function")return B.$$typeof===be?null:B.displayName||B.name||null;if(typeof B=="string")return B;switch(B){case k:return"Fragment";case X:return"Profiler";case Q:return"StrictMode";case ft:return"Suspense";case We:return"SuspenseList";case I:return"Activity"}if(typeof B=="object")switch(typeof B.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),B.$$typeof){case $:return"Portal";case me:return B.displayName||"Context";case oe:return(B._context.displayName||"Context")+".Consumer";case xe:var ie=B.render;return B=B.displayName,B||(B=ie.displayName||ie.name||"",B=B!==""?"ForwardRef("+B+")":"ForwardRef"),B;case Me:return ie=B.displayName||null,ie!==null?ie:s(B.type)||"Memo";case Ze:ie=B._payload,B=B._init;try{return s(B(ie))}catch{}}return null}function o(B){return""+B}function u(B){try{o(B);var ie=!1}catch{ie=!0}if(ie){ie=console;var ve=ie.error,de=typeof Symbol=="function"&&Symbol.toStringTag&&B[Symbol.toStringTag]||B.constructor.name||"Object";return ve.call(ie,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",de),o(B)}}function c(B){if(B===k)return"<>";if(typeof B=="object"&&B!==null&&B.$$typeof===Ze)return"<...>";try{var ie=s(B);return ie?"<"+ie+">":"<...>"}catch{return"<...>"}}function h(){var B=ge.A;return B===null?null:B.getOwner()}function y(){return Error("react-stack-top-frame")}function E(B){if(Te.call(B,"key")){var ie=Object.getOwnPropertyDescriptor(B,"key").get;if(ie&&ie.isReactWarning)return!1}return B.key!==void 0}function g(B,ie){function ve(){M||(M=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ie))}ve.isReactWarning=!0,Object.defineProperty(B,"key",{get:ve,configurable:!0})}function x(){var B=s(this.type);return G[B]||(G[B]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),B=this.props.ref,B!==void 0?B:null}function _(B,ie,ve,de,Qe,Bt){var Ye=ve.ref;return B={$$typeof:H,type:B,key:ie,props:ve,_owner:de},(Ye!==void 0?Ye:null)!==null?Object.defineProperty(B,"ref",{enumerable:!1,get:x}):Object.defineProperty(B,"ref",{enumerable:!1,value:null}),B._store={},Object.defineProperty(B._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(B,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(B,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Qe}),Object.defineProperty(B,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Bt}),Object.freeze&&(Object.freeze(B.props),Object.freeze(B)),B}function U(B,ie,ve,de,Qe,Bt){var Ye=ie.children;if(Ye!==void 0)if(de)if(se(Ye)){for(de=0;de<Ye.length;de++)b(Ye[de]);Object.freeze&&Object.freeze(Ye)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else b(Ye);if(Te.call(ie,"key")){Ye=s(B);var K=Object.keys(ie).filter(function(ke){return ke!=="key"});de=0<K.length?"{key: someKey, "+K.join(": ..., ")+": ...}":"{key: someKey}",le[Ye+de]||(K=0<K.length?"{"+K.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
30
+ let props = %s;
31
+ <%s {...props} />
32
+ React keys must be passed directly to JSX without using spread:
33
+ let props = %s;
34
+ <%s key={someKey} {...props} />`,de,Ye,K,Ye),le[Ye+de]=!0)}if(Ye=null,ve!==void 0&&(u(ve),Ye=""+ve),E(ie)&&(u(ie.key),Ye=""+ie.key),"key"in ie){ve={};for(var ue in ie)ue!=="key"&&(ve[ue]=ie[ue])}else ve=ie;return Ye&&g(ve,typeof B=="function"?B.displayName||B.name||"Unknown":B),_(B,Ye,ve,h(),Qe,Bt)}function b(B){v(B)?B._store&&(B._store.validated=1):typeof B=="object"&&B!==null&&B.$$typeof===Ze&&(B._payload.status==="fulfilled"?v(B._payload.value)&&B._payload.value._store&&(B._payload.value._store.validated=1):B._store&&(B._store.validated=1))}function v(B){return typeof B=="object"&&B!==null&&B.$$typeof===H}var V=Uf(),H=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),oe=Symbol.for("react.consumer"),me=Symbol.for("react.context"),xe=Symbol.for("react.forward_ref"),ft=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),Me=Symbol.for("react.memo"),Ze=Symbol.for("react.lazy"),I=Symbol.for("react.activity"),be=Symbol.for("react.client.reference"),ge=V.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Te=Object.prototype.hasOwnProperty,se=Array.isArray,ee=console.createTask?console.createTask:function(){return null};V={react_stack_bottom_frame:function(B){return B()}};var M,G={},Y=V.react_stack_bottom_frame.bind(V,y)(),ne=ee(c(y)),le={};yf.Fragment=k,yf.jsxDEV=function(B,ie,ve,de){var Qe=1e4>ge.recentlyCreatedOwnerStacks++;return U(B,ie,ve,de,Qe?Error("react-stack-top-frame"):Y,Qe?ee(c(B)):ne)}})(),yf}var $1;function Hx(){return $1||($1=1,bp.exports=jx()),bp.exports}var S=Hx(),Sp={exports:{}},Yr={},Ep={exports:{}},Np={},G1;function Lx(){return G1||(G1=1,(function(s){/**
35
+ * @license React
36
+ * scheduler.development.js
37
+ *
38
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */(function(){function o(){if(xe=!1,Ze){var M=s.unstable_now();ge=M;var G=!0;try{e:{oe=!1,me&&(me=!1,We(I),I=-1),X=!0;var Y=Q;try{t:{for(E(M),k=c(V);k!==null&&!(k.expirationTime>M&&x());){var ne=k.callback;if(typeof ne=="function"){k.callback=null,Q=k.priorityLevel;var le=ne(k.expirationTime<=M);if(M=s.unstable_now(),typeof le=="function"){k.callback=le,E(M),G=!0;break t}k===c(V)&&h(V),E(M)}else h(V);k=c(V)}if(k!==null)G=!0;else{var B=c(H);B!==null&&_(g,B.startTime-M),G=!1}}break e}finally{k=null,Q=Y,X=!1}G=void 0}}finally{G?Te():Ze=!1}}}function u(M,G){var Y=M.length;M.push(G);e:for(;0<Y;){var ne=Y-1>>>1,le=M[ne];if(0<y(le,G))M[ne]=G,M[Y]=le,Y=ne;else break e}}function c(M){return M.length===0?null:M[0]}function h(M){if(M.length===0)return null;var G=M[0],Y=M.pop();if(Y!==G){M[0]=Y;e:for(var ne=0,le=M.length,B=le>>>1;ne<B;){var ie=2*(ne+1)-1,ve=M[ie],de=ie+1,Qe=M[de];if(0>y(ve,Y))de<le&&0>y(Qe,ve)?(M[ne]=Qe,M[de]=Y,ne=de):(M[ne]=ve,M[ie]=Y,ne=ie);else if(de<le&&0>y(Qe,Y))M[ne]=Qe,M[de]=Y,ne=de;else break e}}return G}function y(M,G){var Y=M.sortIndex-G.sortIndex;return Y!==0?Y:M.id-G.id}function E(M){for(var G=c(H);G!==null;){if(G.callback===null)h(H);else if(G.startTime<=M)h(H),G.sortIndex=G.expirationTime,u(V,G);else break;G=c(H)}}function g(M){if(me=!1,E(M),!oe)if(c(V)!==null)oe=!0,Ze||(Ze=!0,Te());else{var G=c(H);G!==null&&_(g,G.startTime-M)}}function x(){return xe?!0:!(s.unstable_now()-ge<be)}function _(M,G){I=ft(function(){M(s.unstable_now())},G)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),s.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var U=performance;s.unstable_now=function(){return U.now()}}else{var b=Date,v=b.now();s.unstable_now=function(){return b.now()-v}}var V=[],H=[],$=1,k=null,Q=3,X=!1,oe=!1,me=!1,xe=!1,ft=typeof setTimeout=="function"?setTimeout:null,We=typeof clearTimeout=="function"?clearTimeout:null,Me=typeof setImmediate<"u"?setImmediate:null,Ze=!1,I=-1,be=5,ge=-1;if(typeof Me=="function")var Te=function(){Me(o)};else if(typeof MessageChannel<"u"){var se=new MessageChannel,ee=se.port2;se.port1.onmessage=o,Te=function(){ee.postMessage(null)}}else Te=function(){ft(o,0)};s.unstable_IdlePriority=5,s.unstable_ImmediatePriority=1,s.unstable_LowPriority=4,s.unstable_NormalPriority=3,s.unstable_Profiling=null,s.unstable_UserBlockingPriority=2,s.unstable_cancelCallback=function(M){M.callback=null},s.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):be=0<M?Math.floor(1e3/M):5},s.unstable_getCurrentPriorityLevel=function(){return Q},s.unstable_next=function(M){switch(Q){case 1:case 2:case 3:var G=3;break;default:G=Q}var Y=Q;Q=G;try{return M()}finally{Q=Y}},s.unstable_requestPaint=function(){xe=!0},s.unstable_runWithPriority=function(M,G){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var Y=Q;Q=M;try{return G()}finally{Q=Y}},s.unstable_scheduleCallback=function(M,G,Y){var ne=s.unstable_now();switch(typeof Y=="object"&&Y!==null?(Y=Y.delay,Y=typeof Y=="number"&&0<Y?ne+Y:ne):Y=ne,M){case 1:var le=-1;break;case 2:le=250;break;case 5:le=1073741823;break;case 4:le=1e4;break;default:le=5e3}return le=Y+le,M={id:$++,callback:G,priorityLevel:M,startTime:Y,expirationTime:le,sortIndex:-1},Y>ne?(M.sortIndex=Y,u(H,M),c(V)===null&&M===c(H)&&(me?(We(I),I=-1):me=!0,_(g,Y-ne))):(M.sortIndex=le,u(V,M),oe||X||(oe=!0,Ze||(Ze=!0,Te()))),M},s.unstable_shouldYield=x,s.unstable_wrapCallback=function(M){var G=Q;return function(){var Y=Q;Q=G;try{return M.apply(this,arguments)}finally{Q=Y}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Np)),Np}var X1;function Vx(){return X1||(X1=1,Ep.exports=Lx()),Ep.exports}var wp={exports:{}},It={},Q1;function Bx(){if(Q1)return It;Q1=1;/**
43
+ * @license React
44
+ * react-dom.development.js
45
+ *
46
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
47
+ *
48
+ * This source code is licensed under the MIT license found in the
49
+ * LICENSE file in the root directory of this source tree.
50
+ */return(function(){function s(){}function o(b){return""+b}function u(b,v,V){var H=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{o(H);var $=!1}catch{$=!0}return $&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&H[Symbol.toStringTag]||H.constructor.name||"Object"),o(H)),{$$typeof:_,key:H==null?null:""+H,children:b,containerInfo:v,implementation:V}}function c(b,v){if(b==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}function h(b){return b===null?"`null`":b===void 0?"`undefined`":b===""?"an empty string":'something with type "'+typeof b+'"'}function y(b){return b===null?"`null`":b===void 0?"`undefined`":b===""?"an empty string":typeof b=="string"?JSON.stringify(b):typeof b=="number"?"`"+b+"`":'something with type "'+typeof b+'"'}function E(){var b=U.H;return b===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
51
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
52
+ 2. You might be breaking the Rules of Hooks
53
+ 3. You might have more than one copy of React in the same app
54
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),b}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var g=Uf(),x={d:{f:s,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},_=Symbol.for("react.portal"),U=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),It.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=x,It.createPortal=function(b,v){var V=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error("Target container is not a DOM element.");return u(b,v,null,V)},It.flushSync=function(b){var v=U.T,V=x.p;try{if(U.T=null,x.p=2,b)return b()}finally{U.T=v,x.p=V,x.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},It.preconnect=function(b,v){typeof b=="string"&&b?v!=null&&typeof v!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",y(v)):v!=null&&typeof v.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",h(v.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(b)),typeof b=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,x.d.C(b,v))},It.prefetchDNS=function(b){if(typeof b!="string"||!b)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(b));else if(1<arguments.length){var v=arguments[1];typeof v=="object"&&v.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",y(v)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",y(v))}typeof b=="string"&&x.d.D(b)},It.preinit=function(b,v){if(typeof b=="string"&&b?v==null||typeof v!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",y(v)):v.as!=="style"&&v.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',y(v.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(b)),typeof b=="string"&&v&&typeof v.as=="string"){var V=v.as,H=c(V,v.crossOrigin),$=typeof v.integrity=="string"?v.integrity:void 0,k=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;V==="style"?x.d.S(b,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:H,integrity:$,fetchPriority:k}):V==="script"&&x.d.X(b,{crossOrigin:H,integrity:$,fetchPriority:k,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},It.preinitModule=function(b,v){var V="";if(typeof b=="string"&&b||(V+=" The `href` argument encountered was "+h(b)+"."),v!==void 0&&typeof v!="object"?V+=" The `options` argument encountered was "+h(v)+".":v&&"as"in v&&v.as!=="script"&&(V+=" The `as` option encountered was "+y(v.as)+"."),V)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",V);else switch(V=v&&typeof v.as=="string"?v.as:"script",V){case"script":break;default:V=y(V),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',V,b)}typeof b=="string"&&(typeof v=="object"&&v!==null?(v.as==null||v.as==="script")&&(V=c(v.as,v.crossOrigin),x.d.M(b,{crossOrigin:V,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})):v==null&&x.d.M(b))},It.preload=function(b,v){var V="";if(typeof b=="string"&&b||(V+=" The `href` argument encountered was "+h(b)+"."),v==null||typeof v!="object"?V+=" The `options` argument encountered was "+h(v)+".":typeof v.as=="string"&&v.as||(V+=" The `as` option encountered was "+h(v.as)+"."),V&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',V),typeof b=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){V=v.as;var H=c(V,v.crossOrigin);x.d.L(b,V,{crossOrigin:H,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},It.preloadModule=function(b,v){var V="";typeof b=="string"&&b||(V+=" The `href` argument encountered was "+h(b)+"."),v!==void 0&&typeof v!="object"?V+=" The `options` argument encountered was "+h(v)+".":v&&"as"in v&&typeof v.as!="string"&&(V+=" The `as` option encountered was "+h(v.as)+"."),V&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',V),typeof b=="string"&&(v?(V=c(v.as,v.crossOrigin),x.d.m(b,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:V,integrity:typeof v.integrity=="string"?v.integrity:void 0})):x.d.m(b))},It.requestFormReset=function(b){x.d.r(b)},It.unstable_batchedUpdates=function(b,v){return b(v)},It.useFormState=function(b,v,V){return E().useFormState(b,v,V)},It.useFormStatus=function(){return E().useHostTransitionStatus()},It.version="19.2.6",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),It}var Z1;function SE(){return Z1||(Z1=1,wp.exports=Bx()),wp.exports}var J1;function kx(){if(J1)return Yr;J1=1;/**
55
+ * @license React
56
+ * react-dom-client.development.js
57
+ *
58
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
59
+ *
60
+ * This source code is licensed under the MIT license found in the
61
+ * LICENSE file in the root directory of this source tree.
62
+ */return(function(){function s(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function o(e,t,n,a){if(n>=t.length)return a;var l=t[n],i=At(e)?e.slice():je({},e);return i[l]=o(e[l],t,n+1,a),i}function u(e,t,n){if(t.length!==n.length)console.warn("copyWithRename() expects paths of the same length");else{for(var a=0;a<n.length-1;a++)if(t[a]!==n[a]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return c(e,t,n,0)}}function c(e,t,n,a){var l=t[a],i=At(e)?e.slice():je({},e);return a+1===t.length?(i[n[a]]=i[l],At(i)?i.splice(l,1):delete i[l]):i[l]=c(e[l],t,n,a+1),i}function h(e,t,n){var a=t[n],l=At(e)?e.slice():je({},e);return n+1===t.length?(At(l)?l.splice(a,1):delete l[a],l):(l[a]=h(e[a],t,n+1),l)}function y(){return!1}function E(){return null}function g(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function x(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function _(){}function U(){}function b(e){var t=[];return e.forEach(function(n){t.push(n)}),t.sort().join(", ")}function v(e,t,n,a){return new bN(e,t,n,a)}function V(e,t){e.context===kl&&(Lh(e.current,2,t,e,null,null),yo())}function H(e,t){if(Vn!==null){var n=t.staleFamilies;t=t.updatedFamilies,Ls(),Qy(e.current,t,n),yo()}}function $(e){Vn=e}function k(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Q(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function X(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function oe(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function me(e){if(Q(e)!==e)throw Error("Unable to find node on an unmounted component.")}function xe(e){var t=e.alternate;if(!t){if(t=Q(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var n=e,a=t;;){var l=n.return;if(l===null)break;var i=l.alternate;if(i===null){if(a=l.return,a!==null){n=a;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===n)return me(l),e;if(i===a)return me(l),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(n.return!==a.return)n=l,a=i;else{for(var r=!1,f=l.child;f;){if(f===n){r=!0,n=l,a=i;break}if(f===a){r=!0,a=l,n=i;break}f=f.sibling}if(!r){for(f=i.child;f;){if(f===n){r=!0,n=i,a=l;break}if(f===a){r=!0,a=i,n=l;break}f=f.sibling}if(!r)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(n.alternate!==a)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(n.tag!==3)throw Error("Unable to find node on an unmounted component.");return n.stateNode.current===n?e:t}function ft(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ft(e),t!==null)return t;e=e.sibling}return null}function We(e){return e===null||typeof e!="object"?null:(e=Wv&&e[Wv]||e["@@iterator"],typeof e=="function"?e:null)}function Me(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===kw?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case wo:return"Fragment";case Gh:return"Profiler";case uc:return"StrictMode";case Qh:return"Suspense";case Zh:return"SuspenseList";case Jh:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case No:return"Portal";case _a:return e.displayName||"Context";case Xh:return(e._context.displayName||"Context")+".Consumer";case Zs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case cc:return t=e.displayName||null,t!==null?t:Me(e.type)||"Memo";case wn:t=e._payload,e=e._init;try{return Me(e(t))}catch{}}return null}function Ze(e){return typeof e.tag=="number"?I(e):typeof e.name=="string"?e.name:null}function I(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";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 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Me(t);case 8:return t===uc?"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 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name=="string")return t[n].name}if(e.return!==null)return I(e.return)}return null}function be(e){return{current:e}}function ge(e,t){0>Fa?console.error("Unexpected pop."):(t!==Kh[Fa]&&console.error("Unexpected Fiber popped."),e.current=Ih[Fa],Ih[Fa]=null,Kh[Fa]=null,Fa--)}function Te(e,t,n){Fa++,Ih[Fa]=e.current,Kh[Fa]=n,e.current=t}function se(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ee(e,t){Te(zl,t,e),Te(Js,e,e),Te(Ml,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?wv(t):dl;break;default:if(n=t.tagName,t=t.namespaceURI)t=wv(t),t=Tv(t,n);else switch(n){case"svg":t=as;break;case"math":t=uf;break;default:t=dl}}n=n.toLowerCase(),n=gy(null,n),n={context:t,ancestorInfo:n},ge(Ml,e),Te(Ml,n,e)}function M(e){ge(Ml,e),ge(Js,e),ge(zl,e)}function G(){return se(Ml.current)}function Y(e){e.memoizedState!==null&&Te(fc,e,e);var t=se(Ml.current),n=e.type,a=Tv(t.context,n);n=gy(t.ancestorInfo,n),a={context:a,ancestorInfo:n},t!==a&&(Te(Js,e,e),Te(Ml,a,e))}function ne(e){Js.current===e&&(ge(Ml,e),ge(Js,e)),fc.current===e&&(ge(fc,e),Br._currentValue=Ki)}function le(){}function B(){if(Is===0){e0=console.log,t0=console.info,n0=console.warn,a0=console.error,l0=console.group,i0=console.groupCollapsed,o0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:le,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Is++}function ie(){if(Is--,Is===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:je({},e,{value:e0}),info:je({},e,{value:t0}),warn:je({},e,{value:n0}),error:je({},e,{value:a0}),group:je({},e,{value:l0}),groupCollapsed:je({},e,{value:i0}),groupEnd:je({},e,{value:o0})})}0>Is&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ve(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
63
+ `)&&(e=e.slice(29)),t=e.indexOf(`
64
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
65
+ `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function de(e){if(Fh===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Fh=t&&t[1]||"",s0=-1<n.stack.indexOf(`
66
+ at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
67
+ `+Fh+e+s0}function Qe(e,t){if(!e||Ph)return"";var n=Wh.get(e);if(n!==void 0)return n;Ph=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=L.H,L.H=null,B();try{var l={DetermineComponentFrameRoot:function(){try{if(t){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(W){var z=W}Reflect.construct(e,[],w)}else{try{w.call()}catch(W){z=W}e.call(w.prototype)}}else{try{throw Error()}catch(W){z=W}(w=e())&&typeof w.catch=="function"&&w.catch(function(){})}}catch(W){if(W&&z&&typeof W.stack=="string")return[W.stack,z.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=l.DetermineComponentFrameRoot(),f=r[0],d=r[1];if(f&&d){var m=f.split(`
68
+ `),R=d.split(`
69
+ `);for(r=i=0;i<m.length&&!m[i].includes("DetermineComponentFrameRoot");)i++;for(;r<R.length&&!R[r].includes("DetermineComponentFrameRoot");)r++;if(i===m.length||r===R.length)for(i=m.length-1,r=R.length-1;1<=i&&0<=r&&m[i]!==R[r];)r--;for(;1<=i&&0<=r;i--,r--)if(m[i]!==R[r]){if(i!==1||r!==1)do if(i--,r--,0>r||m[i]!==R[r]){var D=`
70
+ `+m[i].replace(" at new "," at ");return e.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",e.displayName)),typeof e=="function"&&Wh.set(e,D),D}while(1<=i&&0<=r);break}}}finally{Ph=!1,L.H=a,ie(),Error.prepareStackTrace=n}return m=(m=e?e.displayName||e.name:"")?de(m):"",typeof e=="function"&&Wh.set(e,m),m}function Bt(e,t){switch(e.tag){case 26:case 27:case 5:return de(e.type);case 16:return de("Lazy");case 13:return e.child!==t&&t!==null?de("Suspense Fallback"):de("Suspense");case 19:return de("SuspenseList");case 0:case 15:return Qe(e.type,!1);case 11:return Qe(e.type.render,!1);case 1:return Qe(e.type,!0);case 31:return de("Activity");default:return""}}function Ye(e){try{var t="",n=null;do{t+=Bt(e,n);var a=e._debugInfo;if(a)for(var l=a.length-1;0<=l;l--){var i=a[l];if(typeof i.name=="string"){var r=t;e:{var f=i.name,d=i.env,m=i.debugLocation;if(m!=null){var R=ve(m),D=R.lastIndexOf(`
71
+ `),w=D===-1?R:R.slice(D+1);if(w.indexOf(f)!==-1){var z=`
72
+ `+w;break e}}z=de(f+(d?" ["+d+"]":""))}t=r+z}}n=e,e=e.return}while(e);return t}catch(W){return`
73
+ Error generating stack: `+W.message+`
74
+ `+W.stack}}function K(e){return(e=e?e.displayName||e.name:"")?de(e):""}function ue(){if(Tn===null)return null;var e=Tn._debugOwner;return e!=null?Ze(e):null}function ke(){if(Tn===null)return"";var e=Tn;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=de(e.type);break;case 13:t+=de("Suspense");break;case 19:t+=de("SuspenseList");break;case 31:t+=de("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=K(e.type));break;case 11:e._debugOwner||t!==""||(t+=K(e.type.render))}for(;e;)if(typeof e.tag=="number"){var n=e;e=n._debugOwner;var a=n._debugStack;if(e&&a){var l=ve(a);l!==""&&(t+=`
75
+ `+l)}}else if(e.debugStack!=null){var i=e.debugStack;(e=e.owner)&&i&&(t+=`
76
+ `+ve(i))}else break;var r=t}catch(f){r=`
77
+ Error generating stack: `+f.message+`
78
+ `+f.stack}return r}function F(e,t,n,a,l,i,r){var f=Tn;Ft(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,a,l,i,r)):t(n,a,l,i,r)}finally{Ft(f)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ft(e){L.getCurrentStack=e===null?null:ke,Aa=!1,Tn=e}function Mt(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function On(e){try{return yl(e),!1}catch{return!0}}function yl(e){return""+e}function Ke(e,t){if(On(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Mt(e)),yl(e)}function Xt(e,t){if(On(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Mt(e)),yl(e)}function Pi(e){if(On(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Mt(e)),yl(e)}function Hf(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{xo=t.inject(e),Zt=t}catch(n){console.error("React instrumentation encountered an error: %o.",n)}return!!t.checkDCE}function re(e){if(typeof Zw=="function"&&Jw(e),Zt&&typeof Zt.setStrictMode=="function")try{Zt.setStrictMode(xo,e)}catch(t){Oa||(Oa=!0,console.error("React instrumentation encountered an error: %o",t))}}function Wi(e){return e>>>=0,e===0?32:31-(Iw(e)/Kw|0)|0}function ca(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function ui(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var l=0,i=e.suspendedLanes,r=e.pingedLanes;e=e.warmLanes;var f=a&134217727;return f!==0?(a=f&~i,a!==0?l=ca(a):(r&=f,r!==0?l=ca(r):n||(n=f&~e,n!==0&&(l=ca(n))))):(f=a&~i,f!==0?l=ca(f):r!==0?l=ca(r):n||(n=a&~e,n!==0&&(l=ca(n)))),l===0?0:t!==0&&t!==l&&(t&i)===0&&(i=l&-l,n=t&-t,i>=n||i===32&&(n&4194048)!==0)?t:l}function gl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Wr(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function us(){var e=mc;return mc<<=1,(mc&62914560)===0&&(mc=4194304),e}function cs(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function bl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eu(e,t,n,a,l,i){var r=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var f=e.entanglements,d=e.expirationTimes,m=e.hiddenUpdates;for(n=r&~n;0<n;){var R=31-en(n),D=1<<R;f[R]=0,d[R]=-1;var w=m[R];if(w!==null)for(m[R]=null,R=0;R<w.length;R++){var z=w[R];z!==null&&(z.lane&=-536870913)}n&=~D}a!==0&&fs(e,a,0),i!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=i&~(r&~t))}function fs(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-en(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function ds(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-en(n),l=1<<a;l&t|e[a]&t&&(e[a]|=t),n&=~l}}function ci(e,t){var n=t&-t;return n=(n&42)!==0?1:vl(n),(n&(e.suspendedLanes|t))!==0?0:n}function vl(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function fi(e,t,n){if(Ua)for(e=e.pendingUpdatersLaneMap;0<n;){var a=31-en(n),l=1<<a;e[a].add(t),n&=~l}}function eo(e,t){if(Ua)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;0<t;){var l=31-en(t);e=1<<l,l=n[l],0<l.size&&(l.forEach(function(i){var r=i.alternate;r!==null&&a.has(r)||a.add(i)}),l.clear()),t&=~e}}function to(e){return e&=-e,jn<e?Ma<e?(e&134217727)!==0?Pa:pc:Ma:jn}function Sl(){var e=Ie.p;return e!==0?e:(e=window.event,e===void 0?Pa:Qv(e.type))}function p(e,t){var n=Ie.p;try{return Ie.p=e,t()}finally{Ie.p=n}}function A(e){delete e[$t],delete e[tn],delete e[lm],delete e[Fw],delete e[Pw]}function J(e){var t=e[$t];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Hl]||n[$t]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Uv(e);e!==null;){if(n=e[$t])return n;e=Uv(e)}return t}e=n,n=e.parentNode}return null}function P(e){if(e=e[$t]||e[Hl]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ce(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ce(e){var t=e[r0];return t||(t=e[r0]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function he(e){e[Ks]=!0}function $e(e,t){Re(e,t),Re(e+"Capture",t)}function Re(e,t){Ri[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ri[e]=t;var n=e.toLowerCase();for(im[n]=e,e==="onDoubleClick"&&(im.ondblclick=e),e=0;e<t.length;e++)u0.add(t[e])}function Pt(e,t){Ww[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function fa(e){return ta.call(f0,e)?!0:ta.call(c0,e)?!1:eT.test(e)?f0[e]=!0:(c0[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function tu(e,t,n){if(fa(t)){if(!e.hasAttribute(t)){switch(typeof n){case"symbol":case"object":return n;case"function":return n;case"boolean":if(n===!1)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===""&&n===!0?!0:(Ke(n,t),e===""+n?n:e)}}function no(e,t,n){if(fa(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}Ke(n,t),e.setAttribute(t,""+n)}}function nu(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}Ke(n,t),e.setAttribute(t,""+n)}}function Ya(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}Ke(a,n),e.setAttributeNS(t,n,""+a)}}function Un(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Pi(e),e;default:return""}}function ay(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function IE(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var l=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(r){Pi(r),n=""+r,i.call(this,r)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(r){Pi(r),n=""+r},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Lf(e){if(!e._valueTracker){var t=ay(e)?"checked":"value";e._valueTracker=IE(e,t,""+e[t])}}function ly(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=ay(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function au(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 Mn(e){return e.replace(tT,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function iy(e,t){t.checked===void 0||t.defaultChecked===void 0||h0||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ue()||"A component",t.type),h0=!0),t.value===void 0||t.defaultValue===void 0||d0||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ue()||"A component",t.type),d0=!0)}function Vf(e,t,n,a,l,i,r,f){e.name="",r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?(Ke(r,"type"),e.type=r):e.removeAttribute("type"),t!=null?r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Un(t)):e.value!==""+Un(t)&&(e.value=""+Un(t)):r!=="submit"&&r!=="reset"||e.removeAttribute("value"),t!=null?Bf(e,r,Un(t)):n!=null?Bf(e,r,Un(n)):a!=null&&e.removeAttribute("value"),l==null&&i!=null&&(e.defaultChecked=!!i),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?(Ke(f,"name"),e.name=""+Un(f)):e.removeAttribute("name")}function oy(e,t,n,a,l,i,r,f){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(Ke(i,"type"),e.type=i),t!=null||n!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){Lf(e);return}n=n!=null?""+Un(n):"",t=t!=null?""+Un(t):n,f||t===e.value||(e.value=t),e.defaultValue=t}a=a??l,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=f?e.checked:!!a,e.defaultChecked=!!a,r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(Ke(r,"name"),e.name=r),Lf(e)}function Bf(e,t,n){t==="number"&&au(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function sy(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?$h.Children.forEach(t.children,function(n){n==null||typeof n=="string"||typeof n=="number"||typeof n=="bigint"||p0||(p0=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||y0||(y0=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||m0||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),m0=!0)}function ry(){var e=ue();return e?`
79
+
80
+ Check the render method of \``+e+"`.":""}function ao(e,t,n,a){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Un(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,a&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function uy(e,t){for(e=0;e<b0.length;e++){var n=b0[e];if(t[n]!=null){var a=At(t[n]);t.multiple&&!a?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,ry()):!t.multiple&&a&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,ry())}}t.value===void 0||t.defaultValue===void 0||g0||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),g0=!0)}function cy(e,t){t.value===void 0||t.defaultValue===void 0||v0||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",ue()||"A component"),v0=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function fy(e,t,n){if(t!=null&&(t=""+Un(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Un(n):""}function dy(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(At(a)){if(1<a.length)throw Error("<textarea> can only have at most one child.");a=a[0]}n=a}n==null&&(n=""),t=n}n=Un(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Lf(e)}function hy(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?hy(e.children[0],t):e}function yn(e){return" "+" ".repeat(e)}function lo(e){return"+ "+" ".repeat(e)}function di(e){return"- "+" ".repeat(e)}function my(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function hs(e,t){return S0.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function lu(e,t,n){var a=120-2*n;if(t===null)return lo(n)+hs(e,a)+`
81
+ `;if(typeof t=="string"){for(var l=0;l<t.length&&l<e.length&&t.charCodeAt(l)===e.charCodeAt(l);l++);return l>a-8&&10<l&&(e="..."+e.slice(l-8),t="..."+t.slice(l-8)),lo(n)+hs(e,a)+`
82
+ `+di(n)+hs(t,a)+`
83
+ `}return yn(n)+hs(e,a)+`
84
+ `}function kf(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,n){return n})}function ms(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(At(e))return"[...]";if(e.$$typeof===Da)return(t=Me(e.type))?"<"+t+">":"<...>";var n=kf(e);if(n==="Object"){n="",t-=2;for(var a in e)if(e.hasOwnProperty(a)){var l=JSON.stringify(a);if(l!=='"'+a+'"'&&(a=l),t-=a.length-2,l=ms(e[a],15>t?t:15),t-=l.length,0>t){n+=n===""?"...":", ...";break}n+=(n===""?"":",")+a+":"+l}return"{"+n+"}"}return n;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function io(e,t){return typeof e!="string"||S0.test(e)?"{"+ms(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function qf(e,t,n){var a=120-n.length-e.length,l=[],i;for(i in t)if(t.hasOwnProperty(i)&&i!=="children"){var r=io(t[i],120-n.length-i.length-1);a-=i.length+r.length+2,l.push(i+"="+r)}return l.length===0?n+"<"+e+`>
85
+ `:0<a?n+"<"+e+" "+l.join(" ")+`>
86
+ `:n+"<"+e+`
87
+ `+n+" "+l.join(`
88
+ `+n+" ")+`
89
+ `+n+`>
90
+ `}function KE(e,t,n){var a="",l=je({},t),i;for(i in e)if(e.hasOwnProperty(i)){delete l[i];var r=120-2*n-i.length-2,f=ms(e[i],r);t.hasOwnProperty(i)?(r=ms(t[i],r),a+=lo(n)+i+": "+f+`
91
+ `,a+=di(n)+i+": "+r+`
92
+ `):a+=lo(n)+i+": "+f+`
93
+ `}for(var d in l)l.hasOwnProperty(d)&&(e=ms(l[d],120-2*n-d.length-2),a+=di(n)+d+": "+e+`
94
+ `);return a}function FE(e,t,n,a){var l="",i=new Map;for(m in n)n.hasOwnProperty(m)&&i.set(m.toLowerCase(),m);if(i.size===1&&i.has("children"))l+=qf(e,t,yn(a));else{for(var r in t)if(t.hasOwnProperty(r)&&r!=="children"){var f=120-2*(a+1)-r.length-1,d=i.get(r.toLowerCase());if(d!==void 0){i.delete(r.toLowerCase());var m=t[r];d=n[d];var R=io(m,f);f=io(d,f),typeof m=="object"&&m!==null&&typeof d=="object"&&d!==null&&kf(m)==="Object"&&kf(d)==="Object"&&(2<Object.keys(m).length||2<Object.keys(d).length||-1<R.indexOf("...")||-1<f.indexOf("..."))?l+=yn(a+1)+r+`={{
95
+ `+KE(m,d,a+2)+yn(a+1)+`}}
96
+ `:(l+=lo(a+1)+r+"="+R+`
97
+ `,l+=di(a+1)+r+"="+f+`
98
+ `)}else l+=yn(a+1)+r+"="+io(t[r],f)+`
99
+ `}i.forEach(function(D){if(D!=="children"){var w=120-2*(a+1)-D.length-1;l+=di(a+1)+D+"="+io(n[D],w)+`
100
+ `}}),l=l===""?yn(a)+"<"+e+`>
101
+ `:yn(a)+"<"+e+`
102
+ `+l+yn(a)+`>
103
+ `}return e=n.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(i="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(i=""+t),l+=lu(i,""+e,a+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(l=e==null?l+lu(""+t,null,a+1):l+lu(""+t,void 0,a+1)),l}function py(e,t){var n=my(e);if(n===null){for(n="",e=e.child;e;)n+=py(e,t),e=e.sibling;return n}return yn(t)+"<"+n+`>
104
+ `}function Yf(e,t){var n=hy(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return yn(t)+`...
105
+ `+Yf(n,t+1);n="";var a=e.fiber._debugInfo;if(a)for(var l=0;l<a.length;l++){var i=a[l].name;typeof i=="string"&&(n+=yn(t)+"<"+i+`>
106
+ `,t++)}if(a="",l=e.fiber.pendingProps,e.fiber.tag===6)a=lu(l,e.serverProps,t),t++;else if(i=my(e.fiber),i!==null)if(e.serverProps===void 0){a=t;var r=120-2*a-i.length-2,f="";for(m in l)if(l.hasOwnProperty(m)&&m!=="children"){var d=io(l[m],15);if(r-=m.length+d.length+2,0>r){f+=" ...";break}f+=" "+m+"="+d}a=yn(a)+"<"+i+f+`>
107
+ `,t++}else e.serverProps===null?(a=qf(i,l,lo(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(a=FE(i,l,e.serverProps,t),t++);var m="";for(l=e.fiber.child,i=0;l&&i<e.children.length;)r=e.children[i],r.fiber===l?(m+=Yf(r,t),i++):m+=py(l,t),l=l.sibling;for(l&&0<e.children.length&&(m+=yn(t)+`...
108
+ `),l=e.serverTail,e.serverProps===null&&t--,e=0;e<l.length;e++)i=l[e],m=typeof i=="string"?m+(di(t)+hs(i,120-2*t)+`
109
+ `):m+qf(i.type,i.props,di(t));return n+a+m}function $f(e){try{return`
110
+
111
+ `+Yf(e,0)}catch{return""}}function yy(e,t,n){for(var a=t,l=null,i=0;a;)a===e&&(i=0),l={fiber:a,children:l!==null?[l]:[],serverProps:a===t?n:a===e?null:void 0,serverTail:[],distanceFromLeaf:i},i++,a=a.return;return l!==null?$f(l).replaceAll(/^[+-]/gm,">"):""}function gy(e,t){var n=je({},e||N0),a={tag:t};return E0.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),aT.indexOf(t)!==-1&&(n.pTagInButtonScope=null),nT.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,t==="form"&&(n.formTag=a),t==="a"&&(n.aTagInScope=a),t==="button"&&(n.buttonTagInScope=a),t==="nobr"&&(n.nobrTagInScope=a),t==="p"&&(n.pTagInButtonScope=a),t==="li"&&(n.listItemTagAutoclosing=a),(t==="dd"||t==="dt")&&(n.dlItemTagAutoclosing=a),t==="#document"||t==="html"?n.containerTagInScope=null:n.containerTagInScope||(n.containerTagInScope=a),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?n.implicitRootScope===!0&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function by(e,t,n){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(n)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!n)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return lT.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return n||t===null;case"html":return n&&t==="#document"||t===null;case"body":return n&&(t==="#document"||t==="html")||t===null}return!0}function PE(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function vy(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Gf(e,t){t=t||N0;var n=t.current;if(t=(n=by(e,n&&n.tag,t.implicitRootScope)?null:n)?null:PE(e,t),t=n||t,!t)return!0;var a=t.tag;if(t=String(!!n)+"|"+e+"|"+a,yc[t])return!1;yc[t]=!0;var l=(t=Tn)?vy(t.return,a):null,i=t!==null&&l!==null?yy(l,t,null):"",r="<"+e+">";return n?(n="",a==="table"&&e==="tr"&&(n+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
112
+ This will cause a hydration error.%s`,r,a,n,i)):console.error(`In HTML, %s cannot be a descendant of <%s>.
113
+ This will cause a hydration error.%s`,r,a,i),t&&(e=t.return,l===null||e===null||l===e&&e._debugOwner===t._debugOwner||F(l,function(){console.error(`<%s> cannot contain a nested %s.
114
+ See this log for the ancestor stack trace.`,a,r)})),!1}function iu(e,t,n){if(n||by("#text",t,!1))return!0;if(n="#text|"+t,yc[n])return!1;yc[n]=!0;var a=(n=Tn)?vy(n,t):null;return n=n!==null&&a!==null?yy(a,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
115
+ This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
116
+ This will cause a hydration error.%s`,t,n),!1}function ps(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function WE(e){return e.replace(sT,function(t,n){return n.toUpperCase()})}function Sy(e,t,n){var a=t.indexOf("--")===0;a||(-1<t.indexOf("-")?Co.hasOwnProperty(t)&&Co[t]||(Co[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,WE(t.replace(oT,"ms-")))):iT.test(t)?Co.hasOwnProperty(t)&&Co[t]||(Co[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!x0.test(n)||sm.hasOwnProperty(n)&&sm[n]||(sm[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(x0,""))),typeof n=="number"&&(isNaN(n)?C0||(C0=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||R0||(R0=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||D0.has(t)?t==="float"?e.cssFloat=n:(Xt(n,t),e[t]=(""+n).trim()):e[t]=n+"px"}function Ey(e,t,n){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var a={};if(n){for(var l in n)if(n.hasOwnProperty(l)&&!t.hasOwnProperty(l))for(var i=om[l]||[l],r=0;r<i.length;r++)a[i[r]]=l}for(var f in t)if(t.hasOwnProperty(f)&&(!n||n[f]!==t[f]))for(l=om[f]||[f],i=0;i<l.length;i++)a[l[i]]=f;f={};for(var d in t)for(l=om[d]||[d],i=0;i<l.length;i++)f[l[i]]=d;d={};for(var m in a)if(l=a[m],(i=f[m])&&l!==i&&(r=l+","+i,!d[r])){d[r]=!0,r=console;var R=t[l];r.error.call(r,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",R==null||typeof R=="boolean"||R===""?"Removing":"Updating",l,i)}}for(var D in n)!n.hasOwnProperty(D)||t!=null&&t.hasOwnProperty(D)||(D.indexOf("--")===0?e.setProperty(D,""):D==="float"?e.cssFloat="":e[D]="");for(var w in t)m=t[w],t.hasOwnProperty(w)&&n[w]!==m&&Sy(e,w,m)}else for(a in t)t.hasOwnProperty(a)&&Sy(e,a,t[a])}function ys(e){if(e.indexOf("-")===-1)return!1;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}}function Ny(e){return rT.get(e)||e}function eN(e,t){if(ta.call(Do,t)&&Do[t])return!0;if(cT.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=_0.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Do[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Do[t]=!0}if(uT.test(t)){if(e=t.toLowerCase(),e=_0.hasOwnProperty(e)?e:null,e==null)return Do[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Do[t]=!0)}return!0}function tN(e,t){var n=[],a;for(a in t)eN(e,a)||n.push(a);t=n.map(function(l){return"`"+l+"`"}).join(", "),n.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<n.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function nN(e,t,n,a){if(ta.call(nn,t)&&nn[t])return!0;var l=t.toLowerCase();if(l==="onfocusin"||l==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),nn[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(a!=null){if(e=a.possibleRegistrationNames,a.registrationNameDependencies.hasOwnProperty(t))return!0;if(a=e.hasOwnProperty(l)?e[l]:null,a!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,a),nn[t]=!0;if(O0.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),nn[t]=!0}else if(O0.test(t))return fT.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),nn[t]=!0;if(dT.test(t)||hT.test(t))return!0;if(l==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),nn[t]=!0;if(l==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),nn[t]=!0;if(l==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),nn[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),nn[t]=!0;if(bc.hasOwnProperty(l)){if(l=bc[l],l!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,l),nn[t]=!0}else if(t!==l)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,l),nn[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return l=t.toLowerCase().slice(0,5),l==="data-"||l==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),nn[t]=!0)}case"function":case"symbol":return nn[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),nn[t]=!0}}return!0}function aN(e,t,n){var a=[],l;for(l in t)nN(e,l,t[l],n)||a.push(l);t=a.map(function(i){return"`"+i+"`"}).join(", "),a.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<a.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function gs(e){return mT.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function $a(){}function Xf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function wy(e){var t=P(e);if(t&&(e=t.stateNode)){var n=e[tn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Vf(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(Ke(t,"name"),n=n.querySelectorAll('input[name="'+Mn(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var l=a[tn]||null;if(!l)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Vf(a,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&ly(a)}break e;case"textarea":fy(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&ao(e,!!n.multiple,t,!1)}}}function Ty(e,t,n){if(rm)return e(t,n);rm=!0;try{var a=e(t);return a}finally{if(rm=!1,(_o!==null||Ao!==null)&&(yo(),_o&&(t=_o,e=Ao,Ao=_o=null,wy(t),e)))for(t=0;t<e.length;t++)wy(e[t])}}function bs(e,t){var n=e.stateNode;if(n===null)return null;var a=n[tn]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function xy(){if(vc)return vc;var e,t=cm,n=t.length,a,l="value"in Ll?Ll.value:Ll.textContent,i=l.length;for(e=0;e<n&&t[e]===l[e];e++);var r=n-e;for(a=1;a<=r&&t[n-a]===l[i-a];a++);return vc=l.slice(e,1<a?1-a:void 0)}function ou(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function su(){return!0}function Cy(){return!1}function un(e){function t(n,a,l,i,r){this._reactName=n,this._targetInst=l,this.type=a,this.nativeEvent=i,this.target=r,this.currentTarget=null;for(var f in e)e.hasOwnProperty(f)&&(n=e[f],this[f]=n?n(i):i[f]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?su:Cy,this.isPropagationStopped=Cy,this}return je(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=su)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=su)},persist:function(){},isPersistent:su}),t}function lN(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=RT[e])?!!t[e]:!1}function Qf(){return lN}function Ry(e,t){switch(e){case"keyup":return BT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==j0;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function iN(e,t){switch(e){case"compositionend":return Dy(t);case"keypress":return t.which!==L0?null:(B0=!0,V0);case"textInput":return e=t.data,e===V0&&B0?null:e;default:return null}}function oN(e,t){if(Oo)return e==="compositionend"||!mm&&Ry(e,t)?(e=xy(),vc=cm=Ll=null,Oo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return H0&&t.locale!=="ko"?null:t.data;default:return null}}function _y(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!qT[e.type]:t==="textarea"}function sN(e){if(!za)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Ay(e,t,n,a){_o?Ao?Ao.push(a):Ao=[a]:_o=a,t=Wu(t,"onChange"),0<t.length&&(n=new Sc("onChange","change",null,n,a),e.push({event:n,listeners:t}))}function rN(e){dv(e,0)}function ru(e){var t=ce(e);if(ly(t))return e}function Oy(e,t){if(e==="change")return t}function Uy(){nr&&(nr.detachEvent("onpropertychange",My),ar=nr=null)}function My(e){if(e.propertyName==="value"&&ru(ar)){var t=[];Ay(t,ar,e,Xf(e)),Ty(rN,t)}}function uN(e,t,n){e==="focusin"?(Uy(),nr=t,ar=n,nr.attachEvent("onpropertychange",My)):e==="focusout"&&Uy()}function cN(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ru(ar)}function fN(e,t){if(e==="click")return ru(t)}function dN(e,t){if(e==="input"||e==="change")return ru(t)}function hN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function vs(e,t){if(an(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var l=n[a];if(!ta.call(t,l)||!an(e[l],t[l]))return!1}return!0}function zy(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jy(e,t){var n=zy(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zy(n)}}function Hy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ly(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=au(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=au(e.document)}return t}function Zf(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 Vy(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ym||Uo==null||Uo!==au(a)||(a=Uo,"selectionStart"in a&&Zf(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),lr&&vs(lr,a)||(lr=a,a=Wu(pm,"onSelect"),0<a.length&&(t=new Sc("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Uo)))}function hi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}function mi(e){if(gm[e])return gm[e];if(!Mo[e])return e;var t=Mo[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in q0)return gm[e]=t[n];return e}function Fn(e,t){Q0.set(e,t),$e(t,[e])}function mN(e){for(var t=Nc,n=0;n<e.length;n++){var a=e[n];if(typeof a=="object"&&a!==null)if(At(a)&&a.length===2&&typeof a[0]=="string"){if(t!==Nc&&t!==Nm)return Sm;t=Nm}else return Sm;else{if(typeof a=="function"||typeof a=="string"&&50<a.length||t!==Nc&&t!==Em)return Sm;t=Em}}return t}function Jf(e,t,n,a){for(var l in e)ta.call(e,l)&&l[0]!=="_"&&da(l,e[l],t,n,a)}function da(e,t,n,a,l){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===Da){var i=Me(t.type)||"…",r=t.key;t=t.props;var f=Object.keys(t),d=f.length;if(r==null&&d===0){t="<"+i+" />";break}if(3>a||d===1&&f[0]==="children"&&r==null){t="<"+i+" … />";break}n.push([l+"  ".repeat(a)+e,"<"+i]),r!==null&&da("key",r,n,a+1,l),e=!1;for(var m in t)m==="children"?t.children!=null&&(!At(t.children)||0<t.children.length)&&(e=!0):ta.call(t,m)&&m[0]!=="_"&&da(m,t[m],n,a+1,l);n.push(["",e?">…</"+i+">":"/>"]);return}if(i=Object.prototype.toString.call(t),i=i.slice(8,i.length-1),i==="Array"){if(m=mN(t),m===Em||m===Nc){t=JSON.stringify(t);break}else if(m===Nm){for(n.push([l+"  ".repeat(a)+e,""]),e=0;e<t.length;e++)i=t[e],da(i[0],i[1],n,a+1,l);return}}if(i==="Promise"){if(t.status==="fulfilled"){if(i=n.length,da(e,t.value,n,a,l),n.length>i){n=n[i],n[1]="Promise<"+(n[1]||"Object")+">";return}}else if(t.status==="rejected"&&(i=n.length,da(e,t.reason,n,a,l),n.length>i)){n=n[i],n[1]="Rejected Promise<"+n[1]+">";return}n.push(["  ".repeat(a)+e,"Promise"]);return}i==="Object"&&(m=Object.getPrototypeOf(t))&&typeof m.constructor=="function"&&(i=m.constructor.name),n.push([l+"  ".repeat(a)+e,i==="Object"?3>a?"":"…":i]),3>a&&Jf(t,n,a+1,l);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===JT?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}n.push([l+"  ".repeat(a)+e,t])}function By(e,t,n,a){var l=!0;for(r in e)r in t||(n.push([wc+"  ".repeat(a)+r,"…"]),l=!1);for(var i in t)if(i in e){var r=e[i],f=t[i];if(r!==f){if(a===0&&i==="children")l="  ".repeat(a)+i,n.push([wc+l,"…"],[Tc+l,"…"]);else{if(!(3<=a)){if(typeof r=="object"&&typeof f=="object"&&r!==null&&f!==null&&r.$$typeof===f.$$typeof)if(f.$$typeof===Da){if(r.type===f.type&&r.key===f.key){r=Me(f.type)||"…",l="  ".repeat(a)+i,r="<"+r+" … />",n.push([wc+l,r],[Tc+l,r]),l=!1;continue}}else{var d=Object.prototype.toString.call(r),m=Object.prototype.toString.call(f);if(d===m&&(m==="[object Object]"||m==="[object Array]")){d=[I0+"  ".repeat(a)+i,m==="[object Array]"?"Array":""],n.push(d),m=n.length,By(r,f,n,a+1)?m===n.length&&(d[1]="Referentially unequal but deeply equal objects. Consider memoization."):l=!1;continue}}else if(typeof r=="function"&&typeof f=="function"&&r.name===f.name&&r.length===f.length&&(d=Function.prototype.toString.call(r),m=Function.prototype.toString.call(f),d===m)){r=f.name===""?"() => {}":f.name+"() {}",n.push([I0+"  ".repeat(a)+i,r+" Referentially unequal function closure. Consider memoization."]);continue}}da(i,r,n,a,wc),da(i,f,n,a,Tc)}l=!1}}else n.push([Tc+"  ".repeat(a)+i,"…"]),l=!1;return l}function Pn(e){qe=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function ha(e,t,n,a){ot&&(Bl.start=t,Bl.end=n,Wa.color="warning",Wa.tooltipText=a,Wa.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,a,Bl)):performance.measure(a,Bl))}function uu(e,t,n){ha(e,t,n,"Reconnect")}function cu(e,t,n,a,l){var i=I(e);if(i!==null&&ot){var r=e.alternate,f=e.actualDuration;if(r===null||r.child!==e.child)for(var d=e.child;d!==null;d=d.sibling)f-=d.actualDuration;a=.5>f?a?"tertiary-light":"primary-light":10>f?a?"tertiary":"primary":100>f?a?"tertiary-dark":"primary-dark":"error";var m=e.memoizedProps;f=e._debugTask,m!==null&&r!==null&&r.memoizedProps!==m?(d=[IT],m=By(r.memoizedProps,m,d,0),1<d.length&&(m&&!Vl&&(r.lanes&l)===0&&100<e.actualDuration?(Vl=!0,d[0]=KT,Wa.color="warning",Wa.tooltipText=K0):(Wa.color=a,Wa.tooltipText=i),Wa.properties=d,Bl.start=t,Bl.end=n,f!=null?f.run(performance.measure.bind(performance,"​"+i,Bl)):performance.measure("​"+i,Bl))):f!=null?f.run(console.timeStamp.bind(console,i,t,n,Hn,void 0,a)):console.timeStamp(i,t,n,Hn,void 0,a)}}function If(e,t,n,a){if(ot){var l=I(e);if(l!==null){for(var i=null,r=[],f=0;f<a.length;f++){var d=a[f];i==null&&d.source!==null&&(i=d.source._debugTask),d=d.value,r.push(["Error",typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d)])}e.key!==null&&da("key",e.key,r,0,""),e.memoizedProps!==null&&Jf(e.memoizedProps,r,0,""),i==null&&(i=e._debugTask),e={start:t,end:n,detail:{devtools:{color:"error",track:Hn,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:r}}},i?i.run(performance.measure.bind(performance,"​"+l,e)):performance.measure("​"+l,e)}}}function ma(e,t,n,a,l){if(l!==null){if(ot){var i=I(e);if(i!==null){a=[];for(var r=0;r<l.length;r++){var f=l[r].value;a.push(["Error",typeof f=="object"&&f!==null&&typeof f.message=="string"?String(f.message):String(f)])}e.key!==null&&da("key",e.key,a,0,""),e.memoizedProps!==null&&Jf(e.memoizedProps,a,0,""),t={start:t,end:n,detail:{devtools:{color:"error",track:Hn,tooltipText:"A lifecycle or effect errored",properties:a}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+i,t)):performance.measure("​"+i,t)}}}else i=I(e),i!==null&&ot&&(l=1>a?"secondary-light":100>a?"secondary":500>a?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,i,t,n,Hn,void 0,l)):console.timeStamp(i,t,n,Hn,void 0,l))}function pN(e,t,n,a){if(ot&&!(t<=e)){var l=(n&738197653)===n?"tertiary-dark":"primary-dark";n=(n&536870912)===n?"Prepared":(n&201326741)===n?"Hydrated":"Render",a?a.run(console.timeStamp.bind(console,n,e,t,qe,Ve,l)):console.timeStamp(n,e,t,qe,Ve,l)}}function ky(e,t,n,a){!ot||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Prewarm",e,t,qe,Ve,n)):console.timeStamp("Prewarm",e,t,qe,Ve,n))}function qy(e,t,n,a){!ot||t<=e||(n=(n&738197653)===n?"tertiary-dark":"primary-dark",a?a.run(console.timeStamp.bind(console,"Suspended",e,t,qe,Ve,n)):console.timeStamp("Suspended",e,t,qe,Ve,n))}function yN(e,t,n,a,l,i){if(ot&&!(t<=e)){n=[];for(var r=0;r<a.length;r++){var f=a[r].value;n.push(["Recoverable Error",typeof f=="object"&&f!==null&&typeof f.message=="string"?String(f.message):String(f)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:qe,trackGroup:Ve,tooltipText:l?"Hydration Failed":"Recovered after Error",properties:n}}},i?i.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function Kf(e,t,n,a){!ot||t<=e||(a?a.run(console.timeStamp.bind(console,"Errored",e,t,qe,Ve,"error")):console.timeStamp("Errored",e,t,qe,Ve,"error"))}function gN(e,t,n,a){!ot||t<=e||(a?a.run(console.timeStamp.bind(console,n,e,t,qe,Ve,"secondary-light")):console.timeStamp(n,e,t,qe,Ve,"secondary-light"))}function Yy(e,t,n,a,l){if(ot&&!(t<=e)){for(var i=[],r=0;r<n.length;r++){var f=n[r].value;i.push(["Error",typeof f=="object"&&f!==null&&typeof f.message=="string"?String(f.message):String(f)])}e={start:e,end:t,detail:{devtools:{color:"error",track:qe,trackGroup:Ve,tooltipText:a?"Remaining Effects Errored":"Commit Errored",properties:i}}},l?l.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function Ff(e,t,n){!ot||t<=e||console.timeStamp("Animating",e,t,qe,Ve,"secondary-dark")}function fu(){for(var e=zo,t=wm=zo=0;t<e;){var n=Ln[t];Ln[t++]=null;var a=Ln[t];Ln[t++]=null;var l=Ln[t];Ln[t++]=null;var i=Ln[t];if(Ln[t++]=null,a!==null&&l!==null){var r=a.pending;r===null?l.next=l:(l.next=r.next,r.next=l),a.pending=l}i!==0&&$y(n,l,i)}}function du(e,t,n,a){Ln[zo++]=e,Ln[zo++]=t,Ln[zo++]=n,Ln[zo++]=a,wm|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Pf(e,t,n,a){return du(e,t,n,a),hu(e)}function Qt(e,t){return du(e,null,null,t),hu(e)}function $y(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var l=!1,i=e.return;i!==null;)i.childLanes|=n,a=i.alternate,a!==null&&(a.childLanes|=n),i.tag===22&&(e=i.stateNode,e===null||e._visibility&ir||(l=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,l&&t!==null&&(l=31-en(n),e=i.hiddenUpdates,a=e[l],a===null?e[l]=[t]:a.push(t),t.lane=n|536870912),i):null}function hu(e){if(Ur>dx)throw Gi=Ur=0,Mr=np=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Gi>hx&&(Gi=0,Mr=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&iv(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&iv(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function pi(e){if(Vn===null)return e;var t=Vn(e);return t===void 0?e:t.current}function Wf(e){if(Vn===null)return e;var t=Vn(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=pi(e.render),e.render!==t)?(t={$$typeof:Zs,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Gy(e,t){if(Vn===null)return!1;var n=e.elementType;t=t.type;var a=!1,l=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(a=!0);break;case 0:(typeof t=="function"||l===wn)&&(a=!0);break;case 11:(l===Zs||l===wn)&&(a=!0);break;case 14:case 15:(l===cc||l===wn)&&(a=!0);break;default:return!1}return!!(a&&(e=Vn(n),e!==void 0&&e===Vn(t)))}function Xy(e){Vn!==null&&typeof WeakSet=="function"&&(jo===null&&(jo=new WeakSet),jo.add(e))}function Qy(e,t,n){do{var a=e,l=a.alternate,i=a.child,r=a.sibling,f=a.tag;a=a.type;var d=null;switch(f){case 0:case 15:case 1:d=a;break;case 11:d=a.render}if(Vn===null)throw Error("Expected resolveFamily to be set during hot reload.");var m=!1;if(a=!1,d!==null&&(d=Vn(d),d!==void 0&&(n.has(d)?a=!0:t.has(d)&&(f===1?a=!0:m=!0))),jo!==null&&(jo.has(e)||l!==null&&jo.has(l))&&(a=!0),a&&(e._debugNeedsRemount=!0),(a||m)&&(l=Qt(e,2),l!==null&&pt(l,e,2)),i===null||a||Qy(i,t,n),r===null)break;e=r}while(!0)}function bN(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,F0||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ed(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ga(e,t){var n=e.alternate;switch(n===null?(n=v(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,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,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=pi(e.type);break;case 1:n.type=pi(e.type);break;case 11:n.type=Wf(e.type)}return n}function Zy(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function td(e,t,n,a,l,i){var r=0,f=e;if(typeof e=="function")ed(e)&&(r=1),f=pi(f);else if(typeof e=="string")r=G(),r=Rw(e,n,r)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Jh:return t=v(31,n,t,l),t.elementType=Jh,t.lanes=i,t;case wo:return yi(n.children,l,i,t);case uc:r=8,l|=Jt,l|=na;break;case Gh:return e=n,a=l,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=v(12,e,t,a|_e),t.elementType=Gh,t.lanes=i,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Qh:return t=v(13,n,t,l),t.elementType=Qh,t.lanes=i,t;case Zh:return t=v(19,n,t,l),t.elementType=Zh,t.lanes=i,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _a:r=10;break e;case Xh:r=9;break e;case Zs:r=11,f=Wf(f);break e;case cc:r=14;break e;case wn:r=16,f=null;break e}f="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(f+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":At(e)?n="array":e!==void 0&&e.$$typeof===Da?(n="<"+(Me(e.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(r=a?Ze(a):null)&&(f+=`
117
+
118
+ Check the render method of \``+r+"`."),r=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+f)),f=null}return t=v(r,n,t,l),t.elementType=e,t.type=f,t.lanes=i,t._debugOwner=a,t}function mu(e,t,n){return t=td(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function yi(e,t,n,a){return e=v(7,e,a,t),e.lanes=n,e}function nd(e,t,n){return e=v(6,e,null,t),e.lanes=n,e}function Jy(e){var t=v(18,null,null,Ee);return t.stateNode=e,t}function ad(e,t,n){return t=v(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gn(e,t){if(typeof e=="object"&&e!==null){var n=Tm.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Ye(t)},Tm.set(e,t),t)}return{value:e,source:t,stack:Ye(t)}}function Xa(e,t){El(),Ho[Lo++]=or,Ho[Lo++]=xc,xc=e,or=t}function Iy(e,t,n){El(),Bn[kn++]=tl,Bn[kn++]=nl,Bn[kn++]=_i,_i=e;var a=tl;e=nl;var l=32-en(a)-1;a&=~(1<<l),n+=1;var i=32-en(t)+l;if(30<i){var r=l-l%5;i=(a&(1<<r)-1).toString(32),a>>=r,l-=r,tl=1<<32-en(t)+l|n<<l|a,nl=i+e}else tl=1<<i|n<<l|a,nl=e}function ld(e){El(),e.return!==null&&(Xa(e,1),Iy(e,1,0))}function id(e){for(;e===xc;)xc=Ho[--Lo],Ho[Lo]=null,or=Ho[--Lo],Ho[Lo]=null;for(;e===_i;)_i=Bn[--kn],Bn[kn]=null,nl=Bn[--kn],Bn[kn]=null,tl=Bn[--kn],Bn[kn]=null}function Ky(){return El(),_i!==null?{id:tl,overflow:nl}:null}function Fy(e,t){El(),Bn[kn++]=tl,Bn[kn++]=nl,Bn[kn++]=_i,tl=t.id,nl=t.overflow,_i=e}function El(){He||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function gi(e,t){if(e.return===null){if(xn===null)xn={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(xn.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");xn.distanceFromLeaf>t&&(xn.distanceFromLeaf=t)}return xn}var n=gi(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Py(){He&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function pu(e,t){ja||(e=gi(e,0),e.serverProps=null,t!==null&&(t=Av(t),e.serverTail.push(t)))}function Nl(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,n="",a=xn;throw a!==null&&(xn=null,n=$f(a)),Ss(gn(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
119
+
120
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
121
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
122
+ - Date formatting in a user's locale which doesn't match the server.
123
+ - External changing data without sending a snapshot of it along with the HTML.
124
+ - Invalid HTML tag nesting.
125
+
126
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
127
+
128
+ https://react.dev/link/hydration-mismatch`+n),e)),xm}function Wy(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[$t]=e,t[tn]=a,xh(n,a),n){case"dialog":Le("cancel",t),Le("close",t);break;case"iframe":case"object":case"embed":Le("load",t);break;case"video":case"audio":for(n=0;n<zr.length;n++)Le(zr[n],t);break;case"source":Le("error",t);break;case"img":case"image":case"link":Le("error",t),Le("load",t);break;case"details":Le("toggle",t);break;case"input":Pt("input",a),Le("invalid",t),iy(t,a),oy(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"option":sy(t,a);break;case"select":Pt("select",a),Le("invalid",t),uy(t,a);break;case"textarea":Pt("textarea",a),Le("invalid",t),cy(t,a),dy(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||yv(t.textContent,n)?(a.popover!=null&&(Le("beforetoggle",t),Le("toggle",t)),a.onScroll!=null&&Le("scroll",t),a.onScrollEnd!=null&&Le("scrollend",t),a.onClick!=null&&(t.onclick=$a),t=!0):t=!1,t||Nl(e,!0)}function eg(e){for(Gt=e.return;Gt;)switch(Gt.tag){case 5:case 31:case 13:qn=!1;return;case 27:case 3:qn=!0;return;default:Gt=Gt.return}}function oo(e){if(e!==Gt)return!1;if(!He)return eg(e),He=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Ah(e.type,e.memoizedProps)),n=!n),n&&st){for(n=st;n;){var a=gi(e,0),l=Av(n);a.serverTail.push(l),n=l.type==="Suspense"?zh(n):Nn(n.nextSibling)}Nl(e)}if(eg(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");st=zh(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");st=zh(e)}else t===27?(t=st,Ul(e.type)?(e=mp,mp=null,st=e):st=t):st=Gt?Nn(e.stateNode.nextSibling):null;return!0}function bi(){st=Gt=null,ja=He=!1}function od(){var e=ql;return e!==null&&(rn===null?rn=e:rn.push.apply(rn,e),ql=null),e}function Ss(e){ql===null?ql=[e]:ql.push(e)}function sd(){var e=xn;if(e!==null){xn=null;for(var t=$f(e);0<e.children.length;)e=e.children[0];F(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
129
+
130
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
131
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
132
+ - Date formatting in a user's locale which doesn't match the server.
133
+ - External changing data without sending a snapshot of it along with the HTML.
134
+ - Invalid HTML tag nesting.
135
+
136
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
137
+
138
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function yu(){Vo=Cc=null,Bo=!1}function wl(e,t,n){Te(Cm,t._currentValue,e),t._currentValue=n,Te(Rm,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==W0&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=W0}function Qa(e,t){e._currentValue=Cm.current;var n=Rm.current;ge(Rm,t),e._currentRenderer=n,ge(Cm,t)}function rd(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function ud(e,t,n,a){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var i=l.dependencies;if(i!==null){var r=l.child;i=i.firstContext;e:for(;i!==null;){var f=i;i=l;for(var d=0;d<t.length;d++)if(f.context===t[d]){i.lanes|=n,f=i.alternate,f!==null&&(f.lanes|=n),rd(i.return,n,e),a||(r=null);break e}i=f.next}}else if(l.tag===18){if(r=l.return,r===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");r.lanes|=n,i=r.alternate,i!==null&&(i.lanes|=n),rd(r,n,e),r=null}else r=l.child;if(r!==null)r.return=l;else for(r=l;r!==null;){if(r===e){r=null;break}if(l=r.sibling,l!==null){l.return=r.return,r=l;break}r=r.return}l=r}}function so(e,t,n,a){e=null;for(var l=t,i=!1;l!==null;){if(!i){if((l.flags&524288)!==0)i=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var r=l.alternate;if(r===null)throw Error("Should have a current fiber. This is a bug in React.");if(r=r.memoizedProps,r!==null){var f=l.type;an(l.pendingProps.value,r.value)||(e!==null?e.push(f):e=[f])}}else if(l===fc.current){if(r=l.alternate,r===null)throw Error("Should have a current fiber. This is a bug in React.");r.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(Br):e=[Br])}l=l.return}e!==null&&ud(t,e,n,a),t.flags|=262144}function gu(e){for(e=e.firstContext;e!==null;){if(!an(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function vi(e){Cc=e,Vo=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ut(e){return Bo&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),tg(Cc,e)}function bu(e,t){return Cc===null&&vi(e),tg(e,t)}function tg(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Vo===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Vo=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Vo=Vo.next=t;return n}function cd(){return{controller:new WT,data:new Map,refCount:0}}function Si(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Es(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&ex(tx,function(){e.controller.abort()})}function pa(e,t,n){(e&127)!==0?0>Ha&&(Ha=wt(),rr=Rc(t),Dm=t,n!=null&&(_m=I(n)),(Ge&(Ut|Dn))!==Vt&&(yt=!0,$l=sr),e=Ys(),t=qs(),e!==ko||t!==ur?ko=-1.1:t!==null&&($l=sr),Ui=e,ur=t):(e&4194048)!==0&&0>Yn&&(Yn=wt(),cr=Rc(t),eS=t,n!=null&&(tS=I(n)),0>ol)&&(e=Ys(),t=qs(),(e!==Xl||t!==Mi)&&(Xl=-1.1),Gl=e,Mi=t)}function vN(e){if(0>Ha){Ha=wt(),rr=e._debugTask!=null?e._debugTask:null,(Ge&(Ut|Dn))!==Vt&&($l=sr);var t=Ys(),n=qs();t!==ko||n!==ur?ko=-1.1:n!==null&&($l=sr),Ui=t,ur=n}0>Yn&&(Yn=wt(),cr=e._debugTask!=null?e._debugTask:null,0>ol)&&(e=Ys(),t=qs(),(e!==Xl||t!==Mi)&&(Xl=-1.1),Gl=e,Mi=t)}function Za(){var e=Ai;return Ai=0,e}function vu(e){var t=Ai;return Ai=e,t}function Ns(e){var t=Ai;return Ai+=e,t}function Su(){Se=ye=-1.1}function bn(){var e=ye;return ye=-1.1,e}function vn(e){0<=e&&(ye=e)}function ya(){var e=dt;return dt=-0,e}function ga(e){0<=e&&(dt=e)}function ba(){var e=ct;return ct=null,e}function va(){var e=yt;return yt=!1,e}function fd(e){ln=wt(),0>e.actualStartTime&&(e.actualStartTime=ln)}function dd(e){if(0<=ln){var t=wt()-ln;e.actualDuration+=t,e.selfBaseDuration=t,ln=-1}}function ng(e){if(0<=ln){var t=wt()-ln;e.actualDuration+=t,ln=-1}}function Sa(){if(0<=ln){var e=wt(),t=e-ln;ln=-1,Ai+=t,dt+=t,Se=e}}function ag(e){ct===null&&(ct=[]),ct.push(e),ll===null&&(ll=[]),ll.push(e)}function Ea(){ln=wt(),0>ye&&(ye=ln)}function ws(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function SN(e,t){if(dr===null){var n=dr=[];Om=0,zi=Eh(),qo={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Om++,t.then(lg,lg),t}function lg(){if(--Om===0&&(-1<Yn||(ol=-1.1),dr!==null)){qo!==null&&(qo.status="fulfilled");var e=dr;dr=null,zi=0,qo=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function EN(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(l){n.push(l)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var l=0;l<n.length;l++)(0,n[l])(t)},function(l){for(a.status="rejected",a.reason=l,l=0;l<n.length;l++)(0,n[l])(void 0)}),a}function hd(){var e=ji.current;return e!==null?e:nt.pooledCache}function Eu(e,t){t===null?Te(ji,ji.current,e):Te(ji,t.pool,e)}function ig(){var e=hd();return e===null?null:{parent:Nt._currentValue,pool:e}}function og(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function sg(e){return e=e.status,e==="fulfilled"||e==="rejected"}function rg(e,t,n){L.actQueue!==null&&(L.didUsePromise=!0);var a=e.thenables;if(n=a[n],n===void 0?a.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then($a,$a),t=n),t._debugInfo===void 0){e=performance.now(),a=t.displayName;var l={name:typeof a=="string"?a:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:l}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){l.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cg(e),e;default:if(typeof t.status=="string")t.then($a,$a);else{if(e=nt,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=i}},function(i){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cg(e),e}throw Li=t,vr=!0,Yo}}function Tl(e){try{return ox(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Li=t,vr=!0,Yo):t}}function ug(){if(Li===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Li;return Li=null,vr=!1,e}function cg(e){if(e===Yo||e===jc)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function kt(e){var t=Ae;return e!=null&&(Ae=t===null?e:t.concat(e)),t}function md(){var e=Ae;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function Nu(e,t,n){for(var a=Object.keys(e.props),l=0;l<a.length;l++){var i=a[l];if(i!=="children"&&i!=="key"){t===null&&(t=mu(e,n.mode,0),t._debugInfo=Ae,t.return=n),F(t,function(r){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r)},i);break}}}function wu(e){var t=Sr;return Sr+=1,$o===null&&($o=og()),rg($o,e,t)}function Ts(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function fg(e,t){throw t.$$typeof===Vw?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
139
+ - Multiple copies of the "react" package is used.
140
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
141
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Tu(e,t){var n=md();n!==null?n.run(fg.bind(null,e,t)):fg(e,t)}function dg(e,t){var n=I(e)||"Component";ES[n]||(ES[n]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
142
+ root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
143
+ <%s>{%s}</%s>`,t,t,n,t,n))}function xu(e,t){var n=md();n!==null?n.run(dg.bind(null,e,t)):dg(e,t)}function hg(e,t){var n=I(e)||"Component";NS[n]||(NS[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
144
+ root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
145
+ <%s>%s</%s>`,n,t,n))}function Cu(e,t){var n=md();n!==null?n.run(hg.bind(null,e,t)):hg(e,t)}function mg(e){function t(N,T){if(e){var C=N.deletions;C===null?(N.deletions=[T],N.flags|=16):C.push(T)}}function n(N,T){if(!e)return null;for(;T!==null;)t(N,T),T=T.sibling;return null}function a(N){for(var T=new Map;N!==null;)N.key!==null?T.set(N.key,N):T.set(N.index,N),N=N.sibling;return T}function l(N,T){return N=Ga(N,T),N.index=0,N.sibling=null,N}function i(N,T,C){return N.index=C,e?(C=N.alternate,C!==null?(C=C.index,C<T?(N.flags|=67108866,T):C):(N.flags|=67108866,T)):(N.flags|=1048576,T)}function r(N){return e&&N.alternate===null&&(N.flags|=67108866),N}function f(N,T,C,q){return T===null||T.tag!==6?(T=nd(C,N.mode,q),T.return=N,T._debugOwner=N,T._debugTask=N._debugTask,T._debugInfo=Ae,T):(T=l(T,C),T.return=N,T._debugInfo=Ae,T)}function d(N,T,C,q){var te=C.type;return te===wo?(T=R(N,T,C.props.children,q,C.key),Nu(C,T,N),T):T!==null&&(T.elementType===te||Gy(T,C)||typeof te=="object"&&te!==null&&te.$$typeof===wn&&Tl(te)===T.type)?(T=l(T,C.props),Ts(T,C),T.return=N,T._debugOwner=C._owner,T._debugInfo=Ae,T):(T=mu(C,N.mode,q),Ts(T,C),T.return=N,T._debugInfo=Ae,T)}function m(N,T,C,q){return T===null||T.tag!==4||T.stateNode.containerInfo!==C.containerInfo||T.stateNode.implementation!==C.implementation?(T=ad(C,N.mode,q),T.return=N,T._debugInfo=Ae,T):(T=l(T,C.children||[]),T.return=N,T._debugInfo=Ae,T)}function R(N,T,C,q,te){return T===null||T.tag!==7?(T=yi(C,N.mode,q,te),T.return=N,T._debugOwner=N,T._debugTask=N._debugTask,T._debugInfo=Ae,T):(T=l(T,C),T.return=N,T._debugInfo=Ae,T)}function D(N,T,C){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=nd(""+T,N.mode,C),T.return=N,T._debugOwner=N,T._debugTask=N._debugTask,T._debugInfo=Ae,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Da:return C=mu(T,N.mode,C),Ts(C,T),C.return=N,N=kt(T._debugInfo),C._debugInfo=Ae,Ae=N,C;case No:return T=ad(T,N.mode,C),T.return=N,T._debugInfo=Ae,T;case wn:var q=kt(T._debugInfo);return T=Tl(T),N=D(N,T,C),Ae=q,N}if(At(T)||We(T))return C=yi(T,N.mode,C,null),C.return=N,C._debugOwner=N,C._debugTask=N._debugTask,N=kt(T._debugInfo),C._debugInfo=Ae,Ae=N,C;if(typeof T.then=="function")return q=kt(T._debugInfo),N=D(N,wu(T),C),Ae=q,N;if(T.$$typeof===_a)return D(N,bu(N,T),C);Tu(N,T)}return typeof T=="function"&&xu(N,T),typeof T=="symbol"&&Cu(N,T),null}function w(N,T,C,q){var te=T!==null?T.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return te!==null?null:f(N,T,""+C,q);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Da:return C.key===te?(te=kt(C._debugInfo),N=d(N,T,C,q),Ae=te,N):null;case No:return C.key===te?m(N,T,C,q):null;case wn:return te=kt(C._debugInfo),C=Tl(C),N=w(N,T,C,q),Ae=te,N}if(At(C)||We(C))return te!==null?null:(te=kt(C._debugInfo),N=R(N,T,C,q,null),Ae=te,N);if(typeof C.then=="function")return te=kt(C._debugInfo),N=w(N,T,wu(C),q),Ae=te,N;if(C.$$typeof===_a)return w(N,T,bu(N,C),q);Tu(N,C)}return typeof C=="function"&&xu(N,C),typeof C=="symbol"&&Cu(N,C),null}function z(N,T,C,q,te){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return N=N.get(C)||null,f(T,N,""+q,te);if(typeof q=="object"&&q!==null){switch(q.$$typeof){case Da:return C=N.get(q.key===null?C:q.key)||null,N=kt(q._debugInfo),T=d(T,C,q,te),Ae=N,T;case No:return N=N.get(q.key===null?C:q.key)||null,m(T,N,q,te);case wn:var we=kt(q._debugInfo);return q=Tl(q),T=z(N,T,C,q,te),Ae=we,T}if(At(q)||We(q))return C=N.get(C)||null,N=kt(q._debugInfo),T=R(T,C,q,te,null),Ae=N,T;if(typeof q.then=="function")return we=kt(q._debugInfo),T=z(N,T,C,wu(q),te),Ae=we,T;if(q.$$typeof===_a)return z(N,T,C,bu(T,q),te);Tu(T,q)}return typeof q=="function"&&xu(T,q),typeof q=="symbol"&&Cu(T,q),null}function W(N,T,C,q){if(typeof C!="object"||C===null)return q;switch(C.$$typeof){case Da:case No:U(N,T,C);var te=C.key;if(typeof te!="string")break;if(q===null){q=new Set,q.add(te);break}if(!q.has(te)){q.add(te);break}F(T,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",te)});break;case wn:C=Tl(C),W(N,T,C,q)}return q}function ae(N,T,C,q){for(var te=null,we=null,pe=null,fe=T,De=T=0,rt=null;fe!==null&&De<C.length;De++){fe.index>De?(rt=fe,fe=null):rt=fe.sibling;var St=w(N,fe,C[De],q);if(St===null){fe===null&&(fe=rt);break}te=W(N,St,C[De],te),e&&fe&&St.alternate===null&&t(N,fe),T=i(St,T,De),pe===null?we=St:pe.sibling=St,pe=St,fe=rt}if(De===C.length)return n(N,fe),He&&Xa(N,De),we;if(fe===null){for(;De<C.length;De++)fe=D(N,C[De],q),fe!==null&&(te=W(N,fe,C[De],te),T=i(fe,T,De),pe===null?we=fe:pe.sibling=fe,pe=fe);return He&&Xa(N,De),we}for(fe=a(fe);De<C.length;De++)rt=z(fe,N,De,C[De],q),rt!==null&&(te=W(N,rt,C[De],te),e&&rt.alternate!==null&&fe.delete(rt.key===null?De:rt.key),T=i(rt,T,De),pe===null?we=rt:pe.sibling=rt,pe=rt);return e&&fe.forEach(function(ml){return t(N,ml)}),He&&Xa(N,De),we}function lt(N,T,C,q){if(C==null)throw Error("An iterable object provided no iterator.");for(var te=null,we=null,pe=T,fe=T=0,De=null,rt=null,St=C.next();pe!==null&&!St.done;fe++,St=C.next()){pe.index>fe?(De=pe,pe=null):De=pe.sibling;var ml=w(N,pe,St.value,q);if(ml===null){pe===null&&(pe=De);break}rt=W(N,ml,St.value,rt),e&&pe&&ml.alternate===null&&t(N,pe),T=i(ml,T,fe),we===null?te=ml:we.sibling=ml,we=ml,pe=De}if(St.done)return n(N,pe),He&&Xa(N,fe),te;if(pe===null){for(;!St.done;fe++,St=C.next())pe=D(N,St.value,q),pe!==null&&(rt=W(N,pe,St.value,rt),T=i(pe,T,fe),we===null?te=pe:we.sibling=pe,we=pe);return He&&Xa(N,fe),te}for(pe=a(pe);!St.done;fe++,St=C.next())De=z(pe,N,fe,St.value,q),De!==null&&(rt=W(N,De,St.value,rt),e&&De.alternate!==null&&pe.delete(De.key===null?fe:De.key),T=i(De,T,fe),we===null?te=De:we.sibling=De,we=De);return e&&pe.forEach(function(Ax){return t(N,Ax)}),He&&Xa(N,fe),te}function Be(N,T,C,q){if(typeof C=="object"&&C!==null&&C.type===wo&&C.key===null&&(Nu(C,null,N),C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case Da:var te=kt(C._debugInfo);e:{for(var we=C.key;T!==null;){if(T.key===we){if(we=C.type,we===wo){if(T.tag===7){n(N,T.sibling),q=l(T,C.props.children),q.return=N,q._debugOwner=C._owner,q._debugInfo=Ae,Nu(C,q,N),N=q;break e}}else if(T.elementType===we||Gy(T,C)||typeof we=="object"&&we!==null&&we.$$typeof===wn&&Tl(we)===T.type){n(N,T.sibling),q=l(T,C.props),Ts(q,C),q.return=N,q._debugOwner=C._owner,q._debugInfo=Ae,N=q;break e}n(N,T);break}else t(N,T);T=T.sibling}C.type===wo?(q=yi(C.props.children,N.mode,q,C.key),q.return=N,q._debugOwner=N,q._debugTask=N._debugTask,q._debugInfo=Ae,Nu(C,q,N),N=q):(q=mu(C,N.mode,q),Ts(q,C),q.return=N,q._debugInfo=Ae,N=q)}return N=r(N),Ae=te,N;case No:e:{for(te=C,C=te.key;T!==null;){if(T.key===C)if(T.tag===4&&T.stateNode.containerInfo===te.containerInfo&&T.stateNode.implementation===te.implementation){n(N,T.sibling),q=l(T,te.children||[]),q.return=N,N=q;break e}else{n(N,T);break}else t(N,T);T=T.sibling}q=ad(te,N.mode,q),q.return=N,N=q}return r(N);case wn:return te=kt(C._debugInfo),C=Tl(C),N=Be(N,T,C,q),Ae=te,N}if(At(C))return te=kt(C._debugInfo),N=ae(N,T,C,q),Ae=te,N;if(We(C)){if(te=kt(C._debugInfo),we=We(C),typeof we!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var pe=we.call(C);return pe===C?(N.tag!==0||Object.prototype.toString.call(N.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(pe)!=="[object Generator]")&&(vS||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),vS=!0):C.entries!==we||jm||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),jm=!0),N=lt(N,T,pe,q),Ae=te,N}if(typeof C.then=="function")return te=kt(C._debugInfo),N=Be(N,T,wu(C),q),Ae=te,N;if(C.$$typeof===_a)return Be(N,T,bu(N,C),q);Tu(N,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(te=""+C,T!==null&&T.tag===6?(n(N,T.sibling),q=l(T,te),q.return=N,N=q):(n(N,T),q=nd(te,N.mode,q),q.return=N,q._debugOwner=N,q._debugTask=N._debugTask,q._debugInfo=Ae,N=q),r(N)):(typeof C=="function"&&xu(N,C),typeof C=="symbol"&&Cu(N,C),n(N,T))}return function(N,T,C,q){var te=Ae;Ae=null;try{Sr=0;var we=Be(N,T,C,q);return $o=null,we}catch(rt){if(rt===Yo||rt===jc)throw rt;var pe=v(29,rt,null,N.mode);pe.lanes=q,pe.return=N;var fe=pe._debugInfo=Ae;if(pe._debugOwner=N._debugOwner,pe._debugTask=N._debugTask,fe!=null){for(var De=fe.length-1;0<=De;De--)if(typeof fe[De].stack=="string"){pe._debugOwner=fe[De],pe._debugTask=fe[De].debugTask;break}}return pe}finally{Ae=te}}}function pg(e,t){var n=At(e);return e=!n&&typeof We(e)=="function",n||e?(n=n?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",n,t,n),!1):!0}function pd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function yd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function xl(e){return{lane:e,tag:TS,payload:null,callback:null,next:null}}function Cl(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,Lm===a&&!RS){var l=I(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
146
+
147
+ Please update the following component: %s`,l),RS=!0}return(Ge&Ut)!==Vt?(l=a.pending,l===null?t.next=t:(t.next=l.next,l.next=t),a.pending=t,t=hu(e),$y(e,null,n),t):(du(e,a,t,n),hu(e))}function xs(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ds(e,n)}}function Ru(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var r={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};i===null?l=i=r:i=i.next=r,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:a.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Cs(){if(Vm){var e=qo;if(e!==null)throw e}}function Rs(e,t,n,a){Vm=!1;var l=e.updateQueue;Ql=!1,Lm=l.shared;var i=l.firstBaseUpdate,r=l.lastBaseUpdate,f=l.shared.pending;if(f!==null){l.shared.pending=null;var d=f,m=d.next;d.next=null,r===null?i=m:r.next=m,r=d;var R=e.alternate;R!==null&&(R=R.updateQueue,f=R.lastBaseUpdate,f!==r&&(f===null?R.firstBaseUpdate=m:f.next=m,R.lastBaseUpdate=d))}if(i!==null){var D=l.baseState;r=0,R=m=d=null,f=i;do{var w=f.lane&-536870913,z=w!==f.lane;if(z?(Oe&w)===w:(a&w)===w){w!==0&&w===zi&&(Vm=!0),R!==null&&(R=R.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});e:{w=e;var W=f,ae=t,lt=n;switch(W.tag){case xS:if(W=W.payload,typeof W=="function"){Bo=!0;var Be=W.call(lt,D,ae);if(w.mode&Jt){re(!0);try{W.call(lt,D,ae)}finally{re(!1)}}Bo=!1,D=Be;break e}D=W;break e;case Hm:w.flags=w.flags&-65537|128;case TS:if(Be=W.payload,typeof Be=="function"){if(Bo=!0,W=Be.call(lt,D,ae),w.mode&Jt){re(!0);try{Be.call(lt,D,ae)}finally{re(!1)}}Bo=!1}else W=Be;if(W==null)break e;D=je({},D,W);break e;case CS:Ql=!0}}w=f.callback,w!==null&&(e.flags|=64,z&&(e.flags|=8192),z=l.callbacks,z===null?l.callbacks=[w]:z.push(w))}else z={lane:w,tag:f.tag,payload:f.payload,callback:f.callback,next:null},R===null?(m=R=z,d=D):R=R.next=z,r|=w;if(f=f.next,f===null){if(f=l.shared.pending,f===null)break;z=f,f=z.next,z.next=null,l.lastBaseUpdate=z,l.shared.pending=null}}while(!0);R===null&&(d=D),l.baseState=d,l.firstBaseUpdate=m,l.lastBaseUpdate=R,i===null&&(l.shared.lanes=0),Il|=r,e.lanes=r,e.memoizedState=D}Lm=null}function yg(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function NN(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)yg(n[e],t)}function gg(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)yg(n[e],t)}function bg(e,t){var n=Va;Te(Lc,n,e),Te(Go,t,e),Va=n|t.baseLanes}function gd(e){Te(Lc,Va,e),Te(Go,Go.current,e)}function bd(e){Va=Lc.current,ge(Go,e),ge(Lc,e)}function Rl(e){var t=e.alternate;Te(vt,vt.current&Xo,e),Te(Cn,e,e),$n===null&&(t===null||Go.current!==null||t.memoizedState!==null)&&($n=e)}function vd(e){Te(vt,vt.current,e),Te(Cn,e,e),$n===null&&($n=e)}function vg(e){e.tag===22?(Te(vt,vt.current,e),Te(Cn,e,e),$n===null&&($n=e)):Dl(e)}function Dl(e){Te(vt,vt.current,e),Te(Cn,Cn.current,e)}function Sn(e){ge(Cn,e),$n===e&&($n=null),ge(vt,e)}function Du(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Uh(n)||Mh(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ze(){var e=j;Xn===null?Xn=[e]:Xn.push(e)}function Z(){var e=j;if(Xn!==null&&(ul++,Xn[ul]!==e)){var t=I(Ne);if(!DS.has(t)&&(DS.add(t),Xn!==null)){for(var n="",a=0;a<=ul;a++){var l=Xn[a],i=a===ul?e:l;for(l=a+1+". "+l;30>l.length;)l+=" ";l+=i+`
148
+ `,n+=l}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
149
+
150
+ Previous render Next render
151
+ ------------------------------------------------------
152
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
153
+ `,t,n)}}}function ro(e){e==null||At(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",j,typeof e)}function _u(){var e=I(Ne);AS.has(e)||(AS.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function gt(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
154
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
155
+ 2. You might be breaking the Rules of Hooks
156
+ 3. You might have more than one copy of React in the same app
157
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Sd(e,t){if(wr)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",j),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
158
+
159
+ Previous: %s
160
+ Incoming: %s`,j,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!an(e[n],t[n]))return!1;return!0}function Ed(e,t,n,a,l,i){sl=i,Ne=t,Xn=e!==null?e._debugHookTypes:null,ul=-1,wr=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)==="[object AsyncFunction]"||Object.prototype.toString.call(n)==="[object AsyncGeneratorFunction]")&&(i=I(Ne),Bm.has(i)||(Bm.add(i),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",i===null?"An unknown Component":"<"+i+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e!==null&&e.memoizedState!==null?qm:Xn!==null?OS:km,Bi=i=(t.mode&Jt)!==Ee;var r=Um(n,a,l);if(Bi=!1,Zo&&(r=Nd(t,n,a,l)),i){re(!0);try{r=Nd(t,n,a,l)}finally{re(!1)}}return Sg(e,t),r}function Sg(e,t){t._debugHookTypes=Xn,t.dependencies===null?rl!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:rl}):t.dependencies._debugThenableState=rl,L.H=Tr;var n=tt!==null&&tt.next!==null;if(sl=0,Xn=j=Tt=tt=Ne=null,ul=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Bc=!1,Nr=0,rl=null,n)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||xt||(e=e.dependencies,e!==null&&gu(e)&&(xt=!0)),vr?(vr=!1,e=!0):e=!1,e&&(t=I(t)||"Unknown",_S.has(t)||Bm.has(t)||(_S.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function Nd(e,t,n,a){Ne=e;var l=0;do{if(Zo&&(rl=null),Nr=0,Zo=!1,l>=rx)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l+=1,wr=!1,Tt=tt=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}ul=-1,L.H=US,i=Um(t,n,a)}while(Zo);return i}function wN(){var e=L.H,t=e.useState()[0];return t=typeof t.then=="function"?Ds(t):t,e=e.useState()[0],(tt!==null?tt.memoizedState:null)!==e&&(Ne.flags|=1024),t}function wd(){var e=kc!==0;return kc=0,e}function Td(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&na)!==Ee?t.flags&-402655237:t.flags&-2053,e.lanes&=~n}function xd(e){if(Bc){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Bc=!1}sl=0,Xn=Tt=tt=Ne=null,ul=-1,j=null,Zo=!1,Nr=kc=0,rl=null}function Wt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Tt===null?Ne.memoizedState=Tt=e:Tt=Tt.next=e,Tt}function Fe(){if(tt===null){var e=Ne.alternate;e=e!==null?e.memoizedState:null}else e=tt.next;var t=Tt===null?Ne.memoizedState:Tt.next;if(t!==null)Tt=t,tt=e;else{if(e===null)throw Ne.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");tt=e,e={memoizedState:tt.memoizedState,baseState:tt.baseState,baseQueue:tt.baseQueue,queue:tt.queue,next:null},Tt===null?Ne.memoizedState=Tt=e:Tt=Tt.next=e}return Tt}function Au(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Ds(e){var t=Nr;return Nr+=1,rl===null&&(rl=og()),e=rg(rl,e,t),t=Ne,(Tt===null?t.memoizedState:Tt.next)===null&&(t=t.alternate,L.H=t!==null&&t.memoizedState!==null?qm:km),e}function _l(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Ds(e);if(e.$$typeof===_a)return ut(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Ei(e){var t=null,n=Ne.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Ne.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Au(),Ne.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||wr)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=Bw;else n.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",n.length,e);return t.index++,n}function Wn(e,t){return typeof t=="function"?t(e):t}function Cd(e,t,n){var a=Wt();if(n!==void 0){var l=n(t);if(Bi){re(!0);try{n(t)}finally{re(!1)}}}else l=t;return a.memoizedState=a.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},a.queue=e,e=e.dispatch=DN.bind(null,Ne,e),[a.memoizedState,e]}function uo(e){var t=Fe();return Rd(t,tt,e)}function Rd(e,t,n){var a=e.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=n;var l=e.baseQueue,i=a.pending;if(i!==null){if(l!==null){var r=l.next;l.next=i.next,i.next=r}t.baseQueue!==l&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=l=i,a.pending=null}if(i=e.baseState,l===null)e.memoizedState=i;else{t=l.next;var f=r=null,d=null,m=t,R=!1;do{var D=m.lane&-536870913;if(D!==m.lane?(Oe&D)===D:(sl&D)===D){var w=m.revertLane;if(w===0)d!==null&&(d=d.next={lane:0,revertLane:0,gesture:null,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null}),D===zi&&(R=!0);else if((sl&w)===w){m=m.next,w===zi&&(R=!0);continue}else D={lane:0,revertLane:m.revertLane,gesture:null,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null},d===null?(f=d=D,r=i):d=d.next=D,Ne.lanes|=w,Il|=w;D=m.action,Bi&&n(i,D),i=m.hasEagerState?m.eagerState:n(i,D)}else w={lane:D,revertLane:m.revertLane,gesture:m.gesture,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null},d===null?(f=d=w,r=i):d=d.next=w,Ne.lanes|=D,Il|=D;m=m.next}while(m!==null&&m!==t);if(d===null?r=i:d.next=f,!an(i,e.memoizedState)&&(xt=!0,R&&(n=qo,n!==null)))throw n;e.memoizedState=i,e.baseState=r,e.baseQueue=d,a.lastRenderedState=i}return l===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function _s(e){var t=Fe(),n=t.queue;if(n===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");n.lastRenderedReducer=e;var a=n.dispatch,l=n.pending,i=t.memoizedState;if(l!==null){n.pending=null;var r=l=l.next;do i=e(i,r.action),r=r.next;while(r!==l);an(i,t.memoizedState)||(xt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function Dd(e,t,n){var a=Ne,l=Wt();if(He){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var i=n();Qo||i===n()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Qo=!0)}else{if(i=t(),Qo||(n=t(),an(i,n)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Qo=!0)),nt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Oe&127)!==0||Eg(a,t,i)}return l.memoizedState=i,n={value:i,getSnapshot:t},l.queue=n,zu(wg.bind(null,a,n,e),[e]),a.flags|=2048,fo(Gn|sn,{destroy:void 0},Ng.bind(null,a,n,i,t),null),i}function Ou(e,t,n){var a=Ne,l=Fe(),i=He;if(i){if(n===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");n=n()}else if(n=t(),!Qo){var r=t();an(n,r)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Qo=!0)}(r=!an((tt||l).memoizedState,n))&&(l.memoizedState=n,xt=!0),l=l.queue;var f=wg.bind(null,a,l,e);if(cn(2048,sn,f,[e]),l.getSnapshot!==t||r||Tt!==null&&Tt.memoizedState.tag&Gn){if(a.flags|=2048,fo(Gn|sn,{destroy:void 0},Ng.bind(null,a,l,n,t),null),nt===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");i||(sl&127)!==0||Eg(a,t,n)}return n}function Eg(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ne.updateQueue,t===null?(t=Au(),Ne.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ng(e,t,n,a){t.value=n,t.getSnapshot=a,Tg(t)&&xg(e)}function wg(e,t,n){return n(function(){Tg(t)&&(pa(2,"updateSyncExternalStore()",e),xg(e))})}function Tg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!an(e,n)}catch{return!0}}function xg(e){var t=Qt(e,2);t!==null&&pt(t,e,2)}function _d(e){var t=Wt();if(typeof e=="function"){var n=e;if(e=n(),Bi){re(!0);try{n()}finally{re(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wn,lastRenderedState:e},t}function Ad(e){e=_d(e);var t=e.queue,n=Gg.bind(null,Ne,t);return t.dispatch=n,[e.memoizedState,n]}function Od(e){var t=Wt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Xd.bind(null,Ne,!0,n),n.dispatch=t,[e,t]}function Cg(e,t){var n=Fe();return Rg(n,tt,e,t)}function Rg(e,t,n,a){return e.baseState=n,Rd(e,tt,typeof a=="function"?a:Wn)}function Dg(e,t){var n=Fe();return tt!==null?Rg(n,tt,e,t):(n.baseState=e,[e,n.queue.dispatch])}function TN(e,t,n,a,l){if(ku(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var i={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(r){i.listeners.push(r)}};L.T!==null?n(!0):i.isTransition=!1,a(i),n=t.pending,n===null?(i.next=t.pending=i,_g(t,i)):(i.next=n.next,t.pending=n.next=i)}}function _g(e,t){var n=t.action,a=t.payload,l=e.state;if(t.isTransition){var i=L.T,r={};r._updatedFibers=new Set,L.T=r;try{var f=n(l,a),d=L.S;d!==null&&d(r,f),Ag(e,t,f)}catch(m){Ud(e,t,m)}finally{i!==null&&r.types!==null&&(i.types!==null&&i.types!==r.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),i.types=r.types),L.T=i,i===null&&r._updatedFibers&&(e=r._updatedFibers.size,r._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{r=n(l,a),Ag(e,t,r)}catch(m){Ud(e,t,m)}}function Ag(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?(L.asyncTransitions++,n.then(Bu,Bu),n.then(function(a){Og(e,t,a)},function(a){return Ud(e,t,a)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Og(e,t,n)}function Og(e,t,n){t.status="fulfilled",t.value=n,Ug(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,_g(e,n)))}function Ud(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,Ug(t),t=t.next;while(t!==a)}e.action=null}function Ug(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Mg(e,t){return t}function co(e,t){if(He){var n=nt.formState;if(n!==null){e:{var a=Ne;if(He){if(st){t:{for(var l=st,i=qn;l.nodeType!==8;){if(!i){l=null;break t}if(l=Nn(l.nextSibling),l===null){l=null;break t}}i=l.data,l=i===cp||i===g1?l:null}if(l){st=Nn(l.nextSibling),a=l.data===cp;break e}}Nl(a)}a=!1}a&&(t=n[0])}}return n=Wt(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mg,lastRenderedState:t},n.queue=a,n=Gg.bind(null,Ne,a),a.dispatch=n,a=_d(!1),i=Xd.bind(null,Ne,!1,a.queue),a=Wt(),l={state:t,dispatch:null,action:e,pending:null},a.queue=l,n=TN.bind(null,Ne,l,i,n),l.dispatch=n,a.memoizedState=e,[t,n,!1]}function Uu(e){var t=Fe();return zg(t,tt,e)}function zg(e,t,n){if(t=Rd(e,t,Mg)[0],e=uo(Wn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Ds(t)}catch(r){throw r===Yo?jc:r}else a=t;t=Fe();var l=t.queue,i=l.dispatch;return n!==t.memoizedState&&(Ne.flags|=2048,fo(Gn|sn,{destroy:void 0},xN.bind(null,l,n),null)),[a,i,e]}function xN(e,t){e.action=t}function Mu(e){var t=Fe(),n=tt;if(n!==null)return zg(t,n,e);Fe(),t=t.memoizedState,n=Fe();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function fo(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=Ne.updateQueue,t===null&&(t=Au(),Ne.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Md(e){var t=Wt();return e={current:e},t.memoizedState=e}function Ni(e,t,n,a){var l=Wt();Ne.flags|=e,l.memoizedState=fo(Gn|t,{destroy:void 0},n,a===void 0?null:a)}function cn(e,t,n,a){var l=Fe();a=a===void 0?null:a;var i=l.memoizedState.inst;tt!==null&&a!==null&&Sd(a,tt.memoizedState.deps)?l.memoizedState=fo(t,i,n,a):(Ne.flags|=e,l.memoizedState=fo(Gn|t,i,n,a))}function zu(e,t){(Ne.mode&na)!==Ee?Ni(276826112,sn,e,t):Ni(8390656,sn,e,t)}function CN(e){Ne.flags|=4;var t=Ne.updateQueue;if(t===null)t=Au(),Ne.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function zd(e){var t=Wt(),n={impl:e};return t.memoizedState=n,function(){if((Ge&Ut)!==Vt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return n.impl.apply(void 0,arguments)}}function ju(e){var t=Fe().memoizedState;return CN({ref:t,nextImpl:e}),function(){if((Ge&Ut)!==Vt)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function jd(e,t){var n=4194308;return(Ne.mode&na)!==Ee&&(n|=134217728),Ni(n,Rn,e,t)}function jg(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Hd(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null;var a=4194308;(Ne.mode&na)!==Ee&&(a|=134217728),Ni(a,Rn,jg.bind(null,t,e),n)}function Hu(e,t,n){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),n=n!=null?n.concat([e]):null,cn(4,Rn,jg.bind(null,t,e),n)}function Ld(e,t){return Wt().memoizedState=[e,t===void 0?null:t],e}function Lu(e,t){var n=Fe();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&Sd(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Vd(e,t){var n=Wt();t=t===void 0?null:t;var a=e();if(Bi){re(!0);try{e()}finally{re(!1)}}return n.memoizedState=[a,t],a}function Vu(e,t){var n=Fe();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Sd(t,a[1]))return a[0];if(a=e(),Bi){re(!0);try{e()}finally{re(!1)}}return n.memoizedState=[a,t],a}function Bd(e,t){var n=Wt();return kd(n,e,t)}function Hg(e,t){var n=Fe();return Vg(n,tt.memoizedState,e,t)}function Lg(e,t){var n=Fe();return tt===null?kd(n,e,t):Vg(n,tt.memoizedState,e,t)}function kd(e,t,n){return n===void 0||(sl&1073741824)!==0&&(Oe&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Bb(),Ne.lanes|=e,Il|=e,n)}function Vg(e,t,n,a){return an(n,t)?n:Go.current!==null?(e=kd(e,n,a),an(e,t)||(xt=!0),e):(sl&42)===0||(sl&1073741824)!==0&&(Oe&261930)===0?(xt=!0,e.memoizedState=n):(e=Bb(),Ne.lanes|=e,Il|=e,t)}function Bu(){L.asyncTransitions--}function Bg(e,t,n,a,l){var i=Ie.p;Ie.p=i!==0&&i<Ma?i:Ma;var r=L.T,f={};f._updatedFibers=new Set,L.T=f,Xd(e,!1,t,n);try{var d=l(),m=L.S;if(m!==null&&m(f,d),d!==null&&typeof d=="object"&&typeof d.then=="function"){L.asyncTransitions++,d.then(Bu,Bu);var R=EN(d,a);As(e,t,R,En(e))}else As(e,t,a,En(e))}catch(D){As(e,t,{then:function(){},status:"rejected",reason:D},En(e))}finally{Ie.p=i,r!==null&&f.types!==null&&(r.types!==null&&r.types!==f.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),r.types=f.types),L.T=r,r===null&&f._updatedFibers&&(e=f._updatedFibers.size,f._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function qd(e,t,n,a){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var l=kg(e).queue;vN(e),Bg(e,l,t,Ki,n===null?_:function(){return qg(e),n(a)})}function kg(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ki,baseState:Ki,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wn,lastRenderedState:Ki},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function qg(e){L.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=kg(e);t.next===null&&(t=e.alternate.memoizedState),As(e,t.next.queue,{},En(e))}function Yd(){var e=_d(!1);return e=Bg.bind(null,Ne,e.queue,!0,!1),Wt().memoizedState=e,[!1,e]}function Yg(){var e=uo(Wn)[0],t=Fe().memoizedState;return[typeof e=="boolean"?e:Ds(e),t]}function $g(){var e=_s(Wn)[0],t=Fe().memoizedState;return[typeof e=="boolean"?e:Ds(e),t]}function wi(){return ut(Br)}function $d(){var e=Wt(),t=nt.identifierPrefix;if(He){var n=nl,a=tl;n=(a&~(1<<32-en(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=kc++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=sx++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t}function Gd(){return Wt().memoizedState=RN.bind(null,Ne)}function RN(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var a=En(n),l=xl(a),i=Cl(n,l,a);i!==null&&(pa(a,"refresh()",e),pt(i,n,a),xs(i,n,a)),e=cd(),t!=null&&i!==null&&console.error("The seed argument is not enabled outside experimental channels."),l.payload={cache:e};return}n=n.return}}function DN(e,t,n){var a=arguments;typeof a[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),a=En(e);var l={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};ku(e)?Xg(t,l):(l=Pf(e,t,l,a),l!==null&&(pa(a,"dispatch()",e),pt(l,e,a),Qg(l,t,a)))}function Gg(e,t,n){var a=arguments;typeof a[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),a=En(e),As(e,t,n,a)&&pa(a,"setState()",e)}function As(e,t,n,a){var l={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(ku(e))Xg(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null)){var r=L.H;L.H=la;try{var f=t.lastRenderedState,d=i(f,n);if(l.hasEagerState=!0,l.eagerState=d,an(d,f))return du(e,t,l,0),nt===null&&fu(),!1}catch{}finally{L.H=r}}if(n=Pf(e,t,l,a),n!==null)return pt(n,e,a),Qg(n,t,a),!0}return!1}function Xd(e,t,n,a){if(L.T===null&&zi===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),a={lane:2,revertLane:Eh(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ku(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Pf(e,n,a,2),t!==null&&(pa(2,"setOptimistic()",e),pt(t,e,2))}function ku(e){var t=e.alternate;return e===Ne||t!==null&&t===Ne}function Xg(e,t){Zo=Bc=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Qg(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,ds(e,n)}}function Qd(e){if(e!==null&&typeof e!="function"){var t=String(e);$S.has(t)||($S.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Zd(e,t,n,a){var l=e.memoizedState,i=n(a,l);if(e.mode&Jt){re(!0);try{i=n(a,l)}finally{re(!1)}}i===void 0&&(t=Me(t)||"Component",BS.has(t)||(BS.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),l=i==null?l:je({},l,i),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}function Zg(e,t,n,a,l,i,r){var f=e.stateNode;if(typeof f.shouldComponentUpdate=="function"){if(n=f.shouldComponentUpdate(a,i,r),e.mode&Jt){re(!0);try{n=f.shouldComponentUpdate(a,i,r)}finally{re(!1)}}return n===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Me(t)||"Component"),n}return t.prototype&&t.prototype.isPureReactComponent?!vs(n,a)||!vs(l,i):!0}function Jg(e,t,n,a){var l=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==l&&(e=I(e)||"Component",zS.has(e)||(zS.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),Ym.enqueueReplaceState(t,t.state,null))}function Ti(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=je({},n));for(var l in e)n[l]===void 0&&(n[l]=e[l])}return n}function Ig(e){vm(e),console.warn(`%s
161
+
162
+ %s
163
+ `,Jo?"An error occurred in the <"+Jo+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
164
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Kg(e){var t=Jo?"The above error occurred in the <"+Jo+"> component.":"The above error occurred in one of your React components.",n="React will try to recreate this component tree from scratch using the error boundary you provided, "+(($m||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var a=e.environmentName;e=[`%o
165
+
166
+ %s
167
+
168
+ %s
169
+ `,e,t,n].slice(0),typeof e[0]=="string"?e.splice(0,1,x1+" "+e[0],C1,df+a+df,R1):e.splice(0,0,x1,C1,df+a+df,R1),e.unshift(console),a=Dx.apply(console.error,e),a()}else console.error(`%o
170
+
171
+ %s
172
+
173
+ %s
174
+ `,e,t,n)}function Fg(e){vm(e)}function qu(e,t){try{Jo=t.source?I(t.source):null,$m=null;var n=t.value;if(L.actQueue!==null)L.thrownErrors.push(n);else{var a=e.onUncaughtError;a(n,{componentStack:t.stack})}}catch(l){setTimeout(function(){throw l})}}function Pg(e,t,n){try{Jo=n.source?I(n.source):null,$m=I(t);var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function Jd(e,t,n){return n=xl(n),n.tag=Hm,n.payload={element:null},n.callback=function(){F(t.source,qu,e,t)},n}function Id(e){return e=xl(e),e.tag=Hm,e}function Kd(e,t,n,a){var l=n.type.getDerivedStateFromError;if(typeof l=="function"){var i=a.value;e.payload=function(){return l(i)},e.callback=function(){Xy(n),F(a.source,Pg,t,n,a)}}var r=n.stateNode;r!==null&&typeof r.componentDidCatch=="function"&&(e.callback=function(){Xy(n),F(a.source,Pg,t,n,a),typeof l!="function"&&(Fl===null?Fl=new Set([this]):Fl.add(this)),ax(this,a),typeof l=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",I(n)||"Unknown")})}function _N(e,t,n,a,l){if(n.flags|=32768,Ua&&Vs(e,l),a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&so(t,n,l,!0),He&&(ja=!0),n=Cn.current,n!==null){switch(n.tag){case 31:case 13:return $n===null?Ku():n.alternate===null&&ht===fl&&(ht=$c),n.flags&=-257,n.flags|=65536,n.lanes=l,a===Hc?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),gh(e,a,l)),!1;case 22:return n.flags|=65536,a===Hc?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),gh(e,a,l)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return gh(e,a,l),Ku(),!1}if(He)return ja=!0,t=Cn.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,a!==xm&&Ss(gn(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:a}),n))):(a!==xm&&Ss(gn(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:a}),n)),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,a=gn(a,n),l=Jd(e.stateNode,a,l),Ru(e,l),ht!==Zl&&(ht=ki)),!1;var i=gn(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:a}),n);if(Ar===null?Ar=[i]:Ar.push(i),ht!==Zl&&(ht=ki),t===null)return!0;a=gn(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=l&-l,n.lanes|=e,e=Jd(n.stateNode,a,e),Ru(n,e),!1;case 1:if(t=n.type,i=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Fl===null||!Fl.has(i))))return n.flags|=65536,l&=-l,n.lanes|=l,l=Id(l),Kd(l,e,n,a),Ru(n,l),!1}n=n.return}while(n!==null);return!1}function qt(e,t,n,a){t.child=e===null?wS(t,null,n,a):Vi(t,e.child,n,a)}function Wg(e,t,n,a,l){n=n.render;var i=t.ref;if("ref"in a){var r={};for(var f in a)f!=="ref"&&(r[f]=a[f])}else r=a;return vi(t),a=Ed(e,t,n,r,i,l),f=wd(),e!==null&&!xt?(Td(e,t,l),Ja(e,t,l)):(He&&f&&ld(t),t.flags|=1,qt(e,t,a,l),t.child)}function eb(e,t,n,a,l){if(e===null){var i=n.type;return typeof i=="function"&&!ed(i)&&i.defaultProps===void 0&&n.compare===null?(n=pi(i),t.tag=15,t.type=n,Pd(t,i),tb(e,t,n,a,l)):(e=td(n.type,null,a,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!lh(e,l)){var r=i.memoizedProps;if(n=n.compare,n=n!==null?n:vs,n(r,a)&&e.ref===t.ref)return Ja(e,t,l)}return t.flags|=1,e=Ga(i,a),e.ref=t.ref,e.return=t,t.child=e}function tb(e,t,n,a,l){if(e!==null){var i=e.memoizedProps;if(vs(i,a)&&e.ref===t.ref&&t.type===e.type)if(xt=!1,t.pendingProps=a=i,lh(e,l))(e.flags&131072)!==0&&(xt=!0);else return t.lanes=e.lanes,Ja(e,t,l)}return Fd(e,t,n,a,l)}function nb(e,t,n,a){var l=a.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:ir,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|n:n,e!==null){for(a=t.child=e.child,l=0;a!==null;)l=l|a.lanes|a.childLanes,a=a.sibling;a=l&~i}else a=0,t.child=null;return ab(e,t,i,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Eu(t,i!==null?i.cachePool:null),i!==null?bg(t,i):gd(t),vg(t);else return a=t.lanes=536870912,ab(e,t,i!==null?i.baseLanes|n:n,n,a)}else i!==null?(Eu(t,i.cachePool),bg(t,i),Dl(t),t.memoizedState=null):(e!==null&&Eu(t,null),gd(t),Dl(t));return qt(e,t,l,n),t.child}function Os(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:ir,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ab(e,t,n,a,l){var i=hd();return i=i===null?null:{parent:Nt._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},e!==null&&Eu(t,null),gd(t),vg(t),e!==null&&so(e,t,a,!0),t.childLanes=l,null}function Yu(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
175
+ - <Activity %s>
176
+ + <Activity %s>`,n===!0?"hidden":n===!1?"hidden={false}":"hidden={...}",n?'mode="hidden"':'mode="visible"'),t=Gu({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function lb(e,t,n){return Vi(t,e.child,null,n),e=Yu(t,t.pendingProps),e.flags|=2,Sn(t),t.memoizedState=null,e}function AN(e,t,n){var a=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(He){if(a.mode==="hidden")return e=Yu(t,a),t.lanes=536870912,Os(null,e);if(vd(t),(e=st)?(n=_v(e,qn),n=n!==null&&n.data===Qi?n:null,n!==null&&(a={dehydrated:n,treeContext:Ky(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=Jy(n),a.return=t,t.child=a,Gt=t,st=null)):n=null,n===null)throw pu(t,e),Nl(t);return t.lanes=536870912,null}return Yu(t,a)}var i=e.memoizedState;if(i!==null){var r=i.dehydrated;if(vd(t),l)if(t.flags&256)t.flags&=-257,t=lb(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(Py(),(n&536870912)!==0&&Iu(t),xt||so(e,t,n,!1),l=(n&e.childLanes)!==0,xt||l){if(a=nt,a!==null&&(r=ci(a,n),r!==0&&r!==i.retryLane))throw i.retryLane=r,Qt(e,r),pt(a,e,r),Gm;Ku(),t=lb(e,t,n)}else e=i.treeContext,st=Nn(r.nextSibling),Gt=t,He=!0,ql=null,ja=!1,xn=null,qn=!1,e!==null&&Fy(t,e),t=Yu(t,a),t.flags|=4096;return t}return i=e.child,a={mode:a.mode,children:a.children},(n&536870912)!==0&&(n&e.lanes)!==0&&Iu(t),e=Ga(i,a),e.ref=t.ref,t.child=e,e.return=t,e}function $u(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Fd(e,t,n,a,l){if(n.prototype&&typeof n.prototype.render=="function"){var i=Me(n)||"Unknown";GS[i]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",i,i),GS[i]=!0)}return t.mode&Jt&&aa.recordLegacyContextWarning(t,null),e===null&&(Pd(t,t.type),n.contextTypes&&(i=Me(n)||"Unknown",QS[i]||(QS[i]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",i)))),vi(t),n=Ed(e,t,n,a,void 0,l),a=wd(),e!==null&&!xt?(Td(e,t,l),Ja(e,t,l)):(He&&a&&ld(t),t.flags|=1,qt(e,t,n,l),t.child)}function ib(e,t,n,a,l,i){return vi(t),ul=-1,wr=e!==null&&e.type!==t.type,t.updateQueue=null,n=Nd(t,a,n,l),Sg(e,t),a=wd(),e!==null&&!xt?(Td(e,t,i),Ja(e,t,i)):(He&&a&&ld(t),t.flags|=1,qt(e,t,n,i),t.child)}function ob(e,t,n,a,l){switch(E(t)){case!1:var i=t.stateNode,r=new t.type(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,r,null);break;case!0:t.flags|=128,t.flags|=65536,i=Error("Simulated error coming from DevTools");var f=l&-l;if(t.lanes|=f,r=nt,r===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f=Id(f),Kd(f,r,t,gn(i,t)),Ru(t,f)}if(vi(t),t.stateNode===null){if(r=kl,i=n.contextType,"contextType"in n&&i!==null&&(i===void 0||i.$$typeof!==_a)&&!YS.has(n)&&(YS.add(n),f=i===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof i!="object"?" However, it is set to a "+typeof i+".":i.$$typeof===Xh?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(i).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Me(n)||"Component",f)),typeof i=="object"&&i!==null&&(r=ut(i)),i=new n(a,r),t.mode&Jt){re(!0);try{i=new n(a,r)}finally{re(!1)}}if(r=t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Ym,t.stateNode=i,i._reactInternals=t,i._reactInternalInstance=MS,typeof n.getDerivedStateFromProps=="function"&&r===null&&(r=Me(n)||"Component",jS.has(r)||(jS.add(r),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",r,i.state===null?"null":"undefined",r))),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"){var d=f=r=null;if(typeof i.componentWillMount=="function"&&i.componentWillMount.__suppressDeprecationWarning!==!0?r="componentWillMount":typeof i.UNSAFE_componentWillMount=="function"&&(r="UNSAFE_componentWillMount"),typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps.__suppressDeprecationWarning!==!0?f="componentWillReceiveProps":typeof i.UNSAFE_componentWillReceiveProps=="function"&&(f="UNSAFE_componentWillReceiveProps"),typeof i.componentWillUpdate=="function"&&i.componentWillUpdate.__suppressDeprecationWarning!==!0?d="componentWillUpdate":typeof i.UNSAFE_componentWillUpdate=="function"&&(d="UNSAFE_componentWillUpdate"),r!==null||f!==null||d!==null){i=Me(n)||"Component";var m=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";LS.has(i)||(LS.add(i),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
177
+
178
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
179
+
180
+ The above lifecycles should be removed. Learn more about this warning here:
181
+ https://react.dev/link/unsafe-component-lifecycles`,i,m,r!==null?`
182
+ `+r:"",f!==null?`
183
+ `+f:"",d!==null?`
184
+ `+d:""))}}i=t.stateNode,r=Me(n)||"Component",i.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",r):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",r)),!i.getInitialState||i.getInitialState.isReactClassApproved||i.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",r),i.getDefaultProps&&!i.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",r),i.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",r),n.childContextTypes&&!qS.has(n)&&(qS.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",r)),n.contextTypes&&!kS.has(n)&&(kS.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",r)),typeof i.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",r),n.prototype&&n.prototype.isPureReactComponent&&typeof i.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Me(n)||"A pure component"),typeof i.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),typeof i.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",r),typeof i.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),typeof i.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r),f=i.props!==a,i.props!==void 0&&f&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",r),i.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",r,r),typeof i.getSnapshotBeforeUpdate!="function"||typeof i.componentDidUpdate=="function"||HS.has(n)||(HS.add(n),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Me(n))),typeof i.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof i.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),typeof n.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",r),(f=i.state)&&(typeof f!="object"||At(f))&&console.error("%s.state: must be set to an object or null",r),typeof i.getChildContext=="function"&&typeof n.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r),i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},pd(t),r=n.contextType,i.context=typeof r=="object"&&r!==null?ut(r):kl,i.state===a&&(r=Me(n)||"Component",VS.has(r)||(VS.add(r),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",r))),t.mode&Jt&&aa.recordLegacyContextWarning(t,i),aa.recordUnsafeLifecycleWarnings(t,i),i.state=t.memoizedState,r=n.getDerivedStateFromProps,typeof r=="function"&&(Zd(t,n,r,a),i.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(r=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),r!==i.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",I(t)||"Component"),Ym.enqueueReplaceState(i,i.state,null)),Rs(t,a,i,l),Cs(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&na)!==Ee&&(t.flags|=134217728),i=!0}else if(e===null){i=t.stateNode;var R=t.memoizedProps;f=Ti(n,R),i.props=f;var D=i.context;d=n.contextType,r=kl,typeof d=="object"&&d!==null&&(r=ut(d)),m=n.getDerivedStateFromProps,d=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function",R=t.pendingProps!==R,d||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(R||D!==r)&&Jg(t,i,a,r),Ql=!1;var w=t.memoizedState;i.state=w,Rs(t,a,i,l),Cs(),D=t.memoizedState,R||w!==D||Ql?(typeof m=="function"&&(Zd(t,n,m,a),D=t.memoizedState),(f=Ql||Zg(t,n,f,a,w,D,r))?(d||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&na)!==Ee&&(t.flags|=134217728)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&na)!==Ee&&(t.flags|=134217728),t.memoizedProps=a,t.memoizedState=D),i.props=a,i.state=D,i.context=r,i=f):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&na)!==Ee&&(t.flags|=134217728),i=!1)}else{i=t.stateNode,yd(e,t),r=t.memoizedProps,d=Ti(n,r),i.props=d,m=t.pendingProps,w=i.context,D=n.contextType,f=kl,typeof D=="object"&&D!==null&&(f=ut(D)),R=n.getDerivedStateFromProps,(D=typeof R=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(r!==m||w!==f)&&Jg(t,i,a,f),Ql=!1,w=t.memoizedState,i.state=w,Rs(t,a,i,l),Cs();var z=t.memoizedState;r!==m||w!==z||Ql||e!==null&&e.dependencies!==null&&gu(e.dependencies)?(typeof R=="function"&&(Zd(t,n,R,a),z=t.memoizedState),(d=Ql||Zg(t,n,d,a,w,z,f)||e!==null&&e.dependencies!==null&&gu(e.dependencies))?(D||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,z,f),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,z,f)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||r===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||r===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=z),i.props=a,i.state=z,i.context=f,i=d):(typeof i.componentDidUpdate!="function"||r===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||r===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),i=!1)}if(f=i,$u(e,t),r=(t.flags&128)!==0,f||r){if(f=t.stateNode,Ft(t),r&&typeof n.getDerivedStateFromError!="function")n=null,ln=-1;else if(n=uS(f),t.mode&Jt){re(!0);try{uS(f)}finally{re(!1)}}t.flags|=1,e!==null&&r?(t.child=Vi(t,e.child,null,l),t.child=Vi(t,null,n,l)):qt(e,t,n,l),t.memoizedState=f.state,e=t.child}else e=Ja(e,t,l);return l=t.stateNode,i&&l.props!==a&&(Io||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",I(t)||"a component"),Io=!0),e}function sb(e,t,n,a){return bi(),t.flags|=256,qt(e,t,n,a),t.child}function Pd(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
185
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=Me(t)||"Unknown",ZS[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),ZS[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=Me(t)||"Unknown",XS[t]||(console.error("%s: Function components do not support contextType.",t),XS[t]=!0))}function Wd(e){return{baseLanes:e,cachePool:ig()}}function eh(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=pn),e}function rb(e,t,n){var a,l=t.pendingProps;y(t)&&(t.flags|=128);var i=!1,r=(t.flags&128)!==0;if((a=r)||(a=e!==null&&e.memoizedState===null?!1:(vt.current&Er)!==0),a&&(i=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(He){if(i?Rl(t):Dl(t),(e=st)?(n=_v(e,qn),n=n!==null&&n.data!==Qi?n:null,n!==null&&(a={dehydrated:n,treeContext:Ky(),retryLane:536870912,hydrationErrors:null},t.memoizedState=a,a=Jy(n),a.return=t,t.child=a,Gt=t,st=null)):n=null,n===null)throw pu(t,e),Nl(t);return Mh(n)?t.lanes=32:t.lanes=536870912,null}var f=l.children;if(l=l.fallback,i){Dl(t);var d=t.mode;return f=Gu({mode:"hidden",children:f},d),l=yi(l,d,n,null),f.return=t,l.return=t,f.sibling=l,t.child=f,l=t.child,l.memoizedState=Wd(n),l.childLanes=eh(e,a,n),t.memoizedState=Xm,Os(null,l)}return Rl(t),th(t,f)}var m=e.memoizedState;if(m!==null){var R=m.dehydrated;if(R!==null){if(r)t.flags&256?(Rl(t),t.flags&=-257,t=nh(e,t,n)):t.memoizedState!==null?(Dl(t),t.child=e.child,t.flags|=128,t=null):(Dl(t),f=l.fallback,d=t.mode,l=Gu({mode:"visible",children:l.children},d),f=yi(f,d,n,null),f.flags|=2,l.return=t,f.return=t,l.sibling=f,t.child=l,Vi(t,e.child,null,n),l=t.child,l.memoizedState=Wd(n),l.childLanes=eh(e,a,n),t.memoizedState=Xm,t=Os(null,l));else if(Rl(t),Py(),(n&536870912)!==0&&Iu(t),Mh(R)){if(a=R.nextSibling&&R.nextSibling.dataset,a){f=a.dgst;var D=a.msg;d=a.stck;var w=a.cstck}i=D,a=f,l=d,R=w,f=i,d=R,f=Error(f||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),f.stack=l||"",f.digest=a,a=d===void 0?null:d,l={value:f,source:null,stack:a},typeof a=="string"&&Tm.set(f,l),Ss(l),t=nh(e,t,n)}else if(xt||so(e,t,n,!1),a=(n&e.childLanes)!==0,xt||a){if(a=nt,a!==null&&(l=ci(a,n),l!==0&&l!==m.retryLane))throw m.retryLane=l,Qt(e,l),pt(a,e,l),Gm;Uh(R)||Ku(),t=nh(e,t,n)}else Uh(R)?(t.flags|=192,t.child=e.child,t=null):(e=m.treeContext,st=Nn(R.nextSibling),Gt=t,He=!0,ql=null,ja=!1,xn=null,qn=!1,e!==null&&Fy(t,e),t=th(t,l.children),t.flags|=4096);return t}}return i?(Dl(t),f=l.fallback,d=t.mode,w=e.child,R=w.sibling,l=Ga(w,{mode:"hidden",children:l.children}),l.subtreeFlags=w.subtreeFlags&65011712,R!==null?f=Ga(R,f):(f=yi(f,d,n,null),f.flags|=2),f.return=t,l.return=t,l.sibling=f,t.child=l,Os(null,l),l=t.child,f=e.child.memoizedState,f===null?f=Wd(n):(d=f.cachePool,d!==null?(w=Nt._currentValue,d=d.parent!==w?{parent:w,pool:w}:d):d=ig(),f={baseLanes:f.baseLanes|n,cachePool:d}),l.memoizedState=f,l.childLanes=eh(e,a,n),t.memoizedState=Xm,Os(e.child,l)):(m!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&Iu(t),Rl(t),n=e.child,e=n.sibling,n=Ga(n,{mode:"visible",children:l.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function th(e,t){return t=Gu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Gu(e,t){return e=v(22,e,null,t),e.lanes=0,e}function nh(e,t,n){return Vi(t,e.child,null,n),e=th(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ub(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),rd(e.return,t,n)}function ah(e,t,n,a,l,i){var r=e.memoizedState;r===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:l,treeForkCount:i}:(r.isBackwards=t,r.rendering=null,r.renderingStartTime=0,r.last=a,r.tail=n,r.tailMode=l,r.treeForkCount=i)}function cb(e,t,n){var a=t.pendingProps,l=a.revealOrder,i=a.tail,r=a.children,f=vt.current;if((a=(f&Er)!==0)?(f=f&Xo|Er,t.flags|=128):f&=Xo,Te(vt,f,t),f=l??"null",l!=="forwards"&&l!=="unstable_legacy-backwards"&&l!=="together"&&l!=="independent"&&!JS[f])if(JS[f]=!0,l==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(l==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof l=="string")switch(l.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',l,l.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',l,l.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',l);f=i??"null",Yc[f]||(i==null?(l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&(Yc[f]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):i!=="visible"&&i!=="collapsed"&&i!=="hidden"?(Yc[f]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',i)):l!=="forwards"&&l!=="backwards"&&l!=="unstable_legacy-backwards"&&(Yc[f]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',i)));e:if((l==="forwards"||l==="backwards"||l==="unstable_legacy-backwards")&&r!==void 0&&r!==null&&r!==!1)if(At(r)){for(f=0;f<r.length;f++)if(!pg(r[f],f))break e}else if(f=We(r),typeof f=="function"){if(f=f.call(r))for(var d=f.next(),m=0;!d.done;d=f.next()){if(!pg(d.value,m))break e;m++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',l);if(qt(e,t,r,n),He?(El(),r=or):r=0,!a&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ub(e,n,t);else if(e.tag===19)ub(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}switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Du(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ah(t,!1,l,n,i,r);break;case"backwards":case"unstable_legacy-backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Du(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ah(t,!0,n,null,i,r);break;case"together":ah(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Ja(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ln=-1,Il|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(so(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=Ga(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ga(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function lh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&gu(e)))}function ON(e,t,n){switch(t.tag){case 3:ee(t,t.stateNode.containerInfo),wl(t,Nt,e.memoizedState.cache),bi();break;case 27:case 5:Y(t);break;case 4:ee(t,t.stateNode.containerInfo);break;case 10:wl(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var a=t.stateNode;a.effectDuration=-0,a.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,vd(t),null;break;case 13:if(a=t.memoizedState,a!==null)return a.dehydrated!==null?(Rl(t),t.flags|=128,null):(n&t.child.childLanes)!==0?rb(e,t,n):(Rl(t),e=Ja(e,t,n),e!==null?e.sibling:null);Rl(t);break;case 19:var l=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(so(e,t,n,!1),a=(n&t.childLanes)!==0),l){if(a)return cb(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Te(vt,vt.current,t),a)break;return null;case 22:return t.lanes=0,nb(e,t,n,t.pendingProps);case 24:wl(t,Nt,e.memoizedState.cache)}return Ja(e,t,n)}function ih(e,t,n){if(t._debugNeedsRemount&&e!==null){n=td(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var a=t.return;if(a===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===a.child)a.child=n;else{var l=a.child;if(l===null)throw Error("Expected parent to have a child.");for(;l.sibling!==t;)if(l=l.sibling,l===null)throw Error("Expected to find the previous sibling.");l.sibling=n}return t=a.deletions,t===null?(a.deletions=[e],a.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)xt=!0;else{if(!lh(e,n)&&(t.flags&128)===0)return xt=!1,ON(e,t,n);xt=(e.flags&131072)!==0}else xt=!1,(a=He)&&(El(),a=(t.flags&1048576)!==0),a&&(a=t.index,El(),Iy(t,or,a));switch(t.lanes=0,t.tag){case 16:e:if(a=t.pendingProps,e=Tl(t.elementType),t.type=e,typeof e=="function")ed(e)?(a=Ti(e,a),t.tag=1,t.type=e=pi(e),t=ob(null,t,e,a,n)):(t.tag=0,Pd(t,e),t.type=e=pi(e),t=Fd(null,t,e,a,n));else{if(e!=null){if(l=e.$$typeof,l===Zs){t.tag=11,t.type=e=Wf(e),t=Wg(null,t,e,a,n);break e}else if(l===cc){t.tag=14,t=eb(null,t,e,a,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===wn&&(t=" Did you wrap a component in React.lazy() more than once?"),n=Me(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+n+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Fd(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,l=Ti(a,t.pendingProps),ob(e,t,a,l,n);case 3:e:{if(ee(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");a=t.pendingProps;var i=t.memoizedState;l=i.element,yd(e,t),Rs(t,a,null,n);var r=t.memoizedState;if(a=r.cache,wl(t,Nt,a),a!==i.cache&&ud(t,[Nt],n,!0),Cs(),a=r.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:r.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=sb(e,t,a,n);break e}else if(a!==l){l=gn(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Ss(l),t=sb(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(st=Nn(e.firstChild),Gt=t,He=!0,ql=null,ja=!1,xn=null,qn=!0,n=wS(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(bi(),a===l){t=Ja(e,t,n);break e}qt(e,t,a,n)}t=t.child}return t;case 26:return $u(e,t),e===null?(n=jv(t.type,null,t.pendingProps,null))?t.memoizedState=n:He||(n=t.type,e=t.pendingProps,a=se(zl.current),a=ec(a).createElement(n),a[$t]=t,a[tn]=e,Yt(a,n,e),he(a),t.stateNode=a):t.memoizedState=jv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Y(t),e===null&&He&&(a=se(zl.current),l=G(),a=t.stateNode=Mv(t.type,t.pendingProps,a,l,!1),ja||(l=Ev(a,t.type,t.pendingProps,l),l!==null&&(gi(t,0).serverProps=l)),Gt=t,qn=!0,l=st,Ul(t.type)?(mp=l,st=Nn(a.firstChild)):st=l),qt(e,t,t.pendingProps.children,n),$u(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&He&&(i=G(),a=Gf(t.type,i.ancestorInfo),l=st,(r=!l)||(r=vw(l,t.type,t.pendingProps,qn),r!==null?(t.stateNode=r,ja||(i=Ev(r,t.type,t.pendingProps,i),i!==null&&(gi(t,0).serverProps=i)),Gt=t,st=Nn(r.firstChild),qn=!1,i=!0):i=!1,r=!i),r&&(a&&pu(t,l),Nl(t))),Y(t),l=t.type,i=t.pendingProps,r=e!==null?e.memoizedProps:null,a=i.children,Ah(l,i)?a=null:r!==null&&Ah(l,r)&&(t.flags|=32),t.memoizedState!==null&&(l=Ed(e,t,wN,null,null,n),Br._currentValue=l),$u(e,t),qt(e,t,a,n),t.child;case 6:return e===null&&He&&(n=t.pendingProps,e=G(),a=e.ancestorInfo.current,n=a!=null?iu(n,a.tag,e.ancestorInfo.implicitRootScope):!0,e=st,(a=!e)||(a=Sw(e,t.pendingProps,qn),a!==null?(t.stateNode=a,Gt=t,st=null,a=!0):a=!1,a=!a),a&&(n&&pu(t,e),Nl(t))),null;case 13:return rb(e,t,n);case 4:return ee(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Vi(t,null,a,n):qt(e,t,a,n),t.child;case 11:return Wg(e,t,t.type,t.pendingProps,n);case 7:return qt(e,t,t.pendingProps,n),t.child;case 8:return qt(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,a=t.stateNode,a.effectDuration=-0,a.passiveEffectDuration=-0,qt(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.type,l=t.pendingProps,i=l.value,"value"in l||IS||(IS=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),wl(t,a,i),qt(e,t,l.children,n),t.child;case 9:return l=t.type._context,a=t.pendingProps.children,typeof a!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),vi(t),l=ut(l),a=Um(a,l,void 0),t.flags|=1,qt(e,t,a,n),t.child;case 14:return eb(e,t,t.type,t.pendingProps,n);case 15:return tb(e,t,t.type,t.pendingProps,n);case 19:return cb(e,t,n);case 31:return AN(e,t,n);case 22:return nb(e,t,n,t.pendingProps);case 24:return vi(t),a=ut(Nt),e===null?(l=hd(),l===null&&(l=nt,i=cd(),l.pooledCache=i,Si(i),i!==null&&(l.pooledCacheLanes|=n),l=i),t.memoizedState={parent:a,cache:l},pd(t),wl(t,Nt,l)):((e.lanes&n)!==0&&(yd(e,t),Rs(t,null,null,n),Cs()),l=e.memoizedState,i=t.memoizedState,l.parent!==a?(l={parent:a,cache:a},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),wl(t,Nt,a)):(a=i.cache,wl(t,Nt,a),a!==l.cache&&ud(t,[Nt],n,!0))),qt(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ia(e){e.flags|=4}function oh(e,t,n,a,l){if((t=(e.mode&PT)!==Ee)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if($b())e.flags|=8192;else throw Li=Hc,zm}else e.flags&=-16777217}function fb(e,t){if(t.type!=="stylesheet"||(t.state.loading&Qn)!==Ii)e.flags&=-16777217;else if(e.flags|=16777216,!kv(t))if($b())e.flags|=8192;else throw Li=Hc,zm}function Xu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?us():536870912,e.lanes|=t,$i|=t)}function Us(e,t){if(!He)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 a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function at(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)if((e.mode&_e)!==Ee){for(var l=e.selfBaseDuration,i=e.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&65011712,a|=i.flags&65011712,l+=i.treeBaseDuration,i=i.sibling;e.treeBaseDuration=l}else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags&65011712,a|=l.flags&65011712,l.return=e,l=l.sibling;else if((e.mode&_e)!==Ee){l=e.actualDuration,i=e.selfBaseDuration;for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,l+=r.actualDuration,i+=r.treeBaseDuration,r=r.sibling;e.actualDuration=l,e.treeBaseDuration=i}else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,a|=l.subtreeFlags,a|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function UN(e,t,n){var a=t.pendingProps;switch(id(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return at(t),null;case 1:return at(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Qa(Nt,t),M(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(oo(t)?(sd(),Ia(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,od())),at(t),null;case 26:var l=t.type,i=t.memoizedState;return e===null?(Ia(t),i!==null?(at(t),fb(t,i)):(at(t),oh(t,l,null,a,n))):i?i!==e.memoizedState?(Ia(t),at(t),fb(t,i)):(at(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Ia(t),at(t),oh(t,l,e,a,n)),null;case 27:if(ne(t),n=se(zl.current),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Ia(t);else{if(!a){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return at(t),null}e=G(),oo(t)?Wy(t):(e=Mv(l,a,n,e,!0),t.stateNode=e,Ia(t))}return at(t),null;case 5:if(ne(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Ia(t);else{if(!a){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return at(t),null}var r=G();if(oo(t))Wy(t);else{switch(i=se(zl.current),Gf(l,r.ancestorInfo),r=r.context,i=ec(i),r){case as:i=i.createElementNS(Ro,l);break;case uf:i=i.createElementNS(gc,l);break;default:switch(l){case"svg":i=i.createElementNS(Ro,l);break;case"math":i=i.createElementNS(gc,l);break;case"script":i=i.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?i.createElement(l,{is:a.is}):i.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(i)!=="[object HTMLUnknownElement]"||ta.call(v1,l)||(v1[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}i[$t]=t,i[tn]=a;e:for(r=t.child;r!==null;){if(r.tag===5||r.tag===6)i.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;r.sibling===null;){if(r.return===null||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=i;e:switch(Yt(i,l,a),l){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Ia(t)}}return at(t),oh(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Ia(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=se(zl.current),n=G(),oo(t)){if(e=t.stateNode,n=t.memoizedProps,l=!ja,a=null,i=Gt,i!==null)switch(i.tag){case 3:l&&(l=Ov(e,n,a),l!==null&&(gi(t,0).serverProps=l));break;case 27:case 5:a=i.memoizedProps,l&&(l=Ov(e,n,a),l!==null&&(gi(t,0).serverProps=l))}e[$t]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||yv(e.nodeValue,n)),e||Nl(t,!0)}else l=n.ancestorInfo.current,l!=null&&iu(a,l.tag,n.ancestorInfo.implicitRootScope),e=ec(e).createTextNode(a),e[$t]=t,t.stateNode=e}return at(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=oo(t),n!==null){if(e===null){if(!a)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[$t]=t,at(t),(t.mode&_e)!==Ee&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else sd(),bi(),(t.flags&128)===0&&(n=t.memoizedState=null),t.flags|=4,at(t),(t.mode&_e)!==Ee&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=od(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Sn(t),t):(Sn(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return at(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=a,i=oo(t),l!==null&&l.dehydrated!==null){if(e===null){if(!i)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");i[$t]=t,at(t),(t.mode&_e)!==Ee&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration))}else sd(),bi(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,at(t),(t.mode&_e)!==Ee&&l!==null&&(l=t.child,l!==null&&(t.treeBaseDuration-=l.treeBaseDuration));l=!1}else l=od(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(Sn(t),t):(Sn(t),null)}return Sn(t),(t.flags&128)!==0?(t.lanes=n,(t.mode&_e)!==Ee&&ws(t),t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,l=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(l=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==l&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Xu(t,t.updateQueue),at(t),(t.mode&_e)!==Ee&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return M(t),e===null&&wh(t.stateNode.containerInfo),at(t),null;case 10:return Qa(t.type,t),at(t),null;case 19:if(ge(vt,t),a=t.memoizedState,a===null)return at(t),null;if(l=(t.flags&128)!==0,i=a.rendering,i===null)if(l)Us(a,!1);else{if(ht!==fl||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Du(e),i!==null){for(t.flags|=128,Us(a,!1),e=i.updateQueue,t.updateQueue=e,Xu(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Zy(n,e),n=n.sibling;return Te(vt,vt.current&Xo|Er,t),He&&Xa(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&jt()>Ic&&(t.flags|=128,l=!0,Us(a,!1),t.lanes=4194304)}else{if(!l)if(e=Du(i),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Xu(t,e),Us(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!He)return at(t),null}else 2*jt()-a.renderingStartTime>Ic&&n!==536870912&&(t.flags|=128,l=!0,Us(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(e=a.last,e!==null?e.sibling=i:t.child=i,a.last=i)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=jt(),e.sibling=null,n=vt.current,n=l?n&Xo|Er:n&Xo,Te(vt,n,t),He&&Xa(t,a.treeForkCount),e):(at(t),null);case 22:case 23:return Sn(t),bd(t),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(at(t),t.subtreeFlags&6&&(t.flags|=8192)):at(t),n=t.updateQueue,n!==null&&Xu(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&ge(ji,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Qa(Nt,t),at(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function MN(e,t){switch(id(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&_e)!==Ee&&ws(t),t):null;case 3:return Qa(Nt,t),M(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ne(t),null;case 31:if(t.memoizedState!==null){if(Sn(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&_e)!==Ee&&ws(t),t):null;case 13:if(Sn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&_e)!==Ee&&ws(t),t):null;case 19:return ge(vt,t),null;case 4:return M(t),null;case 10:return Qa(t.type,t),null;case 22:case 23:return Sn(t),bd(t),e!==null&&ge(ji,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&_e)!==Ee&&ws(t),t):null;case 24:return Qa(Nt,t),null;case 25:return null;default:return null}}function db(e,t){switch(id(t),t.tag){case 3:Qa(Nt,t),M(t);break;case 26:case 27:case 5:ne(t);break;case 4:M(t);break;case 31:t.memoizedState!==null&&Sn(t);break;case 13:Sn(t);break;case 19:ge(vt,t);break;case 10:Qa(t.type,t);break;case 22:case 23:Sn(t),bd(t),e!==null&&ge(ji,t);break;case 24:Qa(Nt,t)}}function Na(e){return(e.mode&_e)!==Ee}function hb(e,t){Na(e)?(Ea(),Ms(t,e),Sa()):Ms(t,e)}function sh(e,t,n){Na(e)?(Ea(),ho(n,e,t),Sa()):ho(n,e,t)}function Ms(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var l=a.next;n=l;do{if((n.tag&e)===e&&(a=void 0,(e&on)!==Vc&&(es=!0),a=F(t,lx,n),(e&on)!==Vc&&(es=!1),a!==void 0&&typeof a!="function")){var i=void 0;i=(n.tag&Rn)!==0?"useLayoutEffect":(n.tag&on)!==0?"useInsertionEffect":"useEffect";var r=void 0;r=a===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof a.then=="function"?`
186
+
187
+ It looks like you wrote `+i+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
188
+
189
+ `+i+`(() => {
190
+ async function fetchData() {
191
+ // You can await here
192
+ const response = await MyAPI.getData(someId);
193
+ // ...
194
+ }
195
+ fetchData();
196
+ }, [someId]); // Or [] if effect doesn't need props or state
197
+
198
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+a,F(t,function(f,d){console.error("%s must not return anything besides a function, which is used for clean-up.%s",f,d)},i,r)}n=n.next}while(n!==l)}}catch(f){Je(t,t.return,f)}}function ho(e,t,n){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var i=l.next;a=i;do{if((a.tag&e)===e){var r=a.inst,f=r.destroy;f!==void 0&&(r.destroy=void 0,(e&on)!==Vc&&(es=!0),l=t,F(l,ix,l,n,f),(e&on)!==Vc&&(es=!1))}a=a.next}while(a!==i)}}catch(d){Je(t,t.return,d)}}function mb(e,t){Na(e)?(Ea(),Ms(t,e),Sa()):Ms(t,e)}function rh(e,t,n){Na(e)?(Ea(),ho(n,e,t),Sa()):ho(n,e,t)}function pb(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Io||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",I(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",I(e)||"instance"));try{F(e,gg,t,n)}catch(a){Je(e,e.return,a)}}}function zN(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function jN(e,t){var n=t.memoizedProps,a=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Io||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",I(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",I(e)||"instance"));try{var l=Ti(e.type,n),i=F(e,zN,t,l,a);n=KS,i!==void 0||n.has(e.type)||(n.add(e.type),F(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",I(e))})),t.__reactInternalSnapshotBeforeUpdate=i}catch(r){Je(e,e.return,r)}}function yb(e,t,n){n.props=Ti(e.type,e.memoizedProps),n.state=e.memoizedState,Na(e)?(Ea(),F(e,pS,e,t,n),Sa()):F(e,pS,e,t,n)}function HN(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t=="function")if(Na(e))try{Ea(),e.refCleanup=t(n)}finally{Sa()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",I(e)),t.current=n}}function zs(e,t){try{F(e,HN,e)}catch(n){Je(e,t,n)}}function wa(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{if(Na(e))try{Ea(),F(e,a)}finally{Sa(e)}else F(e,a)}catch(l){Je(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Na(e))try{Ea(),F(e,n,null)}finally{Sa(e)}else F(e,n,null)}catch(l){Je(e,t,l)}else n.current=null}function gb(e,t,n,a){var l=e.memoizedProps,i=l.id,r=l.onCommit;l=l.onRender,t=t===null?"mount":"update",Uc&&(t="nested-update"),typeof l=="function"&&l(i,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof r=="function"&&r(i,t,a,n)}function LN(e,t,n,a){var l=e.memoizedProps;e=l.id,l=l.onPostCommit,t=t===null?"mount":"update",Uc&&(t="nested-update"),typeof l=="function"&&l(e,t,a,n)}function bb(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{F(e,sw,a,t,n,e)}catch(l){Je(e,e.return,l)}}function uh(e,t,n){try{F(e,uw,e.stateNode,e.type,n,t,e)}catch(a){Je(e,e.return,a)}}function vb(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ul(e.type)||e.tag===4}function ch(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vb(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.tag===27&&Ul(e.type)||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 fh(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(Cv(n),(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t)):(Cv(n),t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=$a));else if(a!==4&&(a===27&&Ul(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(fh(e,t,n),e=e.sibling;e!==null;)fh(e,t,n),e=e.sibling}function Qu(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Ul(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Qu(e,t,n),e=e.sibling;e!==null;)Qu(e,t,n),e=e.sibling}function VN(e){for(var t,n=e.return;n!==null;){if(vb(n)){t=n;break}n=n.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,n=ch(e),Qu(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(xv(n),t.flags&=-33),t=ch(e),Qu(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=ch(e),fh(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Sb(e){var t=e.stateNode,n=e.memoizedProps;try{F(e,xw,e.type,n,t,e)}catch(a){Je(e,e.return,a)}}function Eb(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function BN(e,t){if(e=e.containerInfo,fp=hf,e=Ly(e),Zf(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var l=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var r=0,f=-1,d=-1,m=0,R=0,D=e,w=null;t:for(;;){for(var z;D!==n||l!==0&&D.nodeType!==3||(f=r+l),D!==i||a!==0&&D.nodeType!==3||(d=r+a),D.nodeType===3&&(r+=D.nodeValue.length),(z=D.firstChild)!==null;)w=D,D=z;for(;;){if(D===e)break t;if(w===n&&++m===l&&(f=r),w===i&&++R===a&&(d=r),(z=D.nextSibling)!==null)break;D=w,w=D.parentNode}D=z}n=f===-1||d===-1?null:{start:f,end:d}}else n=null}n=n||{start:0,end:0}}else n=null;for(dp={focusedElem:e,selectionRange:n},hf=!1,Lt=t;Lt!==null;)if(t=Lt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Lt=e;else for(;Lt!==null;){switch(e=t=Lt,n=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)l=e[n],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:(l&1024)!==0&&n!==null&&jN(e,n);break;case 3:if((l&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)Oh(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Oh(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,Lt=e;break}Lt=t.return}}function Nb(e,t,n){var a=bn(),l=ya(),i=ba(),r=va(),f=n.flags;switch(n.tag){case 0:case 11:case 15:Ta(e,n),f&4&&hb(n,Rn|Gn);break;case 1:if(Ta(e,n),f&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||Io||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",I(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",I(n)||"instance")),Na(n)?(Ea(),F(n,Mm,n,e),Sa()):F(n,Mm,n,e);else{var d=Ti(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||Io||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",I(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",I(n)||"instance")),Na(n)?(Ea(),F(n,dS,n,e,d,t,e.__reactInternalSnapshotBeforeUpdate),Sa()):F(n,dS,n,e,d,t,e.__reactInternalSnapshotBeforeUpdate)}f&64&&pb(n),f&512&&zs(n,n.return);break;case 3:if(t=Za(),Ta(e,n),f&64&&(f=n.updateQueue,f!==null)){if(d=null,n.child!==null)switch(n.child.tag){case 27:case 5:d=n.child.stateNode;break;case 1:d=n.child.stateNode}try{F(n,gg,f,d)}catch(R){Je(n,n.return,R)}}e.effectDuration+=vu(t);break;case 27:t===null&&f&4&&Sb(n);case 26:case 5:if(Ta(e,n),t===null){if(f&4)bb(n);else if(f&64){e=n.type,t=n.memoizedProps,d=n.stateNode;try{F(n,rw,d,e,t,n)}catch(R){Je(n,n.return,R)}}}f&512&&zs(n,n.return);break;case 12:if(f&4){f=Za(),Ta(e,n),e=n.stateNode,e.effectDuration+=Ns(f);try{F(n,gb,n,t,Yl,e.effectDuration)}catch(R){Je(n,n.return,R)}}else Ta(e,n);break;case 31:Ta(e,n),f&4&&xb(e,n);break;case 13:Ta(e,n),f&4&&Cb(e,n),f&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(f=JN.bind(null,n),Ew(e,f))));break;case 22:if(f=n.memoizedState!==null||cl,!f){t=t!==null&&t.memoizedState!==null||Ct,d=cl;var m=Ct;cl=f,(Ct=t)&&!m?(xa(e,n,(n.subtreeFlags&8772)!==0),(n.mode&_e)!==Ee&&0<=ye&&0<=Se&&.05<Se-ye&&uu(n,ye,Se)):Ta(e,n),cl=d,Ct=m}break;case 30:break;default:Ta(e,n)}(n.mode&_e)!==Ee&&0<=ye&&0<=Se&&((yt||.05<dt)&&ma(n,ye,Se,dt,ct),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<Se-ye&&(Eb(n.return.alternate,n.return)||ha(n,ye,Se,"Mount"))),vn(a),ga(l),ct=i,yt=r}function wb(e){var t=e.alternate;t!==null&&(e.alternate=null,wb(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&A(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ka(e,t,n){for(n=n.child;n!==null;)Tb(e,t,n),n=n.sibling}function Tb(e,t,n){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(xo,n)}catch(m){Oa||(Oa=!0,console.error("React instrumentation encountered an error: %o",m))}var a=bn(),l=ya(),i=ba(),r=va();switch(n.tag){case 26:Ct||wa(n,t),Ka(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:Ct||wa(n,t);var f=Rt,d=hn;Ul(n.type)&&(Rt=n.stateNode,hn=!1),Ka(e,t,n),F(n,$s,n.stateNode),Rt=f,hn=d;break;case 5:Ct||wa(n,t);case 6:if(f=Rt,d=hn,Rt=null,Ka(e,t,n),Rt=f,hn=d,Rt!==null)if(hn)try{F(n,dw,Rt,n.stateNode)}catch(m){Je(n,t,m)}else try{F(n,fw,Rt,n.stateNode)}catch(m){Je(n,t,m)}break;case 18:Rt!==null&&(hn?(e=Rt,Rv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Eo(e)):Rv(Rt,n.stateNode));break;case 4:f=Rt,d=hn,Rt=n.stateNode.containerInfo,hn=!0,Ka(e,t,n),Rt=f,hn=d;break;case 0:case 11:case 14:case 15:ho(on,n,t),Ct||sh(n,t,Rn),Ka(e,t,n);break;case 1:Ct||(wa(n,t),f=n.stateNode,typeof f.componentWillUnmount=="function"&&yb(n,t,f)),Ka(e,t,n);break;case 21:Ka(e,t,n);break;case 22:Ct=(f=Ct)||n.memoizedState!==null,Ka(e,t,n),Ct=f;break;default:Ka(e,t,n)}(n.mode&_e)!==Ee&&0<=ye&&0<=Se&&(yt||.05<dt)&&ma(n,ye,Se,dt,ct),vn(a),ga(l),ct=i,yt=r}function xb(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{F(t,ww,e)}catch(n){Je(t,t.return,n)}}}function Cb(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{F(t,Tw,e)}catch(n){Je(t,t.return,n)}}function kN(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new FS),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new FS),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Zu(e,t){var n=kN(e);t.forEach(function(a){if(!n.has(a)){if(n.add(a),Ua)if(Ko!==null&&Fo!==null)Vs(Fo,Ko);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var l=IN.bind(null,e,a);a.then(l,l)}})}function fn(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var l=e,i=t,r=n[a],f=bn(),d=i;e:for(;d!==null;){switch(d.tag){case 27:if(Ul(d.type)){Rt=d.stateNode,hn=!1;break e}break;case 5:Rt=d.stateNode,hn=!1;break e;case 3:case 4:Rt=d.stateNode.containerInfo,hn=!0;break e}d=d.return}if(Rt===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Tb(l,i,r),Rt=null,hn=!1,(r.mode&_e)!==Ee&&0<=ye&&0<=Se&&.05<Se-ye&&ha(r,ye,Se,"Unmount"),vn(f),l=r,i=l.alternate,i!==null&&(i.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Rb(t,e),t=t.sibling}function Rb(e,t){var n=bn(),a=ya(),l=ba(),i=va(),r=e.alternate,f=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:fn(t,e),dn(e),f&4&&(ho(on|Gn,e,e.return),Ms(on|Gn,e),sh(e,e.return,Rn|Gn));break;case 1:if(fn(t,e),dn(e),f&512&&(Ct||r===null||wa(r,r.return)),f&64&&cl&&(f=e.updateQueue,f!==null&&(r=f.callbacks,r!==null))){var d=f.shared.hiddenCallbacks;f.shared.hiddenCallbacks=d===null?r:d.concat(r)}break;case 26:if(d=ia,fn(t,e),dn(e),f&512&&(Ct||r===null||wa(r,r.return)),f&4){var m=r!==null?r.memoizedState:null;if(f=e.memoizedState,r===null)if(f===null)if(e.stateNode===null){e:{f=e.type,r=e.memoizedProps,d=d.ownerDocument||d;t:switch(f){case"title":m=d.getElementsByTagName("title")[0],(!m||m[Ks]||m[$t]||m.namespaceURI===Ro||m.hasAttribute("itemprop"))&&(m=d.createElement(f),d.head.insertBefore(m,d.querySelector("head > title"))),Yt(m,f,r),m[$t]=e,he(m),f=m;break e;case"link":var R=Vv("link","href",d).get(f+(r.href||""));if(R){for(var D=0;D<R.length;D++)if(m=R[D],m.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&m.getAttribute("rel")===(r.rel==null?null:r.rel)&&m.getAttribute("title")===(r.title==null?null:r.title)&&m.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){R.splice(D,1);break t}}m=d.createElement(f),Yt(m,f,r),d.head.appendChild(m);break;case"meta":if(R=Vv("meta","content",d).get(f+(r.content||""))){for(D=0;D<R.length;D++)if(m=R[D],Ke(r.content,"content"),m.getAttribute("content")===(r.content==null?null:""+r.content)&&m.getAttribute("name")===(r.name==null?null:r.name)&&m.getAttribute("property")===(r.property==null?null:r.property)&&m.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&m.getAttribute("charset")===(r.charSet==null?null:r.charSet)){R.splice(D,1);break t}}m=d.createElement(f),Yt(m,f,r),d.head.appendChild(m);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+f+'". This is a bug in React.')}m[$t]=e,he(m),f=m}e.stateNode=f}else Bv(d,e.type,e.stateNode);else e.stateNode=Lv(d,f,e.memoizedProps);else m!==f?(m===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):m.count--,f===null?Bv(d,e.type,e.stateNode):Lv(d,f,e.memoizedProps)):f===null&&e.stateNode!==null&&uh(e,e.memoizedProps,r.memoizedProps)}break;case 27:fn(t,e),dn(e),f&512&&(Ct||r===null||wa(r,r.return)),r!==null&&f&4&&uh(e,e.memoizedProps,r.memoizedProps);break;case 5:if(fn(t,e),dn(e),f&512&&(Ct||r===null||wa(r,r.return)),e.flags&32){d=e.stateNode;try{F(e,xv,d)}catch(ae){Je(e,e.return,ae)}}f&4&&e.stateNode!=null&&(d=e.memoizedProps,uh(e,d,r!==null?r.memoizedProps:d)),f&1024&&(Qm=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(fn(t,e),dn(e),f&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");f=e.memoizedProps,r=r!==null?r.memoizedProps:f,d=e.stateNode;try{F(e,cw,d,r,f)}catch(ae){Je(e,e.return,ae)}}break;case 3:if(d=Za(),cf=null,m=ia,ia=tc(t.containerInfo),fn(t,e),ia=m,dn(e),f&4&&r!==null&&r.memoizedState.isDehydrated)try{F(e,Nw,t.containerInfo)}catch(ae){Je(e,e.return,ae)}Qm&&(Qm=!1,Db(e)),t.effectDuration+=vu(d);break;case 4:f=ia,ia=tc(e.stateNode.containerInfo),fn(t,e),dn(e),ia=f;break;case 12:f=Za(),fn(t,e),dn(e),e.stateNode.effectDuration+=Ns(f);break;case 31:fn(t,e),dn(e),f&4&&(f=e.updateQueue,f!==null&&(e.updateQueue=null,Zu(e,f)));break;case 13:fn(t,e),dn(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Jc=jt()),f&4&&(f=e.updateQueue,f!==null&&(e.updateQueue=null,Zu(e,f)));break;case 22:d=e.memoizedState!==null;var w=r!==null&&r.memoizedState!==null,z=cl,W=Ct;if(cl=z||d,Ct=W||w,fn(t,e),Ct=W,cl=z,w&&!d&&!z&&!W&&(e.mode&_e)!==Ee&&0<=ye&&0<=Se&&.05<Se-ye&&uu(e,ye,Se),dn(e),f&8192)e:for(t=e.stateNode,t._visibility=d?t._visibility&~ir:t._visibility|ir,!d||r===null||w||cl||Ct||(xi(e),(e.mode&_e)!==Ee&&0<=ye&&0<=Se&&.05<Se-ye&&ha(e,ye,Se,"Disconnect")),r=null,t=e;;){if(t.tag===5||t.tag===26){if(r===null){w=r=t;try{m=w.stateNode,d?F(w,mw,m):F(w,gw,w.stateNode,w.memoizedProps)}catch(ae){Je(w,w.return,ae)}}}else if(t.tag===6){if(r===null){w=t;try{R=w.stateNode,d?F(w,pw,R):F(w,bw,R,w.memoizedProps)}catch(ae){Je(w,w.return,ae)}}}else if(t.tag===18){if(r===null){w=t;try{D=w.stateNode,d?F(w,hw,D):F(w,yw,w.stateNode)}catch(ae){Je(w,w.return,ae)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}f&4&&(f=e.updateQueue,f!==null&&(r=f.retryQueue,r!==null&&(f.retryQueue=null,Zu(e,r))));break;case 19:fn(t,e),dn(e),f&4&&(f=e.updateQueue,f!==null&&(e.updateQueue=null,Zu(e,f)));break;case 30:break;case 21:break;default:fn(t,e),dn(e)}(e.mode&_e)!==Ee&&0<=ye&&0<=Se&&((yt||.05<dt)&&ma(e,ye,Se,dt,ct),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<Se-ye&&(Eb(e.return.alternate,e.return)||ha(e,ye,Se,"Mount"))),vn(n),ga(a),ct=l,yt=i}function dn(e){var t=e.flags;if(t&2){try{F(e,VN,e)}catch(n){Je(e,e.return,n)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Db(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Db(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Ta(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Nb(e,t.alternate,t),t=t.sibling}function _b(e){var t=bn(),n=ya(),a=ba(),l=va();switch(e.tag){case 0:case 11:case 14:case 15:sh(e,e.return,Rn),xi(e);break;case 1:wa(e,e.return);var i=e.stateNode;typeof i.componentWillUnmount=="function"&&yb(e,e.return,i),xi(e);break;case 27:F(e,$s,e.stateNode);case 26:case 5:wa(e,e.return),xi(e);break;case 22:e.memoizedState===null&&xi(e);break;case 30:xi(e);break;default:xi(e)}(e.mode&_e)!==Ee&&0<=ye&&0<=Se&&(yt||.05<dt)&&ma(e,ye,Se,dt,ct),vn(t),ga(n),ct=a,yt=l}function xi(e){for(e=e.child;e!==null;)_b(e),e=e.sibling}function Ab(e,t,n,a){var l=bn(),i=ya(),r=ba(),f=va(),d=n.flags;switch(n.tag){case 0:case 11:case 15:xa(e,n,a),hb(n,Rn);break;case 1:if(xa(e,n,a),t=n.stateNode,typeof t.componentDidMount=="function"&&F(n,Mm,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{F(n,NN,t,e)}catch(m){Je(n,n.return,m)}}a&&d&64&&pb(n),zs(n,n.return);break;case 27:Sb(n);case 26:case 5:xa(e,n,a),a&&t===null&&d&4&&bb(n),zs(n,n.return);break;case 12:if(a&&d&4){d=Za(),xa(e,n,a),a=n.stateNode,a.effectDuration+=Ns(d);try{F(n,gb,n,t,Yl,a.effectDuration)}catch(m){Je(n,n.return,m)}}else xa(e,n,a);break;case 31:xa(e,n,a),a&&d&4&&xb(e,n);break;case 13:xa(e,n,a),a&&d&4&&Cb(e,n);break;case 22:n.memoizedState===null&&xa(e,n,a),zs(n,n.return);break;case 30:break;default:xa(e,n,a)}(n.mode&_e)!==Ee&&0<=ye&&0<=Se&&(yt||.05<dt)&&ma(n,ye,Se,dt,ct),vn(l),ga(i),ct=r,yt=f}function xa(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Ab(e,t.alternate,t,n),t=t.sibling}function dh(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&Si(e),n!=null&&Es(n))}function hh(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Si(t),e!=null&&Es(e))}function ea(e,t,n,a,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var i=t.sibling;Ob(e,t,n,a,i!==null?i.actualStartTime:l),t=i}}function Ob(e,t,n,a,l){var i=bn(),r=ya(),f=ba(),d=va(),m=Vl,R=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&_e)!==Ee&&0<t.actualStartTime&&(t.flags&1)!==0&&cu(t,t.actualStartTime,l,Ot,n),ea(e,t,n,a,l),R&2048&&mb(t,sn|Gn);break;case 1:(t.mode&_e)!==Ee&&0<t.actualStartTime&&((t.flags&128)!==0?If(t,t.actualStartTime,l,[]):(t.flags&1)!==0&&cu(t,t.actualStartTime,l,Ot,n)),ea(e,t,n,a,l);break;case 3:var D=Za(),w=Ot;Ot=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,ea(e,t,n,a,l),Ot=w,R&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),a=t.memoizedState.cache,a!==n&&(Si(a),n!=null&&Es(n))),e.passiveEffectDuration+=vu(D);break;case 12:if(R&2048){R=Za(),ea(e,t,n,a,l),e=t.stateNode,e.passiveEffectDuration+=Ns(R);try{F(t,LN,t,t.alternate,Yl,e.passiveEffectDuration)}catch(z){Je(t,t.return,z)}}else ea(e,t,n,a,l);break;case 31:R=Ot,D=t.alternate!==null?t.alternate.memoizedState:null,w=t.memoizedState,D!==null&&w===null?(w=t.deletions,w!==null&&0<w.length&&w[0].tag===18?(Ot=!1,D=D.hydrationErrors,D!==null&&If(t,t.actualStartTime,l,D)):Ot=!0):Ot=!1,ea(e,t,n,a,l),Ot=R;break;case 13:R=Ot,D=t.alternate!==null?t.alternate.memoizedState:null,w=t.memoizedState,D===null||D.dehydrated===null||w!==null&&w.dehydrated!==null?Ot=!1:(w=t.deletions,w!==null&&0<w.length&&w[0].tag===18?(Ot=!1,D=D.hydrationErrors,D!==null&&If(t,t.actualStartTime,l,D)):Ot=!0),ea(e,t,n,a,l),Ot=R;break;case 23:break;case 22:w=t.stateNode,D=t.alternate,t.memoizedState!==null?w._visibility&el?ea(e,t,n,a,l):js(e,t,n,a,l):w._visibility&el?ea(e,t,n,a,l):(w._visibility|=el,mo(e,t,n,a,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),l),(t.mode&_e)===Ee||Ot||(e=t.actualStartTime,0<=e&&.05<l-e&&uu(t,e,l),0<=ye&&0<=Se&&.05<Se-ye&&uu(t,ye,Se))),R&2048&&dh(D,t);break;case 24:ea(e,t,n,a,l),R&2048&&hh(t.alternate,t);break;default:ea(e,t,n,a,l)}(t.mode&_e)!==Ee&&((e=!Ot&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<l-n&&ha(t,n,l,"Mount")),0<=ye&&0<=Se&&((yt||.05<dt)&&ma(t,ye,Se,dt,ct),e&&.05<Se-ye&&ha(t,ye,Se,"Mount"))),vn(i),ga(r),ct=f,yt=d,Vl=m}function mo(e,t,n,a,l,i){for(l=l&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var r=t.sibling;Ub(e,t,n,a,l,r!==null?r.actualStartTime:i),t=r}}function Ub(e,t,n,a,l,i){var r=bn(),f=ya(),d=ba(),m=va(),R=Vl;l&&(t.mode&_e)!==Ee&&0<t.actualStartTime&&(t.flags&1)!==0&&cu(t,t.actualStartTime,i,Ot,n);var D=t.flags;switch(t.tag){case 0:case 11:case 15:mo(e,t,n,a,l,i),mb(t,sn);break;case 23:break;case 22:var w=t.stateNode;t.memoizedState!==null?w._visibility&el?mo(e,t,n,a,l,i):js(e,t,n,a,i):(w._visibility|=el,mo(e,t,n,a,l,i)),l&&D&2048&&dh(t.alternate,t);break;case 24:mo(e,t,n,a,l,i),l&&D&2048&&hh(t.alternate,t);break;default:mo(e,t,n,a,l,i)}(t.mode&_e)!==Ee&&0<=ye&&0<=Se&&(yt||.05<dt)&&ma(t,ye,Se,dt,ct),vn(r),ga(f),ct=d,yt=m,Vl=R}function js(e,t,n,a,l){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var i=t.child;i!==null;){t=i.sibling;var r=e,f=n,d=a,m=t!==null?t.actualStartTime:l,R=Vl;(i.mode&_e)!==Ee&&0<i.actualStartTime&&(i.flags&1)!==0&&cu(i,i.actualStartTime,m,Ot,f);var D=i.flags;switch(i.tag){case 22:js(r,i,f,d,m),D&2048&&dh(i.alternate,i);break;case 24:js(r,i,f,d,m),D&2048&&hh(i.alternate,i);break;default:js(r,i,f,d,m)}Vl=R,i=t}}function po(e,t,n){if(e.subtreeFlags&xr)for(e=e.child;e!==null;)Mb(e,t,n),e=e.sibling}function Mb(e,t,n){switch(e.tag){case 26:po(e,t,n),e.flags&xr&&e.memoizedState!==null&&Dw(n,ia,e.memoizedState,e.memoizedProps);break;case 5:po(e,t,n);break;case 3:case 4:var a=ia;ia=tc(e.stateNode.containerInfo),po(e,t,n),ia=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=xr,xr=16777216,po(e,t,n),xr=a):po(e,t,n));break;default:po(e,t,n)}}function zb(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Hs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],l=bn();Lt=a,Lb(a,e),(a.mode&_e)!==Ee&&0<=ye&&0<=Se&&.05<Se-ye&&ha(a,ye,Se,"Unmount"),vn(l)}zb(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)jb(e),e=e.sibling}function jb(e){var t=bn(),n=ya(),a=ba(),l=va();switch(e.tag){case 0:case 11:case 15:Hs(e),e.flags&2048&&rh(e,e.return,sn|Gn);break;case 3:var i=Za();Hs(e),e.stateNode.passiveEffectDuration+=vu(i);break;case 12:i=Za(),Hs(e),e.stateNode.passiveEffectDuration+=Ns(i);break;case 22:i=e.stateNode,e.memoizedState!==null&&i._visibility&el&&(e.return===null||e.return.tag!==13)?(i._visibility&=~el,Ju(e),(e.mode&_e)!==Ee&&0<=ye&&0<=Se&&.05<Se-ye&&ha(e,ye,Se,"Disconnect")):Hs(e);break;default:Hs(e)}(e.mode&_e)!==Ee&&0<=ye&&0<=Se&&(yt||.05<dt)&&ma(e,ye,Se,dt,ct),vn(t),ga(n),yt=l,ct=a}function Ju(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n],l=bn();Lt=a,Lb(a,e),(a.mode&_e)!==Ee&&0<=ye&&0<=Se&&.05<Se-ye&&ha(a,ye,Se,"Unmount"),vn(l)}zb(e)}for(e=e.child;e!==null;)Hb(e),e=e.sibling}function Hb(e){var t=bn(),n=ya(),a=ba(),l=va();switch(e.tag){case 0:case 11:case 15:rh(e,e.return,sn),Ju(e);break;case 22:var i=e.stateNode;i._visibility&el&&(i._visibility&=~el,Ju(e));break;default:Ju(e)}(e.mode&_e)!==Ee&&0<=ye&&0<=Se&&(yt||.05<dt)&&ma(e,ye,Se,dt,ct),vn(t),ga(n),yt=l,ct=a}function Lb(e,t){for(;Lt!==null;){var n=Lt,a=n,l=t,i=bn(),r=ya(),f=ba(),d=va();switch(a.tag){case 0:case 11:case 15:rh(a,l,sn);break;case 23:case 22:a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool,l!=null&&Si(l));break;case 24:Es(a.memoizedState.cache)}if((a.mode&_e)!==Ee&&0<=ye&&0<=Se&&(yt||.05<dt)&&ma(a,ye,Se,dt,ct),vn(i),ga(r),yt=d,ct=f,a=n.child,a!==null)a.return=n,Lt=a;else e:for(n=e;Lt!==null;){if(a=Lt,i=a.sibling,r=a.return,wb(a),a===n){Lt=null;break e}if(i!==null){i.return=r,Lt=i;break e}Lt=r}}}function qN(){cx.forEach(function(e){return e()})}function Vb(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||L.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function En(e){if((Ge&Ut)!==Vt&&Oe!==0)return Oe&-Oe;var t=L.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),Eh()):Sl()}function Bb(){if(pn===0)if((Oe&536870912)===0||He){var e=hc;hc<<=1,(hc&3932160)===0&&(hc=262144),pn=e}else pn=536870912;return e=Cn.current,e!==null&&(e.flags|=32),pn}function pt(e,t,n){if(es&&console.error("useInsertionEffect must not schedule updates."),ap&&(Pc=!0),(e===nt&&(Pe===qi||Pe===Yi)||e.cancelPendingCommit!==null)&&(go(e,0),Al(e,Oe,pn,!1)),bl(e,n),(Ge&Ut)!==Vt&&e===nt){if(Aa)switch(t.tag){case 0:case 11:case 15:e=Ue&&I(Ue)||"Unknown",d1.has(e)||(d1.add(e),t=I(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:f1||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),f1=!0)}}else Ua&&fi(e,t,n),FN(t),e===nt&&((Ge&Ut)===Vt&&(Kl|=n),ht===Zl&&Al(e,Oe,pn,!1)),Ca(e)}function kb(e,t,n){if((Ge&(Ut|Dn))!==Vt)throw Error("Should not already be working.");if(Oe!==0&&Ue!==null){var a=Ue,l=jt();switch(lS){case Dr:case qi:var i=fr;ot&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Suspended",i,l,Hn,void 0,"primary-light")):console.timeStamp("Suspended",i,l,Hn,void 0,"primary-light"));break;case Yi:i=fr,ot&&((a=a._debugTask)?a.run(console.timeStamp.bind(console,"Action",i,l,Hn,void 0,"primary-light")):console.timeStamp("Action",i,l,Hn,void 0,"primary-light"));break;default:ot&&(a=l-fr,3>a||console.timeStamp("Blocked",fr,l,Hn,void 0,5>a?"primary-light":10>a?"primary":100>a?"primary-dark":"error"))}}i=(n=!n&&(t&127)===0&&(t&e.expiredLanes)===0||gl(e,t))?$N(e,t):ph(e,t,!0);var r=n;do{if(i===fl){Po&&!n&&Al(e,t,0,!1),t=Pe,fr=wt(),lS=t;break}else{if(a=jt(),l=e.current.alternate,r&&!YN(l)){Pn(t),l=Ht,i=a,!ot||i<=l||(bt?bt.run(console.timeStamp.bind(console,"Teared Render",l,i,qe,Ve,"error")):console.timeStamp("Teared Render",l,i,qe,Ve,"error")),Ci(t,a),i=ph(e,t,!1),r=!1;continue}if(i===ki){if(r=t,e.errorRecoveryDisabledLanes&r)var f=0;else f=e.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){Pn(t),Kf(Ht,a,t,bt),Ci(t,a),t=f;e:{a=e,i=r,r=Ar;var d=a.current.memoizedState.isDehydrated;if(d&&(go(a,f).flags|=256),f=ph(a,f,!1),f!==ki){if(Im&&!d){a.errorRecoveryDisabledLanes|=i,Kl|=i,i=Zl;break e}a=rn,rn=r,a!==null&&(rn===null?rn=a:rn.push.apply(rn,a))}i=f}if(r=!1,i!==ki)continue;a=jt()}}if(i===Rr){Pn(t),Kf(Ht,a,t,bt),Ci(t,a),go(e,0),Al(e,t,0,!0);break}e:{switch(n=e,i){case fl:case Rr:throw Error("Root did not complete. This is a bug in React.");case Zl:if((t&4194048)!==t)break;case Gc:Pn(t),ky(Ht,a,t,bt),Ci(t,a),l=t,(l&127)!==0?_c=a:(l&4194048)!==0&&(Ac=a),Al(n,t,pn,!Jl);break e;case ki:rn=null;break;case $c:case PS:break;default:throw Error("Unknown root exit status.")}if(L.actQueue!==null)yh(n,l,t,rn,Or,Zc,pn,Kl,$i,i,null,null,Ht,a);else{if((t&62914560)===t&&(r=Jc+t1-jt(),10<r)){if(Al(n,t,pn,!Jl),ui(n,0,!0)!==0)break e;oa=t,n.timeoutHandle=S1(qb.bind(null,n,l,rn,Or,Zc,t,pn,Kl,$i,Jl,i,"Throttled",Ht,a),r);break e}qb(n,l,rn,Or,Zc,t,pn,Kl,$i,Jl,i,null,Ht,a)}}}break}while(!0);Ca(e)}function qb(e,t,n,a,l,i,r,f,d,m,R,D,w,z){e.timeoutHandle=Ji;var W=t.subtreeFlags,ae=null;if((W&8192||(W&16785408)===16785408)&&(ae={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:$a},Mb(t,i,ae),W=(i&62914560)===i?Jc-jt():(i&4194048)===i?e1-jt():0,W=_w(ae,W),W!==null)){oa=i,e.cancelPendingCommit=W(yh.bind(null,e,t,i,n,a,l,r,f,d,R,ae,ae.waitingForViewTransition?"Waiting for the previous Animation":0<ae.count?0<ae.imgCount?"Suspended on CSS and Images":"Suspended on CSS":ae.imgCount===1?"Suspended on an Image":0<ae.imgCount?"Suspended on Images":null,w,z)),Al(e,i,r,!m);return}yh(e,t,i,n,a,l,r,f,d,R,ae,D,w,z)}function YN(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var l=n[a],i=l.getSnapshot;l=l.value;try{if(!an(i(),l))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Al(e,t,n,a){t&=~Km,t&=~Kl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var l=t;0<l;){var i=31-en(l),r=1<<i;a[i]=-1,l&=~r}n!==0&&fs(e,n,t)}function yo(){return(Ge&(Ut|Dn))===Vt?(Bs(0),!1):!0}function mh(){if(Ue!==null){if(Pe===mn)var e=Ue.return;else e=Ue,yu(),xd(e),$o=null,Sr=0,e=Ue;for(;e!==null;)db(e.alternate,e),e=e.return;Ue=null}}function Ci(e,t){(e&127)!==0&&(Oi=t),(e&4194048)!==0&&(il=t),(e&62914560)!==0&&(nS=t),(e&2080374784)!==0&&(aS=t)}function go(e,t){ot&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Ve,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Ve,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Ve,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Ve,"primary-light"));var n=Ht;if(Ht=wt(),Oe!==0&&0<n){if(Pn(Oe),ht===$c||ht===Zl)ky(n,Ht,t,bt);else{var a=Ht,l=bt;if(ot&&!(a<=n)){var i=(t&738197653)===t?"tertiary-dark":"primary-dark",r=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";l?l.run(console.timeStamp.bind(console,r,n,a,qe,Ve,i)):console.timeStamp(r,n,a,qe,Ve,i)}}Ci(Oe,Ht)}if(n=bt,bt=null,(t&127)!==0){bt=rr,l=0<=Ha&&Ha<Oi?Oi:Ha,a=0<=Ui&&Ui<Oi?Oi:Ui,i=0<=a?a:0<=l?l:Ht,0<=_c?(Pn(2),qy(_c,i,t,n)):Oc&127,n=l;var f=a,d=ur,m=0<ko,R=$l===sr,D=$l===Dc;if(l=Ht,a=rr,i=Dm,r=_m,ot){if(qe="Blocking",0<n?n>l&&(n=l):n=l,0<f?f>n&&(f=n):f=n,d!==null&&n>f){var w=m?"secondary-light":"warning";a?a.run(console.timeStamp.bind(console,m?"Consecutive":"Event: "+d,f,n,qe,Ve,w)):console.timeStamp(m?"Consecutive":"Event: "+d,f,n,qe,Ve,w)}l>n&&(f=R?"error":(t&738197653)===t?"tertiary-light":"primary-light",R=D?"Promise Resolved":R?"Cascading Update":5<l-n?"Update Blocked":"Update",D=[],r!=null&&D.push(["Component name",r]),i!=null&&D.push(["Method name",i]),n={start:n,end:l,detail:{devtools:{properties:D,track:qe,trackGroup:Ve,color:f}}},a?a.run(performance.measure.bind(performance,R,n)):performance.measure(R,n))}Ha=-1.1,$l=0,_m=Dm=null,_c=-1.1,ko=Ui,Ui=-1.1,Oi=wt()}if((t&4194048)!==0&&(bt=cr,l=0<=ol&&ol<il?il:ol,n=0<=Yn&&Yn<il?il:Yn,a=0<=Gl&&Gl<il?il:Gl,i=0<=a?a:0<=n?n:Ht,0<=Ac?(Pn(256),qy(Ac,i,t,bt)):Oc&4194048,D=a,f=Mi,d=0<Xl,m=Am===Dc,i=Ht,a=cr,r=eS,R=tS,ot&&(qe="Transition",0<n?n>i&&(n=i):n=i,0<l?l>n&&(l=n):l=n,0<D?D>l&&(D=l):D=l,l>D&&f!==null&&(w=d?"secondary-light":"warning",a?a.run(console.timeStamp.bind(console,d?"Consecutive":"Event: "+f,D,l,qe,Ve,w)):console.timeStamp(d?"Consecutive":"Event: "+f,D,l,qe,Ve,w)),n>l&&(a?a.run(console.timeStamp.bind(console,"Action",l,n,qe,Ve,"primary-dark")):console.timeStamp("Action",l,n,qe,Ve,"primary-dark")),i>n&&(l=m?"Promise Resolved":5<i-n?"Update Blocked":"Update",D=[],R!=null&&D.push(["Component name",R]),r!=null&&D.push(["Method name",r]),n={start:n,end:i,detail:{devtools:{properties:D,track:qe,trackGroup:Ve,color:"primary-light"}}},a?a.run(performance.measure.bind(performance,l,n)):performance.measure(l,n))),Yn=ol=-1.1,Am=0,Ac=-1.1,Xl=Gl,Gl=-1.1,il=wt()),(t&62914560)!==0&&(Oc&62914560)!==0&&(Pn(4194304),Ff(nS,Ht)),(t&2080374784)!==0&&(Oc&2080374784)!==0&&(Pn(268435456),Ff(aS,Ht)),n=e.timeoutHandle,n!==Ji&&(e.timeoutHandle=Ji,wx(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),oa=0,mh(),nt=e,Ue=n=Ga(e.current,null),Oe=t,Pe=mn,_n=null,Jl=!1,Po=gl(e,t),Im=!1,ht=fl,$i=pn=Km=Kl=Il=0,rn=Ar=null,Zc=!1,(t&8)!==0&&(t|=t&32),a=e.entangledLanes,a!==0)for(e=e.entanglements,a&=t;0<a;)l=31-en(a),i=1<<l,t|=e[l],a&=~i;return Va=t,fu(),e=J0(),1e3<e-Z0&&(L.recentlyCreatedOwnerStacks=0,Z0=e),aa.discardPendingWarnings(),n}function Yb(e,t){Ne=null,L.H=Tr,L.getCurrentStack=null,Aa=!1,Tn=null,t===Yo||t===jc?(t=ug(),Pe=Dr):t===zm?(t=ug(),Pe=WS):Pe=t===Gm?Jm:t!==null&&typeof t=="object"&&typeof t.then=="function"?_r:Xc,_n=t;var n=Ue;n===null?(ht=Rr,qu(e,gn(t,e.current))):n.mode&_e&&dd(n)}function $b(){var e=Cn.current;return e===null?!0:(Oe&4194048)===Oe?$n===null:(Oe&62914560)===Oe||(Oe&536870912)!==0?e===$n:!1}function Gb(){var e=L.H;return L.H=Tr,e===null?Tr:e}function Xb(){var e=L.A;return L.A=ux,e}function Iu(e){bt===null&&(bt=e._debugTask==null?null:e._debugTask)}function Ku(){ht=Zl,Jl||(Oe&4194048)!==Oe&&Cn.current!==null||(Po=!0),(Il&134217727)===0&&(Kl&134217727)===0||nt===null||Al(nt,Oe,pn,!1)}function ph(e,t,n){var a=Ge;Ge|=Ut;var l=Gb(),i=Xb();if(nt!==e||Oe!==t){if(Ua){var r=e.memoizedUpdaters;0<r.size&&(Vs(e,Oe),r.clear()),eo(e,t)}Or=null,go(e,t)}t=!1,r=ht;e:do try{if(Pe!==mn&&Ue!==null){var f=Ue,d=_n;switch(Pe){case Jm:mh(),r=Gc;break e;case Dr:case qi:case Yi:case _r:Cn.current===null&&(t=!0);var m=Pe;if(Pe=mn,_n=null,bo(e,f,d,m),n&&Po){r=fl;break e}break;default:m=Pe,Pe=mn,_n=null,bo(e,f,d,m)}}Qb(),r=ht;break}catch(R){Yb(e,R)}while(!0);return t&&e.shellSuspendCounter++,yu(),Ge=a,L.H=l,L.A=i,Ue===null&&(nt=null,Oe=0,fu()),r}function Qb(){for(;Ue!==null;)Zb(Ue)}function $N(e,t){var n=Ge;Ge|=Ut;var a=Gb(),l=Xb();if(nt!==e||Oe!==t){if(Ua){var i=e.memoizedUpdaters;0<i.size&&(Vs(e,Oe),i.clear()),eo(e,t)}Or=null,Ic=jt()+n1,go(e,t)}else Po=gl(e,t);e:do try{if(Pe!==mn&&Ue!==null)t:switch(t=Ue,i=_n,Pe){case Xc:Pe=mn,_n=null,bo(e,t,i,Xc);break;case qi:case Yi:if(sg(i)){Pe=mn,_n=null,Jb(t);break}t=function(){Pe!==qi&&Pe!==Yi||nt!==e||(Pe=Qc),Ca(e)},i.then(t,t);break e;case Dr:Pe=Qc;break e;case WS:Pe=Zm;break e;case Qc:sg(i)?(Pe=mn,_n=null,Jb(t)):(Pe=mn,_n=null,bo(e,t,i,Qc));break;case Zm:var r=null;switch(Ue.tag){case 26:r=Ue.memoizedState;case 5:case 27:var f=Ue;if(r?kv(r):f.stateNode.complete){Pe=mn,_n=null;var d=f.sibling;if(d!==null)Ue=d;else{var m=f.return;m!==null?(Ue=m,Fu(m)):Ue=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Pe=mn,_n=null,bo(e,t,i,Zm);break;case _r:Pe=mn,_n=null,bo(e,t,i,_r);break;case Jm:mh(),ht=Gc;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}L.actQueue!==null?Qb():GN();break}catch(R){Yb(e,R)}while(!0);return yu(),L.H=a,L.A=l,Ge=n,Ue!==null?fl:(nt=null,Oe=0,fu(),ht)}function GN(){for(;Ue!==null&&!$w();)Zb(Ue)}function Zb(e){var t=e.alternate;(e.mode&_e)!==Ee?(fd(e),t=F(e,ih,t,e,Va),dd(e)):t=F(e,ih,t,e,Va),e.memoizedProps=e.pendingProps,t===null?Fu(e):Ue=t}function Jb(e){var t=F(e,XN,e);e.memoizedProps=e.pendingProps,t===null?Fu(e):Ue=t}function XN(e){var t=e.alternate,n=(e.mode&_e)!==Ee;switch(n&&fd(e),e.tag){case 15:case 0:t=ib(t,e,e.pendingProps,e.type,void 0,Oe);break;case 11:t=ib(t,e,e.pendingProps,e.type.render,e.ref,Oe);break;case 5:xd(e);default:db(t,e),e=Ue=Zy(e,Va),t=ih(t,e,Va)}return n&&dd(e),t}function bo(e,t,n,a){yu(),xd(t),$o=null,Sr=0;var l=t.return;try{if(_N(e,l,t,n,Oe)){ht=Rr,qu(e,gn(n,e.current)),Ue=null;return}}catch(i){if(l!==null)throw Ue=l,i;ht=Rr,qu(e,gn(n,e.current)),Ue=null;return}t.flags&32768?(He||a===Xc?e=!0:Po||(Oe&536870912)!==0?e=!1:(Jl=e=!0,(a===qi||a===Yi||a===Dr||a===_r)&&(a=Cn.current,a!==null&&a.tag===13&&(a.flags|=16384))),Ib(t,e)):Fu(t)}function Fu(e){var t=e;do{if((t.flags&32768)!==0){Ib(t,Jl);return}var n=t.alternate;if(e=t.return,fd(t),n=F(t,UN,n,t,Va),(t.mode&_e)!==Ee&&ng(t),n!==null){Ue=n;return}if(t=t.sibling,t!==null){Ue=t;return}Ue=t=e}while(t!==null);ht===fl&&(ht=PS)}function Ib(e,t){do{var n=MN(e.alternate,e);if(n!==null){n.flags&=32767,Ue=n;return}if((e.mode&_e)!==Ee){ng(e),n=e.actualDuration;for(var a=e.child;a!==null;)n+=a.actualDuration,a=a.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ue=e;return}Ue=e=n}while(e!==null);ht=Gc,Ue=null}function yh(e,t,n,a,l,i,r,f,d,m,R,D,w,z){e.cancelPendingCommit=null;do Ls();while(Dt!==Pl);if(aa.flushLegacyContextWarning(),aa.flushPendingUnsafeLifecycleWarnings(),(Ge&(Ut|Dn))!==Vt)throw Error("Should not already be working.");if(Pn(n),m===ki?Kf(w,z,n,bt):a!==null?yN(w,z,n,a,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,bt):pN(w,z,n,bt),t!==null){if(n===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(i=t.lanes|t.childLanes,i|=wm,eu(e,n,i,r,f,d),e===nt&&(Ue=nt=null,Oe=0),Wo=t,Wl=e,oa=n,Wm=i,tp=l,r1=a,ep=z,u1=D,sa=Kc,c1=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,KN(To,function(){return Lr=window.event,sa===Kc&&(sa=Pm),ev(),null})):(e.callbackNode=null,e.callbackPriority=0),ll=null,Yl=wt(),D!==null&&gN(z,Yl,D,bt),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=L.T,L.T=null,l=Ie.p,Ie.p=jn,r=Ge,Ge|=Dn;try{BN(e,t,n)}finally{Ge=r,Ie.p=l,L.T=a}}Dt=l1,Kb(),Fb(),Pb()}}function Kb(){if(Dt===l1){Dt=Pl;var e=Wl,t=Wo,n=oa,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=L.T,L.T=null;var l=Ie.p;Ie.p=jn;var i=Ge;Ge|=Dn;try{Ko=n,Fo=e,Su(),Rb(t,e),Fo=Ko=null,n=dp;var r=Ly(e.containerInfo),f=n.focusedElem,d=n.selectionRange;if(r!==f&&f&&f.ownerDocument&&Hy(f.ownerDocument.documentElement,f)){if(d!==null&&Zf(f)){var m=d.start,R=d.end;if(R===void 0&&(R=m),"selectionStart"in f)f.selectionStart=m,f.selectionEnd=Math.min(R,f.value.length);else{var D=f.ownerDocument||document,w=D&&D.defaultView||window;if(w.getSelection){var z=w.getSelection(),W=f.textContent.length,ae=Math.min(d.start,W),lt=d.end===void 0?ae:Math.min(d.end,W);!z.extend&&ae>lt&&(r=lt,lt=ae,ae=r);var Be=jy(f,ae),N=jy(f,lt);if(Be&&N&&(z.rangeCount!==1||z.anchorNode!==Be.node||z.anchorOffset!==Be.offset||z.focusNode!==N.node||z.focusOffset!==N.offset)){var T=D.createRange();T.setStart(Be.node,Be.offset),z.removeAllRanges(),ae>lt?(z.addRange(T),z.extend(N.node,N.offset)):(T.setEnd(N.node,N.offset),z.addRange(T))}}}}for(D=[],z=f;z=z.parentNode;)z.nodeType===1&&D.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<D.length;f++){var C=D[f];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}hf=!!fp,dp=fp=null}finally{Ge=i,Ie.p=l,L.T=a}}e.current=t,Dt=i1}}function Fb(){if(Dt===i1){Dt=Pl;var e=c1;if(e!==null){Yl=wt();var t=al,n=Yl;!ot||n<=t||console.timeStamp(e,t,n,qe,Ve,"secondary-light")}e=Wl,t=Wo,n=oa;var a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=L.T,L.T=null;var l=Ie.p;Ie.p=jn;var i=Ge;Ge|=Dn;try{Ko=n,Fo=e,Su(),Nb(e,t.alternate,t),Fo=Ko=null}finally{Ge=i,Ie.p=l,L.T=a}}e=ep,t=u1,al=wt(),e=t===null?e:Yl,t=al,n=sa===Fm,a=bt,ll!==null?Yy(e,t,ll,!1,a):!ot||t<=e||(a?a.run(console.timeStamp.bind(console,n?"Commit Interrupted View Transition":"Commit",e,t,qe,Ve,n?"error":"secondary-dark")):console.timeStamp(n?"Commit Interrupted View Transition":"Commit",e,t,qe,Ve,n?"error":"secondary-dark")),Dt=o1}}function Pb(){if(Dt===s1||Dt===o1){if(Dt===s1){var e=al;al=wt();var t=al,n=sa===Fm;!ot||t<=e||console.timeStamp(n?"Interrupted View Transition":"Starting Animation",e,t,qe,Ve,n?" error":"secondary-light"),sa!==Fm&&(sa=a1)}Dt=Pl,Gw(),e=Wl;var a=Wo;t=oa,n=r1;var l=a.actualDuration!==0||(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0;l?Dt=Fc:(Dt=Pl,Wo=Wl=null,Wb(e,e.pendingLanes),Gi=0,Mr=null);var i=e.pendingLanes;if(i===0&&(Fl=null),l||lv(e),i=to(t),a=a.stateNode,Zt&&typeof Zt.onCommitFiberRoot=="function")try{var r=(a.current.flags&128)===128;switch(i){case jn:var f=tm;break;case Ma:f=nm;break;case Pa:f=To;break;case pc:f=am;break;default:f=To}Zt.onCommitFiberRoot(xo,a,f,r)}catch(D){Oa||(Oa=!0,console.error("React instrumentation encountered an error: %o",D))}if(Ua&&e.memoizedUpdaters.clear(),qN(),n!==null){r=L.T,f=Ie.p,Ie.p=jn,L.T=null;try{var d=e.onRecoverableError;for(a=0;a<n.length;a++){var m=n[a],R=QN(m.stack);F(m.source,d,m.value,R)}}finally{L.T=r,Ie.p=f}}(oa&3)!==0&&Ls(),Ca(e),i=e.pendingLanes,(t&261930)!==0&&(i&42)!==0?(Mc=!0,e===np?Ur++:(Ur=0,np=e)):Ur=0,l||Ci(t,al),Bs(0)}}function QN(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Wb(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Es(t)))}function Ls(){return Kb(),Fb(),Pb(),ev()}function ev(){if(Dt!==Fc)return!1;var e=Wl,t=Wm;Wm=0;var n=to(oa),a=Pa>n?Pa:n;n=L.T;var l=Ie.p;try{Ie.p=a,L.T=null;var i=tp;tp=null,a=Wl;var r=oa;if(Dt=Pl,Wo=Wl=null,oa=0,(Ge&(Ut|Dn))!==Vt)throw Error("Cannot flush passive effects while already rendering.");Pn(r),ap=!0,Pc=!1;var f=0;if(ll=null,f=jt(),sa===a1)Ff(al,f,nx);else{var d=al,m=f,R=sa===Pm;!ot||m<=d||(bt?bt.run(console.timeStamp.bind(console,R?"Waiting for Paint":"Waiting",d,m,qe,Ve,"secondary-light")):console.timeStamp(R?"Waiting for Paint":"Waiting",d,m,qe,Ve,"secondary-light"))}d=Ge,Ge|=Dn;var D=a.current;Su(),jb(D);var w=a.current;D=ep,Su(),Ob(a,w,r,i,D),lv(a),Ge=d;var z=jt();if(w=f,D=bt,ll!==null?Yy(w,z,ll,!0,D):!ot||z<=w||(D?D.run(console.timeStamp.bind(console,"Remaining Effects",w,z,qe,Ve,"secondary-dark")):console.timeStamp("Remaining Effects",w,z,qe,Ve,"secondary-dark")),Ci(r,z),Bs(0,!1),Pc?a===Mr?Gi++:(Gi=0,Mr=a):Gi=0,Pc=ap=!1,Zt&&typeof Zt.onPostCommitFiberRoot=="function")try{Zt.onPostCommitFiberRoot(xo,a)}catch(ae){Oa||(Oa=!0,console.error("React instrumentation encountered an error: %o",ae))}var W=a.current.stateNode;return W.effectDuration=0,W.passiveEffectDuration=0,!0}finally{Ie.p=l,L.T=n,Wb(e,t)}}function tv(e,t,n){t=gn(n,t),ag(t),t=Jd(e.stateNode,t,2),e=Cl(e,t,2),e!==null&&(bl(e,2),Ca(e))}function Je(e,t,n){if(es=!1,e.tag===3)tv(e,e,n);else{for(;t!==null;){if(t.tag===3){tv(t,e,n);return}if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Fl===null||!Fl.has(a))){e=gn(n,e),ag(e),n=Id(2),a=Cl(t,n,2),a!==null&&(Kd(n,a,t,e),bl(a,2),Ca(a));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
199
+
200
+ Error message:
201
+
202
+ %s`,n)}}function gh(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new fx;var l=new Set;a.set(t,l)}else l=a.get(t),l===void 0&&(l=new Set,a.set(t,l));l.has(n)||(Im=!0,l.add(n),a=ZN.bind(null,e,t,n),Ua&&Vs(e,n),t.then(a,a))}function ZN(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,(n&127)!==0?0>Ha&&(Oi=Ha=wt(),rr=Rc("Promise Resolved"),$l=Dc):(n&4194048)!==0&&0>Yn&&(il=Yn=wt(),cr=Rc("Promise Resolved"),Am=Dc),Vb()&&L.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
203
+
204
+ When testing, code that resolves suspended data should be wrapped into act(...):
205
+
206
+ act(() => {
207
+ /* finish loading suspended data */
208
+ });
209
+ /* assert on the output */
210
+
211
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),nt===e&&(Oe&n)===n&&(ht===Zl||ht===$c&&(Oe&62914560)===Oe&&jt()-Jc<t1?(Ge&Ut)===Vt&&go(e,0):Km|=n,$i===Oe&&($i=0)),Ca(e)}function nv(e,t){t===0&&(t=us()),e=Qt(e,t),e!==null&&(bl(e,t),Ca(e))}function JN(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),nv(e,n)}function IN(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}a!==null&&a.delete(t),nv(e,n)}function bh(e,t,n){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var a=e,l=t,i=l.type===uc;i=n||i,l.tag!==22?l.flags&67108864?i&&F(l,av,a,l):bh(a,l,i):l.memoizedState===null&&(i&&l.flags&8192?F(l,av,a,l):l.subtreeFlags&67108864&&F(l,bh,a,l,i)),t=t.sibling}}function av(e,t){re(!0);try{_b(t),Hb(t),Ab(e,t.alternate,t,!1),Ub(e,t,0,null,!1,0)}finally{re(!1)}}function lv(e){var t=!0;e.current.mode&(Jt|na)||(t=!1),bh(e,e.current,t)}function iv(e){if((Ge&Ut)===Vt){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=I(e)||"ReactComponent",Wc!==null){if(Wc.has(t))return;Wc.add(t)}else Wc=new Set([t]);F(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function Vs(e,t){Ua&&e.memoizedUpdaters.forEach(function(n){fi(e,n,t)})}function KN(e,t){var n=L.actQueue;return n!==null?(n.push(t),mx):em(e,t)}function FN(e){Vb()&&L.actQueue===null&&F(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
212
+
213
+ When testing, code that causes React state updates should be wrapped into act(...):
214
+
215
+ act(() => {
216
+ /* fire events that update state */
217
+ });
218
+ /* assert on the output */
219
+
220
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,I(e))})}function Ca(e){e!==ts&&e.next===null&&(ts===null?ef=ts=e:ts=ts.next=e),tf=!0,L.actQueue!==null?ip||(ip=!0,uv()):lp||(lp=!0,uv())}function Bs(e,t){if(!op&&tf){op=!0;do for(var n=!1,a=ef;a!==null;){if(e!==0){var l=a.pendingLanes;if(l===0)var i=0;else{var r=a.suspendedLanes,f=a.pingedLanes;i=(1<<31-en(42|e)+1)-1,i&=l&~(r&~f),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(n=!0,rv(a,i))}else i=Oe,i=ui(a,a===nt?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Ji),(i&3)===0||gl(a,i)||(n=!0,rv(a,i));a=a.next}while(n);op=!1}}function PN(){Lr=window.event,vh()}function vh(){tf=ip=lp=!1;var e=0;ei!==0&&iw()&&(e=ei);for(var t=jt(),n=null,a=ef;a!==null;){var l=a.next,i=ov(a,t);i===0?(a.next=null,n===null?ef=l:n.next=l,l===null&&(ts=n)):(n=a,(e!==0||(i&3)!==0)&&(tf=!0)),a=l}Dt!==Pl&&Dt!==Fc||Bs(e),ei!==0&&(ei=0)}function ov(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var r=31-en(i),f=1<<r,d=l[r];d===-1?((f&n)===0||(f&a)!==0)&&(l[r]=Wr(f,t)):d<=t&&(e.expiredLanes|=f),i&=~f}if(t=nt,n=Oe,n=ui(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Ji),a=e.callbackNode,n===0||e===t&&(Pe===qi||Pe===Yi)||e.cancelPendingCommit!==null)return a!==null&&Sh(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||gl(e,n)){if(t=n&-n,t!==e.callbackPriority||L.actQueue!==null&&a!==sp)Sh(a);else return t;switch(to(n)){case jn:case Ma:n=nm;break;case Pa:n=To;break;case pc:n=am;break;default:n=To}return a=sv.bind(null,e),L.actQueue!==null?(L.actQueue.push(a),n=sp):n=em(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&Sh(a),e.callbackPriority=2,e.callbackNode=null,2}function sv(e,t){if(Mc=Uc=!1,Lr=window.event,Dt!==Pl&&Dt!==Fc)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(sa===Kc&&(sa=Pm),Ls()&&e.callbackNode!==n)return null;var a=Oe;return a=ui(e,e===nt?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Ji),a===0?null:(kb(e,a,t),ov(e,jt()),e.callbackNode!=null&&e.callbackNode===n?sv.bind(null,e):null)}function rv(e,t){if(Ls())return null;Uc=Mc,Mc=!1,kb(e,t,!0)}function Sh(e){e!==sp&&e!==null&&Yw(e)}function uv(){L.actQueue!==null&&L.actQueue.push(function(){return vh(),null}),Tx(function(){(Ge&(Ut|Dn))!==Vt?em(tm,PN):vh()})}function Eh(){if(ei===0){var e=zi;e===0&&(e=dc,dc<<=1,(dc&261888)===0&&(dc=256)),ei=e}return ei}function cv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(Ke(e,"action"),gs(""+e))}function fv(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function WN(e,t,n,a,l){if(t==="submit"&&n&&n.stateNode===l){var i=cv((l[tn]||null).action),r=a.submitter;r&&(t=(t=r[tn]||null)?cv(t.formAction):r.getAttribute("formAction"),t!==null&&(i=t,r=null));var f=new Sc("action","action",null,a,l);e.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(ei!==0){var d=r?fv(l,r):new FormData(l),m={pending:!0,data:d,method:l.method,action:i};Object.freeze(m),qd(n,m,null,d)}}else typeof i=="function"&&(f.preventDefault(),d=r?fv(l,r):new FormData(l),m={pending:!0,data:d,method:l.method,action:i},Object.freeze(m),qd(n,m,i,d))},currentTarget:l}]})}}function Pu(e,t,n){e.currentTarget=n;try{t(e)}catch(a){vm(a)}e.currentTarget=null}function dv(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n];e:{var l=void 0,i=a.event;if(a=a.listeners,t)for(var r=a.length-1;0<=r;r--){var f=a[r],d=f.instance,m=f.currentTarget;if(f=f.listener,d!==l&&i.isPropagationStopped())break e;d!==null?F(d,Pu,i,f,m):Pu(i,f,m),l=d}else for(r=0;r<a.length;r++){if(f=a[r],d=f.instance,m=f.currentTarget,f=f.listener,d!==l&&i.isPropagationStopped())break e;d!==null?F(d,Pu,i,f,m):Pu(i,f,m),l=d}}}}function Le(e,t){rp.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=t[lm];n===void 0&&(n=t[lm]=new Set);var a=e+"__bubble";n.has(a)||(hv(t,e,2,!1),n.add(a))}function Nh(e,t,n){rp.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=4),hv(n,e,a,t)}function wh(e){if(!e[nf]){e[nf]=!0,u0.forEach(function(n){n!=="selectionchange"&&(rp.has(n)||Nh(n,!1,e),Nh(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[nf]||(t[nf]=!0,Nh("selectionchange",!1,t))}}function hv(e,t,n,a){switch(Qv(t)){case jn:var l=Mw;break;case Ma:l=zw;break;default:l=Bh}n=l.bind(null,t,n,e),l=void 0,!um||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),a?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function Th(e,t,n,a,l){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var r=a.tag;if(r===3||r===4){var f=a.stateNode.containerInfo;if(f===l)break;if(r===4)for(r=a.return;r!==null;){var d=r.tag;if((d===3||d===4)&&r.stateNode.containerInfo===l)return;r=r.return}for(;f!==null;){if(r=J(f),r===null)return;if(d=r.tag,d===5||d===6||d===26||d===27){a=i=r;continue e}f=f.parentNode}}a=a.return}Ty(function(){var m=i,R=Xf(n),D=[];e:{var w=Q0.get(e);if(w!==void 0){var z=Sc,W=e;switch(e){case"keypress":if(ou(n)===0)break e;case"keydown":case"keyup":z=_T;break;case"focusin":W="focus",z=hm;break;case"focusout":W="blur",z=hm;break;case"beforeblur":case"afterblur":z=hm;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=U0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=gT;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=UT;break;case Y0:case $0:case G0:z=ST;break;case X0:z=zT;break;case"scroll":case"scrollend":z=pT;break;case"wheel":z=HT;break;case"copy":case"cut":case"paste":z=NT;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=z0;break;case"toggle":case"beforetoggle":z=VT}var ae=(t&4)!==0,lt=!ae&&(e==="scroll"||e==="scrollend"),Be=ae?w!==null?w+"Capture":null:w;ae=[];for(var N=m,T;N!==null;){var C=N;if(T=C.stateNode,C=C.tag,C!==5&&C!==26&&C!==27||T===null||Be===null||(C=bs(N,Be),C!=null&&ae.push(ks(N,C,T))),lt)break;N=N.return}0<ae.length&&(w=new z(w,W,null,n,R),D.push({event:w,listeners:ae}))}}if((t&7)===0){e:{if(w=e==="mouseover"||e==="pointerover",z=e==="mouseout"||e==="pointerout",w&&n!==Fs&&(W=n.relatedTarget||n.fromElement)&&(J(W)||W[Hl]))break e;if((z||w)&&(w=R.window===R?R:(w=R.ownerDocument)?w.defaultView||w.parentWindow:window,z?(W=n.relatedTarget||n.toElement,z=m,W=W?J(W):null,W!==null&&(lt=Q(W),ae=W.tag,W!==lt||ae!==5&&ae!==27&&ae!==6)&&(W=null)):(z=null,W=m),z!==W)){if(ae=U0,C="onMouseLeave",Be="onMouseEnter",N="mouse",(e==="pointerout"||e==="pointerover")&&(ae=z0,C="onPointerLeave",Be="onPointerEnter",N="pointer"),lt=z==null?w:ce(z),T=W==null?w:ce(W),w=new ae(C,N+"leave",z,n,R),w.target=lt,w.relatedTarget=T,C=null,J(R)===m&&(ae=new ae(Be,N+"enter",W,n,R),ae.target=T,ae.relatedTarget=lt,C=ae),lt=C,z&&W)t:{for(ae=ew,Be=z,N=W,T=0,C=Be;C;C=ae(C))T++;C=0;for(var q=N;q;q=ae(q))C++;for(;0<T-C;)Be=ae(Be),T--;for(;0<C-T;)N=ae(N),C--;for(;T--;){if(Be===N||N!==null&&Be===N.alternate){ae=Be;break t}Be=ae(Be),N=ae(N)}ae=null}else ae=null;z!==null&&mv(D,w,z,ae,!1),W!==null&&lt!==null&&mv(D,lt,W,ae,!0)}}e:{if(w=m?ce(m):window,z=w.nodeName&&w.nodeName.toLowerCase(),z==="select"||z==="input"&&w.type==="file")var te=Oy;else if(_y(w))if(k0)te=dN;else{te=cN;var we=uN}else z=w.nodeName,!z||z.toLowerCase()!=="input"||w.type!=="checkbox"&&w.type!=="radio"?m&&ys(m.elementType)&&(te=Oy):te=fN;if(te&&(te=te(e,m))){Ay(D,te,n,R);break e}we&&we(e,w,m),e==="focusout"&&m&&w.type==="number"&&m.memoizedProps.value!=null&&Bf(w,"number",w.value)}switch(we=m?ce(m):window,e){case"focusin":(_y(we)||we.contentEditable==="true")&&(Uo=we,pm=m,lr=null);break;case"focusout":lr=pm=Uo=null;break;case"mousedown":ym=!0;break;case"contextmenu":case"mouseup":case"dragend":ym=!1,Vy(D,n,R);break;case"selectionchange":if(YT)break;case"keydown":case"keyup":Vy(D,n,R)}var pe;if(mm)e:{switch(e){case"compositionstart":var fe="onCompositionStart";break e;case"compositionend":fe="onCompositionEnd";break e;case"compositionupdate":fe="onCompositionUpdate";break e}fe=void 0}else Oo?Ry(e,n)&&(fe="onCompositionEnd"):e==="keydown"&&n.keyCode===j0&&(fe="onCompositionStart");fe&&(H0&&n.locale!=="ko"&&(Oo||fe!=="onCompositionStart"?fe==="onCompositionEnd"&&Oo&&(pe=xy()):(Ll=R,cm="value"in Ll?Ll.value:Ll.textContent,Oo=!0)),we=Wu(m,fe),0<we.length&&(fe=new M0(fe,e,null,n,R),D.push({event:fe,listeners:we}),pe?fe.data=pe:(pe=Dy(n),pe!==null&&(fe.data=pe)))),(pe=kT?iN(e,n):oN(e,n))&&(fe=Wu(m,"onBeforeInput"),0<fe.length&&(we=new TT("onBeforeInput","beforeinput",null,n,R),D.push({event:we,listeners:fe}),we.data=pe)),WN(D,e,m,n,R)}dv(D,t)})}function ks(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wu(e,t){for(var n=t+"Capture",a=[];e!==null;){var l=e,i=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||i===null||(l=bs(e,n),l!=null&&a.unshift(ks(e,l,i)),l=bs(e,t),l!=null&&a.push(ks(e,l,i))),e.tag===3)return a;e=e.return}return[]}function ew(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function mv(e,t,n,a,l){for(var i=t._reactName,r=[];n!==null&&n!==a;){var f=n,d=f.alternate,m=f.stateNode;if(f=f.tag,d!==null&&d===a)break;f!==5&&f!==26&&f!==27||m===null||(d=m,l?(m=bs(n,i),m!=null&&r.unshift(ks(n,m,d))):l||(m=bs(n,i),m!=null&&r.push(ks(n,m,d)))),n=n.return}r.length!==0&&e.push({event:t,listeners:r})}function xh(e,t){tN(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||A0||(A0=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:Ri,possibleRegistrationNames:im};ys(e)||typeof t.is=="string"||aN(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function zt(e,t,n,a){t!==n&&(n=Ol(n),Ol(t)!==n&&(a[e]=t))}function tw(e,t,n){t.forEach(function(a){n[gv(a)]=a==="style"?Rh(e):e.getAttribute(a)})}function Ra(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function pv(e,t){return e=e.namespaceURI===gc||e.namespaceURI===Ro?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Ol(e){return On(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Mt(e)),yl(e)),(typeof e=="string"?e:""+e).replace(px,`
221
+ `).replace(yx,"")}function yv(e,t){return t=Ol(t),Ol(e)===t}function et(e,t,n,a,l,i){switch(n){case"children":typeof a=="string"?(iu(a,t,!1),t==="body"||t==="textarea"&&a===""||ps(e,a)):(typeof a=="number"||typeof a=="bigint")&&(iu(""+a,t,!1),t!=="body"&&ps(e,""+a));break;case"className":nu(e,"class",a);break;case"tabIndex":nu(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":nu(e,n,a);break;case"style":Ey(e,a,i);break;case"data":if(t!=="object"){nu(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){console.error(n==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',n,n),e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Ke(a,n),a=gs(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(a!=null&&(t==="form"?n==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof a=="function"&&(l.encType==null&&l.method==null||of||(of=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),l.target==null||lf||(lf=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?n==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||l.type==="submit"||l.type==="image"||af?t!=="button"||l.type==null||l.type==="submit"||af?typeof a=="function"&&(l.name==null||p1||(p1=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),l.formEncType==null&&l.formMethod==null||of||(of=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),l.formTarget==null||lf||(lf=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(af=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(af=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(n==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(n==="formAction"?(t!=="input"&&et(e,t,"name",l.name,l,null),et(e,t,"formEncType",l.formEncType,l,null),et(e,t,"formMethod",l.formMethod,l,null),et(e,t,"formTarget",l.formTarget,l,null)):(et(e,t,"encType",l.encType,l,null),et(e,t,"method",l.method,l,null),et(e,t,"target",l.target,l,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}Ke(a,n),a=gs(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(typeof a!="function"&&Ra(n,a),e.onclick=$a);break;case"onScroll":a!=null&&(typeof a!="function"&&Ra(n,a),Le("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&Ra(n,a),Le("scrollend",e));break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}Ke(a,n),n=gs(""+a),e.setAttributeNS(Xi,"xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?(Ke(a,n),e.setAttribute(n,""+a)):e.removeAttribute(n);break;case"inert":a!==""||sf[n]||(sf[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?(Ke(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?(Ke(a,n),e.setAttribute(n,a)):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):(Ke(a,n),e.setAttribute(n,a));break;case"popover":Le("beforetoggle",e),Le("toggle",e),no(e,"popover",a);break;case"xlinkActuate":Ya(e,Xi,"xlink:actuate",a);break;case"xlinkArcrole":Ya(e,Xi,"xlink:arcrole",a);break;case"xlinkRole":Ya(e,Xi,"xlink:role",a);break;case"xlinkShow":Ya(e,Xi,"xlink:show",a);break;case"xlinkTitle":Ya(e,Xi,"xlink:title",a);break;case"xlinkType":Ya(e,Xi,"xlink:type",a);break;case"xmlBase":Ya(e,up,"xml:base",a);break;case"xmlLang":Ya(e,up,"xml:lang",a);break;case"xmlSpace":Ya(e,up,"xml:space",a);break;case"is":i!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),no(e,"is",a);break;case"innerText":case"textContent":break;case"popoverTarget":y1||a==null||typeof a!="object"||(y1=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",a));default:!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N"?(n=Ny(n),no(e,n,a)):Ri.hasOwnProperty(n)&&a!=null&&typeof a!="function"&&Ra(n,a)}}function Ch(e,t,n,a,l,i){switch(n){case"style":Ey(e,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=a.__html,n!=null){if(l.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case"children":typeof a=="string"?ps(e,a):(typeof a=="number"||typeof a=="bigint")&&ps(e,""+a);break;case"onScroll":a!=null&&(typeof a!="function"&&Ra(n,a),Le("scroll",e));break;case"onScrollEnd":a!=null&&(typeof a!="function"&&Ra(n,a),Le("scrollend",e));break;case"onClick":a!=null&&(typeof a!="function"&&Ra(n,a),e.onclick=$a);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ri.hasOwnProperty(n))a!=null&&typeof a!="function"&&Ra(n,a);else e:{if(n[0]==="o"&&n[1]==="n"&&(l=n.endsWith("Capture"),t=n.slice(2,l?n.length-7:void 0),i=e[tn]||null,i=i!=null?i[n]:null,typeof i=="function"&&e.removeEventListener(t,i,l),typeof a=="function")){typeof i!="function"&&i!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,l);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):no(e,n,a)}}}function Yt(e,t,n){switch(xh(t,n),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Le("error",e),Le("load",e);var a=!1,l=!1,i;for(i in n)if(n.hasOwnProperty(i)){var r=n[i];if(r!=null)switch(i){case"src":a=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:et(e,t,i,r,n,null)}}l&&et(e,t,"srcSet",n.srcSet,n,null),a&&et(e,t,"src",n.src,n,null);return;case"input":Pt("input",n),Le("invalid",e);var f=i=r=l=null,d=null,m=null;for(a in n)if(n.hasOwnProperty(a)){var R=n[a];if(R!=null)switch(a){case"name":l=R;break;case"type":r=R;break;case"checked":d=R;break;case"defaultChecked":m=R;break;case"value":i=R;break;case"defaultValue":f=R;break;case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:et(e,t,a,R,n,null)}}iy(e,n),oy(e,i,f,d,m,r,l,!1);return;case"select":Pt("select",n),Le("invalid",e),a=r=i=null;for(l in n)if(n.hasOwnProperty(l)&&(f=n[l],f!=null))switch(l){case"value":i=f;break;case"defaultValue":r=f;break;case"multiple":a=f;default:et(e,t,l,f,n,null)}uy(e,n),t=i,n=r,e.multiple=!!a,t!=null?ao(e,!!a,t,!1):n!=null&&ao(e,!!a,n,!0);return;case"textarea":Pt("textarea",n),Le("invalid",e),i=l=a=null;for(r in n)if(n.hasOwnProperty(r)&&(f=n[r],f!=null))switch(r){case"value":a=f;break;case"defaultValue":l=f;break;case"children":i=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:et(e,t,r,f,n,null)}cy(e,n),dy(e,a,l,i);return;case"option":sy(e,n);for(d in n)if(n.hasOwnProperty(d)&&(a=n[d],a!=null))switch(d){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:et(e,t,d,a,n,null)}return;case"dialog":Le("beforetoggle",e),Le("toggle",e),Le("cancel",e),Le("close",e);break;case"iframe":case"object":Le("load",e);break;case"video":case"audio":for(a=0;a<zr.length;a++)Le(zr[a],e);break;case"image":Le("error",e),Le("load",e);break;case"details":Le("toggle",e);break;case"embed":case"source":case"link":Le("error",e),Le("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(m in n)if(n.hasOwnProperty(m)&&(a=n[m],a!=null))switch(m){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:et(e,t,m,a,n,null)}return;default:if(ys(t)){for(R in n)n.hasOwnProperty(R)&&(a=n[R],a!==void 0&&Ch(e,t,R,a,n,void 0));return}}for(f in n)n.hasOwnProperty(f)&&(a=n[f],a!=null&&et(e,t,f,a,n,null))}function nw(e,t,n,a){switch(xh(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,i=null,r=null,f=null,d=null,m=null,R=null;for(z in n){var D=n[z];if(n.hasOwnProperty(z)&&D!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":d=D;default:a.hasOwnProperty(z)||et(e,t,z,null,a,D)}}for(var w in a){var z=a[w];if(D=n[w],a.hasOwnProperty(w)&&(z!=null||D!=null))switch(w){case"type":i=z;break;case"name":l=z;break;case"checked":m=z;break;case"defaultChecked":R=z;break;case"value":r=z;break;case"defaultValue":f=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:z!==D&&et(e,t,w,z,a,D)}}t=n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null,a=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,t||!a||m1||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),m1=!0),!t||a||h1||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),h1=!0),Vf(e,r,f,d,m,R,i,l);return;case"select":z=r=f=w=null;for(i in n)if(d=n[i],n.hasOwnProperty(i)&&d!=null)switch(i){case"value":break;case"multiple":z=d;default:a.hasOwnProperty(i)||et(e,t,i,null,a,d)}for(l in a)if(i=a[l],d=n[l],a.hasOwnProperty(l)&&(i!=null||d!=null))switch(l){case"value":w=i;break;case"defaultValue":f=i;break;case"multiple":r=i;default:i!==d&&et(e,t,l,i,a,d)}a=f,t=r,n=z,w!=null?ao(e,!!t,w,!1):!!n!=!!t&&(a!=null?ao(e,!!t,a,!0):ao(e,!!t,t?[]:"",!1));return;case"textarea":z=w=null;for(f in n)if(l=n[f],n.hasOwnProperty(f)&&l!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:et(e,t,f,null,a,l)}for(r in a)if(l=a[r],i=n[r],a.hasOwnProperty(r)&&(l!=null||i!=null))switch(r){case"value":w=l;break;case"defaultValue":z=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:l!==i&&et(e,t,r,l,a,i)}fy(e,w,z);return;case"option":for(var W in n)if(w=n[W],n.hasOwnProperty(W)&&w!=null&&!a.hasOwnProperty(W))switch(W){case"selected":e.selected=!1;break;default:et(e,t,W,null,a,w)}for(d in a)if(w=a[d],z=n[d],a.hasOwnProperty(d)&&w!==z&&(w!=null||z!=null))switch(d){case"selected":e.selected=w&&typeof w!="function"&&typeof w!="symbol";break;default:et(e,t,d,w,a,z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ae in n)w=n[ae],n.hasOwnProperty(ae)&&w!=null&&!a.hasOwnProperty(ae)&&et(e,t,ae,null,a,w);for(m in a)if(w=a[m],z=n[m],a.hasOwnProperty(m)&&w!==z&&(w!=null||z!=null))switch(m){case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:et(e,t,m,w,a,z)}return;default:if(ys(t)){for(var lt in n)w=n[lt],n.hasOwnProperty(lt)&&w!==void 0&&!a.hasOwnProperty(lt)&&Ch(e,t,lt,void 0,a,w);for(R in a)w=a[R],z=n[R],!a.hasOwnProperty(R)||w===z||w===void 0&&z===void 0||Ch(e,t,R,w,a,z);return}}for(var Be in n)w=n[Be],n.hasOwnProperty(Be)&&w!=null&&!a.hasOwnProperty(Be)&&et(e,t,Be,null,a,w);for(D in a)w=a[D],z=n[D],!a.hasOwnProperty(D)||w===z||w==null&&z==null||et(e,t,D,w,a,z)}function gv(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Rh(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var a=e[n];t[a]=e.getPropertyValue(a)}return t}function bv(e,t,n){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var a,l=a="",i;for(i in t)if(t.hasOwnProperty(i)){var r=t[i];r!=null&&typeof r!="boolean"&&r!==""&&(i.indexOf("--")===0?(Xt(r,i),a+=l+i+":"+(""+r).trim()):typeof r!="number"||r===0||D0.has(i)?(Xt(r,i),a+=l+i.replace(w0,"-$1").toLowerCase().replace(T0,"-ms-")+":"+(""+r).trim()):a+=l+i.replace(w0,"-$1").toLowerCase().replace(T0,"-ms-")+":"+r+"px",l=";")}a=a||null,t=e.getAttribute("style"),t!==a&&(a=Ol(a),Ol(t)!==a&&(n.style=Rh(e)))}}function zn(e,t,n,a,l,i){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Ke(a,t),e===""+a)return}zt(t,e,a,i)}function vv(e,t,n,a,l,i){if(l.delete(n),e=e.getAttribute(n),e===null){switch(typeof a){case"function":case"symbol":return}if(!a)return}else switch(typeof a){case"function":case"symbol":break;default:if(a)return}zt(t,e,a,i)}function Dh(e,t,n,a,l,i){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":return}else if(a!=null)switch(typeof a){case"function":case"symbol":break;default:if(Ke(a,n),e===""+a)return}zt(t,e,a,i)}function Sv(e,t,n,a,l,i){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(a))return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(!isNaN(a)&&(Ke(a,t),e===""+a))return}zt(t,e,a,i)}function _h(e,t,n,a,l,i){if(l.delete(n),e=e.getAttribute(n),e===null)switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return}else if(a!=null)switch(typeof a){case"function":case"symbol":case"boolean":break;default:if(Ke(a,t),n=gs(""+a),e===n)return}zt(t,e,a,i)}function Ev(e,t,n,a){for(var l={},i=new Set,r=e.attributes,f=0;f<r.length;f++)switch(r[f].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:i.add(r[f].name)}if(ys(t)){for(var d in n)if(n.hasOwnProperty(d)){var m=n[d];if(m!=null){if(Ri.hasOwnProperty(d))typeof m!="function"&&Ra(d,m);else if(n.suppressHydrationWarning!==!0)switch(d){case"children":typeof m!="string"&&typeof m!="number"||zt("children",e.textContent,m,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":r=e.innerHTML,m=m?m.__html:void 0,m!=null&&(m=pv(e,m),zt(d,r,m,l));continue;case"style":i.delete(d),bv(e,m,l);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":i.delete(d.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",d);continue;case"className":i.delete("class"),r=tu(e,"class",m),zt("className",r,m,l);continue;default:a.context===dl&&t!=="svg"&&t!=="math"?i.delete(d.toLowerCase()):i.delete(d),r=tu(e,d,m),zt(d,r,m,l)}}}}else for(m in n)if(n.hasOwnProperty(m)&&(d=n[m],d!=null)){if(Ri.hasOwnProperty(m))typeof d!="function"&&Ra(m,d);else if(n.suppressHydrationWarning!==!0)switch(m){case"children":typeof d!="string"&&typeof d!="number"||zt("children",e.textContent,d,l);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":r=e.innerHTML,d=d?d.__html:void 0,d!=null&&(d=pv(e,d),r!==d&&(l[m]={__html:r}));continue;case"className":zn(e,m,"class",d,i,l);continue;case"tabIndex":zn(e,m,"tabindex",d,i,l);continue;case"style":i.delete(m),bv(e,d,l);continue;case"multiple":i.delete(m),zt(m,e.multiple,d,l);continue;case"muted":i.delete(m),zt(m,e.muted,d,l);continue;case"autoFocus":i.delete("autofocus"),zt(m,e.autofocus,d,l);continue;case"data":if(t!=="object"){i.delete(m),r=e.getAttribute("data"),zt(m,r,d,l);continue}case"src":case"href":if(!(d!==""||t==="a"&&m==="href"||t==="object"&&m==="data")){console.error(m==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',m,m);continue}_h(e,m,m,d,i,l);continue;case"action":case"formAction":if(r=e.getAttribute(m),typeof d=="function"){i.delete(m.toLowerCase()),m==="formAction"?(i.delete("name"),i.delete("formenctype"),i.delete("formmethod"),i.delete("formtarget")):(i.delete("enctype"),i.delete("method"),i.delete("target"));continue}else if(r===gx){i.delete(m.toLowerCase()),zt(m,"function",d,l);continue}_h(e,m,m.toLowerCase(),d,i,l);continue;case"xlinkHref":_h(e,m,"xlink:href",d,i,l);continue;case"contentEditable":Dh(e,m,"contenteditable",d,i,l);continue;case"spellCheck":Dh(e,m,"spellcheck",d,i,l);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Dh(e,m,m,d,i,l);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":vv(e,m,m.toLowerCase(),d,i,l);continue;case"capture":case"download":e:{f=e;var R=r=m,D=l;if(i.delete(R),f=f.getAttribute(R),f===null)switch(typeof d){case"undefined":case"function":case"symbol":break e;default:if(d===!1)break e}else if(d!=null)switch(typeof d){case"function":case"symbol":break;case"boolean":if(d===!0&&f==="")break e;break;default:if(Ke(d,r),f===""+d)break e}zt(r,f,d,D)}continue;case"cols":case"rows":case"size":case"span":e:{if(f=e,R=r=m,D=l,i.delete(R),f=f.getAttribute(R),f===null)switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(d)||1>d)break e}else if(d!=null)switch(typeof d){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(d)||1>d)&&(Ke(d,r),f===""+d))break e}zt(r,f,d,D)}continue;case"rowSpan":Sv(e,m,"rowspan",d,i,l);continue;case"start":Sv(e,m,m,d,i,l);continue;case"xHeight":zn(e,m,"x-height",d,i,l);continue;case"xlinkActuate":zn(e,m,"xlink:actuate",d,i,l);continue;case"xlinkArcrole":zn(e,m,"xlink:arcrole",d,i,l);continue;case"xlinkRole":zn(e,m,"xlink:role",d,i,l);continue;case"xlinkShow":zn(e,m,"xlink:show",d,i,l);continue;case"xlinkTitle":zn(e,m,"xlink:title",d,i,l);continue;case"xlinkType":zn(e,m,"xlink:type",d,i,l);continue;case"xmlBase":zn(e,m,"xml:base",d,i,l);continue;case"xmlLang":zn(e,m,"xml:lang",d,i,l);continue;case"xmlSpace":zn(e,m,"xml:space",d,i,l);continue;case"inert":d!==""||sf[m]||(sf[m]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",m)),vv(e,m,m,d,i,l);continue;default:if(!(2<m.length)||m[0]!=="o"&&m[0]!=="O"||m[1]!=="n"&&m[1]!=="N"){f=Ny(m),r=!1,a.context===dl&&t!=="svg"&&t!=="math"?i.delete(f.toLowerCase()):(R=m.toLowerCase(),R=bc.hasOwnProperty(R)&&bc[R]||null,R!==null&&R!==m&&(r=!0,i.delete(R)),i.delete(f));e:if(R=e,D=f,f=d,fa(D))if(R.hasAttribute(D))R=R.getAttribute(D),Ke(f,D),f=R===""+f?f:R;else{switch(typeof f){case"function":case"symbol":break e;case"boolean":if(R=D.toLowerCase().slice(0,5),R!=="data-"&&R!=="aria-")break e}f=f===void 0?void 0:null}else f=void 0;r||zt(m,f,d,l)}}}return 0<i.size&&n.suppressHydrationWarning!==!0&&tw(e,i,l),Object.keys(l).length===0?null:l}function aw(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Nv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function lw(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var l=n[a],i=l.transferSize,r=l.initiatorType,f=l.duration;if(i&&f&&Nv(r)){for(r=0,f=l.responseEnd,a+=1;a<n.length;a++){var d=n[a],m=d.startTime;if(m>f)break;var R=d.transferSize,D=d.initiatorType;R&&Nv(D)&&(d=d.responseEnd,r+=R*(d<f?1:(f-m)/(d-m)))}if(--a,t+=8*(i+r)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function ec(e){return e.nodeType===9?e:e.ownerDocument}function wv(e){switch(e){case Ro:return as;case gc:return uf;default:return dl}}function Tv(e,t){if(e===dl)switch(t){case"svg":return as;case"math":return uf;default:return dl}return e===as&&t==="foreignObject"?dl:e}function Ah(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function iw(){var e=window.event;return e&&e.type==="popstate"?e===hp?!1:(hp=e,!0):(hp=null,!1)}function qs(){var e=window.event;return e&&e!==Lr?e.type:null}function Ys(){var e=window.event;return e&&e!==Lr?e.timeStamp:-1.1}function ow(e){setTimeout(function(){throw e})}function sw(e,t,n){switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&e.focus();break;case"img":n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function rw(){}function uw(e,t,n,a){nw(e,t,n,a),e[tn]=a}function xv(e){ps(e,"")}function cw(e,t,n){e.nodeValue=n}function Cv(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[tn]||null;if(t!==null){var n=P(e);n!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,F(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,F(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Ul(e){return e==="head"}function fw(e,t){e.removeChild(t)}function dw(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Rv(e,t){var n=t,a=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n===Hr||n===rf){if(a===0){e.removeChild(l),Eo(t);return}a--}else if(n===jr||n===ti||n===Zi||n===ns||n===Qi)a++;else if(n===vx)$s(e.ownerDocument.documentElement);else if(n===Ex){n=e.ownerDocument.head,$s(n);for(var i=n.firstChild;i;){var r=i.nextSibling,f=i.nodeName;i[Ks]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&i.rel.toLowerCase()==="stylesheet"||n.removeChild(i),i=r}}else n===Sx&&$s(e.ownerDocument.body);n=l}while(n);Eo(t)}function Dv(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n===Hr){if(e===0)break;e--}else n!==jr&&n!==ti&&n!==Zi&&n!==ns||e++;n=a}while(n)}function hw(e){Dv(e,!0)}function mw(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function pw(e){e.nodeValue=""}function yw(e){Dv(e,!1)}function gw(e,t){t=t[Nx],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function bw(e,t){e.nodeValue=t}function Oh(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Oh(n),A(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function vw(e,t,n,a){for(;e.nodeType===1;){var l=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Ks])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){Ke(l.name,"name");var i=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Nn(e.nextSibling),e===null)break}return null}function Sw(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Nn(e.nextSibling),e===null))return null;return e}function _v(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Nn(e.nextSibling),e===null))return null;return e}function Uh(e){return e.data===ti||e.data===Zi}function Mh(e){return e.data===ns||e.data===ti&&e.ownerDocument.readyState!==b1}function Ew(e,t){var n=e.ownerDocument;if(e.data===Zi)e._reactRetry=t;else if(e.data!==ti||n.readyState!==b1)t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Nn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===jr||t===ns||t===ti||t===Zi||t===Qi||t===cp||t===g1)break;if(t===Hr||t===rf)return null}}return e}function Av(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},a=e.attributes,l=0;l<a.length;l++){var i=a[l];n[gv(i.name)]=i.name.toLowerCase()==="style"?Rh(e):i.value}return{type:t,props:n}}return e.nodeType===8?e.data===Qi?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function Ov(e,t,n){return n===null||n[bx]!==!0?(e.nodeValue===t?e=null:(t=Ol(t),e=Ol(e.nodeValue)===t?null:e.nodeValue),e):null}function zh(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===Hr||n===rf){if(t===0)return Nn(e.nextSibling);t--}else n!==jr&&n!==ns&&n!==ti&&n!==Zi&&n!==Qi||t++}e=e.nextSibling}return null}function Uv(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===jr||n===ns||n===ti||n===Zi||n===Qi){if(t===0)return e;t--}else n!==Hr&&n!==rf||t++}e=e.previousSibling}return null}function Nw(e){Eo(e)}function ww(e){Eo(e)}function Tw(e){Eo(e)}function Mv(e,t,n,a,l){switch(l&&Gf(e,a.ancestorInfo),t=ec(n),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function xw(e,t,n,a){if(!n[Hl]&&P(n)){var l=n.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",l,l,l)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(l=n.attributes;l.length;)n.removeAttributeNode(l[0]);Yt(n,e,t),n[$t]=a,n[tn]=t}function $s(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);A(e)}function tc(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function zv(e,t,n){var a=ls;if(a&&typeof t=="string"&&t){var l=Mn(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof n=="string"&&(l+='[crossorigin="'+n+'"]'),T1.has(l)||(T1.add(l),e={rel:e,crossOrigin:n,href:t},a.querySelector(l)===null&&(t=a.createElement("link"),Yt(t,"link",e),he(t),a.head.appendChild(t)))}}function jv(e,t,n,a){var l=(l=zl.current)?tc(l):null;if(!l)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=vo(n.href),t=Ce(l).hoistableStyles,a=t.get(n),a||(a={type:"style",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=vo(n.href);var i=Ce(l).hoistableStyles,r=i.get(e);if(!r&&(l=l.ownerDocument||l,r={type:"stylesheet",instance:null,count:0,state:{loading:Ii,preload:null}},i.set(e,r),(i=l.querySelector(Gs(e)))&&!i._p&&(r.instance=i,r.state.loading=Vr|Qn),!Zn.has(e))){var f={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};Zn.set(e,f),i||Cw(l,e,f,r.state)}if(t&&a===null)throw n=`
222
+
223
+ - `+nc(t)+`
224
+ + `+nc(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return r}if(t&&a!==null)throw n=`
225
+
226
+ - `+nc(t)+`
227
+ + `+nc(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=So(n),t=Ce(l).hoistableScripts,a=t.get(n),a||(a={type:"script",instance:null,count:0,state:null},t.set(n,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function nc(e){var t=0,n="<link";return typeof e.rel=="string"?(t++,n+=' rel="'+e.rel+'"'):ta.call(e,"rel")&&(t++,n+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,n+=' href="'+e.href+'"'):ta.call(e,"href")&&(t++,n+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,n+=' precedence="'+e.precedence+'"'):ta.call(e,"precedence")&&(t++,n+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(n+=" ..."),n+" />"}function vo(e){return'href="'+Mn(e)+'"'}function Gs(e){return'link[rel="stylesheet"]['+e+"]"}function Hv(e){return je({},e,{"data-precedence":e.precedence,precedence:null})}function Cw(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=Vr:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=Vr}),t.addEventListener("error",function(){return a.loading|=N1}),Yt(t,"link",n),he(t),e.head.appendChild(t))}function So(e){return'[src="'+Mn(e)+'"]'}function Xs(e){return"script[async]"+e}function Lv(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Mn(n.href)+'"]');if(a)return t.instance=a,he(a),a;var l=je({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),he(a),Yt(a,"style",l),ac(a,n.precedence,e),t.instance=a;case"stylesheet":l=vo(n.href);var i=e.querySelector(Gs(l));if(i)return t.state.loading|=Qn,t.instance=i,he(i),i;a=Hv(n),(l=Zn.get(l))&&jh(a,l),i=(e.ownerDocument||e).createElement("link"),he(i);var r=i;return r._p=new Promise(function(f,d){r.onload=f,r.onerror=d}),Yt(i,"link",a),t.state.loading|=Qn,ac(i,n.precedence,e),t.instance=i;case"script":return i=So(n.src),(l=e.querySelector(Xs(i)))?(t.instance=l,he(l),l):(a=n,(l=Zn.get(i))&&(a=je({},n),Hh(a,l)),e=e.ownerDocument||e,l=e.createElement("script"),he(l),Yt(l,"link",a),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&Qn)===Ii&&(a=t.instance,t.state.loading|=Qn,ac(a,n.precedence,e));return t.instance}function ac(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=a.length?a[a.length-1]:null,i=l,r=0;r<a.length;r++){var f=a[r];if(f.dataset.precedence===t)i=f;else if(i!==l)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function jh(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Hh(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Vv(e,t,n){if(cf===null){var a=new Map,l=cf=new Map;l.set(n,a)}else l=cf,a=l.get(n),a||(a=new Map,l.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),l=0;l<n.length;l++){var i=n[l];if(!(i[Ks]||i[$t]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!==Ro){var r=i.getAttribute(t)||"";r=e+r;var f=a.get(r);f?f.push(i):a.set(r,[i])}}return a}function Bv(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function Rw(e,t,n){var a=!n.ancestorInfo.containerTagInScope;if(n.context===as||t.itemProp!=null)return!a||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){a&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var l=t.onError,i=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),l&&n.push("`onError`"),i!=null&&n.push("`disabled`"),l=aw(n,"and"),l+=n.length===1?" prop":" props",i=n.length===1?"an "+l:"the "+l,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,i,l)}a&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&a&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){a&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":a&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function kv(e){return!(e.type==="stylesheet"&&(e.state.loading&w1)===Ii)}function Dw(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&Qn)===Ii){if(n.instance===null){var l=vo(a.href),i=t.querySelector(Gs(l));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=lc.bind(e),t.then(e,e)),n.state.loading|=Qn,n.instance=i,he(i);return}i=t.ownerDocument||t,a=Hv(a),(l=Zn.get(l))&&jh(a,l),i=i.createElement("link"),he(i);var r=i;r._p=new Promise(function(f,d){r.onload=f,r.onerror=d}),Yt(i,"link",a),n.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&w1)===Ii&&(e.count++,n=lc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}function _w(e,t){return e.stylesheets&&e.count===0&&ic(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&ic(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},xx+t);0<e.imgBytes&&pp===0&&(pp=125*lw()*Rx);var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&ic(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>pp?50:Cx)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(l)}}:null}function lc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ic(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function ic(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ff=new Map,t.forEach(Aw,e),ff=null,lc.call(e))}function Aw(e,t){if(!(t.state.loading&Qn)){var n=ff.get(e);if(n)var a=n.get(yp);else{n=new Map,ff.set(e,n);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<l.length;i++){var r=l[i];(r.nodeName==="LINK"||r.getAttribute("media")!=="not all")&&(n.set(r.dataset.precedence,r),a=r)}a&&n.set(yp,a)}l=t.instance,r=l.getAttribute("data-precedence"),i=n.get(r)||a,i===a&&n.set(yp,l),n.set(r,l),this.count++,a=lc.bind(this),l.addEventListener("load",a),l.addEventListener("error",a),i?i.parentNode.insertBefore(l,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=Qn}}function Ow(e,t,n,a,l,i,r,f,d){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Ji,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=cs(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cs(0),this.hiddenUpdates=cs(null),this.identifierPrefix=a,this.onUncaughtError=l,this.onCaughtError=i,this.onRecoverableError=r,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=d,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?"hydrateRoot()":"createRoot()"}function qv(e,t,n,a,l,i,r,f,d,m,R,D){return e=new Ow(e,t,n,r,d,m,R,D,f),t=FT,i===!0&&(t|=Jt|na),t|=_e,i=v(3,null,null,t),e.current=i,i.stateNode=e,t=cd(),Si(t),e.pooledCache=t,Si(t),i.memoizedState={element:a,isDehydrated:n,cache:t},pd(i),e}function Yv(e){return e?(e=kl,e):kl}function Lh(e,t,n,a,l,i){if(Zt&&typeof Zt.onScheduleFiberRoot=="function")try{Zt.onScheduleFiberRoot(xo,a,n)}catch(r){Oa||(Oa=!0,console.error("React instrumentation encountered an error: %o",r))}l=Yv(l),a.context===null?a.context=l:a.pendingContext=l,Aa&&Tn!==null&&!D1&&(D1=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
228
+
229
+ Check the render method of %s.`,I(Tn)||"Unknown")),a=xl(t),a.payload={element:n},i=i===void 0?null:i,i!==null&&(typeof i!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",i),a.callback=i),n=Cl(e,a,t),n!==null&&(pa(t,"root.render()",null),pt(n,e,t),xs(n,e,t))}function $v(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Vh(e,t){$v(e,t),(e=e.alternate)&&$v(e,t)}function Gv(e){if(e.tag===13||e.tag===31){var t=Qt(e,67108864);t!==null&&pt(t,e,67108864),Vh(e,67108864)}}function Xv(e){if(e.tag===13||e.tag===31){var t=En(e);t=vl(t);var n=Qt(e,t);n!==null&&pt(n,e,t),Vh(e,t)}}function Uw(){return Tn}function Mw(e,t,n,a){var l=L.T;L.T=null;var i=Ie.p;try{Ie.p=jn,Bh(e,t,n,a)}finally{Ie.p=i,L.T=l}}function zw(e,t,n,a){var l=L.T;L.T=null;var i=Ie.p;try{Ie.p=Ma,Bh(e,t,n,a)}finally{Ie.p=i,L.T=l}}function Bh(e,t,n,a){if(hf){var l=kh(a);if(l===null)Th(e,t,a,mf,n),Zv(e,a);else if(jw(l,e,t,n,a))a.stopPropagation();else if(Zv(e,a),t&4&&-1<_x.indexOf(e)){for(;l!==null;){var i=P(l);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var r=ca(i.pendingLanes);if(r!==0){var f=i;for(f.pendingLanes|=2,f.entangledLanes|=2;r;){var d=1<<31-en(r);f.entanglements[1]|=d,r&=~d}Ca(i),(Ge&(Ut|Dn))===Vt&&(Ic=jt()+n1,Bs(0))}}break;case 31:case 13:f=Qt(i,2),f!==null&&pt(f,i,2),yo(),Vh(i,2)}if(i=kh(a),i===null&&Th(e,t,a,mf,n),i===l)break;l=i}l!==null&&a.stopPropagation()}else Th(e,t,a,null,n)}}function kh(e){return e=Xf(e),qh(e)}function qh(e){if(mf=null,e=J(e),e!==null){var t=Q(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=X(t),e!==null)return e;e=null}else if(n===31){if(e=oe(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return mf=e,null}function Qv(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return jn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Ma;case"message":switch(Xw()){case tm:return jn;case nm:return Ma;case To:case Qw:return Pa;case am:return pc;default:return Pa}default:return Pa}}function Zv(e,t){switch(e){case"focusin":case"focusout":ni=null;break;case"dragenter":case"dragleave":ai=null;break;case"mouseover":case"mouseout":li=null;break;case"pointerover":case"pointerout":kr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":qr.delete(t.pointerId)}}function Qs(e,t,n,a,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:i,targetContainers:[l]},t!==null&&(t=P(t),t!==null&&Gv(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function jw(e,t,n,a,l){switch(t){case"focusin":return ni=Qs(ni,e,t,n,a,l),!0;case"dragenter":return ai=Qs(ai,e,t,n,a,l),!0;case"mouseover":return li=Qs(li,e,t,n,a,l),!0;case"pointerover":var i=l.pointerId;return kr.set(i,Qs(kr.get(i)||null,e,t,n,a,l)),!0;case"gotpointercapture":return i=l.pointerId,qr.set(i,Qs(qr.get(i)||null,e,t,n,a,l)),!0}return!1}function Jv(e){var t=J(e.target);if(t!==null){var n=Q(t);if(n!==null){if(t=n.tag,t===13){if(t=X(n),t!==null){e.blockedOn=t,p(e.priority,function(){Xv(n)});return}}else if(t===31){if(t=oe(n),t!==null){e.blockedOn=t,p(e.priority,function(){Xv(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function oc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=kh(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n),l=a;Fs!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Fs=l,n.target.dispatchEvent(a),Fs===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Fs=null}else return t=P(n),t!==null&&Gv(t),e.blockedOn=n,!1;t.shift()}return!0}function Iv(e,t,n){oc(e)&&n.delete(t)}function Hw(){gp=!1,ni!==null&&oc(ni)&&(ni=null),ai!==null&&oc(ai)&&(ai=null),li!==null&&oc(li)&&(li=null),kr.forEach(Iv),qr.forEach(Iv)}function sc(e,t){e.blockedOn===t&&(e.blockedOn=null,gp||(gp=!0,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,Hw)))}function Kv(e){pf!==e&&(pf=e,Et.unstable_scheduleCallback(Et.unstable_NormalPriority,function(){pf===e&&(pf=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],l=e[t+2];if(typeof a!="function"){if(qh(a||n)===null)continue;break}var i=P(n);i!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:l,method:n.method,action:a},Object.freeze(n),qd(i,n,a,l))}}))}function Eo(e){function t(d){return sc(d,e)}ni!==null&&sc(ni,e),ai!==null&&sc(ai,e),li!==null&&sc(li,e),kr.forEach(t),qr.forEach(t);for(var n=0;n<ii.length;n++){var a=ii[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ii.length&&(n=ii[0],n.blockedOn===null);)Jv(n),n.blockedOn===null&&ii.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var l=n[a],i=n[a+1],r=l[tn]||null;if(typeof i=="function")r||Kv(n);else if(r){var f=null;if(i&&i.hasAttribute("formAction")){if(l=i,r=i[tn]||null)f=r.formAction;else if(qh(l)!==null)continue}else f=r.action;typeof f=="function"?n[a+1]=f:(n.splice(a,3),a-=3),Kv(n)}}}function Fv(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(r){return l=r})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function Yh(e){this._internalRoot=e}function rc(e){this._internalRoot=e}function Pv(e){e[Hl]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Et=Vx(),$h=Uf(),Lw=SE(),je=Object.assign,Vw=Symbol.for("react.element"),Da=Symbol.for("react.transitional.element"),No=Symbol.for("react.portal"),wo=Symbol.for("react.fragment"),uc=Symbol.for("react.strict_mode"),Gh=Symbol.for("react.profiler"),Xh=Symbol.for("react.consumer"),_a=Symbol.for("react.context"),Zs=Symbol.for("react.forward_ref"),Qh=Symbol.for("react.suspense"),Zh=Symbol.for("react.suspense_list"),cc=Symbol.for("react.memo"),wn=Symbol.for("react.lazy"),Jh=Symbol.for("react.activity"),Bw=Symbol.for("react.memo_cache_sentinel"),Wv=Symbol.iterator,kw=Symbol.for("react.client.reference"),At=Array.isArray,L=$h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ie=Lw.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,qw=Object.freeze({pending:!1,data:null,method:null,action:null}),Ih=[],Kh=[],Fa=-1,Ml=be(null),Js=be(null),zl=be(null),fc=be(null),Is=0,e0,t0,n0,a0,l0,i0,o0;le.__reactDisabledLog=!0;var Fh,s0,Ph=!1,Wh=new(typeof WeakMap=="function"?WeakMap:Map),Tn=null,Aa=!1,ta=Object.prototype.hasOwnProperty,em=Et.unstable_scheduleCallback,Yw=Et.unstable_cancelCallback,$w=Et.unstable_shouldYield,Gw=Et.unstable_requestPaint,jt=Et.unstable_now,Xw=Et.unstable_getCurrentPriorityLevel,tm=Et.unstable_ImmediatePriority,nm=Et.unstable_UserBlockingPriority,To=Et.unstable_NormalPriority,Qw=Et.unstable_LowPriority,am=Et.unstable_IdlePriority,Zw=Et.log,Jw=Et.unstable_setDisableYieldValue,xo=null,Zt=null,Oa=!1,Ua=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",en=Math.clz32?Math.clz32:Wi,Iw=Math.log,Kw=Math.LN2,dc=256,hc=262144,mc=4194304,jn=2,Ma=8,Pa=32,pc=268435456,jl=Math.random().toString(36).slice(2),$t="__reactFiber$"+jl,tn="__reactProps$"+jl,Hl="__reactContainer$"+jl,lm="__reactEvents$"+jl,Fw="__reactListeners$"+jl,Pw="__reactHandles$"+jl,r0="__reactResources$"+jl,Ks="__reactMarker$"+jl,u0=new Set,Ri={},im={},Ww={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},eT=RegExp("^[: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]*$"),c0={},f0={},tT=/[\n"\\]/g,d0=!1,h0=!1,m0=!1,p0=!1,y0=!1,g0=!1,b0=["value","defaultValue"],v0=!1,S0=/["'&<>\n\t]|^\s|\s$/,nT="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),E0="applet caption html table td th marquee object template foreignObject desc title".split(" "),aT=E0.concat(["button"]),lT="dd dt li option optgroup p rp rt".split(" "),N0={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},yc={},om={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},w0=/([A-Z])/g,T0=/^ms-/,iT=/^(?:webkit|moz|o)[A-Z]/,oT=/^-ms-/,sT=/-(.)/g,x0=/;\s*$/,Co={},sm={},C0=!1,R0=!1,D0=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),gc="http://www.w3.org/1998/Math/MathML",Ro="http://www.w3.org/2000/svg",rT=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),bc={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},_0={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Do={},uT=RegExp("^(aria)-[: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]*$"),cT=RegExp("^(aria)[A-Z][: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]*$"),A0=!1,nn={},O0=/^on./,fT=/^on[^A-Z]/,dT=RegExp("^(aria)-[: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]*$"),hT=RegExp("^(aria)[A-Z][: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]*$"),mT=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Fs=null,_o=null,Ao=null,rm=!1,za=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),um=!1;if(za)try{var Ps={};Object.defineProperty(Ps,"passive",{get:function(){um=!0}}),window.addEventListener("test",Ps,Ps),window.removeEventListener("test",Ps,Ps)}catch{um=!1}var Ll=null,cm=null,vc=null,Di={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Sc=un(Di),Ws=je({},Di,{view:0,detail:0}),pT=un(Ws),fm,dm,er,Ec=je({},Ws,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==er&&(er&&e.type==="mousemove"?(fm=e.screenX-er.screenX,dm=e.screenY-er.screenY):dm=fm=0,er=e),fm)},movementY:function(e){return"movementY"in e?e.movementY:dm}}),U0=un(Ec),yT=je({},Ec,{dataTransfer:0}),gT=un(yT),bT=je({},Ws,{relatedTarget:0}),hm=un(bT),vT=je({},Di,{animationName:0,elapsedTime:0,pseudoElement:0}),ST=un(vT),ET=je({},Di,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),NT=un(ET),wT=je({},Di,{data:0}),M0=un(wT),TT=M0,xT={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},CT={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},RT={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},DT=je({},Ws,{key:function(e){if(e.key){var t=xT[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ou(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?CT[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qf,charCode:function(e){return e.type==="keypress"?ou(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ou(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_T=un(DT),AT=je({},Ec,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),z0=un(AT),OT=je({},Ws,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qf}),UT=un(OT),MT=je({},Di,{propertyName:0,elapsedTime:0,pseudoElement:0}),zT=un(MT),jT=je({},Ec,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),HT=un(jT),LT=je({},Di,{newState:0,oldState:0}),VT=un(LT),BT=[9,13,27,32],j0=229,mm=za&&"CompositionEvent"in window,tr=null;za&&"documentMode"in document&&(tr=document.documentMode);var kT=za&&"TextEvent"in window&&!tr,H0=za&&(!mm||tr&&8<tr&&11>=tr),L0=32,V0=String.fromCharCode(L0),B0=!1,Oo=!1,qT={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},nr=null,ar=null,k0=!1;za&&(k0=sN("input")&&(!document.documentMode||9<document.documentMode));var an=typeof Object.is=="function"?Object.is:hN,YT=za&&"documentMode"in document&&11>=document.documentMode,Uo=null,pm=null,lr=null,ym=!1,Mo={animationend:hi("Animation","AnimationEnd"),animationiteration:hi("Animation","AnimationIteration"),animationstart:hi("Animation","AnimationStart"),transitionrun:hi("Transition","TransitionRun"),transitionstart:hi("Transition","TransitionStart"),transitioncancel:hi("Transition","TransitionCancel"),transitionend:hi("Transition","TransitionEnd")},gm={},q0={};za&&(q0=document.createElement("div").style,"AnimationEvent"in window||(delete Mo.animationend.animation,delete Mo.animationiteration.animation,delete Mo.animationstart.animation),"TransitionEvent"in window||delete Mo.transitionend.transition);var Y0=mi("animationend"),$0=mi("animationiteration"),G0=mi("animationstart"),$T=mi("transitionrun"),GT=mi("transitionstart"),XT=mi("transitioncancel"),X0=mi("transitionend"),Q0=new Map,bm="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");bm.push("scrollEnd");var Z0=0;if(typeof performance=="object"&&typeof performance.now=="function")var QT=performance,J0=function(){return QT.now()};else{var ZT=Date;J0=function(){return ZT.now()}}var vm=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},JT="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",Nc=0,Sm=1,Em=2,Nm=3,wc="– ",Tc="+ ",I0="  ",ot=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Hn="Components ⚛",Ve="Scheduler ⚛",qe="Blocking",Vl=!1,Wa={color:"primary",properties:null,tooltipText:"",track:Hn},Bl={start:-0,end:-0,detail:{devtools:Wa}},IT=["Changed Props",""],K0="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",KT=["Changed Props",K0],ir=1,el=2,Ln=[],zo=0,wm=0,kl={};Object.freeze(kl);var Vn=null,jo=null,Ee=0,FT=1,_e=2,Jt=8,na=16,PT=32,F0=!1;try{var P0=Object.preventExtensions({})}catch{F0=!0}var Tm=new WeakMap,Ho=[],Lo=0,xc=null,or=0,Bn=[],kn=0,_i=null,tl=1,nl="",Gt=null,st=null,He=!1,ja=!1,xn=null,ql=null,qn=!1,xm=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Cm=be(null),Rm=be(null),W0={},Cc=null,Vo=null,Bo=!1,WT=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ex=Et.unstable_scheduleCallback,tx=Et.unstable_NormalPriority,Nt={$$typeof:_a,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},wt=Et.unstable_now,Rc=console.createTask?console.createTask:function(){return null},sr=1,Dc=2,Ht=-0,Yl=-0,al=-0,ll=null,ln=-1.1,Ai=-0,dt=-0,ye=-1.1,Se=-1.1,ct=null,yt=!1,Oi=-0,Ha=-1.1,rr=null,$l=0,Dm=null,_m=null,Ui=-1.1,ur=null,ko=-1.1,_c=-1.1,il=-0,ol=-1.1,Yn=-1.1,Am=0,cr=null,eS=null,tS=null,Gl=-1.1,Mi=null,Xl=-1.1,Ac=-1.1,nS=-0,aS=-0,Oc=0,nx=null,lS=0,fr=-1.1,Uc=!1,Mc=!1,dr=null,Om=0,zi=0,qo=null,iS=L.S;L.S=function(e,t){if(e1=jt(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>ol&&0>Yn){ol=wt();var n=Ys(),a=qs();(n!==Xl||a!==Mi)&&(Xl=-1.1),Gl=n,Mi=a}SN(e,t)}iS!==null&&iS(e,t)};var ji=be(null),aa={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},hr=[],mr=[],pr=[],yr=[],gr=[],br=[],Hi=new Set;aa.recordUnsafeLifecycleWarnings=function(e,t){Hi.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&hr.push(e),e.mode&Jt&&typeof t.UNSAFE_componentWillMount=="function"&&mr.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&pr.push(e),e.mode&Jt&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&yr.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&gr.push(e),e.mode&Jt&&typeof t.UNSAFE_componentWillUpdate=="function"&&br.push(e))},aa.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<hr.length&&(hr.forEach(function(f){e.add(I(f)||"Component"),Hi.add(f.type)}),hr=[]);var t=new Set;0<mr.length&&(mr.forEach(function(f){t.add(I(f)||"Component"),Hi.add(f.type)}),mr=[]);var n=new Set;0<pr.length&&(pr.forEach(function(f){n.add(I(f)||"Component"),Hi.add(f.type)}),pr=[]);var a=new Set;0<yr.length&&(yr.forEach(function(f){a.add(I(f)||"Component"),Hi.add(f.type)}),yr=[]);var l=new Set;0<gr.length&&(gr.forEach(function(f){l.add(I(f)||"Component"),Hi.add(f.type)}),gr=[]);var i=new Set;if(0<br.length&&(br.forEach(function(f){i.add(I(f)||"Component"),Hi.add(f.type)}),br=[]),0<t.size){var r=b(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
230
+
231
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
232
+
233
+ Please update the following components: %s`,r)}0<a.size&&(r=b(a),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
234
+
235
+ * Move data fetching code or side effects to componentDidUpdate.
236
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
237
+
238
+ Please update the following components: %s`,r)),0<i.size&&(r=b(i),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
239
+
240
+ * Move data fetching code or side effects to componentDidUpdate.
241
+
242
+ Please update the following components: %s`,r)),0<e.size&&(r=b(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
243
+
244
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
245
+ * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
246
+
247
+ Please update the following components: %s`,r)),0<n.size&&(r=b(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
248
+
249
+ * Move data fetching code or side effects to componentDidUpdate.
250
+ * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
251
+ * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
252
+
253
+ Please update the following components: %s`,r)),0<l.size&&(r=b(l),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
254
+
255
+ * Move data fetching code or side effects to componentDidUpdate.
256
+ * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
257
+
258
+ Please update the following components: %s`,r))};var zc=new Map,oS=new Set;aa.recordLegacyContextWarning=function(e,t){for(var n=null,a=e;a!==null;)a.mode&Jt&&(n=a),a=a.return;n===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!oS.has(e.type)&&(a=zc.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(a===void 0&&(a=[],zc.set(n,a)),a.push(e))},aa.flushLegacyContextWarning=function(){zc.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(l){n.add(I(l)||"Component"),oS.add(l.type)});var a=b(n);F(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
259
+
260
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
261
+
262
+ Please update the following components: %s
263
+
264
+ Learn more about this warning here: https://react.dev/link/legacy-context`,a)})}})},aa.discardPendingWarnings=function(){hr=[],mr=[],pr=[],yr=[],gr=[],br=[],zc=new Map};var sS={react_stack_bottom_frame:function(e,t,n){var a=Aa;Aa=!0;try{return e(t,n)}finally{Aa=a}}},Um=sS.react_stack_bottom_frame.bind(sS),rS={react_stack_bottom_frame:function(e){var t=Aa;Aa=!0;try{return e.render()}finally{Aa=t}}},uS=rS.react_stack_bottom_frame.bind(rS),cS={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(n){Je(e,e.return,n)}}},Mm=cS.react_stack_bottom_frame.bind(cS),fS={react_stack_bottom_frame:function(e,t,n,a,l){try{t.componentDidUpdate(n,a,l)}catch(i){Je(e,e.return,i)}}},dS=fS.react_stack_bottom_frame.bind(fS),hS={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n!==null?n:""})}},ax=hS.react_stack_bottom_frame.bind(hS),mS={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(a){Je(e,t,a)}}},pS=mS.react_stack_bottom_frame.bind(mS),yS={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},lx=yS.react_stack_bottom_frame.bind(yS),gS={react_stack_bottom_frame:function(e,t,n){try{n()}catch(a){Je(e,t,a)}}},ix=gS.react_stack_bottom_frame.bind(gS),bS={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},ox=bS.react_stack_bottom_frame.bind(bS),Yo=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),zm=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),jc=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),Hc={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Li=null,vr=!1,$o=null,Sr=0,Ae=null,jm,vS=jm=!1,SS={},ES={},NS={};U=function(e,t,n){if(n!==null&&typeof n=="object"&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");n._store.validated=1;var a=I(e),l=a||"null";if(!SS[l]){SS[l]=!0,n=n._owner,e=e._debugOwner;var i="";e&&typeof e.tag=="number"&&(l=I(e))&&(i=`
265
+
266
+ Check the render method of \``+l+"`."),i||a&&(i=`
267
+
268
+ Check the top-level render call using <`+a+">.");var r="";n!=null&&e!==n&&(a=null,typeof n.tag=="number"?a=I(n):typeof n.name=="string"&&(a=n.name),a&&(r=" It was passed a child from "+a+".")),F(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',i,r)})}}};var Vi=mg(!0),wS=mg(!1),TS=0,xS=1,CS=2,Hm=3,Ql=!1,RS=!1,Lm=null,Vm=!1,Go=be(null),Lc=be(0),Cn=be(null),$n=null,Xo=1,Er=2,vt=be(0),Vc=0,Gn=1,on=2,Rn=4,sn=8,Qo,DS=new Set,_S=new Set,Bm=new Set,AS=new Set,sl=0,Ne=null,tt=null,Tt=null,Bc=!1,Zo=!1,Bi=!1,kc=0,Nr=0,rl=null,sx=0,rx=25,j=null,Xn=null,ul=-1,wr=!1,Tr={readContext:ut,use:_l,useCallback:gt,useContext:gt,useEffect:gt,useImperativeHandle:gt,useLayoutEffect:gt,useInsertionEffect:gt,useMemo:gt,useReducer:gt,useRef:gt,useState:gt,useDebugValue:gt,useDeferredValue:gt,useTransition:gt,useSyncExternalStore:gt,useId:gt,useHostTransitionStatus:gt,useFormState:gt,useActionState:gt,useOptimistic:gt,useMemoCache:gt,useCacheRefresh:gt};Tr.useEffectEvent=gt;var km=null,OS=null,qm=null,US=null,La=null,la=null,qc=null;km={readContext:function(e){return ut(e)},use:_l,useCallback:function(e,t){return j="useCallback",ze(),ro(t),Ld(e,t)},useContext:function(e){return j="useContext",ze(),ut(e)},useEffect:function(e,t){return j="useEffect",ze(),ro(t),zu(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",ze(),ro(n),Hd(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",ze(),ro(t),Ni(4,on,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",ze(),ro(t),jd(e,t)},useMemo:function(e,t){j="useMemo",ze(),ro(t);var n=L.H;L.H=La;try{return Vd(e,t)}finally{L.H=n}},useReducer:function(e,t,n){j="useReducer",ze();var a=L.H;L.H=La;try{return Cd(e,t,n)}finally{L.H=a}},useRef:function(e){return j="useRef",ze(),Md(e)},useState:function(e){j="useState",ze();var t=L.H;L.H=La;try{return Ad(e)}finally{L.H=t}},useDebugValue:function(){j="useDebugValue",ze()},useDeferredValue:function(e,t){return j="useDeferredValue",ze(),Bd(e,t)},useTransition:function(){return j="useTransition",ze(),Yd()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",ze(),Dd(e,t,n)},useId:function(){return j="useId",ze(),$d()},useFormState:function(e,t){return j="useFormState",ze(),_u(),co(e,t)},useActionState:function(e,t){return j="useActionState",ze(),co(e,t)},useOptimistic:function(e){return j="useOptimistic",ze(),Od(e)},useHostTransitionStatus:wi,useMemoCache:Ei,useCacheRefresh:function(){return j="useCacheRefresh",ze(),Gd()},useEffectEvent:function(e){return j="useEffectEvent",ze(),zd(e)}},OS={readContext:function(e){return ut(e)},use:_l,useCallback:function(e,t){return j="useCallback",Z(),Ld(e,t)},useContext:function(e){return j="useContext",Z(),ut(e)},useEffect:function(e,t){return j="useEffect",Z(),zu(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Z(),Hd(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",Z(),Ni(4,on,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Z(),jd(e,t)},useMemo:function(e,t){j="useMemo",Z();var n=L.H;L.H=La;try{return Vd(e,t)}finally{L.H=n}},useReducer:function(e,t,n){j="useReducer",Z();var a=L.H;L.H=La;try{return Cd(e,t,n)}finally{L.H=a}},useRef:function(e){return j="useRef",Z(),Md(e)},useState:function(e){j="useState",Z();var t=L.H;L.H=La;try{return Ad(e)}finally{L.H=t}},useDebugValue:function(){j="useDebugValue",Z()},useDeferredValue:function(e,t){return j="useDeferredValue",Z(),Bd(e,t)},useTransition:function(){return j="useTransition",Z(),Yd()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Z(),Dd(e,t,n)},useId:function(){return j="useId",Z(),$d()},useActionState:function(e,t){return j="useActionState",Z(),co(e,t)},useFormState:function(e,t){return j="useFormState",Z(),_u(),co(e,t)},useOptimistic:function(e){return j="useOptimistic",Z(),Od(e)},useHostTransitionStatus:wi,useMemoCache:Ei,useCacheRefresh:function(){return j="useCacheRefresh",Z(),Gd()},useEffectEvent:function(e){return j="useEffectEvent",Z(),zd(e)}},qm={readContext:function(e){return ut(e)},use:_l,useCallback:function(e,t){return j="useCallback",Z(),Lu(e,t)},useContext:function(e){return j="useContext",Z(),ut(e)},useEffect:function(e,t){j="useEffect",Z(),cn(2048,sn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Z(),Hu(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",Z(),cn(4,on,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Z(),cn(4,Rn,e,t)},useMemo:function(e,t){j="useMemo",Z();var n=L.H;L.H=la;try{return Vu(e,t)}finally{L.H=n}},useReducer:function(e,t,n){j="useReducer",Z();var a=L.H;L.H=la;try{return uo(e,t,n)}finally{L.H=a}},useRef:function(){return j="useRef",Z(),Fe().memoizedState},useState:function(){j="useState",Z();var e=L.H;L.H=la;try{return uo(Wn)}finally{L.H=e}},useDebugValue:function(){j="useDebugValue",Z()},useDeferredValue:function(e,t){return j="useDeferredValue",Z(),Hg(e,t)},useTransition:function(){return j="useTransition",Z(),Yg()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Z(),Ou(e,t,n)},useId:function(){return j="useId",Z(),Fe().memoizedState},useFormState:function(e){return j="useFormState",Z(),_u(),Uu(e)},useActionState:function(e){return j="useActionState",Z(),Uu(e)},useOptimistic:function(e,t){return j="useOptimistic",Z(),Cg(e,t)},useHostTransitionStatus:wi,useMemoCache:Ei,useCacheRefresh:function(){return j="useCacheRefresh",Z(),Fe().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",Z(),ju(e)}},US={readContext:function(e){return ut(e)},use:_l,useCallback:function(e,t){return j="useCallback",Z(),Lu(e,t)},useContext:function(e){return j="useContext",Z(),ut(e)},useEffect:function(e,t){j="useEffect",Z(),cn(2048,sn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",Z(),Hu(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",Z(),cn(4,on,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",Z(),cn(4,Rn,e,t)},useMemo:function(e,t){j="useMemo",Z();var n=L.H;L.H=qc;try{return Vu(e,t)}finally{L.H=n}},useReducer:function(e,t,n){j="useReducer",Z();var a=L.H;L.H=qc;try{return _s(e,t,n)}finally{L.H=a}},useRef:function(){return j="useRef",Z(),Fe().memoizedState},useState:function(){j="useState",Z();var e=L.H;L.H=qc;try{return _s(Wn)}finally{L.H=e}},useDebugValue:function(){j="useDebugValue",Z()},useDeferredValue:function(e,t){return j="useDeferredValue",Z(),Lg(e,t)},useTransition:function(){return j="useTransition",Z(),$g()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",Z(),Ou(e,t,n)},useId:function(){return j="useId",Z(),Fe().memoizedState},useFormState:function(e){return j="useFormState",Z(),_u(),Mu(e)},useActionState:function(e){return j="useActionState",Z(),Mu(e)},useOptimistic:function(e,t){return j="useOptimistic",Z(),Dg(e,t)},useHostTransitionStatus:wi,useMemoCache:Ei,useCacheRefresh:function(){return j="useCacheRefresh",Z(),Fe().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",Z(),ju(e)}},La={readContext:function(e){return x(),ut(e)},use:function(e){return g(),_l(e)},useCallback:function(e,t){return j="useCallback",g(),ze(),Ld(e,t)},useContext:function(e){return j="useContext",g(),ze(),ut(e)},useEffect:function(e,t){return j="useEffect",g(),ze(),zu(e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),ze(),Hd(e,t,n)},useInsertionEffect:function(e,t){j="useInsertionEffect",g(),ze(),Ni(4,on,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),ze(),jd(e,t)},useMemo:function(e,t){j="useMemo",g(),ze();var n=L.H;L.H=La;try{return Vd(e,t)}finally{L.H=n}},useReducer:function(e,t,n){j="useReducer",g(),ze();var a=L.H;L.H=La;try{return Cd(e,t,n)}finally{L.H=a}},useRef:function(e){return j="useRef",g(),ze(),Md(e)},useState:function(e){j="useState",g(),ze();var t=L.H;L.H=La;try{return Ad(e)}finally{L.H=t}},useDebugValue:function(){j="useDebugValue",g(),ze()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),ze(),Bd(e,t)},useTransition:function(){return j="useTransition",g(),ze(),Yd()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),ze(),Dd(e,t,n)},useId:function(){return j="useId",g(),ze(),$d()},useFormState:function(e,t){return j="useFormState",g(),ze(),co(e,t)},useActionState:function(e,t){return j="useActionState",g(),ze(),co(e,t)},useOptimistic:function(e){return j="useOptimistic",g(),ze(),Od(e)},useMemoCache:function(e){return g(),Ei(e)},useHostTransitionStatus:wi,useCacheRefresh:function(){return j="useCacheRefresh",ze(),Gd()},useEffectEvent:function(e){return j="useEffectEvent",g(),ze(),zd(e)}},la={readContext:function(e){return x(),ut(e)},use:function(e){return g(),_l(e)},useCallback:function(e,t){return j="useCallback",g(),Z(),Lu(e,t)},useContext:function(e){return j="useContext",g(),Z(),ut(e)},useEffect:function(e,t){j="useEffect",g(),Z(),cn(2048,sn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),Z(),Hu(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),Z(),cn(4,on,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),Z(),cn(4,Rn,e,t)},useMemo:function(e,t){j="useMemo",g(),Z();var n=L.H;L.H=la;try{return Vu(e,t)}finally{L.H=n}},useReducer:function(e,t,n){j="useReducer",g(),Z();var a=L.H;L.H=la;try{return uo(e,t,n)}finally{L.H=a}},useRef:function(){return j="useRef",g(),Z(),Fe().memoizedState},useState:function(){j="useState",g(),Z();var e=L.H;L.H=la;try{return uo(Wn)}finally{L.H=e}},useDebugValue:function(){j="useDebugValue",g(),Z()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),Z(),Hg(e,t)},useTransition:function(){return j="useTransition",g(),Z(),Yg()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),Z(),Ou(e,t,n)},useId:function(){return j="useId",g(),Z(),Fe().memoizedState},useFormState:function(e){return j="useFormState",g(),Z(),Uu(e)},useActionState:function(e){return j="useActionState",g(),Z(),Uu(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),Z(),Cg(e,t)},useMemoCache:function(e){return g(),Ei(e)},useHostTransitionStatus:wi,useCacheRefresh:function(){return j="useCacheRefresh",Z(),Fe().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),Z(),ju(e)}},qc={readContext:function(e){return x(),ut(e)},use:function(e){return g(),_l(e)},useCallback:function(e,t){return j="useCallback",g(),Z(),Lu(e,t)},useContext:function(e){return j="useContext",g(),Z(),ut(e)},useEffect:function(e,t){j="useEffect",g(),Z(),cn(2048,sn,e,t)},useImperativeHandle:function(e,t,n){return j="useImperativeHandle",g(),Z(),Hu(e,t,n)},useInsertionEffect:function(e,t){return j="useInsertionEffect",g(),Z(),cn(4,on,e,t)},useLayoutEffect:function(e,t){return j="useLayoutEffect",g(),Z(),cn(4,Rn,e,t)},useMemo:function(e,t){j="useMemo",g(),Z();var n=L.H;L.H=la;try{return Vu(e,t)}finally{L.H=n}},useReducer:function(e,t,n){j="useReducer",g(),Z();var a=L.H;L.H=la;try{return _s(e,t,n)}finally{L.H=a}},useRef:function(){return j="useRef",g(),Z(),Fe().memoizedState},useState:function(){j="useState",g(),Z();var e=L.H;L.H=la;try{return _s(Wn)}finally{L.H=e}},useDebugValue:function(){j="useDebugValue",g(),Z()},useDeferredValue:function(e,t){return j="useDeferredValue",g(),Z(),Lg(e,t)},useTransition:function(){return j="useTransition",g(),Z(),$g()},useSyncExternalStore:function(e,t,n){return j="useSyncExternalStore",g(),Z(),Ou(e,t,n)},useId:function(){return j="useId",g(),Z(),Fe().memoizedState},useFormState:function(e){return j="useFormState",g(),Z(),Mu(e)},useActionState:function(e){return j="useActionState",g(),Z(),Mu(e)},useOptimistic:function(e,t){return j="useOptimistic",g(),Z(),Dg(e,t)},useMemoCache:function(e){return g(),Ei(e)},useHostTransitionStatus:wi,useCacheRefresh:function(){return j="useCacheRefresh",Z(),Fe().memoizedState},useEffectEvent:function(e){return j="useEffectEvent",g(),Z(),ju(e)}};var MS={},zS=new Set,jS=new Set,HS=new Set,LS=new Set,VS=new Set,BS=new Set,kS=new Set,qS=new Set,YS=new Set,$S=new Set;Object.freeze(MS);var Ym={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=En(e),l=xl(a);l.payload=t,n!=null&&(Qd(n),l.callback=n),t=Cl(e,l,a),t!==null&&(pa(a,"this.setState()",e),pt(t,e,a),xs(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=En(e),l=xl(a);l.tag=xS,l.payload=t,n!=null&&(Qd(n),l.callback=n),t=Cl(e,l,a),t!==null&&(pa(a,"this.replaceState()",e),pt(t,e,a),xs(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=En(e),a=xl(n);a.tag=CS,t!=null&&(Qd(t),a.callback=t),t=Cl(e,a,n),t!==null&&(pa(n,"this.forceUpdate()",e),pt(t,e,n),xs(t,e,n))}},Jo=null,$m=null,Gm=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),xt=!1,GS={},XS={},QS={},ZS={},Io=!1,JS={},Yc={},Xm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},IS=!1,KS=null;KS=new Set;var cl=!1,Ct=!1,Qm=!1,FS=typeof WeakSet=="function"?WeakSet:Set,Lt=null,Ko=null,Fo=null,Rt=null,hn=!1,ia=null,Ot=!1,xr=8192,ux={getCacheForType:function(e){var t=ut(Nt),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ut(Nt).controller.signal},getOwner:function(){return Tn}};if(typeof Symbol=="function"&&Symbol.for){var Cr=Symbol.for;Cr("selector.component"),Cr("selector.has_pseudo_class"),Cr("selector.role"),Cr("selector.test_id"),Cr("selector.text")}var cx=[],fx=typeof WeakMap=="function"?WeakMap:Map,Vt=0,Ut=2,Dn=4,fl=0,Rr=1,ki=2,$c=3,Zl=4,Gc=6,PS=5,Ge=Vt,nt=null,Ue=null,Oe=0,mn=0,Xc=1,qi=2,Dr=3,WS=4,Zm=5,_r=6,Qc=7,Jm=8,Yi=9,Pe=mn,_n=null,Jl=!1,Po=!1,Im=!1,Va=0,ht=fl,Il=0,Kl=0,Km=0,pn=0,$i=0,Ar=null,rn=null,Zc=!1,Jc=0,e1=0,t1=300,Ic=1/0,n1=500,Or=null,bt=null,Fl=null,Kc=0,Fm=1,Pm=2,a1=3,Pl=0,l1=1,i1=2,o1=3,s1=4,Fc=5,Dt=0,Wl=null,Wo=null,oa=0,Wm=0,ep=-0,tp=null,r1=null,u1=null,sa=Kc,c1=null,dx=50,Ur=0,np=null,ap=!1,Pc=!1,hx=50,Gi=0,Mr=null,es=!1,Wc=null,f1=!1,d1=new Set,mx={},ef=null,ts=null,lp=!1,ip=!1,tf=!1,op=!1,ei=0,sp={};(function(){for(var e=0;e<bm.length;e++){var t=bm[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Fn(n,"on"+t)}Fn(Y0,"onAnimationEnd"),Fn($0,"onAnimationIteration"),Fn(G0,"onAnimationStart"),Fn("dblclick","onDoubleClick"),Fn("focusin","onFocus"),Fn("focusout","onBlur"),Fn($T,"onTransitionRun"),Fn(GT,"onTransitionStart"),Fn(XT,"onTransitionCancel"),Fn(X0,"onTransitionEnd")})(),Re("onMouseEnter",["mouseout","mouseover"]),Re("onMouseLeave",["mouseout","mouseover"]),Re("onPointerEnter",["pointerout","pointerover"]),Re("onPointerLeave",["pointerout","pointerover"]),$e("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$e("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$e("onBeforeInput",["compositionend","keypress","textInput","paste"]),$e("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$e("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$e("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rp=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zr)),nf="_reactListening"+Math.random().toString(36).slice(2),h1=!1,m1=!1,af=!1,p1=!1,lf=!1,of=!1,y1=!1,sf={},px=/\r\n?/g,yx=/\u0000|\uFFFD/g,Xi="http://www.w3.org/1999/xlink",up="http://www.w3.org/XML/1998/namespace",gx="javascript:throw new Error('React form unexpectedly submitted.')",bx="suppressHydrationWarning",Qi="&",rf="/&",jr="$",Hr="/$",ti="$?",Zi="$~",ns="$!",vx="html",Sx="body",Ex="head",cp="F!",g1="F",b1="loading",Nx="style",dl=0,as=1,uf=2,fp=null,dp=null,v1={dialog:!0,webview:!0},hp=null,Lr=void 0,S1=typeof setTimeout=="function"?setTimeout:void 0,wx=typeof clearTimeout=="function"?clearTimeout:void 0,Ji=-1,E1=typeof Promise=="function"?Promise:void 0,Tx=typeof queueMicrotask=="function"?queueMicrotask:typeof E1<"u"?function(e){return E1.resolve(null).then(e).catch(ow)}:S1,mp=null,Ii=0,Vr=1,N1=2,w1=3,Qn=4,Zn=new Map,T1=new Set,hl=Ie.d;Ie.d={f:function(){var e=hl.f(),t=yo();return e||t},r:function(e){var t=P(e);t!==null&&t.tag===5&&t.type==="form"?qg(t):hl.r(e)},D:function(e){hl.D(e),zv("dns-prefetch",e,null)},C:function(e,t){hl.C(e,t),zv("preconnect",e,t)},L:function(e,t,n){hl.L(e,t,n);var a=ls;if(a&&e&&t){var l='link[rel="preload"][as="'+Mn(t)+'"]';t==="image"&&n&&n.imageSrcSet?(l+='[imagesrcset="'+Mn(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(l+='[imagesizes="'+Mn(n.imageSizes)+'"]')):l+='[href="'+Mn(e)+'"]';var i=l;switch(t){case"style":i=vo(e);break;case"script":i=So(e)}Zn.has(i)||(e=je({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Zn.set(i,e),a.querySelector(l)!==null||t==="style"&&a.querySelector(Gs(i))||t==="script"&&a.querySelector(Xs(i))||(t=a.createElement("link"),Yt(t,"link",e),he(t),a.head.appendChild(t)))}},m:function(e,t){hl.m(e,t);var n=ls;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+Mn(a)+'"][href="'+Mn(e)+'"]',i=l;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=So(e)}if(!Zn.has(i)&&(e=je({rel:"modulepreload",href:e},t),Zn.set(i,e),n.querySelector(l)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Xs(i)))return}a=n.createElement("link"),Yt(a,"link",e),he(a),n.head.appendChild(a)}}},X:function(e,t){hl.X(e,t);var n=ls;if(n&&e){var a=Ce(n).hoistableScripts,l=So(e),i=a.get(l);i||(i=n.querySelector(Xs(l)),i||(e=je({src:e,async:!0},t),(t=Zn.get(l))&&Hh(e,t),i=n.createElement("script"),he(i),Yt(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(l,i))}},S:function(e,t,n){hl.S(e,t,n);var a=ls;if(a&&e){var l=Ce(a).hoistableStyles,i=vo(e);t=t||"default";var r=l.get(i);if(!r){var f={loading:Ii,preload:null};if(r=a.querySelector(Gs(i)))f.loading=Vr|Qn;else{e=je({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Zn.get(i))&&jh(e,n);var d=r=a.createElement("link");he(d),Yt(d,"link",e),d._p=new Promise(function(m,R){d.onload=m,d.onerror=R}),d.addEventListener("load",function(){f.loading|=Vr}),d.addEventListener("error",function(){f.loading|=N1}),f.loading|=Qn,ac(r,t,a)}r={type:"stylesheet",instance:r,count:1,state:f},l.set(i,r)}}},M:function(e,t){hl.M(e,t);var n=ls;if(n&&e){var a=Ce(n).hoistableScripts,l=So(e),i=a.get(l);i||(i=n.querySelector(Xs(l)),i||(e=je({src:e,async:!0,type:"module"},t),(t=Zn.get(l))&&Hh(e,t),i=n.createElement("script"),he(i),Yt(i,"link",e),n.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(l,i))}}};var ls=typeof document>"u"?null:document,cf=null,xx=6e4,Cx=800,Rx=500,pp=0,yp=null,ff=null,Ki=qw,Br={$$typeof:_a,Provider:null,Consumer:null,_currentValue:Ki,_currentValue2:Ki,_threadCount:0},x1="%c%s%c",C1="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",R1="",df=" ",Dx=Function.prototype.bind,D1=!1,_1=null,A1=null,O1=null,U1=null,M1=null,z1=null,j1=null,H1=null,L1=null,V1=null;_1=function(e,t,n,a){t=s(e,t),t!==null&&(n=o(t.memoizedState,n,0,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=je({},e.memoizedProps),n=Qt(e,2),n!==null&&pt(n,e,2))},A1=function(e,t,n){t=s(e,t),t!==null&&(n=h(t.memoizedState,n,0),t.memoizedState=n,t.baseState=n,e.memoizedProps=je({},e.memoizedProps),n=Qt(e,2),n!==null&&pt(n,e,2))},O1=function(e,t,n,a){t=s(e,t),t!==null&&(n=u(t.memoizedState,n,a),t.memoizedState=n,t.baseState=n,e.memoizedProps=je({},e.memoizedProps),n=Qt(e,2),n!==null&&pt(n,e,2))},U1=function(e,t,n){e.pendingProps=o(e.memoizedProps,t,0,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Qt(e,2),t!==null&&pt(t,e,2)},M1=function(e,t){e.pendingProps=h(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Qt(e,2),t!==null&&pt(t,e,2)},z1=function(e,t,n){e.pendingProps=u(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Qt(e,2),t!==null&&pt(t,e,2)},j1=function(e){var t=Qt(e,2);t!==null&&pt(t,e,2)},H1=function(e){var t=us(),n=Qt(e,t);n!==null&&pt(n,e,t)},L1=function(e){E=e},V1=function(e){y=e};var hf=!0,mf=null,gp=!1,ni=null,ai=null,li=null,kr=new Map,qr=new Map,ii=[],_x="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),pf=null;if(rc.prototype.render=Yh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var n=arguments;typeof n[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):k(n[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof n[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),n=e;var a=t.current,l=En(a);Lh(a,l,n,t,null,null)},rc.prototype.unmount=Yh.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Ge&(Ut|Dn))!==Vt&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Lh(e.current,2,null,e,null,null),yo(),t[Hl]=null}},rc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sl();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ii.length&&t!==0&&t<ii[n].priority;n++);ii.splice(n,0,e),n===0&&Jv(e)}},(function(){var e=$h.version;if(e!=="19.2.6")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
269
+ - react: `+(e+`
270
+ - react-dom: 19.2.6
271
+ Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Ie.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=xe(t),e=e!==null?ft(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.6",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.2.6"};return e.overrideHookState=_1,e.overrideHookStateDeletePath=A1,e.overrideHookStateRenamePath=O1,e.overrideProps=U1,e.overridePropsDeletePath=M1,e.overridePropsRenamePath=z1,e.scheduleUpdate=j1,e.scheduleRetry=H1,e.setErrorHandler=L1,e.setSuspenseHandler=V1,e.scheduleRefresh=H,e.scheduleRoot=V,e.setRefreshHandler=$,e.getCurrentFiber=Uw,Hf(e)})()&&za&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var B1=window.location.protocol;/^(https?|file):$/.test(B1)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(B1==="file:"?`
272
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Yr.createRoot=function(e,t){if(!k(e))throw Error("Target container is not a DOM element.");Pv(e);var n=!1,a="",l=Ig,i=Kg,r=Fg;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Da&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
273
+
274
+ let root = createRoot(domContainer);
275
+ root.render(<App />);`),t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(r=t.onRecoverableError)),t=qv(e,1,!1,null,null,n,a,null,l,i,r,Fv),e[Hl]=t.current,wh(e),new Yh(t)},Yr.hydrateRoot=function(e,t,n){if(!k(e))throw Error("Target container is not a DOM element.");Pv(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=!1,l="",i=Ig,r=Kg,f=Fg,d=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onUncaughtError!==void 0&&(i=n.onUncaughtError),n.onCaughtError!==void 0&&(r=n.onCaughtError),n.onRecoverableError!==void 0&&(f=n.onRecoverableError),n.formState!==void 0&&(d=n.formState)),t=qv(e,1,!0,t,n??null,a,l,d,i,r,f,Fv),t.context=Yv(null),n=t.current,a=En(n),a=vl(a),l=xl(a),l.callback=null,Cl(n,l,a),pa(a,"hydrateRoot()",null),n=a,t.current.lanes=n,bl(t,n),Ca(t),e[Hl]=t.current,wh(e),new rc(t)},Yr.version="19.2.6",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})(),Yr}var I1;function qx(){return I1||(I1=1,Sp.exports=kx()),Sp.exports}var $p=qx();const Yx=Of($p);var O=Uf();const $x=Of(O),Gx=Mx({__proto__:null,default:$x},[O]);var EE=SE();/**
276
+ * @remix-run/router v1.23.2
277
+ *
278
+ * Copyright (c) Remix Software Inc.
279
+ *
280
+ * This source code is licensed under the MIT license found in the
281
+ * LICENSE.md file in the root directory of this source tree.
282
+ *
283
+ * @license MIT
284
+ */function Qr(){return Qr=Object.assign?Object.assign.bind():function(s){for(var o=1;o<arguments.length;o++){var u=arguments[o];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])}return s},Qr.apply(this,arguments)}var oi;(function(s){s.Pop="POP",s.Push="PUSH",s.Replace="REPLACE"})(oi||(oi={}));const K1="popstate";function Xx(s){s===void 0&&(s={});function o(c,h){let{pathname:y,search:E,hash:g}=c.location;return Up("",{pathname:y,search:E,hash:g},h.state&&h.state.usr||null,h.state&&h.state.key||"default")}function u(c,h){return typeof h=="string"?h:Zr(h)}return Zx(o,u,null,s)}function mt(s,o){if(s===!1||s===null||typeof s>"u")throw new Error(o)}function In(s,o){if(!s){typeof console<"u"&&console.warn(o);try{throw new Error(o)}catch{}}}function Qx(){return Math.random().toString(36).substr(2,8)}function F1(s,o){return{usr:s.state,key:s.key,idx:o}}function Up(s,o,u,c){return u===void 0&&(u=null),Qr({pathname:typeof s=="string"?s:s.pathname,search:"",hash:""},typeof o=="string"?os(o):o,{state:u,key:o&&o.key||c||Qx()})}function Zr(s){let{pathname:o="/",search:u="",hash:c=""}=s;return u&&u!=="?"&&(o+=u.charAt(0)==="?"?u:"?"+u),c&&c!=="#"&&(o+=c.charAt(0)==="#"?c:"#"+c),o}function os(s){let o={};if(s){let u=s.indexOf("#");u>=0&&(o.hash=s.substr(u),s=s.substr(0,u));let c=s.indexOf("?");c>=0&&(o.search=s.substr(c),s=s.substr(0,c)),s&&(o.pathname=s)}return o}function Zx(s,o,u,c){c===void 0&&(c={});let{window:h=document.defaultView,v5Compat:y=!1}=c,E=h.history,g=oi.Pop,x=null,_=U();_==null&&(_=0,E.replaceState(Qr({},E.state,{idx:_}),""));function U(){return(E.state||{idx:null}).idx}function b(){g=oi.Pop;let k=U(),Q=k==null?null:k-_;_=k,x&&x({action:g,location:$.location,delta:Q})}function v(k,Q){g=oi.Push;let X=Up($.location,k,Q);_=U()+1;let oe=F1(X,_),me=$.createHref(X);try{E.pushState(oe,"",me)}catch(xe){if(xe instanceof DOMException&&xe.name==="DataCloneError")throw xe;h.location.assign(me)}y&&x&&x({action:g,location:$.location,delta:1})}function V(k,Q){g=oi.Replace;let X=Up($.location,k,Q);_=U();let oe=F1(X,_),me=$.createHref(X);E.replaceState(oe,"",me),y&&x&&x({action:g,location:$.location,delta:0})}function H(k){let Q=h.location.origin!=="null"?h.location.origin:h.location.href,X=typeof k=="string"?k:Zr(k);return X=X.replace(/ $/,"%20"),mt(Q,"No window.location.(origin|href) available to create URL for href: "+X),new URL(X,Q)}let $={get action(){return g},get location(){return s(h,E)},listen(k){if(x)throw new Error("A history only accepts one active listener");return h.addEventListener(K1,b),x=k,()=>{h.removeEventListener(K1,b),x=null}},createHref(k){return o(h,k)},createURL:H,encodeLocation(k){let Q=H(k);return{pathname:Q.pathname,search:Q.search,hash:Q.hash}},push:v,replace:V,go(k){return E.go(k)}};return $}var P1;(function(s){s.data="data",s.deferred="deferred",s.redirect="redirect",s.error="error"})(P1||(P1={}));function Jx(s,o,u){return u===void 0&&(u="/"),Ix(s,o,u)}function Ix(s,o,u,c){let h=typeof o=="string"?os(o):o,y=ri(h.pathname||"/",u);if(y==null)return null;let E=NE(s);Kx(E);let g=null;for(let x=0;g==null&&x<E.length;++x){let _=sC(y);g=iC(E[x],_)}return g}function NE(s,o,u,c){o===void 0&&(o=[]),u===void 0&&(u=[]),c===void 0&&(c="");let h=(y,E,g)=>{let x={relativePath:g===void 0?y.path||"":g,caseSensitive:y.caseSensitive===!0,childrenIndex:E,route:y};x.relativePath.startsWith("/")&&(mt(x.relativePath.startsWith(c),'Absolute route path "'+x.relativePath+'" nested under path '+('"'+c+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),x.relativePath=x.relativePath.slice(c.length));let _=pl([c,x.relativePath]),U=u.concat(x);y.children&&y.children.length>0&&(mt(y.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+_+'".')),NE(y.children,o,U,_)),!(y.path==null&&!y.index)&&o.push({path:_,score:aC(_,y.index),routesMeta:U})};return s.forEach((y,E)=>{var g;if(y.path===""||!((g=y.path)!=null&&g.includes("?")))h(y,E);else for(let x of wE(y.path))h(y,E,x)}),o}function wE(s){let o=s.split("/");if(o.length===0)return[];let[u,...c]=o,h=u.endsWith("?"),y=u.replace(/\?$/,"");if(c.length===0)return h?[y,""]:[y];let E=wE(c.join("/")),g=[];return g.push(...E.map(x=>x===""?y:[y,x].join("/"))),h&&g.push(...E),g.map(x=>s.startsWith("/")&&x===""?"/":x)}function Kx(s){s.sort((o,u)=>o.score!==u.score?u.score-o.score:lC(o.routesMeta.map(c=>c.childrenIndex),u.routesMeta.map(c=>c.childrenIndex)))}const Fx=/^:[\w-]+$/,Px=3,Wx=2,eC=1,tC=10,nC=-2,W1=s=>s==="*";function aC(s,o){let u=s.split("/"),c=u.length;return u.some(W1)&&(c+=nC),o&&(c+=Wx),u.filter(h=>!W1(h)).reduce((h,y)=>h+(Fx.test(y)?Px:y===""?eC:tC),c)}function lC(s,o){return s.length===o.length&&s.slice(0,-1).every((c,h)=>c===o[h])?s[s.length-1]-o[o.length-1]:0}function iC(s,o,u){let{routesMeta:c}=s,h={},y="/",E=[];for(let g=0;g<c.length;++g){let x=c[g],_=g===c.length-1,U=y==="/"?o:o.slice(y.length)||"/",b=Mp({path:x.relativePath,caseSensitive:x.caseSensitive,end:_},U),v=x.route;if(!b)return null;Object.assign(h,b.params),E.push({params:h,pathname:pl([y,b.pathname]),pathnameBase:dC(pl([y,b.pathnameBase])),route:v}),b.pathnameBase!=="/"&&(y=pl([y,b.pathnameBase]))}return E}function Mp(s,o){typeof s=="string"&&(s={path:s,caseSensitive:!1,end:!0});let[u,c]=oC(s.path,s.caseSensitive,s.end),h=o.match(u);if(!h)return null;let y=h[0],E=y.replace(/(.)\/+$/,"$1"),g=h.slice(1);return{params:c.reduce((_,U,b)=>{let{paramName:v,isOptional:V}=U;if(v==="*"){let $=g[b]||"";E=y.slice(0,y.length-$.length).replace(/(.)\/+$/,"$1")}const H=g[b];return V&&!H?_[v]=void 0:_[v]=(H||"").replace(/%2F/g,"/"),_},{}),pathname:y,pathnameBase:E,pattern:s}}function oC(s,o,u){o===void 0&&(o=!1),u===void 0&&(u=!0),In(s==="*"||!s.endsWith("*")||s.endsWith("/*"),'Route path "'+s+'" will be treated as if it were '+('"'+s.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+s.replace(/\*$/,"/*")+'".'));let c=[],h="^"+s.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(E,g,x)=>(c.push({paramName:g,isOptional:x!=null}),x?"/?([^\\/]+)?":"/([^\\/]+)"));return s.endsWith("*")?(c.push({paramName:"*"}),h+=s==="*"||s==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):u?h+="\\/*$":s!==""&&s!=="/"&&(h+="(?:(?=\\/|$))"),[new RegExp(h,o?void 0:"i"),c]}function sC(s){try{return s.split("/").map(o=>decodeURIComponent(o).replace(/\//g,"%2F")).join("/")}catch(o){return In(!1,'The URL path "'+s+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+o+").")),s}}function ri(s,o){if(o==="/")return s;if(!s.toLowerCase().startsWith(o.toLowerCase()))return null;let u=o.endsWith("/")?o.length-1:o.length,c=s.charAt(u);return c&&c!=="/"?null:s.slice(u)||"/"}const rC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,uC=s=>rC.test(s);function cC(s,o){o===void 0&&(o="/");let{pathname:u,search:c="",hash:h=""}=typeof s=="string"?os(s):s,y;if(u)if(uC(u))y=u;else{if(u.includes("//")){let E=u;u=u.replace(/\/\/+/g,"/"),In(!1,"Pathnames cannot have embedded double slashes - normalizing "+(E+" -> "+u))}u.startsWith("/")?y=eE(u.substring(1),"/"):y=eE(u,o)}else y=o;return{pathname:y,search:hC(c),hash:mC(h)}}function eE(s,o){let u=o.replace(/\/+$/,"").split("/");return s.split("/").forEach(h=>{h===".."?u.length>1&&u.pop():h!=="."&&u.push(h)}),u.length>1?u.join("/"):"/"}function Tp(s,o,u,c){return"Cannot include a '"+s+"' character in a manually specified "+("`to."+o+"` field ["+JSON.stringify(c)+"]. Please separate it out to the ")+("`to."+u+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function fC(s){return s.filter((o,u)=>u===0||o.route.path&&o.route.path.length>0)}function Gp(s,o){let u=fC(s);return o?u.map((c,h)=>h===u.length-1?c.pathname:c.pathnameBase):u.map(c=>c.pathnameBase)}function Xp(s,o,u,c){c===void 0&&(c=!1);let h;typeof s=="string"?h=os(s):(h=Qr({},s),mt(!h.pathname||!h.pathname.includes("?"),Tp("?","pathname","search",h)),mt(!h.pathname||!h.pathname.includes("#"),Tp("#","pathname","hash",h)),mt(!h.search||!h.search.includes("#"),Tp("#","search","hash",h)));let y=s===""||h.pathname==="",E=y?"/":h.pathname,g;if(E==null)g=u;else{let b=o.length-1;if(!c&&E.startsWith("..")){let v=E.split("/");for(;v[0]==="..";)v.shift(),b-=1;h.pathname=v.join("/")}g=b>=0?o[b]:"/"}let x=cC(h,g),_=E&&E!=="/"&&E.endsWith("/"),U=(y||E===".")&&u.endsWith("/");return!x.pathname.endsWith("/")&&(_||U)&&(x.pathname+="/"),x}const pl=s=>s.join("/").replace(/\/\/+/g,"/"),dC=s=>s.replace(/\/+$/,"").replace(/^\/*/,"/"),hC=s=>!s||s==="?"?"":s.startsWith("?")?s:"?"+s,mC=s=>!s||s==="#"?"":s.startsWith("#")?s:"#"+s;function pC(s){return s!=null&&typeof s.status=="number"&&typeof s.statusText=="string"&&typeof s.internal=="boolean"&&"data"in s}const TE=["post","put","patch","delete"];new Set(TE);const yC=["get",...TE];new Set(yC);/**
285
+ * React Router v6.30.3
286
+ *
287
+ * Copyright (c) Remix Software Inc.
288
+ *
289
+ * This source code is licensed under the MIT license found in the
290
+ * LICENSE.md file in the root directory of this source tree.
291
+ *
292
+ * @license MIT
293
+ */function Jr(){return Jr=Object.assign?Object.assign.bind():function(s){for(var o=1;o<arguments.length;o++){var u=arguments[o];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])}return s},Jr.apply(this,arguments)}const Kr=O.createContext(null);Kr.displayName="DataRouter";const Qp=O.createContext(null);Qp.displayName="DataRouterState";const gC=O.createContext(null);gC.displayName="Await";const Kn=O.createContext(null);Kn.displayName="Navigation";const Fr=O.createContext(null);Fr.displayName="Location";const qa=O.createContext({outlet:null,matches:[],isDataRoute:!1});qa.displayName="Route";const Zp=O.createContext(null);Zp.displayName="RouteError";function bC(s,o){let{relative:u}=o===void 0?{}:o;ss()||mt(!1,"useHref() may be used only in the context of a <Router> component.");let{basename:c,navigator:h}=O.useContext(Kn),{hash:y,pathname:E,search:g}=Pr(s,{relative:u}),x=E;return c!=="/"&&(x=E==="/"?c:pl([c,E])),h.createHref({pathname:x,search:g,hash:y})}function ss(){return O.useContext(Fr)!=null}function Fi(){return ss()||mt(!1,"useLocation() may be used only in the context of a <Router> component."),O.useContext(Fr).location}const xE="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function CE(s){O.useContext(Kn).static||O.useLayoutEffect(s)}function Jp(){let{isDataRoute:s}=O.useContext(qa);return s?UC():vC()}function vC(){ss()||mt(!1,"useNavigate() may be used only in the context of a <Router> component.");let s=O.useContext(Kr),{basename:o,future:u,navigator:c}=O.useContext(Kn),{matches:h}=O.useContext(qa),{pathname:y}=Fi(),E=JSON.stringify(Gp(h,u.v7_relativeSplatPath)),g=O.useRef(!1);return CE(()=>{g.current=!0}),O.useCallback(function(_,U){if(U===void 0&&(U={}),In(g.current,xE),!g.current)return;if(typeof _=="number"){c.go(_);return}let b=Xp(_,JSON.parse(E),y,U.relative==="path");s==null&&o!=="/"&&(b.pathname=b.pathname==="/"?o:pl([o,b.pathname])),(U.replace?c.replace:c.push)(b,U.state,U)},[o,c,E,y,s])}function Pr(s,o){let{relative:u}=o===void 0?{}:o,{future:c}=O.useContext(Kn),{matches:h}=O.useContext(qa),{pathname:y}=Fi(),E=JSON.stringify(Gp(h,c.v7_relativeSplatPath));return O.useMemo(()=>Xp(s,JSON.parse(E),y,u==="path"),[s,E,y,u])}function SC(s,o){return EC(s,o)}function EC(s,o,u,c){ss()||mt(!1,"useRoutes() may be used only in the context of a <Router> component.");let{navigator:h}=O.useContext(Kn),{matches:y}=O.useContext(qa),E=y[y.length-1],g=E?E.params:{},x=E?E.pathname:"/",_=E?E.pathnameBase:"/",U=E&&E.route;{let X=U&&U.path||"";DE(x,!U||X.endsWith("*"),"You rendered descendant <Routes> (or called `useRoutes()`) at "+('"'+x+'" (under <Route path="'+X+'">) but the ')+`parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
294
+
295
+ `+('Please change the parent <Route path="'+X+'"> to <Route ')+('path="'+(X==="/"?"*":X+"/*")+'">.'))}let b=Fi(),v;if(o){var V;let X=typeof o=="string"?os(o):o;_==="/"||(V=X.pathname)!=null&&V.startsWith(_)||mt(!1,"When overriding the location using `<Routes location>` or `useRoutes(routes, location)`, the location pathname must begin with the portion of the URL pathname that was "+('matched by all parent routes. The current pathname base is "'+_+'" ')+('but pathname "'+X.pathname+'" was given in the `location` prop.')),v=X}else v=b;let H=v.pathname||"/",$=H;if(_!=="/"){let X=_.replace(/^\//,"").split("/");$="/"+H.replace(/^\//,"").split("/").slice(X.length).join("/")}let k=Jx(s,{pathname:$});In(U||k!=null,'No routes matched location "'+v.pathname+v.search+v.hash+'" '),In(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.length-1].route.lazy!==void 0,'Matched leaf route at location "'+v.pathname+v.search+v.hash+'" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.');let Q=CC(k&&k.map(X=>Object.assign({},X,{params:Object.assign({},g,X.params),pathname:pl([_,h.encodeLocation?h.encodeLocation(X.pathname).pathname:X.pathname]),pathnameBase:X.pathnameBase==="/"?_:pl([_,h.encodeLocation?h.encodeLocation(X.pathnameBase).pathname:X.pathnameBase])})),y,u,c);return o&&Q?O.createElement(Fr.Provider,{value:{location:Jr({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:oi.Pop}},Q):Q}function NC(){let s=OC(),o=pC(s)?s.status+" "+s.statusText:s instanceof Error?s.message:JSON.stringify(s),u=s instanceof Error?s.stack:null,c="rgba(200,200,200, 0.5)",h={padding:"0.5rem",backgroundColor:c},y={padding:"2px 4px",backgroundColor:c},E=null;return console.error("Error handled by React Router default ErrorBoundary:",s),E=O.createElement(O.Fragment,null,O.createElement("p",null,"💿 Hey developer 👋"),O.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",O.createElement("code",{style:y},"ErrorBoundary")," or"," ",O.createElement("code",{style:y},"errorElement")," prop on your route.")),O.createElement(O.Fragment,null,O.createElement("h2",null,"Unexpected Application Error!"),O.createElement("h3",{style:{fontStyle:"italic"}},o),u?O.createElement("pre",{style:h},u):null,E)}const wC=O.createElement(NC,null);class TC extends O.Component{constructor(o){super(o),this.state={location:o.location,revalidation:o.revalidation,error:o.error}}static getDerivedStateFromError(o){return{error:o}}static getDerivedStateFromProps(o,u){return u.location!==o.location||u.revalidation!=="idle"&&o.revalidation==="idle"?{error:o.error,location:o.location,revalidation:o.revalidation}:{error:o.error!==void 0?o.error:u.error,location:u.location,revalidation:o.revalidation||u.revalidation}}componentDidCatch(o,u){console.error("React Router caught the following error during render",o,u)}render(){return this.state.error!==void 0?O.createElement(qa.Provider,{value:this.props.routeContext},O.createElement(Zp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function xC(s){let{routeContext:o,match:u,children:c}=s,h=O.useContext(Kr);return h&&h.static&&h.staticContext&&(u.route.errorElement||u.route.ErrorBoundary)&&(h.staticContext._deepestRenderedBoundaryId=u.route.id),O.createElement(qa.Provider,{value:o},c)}function CC(s,o,u,c){var h;if(o===void 0&&(o=[]),u===void 0&&(u=null),c===void 0&&(c=null),s==null){var y;if(!u)return null;if(u.errors)s=u.matches;else if((y=c)!=null&&y.v7_partialHydration&&o.length===0&&!u.initialized&&u.matches.length>0)s=u.matches;else return null}let E=s,g=(h=u)==null?void 0:h.errors;if(g!=null){let U=E.findIndex(b=>b.route.id&&(g==null?void 0:g[b.route.id])!==void 0);U>=0||mt(!1,"Could not find a matching route for errors on route IDs: "+Object.keys(g).join(",")),E=E.slice(0,Math.min(E.length,U+1))}let x=!1,_=-1;if(u&&c&&c.v7_partialHydration)for(let U=0;U<E.length;U++){let b=E[U];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(_=U),b.route.id){let{loaderData:v,errors:V}=u,H=b.route.loader&&v[b.route.id]===void 0&&(!V||V[b.route.id]===void 0);if(b.route.lazy||H){x=!0,_>=0?E=E.slice(0,_+1):E=[E[0]];break}}}return E.reduceRight((U,b,v)=>{let V,H=!1,$=null,k=null;u&&(V=g&&b.route.id?g[b.route.id]:void 0,$=b.route.errorElement||wC,x&&(_<0&&v===0?(DE("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),H=!0,k=null):_===v&&(H=!0,k=b.route.hydrateFallbackElement||null)));let Q=o.concat(E.slice(0,v+1)),X=()=>{let oe;return V?oe=$:H?oe=k:b.route.Component?oe=O.createElement(b.route.Component,null):b.route.element?oe=b.route.element:oe=U,O.createElement(xC,{match:b,routeContext:{outlet:U,matches:Q,isDataRoute:u!=null},children:oe})};return u&&(b.route.ErrorBoundary||b.route.errorElement||v===0)?O.createElement(TC,{location:u.location,revalidation:u.revalidation,component:$,error:V,children:X(),routeContext:{outlet:null,matches:Q,isDataRoute:!0}}):X()},null)}var RE=(function(s){return s.UseBlocker="useBlocker",s.UseRevalidator="useRevalidator",s.UseNavigateStable="useNavigate",s})(RE||{}),Ir=(function(s){return s.UseBlocker="useBlocker",s.UseLoaderData="useLoaderData",s.UseActionData="useActionData",s.UseRouteError="useRouteError",s.UseNavigation="useNavigation",s.UseRouteLoaderData="useRouteLoaderData",s.UseMatches="useMatches",s.UseRevalidator="useRevalidator",s.UseNavigateStable="useNavigate",s.UseRouteId="useRouteId",s})(Ir||{});function Ip(s){return s+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function RC(s){let o=O.useContext(Kr);return o||mt(!1,Ip(s)),o}function DC(s){let o=O.useContext(Qp);return o||mt(!1,Ip(s)),o}function _C(s){let o=O.useContext(qa);return o||mt(!1,Ip(s)),o}function Kp(s){let o=_C(s),u=o.matches[o.matches.length-1];return u.route.id||mt(!1,s+' can only be used on routes that contain a unique "id"'),u.route.id}function AC(){return Kp(Ir.UseRouteId)}function OC(){var s;let o=O.useContext(Zp),u=DC(Ir.UseRouteError),c=Kp(Ir.UseRouteError);return o!==void 0?o:(s=u.errors)==null?void 0:s[c]}function UC(){let{router:s}=RC(RE.UseNavigateStable),o=Kp(Ir.UseNavigateStable),u=O.useRef(!1);return CE(()=>{u.current=!0}),O.useCallback(function(h,y){y===void 0&&(y={}),In(u.current,xE),u.current&&(typeof h=="number"?s.navigate(h):s.navigate(h,Jr({fromRouteId:o},y)))},[s,o])}const tE={};function DE(s,o,u){!o&&!tE[s]&&(tE[s]=!0,In(!1,u))}const nE={};function MC(s,o){nE[o]||(nE[o]=!0,console.warn(o))}const aE=(s,o,u)=>MC(s,"⚠️ React Router Future Flag Warning: "+o+". "+("You can use the `"+s+"` future flag to opt-in early. ")+("For more information, see "+u+"."));function zC(s,o){(s==null?void 0:s.v7_startTransition)===void 0&&aE("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(s==null?void 0:s.v7_relativeSplatPath)===void 0&&aE("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function _E(s){let{to:o,replace:u,state:c,relative:h}=s;ss()||mt(!1,"<Navigate> may be used only in the context of a <Router> component.");let{future:y,static:E}=O.useContext(Kn);In(!E,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:g}=O.useContext(qa),{pathname:x}=Fi(),_=Jp(),U=Xp(o,Gp(g,y.v7_relativeSplatPath),x,h==="path"),b=JSON.stringify(U);return O.useEffect(()=>_(JSON.parse(b),{replace:u,state:c,relative:h}),[_,b,h,u,c]),null}function Ef(s){mt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function jC(s){let{basename:o="/",children:u=null,location:c,navigationType:h=oi.Pop,navigator:y,static:E=!1,future:g}=s;ss()&&mt(!1,"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let x=o.replace(/^\/*/,"/"),_=O.useMemo(()=>({basename:x,navigator:y,static:E,future:Jr({v7_relativeSplatPath:!1},g)}),[x,g,y,E]);typeof c=="string"&&(c=os(c));let{pathname:U="/",search:b="",hash:v="",state:V=null,key:H="default"}=c,$=O.useMemo(()=>{let k=ri(U,x);return k==null?null:{location:{pathname:k,search:b,hash:v,state:V,key:H},navigationType:h}},[x,U,b,v,V,H,h]);return In($!=null,'<Router basename="'+x+'"> is not able to match the URL '+('"'+U+b+v+'" because it does not start with the ')+"basename, so the <Router> won't render anything."),$==null?null:O.createElement(Kn.Provider,{value:_},O.createElement(Fr.Provider,{children:u,value:$}))}function HC(s){let{children:o,location:u}=s;return SC(zp(o),u)}new Promise(()=>{});function zp(s,o){o===void 0&&(o=[]);let u=[];return O.Children.forEach(s,(c,h)=>{if(!O.isValidElement(c))return;let y=[...o,h];if(c.type===O.Fragment){u.push.apply(u,zp(c.props.children,y));return}c.type!==Ef&&mt(!1,"["+(typeof c.type=="string"?c.type:c.type.name)+"] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>"),!c.props.index||!c.props.children||mt(!1,"An index route cannot have child routes.");let E={id:c.props.id||y.join("-"),caseSensitive:c.props.caseSensitive,element:c.props.element,Component:c.props.Component,index:c.props.index,path:c.props.path,loader:c.props.loader,action:c.props.action,errorElement:c.props.errorElement,ErrorBoundary:c.props.ErrorBoundary,hasErrorBoundary:c.props.ErrorBoundary!=null||c.props.errorElement!=null,shouldRevalidate:c.props.shouldRevalidate,handle:c.props.handle,lazy:c.props.lazy};c.props.children&&(E.children=zp(c.props.children,y)),u.push(E)}),u}/**
296
+ * React Router DOM v6.30.3
297
+ *
298
+ * Copyright (c) Remix Software Inc.
299
+ *
300
+ * This source code is licensed under the MIT license found in the
301
+ * LICENSE.md file in the root directory of this source tree.
302
+ *
303
+ * @license MIT
304
+ */function is(){return is=Object.assign?Object.assign.bind():function(s){for(var o=1;o<arguments.length;o++){var u=arguments[o];for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])}return s},is.apply(this,arguments)}function Fp(s,o){if(s==null)return{};var u={},c=Object.keys(s),h,y;for(y=0;y<c.length;y++)h=c[y],!(o.indexOf(h)>=0)&&(u[h]=s[h]);return u}const Nf="get",wf="application/x-www-form-urlencoded";function Mf(s){return s!=null&&typeof s.tagName=="string"}function LC(s){return Mf(s)&&s.tagName.toLowerCase()==="button"}function VC(s){return Mf(s)&&s.tagName.toLowerCase()==="form"}function BC(s){return Mf(s)&&s.tagName.toLowerCase()==="input"}function kC(s){return!!(s.metaKey||s.altKey||s.ctrlKey||s.shiftKey)}function qC(s,o){return s.button===0&&(!o||o==="_self")&&!kC(s)}let gf=null;function YC(){if(gf===null)try{new FormData(document.createElement("form"),0),gf=!1}catch{gf=!0}return gf}const $C=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function xp(s){return s!=null&&!$C.has(s)?(In(!1,'"'+s+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+wf+'"')),null):s}function GC(s,o){let u,c,h,y,E;if(VC(s)){let g=s.getAttribute("action");c=g?ri(g,o):null,u=s.getAttribute("method")||Nf,h=xp(s.getAttribute("enctype"))||wf,y=new FormData(s)}else if(LC(s)||BC(s)&&(s.type==="submit"||s.type==="image")){let g=s.form;if(g==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let x=s.getAttribute("formaction")||g.getAttribute("action");if(c=x?ri(x,o):null,u=s.getAttribute("formmethod")||g.getAttribute("method")||Nf,h=xp(s.getAttribute("formenctype"))||xp(g.getAttribute("enctype"))||wf,y=new FormData(g,s),!YC()){let{name:_,type:U,value:b}=s;if(U==="image"){let v=_?_+".":"";y.append(v+"x","0"),y.append(v+"y","0")}else _&&y.append(_,b)}}else{if(Mf(s))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');u=Nf,c=null,h=wf,E=s}return y&&h==="text/plain"&&(E=y,y=void 0),{action:c,method:u.toLowerCase(),encType:h,formData:y,body:E}}const XC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],QC=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"],ZC=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"],JC="6";try{window.__reactRouterVersion=JC}catch{}const AE=O.createContext({isTransitioning:!1});AE.displayName="ViewTransition";const IC=O.createContext(new Map);IC.displayName="Fetchers";const KC="startTransition",lE=Gx[KC];function FC(s){let{basename:o,children:u,future:c,window:h}=s,y=O.useRef();y.current==null&&(y.current=Xx({window:h,v5Compat:!0}));let E=y.current,[g,x]=O.useState({action:E.action,location:E.location}),{v7_startTransition:_}=c||{},U=O.useCallback(b=>{_&&lE?lE(()=>x(b)):x(b)},[x,_]);return O.useLayoutEffect(()=>E.listen(U),[E,U]),O.useEffect(()=>zC(c),[c]),O.createElement(jC,{basename:o,children:u,location:g.location,navigationType:g.action,navigator:E,future:c})}const PC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",WC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,OE=O.forwardRef(function(o,u){let{onClick:c,relative:h,reloadDocument:y,replace:E,state:g,target:x,to:_,preventScrollReset:U,viewTransition:b}=o,v=Fp(o,XC),{basename:V}=O.useContext(Kn),H,$=!1;if(typeof _=="string"&&WC.test(_)&&(H=_,PC))try{let oe=new URL(window.location.href),me=_.startsWith("//")?new URL(oe.protocol+_):new URL(_),xe=ri(me.pathname,V);me.origin===oe.origin&&xe!=null?_=xe+me.search+me.hash:$=!0}catch{In(!1,'<Link to="'+_+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let k=bC(_,{relative:h}),Q=aR(_,{replace:E,state:g,target:x,preventScrollReset:U,relative:h,viewTransition:b});function X(oe){c&&c(oe),oe.defaultPrevented||Q(oe)}return O.createElement("a",is({},v,{href:H||k,onClick:$||y?c:X,ref:u,target:x}))});OE.displayName="Link";const eR=O.forwardRef(function(o,u){let{"aria-current":c="page",caseSensitive:h=!1,className:y="",end:E=!1,style:g,to:x,viewTransition:_,children:U}=o,b=Fp(o,QC),v=Pr(x,{relative:b.relative}),V=Fi(),H=O.useContext(Qp),{navigator:$,basename:k}=O.useContext(Kn),Q=H!=null&&uR(v)&&_===!0,X=$.encodeLocation?$.encodeLocation(v).pathname:v.pathname,oe=V.pathname,me=H&&H.navigation&&H.navigation.location?H.navigation.location.pathname:null;h||(oe=oe.toLowerCase(),me=me?me.toLowerCase():null,X=X.toLowerCase()),me&&k&&(me=ri(me,k)||me);const xe=X!=="/"&&X.endsWith("/")?X.length-1:X.length;let ft=oe===X||!E&&oe.startsWith(X)&&oe.charAt(xe)==="/",We=me!=null&&(me===X||!E&&me.startsWith(X)&&me.charAt(X.length)==="/"),Me={isActive:ft,isPending:We,isTransitioning:Q},Ze=ft?c:void 0,I;typeof y=="function"?I=y(Me):I=[y,ft?"active":null,We?"pending":null,Q?"transitioning":null].filter(Boolean).join(" ");let be=typeof g=="function"?g(Me):g;return O.createElement(OE,is({},b,{"aria-current":Ze,className:I,ref:u,style:be,to:x,viewTransition:_}),typeof U=="function"?U(Me):U)});eR.displayName="NavLink";const tR=O.forwardRef((s,o)=>{let{fetcherKey:u,navigate:c,reloadDocument:h,replace:y,state:E,method:g=Nf,action:x,onSubmit:_,relative:U,preventScrollReset:b,viewTransition:v}=s,V=Fp(s,ZC),H=sR(),$=rR(x,{relative:U}),k=g.toLowerCase()==="get"?"get":"post",Q=X=>{if(_&&_(X),X.defaultPrevented)return;X.preventDefault();let oe=X.nativeEvent.submitter,me=(oe==null?void 0:oe.getAttribute("formmethod"))||g;H(oe||X.currentTarget,{fetcherKey:u,method:me,navigate:c,replace:y,state:E,relative:U,preventScrollReset:b,viewTransition:v})};return O.createElement("form",is({ref:o,method:k,action:$,onSubmit:h?_:Q},V))});tR.displayName="Form";var Af;(function(s){s.UseScrollRestoration="useScrollRestoration",s.UseSubmit="useSubmit",s.UseSubmitFetcher="useSubmitFetcher",s.UseFetcher="useFetcher",s.useViewTransitionState="useViewTransitionState"})(Af||(Af={}));var iE;(function(s){s.UseFetcher="useFetcher",s.UseFetchers="useFetchers",s.UseScrollRestoration="useScrollRestoration"})(iE||(iE={}));function nR(s){return s+" must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router."}function UE(s){let o=O.useContext(Kr);return o||mt(!1,nR(s)),o}function aR(s,o){let{target:u,replace:c,state:h,preventScrollReset:y,relative:E,viewTransition:g}=o===void 0?{}:o,x=Jp(),_=Fi(),U=Pr(s,{relative:E});return O.useCallback(b=>{if(qC(b,u)){b.preventDefault();let v=c!==void 0?c:Zr(_)===Zr(U);x(s,{replace:v,state:h,preventScrollReset:y,relative:E,viewTransition:g})}},[_,x,U,c,h,u,s,y,E,g])}function lR(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let iR=0,oR=()=>"__"+String(++iR)+"__";function sR(){let{router:s}=UE(Af.UseSubmit),{basename:o}=O.useContext(Kn),u=AC();return O.useCallback(function(c,h){h===void 0&&(h={}),lR();let{action:y,method:E,encType:g,formData:x,body:_}=GC(c,o);if(h.navigate===!1){let U=h.fetcherKey||oR();s.fetch(U,u,h.action||y,{preventScrollReset:h.preventScrollReset,formData:x,body:_,formMethod:h.method||E,formEncType:h.encType||g,flushSync:h.flushSync})}else s.navigate(h.action||y,{preventScrollReset:h.preventScrollReset,formData:x,body:_,formMethod:h.method||E,formEncType:h.encType||g,replace:h.replace,state:h.state,fromRouteId:u,flushSync:h.flushSync,viewTransition:h.viewTransition})},[s,o,u])}function rR(s,o){let{relative:u}=o===void 0?{}:o,{basename:c}=O.useContext(Kn),h=O.useContext(qa);h||mt(!1,"useFormAction must be used inside a RouteContext");let[y]=h.matches.slice(-1),E=is({},Pr(s||".",{relative:u})),g=Fi();if(s==null){E.search=g.search;let x=new URLSearchParams(E.search),_=x.getAll("index");if(_.some(b=>b==="")){x.delete("index"),_.filter(v=>v).forEach(v=>x.append("index",v));let b=x.toString();E.search=b?"?"+b:""}}return(!s||s===".")&&y.route.index&&(E.search=E.search?E.search.replace(/^\?/,"?index&"):"?index"),c!=="/"&&(E.pathname=E.pathname==="/"?c:pl([c,E.pathname])),Zr(E)}function uR(s,o){o===void 0&&(o={});let u=O.useContext(AE);u==null&&mt(!1,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:c}=UE(Af.useViewTransitionState),h=Pr(s,{relative:o.relative});if(!u.isTransitioning)return!1;let y=ri(u.currentLocation.pathname,c)||u.currentLocation.pathname,E=ri(u.nextLocation.pathname,c)||u.nextLocation.pathname;return Mp(h.pathname,E)!=null||Mp(h.pathname,y)!=null}const ka=Object.create(null);ka.open="0";ka.close="1";ka.ping="2";ka.pong="3";ka.message="4";ka.upgrade="5";ka.noop="6";const Tf=Object.create(null);Object.keys(ka).forEach(s=>{Tf[ka[s]]=s});const jp={type:"error",data:"parser error"},ME=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",zE=typeof ArrayBuffer=="function",jE=s=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s&&s.buffer instanceof ArrayBuffer,Pp=({type:s,data:o},u,c)=>ME&&o instanceof Blob?u?c(o):oE(o,c):zE&&(o instanceof ArrayBuffer||jE(o))?u?c(o):oE(new Blob([o]),c):c(ka[s]+(o||"")),oE=(s,o)=>{const u=new FileReader;return u.onload=function(){const c=u.result.split(",")[1];o("b"+(c||""))},u.readAsDataURL(s)};function sE(s){return s instanceof Uint8Array?s:s instanceof ArrayBuffer?new Uint8Array(s):new Uint8Array(s.buffer,s.byteOffset,s.byteLength)}let Cp;function cR(s,o){if(ME&&s.data instanceof Blob)return s.data.arrayBuffer().then(sE).then(o);if(zE&&(s.data instanceof ArrayBuffer||jE(s.data)))return o(sE(s.data));Pp(s,!1,u=>{Cp||(Cp=new TextEncoder),o(Cp.encode(u))})}const rE="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let s=0;s<rE.length;s++)Xr[rE.charCodeAt(s)]=s;const fR=s=>{let o=s.length*.75,u=s.length,c,h=0,y,E,g,x;s[s.length-1]==="="&&(o--,s[s.length-2]==="="&&o--);const _=new ArrayBuffer(o),U=new Uint8Array(_);for(c=0;c<u;c+=4)y=Xr[s.charCodeAt(c)],E=Xr[s.charCodeAt(c+1)],g=Xr[s.charCodeAt(c+2)],x=Xr[s.charCodeAt(c+3)],U[h++]=y<<2|E>>4,U[h++]=(E&15)<<4|g>>2,U[h++]=(g&3)<<6|x&63;return _},dR=typeof ArrayBuffer=="function",Wp=(s,o)=>{if(typeof s!="string")return{type:"message",data:HE(s,o)};const u=s.charAt(0);return u==="b"?{type:"message",data:hR(s.substring(1),o)}:Tf[u]?s.length>1?{type:Tf[u],data:s.substring(1)}:{type:Tf[u]}:jp},hR=(s,o)=>{if(dR){const u=fR(s);return HE(u,o)}else return{base64:!0,data:s}},HE=(s,o)=>{switch(o){case"blob":return s instanceof Blob?s:new Blob([s]);case"arraybuffer":default:return s instanceof ArrayBuffer?s:s.buffer}},LE="",mR=(s,o)=>{const u=s.length,c=new Array(u);let h=0;s.forEach((y,E)=>{Pp(y,!1,g=>{c[E]=g,++h===u&&o(c.join(LE))})})},pR=(s,o)=>{const u=s.split(LE),c=[];for(let h=0;h<u.length;h++){const y=Wp(u[h],o);if(c.push(y),y.type==="error")break}return c};function yR(){return new TransformStream({transform(s,o){cR(s,u=>{const c=u.length;let h;if(c<126)h=new Uint8Array(1),new DataView(h.buffer).setUint8(0,c);else if(c<65536){h=new Uint8Array(3);const y=new DataView(h.buffer);y.setUint8(0,126),y.setUint16(1,c)}else{h=new Uint8Array(9);const y=new DataView(h.buffer);y.setUint8(0,127),y.setBigUint64(1,BigInt(c))}s.data&&typeof s.data!="string"&&(h[0]|=128),o.enqueue(h),o.enqueue(u)})}})}let Rp;function bf(s){return s.reduce((o,u)=>o+u.length,0)}function vf(s,o){if(s[0].length===o)return s.shift();const u=new Uint8Array(o);let c=0;for(let h=0;h<o;h++)u[h]=s[0][c++],c===s[0].length&&(s.shift(),c=0);return s.length&&c<s[0].length&&(s[0]=s[0].slice(c)),u}function gR(s,o){Rp||(Rp=new TextDecoder);const u=[];let c=0,h=-1,y=!1;return new TransformStream({transform(E,g){for(u.push(E);;){if(c===0){if(bf(u)<1)break;const x=vf(u,1);y=(x[0]&128)===128,h=x[0]&127,h<126?c=3:h===126?c=1:c=2}else if(c===1){if(bf(u)<2)break;const x=vf(u,2);h=new DataView(x.buffer,x.byteOffset,x.length).getUint16(0),c=3}else if(c===2){if(bf(u)<8)break;const x=vf(u,8),_=new DataView(x.buffer,x.byteOffset,x.length),U=_.getUint32(0);if(U>Math.pow(2,21)-1){g.enqueue(jp);break}h=U*Math.pow(2,32)+_.getUint32(4),c=3}else{if(bf(u)<h)break;const x=vf(u,h);g.enqueue(Wp(y?x:Rp.decode(x),o)),c=0}if(h===0||h>s){g.enqueue(jp);break}}}})}const VE=4;function _t(s){if(s)return bR(s)}function bR(s){for(var o in _t.prototype)s[o]=_t.prototype[o];return s}_t.prototype.on=_t.prototype.addEventListener=function(s,o){return this._callbacks=this._callbacks||{},(this._callbacks["$"+s]=this._callbacks["$"+s]||[]).push(o),this};_t.prototype.once=function(s,o){function u(){this.off(s,u),o.apply(this,arguments)}return u.fn=o,this.on(s,u),this};_t.prototype.off=_t.prototype.removeListener=_t.prototype.removeAllListeners=_t.prototype.removeEventListener=function(s,o){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var u=this._callbacks["$"+s];if(!u)return this;if(arguments.length==1)return delete this._callbacks["$"+s],this;for(var c,h=0;h<u.length;h++)if(c=u[h],c===o||c.fn===o){u.splice(h,1);break}return u.length===0&&delete this._callbacks["$"+s],this};_t.prototype.emit=function(s){this._callbacks=this._callbacks||{};for(var o=new Array(arguments.length-1),u=this._callbacks["$"+s],c=1;c<arguments.length;c++)o[c-1]=arguments[c];if(u){u=u.slice(0);for(var c=0,h=u.length;c<h;++c)u[c].apply(this,o)}return this};_t.prototype.emitReserved=_t.prototype.emit;_t.prototype.listeners=function(s){return this._callbacks=this._callbacks||{},this._callbacks["$"+s]||[]};_t.prototype.hasListeners=function(s){return!!this.listeners(s).length};const zf=typeof Promise=="function"&&typeof Promise.resolve=="function"?o=>Promise.resolve().then(o):(o,u)=>u(o,0),Jn=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),vR="arraybuffer";function BE(s,...o){return o.reduce((u,c)=>(s.hasOwnProperty(c)&&(u[c]=s[c]),u),{})}const SR=Jn.setTimeout,ER=Jn.clearTimeout;function jf(s,o){o.useNativeTimers?(s.setTimeoutFn=SR.bind(Jn),s.clearTimeoutFn=ER.bind(Jn)):(s.setTimeoutFn=Jn.setTimeout.bind(Jn),s.clearTimeoutFn=Jn.clearTimeout.bind(Jn))}const NR=1.33;function wR(s){return typeof s=="string"?TR(s):Math.ceil((s.byteLength||s.size)*NR)}function TR(s){let o=0,u=0;for(let c=0,h=s.length;c<h;c++)o=s.charCodeAt(c),o<128?u+=1:o<2048?u+=2:o<55296||o>=57344?u+=3:(c++,u+=4);return u}function kE(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function xR(s){let o="";for(let u in s)s.hasOwnProperty(u)&&(o.length&&(o+="&"),o+=encodeURIComponent(u)+"="+encodeURIComponent(s[u]));return o}function CR(s){let o={},u=s.split("&");for(let c=0,h=u.length;c<h;c++){let y=u[c].split("=");o[decodeURIComponent(y[0])]=decodeURIComponent(y[1])}return o}class RR extends Error{constructor(o,u,c){super(o),this.description=u,this.context=c,this.type="TransportError"}}class ey extends _t{constructor(o){super(),this.writable=!1,jf(this,o),this.opts=o,this.query=o.query,this.socket=o.socket,this.supportsBinary=!o.forceBase64}onError(o,u,c){return super.emitReserved("error",new RR(o,u,c)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(o){this.readyState==="open"&&this.write(o)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(o){const u=Wp(o,this.socket.binaryType);this.onPacket(u)}onPacket(o){super.emitReserved("packet",o)}onClose(o){this.readyState="closed",super.emitReserved("close",o)}pause(o){}createUri(o,u={}){return o+"://"+this._hostname()+this._port()+this.opts.path+this._query(u)}_hostname(){const o=this.opts.hostname;return o.indexOf(":")===-1?o:"["+o+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(o){const u=xR(o);return u.length?"?"+u:""}}class DR extends ey{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(o){this.readyState="pausing";const u=()=>{this.readyState="paused",o()};if(this._polling||!this.writable){let c=0;this._polling&&(c++,this.once("pollComplete",function(){--c||u()})),this.writable||(c++,this.once("drain",function(){--c||u()}))}else u()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(o){const u=c=>{if(this.readyState==="opening"&&c.type==="open"&&this.onOpen(),c.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(c)};pR(o,this.socket.binaryType).forEach(u),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const o=()=>{this.write([{type:"close"}])};this.readyState==="open"?o():this.once("open",o)}write(o){this.writable=!1,mR(o,u=>{this.doWrite(u,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const o=this.opts.secure?"https":"http",u=this.query||{};return this.opts.timestampRequests!==!1&&(u[this.opts.timestampParam]=kE()),!this.supportsBinary&&!u.sid&&(u.b64=1),this.createUri(o,u)}}let qE=!1;try{qE=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const _R=qE;function AR(){}class OR extends DR{constructor(o){if(super(o),typeof location<"u"){const u=location.protocol==="https:";let c=location.port;c||(c=u?"443":"80"),this.xd=typeof location<"u"&&o.hostname!==location.hostname||c!==o.port}}doWrite(o,u){const c=this.request({method:"POST",data:o});c.on("success",u),c.on("error",(h,y)=>{this.onError("xhr post error",h,y)})}doPoll(){const o=this.request();o.on("data",this.onData.bind(this)),o.on("error",(u,c)=>{this.onError("xhr poll error",u,c)}),this.pollXhr=o}}class Ba extends _t{constructor(o,u,c){super(),this.createRequest=o,jf(this,c),this._opts=c,this._method=c.method||"GET",this._uri=u,this._data=c.data!==void 0?c.data:null,this._create()}_create(){var o;const u=BE(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");u.xdomain=!!this._opts.xd;const c=this._xhr=this.createRequest(u);try{c.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){c.setDisableHeaderCheck&&c.setDisableHeaderCheck(!0);for(let h in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(h)&&c.setRequestHeader(h,this._opts.extraHeaders[h])}}catch{}if(this._method==="POST")try{c.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{c.setRequestHeader("Accept","*/*")}catch{}(o=this._opts.cookieJar)===null||o===void 0||o.addCookies(c),"withCredentials"in c&&(c.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(c.timeout=this._opts.requestTimeout),c.onreadystatechange=()=>{var h;c.readyState===3&&((h=this._opts.cookieJar)===null||h===void 0||h.parseCookies(c.getResponseHeader("set-cookie"))),c.readyState===4&&(c.status===200||c.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof c.status=="number"?c.status:0)},0))},c.send(this._data)}catch(h){this.setTimeoutFn(()=>{this._onError(h)},0);return}typeof document<"u"&&(this._index=Ba.requestsCount++,Ba.requests[this._index]=this)}_onError(o){this.emitReserved("error",o,this._xhr),this._cleanup(!0)}_cleanup(o){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=AR,o)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Ba.requests[this._index],this._xhr=null}}_onLoad(){const o=this._xhr.responseText;o!==null&&(this.emitReserved("data",o),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Ba.requestsCount=0;Ba.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",uE);else if(typeof addEventListener=="function"){const s="onpagehide"in Jn?"pagehide":"unload";addEventListener(s,uE,!1)}}function uE(){for(let s in Ba.requests)Ba.requests.hasOwnProperty(s)&&Ba.requests[s].abort()}const UR=(function(){const s=YE({xdomain:!1});return s&&s.responseType!==null})();class MR extends OR{constructor(o){super(o);const u=o&&o.forceBase64;this.supportsBinary=UR&&!u}request(o={}){return Object.assign(o,{xd:this.xd},this.opts),new Ba(YE,this.uri(),o)}}function YE(s){const o=s.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!o||_R))return new XMLHttpRequest}catch{}if(!o)try{return new Jn[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const $E=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class zR extends ey{get name(){return"websocket"}doOpen(){const o=this.uri(),u=this.opts.protocols,c=$E?{}:BE(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(c.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(o,u,c)}catch(h){return this.emitReserved("error",h)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=o=>this.onClose({description:"websocket connection closed",context:o}),this.ws.onmessage=o=>this.onData(o.data),this.ws.onerror=o=>this.onError("websocket error",o)}write(o){this.writable=!1;for(let u=0;u<o.length;u++){const c=o[u],h=u===o.length-1;Pp(c,this.supportsBinary,y=>{try{this.doWrite(c,y)}catch{}h&&zf(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const o=this.opts.secure?"wss":"ws",u=this.query||{};return this.opts.timestampRequests&&(u[this.opts.timestampParam]=kE()),this.supportsBinary||(u.b64=1),this.createUri(o,u)}}const Dp=Jn.WebSocket||Jn.MozWebSocket;class jR extends zR{createSocket(o,u,c){return $E?new Dp(o,u,c):u?new Dp(o,u):new Dp(o)}doWrite(o,u){this.ws.send(u)}}class HR extends ey{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(o){return this.emitReserved("error",o)}this._transport.closed.then(()=>{this.onClose()}).catch(o=>{this.onError("webtransport error",o)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(o=>{const u=gR(Number.MAX_SAFE_INTEGER,this.socket.binaryType),c=o.readable.pipeThrough(u).getReader(),h=yR();h.readable.pipeTo(o.writable),this._writer=h.writable.getWriter();const y=()=>{c.read().then(({done:g,value:x})=>{g||(this.onPacket(x),y())}).catch(g=>{})};y();const E={type:"open"};this.query.sid&&(E.data=`{"sid":"${this.query.sid}"}`),this._writer.write(E).then(()=>this.onOpen())})})}write(o){this.writable=!1;for(let u=0;u<o.length;u++){const c=o[u],h=u===o.length-1;this._writer.write(c).then(()=>{h&&zf(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var o;(o=this._transport)===null||o===void 0||o.close()}}const LR={websocket:jR,webtransport:HR,polling:MR},VR=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,BR=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Hp(s){if(s.length>8e3)throw"URI too long";const o=s,u=s.indexOf("["),c=s.indexOf("]");u!=-1&&c!=-1&&(s=s.substring(0,u)+s.substring(u,c).replace(/:/g,";")+s.substring(c,s.length));let h=VR.exec(s||""),y={},E=14;for(;E--;)y[BR[E]]=h[E]||"";return u!=-1&&c!=-1&&(y.source=o,y.host=y.host.substring(1,y.host.length-1).replace(/;/g,":"),y.authority=y.authority.replace("[","").replace("]","").replace(/;/g,":"),y.ipv6uri=!0),y.pathNames=kR(y,y.path),y.queryKey=qR(y,y.query),y}function kR(s,o){const u=/\/{2,9}/g,c=o.replace(u,"/").split("/");return(o.slice(0,1)=="/"||o.length===0)&&c.splice(0,1),o.slice(-1)=="/"&&c.splice(c.length-1,1),c}function qR(s,o){const u={};return o.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(c,h,y){h&&(u[h]=y)}),u}const Lp=typeof addEventListener=="function"&&typeof removeEventListener=="function",xf=[];Lp&&addEventListener("offline",()=>{xf.forEach(s=>s())},!1);class si extends _t{constructor(o,u){if(super(),this.binaryType=vR,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,o&&typeof o=="object"&&(u=o,o=null),o){const c=Hp(o);u.hostname=c.host,u.secure=c.protocol==="https"||c.protocol==="wss",u.port=c.port,c.query&&(u.query=c.query)}else u.host&&(u.hostname=Hp(u.host).host);jf(this,u),this.secure=u.secure!=null?u.secure:typeof location<"u"&&location.protocol==="https:",u.hostname&&!u.port&&(u.port=this.secure?"443":"80"),this.hostname=u.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=u.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},u.transports.forEach(c=>{const h=c.prototype.name;this.transports.push(h),this._transportsByName[h]=c}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},u),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=CR(this.opts.query)),Lp&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},xf.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(o){const u=Object.assign({},this.opts.query);u.EIO=VE,u.transport=o,this.id&&(u.sid=this.id);const c=Object.assign({},this.opts,{query:u,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[o]);return new this._transportsByName[o](c)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const o=this.opts.rememberUpgrade&&si.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const u=this.createTransport(o);u.open(),this.setTransport(u)}setTransport(o){this.transport&&this.transport.removeAllListeners(),this.transport=o,o.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",u=>this._onClose("transport close",u))}onOpen(){this.readyState="open",si.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(o){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",o),this.emitReserved("heartbeat"),o.type){case"open":this.onHandshake(JSON.parse(o.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const u=new Error("server error");u.code=o.data,this._onError(u);break;case"message":this.emitReserved("data",o.data),this.emitReserved("message",o.data);break}}onHandshake(o){this.emitReserved("handshake",o),this.id=o.sid,this.transport.query.sid=o.sid,this._pingInterval=o.pingInterval,this._pingTimeout=o.pingTimeout,this._maxPayload=o.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const o=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+o,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},o),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const o=this._getWritablePackets();this.transport.send(o),this._prevBufferLen=o.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let u=1;for(let c=0;c<this.writeBuffer.length;c++){const h=this.writeBuffer[c].data;if(h&&(u+=wR(h)),c>0&&u>this._maxPayload)return this.writeBuffer.slice(0,c);u+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const o=Date.now()>this._pingTimeoutTime;return o&&(this._pingTimeoutTime=0,zf(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),o}write(o,u,c){return this._sendPacket("message",o,u,c),this}send(o,u,c){return this._sendPacket("message",o,u,c),this}_sendPacket(o,u,c,h){if(typeof u=="function"&&(h=u,u=void 0),typeof c=="function"&&(h=c,c=null),this.readyState==="closing"||this.readyState==="closed")return;c=c||{},c.compress=c.compress!==!1;const y={type:o,data:u,options:c};this.emitReserved("packetCreate",y),this.writeBuffer.push(y),h&&this.once("flush",h),this.flush()}close(){const o=()=>{this._onClose("forced close"),this.transport.close()},u=()=>{this.off("upgrade",u),this.off("upgradeError",u),o()},c=()=>{this.once("upgrade",u),this.once("upgradeError",u)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?c():o()}):this.upgrading?c():o()),this}_onError(o){if(si.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",o),this._onClose("transport error",o)}_onClose(o,u){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Lp&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const c=xf.indexOf(this._offlineEventListener);c!==-1&&xf.splice(c,1)}this.readyState="closed",this.id=null,this.emitReserved("close",o,u),this.writeBuffer=[],this._prevBufferLen=0}}}si.protocol=VE;class YR extends si{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let o=0;o<this._upgrades.length;o++)this._probe(this._upgrades[o])}_probe(o){let u=this.createTransport(o),c=!1;si.priorWebsocketSuccess=!1;const h=()=>{c||(u.send([{type:"ping",data:"probe"}]),u.once("packet",b=>{if(!c)if(b.type==="pong"&&b.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",u),!u)return;si.priorWebsocketSuccess=u.name==="websocket",this.transport.pause(()=>{c||this.readyState!=="closed"&&(U(),this.setTransport(u),u.send([{type:"upgrade"}]),this.emitReserved("upgrade",u),u=null,this.upgrading=!1,this.flush())})}else{const v=new Error("probe error");v.transport=u.name,this.emitReserved("upgradeError",v)}}))};function y(){c||(c=!0,U(),u.close(),u=null)}const E=b=>{const v=new Error("probe error: "+b);v.transport=u.name,y(),this.emitReserved("upgradeError",v)};function g(){E("transport closed")}function x(){E("socket closed")}function _(b){u&&b.name!==u.name&&y()}const U=()=>{u.removeListener("open",h),u.removeListener("error",E),u.removeListener("close",g),this.off("close",x),this.off("upgrading",_)};u.once("open",h),u.once("error",E),u.once("close",g),this.once("close",x),this.once("upgrading",_),this._upgrades.indexOf("webtransport")!==-1&&o!=="webtransport"?this.setTimeoutFn(()=>{c||u.open()},200):u.open()}onHandshake(o){this._upgrades=this._filterUpgrades(o.upgrades),super.onHandshake(o)}_filterUpgrades(o){const u=[];for(let c=0;c<o.length;c++)~this.transports.indexOf(o[c])&&u.push(o[c]);return u}}let $R=class extends YR{constructor(o,u={}){const c=typeof o=="object"?o:u;(!c.transports||c.transports&&typeof c.transports[0]=="string")&&(c.transports=(c.transports||["polling","websocket","webtransport"]).map(h=>LR[h]).filter(h=>!!h)),super(o,c)}};function GR(s,o="",u){let c=s;u=u||typeof location<"u"&&location,s==null&&(s=u.protocol+"//"+u.host),typeof s=="string"&&(s.charAt(0)==="/"&&(s.charAt(1)==="/"?s=u.protocol+s:s=u.host+s),/^(https?|wss?):\/\//.test(s)||(typeof u<"u"?s=u.protocol+"//"+s:s="https://"+s),c=Hp(s)),c.port||(/^(http|ws)$/.test(c.protocol)?c.port="80":/^(http|ws)s$/.test(c.protocol)&&(c.port="443")),c.path=c.path||"/";const y=c.host.indexOf(":")!==-1?"["+c.host+"]":c.host;return c.id=c.protocol+"://"+y+":"+c.port+o,c.href=c.protocol+"://"+y+(u&&u.port===c.port?"":":"+c.port),c}const XR=typeof ArrayBuffer=="function",QR=s=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(s):s.buffer instanceof ArrayBuffer,GE=Object.prototype.toString,ZR=typeof Blob=="function"||typeof Blob<"u"&&GE.call(Blob)==="[object BlobConstructor]",JR=typeof File=="function"||typeof File<"u"&&GE.call(File)==="[object FileConstructor]";function ty(s){return XR&&(s instanceof ArrayBuffer||QR(s))||ZR&&s instanceof Blob||JR&&s instanceof File}function Cf(s,o){if(!s||typeof s!="object")return!1;if(Array.isArray(s)){for(let u=0,c=s.length;u<c;u++)if(Cf(s[u]))return!0;return!1}if(ty(s))return!0;if(s.toJSON&&typeof s.toJSON=="function"&&arguments.length===1)return Cf(s.toJSON(),!0);for(const u in s)if(Object.prototype.hasOwnProperty.call(s,u)&&Cf(s[u]))return!0;return!1}function IR(s){const o=[],u=s.data,c=s;return c.data=Vp(u,o),c.attachments=o.length,{packet:c,buffers:o}}function Vp(s,o){if(!s)return s;if(ty(s)){const u={_placeholder:!0,num:o.length};return o.push(s),u}else if(Array.isArray(s)){const u=new Array(s.length);for(let c=0;c<s.length;c++)u[c]=Vp(s[c],o);return u}else if(typeof s=="object"&&!(s instanceof Date)){const u={};for(const c in s)Object.prototype.hasOwnProperty.call(s,c)&&(u[c]=Vp(s[c],o));return u}return s}function KR(s,o){return s.data=Bp(s.data,o),delete s.attachments,s}function Bp(s,o){if(!s)return s;if(s&&s._placeholder===!0){if(typeof s.num=="number"&&s.num>=0&&s.num<o.length)return o[s.num];throw new Error("illegal attachments")}else if(Array.isArray(s))for(let u=0;u<s.length;u++)s[u]=Bp(s[u],o);else if(typeof s=="object")for(const u in s)Object.prototype.hasOwnProperty.call(s,u)&&(s[u]=Bp(s[u],o));return s}var Sf={exports:{}},_p,cE;function FR(){if(cE)return _p;cE=1;var s=1e3,o=s*60,u=o*60,c=u*24,h=c*7,y=c*365.25;_p=function(U,b){b=b||{};var v=typeof U;if(v==="string"&&U.length>0)return E(U);if(v==="number"&&isFinite(U))return b.long?x(U):g(U);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(U))};function E(U){if(U=String(U),!(U.length>100)){var b=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(U);if(b){var v=parseFloat(b[1]),V=(b[2]||"ms").toLowerCase();switch(V){case"years":case"year":case"yrs":case"yr":case"y":return v*y;case"weeks":case"week":case"w":return v*h;case"days":case"day":case"d":return v*c;case"hours":case"hour":case"hrs":case"hr":case"h":return v*u;case"minutes":case"minute":case"mins":case"min":case"m":return v*o;case"seconds":case"second":case"secs":case"sec":case"s":return v*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return v;default:return}}}}function g(U){var b=Math.abs(U);return b>=c?Math.round(U/c)+"d":b>=u?Math.round(U/u)+"h":b>=o?Math.round(U/o)+"m":b>=s?Math.round(U/s)+"s":U+"ms"}function x(U){var b=Math.abs(U);return b>=c?_(U,b,c,"day"):b>=u?_(U,b,u,"hour"):b>=o?_(U,b,o,"minute"):b>=s?_(U,b,s,"second"):U+" ms"}function _(U,b,v,V){var H=b>=v*1.5;return Math.round(U/v)+" "+V+(H?"s":"")}return _p}var Ap,fE;function PR(){if(fE)return Ap;fE=1;function s(o){c.debug=c,c.default=c,c.coerce=_,c.disable=g,c.enable=y,c.enabled=x,c.humanize=FR(),c.destroy=U,Object.keys(o).forEach(b=>{c[b]=o[b]}),c.names=[],c.skips=[],c.formatters={};function u(b){let v=0;for(let V=0;V<b.length;V++)v=(v<<5)-v+b.charCodeAt(V),v|=0;return c.colors[Math.abs(v)%c.colors.length]}c.selectColor=u;function c(b){let v,V=null,H,$;function k(...Q){if(!k.enabled)return;const X=k,oe=Number(new Date),me=oe-(v||oe);X.diff=me,X.prev=v,X.curr=oe,v=oe,Q[0]=c.coerce(Q[0]),typeof Q[0]!="string"&&Q.unshift("%O");let xe=0;Q[0]=Q[0].replace(/%([a-zA-Z%])/g,(We,Me)=>{if(We==="%%")return"%";xe++;const Ze=c.formatters[Me];if(typeof Ze=="function"){const I=Q[xe];We=Ze.call(X,I),Q.splice(xe,1),xe--}return We}),c.formatArgs.call(X,Q),(X.log||c.log).apply(X,Q)}return k.namespace=b,k.useColors=c.useColors(),k.color=c.selectColor(b),k.extend=h,k.destroy=c.destroy,Object.defineProperty(k,"enabled",{enumerable:!0,configurable:!1,get:()=>V!==null?V:(H!==c.namespaces&&(H=c.namespaces,$=c.enabled(b)),$),set:Q=>{V=Q}}),typeof c.init=="function"&&c.init(k),k}function h(b,v){const V=c(this.namespace+(typeof v>"u"?":":v)+b);return V.log=this.log,V}function y(b){c.save(b),c.namespaces=b,c.names=[],c.skips=[];const v=(typeof b=="string"?b:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const V of v)V[0]==="-"?c.skips.push(V.slice(1)):c.names.push(V)}function E(b,v){let V=0,H=0,$=-1,k=0;for(;V<b.length;)if(H<v.length&&(v[H]===b[V]||v[H]==="*"))v[H]==="*"?($=H,k=V,H++):(V++,H++);else if($!==-1)H=$+1,k++,V=k;else return!1;for(;H<v.length&&v[H]==="*";)H++;return H===v.length}function g(){const b=[...c.names,...c.skips.map(v=>"-"+v)].join(",");return c.enable(""),b}function x(b){for(const v of c.skips)if(E(b,v))return!1;for(const v of c.names)if(E(b,v))return!0;return!1}function _(b){return b instanceof Error?b.stack||b.message:b}function U(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return c.enable(c.load()),c}return Ap=s,Ap}var dE;function WR(){return dE||(dE=1,(function(s,o){var u={};o.formatArgs=h,o.save=y,o.load=E,o.useColors=c,o.storage=g(),o.destroy=(()=>{let _=!1;return()=>{_||(_=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),o.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function c(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let _;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(_=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(_[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function h(_){if(_[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+_[0]+(this.useColors?"%c ":" ")+"+"+s.exports.humanize(this.diff),!this.useColors)return;const U="color: "+this.color;_.splice(1,0,U,"color: inherit");let b=0,v=0;_[0].replace(/%[a-zA-Z%]/g,V=>{V!=="%%"&&(b++,V==="%c"&&(v=b))}),_.splice(v,0,U)}o.log=console.debug||console.log||(()=>{});function y(_){try{_?o.storage.setItem("debug",_):o.storage.removeItem("debug")}catch{}}function E(){let _;try{_=o.storage.getItem("debug")||o.storage.getItem("DEBUG")}catch{}return!_&&typeof process<"u"&&"env"in process&&(_=u.DEBUG),_}function g(){try{return localStorage}catch{}}s.exports=PR()(o);const{formatters:x}=s.exports;x.j=function(_){try{return JSON.stringify(_)}catch(U){return"[UnexpectedJSONParseError]: "+U.message}}})(Sf,Sf.exports)),Sf.exports}var eD=WR();const tD=Of(eD),kp=tD("socket.io-parser"),nD=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var Xe;(function(s){s[s.CONNECT=0]="CONNECT",s[s.DISCONNECT=1]="DISCONNECT",s[s.EVENT=2]="EVENT",s[s.ACK=3]="ACK",s[s.CONNECT_ERROR=4]="CONNECT_ERROR",s[s.BINARY_EVENT=5]="BINARY_EVENT",s[s.BINARY_ACK=6]="BINARY_ACK"})(Xe||(Xe={}));class aD{constructor(o){this.replacer=o}encode(o){return kp("encoding packet %j",o),(o.type===Xe.EVENT||o.type===Xe.ACK)&&Cf(o)?this.encodeAsBinary({type:o.type===Xe.EVENT?Xe.BINARY_EVENT:Xe.BINARY_ACK,nsp:o.nsp,data:o.data,id:o.id}):[this.encodeAsString(o)]}encodeAsString(o){let u=""+o.type;return(o.type===Xe.BINARY_EVENT||o.type===Xe.BINARY_ACK)&&(u+=o.attachments+"-"),o.nsp&&o.nsp!=="/"&&(u+=o.nsp+","),o.id!=null&&(u+=o.id),o.data!=null&&(u+=JSON.stringify(o.data,this.replacer)),kp("encoded %j as %s",o,u),u}encodeAsBinary(o){const u=IR(o),c=this.encodeAsString(u.packet),h=u.buffers;return h.unshift(c),h}}class ny extends _t{constructor(o){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof o=="function"?{reviver:o}:o)}add(o){let u;if(typeof o=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");u=this.decodeString(o);const c=u.type===Xe.BINARY_EVENT;c||u.type===Xe.BINARY_ACK?(u.type=c?Xe.EVENT:Xe.ACK,this.reconstructor=new lD(u),u.attachments===0&&super.emitReserved("decoded",u)):super.emitReserved("decoded",u)}else if(ty(o)||o.base64)if(this.reconstructor)u=this.reconstructor.takeBinaryData(o),u&&(this.reconstructor=null,super.emitReserved("decoded",u));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+o)}decodeString(o){let u=0;const c={type:Number(o.charAt(0))};if(Xe[c.type]===void 0)throw new Error("unknown packet type "+c.type);if(c.type===Xe.BINARY_EVENT||c.type===Xe.BINARY_ACK){const y=u+1;for(;o.charAt(++u)!=="-"&&u!=o.length;);const E=o.substring(y,u);if(E!=Number(E)||o.charAt(u)!=="-")throw new Error("Illegal attachments");const g=Number(E);if(!iD(g)||g<0)throw new Error("Illegal attachments");if(g>this.opts.maxAttachments)throw new Error("too many attachments");c.attachments=g}if(o.charAt(u+1)==="/"){const y=u+1;for(;++u&&!(o.charAt(u)===","||u===o.length););c.nsp=o.substring(y,u)}else c.nsp="/";const h=o.charAt(u+1);if(h!==""&&Number(h)==h){const y=u+1;for(;++u;){const E=o.charAt(u);if(E==null||Number(E)!=E){--u;break}if(u===o.length)break}c.id=Number(o.substring(y,u+1))}if(o.charAt(++u)){const y=this.tryParse(o.substr(u));if(ny.isPayloadValid(c.type,y))c.data=y;else throw new Error("invalid payload")}return kp("decoded %s as %j",o,c),c}tryParse(o){try{return JSON.parse(o,this.opts.reviver)}catch{return!1}}static isPayloadValid(o,u){switch(o){case Xe.CONNECT:return hE(u);case Xe.DISCONNECT:return u===void 0;case Xe.CONNECT_ERROR:return typeof u=="string"||hE(u);case Xe.EVENT:case Xe.BINARY_EVENT:return Array.isArray(u)&&(typeof u[0]=="number"||typeof u[0]=="string"&&nD.indexOf(u[0])===-1);case Xe.ACK:case Xe.BINARY_ACK:return Array.isArray(u)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class lD{constructor(o){this.packet=o,this.buffers=[],this.reconPack=o}takeBinaryData(o){if(this.buffers.push(o),this.buffers.length===this.reconPack.attachments){const u=KR(this.reconPack,this.buffers);return this.finishedReconstruction(),u}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const iD=Number.isInteger||function(s){return typeof s=="number"&&isFinite(s)&&Math.floor(s)===s};function hE(s){return Object.prototype.toString.call(s)==="[object Object]"}const oD=Object.freeze(Object.defineProperty({__proto__:null,Decoder:ny,Encoder:aD,get PacketType(){return Xe}},Symbol.toStringTag,{value:"Module"}));function ua(s,o,u){return s.on(o,u),function(){s.off(o,u)}}const sD=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class XE extends _t{constructor(o,u,c){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=o,this.nsp=u,c&&c.auth&&(this.auth=c.auth),this._opts=Object.assign({},c),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const o=this.io;this.subs=[ua(o,"open",this.onopen.bind(this)),ua(o,"packet",this.onpacket.bind(this)),ua(o,"error",this.onerror.bind(this)),ua(o,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...o){return o.unshift("message"),this.emit.apply(this,o),this}emit(o,...u){var c,h,y;if(sD.hasOwnProperty(o))throw new Error('"'+o.toString()+'" is a reserved event name');if(u.unshift(o),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(u),this;const E={type:Xe.EVENT,data:u};if(E.options={},E.options.compress=this.flags.compress!==!1,typeof u[u.length-1]=="function"){const U=this.ids++,b=u.pop();this._registerAckCallback(U,b),E.id=U}const g=(h=(c=this.io.engine)===null||c===void 0?void 0:c.transport)===null||h===void 0?void 0:h.writable,x=this.connected&&!(!((y=this.io.engine)===null||y===void 0)&&y._hasPingExpired());return this.flags.volatile&&!g||(x?(this.notifyOutgoingListeners(E),this.packet(E)):this.sendBuffer.push(E)),this.flags={},this}_registerAckCallback(o,u){var c;const h=(c=this.flags.timeout)!==null&&c!==void 0?c:this._opts.ackTimeout;if(h===void 0){this.acks[o]=u;return}const y=this.io.setTimeoutFn(()=>{delete this.acks[o];for(let g=0;g<this.sendBuffer.length;g++)this.sendBuffer[g].id===o&&this.sendBuffer.splice(g,1);u.call(this,new Error("operation has timed out"))},h),E=(...g)=>{this.io.clearTimeoutFn(y),u.apply(this,g)};E.withError=!0,this.acks[o]=E}emitWithAck(o,...u){return new Promise((c,h)=>{const y=(E,g)=>E?h(E):c(g);y.withError=!0,u.push(y),this.emit(o,...u)})}_addToQueue(o){let u;typeof o[o.length-1]=="function"&&(u=o.pop());const c={id:this._queueSeq++,tryCount:0,pending:!1,args:o,flags:Object.assign({fromQueue:!0},this.flags)};o.push((h,...y)=>(this._queue[0],h!==null?c.tryCount>this._opts.retries&&(this._queue.shift(),u&&u(h)):(this._queue.shift(),u&&u(null,...y)),c.pending=!1,this._drainQueue())),this._queue.push(c),this._drainQueue()}_drainQueue(o=!1){if(!this.connected||this._queue.length===0)return;const u=this._queue[0];u.pending&&!o||(u.pending=!0,u.tryCount++,this.flags=u.flags,this.emit.apply(this,u.args))}packet(o){o.nsp=this.nsp,this.io._packet(o)}onopen(){typeof this.auth=="function"?this.auth(o=>{this._sendConnectPacket(o)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(o){this.packet({type:Xe.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},o):o})}onerror(o){this.connected||this.emitReserved("connect_error",o)}onclose(o,u){this.connected=!1,delete this.id,this.emitReserved("disconnect",o,u),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(o=>{if(!this.sendBuffer.some(c=>String(c.id)===o)){const c=this.acks[o];delete this.acks[o],c.withError&&c.call(this,new Error("socket has been disconnected"))}})}onpacket(o){if(o.nsp===this.nsp)switch(o.type){case Xe.CONNECT:o.data&&o.data.sid?this.onconnect(o.data.sid,o.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Xe.EVENT:case Xe.BINARY_EVENT:this.onevent(o);break;case Xe.ACK:case Xe.BINARY_ACK:this.onack(o);break;case Xe.DISCONNECT:this.ondisconnect();break;case Xe.CONNECT_ERROR:this.destroy();const c=new Error(o.data.message);c.data=o.data.data,this.emitReserved("connect_error",c);break}}onevent(o){const u=o.data||[];o.id!=null&&u.push(this.ack(o.id)),this.connected?this.emitEvent(u):this.receiveBuffer.push(Object.freeze(u))}emitEvent(o){if(this._anyListeners&&this._anyListeners.length){const u=this._anyListeners.slice();for(const c of u)c.apply(this,o)}super.emit.apply(this,o),this._pid&&o.length&&typeof o[o.length-1]=="string"&&(this._lastOffset=o[o.length-1])}ack(o){const u=this;let c=!1;return function(...h){c||(c=!0,u.packet({type:Xe.ACK,id:o,data:h}))}}onack(o){const u=this.acks[o.id];typeof u=="function"&&(delete this.acks[o.id],u.withError&&o.data.unshift(null),u.apply(this,o.data))}onconnect(o,u){this.id=o,this.recovered=u&&this._pid===u,this._pid=u,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(o=>this.emitEvent(o)),this.receiveBuffer=[],this.sendBuffer.forEach(o=>{this.notifyOutgoingListeners(o),this.packet(o)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(o=>o()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Xe.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(o){return this.flags.compress=o,this}get volatile(){return this.flags.volatile=!0,this}timeout(o){return this.flags.timeout=o,this}onAny(o){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(o),this}prependAny(o){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(o),this}offAny(o){if(!this._anyListeners)return this;if(o){const u=this._anyListeners;for(let c=0;c<u.length;c++)if(o===u[c])return u.splice(c,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(o){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(o),this}prependAnyOutgoing(o){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(o),this}offAnyOutgoing(o){if(!this._anyOutgoingListeners)return this;if(o){const u=this._anyOutgoingListeners;for(let c=0;c<u.length;c++)if(o===u[c])return u.splice(c,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(o){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const u=this._anyOutgoingListeners.slice();for(const c of u)c.apply(this,o.data)}}}function rs(s){s=s||{},this.ms=s.min||100,this.max=s.max||1e4,this.factor=s.factor||2,this.jitter=s.jitter>0&&s.jitter<=1?s.jitter:0,this.attempts=0}rs.prototype.duration=function(){var s=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var o=Math.random(),u=Math.floor(o*this.jitter*s);s=(Math.floor(o*10)&1)==0?s-u:s+u}return Math.min(s,this.max)|0};rs.prototype.reset=function(){this.attempts=0};rs.prototype.setMin=function(s){this.ms=s};rs.prototype.setMax=function(s){this.max=s};rs.prototype.setJitter=function(s){this.jitter=s};class qp extends _t{constructor(o,u){var c;super(),this.nsps={},this.subs=[],o&&typeof o=="object"&&(u=o,o=void 0),u=u||{},u.path=u.path||"/socket.io",this.opts=u,jf(this,u),this.reconnection(u.reconnection!==!1),this.reconnectionAttempts(u.reconnectionAttempts||1/0),this.reconnectionDelay(u.reconnectionDelay||1e3),this.reconnectionDelayMax(u.reconnectionDelayMax||5e3),this.randomizationFactor((c=u.randomizationFactor)!==null&&c!==void 0?c:.5),this.backoff=new rs({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(u.timeout==null?2e4:u.timeout),this._readyState="closed",this.uri=o;const h=u.parser||oD;this.encoder=new h.Encoder,this.decoder=new h.Decoder,this._autoConnect=u.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(o){return arguments.length?(this._reconnection=!!o,o||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(o){return o===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=o,this)}reconnectionDelay(o){var u;return o===void 0?this._reconnectionDelay:(this._reconnectionDelay=o,(u=this.backoff)===null||u===void 0||u.setMin(o),this)}randomizationFactor(o){var u;return o===void 0?this._randomizationFactor:(this._randomizationFactor=o,(u=this.backoff)===null||u===void 0||u.setJitter(o),this)}reconnectionDelayMax(o){var u;return o===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=o,(u=this.backoff)===null||u===void 0||u.setMax(o),this)}timeout(o){return arguments.length?(this._timeout=o,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(o){if(~this._readyState.indexOf("open"))return this;this.engine=new $R(this.uri,this.opts);const u=this.engine,c=this;this._readyState="opening",this.skipReconnect=!1;const h=ua(u,"open",function(){c.onopen(),o&&o()}),y=g=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",g),o?o(g):this.maybeReconnectOnOpen()},E=ua(u,"error",y);if(this._timeout!==!1){const g=this._timeout,x=this.setTimeoutFn(()=>{h(),y(new Error("timeout")),u.close()},g);this.opts.autoUnref&&x.unref(),this.subs.push(()=>{this.clearTimeoutFn(x)})}return this.subs.push(h),this.subs.push(E),this}connect(o){return this.open(o)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const o=this.engine;this.subs.push(ua(o,"ping",this.onping.bind(this)),ua(o,"data",this.ondata.bind(this)),ua(o,"error",this.onerror.bind(this)),ua(o,"close",this.onclose.bind(this)),ua(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(o){try{this.decoder.add(o)}catch(u){this.onclose("parse error",u)}}ondecoded(o){zf(()=>{this.emitReserved("packet",o)},this.setTimeoutFn)}onerror(o){this.emitReserved("error",o)}socket(o,u){let c=this.nsps[o];return c?this._autoConnect&&!c.active&&c.connect():(c=new XE(this,o,u),this.nsps[o]=c),c}_destroy(o){const u=Object.keys(this.nsps);for(const c of u)if(this.nsps[c].active)return;this._close()}_packet(o){const u=this.encoder.encode(o);for(let c=0;c<u.length;c++)this.engine.write(u[c],o.options)}cleanup(){this.subs.forEach(o=>o()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(o,u){var c;this.cleanup(),(c=this.engine)===null||c===void 0||c.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",o,u),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const o=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const u=this.backoff.duration();this._reconnecting=!0;const c=this.setTimeoutFn(()=>{o.skipReconnect||(this.emitReserved("reconnect_attempt",o.backoff.attempts),!o.skipReconnect&&o.open(h=>{h?(o._reconnecting=!1,o.reconnect(),this.emitReserved("reconnect_error",h)):o.onreconnect()}))},u);this.opts.autoUnref&&c.unref(),this.subs.push(()=>{this.clearTimeoutFn(c)})}}onreconnect(){const o=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",o)}}const $r={};function Rf(s,o){typeof s=="object"&&(o=s,s=void 0),o=o||{};const u=GR(s,o.path||"/socket.io"),c=u.source,h=u.id,y=u.path,E=$r[h]&&y in $r[h].nsps,g=o.forceNew||o["force new connection"]||o.multiplex===!1||E;let x;return g?x=new qp(c,o):($r[h]||($r[h]=new qp(c,o)),x=$r[h]),u.query&&!o.query&&(o.query=u.queryKey),x.socket(u.path,o)}Object.assign(Rf,{Manager:qp,Socket:XE,io:Rf,connect:Rf});var Df={exports:{}},rD=Df.exports,mE;function uD(){return mE||(mE=1,(function(s,o){(function(u,c){s.exports=c()})(rD,(function(){var u=1e3,c=6e4,h=36e5,y="millisecond",E="second",g="minute",x="hour",_="day",U="week",b="month",v="quarter",V="year",H="date",$="Invalid Date",k=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Q=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(se){var ee=["th","st","nd","rd"],M=se%100;return"["+se+(ee[(M-20)%10]||ee[M]||ee[0])+"]"}},oe=function(se,ee,M){var G=String(se);return!G||G.length>=ee?se:""+Array(ee+1-G.length).join(M)+se},me={s:oe,z:function(se){var ee=-se.utcOffset(),M=Math.abs(ee),G=Math.floor(M/60),Y=M%60;return(ee<=0?"+":"-")+oe(G,2,"0")+":"+oe(Y,2,"0")},m:function se(ee,M){if(ee.date()<M.date())return-se(M,ee);var G=12*(M.year()-ee.year())+(M.month()-ee.month()),Y=ee.clone().add(G,b),ne=M-Y<0,le=ee.clone().add(G+(ne?-1:1),b);return+(-(G+(M-Y)/(ne?Y-le:le-Y))||0)},a:function(se){return se<0?Math.ceil(se)||0:Math.floor(se)},p:function(se){return{M:b,y:V,w:U,d:_,D:H,h:x,m:g,s:E,ms:y,Q:v}[se]||String(se||"").toLowerCase().replace(/s$/,"")},u:function(se){return se===void 0}},xe="en",ft={};ft[xe]=X;var We="$isDayjsObject",Me=function(se){return se instanceof ge||!(!se||!se[We])},Ze=function se(ee,M,G){var Y;if(!ee)return xe;if(typeof ee=="string"){var ne=ee.toLowerCase();ft[ne]&&(Y=ne),M&&(ft[ne]=M,Y=ne);var le=ee.split("-");if(!Y&&le.length>1)return se(le[0])}else{var B=ee.name;ft[B]=ee,Y=B}return!G&&Y&&(xe=Y),Y||!G&&xe},I=function(se,ee){if(Me(se))return se.clone();var M=typeof ee=="object"?ee:{};return M.date=se,M.args=arguments,new ge(M)},be=me;be.l=Ze,be.i=Me,be.w=function(se,ee){return I(se,{locale:ee.$L,utc:ee.$u,x:ee.$x,$offset:ee.$offset})};var ge=(function(){function se(M){this.$L=Ze(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[We]=!0}var ee=se.prototype;return ee.parse=function(M){this.$d=(function(G){var Y=G.date,ne=G.utc;if(Y===null)return new Date(NaN);if(be.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var le=Y.match(k);if(le){var B=le[2]-1||0,ie=(le[7]||"0").substring(0,3);return ne?new Date(Date.UTC(le[1],B,le[3]||1,le[4]||0,le[5]||0,le[6]||0,ie)):new Date(le[1],B,le[3]||1,le[4]||0,le[5]||0,le[6]||0,ie)}}return new Date(Y)})(M),this.init()},ee.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},ee.$utils=function(){return be},ee.isValid=function(){return this.$d.toString()!==$},ee.isSame=function(M,G){var Y=I(M);return this.startOf(G)<=Y&&Y<=this.endOf(G)},ee.isAfter=function(M,G){return I(M)<this.startOf(G)},ee.isBefore=function(M,G){return this.endOf(G)<I(M)},ee.$g=function(M,G,Y){return be.u(M)?this[G]:this.set(Y,M)},ee.unix=function(){return Math.floor(this.valueOf()/1e3)},ee.valueOf=function(){return this.$d.getTime()},ee.startOf=function(M,G){var Y=this,ne=!!be.u(G)||G,le=be.p(M),B=function(ue,ke){var F=be.w(Y.$u?Date.UTC(Y.$y,ke,ue):new Date(Y.$y,ke,ue),Y);return ne?F:F.endOf(_)},ie=function(ue,ke){return be.w(Y.toDate()[ue].apply(Y.toDate("s"),(ne?[0,0,0,0]:[23,59,59,999]).slice(ke)),Y)},ve=this.$W,de=this.$M,Qe=this.$D,Bt="set"+(this.$u?"UTC":"");switch(le){case V:return ne?B(1,0):B(31,11);case b:return ne?B(1,de):B(0,de+1);case U:var Ye=this.$locale().weekStart||0,K=(ve<Ye?ve+7:ve)-Ye;return B(ne?Qe-K:Qe+(6-K),de);case _:case H:return ie(Bt+"Hours",0);case x:return ie(Bt+"Minutes",1);case g:return ie(Bt+"Seconds",2);case E:return ie(Bt+"Milliseconds",3);default:return this.clone()}},ee.endOf=function(M){return this.startOf(M,!1)},ee.$set=function(M,G){var Y,ne=be.p(M),le="set"+(this.$u?"UTC":""),B=(Y={},Y[_]=le+"Date",Y[H]=le+"Date",Y[b]=le+"Month",Y[V]=le+"FullYear",Y[x]=le+"Hours",Y[g]=le+"Minutes",Y[E]=le+"Seconds",Y[y]=le+"Milliseconds",Y)[ne],ie=ne===_?this.$D+(G-this.$W):G;if(ne===b||ne===V){var ve=this.clone().set(H,1);ve.$d[B](ie),ve.init(),this.$d=ve.set(H,Math.min(this.$D,ve.daysInMonth())).$d}else B&&this.$d[B](ie);return this.init(),this},ee.set=function(M,G){return this.clone().$set(M,G)},ee.get=function(M){return this[be.p(M)]()},ee.add=function(M,G){var Y,ne=this;M=Number(M);var le=be.p(G),B=function(de){var Qe=I(ne);return be.w(Qe.date(Qe.date()+Math.round(de*M)),ne)};if(le===b)return this.set(b,this.$M+M);if(le===V)return this.set(V,this.$y+M);if(le===_)return B(1);if(le===U)return B(7);var ie=(Y={},Y[g]=c,Y[x]=h,Y[E]=u,Y)[le]||1,ve=this.$d.getTime()+M*ie;return be.w(ve,this)},ee.subtract=function(M,G){return this.add(-1*M,G)},ee.format=function(M){var G=this,Y=this.$locale();if(!this.isValid())return Y.invalidDate||$;var ne=M||"YYYY-MM-DDTHH:mm:ssZ",le=be.z(this),B=this.$H,ie=this.$m,ve=this.$M,de=Y.weekdays,Qe=Y.months,Bt=Y.meridiem,Ye=function(ke,F,Ft,Mt){return ke&&(ke[F]||ke(G,ne))||Ft[F].slice(0,Mt)},K=function(ke){return be.s(B%12||12,ke,"0")},ue=Bt||function(ke,F,Ft){var Mt=ke<12?"AM":"PM";return Ft?Mt.toLowerCase():Mt};return ne.replace(Q,(function(ke,F){return F||(function(Ft){switch(Ft){case"YY":return String(G.$y).slice(-2);case"YYYY":return be.s(G.$y,4,"0");case"M":return ve+1;case"MM":return be.s(ve+1,2,"0");case"MMM":return Ye(Y.monthsShort,ve,Qe,3);case"MMMM":return Ye(Qe,ve);case"D":return G.$D;case"DD":return be.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return Ye(Y.weekdaysMin,G.$W,de,2);case"ddd":return Ye(Y.weekdaysShort,G.$W,de,3);case"dddd":return de[G.$W];case"H":return String(B);case"HH":return be.s(B,2,"0");case"h":return K(1);case"hh":return K(2);case"a":return ue(B,ie,!0);case"A":return ue(B,ie,!1);case"m":return String(ie);case"mm":return be.s(ie,2,"0");case"s":return String(G.$s);case"ss":return be.s(G.$s,2,"0");case"SSS":return be.s(G.$ms,3,"0");case"Z":return le}return null})(ke)||le.replace(":","")}))},ee.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ee.diff=function(M,G,Y){var ne,le=this,B=be.p(G),ie=I(M),ve=(ie.utcOffset()-this.utcOffset())*c,de=this-ie,Qe=function(){return be.m(le,ie)};switch(B){case V:ne=Qe()/12;break;case b:ne=Qe();break;case v:ne=Qe()/3;break;case U:ne=(de-ve)/6048e5;break;case _:ne=(de-ve)/864e5;break;case x:ne=de/h;break;case g:ne=de/c;break;case E:ne=de/u;break;default:ne=de}return Y?ne:be.a(ne)},ee.daysInMonth=function(){return this.endOf(b).$D},ee.$locale=function(){return ft[this.$L]},ee.locale=function(M,G){if(!M)return this.$L;var Y=this.clone(),ne=Ze(M,G,!0);return ne&&(Y.$L=ne),Y},ee.clone=function(){return be.w(this.$d,this)},ee.toDate=function(){return new Date(this.valueOf())},ee.toJSON=function(){return this.isValid()?this.toISOString():null},ee.toISOString=function(){return this.$d.toISOString()},ee.toString=function(){return this.$d.toUTCString()},se})(),Te=ge.prototype;return I.prototype=Te,[["$ms",y],["$s",E],["$m",g],["$H",x],["$W",_],["$M",b],["$y",V],["$D",H]].forEach((function(se){Te[se[1]]=function(ee){return this.$g(ee,se[0],se[1])}})),I.extend=function(se,ee){return se.$i||(se(ee,ge,I),se.$i=!0),I},I.locale=Ze,I.isDayjs=Me,I.unix=function(se){return I(1e3*se)},I.en=ft[xe],I.Ls=ft,I.p={},I}))})(Df)),Df.exports}var cD=uD();const fD=Of(cD);let dD="/api";async function Kt(s,o){const u=localStorage.getItem("token"),c={"Content-Type":"application/json",...u?{"user-token":u}:{},...(o==null?void 0:o.headers)||{}},y=await(await fetch(`${dD}${s}`,{...o,headers:c})).json();return y!=null&&y.success?y:Promise.reject(y)}async function hD(s,o){return Kt("/login",{method:"POST",body:JSON.stringify({username:s,password:o})})}async function mD(s,o,u){return Kt("/register",{method:"POST",body:JSON.stringify({username:s,password:o,inviteCode:u})})}async function pD(s,o=["."],u="",c=void 0){return Kt("/addTask",{method:"POST",body:JSON.stringify({branch:s,packagePaths:o,commit:u,notify:c})})}async function yD(){return Kt("/getAllPackage")}async function gD(){return Kt("/getAllLog")}async function bD(){return Kt("/getAllBackup")}async function vD(s){return Kt("/cancelTask",{method:"POST",body:JSON.stringify({taskId:s})})}async function SD(s){return Kt("/restore",{method:"POST",body:JSON.stringify({fileName:s})})}async function ED(){return Kt("/getAllCommand")}async function ND(){return Kt("/getNoticeList")}async function wD(s,o){return Kt("/manualTriggerNotice",{method:"POST",body:JSON.stringify({httpsOrigin:s,branch:o})})}async function TD(s){return Kt("/getUserInfo")}async function QE(){return Kt("/getAllUsers")}async function xD(s,o){return Kt("/updateUserRole",{method:"POST",body:JSON.stringify({userId:s,newRole:o})})}async function ZE(){return Kt("/inviteCodes")}async function CD(){return Kt("/generateInviteCode",{method:"POST"})}const RD=(s=+Date.now())=>fD(s).format("YYYY-MM-DD HH:mm:ss");function DD(){const s=O.useRef(null),o=O.useRef(""),u=O.useRef(""),c=O.useRef(""),[h,y]=O.useState([]),[E,g]=O.useState([]),[x,_]=O.useState([]),[U,b]=O.useState([]);O.useEffect(()=>{const H=localStorage.getItem("token")||"";o.current=localStorage.getItem("userId")||"";const $=Rf({path:"/ws/",auth:{token:H,lastChatId:u.current,lastBuildId:c.current},reconnectionDelayMax:1e4});return s.current=$,$.on("connect_error",k=>{k.message==="invalid token"&&(localStorage.removeItem("token"),localStorage.removeItem("userId"),window.location.href="/login")}),$.on("on:msg-getAllChat",k=>{y(Q=>{const X=new Set(Q.map(xe=>xe.id)),oe=k.filter(xe=>!X.has(xe.id)),me=[...Q,...oe];return me.length&&(u.current=me[me.length-1].id),me})}),$.on("on:msg-getAllBuild",k=>{g(Q=>{const X=new Set(Q.map(xe=>xe.id)),oe=k.filter(xe=>!X.has(xe.id)),me=[...Q,...oe];return me.length&&(c.current=me[me.length-1].id),me})}),$.on("on:msg-chat",k=>{y(Q=>[...Q,k]),u.current=k.id}),$.on("on:msg-build",k=>{g(Q=>{const X=Q.find(oe=>oe.taskId===k.taskId);return X?(X.msg=X.msg+k.msg,X.status=k.status,[...Q]):[...Q,k]}),c.current=k.id}),$.io.on("reconnect",()=>{$.auth={...$.auth,lastChatId:u.current,lastBuildId:c.current}}),ED().then(k=>_(k.list||[])).catch(()=>{}),yD().then(k=>b((k.list||[]).sort())).catch(()=>{}),()=>{$.disconnect()}},[]);const v=O.useCallback(H=>{var $;!(($=s.current)!=null&&$.id)||!H||s.current.emit("on:msg-chat",{ctxType:"ctx:txt",msg:H})},[]),V=O.useCallback(H=>{var k;if(!((k=s.current)!=null&&k.id)||!H.length)return;const $=Array.from(H).map(Q=>({file:Q,name:Q.name,size:Q.size,type:Q.type}));s.current.emit("on:msg-chat",{ctxType:"ctx:imgs",files:$})},[]);return{chatMessages:h,buildMessages:E,commandList:x,pkgList:U,sendMessage:v,sendImages:V,userIdRef:o,formatTime:RD}}function pE(s){const o=O.useRef(null),u=O.useRef(!0),c=(h=!1)=>{o.current&&(u.current||h)&&setTimeout(()=>{var y;(y=o.current)==null||y.scrollTo({top:o.current.scrollHeight,behavior:"smooth"})},50)};return O.useEffect(()=>{const h=o.current;if(!h)return;const y=()=>{u.current=h.scrollHeight-h.offsetHeight-h.scrollTop<80,u.current&&(s==null||s())};return h.addEventListener("scroll",y),()=>h.removeEventListener("scroll",y)},[s]),[o,c,u]}const _D="_modalRoot_1nlw0_1",AD={modalRoot:_D},OD="_modalContainerShow_naiks_21",UD="_modalContainerHide_naiks_24",MD="_closing_naiks_28",Op={modalContainerShow:OD,modalContainerHide:UD,closing:MD},zD=(s="modal")=>`${s}_${Date.now()}_${Math.random().toString(36).slice(2,8)}`;function jD({modalId:s,children:o,width:u="520px",isClickMaskClose:c=!0,onClose:h,isShow:y,zIndex:E,onHide:g,onRemove:x,getTopId:_}){const U=()=>{h==null||h(),g(s)};return O.useEffect(()=>{const b=v=>{v.key==="Escape"&&_()===s&&U()};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[s]),S.jsxDEV("div",{className:`${AD.modalRoot} ${y?"":Op.closing}`,style:{zIndex:E},onClick:()=>c&&U(),children:S.jsxDEV("div",{className:`modal-container ${y?Op.modalContainerShow:Op.modalContainerHide}`,style:{width:`min(90vw, ${u})`},onClick:b=>b.stopPropagation(),onAnimationEnd:()=>{y||x(s)},children:[S.jsxDEV("div",{className:"modal-close-bar",children:S.jsxDEV("button",{className:"close-btn",onClick:U,children:"✕"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/StackModal.tsx",lineNumber:75,columnNumber:11},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/StackModal.tsx",lineNumber:74,columnNumber:9},this),S.jsxDEV("div",{className:"modal-body",children:o},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/StackModal.tsx",lineNumber:77,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/StackModal.tsx",lineNumber:68,columnNumber:7},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/StackModal.tsx",lineNumber:63,columnNumber:5},this)}class HD{constructor(){ra(this,"setList",null);ra(this,"getList",null);ra(this,"count",1);ra(this,"containerRoot",null);ra(this,"pendingItems",[])}inject(o,u){var c;this.setList=o,this.getList=u,this.pendingItems.length>0&&((c=this.setList)==null||c.call(this,h=>[...h,...this.pendingItems]),this.pendingItems=[])}show(o,u={}){var g,x;this.ensureContainer();const c=zD(`modal_${this.count++}`),h=((g=this.getList)==null?void 0:g.call(this))||[],y=()=>this.hide(c),E={modalId:c,children:o,width:u.width,isClickMaskClose:u.isClickMaskClose,onClose:u.onClose,isShow:!0,zIndex:1e3+h.length};return this.setList?(x=this.setList)==null||x.call(this,_=>[..._,E]):this.pendingItems.push(E),{modalId:c,close:y}}hide(o){var u;(u=this.setList)==null||u.call(this,c=>c.map(h=>h.modalId===o?{...h,isShow:!1}:h))}hideTop(){var u;const o=((u=this.getList)==null?void 0:u.call(this))||[];o.length!==0&&this.hide(o[o.length-1].modalId)}hideAll(){var o;(o=this.setList)==null||o.call(this,[])}remove(o){var u;(u=this.setList)==null||u.call(this,c=>c.filter(h=>h.modalId!==o))}getTopId(){var u;const o=((u=this.getList)==null?void 0:u.call(this))||[];return o.length>0?o[o.length-1].modalId:void 0}ensureContainer(){if(this.containerRoot)return;const o=document.createElement("div");o.id="__stack_modal_container__",document.body.appendChild(o),this.containerRoot=$p.createRoot(o),this.containerRoot.render(S.jsxDEV(LD,{manager:this},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/StackModal.tsx",lineNumber:172,columnNumber:31},this))}}const An=new HD;function LD({manager:s}){const[o,u]=O.useState([]);return O.useEffect(()=>{s.inject(u,()=>o)}),O.useEffect(()=>{document.body.style.overflow=o.length>0?"hidden":""},[o.length]),S.jsxDEV(S.Fragment,{children:o.map(c=>S.jsxDEV(jD,{...c,onHide:h=>s.hide(h),onRemove:h=>s.remove(h),getTopId:()=>s.getTopId()},c.modalId,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/StackModal.tsx",lineNumber:199,columnNumber:9},this))},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/StackModal.tsx",lineNumber:197,columnNumber:5},this)}function VD({title:s,desc:o,onOk:u,onCancel:c}){return S.jsxDEV("div",{className:"confirm-wrap",children:[S.jsxDEV("div",{className:"confirm-title",children:s},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Confirm.tsx",lineNumber:12,columnNumber:7},this),o&&S.jsxDEV("div",{className:"confirm-desc",children:o},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Confirm.tsx",lineNumber:13,columnNumber:16},this),S.jsxDEV("div",{className:"confirm-actions",children:[S.jsxDEV("button",{className:"btn-cancel",onClick:c,children:"取消"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Confirm.tsx",lineNumber:15,columnNumber:9},this),S.jsxDEV("button",{className:"btn-ok",onClick:u,children:"确认"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Confirm.tsx",lineNumber:16,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Confirm.tsx",lineNumber:14,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Confirm.tsx",lineNumber:11,columnNumber:5},this)}function _f(s){const{close:o}=An.show(S.jsxDEV(VD,{title:s.title,desc:s.desc,onOk:()=>{var u;(u=s.onOk)==null||u.call(s),o()},onCancel:()=>{var u;(u=s.onCancel)==null||u.call(s),o()}},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Confirm.tsx",lineNumber:35,columnNumber:5},this),{width:"400px",isClickMaskClose:!1})}const BD="_toastShow_sls7c_21",kD="_toastHide_sls7c_24",qD="_toastRoot_sls7c_27",Yp={toastShow:BD,toastHide:kD,toastRoot:qD};function YD({item:s,onHide:o,onRemove:u}){return O.useEffect(()=>{const c=setTimeout(()=>o(s.id),2e3);return()=>clearTimeout(c)},[s.id]),S.jsxDEV("div",{className:`toast-item ${s.type==="error"?"toast-error":"toast-success"} ${s.isShow?Yp.toastShow:Yp.toastHide}`,onAnimationEnd:()=>{s.isShow||u(s.id)},children:s.msg},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Toast.tsx",lineNumber:27,columnNumber:5},this)}class $D{constructor(){ra(this,"setList",null);ra(this,"getList",null);ra(this,"uid",0);ra(this,"containerRoot",null);ra(this,"pendingItems",[])}inject(o,u){var c;this.setList=o,this.getList=u,this.pendingItems.length>0&&((c=this.setList)==null||c.call(this,h=>[...h,...this.pendingItems]),this.pendingItems=[])}add(o,u="success"){var y;this.ensureContainer();const h={id:++this.uid,msg:o,type:u,isShow:!0};this.setList?(y=this.setList)==null||y.call(this,E=>[...E,h]):this.pendingItems.push(h)}hide(o){var u;(u=this.setList)==null||u.call(this,c=>c.map(h=>h.id===o?{...h,isShow:!1}:h))}remove(o){var u;(u=this.setList)==null||u.call(this,c=>c.filter(h=>h.id!==o))}ensureContainer(){if(this.containerRoot)return;const o=document.createElement("div");o.id="__toast_container__",document.body.appendChild(o),this.containerRoot=$p.createRoot(o),this.containerRoot.render(S.jsxDEV(GD,{manager:this},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Toast.tsx",lineNumber:92,columnNumber:31},this))}}const yE=new $D;function GD({manager:s}){const[o,u]=O.useState([]);return O.useEffect(()=>{s.inject(u,()=>o)}),S.jsxDEV("div",{className:Yp.toastRoot,children:S.jsxDEV("div",{className:"toast-container",children:o.map(c=>S.jsxDEV(YD,{item:c,onHide:h=>s.hide(h),onRemove:h=>s.remove(h)},c.id,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Toast.tsx",lineNumber:115,columnNumber:11},this))},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Toast.tsx",lineNumber:113,columnNumber:7},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/Toast.tsx",lineNumber:112,columnNumber:5},this)}const it={msg:s=>yE.add(s,"success"),err:s=>yE.add(s,"error")};function XD({urls:s,initialIndex:o=0}){const[u,c]=O.useState(o),h=s[u],y=QD(h),E=s.length,g=O.useCallback(()=>c(_=>Math.max(0,_-1)),[]),x=O.useCallback(()=>c(_=>Math.min(E-1,_+1)),[E]);return O.useEffect(()=>{const _=U=>{U.key==="ArrowLeft"?g():U.key==="ArrowRight"&&x()};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[g,x]),S.jsxDEV("div",{className:"preview-wrap",children:[S.jsxDEV("div",{className:"preview-media",children:y?S.jsxDEV("video",{loop:!0,autoPlay:!0,playsInline:!0,src:h,className:"preview-video"},h,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/ImagePreview.tsx",lineNumber:37,columnNumber:11},this):S.jsxDEV("img",{src:h,alt:"",className:"preview-img"},h,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/ImagePreview.tsx",lineNumber:39,columnNumber:11},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/ImagePreview.tsx",lineNumber:35,columnNumber:7},this),E>1&&S.jsxDEV(S.Fragment,{children:[S.jsxDEV("button",{className:"preview-arrow preview-prev",onClick:g,disabled:u===0,children:"‹"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/ImagePreview.tsx",lineNumber:45,columnNumber:11},this),S.jsxDEV("button",{className:"preview-arrow preview-next",onClick:x,disabled:u===E-1,children:"›"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/ImagePreview.tsx",lineNumber:52,columnNumber:11},this),S.jsxDEV("div",{className:"preview-indicator",children:[u+1," / ",E]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/ImagePreview.tsx",lineNumber:59,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/ImagePreview.tsx",lineNumber:44,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/ImagePreview.tsx",lineNumber:34,columnNumber:5},this)}function QD(s){return[".mp4",".avi",".mov",".mkv",".flv",".wmv"].some(o=>s.toLowerCase().endsWith(o))}function ZD(s,o=0){s.length&&An.show(S.jsxDEV(XD,{urls:s,initialIndex:o},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Modal/ImagePreview.tsx",lineNumber:83,columnNumber:5},this),{width:"90vw",isClickMaskClose:!0})}const JD="_userModal_bfbaq_1",ID={userModal:JD};function KD({user:s}){const o=s.name.charAt(0).toUpperCase(),u=async()=>{try{await navigator.clipboard.writeText(s.id),it.msg("ID 已复制")}catch{const c=document.createElement("textarea");c.value=s.id,document.body.appendChild(c),c.select(),document.execCommand("copy"),document.body.removeChild(c),it.msg("ID 已复制")}};return S.jsxDEV("div",{className:ID.userModal,children:[S.jsxDEV("h3",{children:"用户信息"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:37,columnNumber:7},this),S.jsxDEV("div",{className:"user-avatar-large",children:o},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:38,columnNumber:7},this),S.jsxDEV("div",{className:"user-info",children:[S.jsxDEV("div",{className:"info-row",children:[S.jsxDEV("span",{className:"label",children:"用户名:"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:41,columnNumber:11},this),S.jsxDEV("span",{className:"value",children:s.name},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:42,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:40,columnNumber:9},this),S.jsxDEV("div",{className:"info-row",children:[S.jsxDEV("span",{className:"label",children:"用户ID:"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:45,columnNumber:11},this),S.jsxDEV("span",{className:"value code-id",children:[s.id,S.jsxDEV("button",{className:"copy-icon",onClick:u,title:"复制",children:"📋"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:48,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:46,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:44,columnNumber:9},this),S.jsxDEV("div",{className:"info-row",children:[S.jsxDEV("span",{className:"label",children:"角色:"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:52,columnNumber:11},this),S.jsxDEV("span",{className:`value role-tag ${s.role}`,children:s.role},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:53,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:51,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:39,columnNumber:7},this),S.jsxDEV("button",{className:"btn-close",onClick:()=>An.hideTop(),children:"关闭"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:56,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/UserInfoModal.tsx",lineNumber:36,columnNumber:5},this)}const FD="_select_f48hn_1",PD={select:FD};function JE({options:s,value:o="",placeholder:u="请选择",onChange:c,disabled:h=!1}){const[y,E]=O.useState(!1),g=O.useRef(null),x=O.useRef(null),[_,U]=O.useState({}),b=O.useCallback(()=>{var oe;if(!g.current)return;const $=g.current.getBoundingClientRect(),k=window.innerHeight-$.bottom-4,Q=((oe=x.current)==null?void 0:oe.offsetHeight)??0,X=Q>0&&k<Q&&$.top>k;U({position:"fixed",top:X?void 0:$.bottom+4,bottom:X?window.innerHeight-$.top+4:void 0,left:$.left,width:$.width,zIndex:99999})},[]),v=O.useCallback($=>{$.key==="Escape"&&E(!1)},[]);O.useEffect(()=>{if(y)return b(),window.addEventListener("scroll",b,!0),window.addEventListener("resize",b),window.addEventListener("keydown",v),()=>{window.removeEventListener("scroll",b,!0),window.removeEventListener("resize",b),window.removeEventListener("keydown",v)}},[y,b,v]),O.useEffect(()=>{if(!y)return;const $=k=>{const Q=k.target;g.current&&g.current.contains(Q)||x.current&&x.current.contains(Q)||E(!1)};return document.addEventListener("mousedown",$),()=>document.removeEventListener("mousedown",$)},[y]);const V=s.find($=>$.value===o),H=V?V.label:u;return S.jsxDEV("div",{ref:g,className:PD.select,children:[S.jsxDEV("button",{className:`select-trigger ${y?"select-trigger-open":""} ${h?"select-trigger-disabled":""}`,onClick:()=>!h&&E($=>!$),type:"button",disabled:h,children:[S.jsxDEV("span",{className:`select-trigger-text ${V?"":"select-placeholder"}`,children:H},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Select/Select.tsx",lineNumber:87,columnNumber:9},this),S.jsxDEV("span",{className:`select-arrow ${y?"select-arrow-open":""}`,children:"‹"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Select/Select.tsx",lineNumber:90,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Select/Select.tsx",lineNumber:81,columnNumber:7},this),y&&!h&&EE.createPortal(S.jsxDEV("div",{ref:x,className:"select-dropdown",style:_,children:s.map($=>S.jsxDEV("div",{className:`select-option ${$.value===o?"select-option-active":""}`,onClick:()=>{c==null||c($.value),E(!1)},children:$.label},$.value,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Select/Select.tsx",lineNumber:96,columnNumber:13},this))},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Select/Select.tsx",lineNumber:94,columnNumber:9},this),document.body)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/Select/Select.tsx",lineNumber:80,columnNumber:5},this)}const WD="_permissionModal_lkmtn_1",e_={permissionModal:WD};function t_({currentUser:s,initialUsers:o}){const[u,c]=O.useState(o),[h,y]=O.useState(""),[E,g]=O.useState(null),x=O.useRef(new Map);O.useEffect(()=>{c(o)},[o]);const _=h?u.filter(H=>H.id.includes(h)||H.name.includes(h)):u,U=()=>s.role==="super"?[{value:"super",label:"Super"},{value:"admin",label:"Admin"},{value:"user",label:"User"}]:s.role==="admin"?[{value:"admin",label:"Admin"},{value:"user",label:"User"}]:[],b=async(H,$)=>{g(H);try{if((await xD(H,$)).success){it.msg("角色更新成功");const Q=await QE();Q.success&&Q.data&&(c(Q.data),x.current.clear())}}catch(k){it.err((k==null?void 0:k.message)||"角色更新失败")}finally{g(null)}},v=O.useCallback((H,$)=>{x.current.set(H,$),b(H,$)},[]),V=O.useCallback(H=>x.current.get(H.id)??H.role,[]);return S.jsxDEV("div",{className:e_.permissionModal,children:[S.jsxDEV("h3",{children:["权限管理",S.jsxDEV("span",{className:"user-count",children:[u.length," 位用户"]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:86,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:84,columnNumber:7},this),S.jsxDEV("div",{className:"search-bar",children:S.jsxDEV("input",{type:"text",placeholder:"搜索用户ID或用户名",value:h,onChange:H=>y(H.target.value),autoFocus:!0},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:89,columnNumber:9},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:88,columnNumber:7},this),S.jsxDEV("div",{className:"user-list",children:[S.jsxDEV("table",{children:[S.jsxDEV("thead",{children:S.jsxDEV("tr",{children:[S.jsxDEV("th",{children:"用户名"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:101,columnNumber:15},this),S.jsxDEV("th",{children:"角色"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:102,columnNumber:15},this),S.jsxDEV("th",{style:{width:120},children:"操作"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:103,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:100,columnNumber:13},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:99,columnNumber:11},this),S.jsxDEV("tbody",{children:_.map(H=>S.jsxDEV("tr",{className:H.id===s.id?"is-current":"",children:[S.jsxDEV("td",{children:[S.jsxDEV("span",{className:"user-name",children:H.name},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:110,columnNumber:19},this),S.jsxDEV("span",{className:"user-id",children:H.id},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:111,columnNumber:19},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:109,columnNumber:17},this),S.jsxDEV("td",{children:S.jsxDEV("span",{className:`role-badge ${V(H)}`,children:V(H)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:113,columnNumber:21},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:113,columnNumber:17},this),S.jsxDEV("td",{children:S.jsxDEV(JE,{options:U(),value:V(H),onChange:$=>v(H.id,$),disabled:H.id===s.id||E===H.id},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:115,columnNumber:19},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:114,columnNumber:17},this)]},H.id,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:108,columnNumber:15},this))},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:106,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:98,columnNumber:9},this),_.length===0&&S.jsxDEV("div",{className:"empty",children:"暂无匹配用户"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:126,columnNumber:40},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:97,columnNumber:7},this),S.jsxDEV("div",{className:"footer",children:S.jsxDEV("button",{className:"btn-close",onClick:()=>An.hideTop(),children:"关闭"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:129,columnNumber:9},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:128,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/PermissionModal.tsx",lineNumber:83,columnNumber:5},this)}const n_="_inviteModal_1gxli_1",a_={inviteModal:n_};function l_({inviteCodes:s,onCodesUpdate:o}){const[u,c]=O.useState(s),[h,y]=O.useState(!1),E=O.useRef(null),g=[...u].sort((H,$)=>H.timestamp-$.timestamp),x=g.length>0?g[g.length-1]:null,_=g.slice(0,-1);O.useEffect(()=>{E.current&&(E.current.scrollTop=E.current.scrollHeight)},[u]);const U=H=>{switch(H){case 0:return{text:"未使用",cls:"status-0"};case 1:return{text:"已使用",cls:"status-1"};case 2:return{text:"已过期",cls:"status-2"};default:return{text:"未知",cls:""}}},b=H=>new Date(H).toLocaleString("zh-CN"),v=async H=>{try{await navigator.clipboard.writeText(H),it.msg("已复制到剪贴板")}catch{it.err("复制失败")}},V=async()=>{if(!h){y(!0);try{if((await CD()).success){it.msg("邀请码生成成功");const $=await ZE();$.success&&$.data&&(c($.data),o($.data))}}catch(H){it.err((H==null?void 0:H.message)||"邀请码生成失败")}finally{y(!1)}}};return S.jsxDEV("div",{className:a_.inviteModal,children:[S.jsxDEV("h3",{children:"邀请码管理"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:80,columnNumber:7},this),u.length===0?S.jsxDEV("div",{className:"empty-state",children:[S.jsxDEV("div",{className:"deco",children:"🎉"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:83,columnNumber:11},this),S.jsxDEV("p",{children:"暂无邀请码"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:84,columnNumber:11},this),S.jsxDEV("button",{className:"btn-generate",onClick:V,disabled:h,children:h?"生成中...":"生成邀请码"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:85,columnNumber:11},this),S.jsxDEV("span",{className:"tip",children:"点击上方按钮即可生成新的邀请码"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:88,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:82,columnNumber:9},this):S.jsxDEV(S.Fragment,{children:[x&&S.jsxDEV("div",{className:"latest-code",children:[S.jsxDEV("span",{className:"badge",children:"最新"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:95,columnNumber:15},this),S.jsxDEV("span",{className:`status-dot ${U(x.state).cls}`},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:96,columnNumber:15},this),S.jsxDEV("span",{className:"status-text",children:U(x.state).text},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:97,columnNumber:15},this),S.jsxDEV("span",{className:"code-text",children:x.code},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:98,columnNumber:15},this),S.jsxDEV("span",{className:"code-time",children:b(x.timestamp)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:99,columnNumber:15},this),S.jsxDEV("button",{className:"copy-btn",onClick:()=>v(x.code),children:"复制"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:100,columnNumber:15},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:94,columnNumber:13},this),_.length>0&&S.jsxDEV("div",{ref:E,className:"code-list",children:_.map(H=>{const $=U(H.state);return S.jsxDEV("div",{className:"code-item",children:[S.jsxDEV("span",{className:`status-dot ${$.cls}`},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:111,columnNumber:21},this),S.jsxDEV("span",{className:"status-text",children:$.text},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:112,columnNumber:21},this),S.jsxDEV("span",{className:"code-text",children:H.code},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:113,columnNumber:21},this),S.jsxDEV("span",{className:"code-time",children:b(H.timestamp)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:114,columnNumber:21},this),S.jsxDEV("button",{className:"copy-btn",onClick:()=>v(H.code),children:"复制"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:115,columnNumber:21},this)]},H.code,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:110,columnNumber:19},this)})},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:106,columnNumber:13},this),S.jsxDEV("div",{className:"actions",children:[S.jsxDEV("button",{className:"btn-generate",onClick:V,disabled:h,children:h?"生成中...":"生成新的邀请码"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:123,columnNumber:13},this),S.jsxDEV("button",{className:"btn-close",onClick:()=>An.hideTop(),children:"关闭"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:126,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:122,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:91,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/InviteModal.tsx",lineNumber:79,columnNumber:5},this)}const i_="_userAvatar_9xyff_1",gE={userAvatar:i_};function o_({user:s,onUserInfo:o,onPermission:u,onInvite:c,onLogout:h}){const[y,E]=O.useState(!1),g=O.useRef(null),x=O.useRef(null),[_,U]=O.useState({}),b=O.useCallback(()=>{if(!g.current)return;const X=g.current.getBoundingClientRect();U({position:"fixed",top:X.bottom+8,right:window.innerWidth-X.right,zIndex:99999})},[]),v=O.useCallback(X=>{X.key==="Escape"&&E(!1)},[]);O.useEffect(()=>{if(y)return b(),window.addEventListener("scroll",b,!0),window.addEventListener("resize",b),window.addEventListener("keydown",v),()=>{window.removeEventListener("scroll",b,!0),window.removeEventListener("resize",b),window.removeEventListener("keydown",v)}},[y,b,v]),O.useEffect(()=>{if(!y)return;const X=oe=>{const me=oe.target;g.current&&g.current.contains(me)||x.current&&x.current.contains(me)||E(!1)};return document.addEventListener("mousedown",X),()=>document.removeEventListener("mousedown",X)},[y]);const V=()=>{E(!1),o()},H=()=>{E(!1),u()},$=()=>{E(!1),c()},k=()=>{E(!1),_f({title:"确认退出登录吗?",onOk:()=>{h()}})},Q=s.name.charAt(0).toUpperCase();return S.jsxDEV("div",{ref:g,className:gE.userAvatar,children:[S.jsxDEV("div",{className:"avatar",onClick:()=>E(X=>!X),children:Q},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/UserAvatar/UserAvatar.tsx",lineNumber:99,columnNumber:7},this),y&&EE.createPortal(S.jsxDEV("div",{ref:x,className:gE.userAvatar,style:_,children:S.jsxDEV("div",{className:"user-dropdown",children:[S.jsxDEV("div",{className:"user-dropdown-item",onClick:V,children:"用户信息"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/UserAvatar/UserAvatar.tsx",lineNumber:106,columnNumber:13},this),(s.role==="admin"||s.role==="super")&&S.jsxDEV("div",{className:"user-dropdown-item",onClick:H,children:"权限管理"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/UserAvatar/UserAvatar.tsx",lineNumber:108,columnNumber:15},this),s.role==="super"&&S.jsxDEV("div",{className:"user-dropdown-item",onClick:$,children:"邀请码"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/UserAvatar/UserAvatar.tsx",lineNumber:111,columnNumber:15},this),S.jsxDEV("div",{className:"user-dropdown-item logout",onClick:k,children:"退出登录"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/UserAvatar/UserAvatar.tsx",lineNumber:113,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/UserAvatar/UserAvatar.tsx",lineNumber:105,columnNumber:11},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/UserAvatar/UserAvatar.tsx",lineNumber:104,columnNumber:9},this),document.body)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/components/UserAvatar/UserAvatar.tsx",lineNumber:98,columnNumber:5},this)}const s_="_home_7ki9w_1",r_={home:s_},u_="_buildModal_otncv_1",c_={buildModal:u_},f_="_logModal_eochr_1",d_={logModal:f_},h_="_listModal_1td0z_1",m_={listModal:h_};function p_(s){return s.replace(/warn/ig,'<b style="color: #fdcb6e;">Warn</b>').replace(/error/ig,'<b style="color: #e17055;">Error</b>')}function y_(s){return[".mp4",".avi",".mov",".mkv",".flv",".wmv"].some(o=>s.toLowerCase().endsWith(o))}function bE({count:s,onClick:o}){return s<=0?null:S.jsxDEV("div",{className:"unread-badge",onClick:o,children:["未读消息 x",s]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:51,columnNumber:10},this)}function g_({msg:s,onCancel:o}){const u={1:{text:"构建中...",cls:"status-1"},2:{text:"构建成功",cls:"status-2"},3:{text:"构建失败",cls:"status-3"}},c=u[s.status]||u[1];return S.jsxDEV("div",{className:"build-card",children:[S.jsxDEV("div",{className:"build-card-header",children:[S.jsxDEV("div",{children:[S.jsxDEV("span",{className:"name",children:s.name},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:66,columnNumber:11},this),S.jsxDEV("span",{className:"sep",children:"-"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:67,columnNumber:11},this),S.jsxDEV("span",{className:"branch",children:[s.task.branch," 分支"]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:68,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:65,columnNumber:9},this),S.jsxDEV("div",{className:"time",children:new Date(s.timestamp).toLocaleString("zh-CN")},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:70,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:64,columnNumber:7},this),S.jsxDEV("div",{className:"build-card-body",children:[S.jsxDEV("div",{className:"info-row",children:[S.jsxDEV("div",{children:["分支:",s.task.branch]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:74,columnNumber:11},this),S.jsxDEV("div",{children:["taskId:",s.taskId]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:75,columnNumber:11},this),S.jsxDEV("div",{children:["packagePath:",s.task.packagePath]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:76,columnNumber:11},this),s.task.commit&&S.jsxDEV("div",{children:["commit:",s.task.commit]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:77,columnNumber:31},this),S.jsxDEV("div",{children:["创建时间:",s.task.time]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:78,columnNumber:11},this),s.buildLogPath&&S.jsxDEV("div",{children:["构建日志:",S.jsxDEV("a",{href:s.buildLogPath,target:"_blank",rel:"noreferrer",children:"查看日志"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:80,columnNumber:23},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:80,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:73,columnNumber:9},this),s.status===1&&s.task.buildSourceType==="buildServer"&&S.jsxDEV("button",{className:"btn-cancel",onClick:()=>o(s.taskId),children:"取消构建"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:84,columnNumber:11},this),S.jsxDEV("pre",{className:"build-log",dangerouslySetInnerHTML:{__html:p_(s.msg)}},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:86,columnNumber:9},this),S.jsxDEV("div",{className:`status-tag ${c.cls}`,children:c.text},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:87,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:72,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:63,columnNumber:5},this)}function b_({msg:s,isSelf:o,onPreview:u}){return S.jsxDEV("div",{className:`chat-bubble ${o?"self":""}`,children:[S.jsxDEV("div",{className:"bubble-header",children:[S.jsxDEV("span",{className:`name ${o?"name-self":"name-other"}`,children:s.name||s.id},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:97,columnNumber:9},this),S.jsxDEV("span",{className:"time",children:new Date(s.timestamp).toLocaleString("zh-CN")},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:100,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:96,columnNumber:7},this),s.msg&&S.jsxDEV("pre",{className:`bubble-text ${o?"bubble-text-self":"bubble-text-other"}`,children:s.msg},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:104,columnNumber:9},this),s.files&&s.files.length>0&&s.ctxType==="ctx:imgs"&&S.jsxDEV("div",{className:"bubble-files",children:s.files.map((c,h)=>y_(c)?S.jsxDEV("video",{loop:!0,muted:!0,autoPlay:!0,playsInline:!0,src:c,onClick:()=>u(s.id,h)},h,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:113,columnNumber:15},this):S.jsxDEV("img",{src:c,alt:"",onClick:()=>u(s.id,h)},h,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:115,columnNumber:15},this))},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:110,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:95,columnNumber:5},this)}function v_({pkgList:s}){const[o,u]=O.useState("master"),[c,h]=O.useState(new Set),y=()=>{c.size===s.length?h(new Set):h(new Set(s))},E=()=>{if(c.size===0){it.err("请选择仓库");return}if(!o){it.err("请输入分支名");return}pD(o,Array.from(c)).then(()=>{An.hideTop(),it.msg("任务添加成功")}).catch(g=>it.err((g==null?void 0:g.message)||"任务添加失败"))};return S.jsxDEV("div",{className:c_.buildModal,children:[S.jsxDEV("h3",{children:"构建项目"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:148,columnNumber:7},this),S.jsxDEV("label",{children:"分支"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:149,columnNumber:7},this),S.jsxDEV("input",{className:"branch-input",value:o,onChange:g=>u(g.target.value.trim()),placeholder:"输入分支名",spellCheck:!1},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:150,columnNumber:7},this),S.jsxDEV("label",{children:["仓库",S.jsxDEV("span",{className:"select-count",children:["已选 ",c.size,"/",s.length]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:153,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:151,columnNumber:7},this),S.jsxDEV("div",{className:"header-bar",children:S.jsxDEV("div",{className:"select-all-btn",onClick:y,children:c.size===s.length?"取消全部":"全选"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:156,columnNumber:9},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:155,columnNumber:7},this),S.jsxDEV("div",{className:"pkg-grid",children:s.map(g=>S.jsxDEV("div",{className:`pkg-item ${c.has(g)?"active":""}`,onClick:()=>{const x=new Set(c);x.has(g)?x.delete(g):x.add(g),h(x)},children:g},g,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:162,columnNumber:11},this))},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:160,columnNumber:7},this),S.jsxDEV("button",{className:"btn-build",onClick:E,children:"开始构建"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:175,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:147,columnNumber:5},this)}function S_(){var h,y,E,g;const[s,o]=O.useState([]),[u,c]=O.useState(0);return O.useEffect(()=>{gD().then(x=>{o(x.tabs||[]),c(0)})},[]),S.jsxDEV("div",{className:d_.logModal,children:[S.jsxDEV("h3",{children:"Logs"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:192,columnNumber:7},this),S.jsxDEV("div",{className:"tabs",children:s.map((x,_)=>S.jsxDEV("div",{className:`tab-item ${u===_?"active":""}`,onClick:()=>c(_),children:x.title},_,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:195,columnNumber:11},this))},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:193,columnNumber:7},this),S.jsxDEV("div",{className:"log-list",children:[(y=(h=s[u])==null?void 0:h.list)==null?void 0:y.map((x,_)=>S.jsxDEV("a",{href:x.path,target:"_blank",rel:"noreferrer",className:"log-item",children:[S.jsxDEV("span",{className:"log-name",children:x.name},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:203,columnNumber:13},this),S.jsxDEV("span",{className:"log-link-icon",children:"↗"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:204,columnNumber:13},this)]},_,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:202,columnNumber:11},this)),!((g=(E=s[u])==null?void 0:E.list)!=null&&g.length)&&S.jsxDEV("div",{className:"empty",children:"暂无日志"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:207,columnNumber:49},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:200,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:191,columnNumber:5},this)}function vE({title:s,items:o,renderItem:u}){return S.jsxDEV("div",{className:m_.listModal,children:[S.jsxDEV("h3",{children:s},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:222,columnNumber:7},this),S.jsxDEV("div",{className:"list-items",children:[o.map((c,h)=>u(c,h)),!o.length&&S.jsxDEV("div",{className:"empty",children:"暂无数据"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:225,columnNumber:27},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:223,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:221,columnNumber:5},this)}function E_(){const{chatMessages:s,buildMessages:o,commandList:u,pkgList:c,sendMessage:h,sendImages:y,userIdRef:E}=DD(),[g,x]=O.useState(null),[_,U]=O.useState([]),[b,v]=O.useState([]),[V,H]=O.useState(0),[$,k]=O.useState(0),Q=O.useRef(new Set),X=O.useRef(new Set);O.useEffect(()=>{TD().then(K=>{K.success&&K.data&&x(K.data)}).catch(K=>{console.error("Failed to load current user:",K)})},[]);const[oe,me,xe]=pE(()=>H(0)),[ft,We,Me]=pE(()=>k(0)),Ze=[...u.map(K=>({value:K.command,label:`${K.command} - ${K.desc}`}))],[I,be]=O.useState(""),ge=O.useRef(null);O.useEffect(()=>{if(!s.length)return;const K=s.filter(ue=>!X.current.has(ue.id));if(K.forEach(ue=>X.current.add(ue.id)),K.length&&!xe.current){H(ue=>ue+K.length);return}me()},[s]),O.useEffect(()=>{if(!o.length)return;const K=o.filter(ue=>!Q.current.has(ue.taskId));if(K.forEach(ue=>Q.current.add(ue.taskId)),K.length&&!Me.current){k(ue=>ue+K.length);return}We()},[o]),O.useEffect(()=>{const K=ue=>{ue.key==="Enter"&&ue.ctrlKey&&Te()};return window.addEventListener("keydown",K),()=>window.removeEventListener("keydown",K)},[I]);const Te=O.useCallback(()=>{I.trim()&&(h(I),be(""))},[I,h]),se=O.useCallback(K=>{K&&h(K)},[h]),ee=O.useCallback(K=>{const ue=K.target.files;ue!=null&&ue.length&&(y(ue),K.target.value="")},[y]),M=O.useCallback(K=>{_f({title:"是否确认取消任务?",onOk:()=>{vD(K).then(()=>it.msg("任务取消成功")).catch(ue=>it.err((ue==null?void 0:ue.message)||"任务取消失败"))}})},[]),G=O.useCallback(K=>{K&&_f({title:`是否确认回退 ${K} 的构建产物?回退后本次构建产物将被还原,请谨慎操作!`,onOk:()=>{SD(K).then(()=>it.msg("操作成功")).catch(ue=>it.err((ue==null?void 0:ue.message)||"操作失败"))}})},[]),Y=O.useCallback(K=>{K&&_f({title:`是否确认通知${K.basename}项目的${K.branch}分支?`,onOk:()=>{wD(K.httpsOrigin,K.branch).then(()=>it.msg("操作成功")).catch(ue=>it.err((ue==null?void 0:ue.message)||"操作失败"))}})},[]),ne=O.useCallback(()=>{An.show(S.jsxDEV(v_,{pkgList:c},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:377,columnNumber:21},this),{width:"600px"})},[c]),le=O.useCallback(()=>{An.show(S.jsxDEV(S_,{},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:382,columnNumber:21},this),{width:"700px"})},[]),B=O.useCallback(()=>{bD().then(K=>{const ue=K.list||[];An.show(S.jsxDEV(vE,{title:"版本回退",items:ue,renderItem:(ke,F)=>S.jsxDEV("div",{className:"list-item",onClick:()=>G(ke),children:[S.jsxDEV("span",{className:"folder-icon",children:"📁"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:395,columnNumber:15},this),S.jsxDEV("span",{children:ke},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:396,columnNumber:15},this)]},F,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:394,columnNumber:13},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:390,columnNumber:9},this),{width:"600px"})})},[G]),ie=O.useCallback(()=>{ND().then(K=>{const ue=K.list||[];An.show(S.jsxDEV(vE,{title:"Notice Webhook",items:ue,renderItem:(ke,F)=>S.jsxDEV("div",{className:"list-item",onClick:()=>Y(ke),children:[S.jsxDEV("span",{className:ke.branch==="master"?"branch-master":"branch-other",children:ke.branch},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:415,columnNumber:15},this),S.jsxDEV("span",{className:"sep",children:"-"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:416,columnNumber:15},this),S.jsxDEV("span",{children:ke.basename},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:417,columnNumber:15},this)]},F,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:414,columnNumber:13},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:410,columnNumber:9},this),{width:"600px"})})},[Y]),ve=O.useCallback((K,ue)=>{var Ft;const ke=[];let F=0;for(const Mt of s)if((Ft=Mt.files)!=null&&Ft.length&&Mt.ctxType==="ctx:imgs")for(let On=0;On<Mt.files.length;On++)Mt.id===K&&On===ue&&(F=ke.length),ke.push(Mt.files[On]);ZD(ke,F)},[s]),de=O.useCallback(()=>{g&&An.show(S.jsxDEV(KD,{user:g},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:448,columnNumber:21},this),{width:"500px"})},[g]),Qe=O.useCallback(async()=>{if(g)try{const K=await QE();K.success&&K.data&&(U(K.data),An.show(S.jsxDEV(t_,{currentUser:g,initialUsers:K.data},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:458,columnNumber:11},this),{width:"800px"}))}catch(K){console.error("Failed to load users:",K)}},[g]),Bt=O.useCallback(async()=>{if(g)try{const K=await ZE();K.success&&K.data&&(v(K.data),An.show(S.jsxDEV(l_,{inviteCodes:K.data,onCodesUpdate:v},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:477,columnNumber:11},this),{width:"700px"}))}catch(K){console.error("Failed to load invite codes:",K)}},[g]),Ye=O.useCallback(()=>{localStorage.removeItem("token"),localStorage.removeItem("userId"),window.location.href="/login"},[]);return S.jsxDEV("div",{className:r_.home,children:[S.jsxDEV("div",{className:"toolbar",children:[S.jsxDEV("div",{className:"opts",children:[S.jsxDEV("button",{className:"tool-btn",onClick:()=>location.reload(),children:"刷新"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:500,columnNumber:11},this),S.jsxDEV("button",{className:"tool-btn",onClick:ne,children:"构建"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:501,columnNumber:11},this),(g==null?void 0:g.role)==="super"&&S.jsxDEV("button",{className:"tool-btn",style:{background:"var(--info)"},onClick:le,children:"Logs"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:503,columnNumber:13},this),S.jsxDEV("button",{className:"tool-btn",style:{background:"var(--accent)"},onClick:ie,children:"Notice Webhook"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:505,columnNumber:11},this),g&&["super","admin"].includes(g.role)&&S.jsxDEV("button",{className:"tool-btn",style:{background:"var(--warning)",color:"#000"},onClick:B,children:"版本回退"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:507,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:499,columnNumber:9},this),g&&S.jsxDEV("div",{className:"toolbar-user",children:S.jsxDEV(o_,{user:g,onUserInfo:de,onPermission:Qe,onInvite:Bt,onLogout:Ye},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:512,columnNumber:13},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:511,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:498,columnNumber:7},this),S.jsxDEV("div",{className:"build-panel",children:[S.jsxDEV("div",{className:"panel-title",children:"Build Notice"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:525,columnNumber:9},this),S.jsxDEV("div",{className:"panel-body",children:[S.jsxDEV(bE,{count:$,onClick:()=>{k(0),We(!0)}},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:527,columnNumber:11},this),S.jsxDEV("div",{ref:ft,className:"scroll-area",children:o.map((K,ue)=>S.jsxDEV(g_,{msg:K,onCancel:M},K.taskId+ue,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:530,columnNumber:15},this))},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:528,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:526,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:524,columnNumber:7},this),S.jsxDEV("div",{className:"chat-panel",children:[S.jsxDEV("div",{className:"panel-title",children:"Chat Room"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:538,columnNumber:9},this),S.jsxDEV("div",{className:"panel-body",children:[S.jsxDEV(bE,{count:V,onClick:()=>{H(0),me(!0)}},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:540,columnNumber:11},this),S.jsxDEV("div",{ref:oe,className:"chat-scroll",children:s.map((K,ue)=>S.jsxDEV(b_,{msg:K,isSelf:K.userId===E.current,onPreview:ve},K.id+ue,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:543,columnNumber:15},this))},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:541,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:539,columnNumber:9},this),S.jsxDEV("div",{className:"command-bar",children:[S.jsxDEV(JE,{options:Ze,value:"",placeholder:"快捷命令",onChange:K=>{se(K)}},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:549,columnNumber:11},this),S.jsxDEV("button",{className:"cmd-btn cmd-build",onClick:ne,children:"选择构建"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:555,columnNumber:11},this),S.jsxDEV("div",{className:"cmd-btn cmd-img",children:["选择图片",S.jsxDEV("input",{ref:ge,type:"file",accept:"image/*, video/*",multiple:!0,onChange:ee,className:"file-input-hidden"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:558,columnNumber:13},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:556,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:548,columnNumber:9},this),S.jsxDEV("div",{className:"input-area",children:[S.jsxDEV("textarea",{value:I,onChange:K=>be(K.currentTarget.value),placeholder:"输入消息... (Ctrl+Enter 发送)"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:563,columnNumber:11},this),S.jsxDEV("button",{className:"btn-send",onClick:Te,disabled:!I.trim(),children:["发送",S.jsxDEV("br",{},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:569,columnNumber:15},this),"Ctrl+Enter"]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:568,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:562,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:537,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Home.tsx",lineNumber:496,columnNumber:5},this)}const N_="_login_qbk6z_1",w_={login:N_};function T_({onSwitch:s}){const[o,u]=O.useState(""),[c,h]=O.useState(""),y=Jp(),E=async()=>{var g;if(!o||!c){it.err("请输入用户名和密码");return}try{const x=await hD(o,c);x.success&&((g=x.data)!=null&&g.token)?(localStorage.setItem("token",x.data.token),localStorage.setItem("userId",x.data.id),it.msg("登录成功"),y("/")):it.err(x.message||"登录失败")}catch(x){it.err((x==null?void 0:x.message)||"网络错误")}};return S.jsxDEV("div",{className:"form",children:[S.jsxDEV("div",{className:"field",children:[S.jsxDEV("label",{children:"用户名"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:34,columnNumber:9},this),S.jsxDEV("input",{value:o,onChange:g=>u(g.target.value.trim()),maxLength:12},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:35,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:33,columnNumber:7},this),S.jsxDEV("div",{className:"field",children:[S.jsxDEV("label",{children:"密码"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:38,columnNumber:9},this),S.jsxDEV("input",{type:"password",value:c,onChange:g=>h(g.target.value.trim()),maxLength:30,onKeyDown:g=>g.key==="Enter"&&E()},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:39,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:37,columnNumber:7},this),S.jsxDEV("button",{className:"btn-submit",onClick:E,children:"登录"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:41,columnNumber:7},this),S.jsxDEV("div",{className:"switch-hint",children:["还没有账号?",S.jsxDEV("a",{onClick:s,children:"立即注册"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:42,columnNumber:42},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:42,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:32,columnNumber:5},this)}function x_({onSwitch:s}){const[o,u]=O.useState(""),[c,h]=O.useState(""),[y,E]=O.useState(""),[g,x]=O.useState(""),_=async()=>{if(!o||!y||!g||!c){it.err("请输入用户名、密码和邀请密码");return}if(y!==g){it.err("两次密码不一致");return}try{const U=await mD(o,y,c);U.success?(it.msg("注册成功,请登录"),s()):it.err(U.message||"注册失败")}catch(U){it.err((U==null?void 0:U.message)||"网络错误")}};return S.jsxDEV("div",{className:"form",children:[S.jsxDEV("div",{className:"field",children:[S.jsxDEV("label",{children:"用户名"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:68,columnNumber:9},this),S.jsxDEV("input",{value:o,onChange:U=>u(U.target.value.trim()),maxLength:12},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:69,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:67,columnNumber:7},this),S.jsxDEV("div",{className:"field",children:[S.jsxDEV("label",{children:"密码"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:72,columnNumber:9},this),S.jsxDEV("input",{type:"password",value:y,onChange:U=>E(U.target.value.trim()),maxLength:30},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:73,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:71,columnNumber:7},this),S.jsxDEV("div",{className:"field",children:[S.jsxDEV("label",{children:"确认密码"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:76,columnNumber:9},this),S.jsxDEV("input",{type:"password",value:g,onChange:U=>x(U.target.value.trim()),maxLength:30,onKeyDown:U=>U.key==="Enter"&&_()},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:77,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:75,columnNumber:7},this),S.jsxDEV("div",{className:"field",children:[S.jsxDEV("label",{children:"邀请码"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:80,columnNumber:9},this),S.jsxDEV("input",{value:c,onChange:U=>h(U.target.value.trim())},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:81,columnNumber:9},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:79,columnNumber:7},this),S.jsxDEV("button",{className:"btn-submit",onClick:_,children:"注册"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:83,columnNumber:7},this),S.jsxDEV("div",{className:"switch-hint",children:["已有账号?",S.jsxDEV("a",{onClick:s,children:"去登录"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:84,columnNumber:41},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:84,columnNumber:7},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:66,columnNumber:5},this)}function C_(){const[s,o]=O.useState("login");return S.jsxDEV("div",{className:w_.login,children:S.jsxDEV("div",{className:"login-card",children:[S.jsxDEV("div",{className:"login-logo",children:[S.jsxDEV("div",{className:"icon",children:"B"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:97,columnNumber:11},this),S.jsxDEV("h1",{children:"Build System"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:98,columnNumber:11},this),S.jsxDEV("p",{children:"构建管理系统"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:99,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:96,columnNumber:9},this),S.jsxDEV("div",{className:"tab-bar",children:[S.jsxDEV("div",{className:`tab-item ${s==="login"?"active":""}`,onClick:()=>o("login"),children:"登录"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:104,columnNumber:11},this),S.jsxDEV("div",{className:`tab-item ${s==="register"?"active":""}`,onClick:()=>o("register"),children:"注册"},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:105,columnNumber:11},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:103,columnNumber:9},this),s==="login"?S.jsxDEV(T_,{onSwitch:()=>o("register")},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:109,columnNumber:28},this):S.jsxDEV(x_,{onSwitch:()=>o("login")},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:109,columnNumber:80},this)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:94,columnNumber:7},this)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/pages/Login.tsx",lineNumber:93,columnNumber:5},this)}function R_({children:s}){return localStorage.getItem("token")?S.jsxDEV(S.Fragment,{children:s},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:12,columnNumber:10},this):S.jsxDEV(_E,{to:"/login",replace:!0},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:11,columnNumber:22},this)}Yx.createRoot(document.getElementById("root")).render(S.jsxDEV(FC,{basename:"/static/web",children:S.jsxDEV(HC,{children:[S.jsxDEV(Ef,{path:"/login",element:S.jsxDEV(C_,{},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:18,columnNumber:37},void 0)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:18,columnNumber:7},void 0),S.jsxDEV(Ef,{path:"/",element:S.jsxDEV(R_,{children:S.jsxDEV(E_,{},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:19,columnNumber:43},void 0)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:19,columnNumber:32},void 0)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:19,columnNumber:7},void 0),S.jsxDEV(Ef,{path:"*",element:S.jsxDEV(_E,{to:"/",replace:!0},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:20,columnNumber:32},void 0)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:20,columnNumber:7},void 0)]},void 0,!0,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:17,columnNumber:5},void 0)},void 0,!1,{fileName:"/Users/daiyu/myself/buildSystem/web/src/main.tsx",lineNumber:16,columnNumber:3},void 0));