walldash/public/main.js

243 lines
492 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var Bw=Object.create;var{getPrototypeOf:Hw,defineProperty:CL,getOwnPropertyNames:Uw}=Object;var zw=Object.prototype.hasOwnProperty;function Ww(B){return this[B]}var _w,Aw,e=(B,U,W)=>{var _=B!=null&&typeof B==="object";if(_){var L=U?_w??=new WeakMap:Aw??=new WeakMap,K=L.get(B);if(K)return K}W=B!=null?Bw(Hw(B)):{};let T=U||!B||!B.__esModule?CL(W,"default",{value:B,enumerable:!0}):W;for(let F of Uw(B))if(!zw.call(T,F))CL(T,F,{get:Ww.bind(B,F),enumerable:!0});if(_)L.set(B,T);return T};var T7=(B,U)=>()=>(U||B((U={exports:{}}).exports,U),U.exports);var EL=T7((Lw)=>{(function(){function B(){if(m0=!1,r){var u=Lw.unstable_now();o0=u;var _0=!0;try{X:{t=!1,X0&&(X0=!1,H5(e0),e0=-1),o=!0;var W0=v;try{$:{K(u);for(m=W(E);m!==null&&!(m.expirationTime>u&&F());){var p0=m.callback;if(typeof p0==="function"){m.callback=null,v=m.priorityLevel;var l0=p0(m.expirationTime<=u);if(u=Lw.unstable_now(),typeof l0==="function"){m.callback=l0,K(u),_0=!0;break $}m===W(E)&&_(E),K(u)}else _(E);m=W(E)}if(m!==null)_0=!0;else{var V=W(f);V!==null&&C(T,V.startTime-u),_0=!1}}break X}finally{m=null,v=W0,o=!1}_0=void 0}}finally{_0?I0():r=!1}}}function U(u,_0){var W0=u.length;u.push(_0);X:for(;0<W0;){var p0=W0-1>>>1,l0=u[p0];if(0<L(l0,_0))u[p0]=_0,u[W0]=l0,W0=p0;else break X}}function W(u){return u.length===0?null:u[0]}function _(u){if(u.length===0)return null;var _0=u[0],W0=u.pop();if(W0!==_0){u[0]=W0;X:for(var p0=0,l0=u.length,V=l0>>>1;p0<V;){var l=2*(p0+1)-1,A0=u[l],N0=l+1,y0=u[N0];if(0>L(A0,W0))N0<l0&&0>L(y0,A0)?(u[p0]=y0,u[N0]=W0,p0=N0):(u[p0]=A0,u[l]=W0,p0=l);else if(N0<l0&&0>L(y0,W0))u[p0]=y0,u[N0]=W0,p0=N0;else break X}}return _0}function L(u,_0){var W0=u.sortIndex-_0.sortIndex;return W0!==0?W0:u.id-_0.id}function K(u){for(var _0=W(f);_0!==null;){if(_0.callback===null)_(f);else if(_0.startTime<=u)_(f),_0.sortIndex=_0.expirationTime,U(E,_0);else break;_0=W(f)}}function T(u){if(X0=!1,K(u),!t)if(W(E)!==null)t=!0,r||(r=!0,I0());else{var _0=W(f);_0!==null&&C(T,_0.startTime-u)}}function F(){return m0?!0:Lw.unstable_now()-o0<p?!1:!0}function C(u,_0){e0=R0(function(){u(Lw.unstable_now())},_0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Lw.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var j=performance;Lw.unstable_now=function(){return j.now()}}else{var w=Date,M=w.now();Lw.unstable_now=function(){return w.now()-M}}var E=[],f=[],y=1,m=null,v=3,o=!1,t=!1,X0=!1,m0=!1,R0=typeof setTimeout==="function"?setTimeout:null,H5=typeof clearTimeout==="function"?clearTimeout:null,G0=typeof setImmediate<"u"?setImmediate:null,r=!1,e0=-1,p=5,o0=-1;if(typeof G0==="function")var I0=function(){G0(B)};else if(typeof MessageChannel<"u"){var K0=new MessageChannel,N5=K0.port2;K0.port1.onmessage=B,I0=function(){N5.postMessage(null)}}else I0=function(){R0(B,0)};Lw.unstable_IdlePriority=5,Lw.unstable_ImmediatePriority=1,Lw.unstable_LowPriority=4,Lw.unstable_NormalPriority=3,Lw.unstable_Profiling=null,Lw.unstable_UserBlockingPriority=2,Lw.unstable_cancelCallback=function(u){u.callback=null},Lw.unstable_forceFrameRate=function(u){0>u||125<u?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):p=0<u?Math.floor(1000/u):5},Lw.unstable_getCurrentPriorityLevel=function(){return v},Lw.unstable_next=function(u){switch(v){case 1:case 2:case 3:var _0=3;break;default:_0=v}var W0=v;v=_0;try{return u()}finally{v=W0}},Lw.unstable_requestPaint=function(){m0=!0},Lw.unstable_runWithPriority=function(u,_0){switch(u){case 1:case 2:case 3:case 4:case 5:break;default:u=3}var W0=v;v=u;try{return _0()}finally{v=W0}},Lw.unstable_scheduleCallback=function(u,_0,W0){var p0=Lw.unstable_now();switch(typeof W0==="object"&&W0!==null?(W0=W0.delay,W0=typeof W0==="number"&&0<W0?p0+W0:p0):W0=p0,u){case 1:var l0=-1;break;case 2:l0=250;break;case 5:l0=1073741823;break;case 4:l0=1e4;break;default:l0=5000}return l0=W0+l0,u={id:y++,callback:_0,priorityLevel:u,startTime:W0,expirationTime:l0,sortIndex:-1},W0>p0?(u.sortIndex=W0,U(f,u),W(E)===null&&u===W(f)&&(X0?(H5(e0),e0=-1):X0=!0,C(T,W0-p0))):(u.sortIndex=l0,U(E,u),t||o||(t=!0,r||(r=!0,I0()))),u},Lw.unstable_shouldYield=F,Lw.unstable_wrapCallback=function(u){var _0=v;return function(){var W0=v;v=_0;try{return u.apply(this,arguments)}finally{v=W0}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var G5=T7((Nw,r1)=>{(function(){function B(Q,S){Object.defineProperty(_.prototype,Q,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",S[0],S[1])}})}function U(Q){if(Q===null||typeof Q!=="object")return null;return Q=v$&&Q[v$]||Q["@@iterator"],typeof Q==="function"?Q:null}function W(Q,S){Q=(Q=Q.constructor)&&(Q.displayName||Q.name)||"ReactClass";var d=Q+"."+S;n[d]||(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.",S,Q),n[d]=!0)}function _(Q,S,d){this.props=Q,this.context=S,this.refs=j2,this.updater=d||PX}function L(){}function K(Q,S,d){this.props=Q,this.context=S,this.refs=j2,this.updater=d||PX}function T(){}function F(Q){return""+Q}function C(Q){try{F(Q);var S=!1}catch($0){S=!0}if(S){S=console;var d=S.error,s=typeof Symbol==="function"&&Symbol.toStringTag&&Q[Symbol.toStringTag]||Q.constructor.name||"Object";return d.call(S,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",s),F(Q)}}function j(Q){if(Q==null)return null;if(typeof Q==="function")return Q.$$typeof===l8?null:Q.displayName||Q.name||null;if(typeof Q==="string")return Q;switch(Q){case l0:return"Fragment";case l:return"Profiler";case V:return"StrictMode";case L4:return"Suspense";case P0:return"SuspenseList";case B6:return"Activity"}if(typeof Q==="object")switch(typeof Q.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Q.$$typeof){case p0:return"Portal";case N0:return Q.displayName||"Context";case A0:return(Q._context.displayName||"Context")+".Consumer";case y0:var S=Q.render;return Q=Q.displayName,Q||(Q=S.displayName||S.name||"",Q=Q!==""?"ForwardRef("+Q+")":"ForwardRef"),Q;case O5:return S=Q.displayName||null,S!==null?S:j(Q.type)||"Memo";case n5:S=Q._payload,Q=Q._init;try{return j(Q(S))}catch(d){}}return null}function w(Q){if(Q===l0)return"<>";if(typeof Q==="object"&&Q!==null&&Q.$$typeof===n5)return"<...>";try{var S=j(Q);return S?"<"+S+">":"<...>"}catch(d){return"<...>"}}function M(){var Q=O0.A;return Q===null?null:Q.getOwner()}function E(){return Error("react-stack-top-frame")}function f(Q){if(VX.call(Q,"key")){var S=Object.getOwnPropertyDescriptor(Q,"key").get;if(S&&S.isReactWarning)return!1}return Q.key!==void 0}function y(Q,S){function d(){g$||(g$=!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)",S))}d.isReactWarning=!0,Object.defineProperty(Q,"key",{get:d,configurable:!0})}function m(){var Q=j(this.type);return V7[Q]||(V7[Q]=!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.")),Q=this.props.ref,Q!==void 0?Q:null}function v(Q,S,d,s,$0,w0){var T0=d.ref;return Q={$$typeof:W0,type:Q,key:S,props:d,_owner:s},(T0!==void 0?T0:null)!==null?Object.defineProperty(Q,"ref",{enumerable:!1,get:m}):Object.defineProperty(Q,"ref",{enumerable:!1,value:null}),Q._store={},Object.defineProperty(Q._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Q,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Q,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:$0}),Object.defineProperty(Q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:w0}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q}function o(Q,S){return S=v(Q.type,S,Q.props,Q._owner,Q._debugStack,Q._debugTask),Q._store&&(S._store.validated=Q._store.validated),S}function t(Q){X0(Q)?Q._store&&(Q._store.validated=1):typeof Q==="object"&&Q!==null&&Q.$$typeof===n5&&(Q._payload.status==="fulfilled"?X0(Q._payload.value)&&Q._payload.value._store&&(Q._payload.value._store.validated=1):Q._store&&(Q._store.validated=1))}function X0(Q){return typeof Q==="object"&&Q!==null&&Q.$$typeof===W0}function m0(Q){var S={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(d){return S[d]})}function R0(Q,S){return typeof Q==="object"&&Q!==null&&Q.key!=null?(C(Q.key),m0(""+Q.key)):S.toString(36)}function H5(Q){switch(Q.status){case"fulfilled":return Q.value;case"rejected":throw Q.reason;default:switch(typeof Q.status==="string"?Q.then(T,T):(Q.status="pending",Q.then(function(S){Q.status==="pending"&&(Q.status="fulfilled",Q.value=S)},function(S){Q.status==="pending"&&(Q.status="rejected",Q.reason=S)})),Q.status){case"fulfilled":return Q.value;case"rejected":throw Q.reason}}throw Q}function G0(Q,S,d,s,$0){var w0=typeof Q;if(w0==="undefined"||w0==="boolean")Q=null;var T0=!1;if(Q===null)T0=!0;else switch(w0){case"bigint":case"string":case"number":T0=!0;break;case"object":switch(Q.$$typeof){case W0:case p0:T0=!0;break;case n5:return T0=Q._init,G0(T0(Q._payload),S,d,s,$0)}}if(T0){T0=Q,$0=$0(T0);var d0=s===""?"."+R0(T0,0):s;return r0($0)?(d="",d0!=null&&(d=d0.replace(qX,"$&/")+"/"),G0($0,S,d,"",function(o5){return o5})):$0!=null&&(X0($0)&&($0.key!=null&&(T0&&T0.key===$0.key||C($0.key)),d=o($0,d+($0.key==null||T0&&T0.key===$0.key?"":(""+$0.key).replace(qX,"$&/")+"/")+d0),s!==""&&T0!=null&&X0(T0)&&T0.key==null&&T0._store&&!T0._store.validated&&(d._store.validated=2),$0=d),S.push($0)),1}if(T0=0,d0=s===""?".":s+":",r0(Q))for(var U0=0;U0<Q.length;U0++)s=Q[U0],w0=d0+R0(s,U0),T0+=G0(s,S,d,w0,$0);else if(U0=U(Q),typeof U0==="function")for(U0===Q.entries&&(OX||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),OX=!0),Q=U0.call(Q),U0=0;!(s=Q.next()).done;)s=s.value,w0=d0+R0(s,U0++),T0+=G0(s,S,d,w0,$0);else if(w0==="object"){if(typeof Q.then==="function")return G0(H5(Q),S,d,s,$0);throw S=String(Q),Error("Objects are not valid as a React child (found: "+(S==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":S)+"). If you meant to render a collection of children, use an array instead.")}return T0}function r(Q,S,d){if(Q==null)return Q;var s=[],$0=0;return G0(Q,s,"","",function(w0){return S.call(d,w0,$0++)}),s}function e0(Q){if(Q._status===-1){var S=Q._ioInfo;S!=null&&(S.start=S.end=performance.now()),S=Q._result;var d=S();if(d.then(function($0){if(Q._status===0||Q._status===-1){Q._status=1,Q._result=$0;var w0=Q._ioInfo;w0!=null&&(w0.end=performance.now()),d.status===void 0&&(d.status="fulfilled",d.value=$0)}},function($0){if(Q._status===0||Q._status===-1){Q._status=2,Q._result=$0;var w0=Q._ioInfo;w0!=null&&(w0.end=performance.now()),d.status===void 0&&(d.status="rejected",d.reason=$0)}}),S=Q._ioInfo,S!=null){S.value=d;var s=d.displayName;typeof s==="string"&&(S.name=s)}Q._status===-1&&(Q._status=0,Q._result=d)}if(Q._status===1)return S=Q._result,S===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,S),"default"in S||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,S),S.default;throw Q._result}function p(){var Q=O0.H;return Q===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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),Q}function o0(){O0.asyncTransitions--}function I0(Q){if(q7===null)try{var S=("require"+Math.random()).slice(0,7);q7=(r1&&r1[S]).call(r1,"timers").setImmediate}catch(d){q7=function(s){b$===!1&&(b$=!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 $0=new MessageChannel;$0.port1.onmessage=s,$0.port2.postMessage(void 0)}}return q7(Q)}function K0(Q){return 1<Q.length&&typeof AggregateError==="function"?AggregateError(Q):Q[0]}function N5(Q,S){S!==D7-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. "),D7=S}function u(Q,S,d){var s=O0.actQueue;if(s!==null)if(s.length!==0)try{_0(s),I0(function(){return u(Q,S,d)});return}catch($0){O0.thrownErrors.push($0)}else O0.actQueue=null;0<O0.thrownErrors.length?(s=K0(O0.thrownErrors),O0.thrownErrors.length=0,d(s)):S(Q)}function _0(Q){if(!E7){E7=!0;var S=0;try{for(;S<Q.length;S++){var d=Q[S];do{O0.didUsePromise=!1;var s=d(!1);if(s!==null){if(O0.didUsePromise){Q[S]=d,Q.splice(0,S);return}d=s}else break}while(1)}Q.length=0}catch($0){Q.splice(0,S+1),O0.thrownErrors.push($0)}finally{E7=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var W0=Symbol.for("react.transitional.element"),p0=Symbol.for("react.portal"),l0=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),A0=Symbol.for("react.consumer"),N0=Symbol.for("react.context"),y0=Symbol.for("react.forward_ref"),L4=Symbol.for("react.suspense"),P0=Symbol.for("react.suspense_list"),O5=Symbol.for("react.memo"),n5=Symbol.for("react.lazy"),B6=Symbol.for("react.activity"),v$=Symbol.iterator,n={},PX={isMounted:function(){return!1},enqueueForceUpdate:function(Q){W(Q,"forceUpdate")},enqueueReplaceState:function(Q){W(Q,"replaceState")},enqueueSetState:function(Q){W(Q,"setState")}},P7=Object.assign,j2={};Object.freeze(j2),_.prototype.isReactComponent={},_.prototype.setState=function(Q,S){if(typeof Q!=="object"&&typeof Q!=="function"&&Q!=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,Q,S,"setState")},_.prototype.forceUpdate=function(Q){this.updater.enqueueForceUpdate(this,Q,"forceUpdate")};var b5={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(x2 in b5)b5.hasOwnProperty(x2)&&B(x2,b5[x2]);L.prototype=_.prototype,b5=K.prototype=new L,b5.constructor=K,P7(b5,_.prototype),b5.isPureReactComponent=!0;var r0=Array.isArray,l8=Symbol.for("react.client.reference"),O0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},VX=Object.prototype.hasOwnProperty,Z5=console.createTask?console.createTask:function(){return null};b5={react_stack_bottom_frame:function(Q){return Q()}};var g$,T6,V7={},O7=b5.react_stack_bottom_frame.bind(b5,E)(),MG=Z5(w(E)),OX=!1,qX=/\/+/g,S2=typeof reportError==="function"?reportError:function(Q){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var S=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof Q==="object"&&Q!==null&&typeof Q.message==="string"?String(Q.message):String(Q),error:Q});if(!window.dispatchEvent(S))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",Q);return}console.error(Q)},b$=!1,q7=null,D7=0,C7=!1,E7=!1,c8=typeof queueMicrotask==="function"?function(Q){queueMicrotask(function(){return queueMicrotask(Q)})}:I0;b5=Object.freeze({__proto__:null,c:function(Q){return p().useMemoCache(Q)}});var x2={map:r,forEach:function(Q,S,d){r(Q,function(){S.apply(this,arguments)},d)},count:function(Q){var S=0;return r(Q,function(){S++}),S},toArray:function(Q){return r(Q,function(S){return S})||[]},only:function(Q){if(!X0(Q))throw Error("React.Children.only expected to receive a single React element child.");return Q}};Nw.Activity=B6,Nw.Children=x2,Nw.Component=_,Nw.Fragment=l0,Nw.Profiler=l,Nw.PureComponent=K,Nw.StrictMode=V,Nw.Suspense=L4,Nw.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O0,Nw.__COMPILER_RUNTIME=b5,Nw.act=function(Q){var S=O0.actQueue,d=D7;D7++;var s=O0.actQueue=S!==null?S:[],$0=!1;try{var w0=Q()}catch(U0){O0.thrownErrors.push(U0)}if(0<O0.thrownErrors.length)throw N5(S,d),Q=K0(O0.thrownErrors),O0.thrownErrors.length=0,Q;if(w0!==null&&typeof w0==="object"&&typeof w0.then==="function"){var T0=w0;return c8(function(){$0||C7||(C7=!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(U0,o5){$0=!0,T0.then(function(V4){if(N5(S,d),d===0){try{_0(s),I0(function(){return u(V4,U0,o5)})}catch(s8){O0.thrownErrors.push(s8)}if(0<O0.thrownErrors.length){var k2=K0(O0.thrownErrors);O0.thrownErrors.length=0,o5(k2)}}else U0(V4)},function(V4){N5(S,d),0<O0.thrownErrors.length?(V4=K0(O0.thrownErrors),O0.thrownErrors.length=0,o5(V4)):o5(V4)})}}}var d0=w0;if(N5(S,d),d===0&&(_0(s),s.length!==0&&c8(function(){$0||C7||(C7=!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(() => ...)"))}),O0.actQueue=null),0<O0.thrownErrors.length)throw Q=K0(O0.thrownErrors),O0.thrownErrors.length=0,Q;return{then:function(U0,o5){$0=!0,d===0?(O0.actQueue=s,I0(function(){return u(d0,U0,o5)})):U0(d0)}}},Nw.cache=function(Q){return function(){return Q.apply(null,arguments)}},Nw.cacheSignal=function(){return null},Nw.captureOwnerStack=function(){var Q=O0.getCurrentStack;return Q===null?null:Q()},Nw.cloneElement=function(Q,S,d){if(Q===null||Q===void 0)throw Error("The argument must be a React element, but you passed "+Q+".");var s=P7({},Q.props),$0=Q.key,w0=Q._owner;if(S!=null){var T0;X:{if(VX.call(S,"ref")&&(T0=Object.getOwnPropertyDescriptor(S,"ref").get)&&T0.isReactWarning){T0=!1;break X}T0=S.ref!==void 0}T0&&(w0=M()),f(S)&&(C(S.key),$0=""+S.key);for(d0 in S)!VX.call(S,d0)||d0==="key"||d0==="__self"||d0==="__source"||d0==="ref"&&S.ref===void 0||(s[d0]=S[d0])}var d0=arguments.length-2;if(d0===1)s.children=d;else if(1<d0){T0=Array(d0);for(var U0=0;U0<d0;U0++)T0[U0]=arguments[U0+2];s.children=T0}s=v(Q.type,$0,s,w0,Q._debugStack,Q._debugTask);for($0=2;$0<arguments.length;$0++)t(arguments[$0]);return s},Nw.createContext=function(Q){return Q={$$typeof:N0,_currentValue:Q,_currentValue2:Q,_threadCount:0,Provider:null,Consumer:null},Q.Provider=Q,Q.Consumer={$$typeof:A0,_context:Q},Q._currentRenderer=null,Q._currentRenderer2=null,Q},Nw.createElement=function(Q,S,d){for(var s=2;s<arguments.length;s++)t(arguments[s]);s={};var $0=null;if(S!=null)for(U0 in T6||!("__self"in S)||"key"in S||(T6=!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")),f(S)&&(C(S.key),$0=""+S.key),S)VX.call(S,U0)&&U0!=="key"&&U0!=="__self"&&U0!=="__source"&&(s[U0]=S[U0]);var w0=arguments.length-2;if(w0===1)s.children=d;else if(1<w0){for(var T0=Array(w0),d0=0;d0<w0;d0++)T0[d0]=arguments[d0+2];Object.freeze&&Object.freeze(T0),s.children=T0}if(Q&&Q.defaultProps)for(U0 in w0=Q.defaultProps,w0)s[U0]===void 0&&(s[U0]=w0[U0]);$0&&y(s,typeof Q==="function"?Q.displayName||Q.name||"Unknown":Q);var U0=1e4>O0.recentlyCreatedOwnerStacks++;return v(Q,$0,s,M(),U0?Error("react-stack-top-frame"):O7,U0?Z5(w(Q)):MG)},Nw.createRef=function(){var Q={current:null};return Object.seal(Q),Q},Nw.forwardRef=function(Q){Q!=null&&Q.$$typeof===O5?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof Q!=="function"?console.error("forwardRef requires a render function but was given %s.",Q===null?"null":typeof Q):Q.length!==0&&Q.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",Q.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),Q!=null&&Q.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var S={$$typeof:y0,render:Q},d;return Object.defineProperty(S,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(s){d=s,Q.name||Q.displayName||(Object.defineProperty(Q,"name",{value:s}),Q.displayName=s)}}),S},Nw.isValidElement=X0,Nw.lazy=function(Q){Q={_status:-1,_result:Q};var S={$$typeof:n5,_payload:Q,_init:e0},d={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return Q._ioInfo=d,S._debugInfo=[{awaited:d}],S},Nw.memo=function(Q,S){Q==null&&console.error("memo: The first argument must be a component. Instead received: %s",Q===null?"null":typeof Q),S={$$typeof:O5,type:Q,compare:S===void 0?null:S};var d;return Object.defineProperty(S,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(s){d=s,Q.name||Q.displayName||(Object.defineProperty(Q,"name",{value:s}),Q.displayName=s)}}),S},Nw.startTransition=function(Q){var S=O0.T,d={};d._updatedFibers=new Set,O0.T=d;try{var s=Q(),$0=O0.S;$0!==null&&$0(d,s),typeof s==="object"&&s!==null&&typeof s.then==="function"&&(O0.asyncTransitions++,s.then(o0,o0),s.then(T,S2))}catch(w0){S2(w0)}finally{S===null&&d._updatedFibers&&(Q=d._updatedFibers.size,d._updatedFibers.clear(),10<Q&&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.")),S!==null&&d.types!==null&&(S.types!==null&&S.types!==d.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."),S.types=d.types),O0.T=S}},Nw.unstable_useCacheRefresh=function(){return p().useCacheRefresh()},Nw.use=function(Q){return p().use(Q)},Nw.useActionState=function(Q,S,d){return p().useActionState(Q,S,d)},Nw.useCallback=function(Q,S){return p().useCallback(Q,S)},Nw.useContext=function(Q){var S=p();return Q.$$typeof===A0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),S.useContext(Q)},Nw.useDebugValue=function(Q,S){return p().useDebugValue(Q,S)},Nw.useDeferredValue=function(Q,S){return p().useDeferredValue(Q,S)},Nw.useEffect=function(Q,S){return Q==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useEffect(Q,S)},Nw.useEffectEvent=function(Q){return p().useEffectEvent(Q)},Nw.useId=function(){return p().useId()},Nw.useImperativeHandle=function(Q,S,d){return p().useImperativeHandle(Q,S,d)},Nw.useInsertionEffect=function(Q,S){return Q==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useInsertionEffect(Q,S)},Nw.useLayoutEffect=function(Q,S){return Q==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),p().useLayoutEffect(Q,S)},Nw.useMemo=function(Q,S){return p().useMemo(Q,S)},Nw.useOptimistic=function(Q,S){return p().useOptimistic(Q,S)},Nw.useReducer=function(Q,S,d){return p().useReducer(Q,S,d)},Nw.useRef=function(Q){return p().useRef(Q)},Nw.useState=function(Q){return p().useState(Q)},Nw.useSyncExternalStore=function(Q,S,d){return p().useSyncExternalStore(Q,S,d)},Nw.useTransition=function(){return p().useTransition()},Nw.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var jL=T7((Qw)=>{var tJ=e(G5());(function(){function B(){}function U(w){return""+w}function W(w,M,E){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{U(f);var y=!1}catch(m){y=!0}return y&&(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&&f[Symbol.toStringTag]||f.constructor.name||"Object"),U(f)),{$$typeof:C,key:f==null?null:""+f,children:w,containerInfo:M,implementation:E}}function _(w,M){if(w==="font")return"";if(typeof M==="string")return M==="use-credentials"?M:""}function L(w){return w===null?"`null`":w===void 0?"`undefined`":w===""?"an empty string":'something with type "'+typeof w+'"'}function K(w){return w===null?"`null`":w===void 0?"`undefined`":w===""?"an empty string":typeof w==="string"?JSON.stringify(w):typeof w==="number"?"`"+w+"`":'something with type "'+typeof w+'"'}function T(){var w=j.H;return w===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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),w}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var F={d:{f:B,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:B,C:B,L:B,m:B,X:B,S:B,M:B},p:0,findDOMNode:null},C=Symbol.for("react.portal"),j=tJ.__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"),Qw.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,Qw.createPortal=function(w,M){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)throw Error("Target container is not a DOM element.");return W(w,M,null,E)},Qw.flushSync=function(w){var M=j.T,E=F.p;try{if(j.T=null,F.p=2,w)return w()}finally{j.T=M,F.p=E,F.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.")}},Qw.preconnect=function(w,M){typeof w==="string"&&w?M!=null&&typeof M!=="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.",K(M)):M!=null&&typeof M.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.",L(M.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",L(w)),typeof w==="string"&&(M?(M=M.crossOrigin,M=typeof M==="string"?M==="use-credentials"?M:"":void 0):M=null,F.d.C(w,M))},Qw.prefetchDNS=function(w){if(typeof w!=="string"||!w)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",L(w));else if(1<arguments.length){var M=arguments[1];typeof M==="object"&&M.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`.",K(M)):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`.",K(M))}typeof w==="string"&&F.d.D(w)},Qw.preinit=function(w,M){if(typeof w==="string"&&w?M==null||typeof M!=="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.",K(M)):M.as!=="style"&&M.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".',K(M.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",L(w)),typeof w==="string"&&M&&typeof M.as==="string"){var E=M.as,f=_(E,M.crossOrigin),y=typeof M.integrity==="string"?M.integrity:void 0,m=typeof M.fetchPriority==="string"?M.fetchPriority:void 0;E==="style"?F.d.S(w,typeof M.precedence==="string"?M.precedence:void 0,{crossOrigin:f,integrity:y,fetchPriority:m}):E==="script"&&F.d.X(w,{crossOrigin:f,integrity:y,fetchPriority:m,nonce:typeof M.nonce==="string"?M.nonce:void 0})}},Qw.preinitModule=function(w,M){var E="";if(typeof w==="string"&&w||(E+=" The `href` argument encountered was "+L(w)+"."),M!==void 0&&typeof M!=="object"?E+=" The `options` argument encountered was "+L(M)+".":M&&("as"in M)&&M.as!=="script"&&(E+=" The `as` option encountered was "+K(M.as)+"."),E)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",E);else switch(E=M&&typeof M.as==="string"?M.as:"script",E){case"script":break;default:E=K(E),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)',E,w)}if(typeof w==="string")if(typeof M==="object"&&M!==null){if(M.as==null||M.as==="script")E=_(M.as,M.crossOrigin),F.d.M(w,{crossOrigin:E,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0})}else M==null&&F.d.M(w)},Qw.preload=function(w,M){var E="";if(typeof w==="string"&&w||(E+=" The `href` argument encountered was "+L(w)+"."),M==null||typeof M!=="object"?E+=" The `options` argument encountered was "+L(M)+".":typeof M.as==="string"&&M.as||(E+=" The `as` option encountered was "+L(M.as)+"."),E&&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',E),typeof w==="string"&&typeof M==="object"&&M!==null&&typeof M.as==="string"){E=M.as;var f=_(E,M.crossOrigin);F.d.L(w,E,{crossOrigin:f,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0,type:typeof M.type==="string"?M.type:void 0,fetchPriority:typeof M.fetchPriority==="string"?M.fetchPriority:void 0,referrerPolicy:typeof M.referrerPolicy==="string"?M.referrerPolicy:void 0,imageSrcSet:typeof M.imageSrcSet==="string"?M.imageSrcSet:void 0,imageSizes:typeof M.imageSizes==="string"?M.imageSizes:void 0,media:typeof M.media==="string"?M.media:void 0})}},Qw.preloadModule=function(w,M){var E="";typeof w==="string"&&w||(E+=" The `href` argument encountered was "+L(w)+"."),M!==void 0&&typeof M!=="object"?E+=" The `options` argument encountered was "+L(M)+".":M&&("as"in M)&&typeof M.as!=="string"&&(E+=" The `as` option encountered was "+L(M.as)+"."),E&&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',E),typeof w==="string"&&(M?(E=_(M.as,M.crossOrigin),F.d.m(w,{as:typeof M.as==="string"&&M.as!=="script"?M.as:void 0,crossOrigin:E,integrity:typeof M.integrity==="string"?M.integrity:void 0})):F.d.m(w))},Qw.requestFormReset=function(w){F.d.r(w)},Qw.unstable_batchedUpdates=function(w,M){return w(M)},Qw.useFormState=function(w,M,E){return T().useFormState(w,M,E)},Qw.useFormStatus=function(){return T().useHostTransitionStatus()},Qw.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var xL=T7((dI,SL)=>{var Kw=e(jL());SL.exports=Kw});var kL=T7((Fw)=>{var u0=e(EL()),C8=e(G5()),eJ=e(xL());(function(){function B(X,$){for(X=X.memoizedState;X!==null&&0<$;)X=X.next,$--;return X}function U(X,$,Y,G){if(Y>=$.length)return G;var Z=$[Y],J=k5(X)?X.slice():S0({},X);return J[Z]=U(X[Z],$,Y+1,G),J}function W(X,$,Y){if($.length!==Y.length)console.warn("copyWithRename() expects paths of the same length");else{for(var G=0;G<Y.length-1;G++)if($[G]!==Y[G]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return _(X,$,Y,0)}}function _(X,$,Y,G){var Z=$[G],J=k5(X)?X.slice():S0({},X);return G+1===$.length?(J[Y[G]]=J[Z],k5(J)?J.splice(Z,1):delete J[Z]):J[Z]=_(X[Z],$,Y,G+1),J}function L(X,$,Y){var G=$[Y],Z=k5(X)?X.slice():S0({},X);if(Y+1===$.length)return k5(Z)?Z.splice(G,1):delete Z[G],Z;return Z[G]=L(X[G],$,Y+1),Z}function K(){return!1}function T(){return null}function F(){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 C(){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 j(){}function w(){}function M(X){var $=[];return X.forEach(function(Y){$.push(Y)}),$.sort().join(", ")}function E(X,$,Y,G){return new nQ(X,$,Y,G)}function f(X,$){X.context===e2&&(M3(X.current,2,$,X,null,null),hX())}function y(X,$){if(s4!==null){var Y=$.staleFamilies;$=$.updatedFamilies,M9(),vH(X.current,$,Y),hX()}}function m(X){s4=X}function v(X){return!(!X||X.nodeType!==1&&X.nodeType!==9&&X.nodeType!==11)}function o(X){var $=X,Y=X;if(X.alternate)for(;$.return;)$=$.return;else{X=$;do $=X,($.flags&4098)!==0&&(Y=$.return),X=$.return;while(X)}return $.tag===3?Y:null}function t(X){if(X.tag===13){var $=X.memoizedState;if($===null&&(X=X.alternate,X!==null&&($=X.memoizedState)),$!==null)return $.dehydrated}return null}function X0(X){if(X.tag===31){var $=X.memoizedState;if($===null&&(X=X.alternate,X!==null&&($=X.memoizedState)),$!==null)return $.dehydrated}return null}function m0(X){if(o(X)!==X)throw Error("Unable to find node on an unmounted component.")}function R0(X){var $=X.alternate;if(!$){if($=o(X),$===null)throw Error("Unable to find node on an unmounted component.");return $!==X?null:X}for(var Y=X,G=$;;){var Z=Y.return;if(Z===null)break;var J=Z.alternate;if(J===null){if(G=Z.return,G!==null){Y=G;continue}break}if(Z.child===J.child){for(J=Z.child;J;){if(J===Y)return m0(Z),X;if(J===G)return m0(Z),$;J=J.sibling}throw Error("Unable to find node on an unmounted component.")}if(Y.return!==G.return)Y=Z,G=J;else{for(var H=!1,z=Z.child;z;){if(z===Y){H=!0,Y=Z,G=J;break}if(z===G){H=!0,G=Z,Y=J;break}z=z.sibling}if(!H){for(z=J.child;z;){if(z===Y){H=!0,Y=J,G=Z;break}if(z===G){H=!0,G=J,Y=Z;break}z=z.sibling}if(!H)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(Y.alternate!==G)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(Y.tag!==3)throw Error("Unable to find node on an unmounted component.");return Y.stateNode.current===Y?X:$}function H5(X){var $=X.tag;if($===5||$===26||$===27||$===6)return X;for(X=X.child;X!==null;){if($=H5(X),$!==null)return $;X=X.sibling}return null}function G0(X){if(X===null||typeof X!=="object")return null;return X=dW&&X[dW]||X["@@iterator"],typeof X==="function"?X:null}function r(X){if(X==null)return null;if(typeof X==="function")return X.$$typeof===KF?null:X.displayName||X.name||null;if(typeof X==="string")return X;switch(X){case sX:return"Fragment";case V3:return"Profiler";case cY:return"StrictMode";case q3:return"Suspense";case D3:return"SuspenseList";case C3:return"Activity"}if(typeof X==="object")switch(typeof X.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),X.$$typeof){case cX:return"Portal";case f6:return X.displayName||"Context";case O3:return(X._context.displayName||"Context")+".Consumer";case C9:var $=X.render;return X=X.displayName,X||(X=$.displayName||$.name||"",X=X!==""?"ForwardRef("+X+")":"ForwardRef"),X;case sY:return $=X.displayName||null,$!==null?$:r(X.type)||"Memo";case k4:$=X._payload,X=X._init;try{return r(X($))}catch(Y){}}return null}function e0(X){return typeof X.tag==="number"?p(X):typeof X.name==="string"?X.name:null}function p(X){var $=X.type;switch(X.tag){case 31:return"Activity";case 24:return"Cache";case 9:return($._context.displayName||"Context")+".Consumer";case 10:return $.displayName||"Context";case 18:return"DehydratedFragment";case 11:return X=$.render,X=X.displayName||X.name||"",$.displayName||(X!==""?"ForwardRef("+X+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return $;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return r($);case 8:return $===cY?"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 $==="function")return $.displayName||$.name||null;if(typeof $==="string")return $;break;case 29:if($=X._debugInfo,$!=null){for(var Y=$.length-1;0<=Y;Y--)if(typeof $[Y].name==="string")return $[Y].name}if(X.return!==null)return p(X.return)}return null}function o0(X){return{current:X}}function I0(X,$){0>W2?console.error("Unexpected pop."):($!==j3[W2]&&console.error("Unexpected Fiber popped."),X.current=E3[W2],E3[W2]=null,j3[W2]=null,W2--)}function K0(X,$,Y){W2++,E3[W2]=X.current,j3[W2]=Y,X.current=$}function N5(X){return X===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),X}function u(X,$){K0(i2,$,X),K0(E9,X,X),K0(s2,null,X);var Y=$.nodeType;switch(Y){case 9:case 11:Y=Y===9?"#document":"#fragment",$=($=$.documentElement)?($=$.namespaceURI)?_W($):V2:V2;break;default:if(Y=$.tagName,$=$.namespaceURI)$=_W($),$=AW($,Y);else switch(Y){case"svg":$=q8;break;case"math":$=l1;break;default:$=V2}}Y=Y.toLowerCase(),Y=JH(null,Y),Y={context:$,ancestorInfo:Y},I0(s2,X),K0(s2,Y,X)}function _0(X){I0(s2,X),I0(E9,X),I0(i2,X)}function W0(){return N5(s2.current)}function p0(X){X.memoizedState!==null&&K0(iY,X,X);var $=N5(s2.current),Y=X.type,G=AW($.context,Y);Y=JH($.ancestorInfo,Y),G={context:G,ancestorInfo:Y},$!==G&&(K0(E9,X,X),K0(s2,G,X))}function l0(X){E9.current===X&&(I0(s2,X),I0(E9,X)),iY.current===X&&(I0(iY,X),T$._currentValue=LX)}function V(){}function l(){if(j9===0){uW=console.log,pW=console.info,lW=console.warn,cW=console.error,sW=console.group,iW=console.groupCollapsed,aW=console.groupEnd;var X={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:X,log:X,warn:X,error:X,group:X,groupCollapsed:X,groupEnd:X})}j9++}function A0(){if(j9--,j9===0){var X={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:S0({},X,{value:uW}),info:S0({},X,{value:pW}),warn:S0({},X,{value:lW}),error:S0({},X,{value:cW}),group:S0({},X,{value:sW}),groupCollapsed:S0({},X,{value:iW}),groupEnd:S0({},X,{value:aW})})}0>j9&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function N0(X){var $=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,X=X.stack,Error.prepareStackTrace=$,X.startsWith(`Error: react-stack-top-frame
`)&&(X=X.slice(29)),$=X.indexOf(`
`),$!==-1&&(X=X.slice($+1)),$=X.indexOf("react_stack_bottom_frame"),$!==-1&&($=X.lastIndexOf(`
`,$)),$!==-1)X=X.slice(0,$);else return"";return X}function y0(X){if(S3===void 0)try{throw Error()}catch(Y){var $=Y.stack.trim().match(/\n( *(at )?)/);S3=$&&$[1]||"",nW=-1<Y.stack.indexOf(`
at`)?" (<anonymous>)":-1<Y.stack.indexOf("@")?"@unknown:0:0":""}return`
`+S3+X+nW}function L4(X,$){if(!X||x3)return"";var Y=k3.get(X);if(Y!==void 0)return Y;x3=!0,Y=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var G=null;G=g.H,g.H=null,l();try{var Z={DetermineComponentFrameRoot:function(){try{if($){var I=function(){throw Error()};if(Object.defineProperty(I.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(I,[])}catch(c){var x=c}Reflect.construct(X,[],I)}else{try{I.call()}catch(c){x=c}X.call(I.prototype)}}else{try{throw Error()}catch(c){x=c}(I=X())&&typeof I.catch==="function"&&I.catch(function(){})}}catch(c){if(c&&x&&typeof c.stack==="string")return[c.stack,x.stack]}return[null,null]}};Z.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var J=Object.getOwnPropertyDescriptor(Z.DetermineComponentFrameRoot,"name");J&&J.configurable&&Object.defineProperty(Z.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var H=Z.DetermineComponentFrameRoot(),z=H[0],A=H[1];if(z&&A){var N=z.split(`
`),q=A.split(`
`);for(H=J=0;J<N.length&&!N[J].includes("DetermineComponentFrameRoot");)J++;for(;H<q.length&&!q[H].includes("DetermineComponentFrameRoot");)H++;if(J===N.length||H===q.length)for(J=N.length-1,H=q.length-1;1<=J&&0<=H&&N[J]!==q[H];)H--;for(;1<=J&&0<=H;J--,H--)if(N[J]!==q[H]){if(J!==1||H!==1)do if(J--,H--,0>H||N[J]!==q[H]){var D=`
`+N[J].replace(" at new "," at ");return X.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",X.displayName)),typeof X==="function"&&k3.set(X,D),D}while(1<=J&&0<=H);break}}}finally{x3=!1,g.H=G,A0(),Error.prepareStackTrace=Y}return N=(N=X?X.displayName||X.name:"")?y0(N):"",typeof X==="function"&&k3.set(X,N),N}function P0(X,$){switch(X.tag){case 26:case 27:case 5:return y0(X.type);case 16:return y0("Lazy");case 13:return X.child!==$&&$!==null?y0("Suspense Fallback"):y0("Suspense");case 19:return y0("SuspenseList");case 0:case 15:return L4(X.type,!1);case 11:return L4(X.type.render,!1);case 1:return L4(X.type,!0);case 31:return y0("Activity");default:return""}}function O5(X){try{var $="",Y=null;do{$+=P0(X,Y);var G=X._debugInfo;if(G)for(var Z=G.length-1;0<=Z;Z--){var J=G[Z];if(typeof J.name==="string"){var H=$;X:{var{name:z,env:A,debugLocation:N}=J;if(N!=null){var q=N0(N),D=q.lastIndexOf(`
`),I=D===-1?q:q.slice(D+1);if(I.indexOf(z)!==-1){var x=`
`+I;break X}}x=y0(z+(A?" ["+A+"]":""))}$=H+x}}Y=X,X=X.return}while(X);return $}catch(c){return`
Error generating stack: `+c.message+`
`+c.stack}}function n5(X){return(X=X?X.displayName||X.name:"")?y0(X):""}function B6(){if(v4===null)return null;var X=v4._debugOwner;return X!=null?e0(X):null}function v$(){if(v4===null)return"";var X=v4;try{var $="";switch(X.tag===6&&(X=X.return),X.tag){case 26:case 27:case 5:$+=y0(X.type);break;case 13:$+=y0("Suspense");break;case 19:$+=y0("SuspenseList");break;case 31:$+=y0("Activity");break;case 30:case 0:case 15:case 1:X._debugOwner||$!==""||($+=n5(X.type));break;case 11:X._debugOwner||$!==""||($+=n5(X.type.render))}for(;X;)if(typeof X.tag==="number"){var Y=X;X=Y._debugOwner;var G=Y._debugStack;if(X&&G){var Z=N0(G);Z!==""&&($+=`
`+Z)}}else if(X.debugStack!=null){var J=X.debugStack;(X=X.owner)&&J&&($+=`
`+N0(J))}else break;var H=$}catch(z){H=`
Error generating stack: `+z.message+`
`+z.stack}return H}function n(X,$,Y,G,Z,J,H){var z=v4;PX(X);try{return X!==null&&X._debugTask?X._debugTask.run($.bind(null,Y,G,Z,J,H)):$(Y,G,Z,J,H)}finally{PX(z)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function PX(X){g.getCurrentStack=X===null?null:v$,h6=!1,v4=X}function P7(X){return typeof Symbol==="function"&&Symbol.toStringTag&&X[Symbol.toStringTag]||X.constructor.name||"Object"}function j2(X){try{return b5(X),!1}catch($){return!0}}function b5(X){return""+X}function r0(X,$){if(j2(X))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",$,P7(X)),b5(X)}function l8(X,$){if(j2(X))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.",$,P7(X)),b5(X)}function O0(X){if(j2(X))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.",P7(X)),b5(X)}function VX(X){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var $=__REACT_DEVTOOLS_GLOBAL_HOOK__;if($.isDisabled)return!0;if(!$.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{aX=$.inject(X),t5=$}catch(Y){console.error("React instrumentation encountered an error: %o.",Y)}return $.checkDCE?!0:!1}function Z5(X){if(typeof PF==="function"&&VF(X),t5&&typeof t5.setStrictMode==="function")try{t5.setStrictMode(aX,X)}catch($){y6||(y6=!0,console.error("React instrumentation encountered an error: %o",$))}}function g$(X){return X>>>=0,X===0?32:31-(OF(X)/qF|0)|0}function T6(X){var $=X&42;if($!==0)return $;switch(X&-X){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 X&261888;case 262144:case 524288:case 1048576:case 2097152:return X&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return X&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."),X}}function V7(X,$,Y){var G=X.pendingLanes;if(G===0)return 0;var Z=0,J=X.suspendedLanes,H=X.pingedLanes;X=X.warmLanes;var z=G&134217727;return z!==0?(G=z&~J,G!==0?Z=T6(G):(H&=z,H!==0?Z=T6(H):Y||(Y=z&~X,Y!==0&&(Z=T6(Y))))):(z=G&~J,z!==0?Z=T6(z):H!==0?Z=T6(H):Y||(Y=G&~X,Y!==0&&(Z=T6(Y)))),Z===0?0:$!==0&&$!==Z&&($&J)===0&&(J=Z&-Z,Y=$&-$,J>=Y||J===32&&(Y&4194048)!==0)?$:Z}function O7(X,$){return(X.pendingLanes&~(X.suspendedLanes&~X.pingedLanes)&$)===0}function MG(X,$){switch(X){case 1:case 2:case 4:case 8:case 64:return $+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 $+5000;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 OX(){var X=oY;return oY<<=1,(oY&62914560)===0&&(oY=4194304),X}function qX(X){for(var $=[],Y=0;31>Y;Y++)$.push(X);return $}function S2(X,$){X.pendingLanes|=$,$!==268435456&&(X.suspendedLanes=0,X.pingedLanes=0,X.warmLanes=0)}function b$(X,$,Y,G,Z,J){var H=X.pendingLanes;X.pendingLanes=Y,X.suspendedLanes=0,X.pingedLanes=0,X.warmLanes=0,X.expiredLanes&=Y,X.entangledLanes&=Y,X.errorRecoveryDisabledLanes&=Y,X.shellSuspendCounter=0;var{entanglements:z,expirationTimes:A,hiddenUpdates:N}=X;for(Y=H&~Y;0<Y;){var q=31-G4(Y),D=1<<q;z[q]=0,A[q]=-1;var I=N[q];if(I!==null)for(N[q]=null,q=0;q<I.length;q++){var x=I[q];x!==null&&(x.lane&=-536870913)}Y&=~D}G!==0&&q7(X,G,0),J!==0&&Z===0&&X.tag!==0&&(X.suspendedLanes|=J&~(H&~$))}function q7(X,$,Y){X.pendingLanes|=$,X.suspendedLanes&=~$;var G=31-G4($);X.entangledLanes|=$,X.entanglements[G]=X.entanglements[G]|1073741824|Y&261930}function D7(X,$){var Y=X.entangledLanes|=$;for(X=X.entanglements;Y;){var G=31-G4(Y),Z=1<<G;Z&$|X[G]&$&&(X[G]|=$),Y&=~Z}}function C7(X,$){var Y=$&-$;return Y=(Y&42)!==0?1:E7(Y),(Y&(X.suspendedLanes|$))!==0?0:Y}function E7(X){switch(X){case 2:X=1;break;case 8:X=4;break;case 32:X=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:X=128;break;case 268435456:X=134217728;break;default:X=0}return X}function c8(X,$,Y){if(d6)for(X=X.pendingUpdatersLaneMap;0<Y;){var G=31-G4(Y),Z=1<<G;X[G].add($),Y&=~Z}}function x2(X,$){if(d6)for(var{pendingUpdatersLaneMap:Y,memoizedUpdaters:G}=X;0<$;){var Z=31-G4($);X=1<<Z,Z=Y[Z],0<Z.size&&(Z.forEach(function(J){var H=J.alternate;H!==null&&G.has(H)||G.add(J)}),Z.clear()),$&=~X}}function Q(X){return X&=-X,g4!==0&&g4<X?_6!==0&&_6<X?(X&134217727)!==0?u6:rY:_6:g4}function S(){var X=s0.p;if(X!==0)return X;return X=window.event,X===void 0?u6:vW(X.type)}function d(X,$){var Y=s0.p;try{return s0.p=X,$()}finally{s0.p=Y}}function s(X){delete X[c5],delete X[Z4],delete X[f3],delete X[DF],delete X[CF]}function $0(X){var $=X[c5];if($)return $;for(var Y=X.parentNode;Y;){if($=Y[n2]||Y[c5]){if(Y=$.alternate,$.child!==null||Y!==null&&Y.child!==null)for(X=TW(X);X!==null;){if(Y=X[c5])return Y;X=TW(X)}return $}X=Y,Y=X.parentNode}return null}function w0(X){if(X=X[c5]||X[n2]){var $=X.tag;if($===5||$===6||$===13||$===31||$===26||$===27||$===3)return X}return null}function T0(X){var $=X.tag;if($===5||$===26||$===27||$===6)return X.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function d0(X){var $=X[oW];return $||($=X[oW]={hoistableStyles:new Map,hoistableScripts:new Map}),$}function U0(X){X[S9]=!0}function o5(X,$){V4(X,$),V4(X+"Capture",$)}function V4(X,$){c7[X]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",X),c7[X]=$;var Y=X.toLowerCase();h3[Y]=X,X==="onDoubleClick"&&(h3.ondblclick=X);for(X=0;X<$.length;X++)rW.add($[X])}function k2(X,$){EF[$.type]||$.onChange||$.onInput||$.readOnly||$.disabled||$.value==null||(X==="select"?console.error("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`."):console.error("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`.")),$.onChange||$.readOnly||$.disabled||$.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 s8(X){if(W6.call(eW,X))return!0;if(W6.call(tW,X))return!1;if(jF.test(X))return eW[X]=!0;return tW[X]=!0,console.error("Invalid attribute name: `%s`",X),!1}function lB(X,$,Y){if(s8($)){if(!X.hasAttribute($)){switch(typeof Y){case"symbol":case"object":return Y;case"function":return Y;case"boolean":if(Y===!1)return Y}return Y===void 0?void 0:null}if(X=X.getAttribute($),X===""&&Y===!0)return!0;return r0(Y,$),X===""+Y?Y:X}}function m$(X,$,Y){if(s8($))if(Y===null)X.removeAttribute($);else{switch(typeof Y){case"undefined":case"function":case"symbol":X.removeAttribute($);return;case"boolean":var G=$.toLowerCase().slice(0,5);if(G!=="data-"&&G!=="aria-"){X.removeAttribute($);return}}r0(Y,$),X.setAttribute($,""+Y)}}function f$(X,$,Y){if(Y===null)X.removeAttribute($);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":X.removeAttribute($);return}r0(Y,$),X.setAttribute($,""+Y)}}function $2(X,$,Y,G){if(G===null)X.removeAttribute(Y);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":X.removeAttribute(Y);return}r0(G,Y),X.setAttributeNS($,Y,""+G)}}function d4(X){switch(typeof X){case"bigint":case"boolean":case"number":case"string":case"undefined":return X;case"object":return O0(X),X;default:return""}}function cB(X){var $=X.type;return(X=X.nodeName)&&X.toLowerCase()==="input"&&($==="checkbox"||$==="radio")}function qQ(X,$,Y){var G=Object.getOwnPropertyDescriptor(X.constructor.prototype,$);if(!X.hasOwnProperty($)&&typeof G<"u"&&typeof G.get==="function"&&typeof G.set==="function"){var{get:Z,set:J}=G;return Object.defineProperty(X,$,{configurable:!0,get:function(){return Z.call(this)},set:function(H){O0(H),Y=""+H,J.call(this,H)}}),Object.defineProperty(X,$,{enumerable:G.enumerable}),{getValue:function(){return Y},setValue:function(H){O0(H),Y=""+H},stopTracking:function(){X._valueTracker=null,delete X[$]}}}}function wG(X){if(!X._valueTracker){var $=cB(X)?"checked":"value";X._valueTracker=qQ(X,$,""+X[$])}}function sB(X){if(!X)return!1;var $=X._valueTracker;if(!$)return!0;var Y=$.getValue(),G="";return X&&(G=cB(X)?X.checked?"true":"false":X.value),X=G,X!==Y?($.setValue(X),!0):!1}function h$(X){if(X=X||(typeof document<"u"?document:void 0),typeof X>"u")return null;try{return X.activeElement||X.body}catch($){return X.body}}function u4(X){return X.replace(SF,function($){return"\\"+$.charCodeAt(0).toString(16)+" "})}function iB(X,$){$.checked===void 0||$.defaultChecked===void 0||$_||(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",B6()||"A component",$.type),$_=!0),$.value===void 0||$.defaultValue===void 0||X_||(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",B6()||"A component",$.type),X_=!0)}function TG(X,$,Y,G,Z,J,H,z){if(X.name="",H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"?(r0(H,"type"),X.type=H):X.removeAttribute("type"),$!=null)if(H==="number"){if($===0&&X.value===""||X.value!=$)X.value=""+d4($)}else X.value!==""+d4($)&&(X.value=""+d4($));else H!=="submit"&&H!=="reset"||X.removeAttribute("value");$!=null?RG(X,H,d4($)):Y!=null?RG(X,H,d4(Y)):G!=null&&X.removeAttribute("value"),Z==null&&J!=null&&(X.defaultChecked=!!J),Z!=null&&(X.checked=Z&&typeof Z!=="function"&&typeof Z!=="symbol"),z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"?(r0(z,"name"),X.name=""+d4(z)):X.removeAttribute("name")}function aB(X,$,Y,G,Z,J,H,z){if(J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"&&(r0(J,"type"),X.type=J),$!=null||Y!=null){if(!(J!=="submit"&&J!=="reset"||$!==void 0&&$!==null)){wG(X);return}Y=Y!=null?""+d4(Y):"",$=$!=null?""+d4($):Y,z||$===X.value||(X.value=$),X.defaultValue=$}G=G!=null?G:Z,G=typeof G!=="function"&&typeof G!=="symbol"&&!!G,X.checked=z?X.checked:!!G,X.defaultChecked=!!G,H!=null&&typeof H!=="function"&&typeof H!=="symbol"&&typeof H!=="boolean"&&(r0(H,"name"),X.name=H),wG(X)}function RG(X,$,Y){$==="number"&&h$(X.ownerDocument)===X||X.defaultValue===""+Y||(X.defaultValue=""+Y)}function nB(X,$){$.value==null&&(typeof $.children==="object"&&$.children!==null?C8.Children.forEach($.children,function(Y){Y==null||typeof Y==="string"||typeof Y==="number"||typeof Y==="bigint"||G_||(G_=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):$.dangerouslySetInnerHTML==null||Z_||(Z_=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),$.selected==null||Y_||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Y_=!0)}function oB(){var X=B6();return X?`
Check the render method of \``+X+"`.":""}function DX(X,$,Y,G){if(X=X.options,$){$={};for(var Z=0;Z<Y.length;Z++)$["$"+Y[Z]]=!0;for(Y=0;Y<X.length;Y++)Z=$.hasOwnProperty("$"+X[Y].value),X[Y].selected!==Z&&(X[Y].selected=Z),Z&&G&&(X[Y].defaultSelected=!0)}else{Y=""+d4(Y),$=null;for(Z=0;Z<X.length;Z++){if(X[Z].value===Y){X[Z].selected=!0,G&&(X[Z].defaultSelected=!0);return}$!==null||X[Z].disabled||($=X[Z])}$!==null&&($.selected=!0)}}function rB(X,$){for(X=0;X<B_.length;X++){var Y=B_[X];if($[Y]!=null){var G=k5($[Y]);$.multiple&&!G?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",Y,oB()):!$.multiple&&G&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",Y,oB())}}$.value===void 0||$.defaultValue===void 0||J_||(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"),J_=!0)}function tB(X,$){$.value===void 0||$.defaultValue===void 0||H_||(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",B6()||"A component"),H_=!0),$.children!=null&&$.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function eB(X,$,Y){if($!=null&&($=""+d4($),$!==X.value&&(X.value=$),Y==null)){X.defaultValue!==$&&(X.defaultValue=$);return}X.defaultValue=Y!=null?""+d4(Y):""}function XH(X,$,Y,G){if($==null){if(G!=null){if(Y!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(k5(G)){if(1<G.length)throw Error("<textarea> can only have at most one child.");G=G[0]}Y=G}Y==null&&(Y=""),$=Y}Y=d4($),X.defaultValue=Y,G=X.textContent,G===Y&&G!==""&&G!==null&&(X.value=G),wG(X)}function $H(X,$){return X.serverProps===void 0&&X.serverTail.length===0&&X.children.length===1&&3<X.distanceFromLeaf&&X.distanceFromLeaf>15-$?$H(X.children[0],$):X}function O4(X){return" "+" ".repeat(X)}function CX(X){return"+ "+" ".repeat(X)}function j7(X){return"- "+" ".repeat(X)}function YH(X){switch(X.tag){case 26:case 27:case 5:return X.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return X=X.type,X.displayName||X.name||null;case 11:return X=X.type.render,X.displayName||X.name||null;case 1:return X=X.type,X.displayName||X.name||null;default:return null}}function i8(X,$){return U_.test(X)?(X=JSON.stringify(X),X.length>$-2?8>$?'{"..."}':"{"+X.slice(0,$-7)+'..."}':"{"+X+"}"):X.length>$?5>$?'{"..."}':X.slice(0,$-3)+"...":X}function y$(X,$,Y){var G=120-2*Y;if($===null)return CX(Y)+i8(X,G)+`
`;if(typeof $==="string"){for(var Z=0;Z<$.length&&Z<X.length&&$.charCodeAt(Z)===X.charCodeAt(Z);Z++);return Z>G-8&&10<Z&&(X="..."+X.slice(Z-8),$="..."+$.slice(Z-8)),CX(Y)+i8(X,G)+`
`+j7(Y)+i8($,G)+`
`}return O4(Y)+i8(X,G)+`
`}function IG(X){return Object.prototype.toString.call(X).replace(/^\[object (.*)\]$/,function($,Y){return Y})}function a8(X,$){switch(typeof X){case"string":return X=JSON.stringify(X),X.length>$?5>$?'"..."':X.slice(0,$-4)+'..."':X;case"object":if(X===null)return"null";if(k5(X))return"[...]";if(X.$$typeof===m6)return($=r(X.type))?"<"+$+">":"<...>";var Y=IG(X);if(Y==="Object"){Y="",$-=2;for(var G in X)if(X.hasOwnProperty(G)){var Z=JSON.stringify(G);if(Z!=='"'+G+'"'&&(G=Z),$-=G.length-2,Z=a8(X[G],15>$?$:15),$-=Z.length,0>$){Y+=Y===""?"...":", ...";break}Y+=(Y===""?"":",")+G+":"+Z}return"{"+Y+"}"}return Y;case"function":return($=X.displayName||X.name)?"function "+$:"function";default:return String(X)}}function EX(X,$){return typeof X!=="string"||U_.test(X)?"{"+a8(X,$-2)+"}":X.length>$-2?5>$?'"..."':'"'+X.slice(0,$-5)+'..."':'"'+X+'"'}function PG(X,$,Y){var G=120-Y.length-X.length,Z=[],J;for(J in $)if($.hasOwnProperty(J)&&J!=="children"){var H=EX($[J],120-Y.length-J.length-1);G-=J.length+H.length+2,Z.push(J+"="+H)}return Z.length===0?Y+"<"+X+`>
`:0<G?Y+"<"+X+" "+Z.join(" ")+`>
`:Y+"<"+X+`
`+Y+" "+Z.join(`
`+Y+" ")+`
`+Y+`>
`}function DQ(X,$,Y){var G="",Z=S0({},$),J;for(J in X)if(X.hasOwnProperty(J)){delete Z[J];var H=120-2*Y-J.length-2,z=a8(X[J],H);$.hasOwnProperty(J)?(H=a8($[J],H),G+=CX(Y)+J+": "+z+`
`,G+=j7(Y)+J+": "+H+`
`):G+=CX(Y)+J+": "+z+`
`}for(var A in Z)Z.hasOwnProperty(A)&&(X=a8(Z[A],120-2*Y-A.length-2),G+=j7(Y)+A+": "+X+`
`);return G}function CQ(X,$,Y,G){var Z="",J=new Map;for(N in Y)Y.hasOwnProperty(N)&&J.set(N.toLowerCase(),N);if(J.size===1&&J.has("children"))Z+=PG(X,$,O4(G));else{for(var H in $)if($.hasOwnProperty(H)&&H!=="children"){var z=120-2*(G+1)-H.length-1,A=J.get(H.toLowerCase());if(A!==void 0){J.delete(H.toLowerCase());var N=$[H];A=Y[A];var q=EX(N,z);z=EX(A,z),typeof N==="object"&&N!==null&&typeof A==="object"&&A!==null&&IG(N)==="Object"&&IG(A)==="Object"&&(2<Object.keys(N).length||2<Object.keys(A).length||-1<q.indexOf("...")||-1<z.indexOf("..."))?Z+=O4(G+1)+H+`={{
`+DQ(N,A,G+2)+O4(G+1)+`}}
`:(Z+=CX(G+1)+H+"="+q+`
`,Z+=j7(G+1)+H+"="+z+`
`)}else Z+=O4(G+1)+H+"="+EX($[H],z)+`
`}J.forEach(function(D){if(D!=="children"){var I=120-2*(G+1)-D.length-1;Z+=j7(G+1)+D+"="+EX(Y[D],I)+`
`}}),Z=Z===""?O4(G)+"<"+X+`>
`:O4(G)+"<"+X+`
`+Z+O4(G)+`>
`}if(X=Y.children,$=$.children,typeof X==="string"||typeof X==="number"||typeof X==="bigint"){if(J="",typeof $==="string"||typeof $==="number"||typeof $==="bigint")J=""+$;Z+=y$(J,""+X,G+1)}else if(typeof $==="string"||typeof $==="number"||typeof $==="bigint")Z=X==null?Z+y$(""+$,null,G+1):Z+y$(""+$,void 0,G+1);return Z}function GH(X,$){var Y=YH(X);if(Y===null){Y="";for(X=X.child;X;)Y+=GH(X,$),X=X.sibling;return Y}return O4($)+"<"+Y+`>
`}function VG(X,$){var Y=$H(X,$);if(Y!==X&&(X.children.length!==1||X.children[0]!==Y))return O4($)+`...
`+VG(Y,$+1);Y="";var G=X.fiber._debugInfo;if(G)for(var Z=0;Z<G.length;Z++){var J=G[Z].name;typeof J==="string"&&(Y+=O4($)+"<"+J+`>
`,$++)}if(G="",Z=X.fiber.pendingProps,X.fiber.tag===6)G=y$(Z,X.serverProps,$),$++;else if(J=YH(X.fiber),J!==null)if(X.serverProps===void 0){G=$;var H=120-2*G-J.length-2,z="";for(N in Z)if(Z.hasOwnProperty(N)&&N!=="children"){var A=EX(Z[N],15);if(H-=N.length+A.length+2,0>H){z+=" ...";break}z+=" "+N+"="+A}G=O4(G)+"<"+J+z+`>
`,$++}else X.serverProps===null?(G=PG(J,Z,CX($)),$++):typeof X.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(G=CQ(J,Z,X.serverProps,$),$++);var N="";Z=X.fiber.child;for(J=0;Z&&J<X.children.length;)H=X.children[J],H.fiber===Z?(N+=VG(H,$),J++):N+=GH(Z,$),Z=Z.sibling;Z&&0<X.children.length&&(N+=O4($)+`...
`),Z=X.serverTail,X.serverProps===null&&$--;for(X=0;X<Z.length;X++)J=Z[X],N=typeof J==="string"?N+(j7($)+i8(J,120-2*$)+`
`):N+PG(J.type,J.props,j7($));return Y+G+N}function OG(X){try{return`
`+VG(X,0)}catch($){return""}}function ZH(X,$,Y){for(var G=$,Z=null,J=0;G;)G===X&&(J=0),Z={fiber:G,children:Z!==null?[Z]:[],serverProps:G===$?Y:G===X?null:void 0,serverTail:[],distanceFromLeaf:J},J++,G=G.return;return Z!==null?OG(Z).replaceAll(/^[+-]/gm,">"):""}function JH(X,$){var Y=S0({},X||W_),G={tag:$};if(z_.indexOf($)!==-1&&(Y.aTagInScope=null,Y.buttonTagInScope=null,Y.nobrTagInScope=null),kF.indexOf($)!==-1&&(Y.pTagInButtonScope=null),xF.indexOf($)!==-1&&$!=="address"&&$!=="div"&&$!=="p"&&(Y.listItemTagAutoclosing=null,Y.dlItemTagAutoclosing=null),Y.current=G,$==="form"&&(Y.formTag=G),$==="a"&&(Y.aTagInScope=G),$==="button"&&(Y.buttonTagInScope=G),$==="nobr"&&(Y.nobrTagInScope=G),$==="p"&&(Y.pTagInButtonScope=G),$==="li"&&(Y.listItemTagAutoclosing=G),$==="dd"||$==="dt")Y.dlItemTagAutoclosing=G;return $==="#document"||$==="html"?Y.containerTagInScope=null:Y.containerTagInScope||(Y.containerTagInScope=G),X!==null||$!=="#document"&&$!=="html"&&$!=="body"?Y.implicitRootScope===!0&&(Y.implicitRootScope=!1):Y.implicitRootScope=!0,Y}function BH(X,$,Y){switch($){case"select":return X==="hr"||X==="option"||X==="optgroup"||X==="script"||X==="template"||X==="#text";case"optgroup":return X==="option"||X==="#text";case"option":return X==="#text";case"tr":return X==="th"||X==="td"||X==="style"||X==="script"||X==="template";case"tbody":case"thead":case"tfoot":return X==="tr"||X==="style"||X==="script"||X==="template";case"colgroup":return X==="col"||X==="template";case"table":return X==="caption"||X==="colgroup"||X==="tbody"||X==="tfoot"||X==="thead"||X==="style"||X==="script"||X==="template";case"head":return X==="base"||X==="basefont"||X==="bgsound"||X==="link"||X==="meta"||X==="title"||X==="noscript"||X==="noframes"||X==="style"||X==="script"||X==="template";case"html":if(Y)break;return X==="head"||X==="body"||X==="frameset";case"frameset":return X==="frame";case"#document":if(!Y)return X==="html"}switch(X){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return $!=="h1"&&$!=="h2"&&$!=="h3"&&$!=="h4"&&$!=="h5"&&$!=="h6";case"rp":case"rt":return vF.indexOf($)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return $==null;case"head":return Y||$===null;case"html":return Y&&$==="#document"||$===null;case"body":return Y&&($==="#document"||$==="html")||$===null}return!0}function EQ(X,$){switch(X){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 $.pTagInButtonScope;case"form":return $.formTag||$.pTagInButtonScope;case"li":return $.listItemTagAutoclosing;case"dd":case"dt":return $.dlItemTagAutoclosing;case"button":return $.buttonTagInScope;case"a":return $.aTagInScope;case"nobr":return $.nobrTagInScope}return null}function HH(X,$){for(;X;){switch(X.tag){case 5:case 26:case 27:if(X.type===$)return X}X=X.return}return null}function qG(X,$){$=$||W_;var Y=$.current;if($=(Y=BH(X,Y&&Y.tag,$.implicitRootScope)?null:Y)?null:EQ(X,$),$=Y||$,!$)return!0;var G=$.tag;if($=String(!!Y)+"|"+X+"|"+G,tY[$])return!1;tY[$]=!0;var Z=($=v4)?HH($.return,G):null,J=$!==null&&Z!==null?ZH(Z,$,null):"",H="<"+X+">";return Y?(Y="",G==="table"&&X==="tr"&&(Y+=" 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
This will cause a hydration error.%s`,H,G,Y,J)):console.error(`In HTML, %s cannot be a descendant of <%s>.
This will cause a hydration error.%s`,H,G,J),$&&(X=$.return,Z===null||X===null||Z===X&&X._debugOwner===$._debugOwner||n(Z,function(){console.error(`<%s> cannot contain a nested %s.
See this log for the ancestor stack trace.`,G,H)})),!1}function d$(X,$,Y){if(Y||BH("#text",$,!1))return!0;if(Y="#text|"+$,tY[Y])return!1;tY[Y]=!0;var G=(Y=v4)?HH(Y,$):null;return Y=Y!==null&&G!==null?ZH(G,Y,Y.tag!==6?{children:null}:null):"",/\S/.test(X)?console.error(`In HTML, text nodes cannot be a child of <%s>.
This will cause a hydration error.%s`,$,Y):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.
This will cause a hydration error.%s`,$,Y),!1}function n8(X,$){if($){var Y=X.firstChild;if(Y&&Y===X.lastChild&&Y.nodeType===3){Y.nodeValue=$;return}}X.textContent=$}function jQ(X){return X.replace(mF,function($,Y){return Y.toUpperCase()})}function UH(X,$,Y){var G=$.indexOf("--")===0;G||(-1<$.indexOf("-")?nX.hasOwnProperty($)&&nX[$]||(nX[$]=!0,console.error("Unsupported style property %s. Did you mean %s?",$,jQ($.replace(bF,"ms-")))):gF.test($)?nX.hasOwnProperty($)&&nX[$]||(nX[$]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",$,$.charAt(0).toUpperCase()+$.slice(1))):!L_.test(Y)||d3.hasOwnProperty(Y)&&d3[Y]||(d3[Y]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,$,Y.replace(L_,""))),typeof Y==="number"&&(isNaN(Y)?N_||(N_=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",$)):isFinite(Y)||Q_||(Q_=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",$)))),Y==null||typeof Y==="boolean"||Y===""?G?X.setProperty($,""):$==="float"?X.cssFloat="":X[$]="":G?X.setProperty($,Y):typeof Y!=="number"||Y===0||K_.has($)?$==="float"?X.cssFloat=Y:(l8(Y,$),X[$]=(""+Y).trim()):X[$]=Y+"px"}function zH(X,$,Y){if($!=null&&typeof $!=="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($&&Object.freeze($),X=X.style,Y!=null){if($){var G={};if(Y){for(var Z in Y)if(Y.hasOwnProperty(Z)&&!$.hasOwnProperty(Z))for(var J=y3[Z]||[Z],H=0;H<J.length;H++)G[J[H]]=Z}for(var z in $)if($.hasOwnProperty(z)&&(!Y||Y[z]!==$[z]))for(Z=y3[z]||[z],J=0;J<Z.length;J++)G[Z[J]]=z;z={};for(var A in $)for(Z=y3[A]||[A],J=0;J<Z.length;J++)z[Z[J]]=A;A={};for(var N in G)if(Z=G[N],(J=z[N])&&Z!==J&&(H=Z+","+J,!A[H])){A[H]=!0,H=console;var q=$[Z];H.error.call(H,"%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.",q==null||typeof q==="boolean"||q===""?"Removing":"Updating",Z,J)}}for(var D in Y)!Y.hasOwnProperty(D)||$!=null&&$.hasOwnProperty(D)||(D.indexOf("--")===0?X.setProperty(D,""):D==="float"?X.cssFloat="":X[D]="");for(var I in $)N=$[I],$.hasOwnProperty(I)&&Y[I]!==N&&UH(X,I,N)}else for(G in $)$.hasOwnProperty(G)&&UH(X,G,$[G])}function o8(X){if(X.indexOf("-")===-1)return!1;switch(X){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 WH(X){return fF.get(X)||X}function SQ(X,$){if(W6.call(rX,$)&&rX[$])return!0;if(yF.test($)){if(X="aria-"+$.slice(4).toLowerCase(),X=F_.hasOwnProperty(X)?X:null,X==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",$),rX[$]=!0;if($!==X)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",$,X),rX[$]=!0}if(hF.test($)){if(X=$.toLowerCase(),X=F_.hasOwnProperty(X)?X:null,X==null)return rX[$]=!0,!1;$!==X&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",$,X),rX[$]=!0)}return!0}function xQ(X,$){var Y=[],G;for(G in $)SQ(X,G)||Y.push(G);$=Y.map(function(Z){return"`"+Z+"`"}).join(", "),Y.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",$,X):1<Y.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",$,X)}function kQ(X,$,Y,G){if(W6.call(J4,$)&&J4[$])return!0;var Z=$.toLowerCase();if(Z==="onfocusin"||Z==="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."),J4[$]=!0;if(typeof Y==="function"&&(X==="form"&&$==="action"||X==="input"&&$==="formAction"||X==="button"&&$==="formAction"))return!0;if(G!=null){if(X=G.possibleRegistrationNames,G.registrationNameDependencies.hasOwnProperty($))return!0;if(G=X.hasOwnProperty(Z)?X[Z]:null,G!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",$,G),J4[$]=!0;if(w_.test($))return console.error("Unknown event handler property `%s`. It will be ignored.",$),J4[$]=!0}else if(w_.test($))return dF.test($)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",$),J4[$]=!0;if(uF.test($)||pF.test($))return!0;if(Z==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),J4[$]=!0;if(Z==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),J4[$]=!0;if(Z==="is"&&Y!==null&&Y!==void 0&&typeof Y!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof Y),J4[$]=!0;if(typeof Y==="number"&&isNaN(Y))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",$),J4[$]=!0;if(X1.hasOwnProperty(Z)){if(Z=X1[Z],Z!==$)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",$,Z),J4[$]=!0}else if($!==Z)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.",$,Z),J4[$]=!0;switch($){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 Y){case"boolean":switch($){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:if(Z=$.toLowerCase().slice(0,5),Z==="data-"||Z==="aria-")return!0;return Y?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()}.',Y,$,$,Y,$):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.',Y,$,$,Y,$,$,$),J4[$]=!0}case"function":case"symbol":return J4[$]=!0,!1;case"string":if(Y==="false"||Y==="true"){switch($){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}?",Y,$,Y==="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".',$,Y),J4[$]=!0}}return!0}function vQ(X,$,Y){var G=[],Z;for(Z in $)kQ(X,Z,$[Z],Y)||G.push(Z);$=G.map(function(J){return"`"+J+"`"}).join(", "),G.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 ",$,X):1<G.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 ",$,X)}function r8(X){return lF.test(""+X)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":X}function Y2(){}function DG(X){return X=X.target||X.srcElement||window,X.correspondingUseElement&&(X=X.correspondingUseElement),X.nodeType===3?X.parentNode:X}function _H(X){var $=w0(X);if($&&(X=$.stateNode)){var Y=X[Z4]||null;X:switch(X=$.stateNode,$.type){case"input":if(TG(X,Y.value,Y.defaultValue,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name),$=Y.name,Y.type==="radio"&&$!=null){for(Y=X;Y.parentNode;)Y=Y.parentNode;r0($,"name"),Y=Y.querySelectorAll('input[name="'+u4(""+$)+'"][type="radio"]');for($=0;$<Y.length;$++){var G=Y[$];if(G!==X&&G.form===X.form){var Z=G[Z4]||null;if(!Z)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");TG(G,Z.value,Z.defaultValue,Z.defaultValue,Z.checked,Z.defaultChecked,Z.type,Z.name)}}for($=0;$<Y.length;$++)G=Y[$],G.form===X.form&&sB(G)}break X;case"textarea":eB(X,Y.value,Y.defaultValue);break X;case"select":$=Y.value,$!=null&&DX(X,!!Y.multiple,$,!1)}}}function AH(X,$,Y){if(u3)return X($,Y);u3=!0;try{var G=X($);return G}finally{if(u3=!1,tX!==null||eX!==null){if(hX(),tX&&($=tX,X=eX,eX=tX=null,_H($),X))for($=0;$<X.length;$++)_H(X[$])}}}function t8(X,$){var Y=X.stateNode;if(Y===null)return null;var G=Y[Z4]||null;if(G===null)return null;Y=G[$];X:switch($){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(G=!G.disabled)||(X=X.type,G=!(X==="button"||X==="input"||X==="select"||X==="textarea")),X=!G;break X;default:X=!1}if(X)return null;if(Y&&typeof Y!=="function")throw Error("Expected `"+$+"` listener to be a function, instead got a value of `"+typeof Y+"` type.");return Y}function LH(){if($1)return $1;var X,$=l3,Y=$.length,G,Z="value"in o2?o2.value:o2.textContent,J=Z.length;for(X=0;X<Y&&$[X]===Z[X];X++);var H=Y-X;for(G=1;G<=H&&$[Y-G]===Z[J-G];G++);return $1=Z.slice(X,1<G?1-G:void 0)}function u$(X){var $=X.keyCode;return"charCode"in X?(X=X.charCode,X===0&&$===13&&(X=13)):X=$,X===10&&(X=13),32<=X||X===13?X:0}function p$(){return!0}function NH(){return!1}function N4(X){function $(Y,G,Z,J,H){this._reactName=Y,this._targetInst=Z,this.type=G,this.nativeEvent=J,this.target=H,this.currentTarget=null;for(var z in X)X.hasOwnProperty(z)&&(Y=X[z],this[z]=Y?Y(J):J[z]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?p$:NH,this.isPropagationStopped=NH,this}return S0($.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Y=this.nativeEvent;Y&&(Y.preventDefault?Y.preventDefault():typeof Y.returnValue!=="unknown"&&(Y.returnValue=!1),this.isDefaultPrevented=p$)},stopPropagation:function(){var Y=this.nativeEvent;Y&&(Y.stopPropagation?Y.stopPropagation():typeof Y.cancelBubble!=="unknown"&&(Y.cancelBubble=!0),this.isPropagationStopped=p$)},persist:function(){},isPersistent:p$}),$}function gQ(X){var $=this.nativeEvent;return $.getModifierState?$.getModifierState(X):(X=GM[X])?!!$[X]:!1}function CG(){return gQ}function QH(X,$){switch(X){case"keyup":return QM.indexOf($.keyCode)!==-1;case"keydown":return $.keyCode!==P_;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function KH(X){return X=X.detail,typeof X==="object"&&"data"in X?X.data:null}function bQ(X,$){switch(X){case"compositionend":return KH($);case"keypress":if($.which!==O_)return null;return D_=!0,q_;case"textInput":return X=$.data,X===q_&&D_?null:X;default:return null}}function mQ(X,$){if(X8)return X==="compositionend"||!a3&&QH(X,$)?(X=LH(),$1=l3=o2=null,X8=!1,X):null;switch(X){case"paste":return null;case"keypress":if(!($.ctrlKey||$.altKey||$.metaKey)||$.ctrlKey&&$.altKey){if($.char&&1<$.char.length)return $.char;if($.which)return String.fromCharCode($.which)}return null;case"compositionend":return V_&&$.locale!=="ko"?null:$.data;default:return null}}function FH(X){var $=X&&X.nodeName&&X.nodeName.toLowerCase();return $==="input"?!!FM[X.type]:$==="textarea"?!0:!1}function fQ(X){if(!p6)return!1;X="on"+X;var $=X in document;return $||($=document.createElement("div"),$.setAttribute(X,"return;"),$=typeof $[X]==="function"),$}function MH(X,$,Y,G){tX?eX?eX.push(G):eX=[G]:tX=G,$=gY($,"onChange"),0<$.length&&(Y=new Y1("onChange","change",null,Y,G),X.push({event:Y,listeners:$}))}function hQ(X){XW(X,0)}function l$(X){var $=T0(X);if(sB($))return X}function wH(X,$){if(X==="change")return $}function TH(){m9&&(m9.detachEvent("onpropertychange",RH),f9=m9=null)}function RH(X){if(X.propertyName==="value"&&l$(f9)){var $=[];MH($,f9,X,DG(X)),AH(hQ,$)}}function yQ(X,$,Y){X==="focusin"?(TH(),m9=$,f9=Y,m9.attachEvent("onpropertychange",RH)):X==="focusout"&&TH()}function dQ(X){if(X==="selectionchange"||X==="keyup"||X==="keydown")return l$(f9)}function uQ(X,$){if(X==="click")return l$($)}function pQ(X,$){if(X==="input"||X==="change")return l$($)}function lQ(X,$){return X===$&&(X!==0||1/X===1/$)||X!==X&&$!==$}function e8(X,$){if(B4(X,$))return!0;if(typeof X!=="object"||X===null||typeof $!=="object"||$===null)return!1;var Y=Object.keys(X),G=Object.keys($);if(Y.length!==G.length)return!1;for(G=0;G<Y.length;G++){var Z=Y[G];if(!W6.call($,Z)||!B4(X[Z],$[Z]))return!1}return!0}function IH(X){for(;X&&X.firstChild;)X=X.firstChild;return X}function PH(X,$){var Y=IH(X);X=0;for(var G;Y;){if(Y.nodeType===3){if(G=X+Y.textContent.length,X<=$&&G>=$)return{node:Y,offset:$-X};X=G}X:{for(;Y;){if(Y.nextSibling){Y=Y.nextSibling;break X}Y=Y.parentNode}Y=void 0}Y=IH(Y)}}function VH(X,$){return X&&$?X===$?!0:X&&X.nodeType===3?!1:$&&$.nodeType===3?VH(X,$.parentNode):("contains"in X)?X.contains($):X.compareDocumentPosition?!!(X.compareDocumentPosition($)&16):!1:!1}function OH(X){X=X!=null&&X.ownerDocument!=null&&X.ownerDocument.defaultView!=null?X.ownerDocument.defaultView:window;for(var $=h$(X.document);$ instanceof X.HTMLIFrameElement;){try{var Y=typeof $.contentWindow.location.href==="string"}catch(G){Y=!1}if(Y)X=$.contentWindow;else break;$=h$(X.document)}return $}function EG(X){var $=X&&X.nodeName&&X.nodeName.toLowerCase();return $&&($==="input"&&(X.type==="text"||X.type==="search"||X.type==="tel"||X.type==="url"||X.type==="password")||$==="textarea"||X.contentEditable==="true")}function qH(X,$,Y){var G=Y.window===Y?Y.document:Y.nodeType===9?Y:Y.ownerDocument;o3||$8==null||$8!==h$(G)||(G=$8,("selectionStart"in G)&&EG(G)?G={start:G.selectionStart,end:G.selectionEnd}:(G=(G.ownerDocument&&G.ownerDocument.defaultView||window).getSelection(),G={anchorNode:G.anchorNode,anchorOffset:G.anchorOffset,focusNode:G.focusNode,focusOffset:G.focusOffset}),h9&&e8(h9,G)||(h9=G,G=gY(n3,"onSelect"),0<G.length&&($=new Y1("onSelect","select",null,$,Y),X.push({event:$,listeners:G}),$.target=$8)))}function S7(X,$){var Y={};return Y[X.toLowerCase()]=$.toLowerCase(),Y["Webkit"+X]="webkit"+$,Y["Moz"+X]="moz"+$,Y}function x7(X){if(r3[X])return r3[X];if(!Y8[X])return X;var $=Y8[X],Y;for(Y in $)if($.hasOwnProperty(Y)&&Y in E_)return r3[X]=$[Y];return X}function H6(X,$){v_.set(X,$),o5($,[X])}function cQ(X){for(var $=Z1,Y=0;Y<X.length;Y++){var G=X[Y];if(typeof G==="object"&&G!==null)if(k5(G)&&G.length===2&&typeof G[0]==="string"){if($!==Z1&&$!==YJ)return XJ;$=YJ}else return XJ;else{if(typeof G==="function"||typeof G==="string"&&50<G.length||$!==Z1&&$!==$J)return XJ;$=$J}}return $}function jG(X,$,Y,G){for(var Z in X)W6.call(X,Z)&&Z[0]!=="_"&&R6(Z,X[Z],$,Y,G)}function R6(X,$,Y,G,Z){switch(typeof $){case"object":if($===null){$="null";break}else{if($.$$typeof===m6){var J=r($.type)||"…",H=$.key;$=$.props;var z=Object.keys($),A=z.length;if(H==null&&A===0){$="<"+J+" />";break}if(3>G||A===1&&z[0]==="children"&&H==null){$="<"+J+" … />";break}Y.push([Z+"  ".repeat(G)+X,"<"+J]),H!==null&&R6("key",H,Y,G+1,Z),X=!1;for(var N in $)N==="children"?$.children!=null&&(!k5($.children)||0<$.children.length)&&(X=!0):W6.call($,N)&&N[0]!=="_"&&R6(N,$[N],Y,G+1,Z);Y.push(["",X?">…</"+J+">":"/>"]);return}if(J=Object.prototype.toString.call($),J=J.slice(8,J.length-1),J==="Array"){if(N=cQ($),N===$J||N===Z1){$=JSON.stringify($);break}else if(N===YJ){Y.push([Z+"  ".repeat(G)+X,""]);for(X=0;X<$.length;X++)J=$[X],R6(J[0],J[1],Y,G+1,Z);return}}if(J==="Promise"){if($.status==="fulfilled"){if(J=Y.length,R6(X,$.value,Y,G,Z),Y.length>J){Y=Y[J],Y[1]="Promise<"+(Y[1]||"Object")+">";return}}else if($.status==="rejected"&&(J=Y.length,R6(X,$.reason,Y,G,Z),Y.length>J)){Y=Y[J],Y[1]="Rejected Promise<"+Y[1]+">";return}Y.push(["  ".repeat(G)+X,"Promise"]);return}J==="Object"&&(N=Object.getPrototypeOf($))&&typeof N.constructor==="function"&&(J=N.constructor.name),Y.push([Z+"  ".repeat(G)+X,J==="Object"?3>G?"":"…":J]),3>G&&jG($,Y,G+1,Z);return}case"function":$=$.name===""?"() => {}":$.name+"() {}";break;case"string":$=$===VM?"…":JSON.stringify($);break;case"undefined":$="undefined";break;case"boolean":$=$?"true":"false";break;default:$=String($)}Y.push([Z+"  ".repeat(G)+X,$])}function DH(X,$,Y,G){var Z=!0;for(H in X)H in $||(Y.push([J1+"  ".repeat(G)+H,"…"]),Z=!1);for(var J in $)if(J in X){var H=X[J],z=$[J];if(H!==z){if(G===0&&J==="children")Z="  ".repeat(G)+J,Y.push([J1+Z,"…"],[B1+Z,"…"]);else{if(!(3<=G)){if(typeof H==="object"&&typeof z==="object"&&H!==null&&z!==null&&H.$$typeof===z.$$typeof)if(z.$$typeof===m6){if(H.type===z.type&&H.key===z.key){H=r(z.type)||"…",Z="  ".repeat(G)+J,H="<"+H+" … />",Y.push([J1+Z,H],[B1+Z,H]),Z=!1;continue}}else{var A=Object.prototype.toString.call(H),N=Object.prototype.toString.call(z);if(A===N&&(N==="[object Object]"||N==="[object Array]")){A=[m_+"  ".repeat(G)+J,N==="[object Array]"?"Array":""],Y.push(A),N=Y.length,DH(H,z,Y,G+1)?N===Y.length&&(A[1]="Referentially unequal but deeply equal objects. Consider memoization."):Z=!1;continue}}else if(typeof H==="function"&&typeof z==="function"&&H.name===z.name&&H.length===z.length&&(A=Function.prototype.toString.call(H),N=Function.prototype.toString.call(z),A===N)){H=z.name===""?"() => {}":z.name+"() {}",Y.push([m_+"  ".repeat(G)+J,H+" Referentially unequal function closure. Consider memoization."]);continue}}R6(J,H,Y,G,J1),R6(J,z,Y,G,B1)}Z=!1}}else Y.push([B1+"  ".repeat(G)+J,"…"]),Z=!1;return Z}function q4(X){k0=X&63?"Blocking":X&64?"Gesture":X&4194176?"Transition":X&62914560?"Suspense":X&2080374784?"Idle":"Other"}function I6(X,$,Y,G){U5&&(t2.start=$,t2.end=Y,_2.color="warning",_2.tooltipText=G,_2.properties=null,(X=X._debugTask)?X.run(performance.measure.bind(performance,G,t2)):performance.measure(G,t2))}function c$(X,$,Y){I6(X,$,Y,"Reconnect")}function s$(X,$,Y,G,Z){var J=p(X);if(J!==null&&U5){var{alternate:H,actualDuration:z}=X;if(H===null||H.child!==X.child)for(var A=X.child;A!==null;A=A.sibling)z-=A.actualDuration;G=0.5>z?G?"tertiary-light":"primary-light":10>z?G?"tertiary":"primary":100>z?G?"tertiary-dark":"primary-dark":"error";var N=X.memoizedProps;z=X._debugTask,N!==null&&H!==null&&H.memoizedProps!==N?(A=[OM],N=DH(H.memoizedProps,N,A,0),1<A.length&&(N&&!r2&&(H.lanes&Z)===0&&100<X.actualDuration?(r2=!0,A[0]=qM,_2.color="warning",_2.tooltipText=f_):(_2.color=G,_2.tooltipText=J),_2.properties=A,t2.start=$,t2.end=Y,z!=null?z.run(performance.measure.bind(performance,""+J,t2)):performance.measure(""+J,t2))):z!=null?z.run(console.timeStamp.bind(console,J,$,Y,l4,void 0,G)):console.timeStamp(J,$,Y,l4,void 0,G)}}function SG(X,$,Y,G){if(U5){var Z=p(X);if(Z!==null){for(var J=null,H=[],z=0;z<G.length;z++){var A=G[z];J==null&&A.source!==null&&(J=A.source._debugTask),A=A.value,H.push(["Error",typeof A==="object"&&A!==null&&typeof A.message==="string"?String(A.message):String(A)])}X.key!==null&&R6("key",X.key,H,0,""),X.memoizedProps!==null&&jG(X.memoizedProps,H,0,""),J==null&&(J=X._debugTask),X={start:$,end:Y,detail:{devtools:{color:"error",track:l4,tooltipText:X.tag===13?"Hydration failed":"Error boundary caught an error",properties:H}}},J?J.run(performance.measure.bind(performance,""+Z,X)):performance.measure(""+Z,X)}}}function P6(X,$,Y,G,Z){if(Z!==null){if(U5){var J=p(X);if(J!==null){G=[];for(var H=0;H<Z.length;H++){var z=Z[H].value;G.push(["Error",typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z)])}X.key!==null&&R6("key",X.key,G,0,""),X.memoizedProps!==null&&jG(X.memoizedProps,G,0,""),$={start:$,end:Y,detail:{devtools:{color:"error",track:l4,tooltipText:"A lifecycle or effect errored",properties:G}}},(X=X._debugTask)?X.run(performance.measure.bind(performance,""+J,$)):performance.measure(""+J,$)}}}else J=p(X),J!==null&&U5&&(Z=1>G?"secondary-light":100>G?"secondary":500>G?"secondary-dark":"error",(X=X._debugTask)?X.run(console.timeStamp.bind(console,J,$,Y,l4,void 0,Z)):console.timeStamp(J,$,Y,l4,void 0,Z))}function sQ(X,$,Y,G){if(U5&&!($<=X)){var Z=(Y&738197653)===Y?"tertiary-dark":"primary-dark";Y=(Y&536870912)===Y?"Prepared":(Y&201326741)===Y?"Hydrated":"Render",G?G.run(console.timeStamp.bind(console,Y,X,$,k0,x0,Z)):console.timeStamp(Y,X,$,k0,x0,Z)}}function CH(X,$,Y,G){!U5||$<=X||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",G?G.run(console.timeStamp.bind(console,"Prewarm",X,$,k0,x0,Y)):console.timeStamp("Prewarm",X,$,k0,x0,Y))}function EH(X,$,Y,G){!U5||$<=X||(Y=(Y&738197653)===Y?"tertiary-dark":"primary-dark",G?G.run(console.timeStamp.bind(console,"Suspended",X,$,k0,x0,Y)):console.timeStamp("Suspended",X,$,k0,x0,Y))}function iQ(X,$,Y,G,Z,J){if(U5&&!($<=X)){Y=[];for(var H=0;H<G.length;H++){var z=G[H].value;Y.push(["Recoverable Error",typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z)])}X={start:X,end:$,detail:{devtools:{color:"primary-dark",track:k0,trackGroup:x0,tooltipText:Z?"Hydration Failed":"Recovered after Error",properties:Y}}},J?J.run(performance.measure.bind(performance,"Recovered",X)):performance.measure("Recovered",X)}}function xG(X,$,Y,G){!U5||$<=X||(G?G.run(console.timeStamp.bind(console,"Errored",X,$,k0,x0,"error")):console.timeStamp("Errored",X,$,k0,x0,"error"))}function aQ(X,$,Y,G){!U5||$<=X||(G?G.run(console.timeStamp.bind(console,Y,X,$,k0,x0,"secondary-light")):console.timeStamp(Y,X,$,k0,x0,"secondary-light"))}function jH(X,$,Y,G,Z){if(U5&&!($<=X)){for(var J=[],H=0;H<Y.length;H++){var z=Y[H].value;J.push(["Error",typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z)])}X={start:X,end:$,detail:{devtools:{color:"error",track:k0,trackGroup:x0,tooltipText:G?"Remaining Effects Errored":"Commit Errored",properties:J}}},Z?Z.run(performance.measure.bind(performance,"Errored",X)):performance.measure("Errored",X)}}function X9(X,$,Y){!U5||$<=X||(Y?Y.run(console.timeStamp.bind(console,"Animating",X,$,k0,x0,"secondary-dark")):console.timeStamp("Animating",X,$,k0,x0,"secondary-dark"))}function i$(){for(var X=G8,$=GJ=G8=0;$<X;){var Y=c4[$];c4[$++]=null;var G=c4[$];c4[$++]=null;var Z=c4[$];c4[$++]=null;var J=c4[$];if(c4[$++]=null,G!==null&&Z!==null){var H=G.pending;H===null?Z.next=Z:(Z.next=H.next,H.next=Z),G.pending=Z}J!==0&&SH(Y,Z,J)}}function a$(X,$,Y,G){c4[G8++]=X,c4[G8++]=$,c4[G8++]=Y,c4[G8++]=G,GJ|=G,X.lanes|=G,X=X.alternate,X!==null&&(X.lanes|=G)}function kG(X,$,Y,G){return a$(X,$,Y,G),n$(X)}function r5(X,$){return a$(X,null,null,$),n$(X)}function SH(X,$,Y){X.lanes|=Y;var G=X.alternate;G!==null&&(G.lanes|=Y);for(var Z=!1,J=X.return;J!==null;)J.childLanes|=Y,G=J.alternate,G!==null&&(G.childLanes|=Y),J.tag===22&&(X=J.stateNode,X===null||X._visibility&y9||(Z=!0)),X=J,J=J.return;return X.tag===3?(J=X.stateNode,Z&&$!==null&&(Z=31-G4(Y),X=J.hiddenUpdates,G=X[Z],G===null?X[Z]=[$]:G.push($),$.lane=Y|536870912),J):null}function n$(X){if(L$>dM)throw HX=L$=0,N$=bJ=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.");HX>uM&&(HX=0,N$=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.")),X.alternate===null&&(X.flags&4098)!==0&&iz(X);for(var $=X,Y=$.return;Y!==null;)$.alternate===null&&($.flags&4098)!==0&&iz(X),$=Y,Y=$.return;return $.tag===3?$.stateNode:null}function k7(X){if(s4===null)return X;var $=s4(X);return $===void 0?X:$.current}function vG(X){if(s4===null)return X;var $=s4(X);return $===void 0?X!==null&&X!==void 0&&typeof X.render==="function"&&($=k7(X.render),X.render!==$)?($={$$typeof:C9,render:$},X.displayName!==void 0&&($.displayName=X.displayName),$):X:$.current}function xH(X,$){if(s4===null)return!1;var Y=X.elementType;$=$.type;var G=!1,Z=typeof $==="object"&&$!==null?$.$$typeof:null;switch(X.tag){case 1:typeof $==="function"&&(G=!0);break;case 0:typeof $==="function"?G=!0:Z===k4&&(G=!0);break;case 11:Z===C9?G=!0:Z===k4&&(G=!0);break;case 14:case 15:Z===sY?G=!0:Z===k4&&(G=!0);break;default:return!1}return G&&(X=s4(Y),X!==void 0&&X===s4($))?!0:!1}function kH(X){s4!==null&&typeof WeakSet==="function"&&(Z8===null&&(Z8=new WeakSet),Z8.add(X))}function vH(X,$,Y){do{var G=X,Z=G.alternate,J=G.child,H=G.sibling,z=G.tag;G=G.type;var A=null;switch(z){case 0:case 15:case 1:A=G;break;case 11:A=G.render}if(s4===null)throw Error("Expected resolveFamily to be set during hot reload.");var N=!1;if(G=!1,A!==null&&(A=s4(A),A!==void 0&&(Y.has(A)?G=!0:$.has(A)&&(z===1?G=!0:N=!0))),Z8!==null&&(Z8.has(X)||Z!==null&&Z8.has(Z))&&(G=!0),G&&(X._debugNeedsRemount=!0),G||N)Z=r5(X,2),Z!==null&&M5(Z,X,2);if(J===null||G||vH(J,$,Y),H===null)break;X=H}while(1)}function nQ(X,$,Y,G){this.tag=X,this.key=Y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=$,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=G,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,h_||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function gG(X){return X=X.prototype,!(!X||!X.isReactComponent)}function G2(X,$){var Y=X.alternate;switch(Y===null?(Y=E(X.tag,$,X.key,X.mode),Y.elementType=X.elementType,Y.type=X.type,Y.stateNode=X.stateNode,Y._debugOwner=X._debugOwner,Y._debugStack=X._debugStack,Y._debugTask=X._debugTask,Y._debugHookTypes=X._debugHookTypes,Y.alternate=X,X.alternate=Y):(Y.pendingProps=$,Y.type=X.type,Y.flags=0,Y.subtreeFlags=0,Y.deletions=null,Y.actualDuration=-0,Y.actualStartTime=-1.1),Y.flags=X.flags&65011712,Y.childLanes=X.childLanes,Y.lanes=X.lanes,Y.child=X.child,Y.memoizedProps=X.memoizedProps,Y.memoizedState=X.memoizedState,Y.updateQueue=X.updateQueue,$=X.dependencies,Y.dependencies=$===null?null:{lanes:$.lanes,firstContext:$.firstContext,_debugThenableState:$._debugThenableState},Y.sibling=X.sibling,Y.index=X.index,Y.ref=X.ref,Y.refCleanup=X.refCleanup,Y.selfBaseDuration=X.selfBaseDuration,Y.treeBaseDuration=X.treeBaseDuration,Y._debugInfo=X._debugInfo,Y._debugNeedsRemount=X._debugNeedsRemount,Y.tag){case 0:case 15:Y.type=k7(X.type);break;case 1:Y.type=k7(X.type);break;case 11:Y.type=vG(X.type)}return Y}function gH(X,$){X.flags&=65011714;var Y=X.alternate;return Y===null?(X.childLanes=0,X.lanes=$,X.child=null,X.subtreeFlags=0,X.memoizedProps=null,X.memoizedState=null,X.updateQueue=null,X.dependencies=null,X.stateNode=null,X.selfBaseDuration=0,X.treeBaseDuration=0):(X.childLanes=Y.childLanes,X.lanes=Y.lanes,X.child=Y.child,X.subtreeFlags=0,X.deletions=null,X.memoizedProps=Y.memoizedProps,X.memoizedState=Y.memoizedState,X.updateQueue=Y.updateQueue,X.type=Y.type,$=Y.dependencies,X.dependencies=$===null?null:{lanes:$.lanes,firstContext:$.firstContext,_debugThenableState:$._debugThenableState},X.selfBaseDuration=Y.selfBaseDuration,X.treeBaseDuration=Y.treeBaseDuration),X}function bG(X,$,Y,G,Z,J){var H=0,z=X;if(typeof X==="function")gG(X)&&(H=1),z=k7(z);else if(typeof X==="string")H=W0(),H=ZF(X,Y,H)?26:X==="html"||X==="head"||X==="body"?27:5;else X:switch(X){case C3:return $=E(31,Y,$,Z),$.elementType=C3,$.lanes=J,$;case sX:return v7(Y.children,Z,J,$);case cY:H=8,Z|=e5,Z|=A6;break;case V3:return X=Y,G=Z,typeof X.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof X.id),$=E(12,X,$,G|q0),$.elementType=V3,$.lanes=J,$.stateNode={effectDuration:0,passiveEffectDuration:0},$;case q3:return $=E(13,Y,$,Z),$.elementType=q3,$.lanes=J,$;case D3:return $=E(19,Y,$,Z),$.elementType=D3,$.lanes=J,$;default:if(typeof X==="object"&&X!==null)switch(X.$$typeof){case f6:H=10;break X;case O3:H=9;break X;case C9:H=11,z=vG(z);break X;case sY:H=14;break X;case k4:H=16,z=null;break X}if(z="",X===void 0||typeof X==="object"&&X!==null&&Object.keys(X).length===0)z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";X===null?Y="null":k5(X)?Y="array":X!==void 0&&X.$$typeof===m6?(Y="<"+(r(X.type)||"Unknown")+" />",z=" Did you accidentally export a JSX literal instead of a component?"):Y=typeof X,(H=G?e0(G):null)&&(z+=`
Check the render method of \``+H+"`."),H=29,Y=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(Y+"."+z)),z=null}return $=E(H,Y,$,Z),$.elementType=X,$.type=z,$.lanes=J,$._debugOwner=G,$}function o$(X,$,Y){return $=bG(X.type,X.key,X.props,X._owner,$,Y),$._debugOwner=X._owner,$._debugStack=X._debugStack,$._debugTask=X._debugTask,$}function v7(X,$,Y,G){return X=E(7,X,G,$),X.lanes=Y,X}function mG(X,$,Y){return X=E(6,X,null,$),X.lanes=Y,X}function bH(X){var $=E(18,null,null,Q0);return $.stateNode=X,$}function fG(X,$,Y){return $=E(4,X.children!==null?X.children:[],X.key,$),$.lanes=Y,$.stateNode={containerInfo:X.containerInfo,pendingChildren:null,implementation:X.implementation},$}function D4(X,$){if(typeof X==="object"&&X!==null){var Y=ZJ.get(X);if(Y!==void 0)return Y;return $={value:X,source:$,stack:O5($)},ZJ.set(X,$),$}return{value:X,source:$,stack:O5($)}}function Z2(X,$){v2(),J8[B8++]=d9,J8[B8++]=H1,H1=X,d9=$}function mH(X,$,Y){v2(),i4[a4++]=L2,i4[a4++]=N2,i4[a4++]=i7,i7=X;var G=L2;X=N2;var Z=32-G4(G)-1;G&=~(1<<Z),Y+=1;var J=32-G4($)+Z;if(30<J){var H=Z-Z%5;J=(G&(1<<H)-1).toString(32),G>>=H,Z-=H,L2=1<<32-G4($)+Z|Y<<Z|G,N2=J+X}else L2=1<<J|Y<<Z|G,N2=X}function hG(X){v2(),X.return!==null&&(Z2(X,1),mH(X,1,0))}function yG(X){for(;X===H1;)H1=J8[--B8],J8[B8]=null,d9=J8[--B8],J8[B8]=null;for(;X===i7;)i7=i4[--a4],i4[a4]=null,N2=i4[--a4],i4[a4]=null,L2=i4[--a4],i4[a4]=null}function fH(){return v2(),i7!==null?{id:L2,overflow:N2}:null}function hH(X,$){v2(),i4[a4++]=L2,i4[a4++]=N2,i4[a4++]=i7,L2=$.id,N2=$.overflow,i7=X}function v2(){v0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function g7(X,$){if(X.return===null){if(b4===null)b4={fiber:X,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:$};else{if(b4.fiber!==X)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");b4.distanceFromLeaf>$&&(b4.distanceFromLeaf=$)}return b4}var Y=g7(X.return,$+1).children;if(0<Y.length&&Y[Y.length-1].fiber===X)return Y=Y[Y.length-1],Y.distanceFromLeaf>$&&(Y.distanceFromLeaf=$),Y;return $={fiber:X,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:$},Y.push($),$}function yH(){v0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function r$(X,$){l6||(X=g7(X,0),X.serverProps=null,$!==null&&($=MW($),X.serverTail.push($)))}function g2(X){var $=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,Y="",G=b4;throw G!==null&&(b4=null,Y=OG(G)),$9(D4(Error("Hydration failed because the server rendered "+($?"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:
- A server/client branch \`if (typeof window !== 'undefined')\`.
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
https://react.dev/link/hydration-mismatch`+Y),X)),JJ}function dH(X){var{stateNode:$,type:Y,memoizedProps:G}=X;switch($[c5]=X,$[Z4]=G,B3(Y,G),Y){case"dialog":g0("cancel",$),g0("close",$);break;case"iframe":case"object":case"embed":g0("load",$);break;case"video":case"audio":for(Y=0;Y<Q$.length;Y++)g0(Q$[Y],$);break;case"source":g0("error",$);break;case"img":case"image":case"link":g0("error",$),g0("load",$);break;case"details":g0("toggle",$);break;case"input":k2("input",G),g0("invalid",$),iB($,G),aB($,G.value,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name,!0);break;case"option":nB($,G);break;case"select":k2("select",G),g0("invalid",$),rB($,G);break;case"textarea":k2("textarea",G),g0("invalid",$),tB($,G),XH($,G.value,G.defaultValue,G.children)}Y=G.children,typeof Y!=="string"&&typeof Y!=="number"&&typeof Y!=="bigint"||$.textContent===""+Y||G.suppressHydrationWarning===!0||ZW($.textContent,Y)?(G.popover!=null&&(g0("beforetoggle",$),g0("toggle",$)),G.onScroll!=null&&g0("scroll",$),G.onScrollEnd!=null&&g0("scrollend",$),G.onClick!=null&&($.onclick=Y2),$=!0):$=!1,$||g2(X,!0)}function uH(X){for(s5=X.return;s5;)switch(s5.tag){case 5:case 31:case 13:n4=!1;return;case 27:case 3:n4=!0;return;default:s5=s5.return}}function jX(X){if(X!==s5)return!1;if(!v0)return uH(X),v0=!0,!1;var $=X.tag,Y;if(Y=$!==3&&$!==27){if(Y=$===5)Y=X.type,Y=!(Y!=="form"&&Y!=="button")||_3(X.type,X.memoizedProps);Y=!Y}if(Y&&z5){for(Y=z5;Y;){var G=g7(X,0),Z=MW(Y);G.serverTail.push(Z),Y=Z.type==="Suspense"?Q3(Y):x4(Y.nextSibling)}g2(X)}if(uH(X),$===13){if(X=X.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z5=Q3(X)}else if($===31){if(X=X.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z5=Q3(X)}else $===27?($=z5,c2(X.type)?(X=aJ,aJ=null,z5=X):z5=$):z5=s5?x4(X.stateNode.nextSibling):null;return!0}function b7(){z5=s5=null,l6=v0=!1}function dG(){var X=X7;return X!==null&&(W4===null?W4=X:W4.push.apply(W4,X),X7=null),X}function $9(X){X7===null?X7=[X]:X7.push(X)}function uG(){var X=b4;if(X!==null){b4=null;for(var $=OG(X);0<X.children.length;)X=X.children[0];n(X.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:
- A server/client branch \`if (typeof window !== 'undefined')\`.
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
%s%s`,"https://react.dev/link/hydration-mismatch",$)})}}function t$(){H8=U1=null,U8=!1}function b2(X,$,Y){K0(BJ,$._currentValue,X),$._currentValue=Y,K0(HJ,$._currentRenderer,X),$._currentRenderer!==void 0&&$._currentRenderer!==null&&$._currentRenderer!==d_&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),$._currentRenderer=d_}function J2(X,$){X._currentValue=BJ.current;var Y=HJ.current;I0(HJ,$),X._currentRenderer=Y,I0(BJ,$)}function pG(X,$,Y){for(;X!==null;){var G=X.alternate;if((X.childLanes&$)!==$?(X.childLanes|=$,G!==null&&(G.childLanes|=$)):G!==null&&(G.childLanes&$)!==$&&(G.childLanes|=$),X===Y)break;X=X.return}X!==Y&&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 lG(X,$,Y,G){var Z=X.child;Z!==null&&(Z.return=X);for(;Z!==null;){var J=Z.dependencies;if(J!==null){var H=Z.child;J=J.firstContext;X:for(;J!==null;){var z=J;J=Z;for(var A=0;A<$.length;A++)if(z.context===$[A]){J.lanes|=Y,z=J.alternate,z!==null&&(z.lanes|=Y),pG(J.return,Y,X),G||(H=null);break X}J=z.next}}else if(Z.tag===18){if(H=Z.return,H===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");H.lanes|=Y,J=H.alternate,J!==null&&(J.lanes|=Y),pG(H,Y,X),H=null}else H=Z.child;if(H!==null)H.return=Z;else for(H=Z;H!==null;){if(H===X){H=null;break}if(Z=H.sibling,Z!==null){Z.return=H.return,H=Z;break}H=H.return}Z=H}}function SX(X,$,Y,G){X=null;for(var Z=$,J=!1;Z!==null;){if(!J){if((Z.flags&524288)!==0)J=!0;else if((Z.flags&262144)!==0)break}if(Z.tag===10){var H=Z.alternate;if(H===null)throw Error("Should have a current fiber. This is a bug in React.");if(H=H.memoizedProps,H!==null){var z=Z.type;B4(Z.pendingProps.value,H.value)||(X!==null?X.push(z):X=[z])}}else if(Z===iY.current){if(H=Z.alternate,H===null)throw Error("Should have a current fiber. This is a bug in React.");H.memoizedState.memoizedState!==Z.memoizedState.memoizedState&&(X!==null?X.push(T$):X=[T$])}Z=Z.return}X!==null&&lG($,X,Y,G),$.flags|=262144}function e$(X){for(X=X.firstContext;X!==null;){if(!B4(X.context._currentValue,X.memoizedValue))return!0;X=X.next}return!1}function m7(X){U1=X,H8=null,X=X.dependencies,X!==null&&(X.firstContext=null)}function _5(X){return U8&&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()."),pH(U1,X)}function XY(X,$){return U1===null&&m7(X),pH(X,$)}function pH(X,$){var Y=$._currentValue;if($={context:$,memoizedValue:Y,next:null},H8===null){if(X===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().");H8=$,X.dependencies={lanes:0,firstContext:$,_debugThenableState:null},X.flags|=524288}else H8=H8.next=$;return Y}function cG(){return{controller:new EM,data:new Map,refCount:0}}function f7(X){X.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),X.refCount++}function Y9(X){X.refCount--,0>X.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),X.refCount===0&&jM(SM,function(){X.controller.abort()})}function V6(X,$,Y){if((X&127)!==0)0>c6&&(c6=D5(),p9=z1($),UJ=$,Y!=null&&(zJ=p(Y)),(h0&(g5|h4))!==d5&&(w5=!0,G7=u9),X=P9(),$=I9(),X!==z8||$!==l9?z8=-1.1:$!==null&&(G7=u9),n7=X,l9=$);else if((X&4194048)!==0&&0>o4&&(o4=D5(),c9=z1($),u_=$,Y!=null&&(p_=p(Y)),0>F2)){if(X=P9(),$=I9(),X!==J7||$!==o7)J7=-1.1;Z7=X,o7=$}}function oQ(X){if(0>c6){c6=D5(),p9=X._debugTask!=null?X._debugTask:null,(h0&(g5|h4))!==d5&&(G7=u9);var $=P9(),Y=I9();$!==z8||Y!==l9?z8=-1.1:Y!==null&&(G7=u9),n7=$,l9=Y}if(0>o4&&(o4=D5(),c9=X._debugTask!=null?X._debugTask:null,0>F2)){if(X=P9(),$=I9(),X!==J7||$!==o7)J7=-1.1;Z7=X,o7=$}}function B2(){var X=a7;return a7=0,X}function $Y(X){var $=a7;return a7=X,$}function G9(X){var $=a7;return a7+=X,$}function YY(){L0=z0=-1.1}function C4(){var X=z0;return z0=-1.1,X}function E4(X){0<=X&&(z0=X)}function O6(){var X=Q5;return Q5=-0,X}function q6(X){0<=X&&(Q5=X)}function D6(){var X=A5;return A5=null,X}function C6(){var X=w5;return w5=!1,X}function sG(X){H4=D5(),0>X.actualStartTime&&(X.actualStartTime=H4)}function iG(X){if(0<=H4){var $=D5()-H4;X.actualDuration+=$,X.selfBaseDuration=$,H4=-1}}function lH(X){if(0<=H4){var $=D5()-H4;X.actualDuration+=$,H4=-1}}function E6(){if(0<=H4){var X=D5(),$=X-H4;H4=-1,a7+=$,Q5+=$,L0=X}}function cH(X){A5===null&&(A5=[]),A5.push(X),K2===null&&(K2=[]),K2.push(X)}function j6(){H4=D5(),0>z0&&(z0=H4)}function Z9(X){for(var $=X.child;$;)X.actualDuration+=$.actualDuration,$=$.sibling}function rQ(X,$){if(i9===null){var Y=i9=[];_J=0,r7=Y3(),W8={status:"pending",value:void 0,then:function(G){Y.push(G)}}}return _J++,$.then(sH,sH),$}function sH(){if(--_J===0&&(-1<o4||(F2=-1.1),i9!==null)){W8!==null&&(W8.status="fulfilled");var X=i9;i9=null,r7=0,W8=null;for(var $=0;$<X.length;$++)(0,X[$])()}}function tQ(X,$){var Y=[],G={status:"pending",value:null,reason:null,then:function(Z){Y.push(Z)}};return X.then(function(){G.status="fulfilled",G.value=$;for(var Z=0;Z<Y.length;Z++)(0,Y[Z])($)},function(Z){G.status="rejected",G.reason=Z;for(Z=0;Z<Y.length;Z++)(0,Y[Z])(void 0)}),G}function aG(){var X=t7.current;return X!==null?X:Y5.pooledCache}function GY(X,$){$===null?K0(t7,t7.current,X):K0(t7,$.pool,X)}function iH(){var X=aG();return X===null?null:{parent:q5._currentValue,pool:X}}function aH(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function nH(X){return X=X.status,X==="fulfilled"||X==="rejected"}function oH(X,$,Y){g.actQueue!==null&&(g.didUsePromise=!0);var G=X.thenables;if(Y=G[Y],Y===void 0?G.push($):Y!==$&&(X.didWarnAboutUncachedPromise||(X.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.")),$.then(Y2,Y2),$=Y),$._debugInfo===void 0){X=performance.now(),G=$.displayName;var Z={name:typeof G==="string"?G:"Promise",start:X,end:X,value:$};$._debugInfo=[{awaited:Z}],$.status!=="fulfilled"&&$.status!=="rejected"&&(X=function(){Z.end=performance.now()},$.then(X,X))}switch($.status){case"fulfilled":return $.value;case"rejected":throw X=$.reason,tH(X),X;default:if(typeof $.status==="string")$.then(Y2,Y2);else{if(X=Y5,X!==null&&100<X.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.");X=$,X.status="pending",X.then(function(J){if($.status==="pending"){var H=$;H.status="fulfilled",H.value=J}},function(J){if($.status==="pending"){var H=$;H.status="rejected",H.reason=J}})}switch($.status){case"fulfilled":return $.value;case"rejected":throw X=$.reason,tH(X),X}throw XX=$,X$=!0,_8}}function m2(X){try{return gM(X)}catch($){if($!==null&&typeof $==="object"&&typeof $.then==="function")throw XX=$,X$=!0,_8;throw $}}function rH(){if(XX===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var X=XX;return XX=null,X$=!1,X}function tH(X){if(X===_8||X===F1)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 u5(X){var $=D0;return X!=null&&(D0=$===null?X:$.concat(X)),$}function nG(){var X=D0;if(X!=null){for(var $=X.length-1;0<=$;$--)if(X[$].name!=null){var Y=X[$].debugTask;if(Y!=null)return Y}}return null}function ZY(X,$,Y){for(var G=Object.keys(X.props),Z=0;Z<G.length;Z++){var J=G[Z];if(J!=="children"&&J!=="key"){$===null&&($=o$(X,Y.mode,0),$._debugInfo=D0,$.return=Y),n($,function(H){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",H)},J);break}}}function JY(X){var $=$$;return $$+=1,A8===null&&(A8=aH()),oH(A8,X,$)}function J9(X,$){$=$.props.ref,X.ref=$!==void 0?$:null}function eH(X,$){if($.$$typeof===NF)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
- Multiple copies of the "react" package is used.
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
- A compiler tries to "inline" JSX instead of using the runtime.`);throw X=Object.prototype.toString.call($),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}function BY(X,$){var Y=nG();Y!==null?Y.run(eH.bind(null,X,$)):eH(X,$)}function XU(X,$){var Y=p(X)||"Component";zA[Y]||(zA[Y]=!0,$=$.displayName||$.name||"Component",X.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.
root.render(%s)`,$,$,$):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.
<%s>{%s}</%s>`,$,$,Y,$,Y))}function HY(X,$){var Y=nG();Y!==null?Y.run(XU.bind(null,X,$)):XU(X,$)}function $U(X,$){var Y=p(X)||"Component";WA[Y]||(WA[Y]=!0,$=String($),X.tag===3?console.error(`Symbols are not valid as a React child.
root.render(%s)`,$):console.error(`Symbols are not valid as a React child.
<%s>%s</%s>`,Y,$,Y))}function UY(X,$){var Y=nG();Y!==null?Y.run($U.bind(null,X,$)):$U(X,$)}function YU(X){function $(R,P){if(X){var O=R.deletions;O===null?(R.deletions=[P],R.flags|=16):O.push(P)}}function Y(R,P){if(!X)return null;for(;P!==null;)$(R,P),P=P.sibling;return null}function G(R){for(var P=new Map;R!==null;)R.key!==null?P.set(R.key,R):P.set(R.index,R),R=R.sibling;return P}function Z(R,P){return R=G2(R,P),R.index=0,R.sibling=null,R}function J(R,P,O){if(R.index=O,!X)return R.flags|=1048576,P;if(O=R.alternate,O!==null)return O=O.index,O<P?(R.flags|=67108866,P):O;return R.flags|=67108866,P}function H(R){return X&&R.alternate===null&&(R.flags|=67108866),R}function z(R,P,O,b){if(P===null||P.tag!==6)return P=mG(O,R.mode,b),P.return=R,P._debugOwner=R,P._debugTask=R._debugTask,P._debugInfo=D0,P;return P=Z(P,O),P.return=R,P._debugInfo=D0,P}function A(R,P,O,b){var i=O.type;if(i===sX)return P=q(R,P,O.props.children,b,O.key),ZY(O,P,R),P;if(P!==null&&(P.elementType===i||xH(P,O)||typeof i==="object"&&i!==null&&i.$$typeof===k4&&m2(i)===P.type))return P=Z(P,O.props),J9(P,O),P.return=R,P._debugOwner=O._owner,P._debugInfo=D0,P;return P=o$(O,R.mode,b),J9(P,O),P.return=R,P._debugInfo=D0,P}function N(R,P,O,b){if(P===null||P.tag!==4||P.stateNode.containerInfo!==O.containerInfo||P.stateNode.implementation!==O.implementation)return P=fG(O,R.mode,b),P.return=R,P._debugInfo=D0,P;return P=Z(P,O.children||[]),P.return=R,P._debugInfo=D0,P}function q(R,P,O,b,i){if(P===null||P.tag!==7)return P=v7(O,R.mode,b,i),P.return=R,P._debugOwner=R,P._debugTask=R._debugTask,P._debugInfo=D0,P;return P=Z(P,O),P.return=R,P._debugInfo=D0,P}function D(R,P,O){if(typeof P==="string"&&P!==""||typeof P==="number"||typeof P==="bigint")return P=mG(""+P,R.mode,O),P.return=R,P._debugOwner=R,P._debugTask=R._debugTask,P._debugInfo=D0,P;if(typeof P==="object"&&P!==null){switch(P.$$typeof){case m6:return O=o$(P,R.mode,O),J9(O,P),O.return=R,R=u5(P._debugInfo),O._debugInfo=D0,D0=R,O;case cX:return P=fG(P,R.mode,O),P.return=R,P._debugInfo=D0,P;case k4:var b=u5(P._debugInfo);return P=m2(P),R=D(R,P,O),D0=b,R}if(k5(P)||G0(P))return O=v7(P,R.mode,O,null),O.return=R,O._debugOwner=R,O._debugTask=R._debugTask,R=u5(P._debugInfo),O._debugInfo=D0,D0=R,O;if(typeof P.then==="function")return b=u5(P._debugInfo),R=D(R,JY(P),O),D0=b,R;if(P.$$typeof===f6)return D(R,XY(R,P),O);BY(R,P)}return typeof P==="function"&&HY(R,P),typeof P==="symbol"&&UY(R,P),null}function I(R,P,O,b){var i=P!==null?P.key:null;if(typeof O==="string"&&O!==""||typeof O==="number"||typeof O==="bigint")return i!==null?null:z(R,P,""+O,b);if(typeof O==="object"&&O!==null){switch(O.$$typeof){case m6:return O.key===i?(i=u5(O._debugInfo),R=A(R,P,O,b),D0=i,R):null;case cX:return O.key===i?N(R,P,O,b):null;case k4:return i=u5(O._debugInfo),O=m2(O),R=I(R,P,O,b),D0=i,R}if(k5(O)||G0(O)){if(i!==null)return null;return i=u5(O._debugInfo),R=q(R,P,O,b,null),D0=i,R}if(typeof O.then==="function")return i=u5(O._debugInfo),R=I(R,P,JY(O),b),D0=i,R;if(O.$$typeof===f6)return I(R,P,XY(R,O),b);BY(R,O)}return typeof O==="function"&&HY(R,O),typeof O==="symbol"&&UY(R,O),null}function x(R,P,O,b,i){if(typeof b==="string"&&b!==""||typeof b==="number"||typeof b==="bigint")return R=R.get(O)||null,z(P,R,""+b,i);if(typeof b==="object"&&b!==null){switch(b.$$typeof){case m6:return O=R.get(b.key===null?O:b.key)||null,R=u5(b._debugInfo),P=A(P,O,b,i),D0=R,P;case cX:return R=R.get(b.key===null?O:b.key)||null,N(P,R,b,i);case k4:var M0=u5(b._debugInfo);return b=m2(b),P=x(R,P,O,b,i),D0=M0,P}if(k5(b)||G0(b))return O=R.get(O)||null,R=u5(b._debugInfo),P=q(P,O,b,i,null),D0=R,P;if(typeof b.then==="function")return M0=u5(b._debugInfo),P=x(R,P,O,JY(b),i),D0=M0,P;if(b.$$typeof===f6)return x(R,P,O,XY(P,b),i);BY(P,b)}return typeof b==="function"&&HY(P,b),typeof b==="symbol"&&UY(P,b),null}function c(R,P,O,b){if(typeof O!=="object"||O===null)return b;switch(O.$$typeof){case m6:case cX:w(R,P,O);var i=O.key;if(typeof i!=="string")break;if(b===null){b=new Set,b.add(i);break}if(!b.has(i)){b.add(i);break}n(P,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.",i)});break;case k4:O=m2(O),c(R,P,O,b)}return b}function a(R,P,O,b){for(var i=null,M0=null,B0=null,Y0=P,V0=P=0,W5=null;Y0!==null&&V0<O.length;V0++){Y0.index>V0?(W5=Y0,Y0=null):W5=Y0.sibling;var V5=I(R,Y0,O[V0],b);if(V5===null){Y0===null&&(Y0=W5);break}i=c(R,V5,O[V0],i),X&&Y0&&V5.alternate===null&&$(R,Y0),P=J(V5,P,V0),B0===null?M0=V5:B0.sibling=V5,B0=V5,Y0=W5}if(V0===O.length)return Y(R,Y0),v0&&Z2(R,V0),M0;if(Y0===null){for(;V0<O.length;V0++)Y0=D(R,O[V0],b),Y0!==null&&(i=c(R,Y0,O[V0],i),P=J(Y0,P,V0),B0===null?M0=Y0:B0.sibling=Y0,B0=Y0);return v0&&Z2(R,V0),M0}for(Y0=G(Y0);V0<O.length;V0++)W5=x(Y0,R,V0,O[V0],b),W5!==null&&(i=c(R,W5,O[V0],i),X&&W5.alternate!==null&&Y0.delete(W5.key===null?V0:W5.key),P=J(W5,P,V0),B0===null?M0=W5:B0.sibling=W5,B0=W5);return X&&Y0.forEach(function(q2){return $(R,q2)}),v0&&Z2(R,V0),M0}function B5(R,P,O,b){if(O==null)throw Error("An iterable object provided no iterator.");for(var i=null,M0=null,B0=P,Y0=P=0,V0=null,W5=null,V5=O.next();B0!==null&&!V5.done;Y0++,V5=O.next()){B0.index>Y0?(V0=B0,B0=null):V0=B0.sibling;var q2=I(R,B0,V5.value,b);if(q2===null){B0===null&&(B0=V0);break}W5=c(R,q2,V5.value,W5),X&&B0&&q2.alternate===null&&$(R,B0),P=J(q2,P,Y0),M0===null?i=q2:M0.sibling=q2,M0=q2,B0=V0}if(V5.done)return Y(R,B0),v0&&Z2(R,Y0),i;if(B0===null){for(;!V5.done;Y0++,V5=O.next())B0=D(R,V5.value,b),B0!==null&&(W5=c(R,B0,V5.value,W5),P=J(B0,P,Y0),M0===null?i=B0:M0.sibling=B0,M0=B0);return v0&&Z2(R,Y0),i}for(B0=G(B0);!V5.done;Y0++,V5=O.next())V0=x(B0,R,Y0,V5.value,b),V0!==null&&(W5=c(R,V0,V5.value,W5),X&&V0.alternate!==null&&B0.delete(V0.key===null?Y0:V0.key),P=J(V0,P,Y0),M0===null?i=V0:M0.sibling=V0,M0=V0);return X&&B0.forEach(function(Jw){return $(R,Jw)}),v0&&Z2(R,Y0),i}function b0(R,P,O,b){if(typeof O==="object"&&O!==null&&O.type===sX&&O.key===null&&(ZY(O,null,R),O=O.props.children),typeof O==="object"&&O!==null){switch(O.$$typeof){case m6:var i=u5(O._debugInfo);X:{for(var M0=O.key;P!==null;){if(P.key===M0){if(M0=O.type,M0===sX){if(P.tag===7){Y(R,P.sibling),b=Z(P,O.props.children),b.return=R,b._debugOwner=O._owner,b._debugInfo=D0,ZY(O,b,R),R=b;break X}}else if(P.elementType===M0||xH(P,O)||typeof M0==="object"&&M0!==null&&M0.$$typeof===k4&&m2(M0)===P.type){Y(R,P.sibling),b=Z(P,O.props),J9(b,O),b.return=R,b._debugOwner=O._owner,b._debugInfo=D0,R=b;break X}Y(R,P);break}else $(R,P);P=P.sibling}O.type===sX?(b=v7(O.props.children,R.mode,b,O.key),b.return=R,b._debugOwner=R,b._debugTask=R._debugTask,b._debugInfo=D0,ZY(O,b,R),R=b):(b=o$(O,R.mode,b),J9(b,O),b.return=R,b._debugInfo=D0,R=b)}return R=H(R),D0=i,R;case cX:X:{i=O;for(O=i.key;P!==null;){if(P.key===O)if(P.tag===4&&P.stateNode.containerInfo===i.containerInfo&&P.stateNode.implementation===i.implementation){Y(R,P.sibling),b=Z(P,i.children||[]),b.return=R,R=b;break X}else{Y(R,P);break}else $(R,P);P=P.sibling}b=fG(i,R.mode,b),b.return=R,R=b}return H(R);case k4:return i=u5(O._debugInfo),O=m2(O),R=b0(R,P,O,b),D0=i,R}if(k5(O))return i=u5(O._debugInfo),R=a(R,P,O,b),D0=i,R;if(G0(O)){if(i=u5(O._debugInfo),M0=G0(O),typeof M0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var B0=M0.call(O);if(B0===O){if(R.tag!==0||Object.prototype.toString.call(R.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(B0)!=="[object Generator]")HA||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."),HA=!0}else O.entries!==M0||QJ||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),QJ=!0);return R=B5(R,P,B0,b),D0=i,R}if(typeof O.then==="function")return i=u5(O._debugInfo),R=b0(R,P,JY(O),b),D0=i,R;if(O.$$typeof===f6)return b0(R,P,XY(R,O),b);BY(R,O)}if(typeof O==="string"&&O!==""||typeof O==="number"||typeof O==="bigint")return i=""+O,P!==null&&P.tag===6?(Y(R,P.sibling),b=Z(P,i),b.return=R,R=b):(Y(R,P),b=mG(i,R.mode,b),b.return=R,b._debugOwner=R,b._debugTask=R._debugTask,b._debugInfo=D0,R=b),H(R);return typeof O==="function"&&HY(R,O),typeof O==="symbol"&&UY(R,O),Y(R,P)}return function(R,P,O,b){var i=D0;D0=null;try{$$=0;var M0=b0(R,P,O,b);return A8=null,M0}catch(W5){if(W5===_8||W5===F1)throw W5;var B0=E(29,W5,null,R.mode);B0.lanes=b,B0.return=R;var Y0=B0._debugInfo=D0;if(B0._debugOwner=R._debugOwner,B0._debugTask=R._debugTask,Y0!=null){for(var V0=Y0.length-1;0<=V0;V0--)if(typeof Y0[V0].stack==="string"){B0._debugOwner=Y0[V0],B0._debugTask=Y0[V0].debugTask;break}}return B0}finally{D0=i}}}function GU(X,$){var Y=k5(X);return X=!Y&&typeof G0(X)==="function",Y||X?(Y=Y?"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>",Y,$,Y),!1):!0}function oG(X){X.updateQueue={baseState:X.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function rG(X,$){X=X.updateQueue,$.updateQueue===X&&($.updateQueue={baseState:X.baseState,firstBaseUpdate:X.firstBaseUpdate,lastBaseUpdate:X.lastBaseUpdate,shared:X.shared,callbacks:null})}function f2(X){return{lane:X,tag:AA,payload:null,callback:null,next:null}}function h2(X,$,Y){var G=X.updateQueue;if(G===null)return null;if(G=G.shared,FJ===G&&!QA){var Z=p(X);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.
Please update the following component: %s`,Z),QA=!0}if((h0&g5)!==d5)return Z=G.pending,Z===null?$.next=$:($.next=Z.next,Z.next=$),G.pending=$,$=n$(X),SH(X,null,Y),$;return a$(X,G,$,Y),n$(X)}function B9(X,$,Y){if($=$.updateQueue,$!==null&&($=$.shared,(Y&4194048)!==0)){var G=$.lanes;G&=X.pendingLanes,Y|=G,$.lanes=Y,D7(X,Y)}}function zY(X,$){var{updateQueue:Y,alternate:G}=X;if(G!==null&&(G=G.updateQueue,Y===G)){var Z=null,J=null;if(Y=Y.firstBaseUpdate,Y!==null){do{var H={lane:Y.lane,tag:Y.tag,payload:Y.payload,callback:null,next:null};J===null?Z=J=H:J=J.next=H,Y=Y.next}while(Y!==null);J===null?Z=J=$:J=J.next=$}else Z=J=$;Y={baseState:G.baseState,firstBaseUpdate:Z,lastBaseUpdate:J,shared:G.shared,callbacks:G.callbacks},X.updateQueue=Y;return}X=Y.lastBaseUpdate,X===null?Y.firstBaseUpdate=$:X.next=$,Y.lastBaseUpdate=$}function H9(){if(MJ){var X=W8;if(X!==null)throw X}}function U9(X,$,Y,G){MJ=!1;var Z=X.updateQueue;B7=!1,FJ=Z.shared;var{firstBaseUpdate:J,lastBaseUpdate:H}=Z,z=Z.shared.pending;if(z!==null){Z.shared.pending=null;var A=z,N=A.next;A.next=null,H===null?J=N:H.next=N,H=A;var q=X.alternate;q!==null&&(q=q.updateQueue,z=q.lastBaseUpdate,z!==H&&(z===null?q.firstBaseUpdate=N:z.next=N,q.lastBaseUpdate=A))}if(J!==null){var D=Z.baseState;H=0,q=N=A=null,z=J;do{var I=z.lane&-536870913,x=I!==z.lane;if(x?(C0&I)===I:(G&I)===I){I!==0&&I===r7&&(MJ=!0),q!==null&&(q=q.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});X:{I=X;var c=z,a=$,B5=Y;switch(c.tag){case LA:if(c=c.payload,typeof c==="function"){U8=!0;var b0=c.call(B5,D,a);if(I.mode&e5){Z5(!0);try{c.call(B5,D,a)}finally{Z5(!1)}}U8=!1,D=b0;break X}D=c;break X;case KJ:I.flags=I.flags&-65537|128;case AA:if(b0=c.payload,typeof b0==="function"){if(U8=!0,c=b0.call(B5,D,a),I.mode&e5){Z5(!0);try{b0.call(B5,D,a)}finally{Z5(!1)}}U8=!1}else c=b0;if(c===null||c===void 0)break X;D=S0({},D,c);break X;case NA:B7=!0}}I=z.callback,I!==null&&(X.flags|=64,x&&(X.flags|=8192),x=Z.callbacks,x===null?Z.callbacks=[I]:x.push(I))}else x={lane:I,tag:z.tag,payload:z.payload,callback:z.callback,next:null},q===null?(N=q=x,A=D):q=q.next=x,H|=I;if(z=z.next,z===null)if(z=Z.shared.pending,z===null)break;else x=z,z=x.next,x.next=null,Z.lastBaseUpdate=x,Z.shared.pending=null}while(1);q===null&&(A=D),Z.baseState=A,Z.firstBaseUpdate=N,Z.lastBaseUpdate=q,J===null&&(Z.shared.lanes=0),z7|=H,X.lanes=H,X.memoizedState=D}FJ=null}function ZU(X,$){if(typeof X!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+X);X.call($)}function eQ(X,$){var Y=X.shared.hiddenCallbacks;if(Y!==null)for(X.shared.hiddenCallbacks=null,X=0;X<Y.length;X++)ZU(Y[X],$)}function JU(X,$){var Y=X.callbacks;if(Y!==null)for(X.callbacks=null,X=0;X<Y.length;X++)ZU(Y[X],$)}function BU(X,$){var Y=a6;K0(w1,Y,X),K0(L8,$,X),a6=Y|$.baseLanes}function tG(X){K0(w1,a6,X),K0(L8,L8.current,X)}function eG(X){a6=w1.current,I0(L8,X),I0(w1,X)}function y2(X){var $=X.alternate;K0(P5,P5.current&N8,X),K0(m4,X,X),r4===null&&($===null||L8.current!==null?r4=X:$.memoizedState!==null&&(r4=X))}function XZ(X){K0(P5,P5.current,X),K0(m4,X,X),r4===null&&(r4=X)}function HU(X){X.tag===22?(K0(P5,P5.current,X),K0(m4,X,X),r4===null&&(r4=X)):d2(X)}function d2(X){K0(P5,P5.current,X),K0(m4,m4.current,X)}function j4(X){I0(m4,X),r4===X&&(r4=null),I0(P5,X)}function WY(X){for(var $=X;$!==null;){if($.tag===13){var Y=$.memoizedState;if(Y!==null&&(Y=Y.dehydrated,Y===null||L3(Y)||N3(Y)))return $}else if($.tag===19&&($.memoizedProps.revealOrder==="forwards"||$.memoizedProps.revealOrder==="backwards"||$.memoizedProps.revealOrder==="unstable_legacy-backwards"||$.memoizedProps.revealOrder==="together")){if(($.flags&128)!==0)return $}else if($.child!==null){$.child.return=$,$=$.child;continue}if($===X)break;for(;$.sibling===null;){if($.return===null||$.return===X)return null;$=$.return}$.sibling.return=$.return,$=$.sibling}return null}function j0(){var X=k;e4===null?e4=[X]:e4.push(X)}function h(){var X=k;if(e4!==null&&(R2++,e4[R2]!==X)){var $=p(F0);if(!KA.has($)&&(KA.add($),e4!==null)){for(var Y="",G=0;G<=R2;G++){var Z=e4[G],J=G===R2?X:Z;for(Z=G+1+". "+Z;30>Z.length;)Z+=" ";Z+=J+`
`,Y+=Z}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
Previous render Next render
------------------------------------------------------
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`,$,Y)}}}function xX(X){X===void 0||X===null||k5(X)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",k,typeof X)}function _Y(){var X=p(F0);MA.has(X)||(MA.add(X),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",X))}function T5(){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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function $Z(X,$){if(Z$)return!1;if($===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.",k),!1;X.length!==$.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
Previous: %s
Incoming: %s`,k,"["+$.join(", ")+"]","["+X.join(", ")+"]");for(var Y=0;Y<$.length&&Y<X.length;Y++)if(!B4(X[Y],$[Y]))return!1;return!0}function YZ(X,$,Y,G,Z,J){if(w2=J,F0=$,e4=X!==null?X._debugHookTypes:null,R2=-1,Z$=X!==null&&X.type!==$.type,Object.prototype.toString.call(Y)==="[object AsyncFunction]"||Object.prototype.toString.call(Y)==="[object AsyncGeneratorFunction]")J=p(F0),wJ.has(J)||(wJ.add(J),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.",J===null?"An unknown Component":"<"+J+">"));$.memoizedState=null,$.updateQueue=null,$.lanes=0,g.H=X!==null&&X.memoizedState!==null?RJ:e4!==null?wA:TJ,YX=J=($.mode&e5)!==Q0;var H=AJ(Y,G,Z);if(YX=!1,K8&&(H=GZ($,Y,G,Z)),J){Z5(!0);try{H=GZ($,Y,G,Z)}finally{Z5(!1)}}return UU(X,$),H}function UU(X,$){$._debugHookTypes=e4,$.dependencies===null?T2!==null&&($.dependencies={lanes:0,firstContext:null,_debugThenableState:T2}):$.dependencies._debugThenableState=T2,g.H=J$;var Y=$5!==null&&$5.next!==null;if(w2=0,e4=k=C5=$5=F0=null,R2=-1,X!==null&&(X.flags&65011712)!==($.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),R1=!1,G$=0,T2=null,Y)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");X===null||E5||(X=X.dependencies,X!==null&&e$(X)&&(E5=!0)),X$?(X$=!1,X=!0):X=!1,X&&($=p($)||"Unknown",FA.has($)||wJ.has($)||(FA.add($),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 GZ(X,$,Y,G){F0=X;var Z=0;do{if(K8&&(T2=null),G$=0,K8=!1,Z>=mM)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(Z+=1,Z$=!1,C5=$5=null,X.updateQueue!=null){var J=X.updateQueue;J.lastEffect=null,J.events=null,J.stores=null,J.memoCache!=null&&(J.memoCache.index=0)}R2=-1,g.H=TA,J=AJ($,Y,G)}while(K8);return J}function XK(){var X=g.H,$=X.useState()[0];return $=typeof $.then==="function"?z9($):$,X=X.useState()[0],($5!==null?$5.memoizedState:null)!==X&&(F0.flags|=1024),$}function ZZ(){var X=I1!==0;return I1=0,X}function JZ(X,$,Y){$.updateQueue=X.updateQueue,$.flags=($.mode&A6)!==Q0?$.flags&-402655237:$.flags&-2053,X.lanes&=~Y}function BZ(X){if(R1){for(X=X.memoizedState;X!==null;){var $=X.queue;$!==null&&($.pending=null),X=X.next}R1=!1}w2=0,e4=C5=$5=F0=null,R2=-1,k=null,K8=!1,G$=I1=0,T2=null}function Y4(){var X={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return C5===null?F0.memoizedState=C5=X:C5=C5.next=X,C5}function a0(){if($5===null){var X=F0.alternate;X=X!==null?X.memoizedState:null}else X=$5.next;var $=C5===null?F0.memoizedState:C5.next;if($!==null)C5=$,$5=X;else{if(X===null){if(F0.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}$5=X,X={memoizedState:$5.memoizedState,baseState:$5.baseState,baseQueue:$5.baseQueue,queue:$5.queue,next:null},C5===null?F0.memoizedState=C5=X:C5=C5.next=X}return C5}function AY(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function z9(X){var $=G$;return G$+=1,T2===null&&(T2=aH()),X=oH(T2,X,$),$=F0,(C5===null?$.memoizedState:C5.next)===null&&($=$.alternate,g.H=$!==null&&$.memoizedState!==null?RJ:TJ),X}function u2(X){if(X!==null&&typeof X==="object"){if(typeof X.then==="function")return z9(X);if(X.$$typeof===f6)return _5(X)}throw Error("An unsupported type was passed to use(): "+String(X))}function h7(X){var $=null,Y=F0.updateQueue;if(Y!==null&&($=Y.memoCache),$==null){var G=F0.alternate;G!==null&&(G=G.updateQueue,G!==null&&(G=G.memoCache,G!=null&&($={data:G.data.map(function(Z){return Z.slice()}),index:0})))}if($==null&&($={data:[],index:0}),Y===null&&(Y=AY(),F0.updateQueue=Y),Y.memoCache=$,Y=$.data[$.index],Y===void 0||Z$)for(Y=$.data[$.index]=Array(X),G=0;G<X;G++)Y[G]=QF;else Y.length!==X&&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.",Y.length,X);return $.index++,Y}function U6(X,$){return typeof $==="function"?$(X):$}function HZ(X,$,Y){var G=Y4();if(Y!==void 0){var Z=Y($);if(YX){Z5(!0);try{Y($)}finally{Z5(!1)}}}else Z=$;return G.memoizedState=G.baseState=Z,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:X,lastRenderedState:Z},G.queue=X,X=X.dispatch=JK.bind(null,F0,X),[G.memoizedState,X]}function kX(X){var $=a0();return UZ($,$5,X)}function UZ(X,$,Y){var G=X.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=Y;var Z=X.baseQueue,J=G.pending;if(J!==null){if(Z!==null){var H=Z.next;Z.next=J.next,J.next=H}$.baseQueue!==Z&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),$.baseQueue=Z=J,G.pending=null}if(J=X.baseState,Z===null)X.memoizedState=J;else{$=Z.next;var z=H=null,A=null,N=$,q=!1;do{var D=N.lane&-536870913;if(D!==N.lane?(C0&D)===D:(w2&D)===D){var I=N.revertLane;if(I===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),D===r7&&(q=!0);else if((w2&I)===I){N=N.next,I===r7&&(q=!0);continue}else D={lane:0,revertLane:N.revertLane,gesture:null,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},A===null?(z=A=D,H=J):A=A.next=D,F0.lanes|=I,z7|=I;D=N.action,YX&&Y(J,D),J=N.hasEagerState?N.eagerState:Y(J,D)}else I={lane:D,revertLane:N.revertLane,gesture:N.gesture,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},A===null?(z=A=I,H=J):A=A.next=I,F0.lanes|=D,z7|=D;N=N.next}while(N!==null&&N!==$);if(A===null?H=J:A.next=z,!B4(J,X.memoizedState)&&(E5=!0,q&&(Y=W8,Y!==null)))throw Y;X.memoizedState=J,X.baseState=H,X.baseQueue=A,G.lastRenderedState=J}return Z===null&&(G.lanes=0),[X.memoizedState,G.dispatch]}function W9(X){var $=a0(),Y=$.queue;if(Y===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");Y.lastRenderedReducer=X;var{dispatch:G,pending:Z}=Y,J=$.memoizedState;if(Z!==null){Y.pending=null;var H=Z=Z.next;do J=X(J,H.action),H=H.next;while(H!==Z);B4(J,$.memoizedState)||(E5=!0),$.memoizedState=J,$.baseQueue===null&&($.baseState=J),Y.lastRenderedState=J}return[J,G]}function zZ(X,$,Y){var G=F0,Z=Y4();if(v0){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var J=Y();Q8||J===Y()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Q8=!0)}else{if(J=$(),Q8||(Y=$(),B4(J,Y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Q8=!0)),Y5===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(C0&127)!==0||zU(G,$,J)}return Z.memoizedState=J,Y={value:J,getSnapshot:$},Z.queue=Y,KY(_U.bind(null,G,Y,X),[X]),G.flags|=2048,gX(t4|z4,{destroy:void 0},WU.bind(null,G,Y,J,$),null),J}function LY(X,$,Y){var G=F0,Z=a0(),J=v0;if(J){if(Y===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");Y=Y()}else if(Y=$(),!Q8){var H=$();B4(Y,H)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Q8=!0)}if(H=!B4(($5||Z).memoizedState,Y))Z.memoizedState=Y,E5=!0;Z=Z.queue;var z=_U.bind(null,G,Z,X);if(Q4(2048,z4,z,[X]),Z.getSnapshot!==$||H||C5!==null&&C5.memoizedState.tag&t4){if(G.flags|=2048,gX(t4|z4,{destroy:void 0},WU.bind(null,G,Z,Y,$),null),Y5===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");J||(w2&127)!==0||zU(G,$,Y)}return Y}function zU(X,$,Y){X.flags|=16384,X={getSnapshot:$,value:Y},$=F0.updateQueue,$===null?($=AY(),F0.updateQueue=$,$.stores=[X]):(Y=$.stores,Y===null?$.stores=[X]:Y.push(X))}function WU(X,$,Y,G){$.value=Y,$.getSnapshot=G,AU($)&&LU(X)}function _U(X,$,Y){return Y(function(){AU($)&&(V6(2,"updateSyncExternalStore()",X),LU(X))})}function AU(X){var $=X.getSnapshot;X=X.value;try{var Y=$();return!B4(X,Y)}catch(G){return!0}}function LU(X){var $=r5(X,2);$!==null&&M5($,X,2)}function WZ(X){var $=Y4();if(typeof X==="function"){var Y=X;if(X=Y(),YX){Z5(!0);try{Y()}finally{Z5(!1)}}}return $.memoizedState=$.baseState=X,$.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:U6,lastRenderedState:X},$}function _Z(X){X=WZ(X);var $=X.queue,Y=xU.bind(null,F0,$);return $.dispatch=Y,[X.memoizedState,Y]}function AZ(X){var $=Y4();$.memoizedState=$.baseState=X;var Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return $.queue=Y,$=qZ.bind(null,F0,!0,Y),Y.dispatch=$,[X,$]}function NU(X,$){var Y=a0();return QU(Y,$5,X,$)}function QU(X,$,Y,G){return X.baseState=Y,UZ(X,$5,typeof G==="function"?G:U6)}function KU(X,$){var Y=a0();if($5!==null)return QU(Y,$5,X,$);return Y.baseState=X,[X,Y.queue.dispatch]}function $K(X,$,Y,G,Z){if(IY(X))throw Error("Cannot update form state while rendering.");if(X=$.action,X!==null){var J={payload:Z,action:X,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(H){J.listeners.push(H)}};g.T!==null?Y(!0):J.isTransition=!1,G(J),Y=$.pending,Y===null?(J.next=$.pending=J,FU($,J)):(J.next=Y.next,$.pending=Y.next=J)}}function FU(X,$){var{action:Y,payload:G}=$,Z=X.state;if($.isTransition){var J=g.T,H={};H._updatedFibers=new Set,g.T=H;try{var z=Y(Z,G),A=g.S;A!==null&&A(H,z),MU(X,$,z)}catch(N){LZ(X,$,N)}finally{J!==null&&H.types!==null&&(J.types!==null&&J.types!==H.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."),J.types=H.types),g.T=J,J===null&&H._updatedFibers&&(X=H._updatedFibers.size,H._updatedFibers.clear(),10<X&&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{H=Y(Z,G),MU(X,$,H)}catch(N){LZ(X,$,N)}}function MU(X,$,Y){Y!==null&&typeof Y==="object"&&typeof Y.then==="function"?(g.asyncTransitions++,Y.then(RY,RY),Y.then(function(G){wU(X,$,G)},function(G){return LZ(X,$,G)}),$.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.")):wU(X,$,Y)}function wU(X,$,Y){$.status="fulfilled",$.value=Y,TU($),X.state=Y,$=X.pending,$!==null&&(Y=$.next,Y===$?X.pending=null:(Y=Y.next,$.next=Y,FU(X,Y)))}function LZ(X,$,Y){var G=X.pending;if(X.pending=null,G!==null){G=G.next;do $.status="rejected",$.reason=Y,TU($),$=$.next;while($!==G)}X.action=null}function TU(X){X=X.listeners;for(var $=0;$<X.length;$++)(0,X[$])()}function RU(X,$){return $}function vX(X,$){if(v0){var Y=Y5.formState;if(Y!==null){X:{var G=F0;if(v0){if(z5){$:{var Z=z5;for(var J=n4;Z.nodeType!==8;){if(!J){Z=null;break $}if(Z=x4(Z.nextSibling),Z===null){Z=null;break $}}J=Z.data,Z=J===lJ||J===JL?Z:null}if(Z){z5=x4(Z.nextSibling),G=Z.data===lJ;break X}}g2(G)}G=!1}G&&($=Y[0])}}return Y=Y4(),Y.memoizedState=Y.baseState=$,G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:RU,lastRenderedState:$},Y.queue=G,Y=xU.bind(null,F0,G),G.dispatch=Y,G=WZ(!1),J=qZ.bind(null,F0,!1,G.queue),G=Y4(),Z={state:$,dispatch:null,action:X,pending:null},G.queue=Z,Y=$K.bind(null,F0,Z,J,Y),Z.dispatch=Y,G.memoizedState=X,[$,Y,!1]}function NY(X){var $=a0();return IU($,$5,X)}function IU(X,$,Y){if($=UZ(X,$,RU)[0],X=kX(U6)[0],typeof $==="object"&&$!==null&&typeof $.then==="function")try{var G=z9($)}catch(H){if(H===_8)throw F1;throw H}else G=$;$=a0();var Z=$.queue,J=Z.dispatch;return Y!==$.memoizedState&&(F0.flags|=2048,gX(t4|z4,{destroy:void 0},YK.bind(null,Z,Y),null)),[G,J,X]}function YK(X,$){X.action=$}function QY(X){var $=a0(),Y=$5;if(Y!==null)return IU($,Y,X);a0(),$=$.memoizedState,Y=a0();var G=Y.queue.dispatch;return Y.memoizedState=X,[$,G,!1]}function gX(X,$,Y,G){return X={tag:X,create:Y,deps:G,inst:$,next:null},$=F0.updateQueue,$===null&&($=AY(),F0.updateQueue=$),Y=$.lastEffect,Y===null?$.lastEffect=X.next=X:(G=Y.next,Y.next=X,X.next=G,$.lastEffect=X),X}function NZ(X){var $=Y4();return X={current:X},$.memoizedState=X}function y7(X,$,Y,G){var Z=Y4();F0.flags|=X,Z.memoizedState=gX(t4|$,{destroy:void 0},Y,G===void 0?null:G)}function Q4(X,$,Y,G){var Z=a0();G=G===void 0?null:G;var J=Z.memoizedState.inst;$5!==null&&G!==null&&$Z(G,$5.memoizedState.deps)?Z.memoizedState=gX($,J,Y,G):(F0.flags|=X,Z.memoizedState=gX(t4|$,J,Y,G))}function KY(X,$){(F0.mode&A6)!==Q0?y7(276826112,z4,X,$):y7(8390656,z4,X,$)}function GK(X){F0.flags|=4;var $=F0.updateQueue;if($===null)$=AY(),F0.updateQueue=$,$.events=[X];else{var Y=$.events;Y===null?$.events=[X]:Y.push(X)}}function QZ(X){var $=Y4(),Y={impl:X};return $.memoizedState=Y,function(){if((h0&g5)!==d5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Y.impl.apply(void 0,arguments)}}function FY(X){var $=a0().memoizedState;return GK({ref:$,nextImpl:X}),function(){if((h0&g5)!==d5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return $.impl.apply(void 0,arguments)}}function KZ(X,$){var Y=4194308;return(F0.mode&A6)!==Q0&&(Y|=134217728),y7(Y,f4,X,$)}function PU(X,$){if(typeof $==="function"){X=X();var Y=$(X);return function(){typeof Y==="function"?Y():$(null)}}if($!==null&&$!==void 0)return $.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($).join(", ")+"}"),X=X(),$.current=X,function(){$.current=null}}function FZ(X,$,Y){typeof $!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",$!==null?typeof $:"null"),Y=Y!==null&&Y!==void 0?Y.concat([X]):null;var G=4194308;(F0.mode&A6)!==Q0&&(G|=134217728),y7(G,f4,PU.bind(null,$,X),Y)}function MY(X,$,Y){typeof $!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",$!==null?typeof $:"null"),Y=Y!==null&&Y!==void 0?Y.concat([X]):null,Q4(4,f4,PU.bind(null,$,X),Y)}function MZ(X,$){return Y4().memoizedState=[X,$===void 0?null:$],X}function wY(X,$){var Y=a0();$=$===void 0?null:$;var G=Y.memoizedState;if($!==null&&$Z($,G[1]))return G[0];return Y.memoizedState=[X,$],X}function wZ(X,$){var Y=Y4();$=$===void 0?null:$;var G=X();if(YX){Z5(!0);try{X()}finally{Z5(!1)}}return Y.memoizedState=[G,$],G}function TY(X,$){var Y=a0();$=$===void 0?null:$;var G=Y.memoizedState;if($!==null&&$Z($,G[1]))return G[0];if(G=X(),YX){Z5(!0);try{X()}finally{Z5(!1)}}return Y.memoizedState=[G,$],G}function TZ(X,$){var Y=Y4();return RZ(Y,X,$)}function VU(X,$){var Y=a0();return qU(Y,$5.memoizedState,X,$)}function OU(X,$){var Y=a0();return $5===null?RZ(Y,X,$):qU(Y,$5.memoizedState,X,$)}function RZ(X,$,Y){if(Y===void 0||(w2&1073741824)!==0&&(C0&261930)===0)return X.memoizedState=$;return X.memoizedState=Y,X=Dz(),F0.lanes|=X,z7|=X,Y}function qU(X,$,Y,G){if(B4(Y,$))return Y;if(L8.current!==null)return X=RZ(X,Y,G),B4(X,$)||(E5=!0),X;if((w2&42)===0||(w2&1073741824)!==0&&(C0&261930)===0)return E5=!0,X.memoizedState=Y;return X=Dz(),F0.lanes|=X,z7|=X,$}function RY(){g.asyncTransitions--}function DU(X,$,Y,G,Z){var J=s0.p;s0.p=J!==0&&J<_6?J:_6;var H=g.T,z={};z._updatedFibers=new Set,g.T=z,qZ(X,!1,$,Y);try{var A=Z(),N=g.S;if(N!==null&&N(z,A),A!==null&&typeof A==="object"&&typeof A.then==="function"){g.asyncTransitions++,A.then(RY,RY);var q=tQ(A,G);_9(X,$,q,S4(X))}else _9(X,$,G,S4(X))}catch(D){_9(X,$,{then:function(){},status:"rejected",reason:D},S4(X))}finally{s0.p=J,H!==null&&z.types!==null&&(H.types!==null&&H.types!==z.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."),H.types=z.types),g.T=H,H===null&&z._updatedFibers&&(X=z._updatedFibers.size,z._updatedFibers.clear(),10<X&&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 IZ(X,$,Y,G){if(X.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var Z=CU(X).queue;oQ(X),DU(X,Z,$,LX,Y===null?j:function(){return EU(X),Y(G)})}function CU(X){var $=X.memoizedState;if($!==null)return $;$={memoizedState:LX,baseState:LX,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:U6,lastRenderedState:LX},next:null};var Y={};return $.next={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:U6,lastRenderedState:Y},next:null},X.memoizedState=$,X=X.alternate,X!==null&&(X.memoizedState=$),$}function EU(X){g.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var $=CU(X);$.next===null&&($=X.alternate.memoizedState),_9(X,$.next.queue,{},S4(X))}function PZ(){var X=WZ(!1);return X=DU.bind(null,F0,X.queue,!0,!1),Y4().memoizedState=X,[!1,X]}function jU(){var X=kX(U6)[0],$=a0().memoizedState;return[typeof X==="boolean"?X:z9(X),$]}function SU(){var X=W9(U6)[0],$=a0().memoizedState;return[typeof X==="boolean"?X:z9(X),$]}function d7(){return _5(T$)}function VZ(){var X=Y4(),$=Y5.identifierPrefix;if(v0){var Y=N2,G=L2;Y=(G&~(1<<32-G4(G)-1)).toString(32)+Y,$="_"+$+"R_"+Y,Y=I1++,0<Y&&($+="H"+Y.toString(32)),$+="_"}else Y=bM++,$="_"+$+"r_"+Y.toString(32)+"_";return X.memoizedState=$}function OZ(){return Y4().memoizedState=ZK.bind(null,F0)}function ZK(X,$){for(var Y=X.return;Y!==null;){switch(Y.tag){case 24:case 3:var G=S4(Y),Z=f2(G),J=h2(Y,Z,G);J!==null&&(V6(G,"refresh()",X),M5(J,Y,G),B9(J,Y,G)),X=cG(),$!==null&&$!==void 0&&J!==null&&console.error("The seed argument is not enabled outside experimental channels."),Z.payload={cache:X};return}Y=Y.return}}function JK(X,$,Y){var G=arguments;typeof G[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()."),G=S4(X);var Z={lane:G,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};IY(X)?kU($,Z):(Z=kG(X,$,Z,G),Z!==null&&(V6(G,"dispatch()",X),M5(Z,X,G),vU(Z,$,G)))}function xU(X,$,Y){var G=arguments;typeof G[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()."),G=S4(X),_9(X,$,Y,G)&&V6(G,"setState()",X)}function _9(X,$,Y,G){var Z={lane:G,revertLane:0,gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null};if(IY(X))kU($,Z);else{var J=X.alternate;if(X.lanes===0&&(J===null||J.lanes===0)&&(J=$.lastRenderedReducer,J!==null)){var H=g.H;g.H=N6;try{var z=$.lastRenderedState,A=J(z,Y);if(Z.hasEagerState=!0,Z.eagerState=A,B4(A,z))return a$(X,$,Z,0),Y5===null&&i$(),!1}catch(N){}finally{g.H=H}}if(Y=kG(X,$,Z,G),Y!==null)return M5(Y,X,G),vU(Y,$,G),!0}return!1}function qZ(X,$,Y,G){if(g.T===null&&r7===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."),G={lane:2,revertLane:Y3(),gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null},IY(X)){if($)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else $=kG(X,Y,G,2),$!==null&&(V6(2,"setOptimistic()",X),M5($,X,2))}function IY(X){var $=X.alternate;return X===F0||$!==null&&$===F0}function kU(X,$){K8=R1=!0;var Y=X.pending;Y===null?$.next=$:($.next=Y.next,Y.next=$),X.pending=$}function vU(X,$,Y){if((Y&4194048)!==0){var G=$.lanes;G&=X.pendingLanes,Y|=G,$.lanes=Y,D7(X,Y)}}function DZ(X){if(X!==null&&typeof X!=="function"){var $=String(X);SA.has($)||(SA.add($),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",X))}}function CZ(X,$,Y,G){var Z=X.memoizedState,J=Y(G,Z);if(X.mode&e5){Z5(!0);try{J=Y(G,Z)}finally{Z5(!1)}}J===void 0&&($=r($)||"Component",DA.has($)||(DA.add($),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",$))),Z=J===null||J===void 0?Z:S0({},Z,J),X.memoizedState=Z,X.lanes===0&&(X.updateQueue.baseState=Z)}function gU(X,$,Y,G,Z,J,H){var z=X.stateNode;if(typeof z.shouldComponentUpdate==="function"){if(Y=z.shouldComponentUpdate(G,J,H),X.mode&e5){Z5(!0);try{Y=z.shouldComponentUpdate(G,J,H)}finally{Z5(!1)}}return Y===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",r($)||"Component"),Y}return $.prototype&&$.prototype.isPureReactComponent?!e8(Y,G)||!e8(Z,J):!0}function bU(X,$,Y,G){var Z=$.state;typeof $.componentWillReceiveProps==="function"&&$.componentWillReceiveProps(Y,G),typeof $.UNSAFE_componentWillReceiveProps==="function"&&$.UNSAFE_componentWillReceiveProps(Y,G),$.state!==Z&&(X=p(X)||"Component",IA.has(X)||(IA.add(X),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",X)),IJ.enqueueReplaceState($,$.state,null))}function u7(X,$){var Y=$;if("ref"in $){Y={};for(var G in $)G!=="ref"&&(Y[G]=$[G])}if(X=X.defaultProps){Y===$&&(Y=S0({},Y));for(var Z in X)Y[Z]===void 0&&(Y[Z]=X[Z])}return Y}function mU(X){e3(X),console.warn(`%s
%s
`,F8?"An error occurred in the <"+F8+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function fU(X){var $=F8?"The above error occurred in the <"+F8+"> component.":"The above error occurred in one of your React components.",Y="React will try to recreate this component tree from scratch using the error boundary you provided, "+((PJ||"Anonymous")+".");if(typeof X==="object"&&X!==null&&typeof X.environmentName==="string"){var G=X.environmentName;X=[`%o
%s
%s
`,X,$,Y].slice(0),typeof X[0]==="string"?X.splice(0,1,LL+" "+X[0],NL,i1+G+i1,QL):X.splice(0,0,LL,NL,i1+G+i1,QL),X.unshift(console),G=Gw.apply(console.error,X),G()}else console.error(`%o
%s
%s
`,X,$,Y)}function hU(X){e3(X)}function PY(X,$){try{F8=$.source?p($.source):null,PJ=null;var Y=$.value;if(g.actQueue!==null)g.thrownErrors.push(Y);else{var G=X.onUncaughtError;G(Y,{componentStack:$.stack})}}catch(Z){setTimeout(function(){throw Z})}}function yU(X,$,Y){try{F8=Y.source?p(Y.source):null,PJ=p($);var G=X.onCaughtError;G(Y.value,{componentStack:Y.stack,errorBoundary:$.tag===1?$.stateNode:null})}catch(Z){setTimeout(function(){throw Z})}}function EZ(X,$,Y){return Y=f2(Y),Y.tag=KJ,Y.payload={element:null},Y.callback=function(){n($.source,PY,X,$)},Y}function jZ(X){return X=f2(X),X.tag=KJ,X}function SZ(X,$,Y,G){var Z=Y.type.getDerivedStateFromError;if(typeof Z==="function"){var J=G.value;X.payload=function(){return Z(J)},X.callback=function(){kH(Y),n(G.source,yU,$,Y,G)}}var H=Y.stateNode;H!==null&&typeof H.componentDidCatch==="function"&&(X.callback=function(){kH(Y),n(G.source,yU,$,Y,G),typeof Z!=="function"&&(_7===null?_7=new Set([this]):_7.add(this)),xM(this,G),typeof Z==="function"||(Y.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.",p(Y)||"Unknown")})}function BK(X,$,Y,G,Z){if(Y.flags|=32768,d6&&w9(X,Z),G!==null&&typeof G==="object"&&typeof G.then==="function"){if($=Y.alternate,$!==null&&SX($,Y,Z,!0),v0&&(l6=!0),Y=m4.current,Y!==null){switch(Y.tag){case 31:case 13:return r4===null?xY():Y.alternate===null&&K5===P2&&(K5=O1),Y.flags&=-257,Y.flags|=65536,Y.lanes=Z,G===M1?Y.flags|=16384:($=Y.updateQueue,$===null?Y.updateQueue=new Set([G]):$.add(G),tZ(X,G,Z)),!1;case 22:return Y.flags|=65536,G===M1?Y.flags|=16384:($=Y.updateQueue,$===null?($={transitions:null,markerInstances:null,retryQueue:new Set([G])},Y.updateQueue=$):(Y=$.retryQueue,Y===null?$.retryQueue=new Set([G]):Y.add(G)),tZ(X,G,Z)),!1}throw Error("Unexpected Suspense handler tag ("+Y.tag+"). This is a bug in React.")}return tZ(X,G,Z),xY(),!1}if(v0)return l6=!0,$=m4.current,$!==null?(($.flags&65536)===0&&($.flags|=256),$.flags|=65536,$.lanes=Z,G!==JJ&&$9(D4(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:G}),Y))):(G!==JJ&&$9(D4(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:G}),Y)),X=X.current.alternate,X.flags|=65536,Z&=-Z,X.lanes|=Z,G=D4(G,Y),Z=EZ(X.stateNode,G,Z),zY(X,Z),K5!==H7&&(K5=GX)),!1;var J=D4(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:G}),Y);if(_$===null?_$=[J]:_$.push(J),K5!==H7&&(K5=GX),$===null)return!0;G=D4(G,Y),Y=$;do{switch(Y.tag){case 3:return Y.flags|=65536,X=Z&-Z,Y.lanes|=X,X=EZ(Y.stateNode,G,X),zY(Y,X),!1;case 1:if($=Y.type,J=Y.stateNode,(Y.flags&128)===0&&(typeof $.getDerivedStateFromError==="function"||J!==null&&typeof J.componentDidCatch==="function"&&(_7===null||!_7.has(J))))return Y.flags|=65536,Z&=-Z,Y.lanes|=Z,Z=jZ(Z),SZ(Z,X,Y,G),zY(Y,Z),!1}Y=Y.return}while(Y!==null);return!1}function p5(X,$,Y,G){$.child=X===null?_A($,null,Y,G):$X($,X.child,Y,G)}function dU(X,$,Y,G,Z){Y=Y.render;var J=$.ref;if("ref"in G){var H={};for(var z in G)z!=="ref"&&(H[z]=G[z])}else H=G;if(m7($),G=YZ(X,$,Y,H,J,Z),z=ZZ(),X!==null&&!E5)return JZ(X,$,Z),H2(X,$,Z);return v0&&z&&hG($),$.flags|=1,p5(X,$,G,Z),$.child}function uU(X,$,Y,G,Z){if(X===null){var J=Y.type;if(typeof J==="function"&&!gG(J)&&J.defaultProps===void 0&&Y.compare===null)return Y=k7(J),$.tag=15,$.type=Y,kZ($,J),pU(X,$,Y,G,Z);return X=bG(Y.type,null,G,$,$.mode,Z),X.ref=$.ref,X.return=$,$.child=X}if(J=X.child,!hZ(X,Z)){var H=J.memoizedProps;if(Y=Y.compare,Y=Y!==null?Y:e8,Y(H,G)&&X.ref===$.ref)return H2(X,$,Z)}return $.flags|=1,X=G2(J,G),X.ref=$.ref,X.return=$,$.child=X}function pU(X,$,Y,G,Z){if(X!==null){var J=X.memoizedProps;if(e8(J,G)&&X.ref===$.ref&&$.type===X.type)if(E5=!1,$.pendingProps=G=J,hZ(X,Z))(X.flags&131072)!==0&&(E5=!0);else return $.lanes=X.lanes,H2(X,$,Z)}return xZ(X,$,Y,G,Z)}function lU(X,$,Y,G){var Z=G.children,J=X!==null?X.memoizedState:null;if(X===null&&$.stateNode===null&&($.stateNode={_visibility:y9,_pendingMarkers:null,_retryCache:null,_transitions:null}),G.mode==="hidden"){if(($.flags&128)!==0){if(J=J!==null?J.baseLanes|Y:Y,X!==null){G=$.child=X.child;for(Z=0;G!==null;)Z=Z|G.lanes|G.childLanes,G=G.sibling;G=Z&~J}else G=0,$.child=null;return cU(X,$,J,Y,G)}if((Y&536870912)!==0)$.memoizedState={baseLanes:0,cachePool:null},X!==null&&GY($,J!==null?J.cachePool:null),J!==null?BU($,J):tG($),HU($);else return G=$.lanes=536870912,cU(X,$,J!==null?J.baseLanes|Y:Y,Y,G)}else J!==null?(GY($,J.cachePool),BU($,J),d2($),$.memoizedState=null):(X!==null&&GY($,null),tG($),d2($));return p5(X,$,Z,Y),$.child}function A9(X,$){return X!==null&&X.tag===22||$.stateNode!==null||($.stateNode={_visibility:y9,_pendingMarkers:null,_retryCache:null,_transitions:null}),$.sibling}function cU(X,$,Y,G,Z){var J=aG();return J=J===null?null:{parent:q5._currentValue,pool:J},$.memoizedState={baseLanes:Y,cachePool:J},X!==null&&GY($,null),tG($),HU($),X!==null&&SX(X,$,G,!0),$.childLanes=Z,null}function VY(X,$){var Y=$.hidden;return Y!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
- <Activity %s>
+ <Activity %s>`,Y===!0?"hidden":Y===!1?"hidden={false}":"hidden={...}",Y?'mode="hidden"':'mode="visible"'),$=qY({mode:$.mode,children:$.children},X.mode),$.ref=X.ref,X.child=$,$.return=X,$}function sU(X,$,Y){return $X($,X.child,null,Y),X=VY($,$.pendingProps),X.flags|=2,j4($),$.memoizedState=null,X}function HK(X,$,Y){var G=$.pendingProps,Z=($.flags&128)!==0;if($.flags&=-129,X===null){if(v0){if(G.mode==="hidden")return X=VY($,G),$.lanes=536870912,A9(null,X);if(XZ($),(X=z5)?(Y=FW(X,n4),Y=Y!==null&&Y.data===zX?Y:null,Y!==null&&(G={dehydrated:Y,treeContext:fH(),retryLane:536870912,hydrationErrors:null},$.memoizedState=G,G=bH(Y),G.return=$,$.child=G,s5=$,z5=null)):Y=null,Y===null)throw r$($,X),g2($);return $.lanes=536870912,null}return VY($,G)}var J=X.memoizedState;if(J!==null){var H=J.dehydrated;if(XZ($),Z)if($.flags&256)$.flags&=-257,$=sU(X,$,Y);else if($.memoizedState!==null)$.child=X.child,$.flags|=128,$=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(yH(),(Y&536870912)!==0&&SY($),E5||SX(X,$,Y,!1),Z=(Y&X.childLanes)!==0,E5||Z){if(G=Y5,G!==null&&(H=C7(G,Y),H!==0&&H!==J.retryLane))throw J.retryLane=H,r5(X,H),M5(G,X,H),VJ;xY(),$=sU(X,$,Y)}else X=J.treeContext,z5=x4(H.nextSibling),s5=$,v0=!0,X7=null,l6=!1,b4=null,n4=!1,X!==null&&hH($,X),$=VY($,G),$.flags|=4096;return $}return J=X.child,G={mode:G.mode,children:G.children},(Y&536870912)!==0&&(Y&X.lanes)!==0&&SY($),X=G2(J,G),X.ref=$.ref,$.child=X,X.return=$,X}function OY(X,$){var Y=$.ref;if(Y===null)X!==null&&X.ref!==null&&($.flags|=4194816);else{if(typeof Y!=="function"&&typeof Y!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if(X===null||X.ref!==Y)$.flags|=4194816}}function xZ(X,$,Y,G,Z){if(Y.prototype&&typeof Y.prototype.render==="function"){var J=r(Y)||"Unknown";xA[J]||(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.",J,J),xA[J]=!0)}if($.mode&e5&&L6.recordLegacyContextWarning($,null),X===null&&(kZ($,$.type),Y.contextTypes&&(J=r(Y)||"Unknown",vA[J]||(vA[J]=!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)",J)))),m7($),Y=YZ(X,$,Y,G,void 0,Z),G=ZZ(),X!==null&&!E5)return JZ(X,$,Z),H2(X,$,Z);return v0&&G&&hG($),$.flags|=1,p5(X,$,Y,Z),$.child}function iU(X,$,Y,G,Z,J){if(m7($),R2=-1,Z$=X!==null&&X.type!==$.type,$.updateQueue=null,Y=GZ($,G,Y,Z),UU(X,$),G=ZZ(),X!==null&&!E5)return JZ(X,$,J),H2(X,$,J);return v0&&G&&hG($),$.flags|=1,p5(X,$,Y,J),$.child}function aU(X,$,Y,G,Z){switch(T($)){case!1:var J=$.stateNode,H=new $.type($.memoizedProps,J.context).state;J.updater.enqueueSetState(J,H,null);break;case!0:$.flags|=128,$.flags|=65536,J=Error("Simulated error coming from DevTools");var z=Z&-Z;if($.lanes|=z,H=Y5,H===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");z=jZ(z),SZ(z,H,$,D4(J,$)),zY($,z)}if(m7($),$.stateNode===null){if(H=e2,J=Y.contextType,"contextType"in Y&&J!==null&&(J===void 0||J.$$typeof!==f6)&&!jA.has(Y)&&(jA.add(Y),z=J===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 J!=="object"?" However, it is set to a "+typeof J+".":J.$$typeof===O3?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(J).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",r(Y)||"Component",z)),typeof J==="object"&&J!==null&&(H=_5(J)),J=new Y(G,H),$.mode&e5){Z5(!0);try{J=new Y(G,H)}finally{Z5(!1)}}if(H=$.memoizedState=J.state!==null&&J.state!==void 0?J.state:null,J.updater=IJ,$.stateNode=J,J._reactInternals=$,J._reactInternalInstance=RA,typeof Y.getDerivedStateFromProps==="function"&&H===null&&(H=r(Y)||"Component",PA.has(H)||(PA.add(H),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.",H,J.state===null?"null":"undefined",H))),typeof Y.getDerivedStateFromProps==="function"||typeof J.getSnapshotBeforeUpdate==="function"){var A=z=H=null;if(typeof J.componentWillMount==="function"&&J.componentWillMount.__suppressDeprecationWarning!==!0?H="componentWillMount":typeof J.UNSAFE_componentWillMount==="function"&&(H="UNSAFE_componentWillMount"),typeof J.componentWillReceiveProps==="function"&&J.componentWillReceiveProps.__suppressDeprecationWarning!==!0?z="componentWillReceiveProps":typeof J.UNSAFE_componentWillReceiveProps==="function"&&(z="UNSAFE_componentWillReceiveProps"),typeof J.componentWillUpdate==="function"&&J.componentWillUpdate.__suppressDeprecationWarning!==!0?A="componentWillUpdate":typeof J.UNSAFE_componentWillUpdate==="function"&&(A="UNSAFE_componentWillUpdate"),H!==null||z!==null||A!==null){J=r(Y)||"Component";var N=typeof Y.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";OA.has(J)||(OA.add(J),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
%s uses %s but also contains the following legacy lifecycles:%s%s%s
The above lifecycles should be removed. Learn more about this warning here:
https://react.dev/link/unsafe-component-lifecycles`,J,N,H!==null?`
`+H:"",z!==null?`
`+z:"",A!==null?`
`+A:""))}}J=$.stateNode,H=r(Y)||"Component",J.render||(Y.prototype&&typeof Y.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",H):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",H)),!J.getInitialState||J.getInitialState.isReactClassApproved||J.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?",H),J.getDefaultProps&&!J.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.",H),J.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",H),Y.childContextTypes&&!EA.has(Y)&&(EA.add(Y),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",H)),Y.contextTypes&&!CA.has(Y)&&(CA.add(Y),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)",H)),typeof J.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.",H),Y.prototype&&Y.prototype.isPureReactComponent&&typeof J.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.",r(Y)||"A pure component"),typeof J.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",H),typeof J.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().",H),typeof J.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",H),typeof J.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",H),z=J.props!==G,J.props!==void 0&&z&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",H),J.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.",H,H),typeof J.getSnapshotBeforeUpdate!=="function"||typeof J.componentDidUpdate==="function"||VA.has(Y)||(VA.add(Y),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",r(Y))),typeof J.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",H),typeof J.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",H),typeof Y.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",H),(z=J.state)&&(typeof z!=="object"||k5(z))&&console.error("%s.state: must be set to an object or null",H),typeof J.getChildContext==="function"&&typeof Y.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",H),J=$.stateNode,J.props=G,J.state=$.memoizedState,J.refs={},oG($),H=Y.contextType,J.context=typeof H==="object"&&H!==null?_5(H):e2,J.state===G&&(H=r(Y)||"Component",qA.has(H)||(qA.add(H),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.",H))),$.mode&e5&&L6.recordLegacyContextWarning($,J),L6.recordUnsafeLifecycleWarnings($,J),J.state=$.memoizedState,H=Y.getDerivedStateFromProps,typeof H==="function"&&(CZ($,Y,H,G),J.state=$.memoizedState),typeof Y.getDerivedStateFromProps==="function"||typeof J.getSnapshotBeforeUpdate==="function"||typeof J.UNSAFE_componentWillMount!=="function"&&typeof J.componentWillMount!=="function"||(H=J.state,typeof J.componentWillMount==="function"&&J.componentWillMount(),typeof J.UNSAFE_componentWillMount==="function"&&J.UNSAFE_componentWillMount(),H!==J.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",p($)||"Component"),IJ.enqueueReplaceState(J,J.state,null)),U9($,G,J,Z),H9(),J.state=$.memoizedState),typeof J.componentDidMount==="function"&&($.flags|=4194308),($.mode&A6)!==Q0&&($.flags|=134217728),J=!0}else if(X===null){J=$.stateNode;var q=$.memoizedProps;z=u7(Y,q),J.props=z;var D=J.context;A=Y.contextType,H=e2,typeof A==="object"&&A!==null&&(H=_5(A)),N=Y.getDerivedStateFromProps,A=typeof N==="function"||typeof J.getSnapshotBeforeUpdate==="function",q=$.pendingProps!==q,A||typeof J.UNSAFE_componentWillReceiveProps!=="function"&&typeof J.componentWillReceiveProps!=="function"||(q||D!==H)&&bU($,J,G,H),B7=!1;var I=$.memoizedState;J.state=I,U9($,G,J,Z),H9(),D=$.memoizedState,q||I!==D||B7?(typeof N==="function"&&(CZ($,Y,N,G),D=$.memoizedState),(z=B7||gU($,Y,z,G,I,D,H))?(A||typeof J.UNSAFE_componentWillMount!=="function"&&typeof J.componentWillMount!=="function"||(typeof J.componentWillMount==="function"&&J.componentWillMount(),typeof J.UNSAFE_componentWillMount==="function"&&J.UNSAFE_componentWillMount()),typeof J.componentDidMount==="function"&&($.flags|=4194308),($.mode&A6)!==Q0&&($.flags|=134217728)):(typeof J.componentDidMount==="function"&&($.flags|=4194308),($.mode&A6)!==Q0&&($.flags|=134217728),$.memoizedProps=G,$.memoizedState=D),J.props=G,J.state=D,J.context=H,J=z):(typeof J.componentDidMount==="function"&&($.flags|=4194308),($.mode&A6)!==Q0&&($.flags|=134217728),J=!1)}else{J=$.stateNode,rG(X,$),H=$.memoizedProps,A=u7(Y,H),J.props=A,N=$.pendingProps,I=J.context,D=Y.contextType,z=e2,typeof D==="object"&&D!==null&&(z=_5(D)),q=Y.getDerivedStateFromProps,(D=typeof q==="function"||typeof J.getSnapshotBeforeUpdate==="function")||typeof J.UNSAFE_componentWillReceiveProps!=="function"&&typeof J.componentWillReceiveProps!=="function"||(H!==N||I!==z)&&bU($,J,G,z),B7=!1,I=$.memoizedState,J.state=I,U9($,G,J,Z),H9();var x=$.memoizedState;H!==N||I!==x||B7||X!==null&&X.dependencies!==null&&e$(X.dependencies)?(typeof q==="function"&&(CZ($,Y,q,G),x=$.memoizedState),(A=B7||gU($,Y,A,G,I,x,z)||X!==null&&X.dependencies!==null&&e$(X.dependencies))?(D||typeof J.UNSAFE_componentWillUpdate!=="function"&&typeof J.componentWillUpdate!=="function"||(typeof J.componentWillUpdate==="function"&&J.componentWillUpdate(G,x,z),typeof J.UNSAFE_componentWillUpdate==="function"&&J.UNSAFE_componentWillUpdate(G,x,z)),typeof J.componentDidUpdate==="function"&&($.flags|=4),typeof J.getSnapshotBeforeUpdate==="function"&&($.flags|=1024)):(typeof J.componentDidUpdate!=="function"||H===X.memoizedProps&&I===X.memoizedState||($.flags|=4),typeof J.getSnapshotBeforeUpdate!=="function"||H===X.memoizedProps&&I===X.memoizedState||($.flags|=1024),$.memoizedProps=G,$.memoizedState=x),J.props=G,J.state=x,J.context=z,J=A):(typeof J.componentDidUpdate!=="function"||H===X.memoizedProps&&I===X.memoizedState||($.flags|=4),typeof J.getSnapshotBeforeUpdate!=="function"||H===X.memoizedProps&&I===X.memoizedState||($.flags|=1024),J=!1)}if(z=J,OY(X,$),H=($.flags&128)!==0,z||H){if(z=$.stateNode,PX($),H&&typeof Y.getDerivedStateFromError!=="function")Y=null,H4=-1;else if(Y=r_(z),$.mode&e5){Z5(!0);try{r_(z)}finally{Z5(!1)}}$.flags|=1,X!==null&&H?($.child=$X($,X.child,null,Z),$.child=$X($,null,Y,Z)):p5(X,$,Y,Z),$.memoizedState=z.state,X=$.child}else X=H2(X,$,Z);return Z=$.stateNode,J&&Z.props!==G&&(M8||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",p($)||"a component"),M8=!0),X}function nU(X,$,Y,G){return b7(),$.flags|=256,p5(X,$,Y,G),$.child}function kZ(X,$){$&&$.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
%s.childContextTypes = ...`,$.displayName||$.name||"Component"),typeof $.getDerivedStateFromProps==="function"&&(X=r($)||"Unknown",gA[X]||(console.error("%s: Function components do not support getDerivedStateFromProps.",X),gA[X]=!0)),typeof $.contextType==="object"&&$.contextType!==null&&($=r($)||"Unknown",kA[$]||(console.error("%s: Function components do not support contextType.",$),kA[$]=!0))}function vZ(X){return{baseLanes:X,cachePool:iH()}}function gZ(X,$,Y){return X=X!==null?X.childLanes&~Y:0,$&&(X|=T4),X}function oU(X,$,Y){var G,Z=$.pendingProps;K($)&&($.flags|=128);var J=!1,H=($.flags&128)!==0;if((G=H)||(G=X!==null&&X.memoizedState===null?!1:(P5.current&Y$)!==0),G&&(J=!0,$.flags&=-129),G=($.flags&32)!==0,$.flags&=-33,X===null){if(v0){if(J?y2($):d2($),(X=z5)?(Y=FW(X,n4),Y=Y!==null&&Y.data!==zX?Y:null,Y!==null&&(G={dehydrated:Y,treeContext:fH(),retryLane:536870912,hydrationErrors:null},$.memoizedState=G,G=bH(Y),G.return=$,$.child=G,s5=$,z5=null)):Y=null,Y===null)throw r$($,X),g2($);return N3(Y)?$.lanes=32:$.lanes=536870912,null}var z=Z.children;if(Z=Z.fallback,J){d2($);var A=$.mode;return z=qY({mode:"hidden",children:z},A),Z=v7(Z,A,Y,null),z.return=$,Z.return=$,z.sibling=Z,$.child=z,Z=$.child,Z.memoizedState=vZ(Y),Z.childLanes=gZ(X,G,Y),$.memoizedState=OJ,A9(null,Z)}return y2($),bZ($,z)}var N=X.memoizedState;if(N!==null){var q=N.dehydrated;if(q!==null){if(H)$.flags&256?(y2($),$.flags&=-257,$=mZ(X,$,Y)):$.memoizedState!==null?(d2($),$.child=X.child,$.flags|=128,$=null):(d2($),z=Z.fallback,A=$.mode,Z=qY({mode:"visible",children:Z.children},A),z=v7(z,A,Y,null),z.flags|=2,Z.return=$,z.return=$,Z.sibling=z,$.child=Z,$X($,X.child,null,Y),Z=$.child,Z.memoizedState=vZ(Y),Z.childLanes=gZ(X,G,Y),$.memoizedState=OJ,$=A9(null,Z));else if(y2($),yH(),(Y&536870912)!==0&&SY($),N3(q)){if(G=q.nextSibling&&q.nextSibling.dataset,G){z=G.dgst;var D=G.msg;A=G.stck;var I=G.cstck}J=D,G=z,Z=A,q=I,z=J,A=q,z=z?Error(z):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),z.stack=Z||"",z.digest=G,G=A===void 0?null:A,Z={value:z,source:null,stack:G},typeof G==="string"&&ZJ.set(z,Z),$9(Z),$=mZ(X,$,Y)}else if(E5||SX(X,$,Y,!1),G=(Y&X.childLanes)!==0,E5||G){if(G=Y5,G!==null&&(Z=C7(G,Y),Z!==0&&Z!==N.retryLane))throw N.retryLane=Z,r5(X,Z),M5(G,X,Z),VJ;L3(q)||xY(),$=mZ(X,$,Y)}else L3(q)?($.flags|=192,$.child=X.child,$=null):(X=N.treeContext,z5=x4(q.nextSibling),s5=$,v0=!0,X7=null,l6=!1,b4=null,n4=!1,X!==null&&hH($,X),$=bZ($,Z.children),$.flags|=4096);return $}}if(J)return d2($),z=Z.fallback,A=$.mode,I=X.child,q=I.sibling,Z=G2(I,{mode:"hidden",children:Z.children}),Z.subtreeFlags=I.subtreeFlags&65011712,q!==null?z=G2(q,z):(z=v7(z,A,Y,null),z.flags|=2),z.return=$,Z.return=$,Z.sibling=z,$.child=Z,A9(null,Z),Z=$.child,z=X.child.memoizedState,z===null?z=vZ(Y):(A=z.cachePool,A!==null?(I=q5._currentValue,A=A.parent!==I?{parent:I,pool:I}:A):A=iH(),z={baseLanes:z.baseLanes|Y,cachePool:A}),Z.memoizedState=z,Z.childLanes=gZ(X,G,Y),$.memoizedState=OJ,A9(X.child,Z);return N!==null&&(Y&62914560)===Y&&(Y&X.lanes)!==0&&SY($),y2($),Y=X.child,X=Y.sibling,Y=G2(Y,{mode:"visible",children:Z.children}),Y.return=$,Y.sibling=null,X!==null&&(G=$.deletions,G===null?($.deletions=[X],$.flags|=16):G.push(X)),$.child=Y,$.memoizedState=null,Y}function bZ(X,$){return $=qY({mode:"visible",children:$},X.mode),$.return=X,X.child=$}function qY(X,$){return X=E(22,X,null,$),X.lanes=0,X}function mZ(X,$,Y){return $X($,X.child,null,Y),X=bZ($,$.pendingProps.children),X.flags|=2,$.memoizedState=null,X}function rU(X,$,Y){X.lanes|=$;var G=X.alternate;G!==null&&(G.lanes|=$),pG(X.return,$,Y)}function fZ(X,$,Y,G,Z,J){var H=X.memoizedState;H===null?X.memoizedState={isBackwards:$,rendering:null,renderingStartTime:0,last:G,tail:Y,tailMode:Z,treeForkCount:J}:(H.isBackwards=$,H.rendering=null,H.renderingStartTime=0,H.last=G,H.tail=Y,H.tailMode=Z,H.treeForkCount=J)}function tU(X,$,Y){var G=$.pendingProps,Z=G.revealOrder,J=G.tail,H=G.children,z=P5.current;if((G=(z&Y$)!==0)?(z=z&N8|Y$,$.flags|=128):z&=N8,K0(P5,z,$),z=Z==null?"null":Z,Z!=="forwards"&&Z!=="unstable_legacy-backwards"&&Z!=="together"&&Z!=="independent"&&!bA[z])if(bA[z]=!0,Z==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(Z==="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 Z==="string")switch(Z.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.',Z,Z.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.',Z,Z.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Z)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',Z);if(z=J==null?"null":J,!V1[z])if(J==null){if(Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")V1[z]=!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".')}else J!=="visible"&&J!=="collapsed"&&J!=="hidden"?(V1[z]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',J)):Z!=="forwards"&&Z!=="backwards"&&Z!=="unstable_legacy-backwards"&&(V1[z]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',J));X:if((Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")&&H!==void 0&&H!==null&&H!==!1)if(k5(H)){for(z=0;z<H.length;z++)if(!GU(H[z],z))break X}else if(z=G0(H),typeof z==="function"){if(z=z.call(H))for(var A=z.next(),N=0;!A.done;A=z.next()){if(!GU(A.value,N))break X;N++}}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?',Z);if(p5(X,$,H,Y),v0?(v2(),H=d9):H=0,!G&&X!==null&&(X.flags&128)!==0)X:for(X=$.child;X!==null;){if(X.tag===13)X.memoizedState!==null&&rU(X,Y,$);else if(X.tag===19)rU(X,Y,$);else if(X.child!==null){X.child.return=X,X=X.child;continue}if(X===$)break X;for(;X.sibling===null;){if(X.return===null||X.return===$)break X;X=X.return}X.sibling.return=X.return,X=X.sibling}switch(Z){case"forwards":Y=$.child;for(Z=null;Y!==null;)X=Y.alternate,X!==null&&WY(X)===null&&(Z=Y),Y=Y.sibling;Y=Z,Y===null?(Z=$.child,$.child=null):(Z=Y.sibling,Y.sibling=null),fZ($,!1,Z,Y,J,H);break;case"backwards":case"unstable_legacy-backwards":Y=null,Z=$.child;for($.child=null;Z!==null;){if(X=Z.alternate,X!==null&&WY(X)===null){$.child=Z;break}X=Z.sibling,Z.sibling=Y,Y=Z,Z=X}fZ($,!0,Y,null,J,H);break;case"together":fZ($,!1,null,null,void 0,H);break;default:$.memoizedState=null}return $.child}function H2(X,$,Y){if(X!==null&&($.dependencies=X.dependencies),H4=-1,z7|=$.lanes,(Y&$.childLanes)===0)if(X!==null){if(SX(X,$,Y,!1),(Y&$.childLanes)===0)return null}else return null;if(X!==null&&$.child!==X.child)throw Error("Resuming work not yet implemented.");if($.child!==null){X=$.child,Y=G2(X,X.pendingProps),$.child=Y;for(Y.return=$;X.sibling!==null;)X=X.sibling,Y=Y.sibling=G2(X,X.pendingProps),Y.return=$;Y.sibling=null}return $.child}function hZ(X,$){if((X.lanes&$)!==0)return!0;return X=X.dependencies,X!==null&&e$(X)?!0:!1}function UK(X,$,Y){switch($.tag){case 3:u($,$.stateNode.containerInfo),b2($,q5,X.memoizedState.cache),b7();break;case 27:case 5:p0($);break;case 4:u($,$.stateNode.containerInfo);break;case 10:b2($,$.type,$.memoizedProps.value);break;case 12:(Y&$.childLanes)!==0&&($.flags|=4),$.flags|=2048;var G=$.stateNode;G.effectDuration=-0,G.passiveEffectDuration=-0;break;case 31:if($.memoizedState!==null)return $.flags|=128,XZ($),null;break;case 13:if(G=$.memoizedState,G!==null){if(G.dehydrated!==null)return y2($),$.flags|=128,null;if((Y&$.child.childLanes)!==0)return oU(X,$,Y);return y2($),X=H2(X,$,Y),X!==null?X.sibling:null}y2($);break;case 19:var Z=(X.flags&128)!==0;if(G=(Y&$.childLanes)!==0,G||(SX(X,$,Y,!1),G=(Y&$.childLanes)!==0),Z){if(G)return tU(X,$,Y);$.flags|=128}if(Z=$.memoizedState,Z!==null&&(Z.rendering=null,Z.tail=null,Z.lastEffect=null),K0(P5,P5.current,$),G)break;else return null;case 22:return $.lanes=0,lU(X,$,Y,$.pendingProps);case 24:b2($,q5,X.memoizedState.cache)}return H2(X,$,Y)}function yZ(X,$,Y){if($._debugNeedsRemount&&X!==null){Y=bG($.type,$.key,$.pendingProps,$._debugOwner||null,$.mode,$.lanes),Y._debugStack=$._debugStack,Y._debugTask=$._debugTask;var G=$.return;if(G===null)throw Error("Cannot swap the root fiber.");if(X.alternate=null,$.alternate=null,Y.index=$.index,Y.sibling=$.sibling,Y.return=$.return,Y.ref=$.ref,Y._debugInfo=$._debugInfo,$===G.child)G.child=Y;else{var Z=G.child;if(Z===null)throw Error("Expected parent to have a child.");for(;Z.sibling!==$;)if(Z=Z.sibling,Z===null)throw Error("Expected to find the previous sibling.");Z.sibling=Y}return $=G.deletions,$===null?(G.deletions=[X],G.flags|=16):$.push(X),Y.flags|=2,Y}if(X!==null)if(X.memoizedProps!==$.pendingProps||$.type!==X.type)E5=!0;else{if(!hZ(X,Y)&&($.flags&128)===0)return E5=!1,UK(X,$,Y);E5=(X.flags&131072)!==0?!0:!1}else{if(E5=!1,G=v0)v2(),G=($.flags&1048576)!==0;G&&(G=$.index,v2(),mH($,d9,G))}switch($.lanes=0,$.tag){case 16:X:if(G=$.pendingProps,X=m2($.elementType),$.type=X,typeof X==="function")gG(X)?(G=u7(X,G),$.tag=1,$.type=X=k7(X),$=aU(null,$,X,G,Y)):($.tag=0,kZ($,X),$.type=X=k7(X),$=xZ(null,$,X,G,Y));else{if(X!==void 0&&X!==null){if(Z=X.$$typeof,Z===C9){$.tag=11,$.type=X=vG(X),$=dU(null,$,X,G,Y);break X}else if(Z===sY){$.tag=14,$=uU(null,$,X,G,Y);break X}}throw $="",X!==null&&typeof X==="object"&&X.$$typeof===k4&&($=" Did you wrap a component in React.lazy() more than once?"),Y=r(X)||X,Error("Element type is invalid. Received a promise that resolves to: "+Y+". Lazy element type must resolve to a class or function."+$)}return $;case 0:return xZ(X,$,$.type,$.pendingProps,Y);case 1:return G=$.type,Z=u7(G,$.pendingProps),aU(X,$,G,Z,Y);case 3:X:{if(u($,$.stateNode.containerInfo),X===null)throw Error("Should have a current fiber. This is a bug in React.");G=$.pendingProps;var J=$.memoizedState;Z=J.element,rG(X,$),U9($,G,null,Y);var H=$.memoizedState;if(G=H.cache,b2($,q5,G),G!==J.cache&&lG($,[q5],Y,!0),H9(),G=H.element,J.isDehydrated)if(J={element:G,isDehydrated:!1,cache:H.cache},$.updateQueue.baseState=J,$.memoizedState=J,$.flags&256){$=nU(X,$,G,Y);break X}else if(G!==Z){Z=D4(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),$),$9(Z),$=nU(X,$,G,Y);break X}else{switch(X=$.stateNode.containerInfo,X.nodeType){case 9:X=X.body;break;default:X=X.nodeName==="HTML"?X.ownerDocument.body:X}z5=x4(X.firstChild),s5=$,v0=!0,X7=null,l6=!1,b4=null,n4=!0,Y=_A($,null,G,Y);for($.child=Y;Y;)Y.flags=Y.flags&-3|4096,Y=Y.sibling}else{if(b7(),G===Z){$=H2(X,$,Y);break X}p5(X,$,G,Y)}$=$.child}return $;case 26:return OY(X,$),X===null?(Y=PW($.type,null,$.pendingProps,null))?$.memoizedState=Y:v0||(Y=$.type,X=$.pendingProps,G=N5(i2.current),G=bY(G).createElement(Y),G[c5]=$,G[Z4]=X,l5(G,Y,X),U0(G),$.stateNode=G):$.memoizedState=PW($.type,X.memoizedProps,$.pendingProps,X.memoizedState),null;case 27:return p0($),X===null&&v0&&(G=N5(i2.current),Z=W0(),G=$.stateNode=RW($.type,$.pendingProps,G,Z,!1),l6||(Z=zW(G,$.type,$.pendingProps,Z),Z!==null&&(g7($,0).serverProps=Z)),s5=$,n4=!0,Z=z5,c2($.type)?(aJ=Z,z5=x4(G.firstChild)):z5=Z),p5(X,$,$.pendingProps.children,Y),OY(X,$),X===null&&($.flags|=4194304),$.child;case 5:return X===null&&v0&&(J=W0(),G=qG($.type,J.ancestorInfo),Z=z5,(H=!Z)||(H=oK(Z,$.type,$.pendingProps,n4),H!==null?($.stateNode=H,l6||(J=zW(H,$.type,$.pendingProps,J),J!==null&&(g7($,0).serverProps=J)),s5=$,z5=x4(H.firstChild),n4=!1,J=!0):J=!1,H=!J),H&&(G&&r$($,Z),g2($))),p0($),Z=$.type,J=$.pendingProps,H=X!==null?X.memoizedProps:null,G=J.children,_3(Z,J)?G=null:H!==null&&_3(Z,H)&&($.flags|=32),$.memoizedState!==null&&(Z=YZ(X,$,XK,null,null,Y),T$._currentValue=Z),OY(X,$),p5(X,$,G,Y),$.child;case 6:return X===null&&v0&&(Y=$.pendingProps,X=W0(),G=X.ancestorInfo.current,Y=G!=null?d$(Y,G.tag,X.ancestorInfo.implicitRootScope):!0,X=z5,(G=!X)||(G=rK(X,$.pendingProps,n4),G!==null?($.stateNode=G,s5=$,z5=null,G=!0):G=!1,G=!G),G&&(Y&&r$($,X),g2($))),null;case 13:return oU(X,$,Y);case 4:return u($,$.stateNode.containerInfo),G=$.pendingProps,X===null?$.child=$X($,null,G,Y):p5(X,$,G,Y),$.child;case 11:return dU(X,$,$.type,$.pendingProps,Y);case 7:return p5(X,$,$.pendingProps,Y),$.child;case 8:return p5(X,$,$.pendingProps.children,Y),$.child;case 12:return $.flags|=4,$.flags|=2048,G=$.stateNode,G.effectDuration=-0,G.passiveEffectDuration=-0,p5(X,$,$.pendingProps.children,Y),$.child;case 10:return G=$.type,Z=$.pendingProps,J=Z.value,"value"in Z||mA||(mA=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),b2($,G,J),p5(X,$,Z.children,Y),$.child;case 9:return Z=$.type._context,G=$.pendingProps.children,typeof G!=="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."),m7($),Z=_5(Z),G=AJ(G,Z,void 0),$.flags|=1,p5(X,$,G,Y),$.child;case 14:return uU(X,$,$.type,$.pendingProps,Y);case 15:return pU(X,$,$.type,$.pendingProps,Y);case 19:return tU(X,$,Y);case 31:return HK(X,$,Y);case 22:return lU(X,$,Y,$.pendingProps);case 24:return m7($),G=_5(q5),X===null?(Z=aG(),Z===null&&(Z=Y5,J=cG(),Z.pooledCache=J,f7(J),J!==null&&(Z.pooledCacheLanes|=Y),Z=J),$.memoizedState={parent:G,cache:Z},oG($),b2($,q5,Z)):((X.lanes&Y)!==0&&(rG(X,$),U9($,null,null,Y),H9()),Z=X.memoizedState,J=$.memoizedState,Z.parent!==G?(Z={parent:G,cache:G},$.memoizedState=Z,$.lanes===0&&($.memoizedState=$.updateQueue.baseState=Z),b2($,q5,G)):(G=J.cache,b2($,q5,G),G!==Z.cache&&lG($,[q5],Y,!0))),p5(X,$,$.pendingProps.children,Y),$.child;case 29:throw $.pendingProps}throw Error("Unknown unit of work tag ("+$.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function U2(X){X.flags|=4}function dZ(X,$,Y,G,Z){if($=(X.mode&CM)!==Q0)$=!1;if($){if(X.flags|=16777216,(Z&335544128)===Z)if(X.stateNode.complete)X.flags|=8192;else if(Sz())X.flags|=8192;else throw XX=M1,NJ}else X.flags&=-16777217}function eU(X,$){if($.type!=="stylesheet"||($.state.loading&X6)!==AX)X.flags&=-16777217;else if(X.flags|=16777216,!CW($))if(Sz())X.flags|=8192;else throw XX=M1,NJ}function DY(X,$){$!==null&&(X.flags|=4),X.flags&16384&&($=X.tag!==22?OX():536870912,X.lanes|=$,BX|=$)}function L9(X,$){if(!v0)switch(X.tailMode){case"hidden":$=X.tail;for(var Y=null;$!==null;)$.alternate!==null&&(Y=$),$=$.sibling;Y===null?X.tail=null:Y.sibling=null;break;case"collapsed":Y=X.tail;for(var G=null;Y!==null;)Y.alternate!==null&&(G=Y),Y=Y.sibling;G===null?$||X.tail===null?X.tail=null:X.tail.sibling=null:G.sibling=null}}function J5(X){var $=X.alternate!==null&&X.alternate.child===X.child,Y=0,G=0;if($)if((X.mode&q0)!==Q0){for(var{selfBaseDuration:Z,child:J}=X;J!==null;)Y|=J.lanes|J.childLanes,G|=J.subtreeFlags&65011712,G|=J.flags&65011712,Z+=J.treeBaseDuration,J=J.sibling;X.treeBaseDuration=Z}else for(Z=X.child;Z!==null;)Y|=Z.lanes|Z.childLanes,G|=Z.subtreeFlags&65011712,G|=Z.flags&65011712,Z.return=X,Z=Z.sibling;else if((X.mode&q0)!==Q0){Z=X.actualDuration,J=X.selfBaseDuration;for(var H=X.child;H!==null;)Y|=H.lanes|H.childLanes,G|=H.subtreeFlags,G|=H.flags,Z+=H.actualDuration,J+=H.treeBaseDuration,H=H.sibling;X.actualDuration=Z,X.treeBaseDuration=J}else for(Z=X.child;Z!==null;)Y|=Z.lanes|Z.childLanes,G|=Z.subtreeFlags,G|=Z.flags,Z.return=X,Z=Z.sibling;return X.subtreeFlags|=G,X.childLanes=Y,$}function zK(X,$,Y){var G=$.pendingProps;switch(yG($),$.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return J5($),null;case 1:return J5($),null;case 3:if(Y=$.stateNode,G=null,X!==null&&(G=X.memoizedState.cache),$.memoizedState.cache!==G&&($.flags|=2048),J2(q5,$),_0($),Y.pendingContext&&(Y.context=Y.pendingContext,Y.pendingContext=null),X===null||X.child===null)jX($)?(uG(),U2($)):X===null||X.memoizedState.isDehydrated&&($.flags&256)===0||($.flags|=1024,dG());return J5($),null;case 26:var{type:Z,memoizedState:J}=$;return X===null?(U2($),J!==null?(J5($),eU($,J)):(J5($),dZ($,Z,null,G,Y))):J?J!==X.memoizedState?(U2($),J5($),eU($,J)):(J5($),$.flags&=-16777217):(X=X.memoizedProps,X!==G&&U2($),J5($),dZ($,Z,X,G,Y)),null;case 27:if(l0($),Y=N5(i2.current),Z=$.type,X!==null&&$.stateNode!=null)X.memoizedProps!==G&&U2($);else{if(!G){if($.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 J5($),null}X=W0(),jX($)?dH($,X):(X=RW(Z,G,Y,X,!0),$.stateNode=X,U2($))}return J5($),null;case 5:if(l0($),Z=$.type,X!==null&&$.stateNode!=null)X.memoizedProps!==G&&U2($);else{if(!G){if($.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 J5($),null}var H=W0();if(jX($))dH($,H);else{switch(J=N5(i2.current),qG(Z,H.ancestorInfo),H=H.context,J=bY(J),H){case q8:J=J.createElementNS(oX,Z);break;case l1:J=J.createElementNS(eY,Z);break;default:switch(Z){case"svg":J=J.createElementNS(oX,Z);break;case"math":J=J.createElementNS(eY,Z);break;case"script":J=J.createElement("div"),J.innerHTML="<script></script>",J=J.removeChild(J.firstChild);break;case"select":J=typeof G.is==="string"?J.createElement("select",{is:G.is}):J.createElement("select"),G.multiple?J.multiple=!0:G.size&&(J.size=G.size);break;default:J=typeof G.is==="string"?J.createElement(Z,{is:G.is}):J.createElement(Z),Z.indexOf("-")===-1&&(Z!==Z.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",Z),Object.prototype.toString.call(J)!=="[object HTMLUnknownElement]"||W6.call(HL,Z)||(HL[Z]=!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.",Z)))}}J[c5]=$,J[Z4]=G;X:for(H=$.child;H!==null;){if(H.tag===5||H.tag===6)J.appendChild(H.stateNode);else if(H.tag!==4&&H.tag!==27&&H.child!==null){H.child.return=H,H=H.child;continue}if(H===$)break X;for(;H.sibling===null;){if(H.return===null||H.return===$)break X;H=H.return}H.sibling.return=H.return,H=H.sibling}$.stateNode=J;X:switch(l5(J,Z,G),Z){case"button":case"input":case"select":case"textarea":G=!!G.autoFocus;break X;case"img":G=!0;break X;default:G=!1}G&&U2($)}}return J5($),dZ($,$.type,X===null?null:X.memoizedProps,$.pendingProps,Y),null;case 6:if(X&&$.stateNode!=null)X.memoizedProps!==G&&U2($);else{if(typeof G!=="string"&&$.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(X=N5(i2.current),Y=W0(),jX($)){if(X=$.stateNode,Y=$.memoizedProps,Z=!l6,G=null,J=s5,J!==null)switch(J.tag){case 3:Z&&(Z=wW(X,Y,G),Z!==null&&(g7($,0).serverProps=Z));break;case 27:case 5:G=J.memoizedProps,Z&&(Z=wW(X,Y,G),Z!==null&&(g7($,0).serverProps=Z))}X[c5]=$,X=X.nodeValue===Y||G!==null&&G.suppressHydrationWarning===!0||ZW(X.nodeValue,Y)?!0:!1,X||g2($,!0)}else Z=Y.ancestorInfo.current,Z!=null&&d$(G,Z.tag,Y.ancestorInfo.implicitRootScope),X=bY(X).createTextNode(G),X[c5]=$,$.stateNode=X}return J5($),null;case 31:if(Y=$.memoizedState,X===null||X.memoizedState!==null){if(G=jX($),Y!==null){if(X===null){if(!G)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(X=$.memoizedState,X=X!==null?X.dehydrated:null,!X)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");X[c5]=$,J5($),($.mode&q0)!==Q0&&Y!==null&&(X=$.child,X!==null&&($.treeBaseDuration-=X.treeBaseDuration))}else uG(),b7(),($.flags&128)===0&&(Y=$.memoizedState=null),$.flags|=4,J5($),($.mode&q0)!==Q0&&Y!==null&&(X=$.child,X!==null&&($.treeBaseDuration-=X.treeBaseDuration));X=!1}else Y=dG(),X!==null&&X.memoizedState!==null&&(X.memoizedState.hydrationErrors=Y),X=!0;if(!X){if($.flags&256)return j4($),$;return j4($),null}if(($.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return J5($),null;case 13:if(G=$.memoizedState,X===null||X.memoizedState!==null&&X.memoizedState.dehydrated!==null){if(Z=G,J=jX($),Z!==null&&Z.dehydrated!==null){if(X===null){if(!J)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(J=$.memoizedState,J=J!==null?J.dehydrated:null,!J)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");J[c5]=$,J5($),($.mode&q0)!==Q0&&Z!==null&&(Z=$.child,Z!==null&&($.treeBaseDuration-=Z.treeBaseDuration))}else uG(),b7(),($.flags&128)===0&&(Z=$.memoizedState=null),$.flags|=4,J5($),($.mode&q0)!==Q0&&Z!==null&&(Z=$.child,Z!==null&&($.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Z=dG(),X!==null&&X.memoizedState!==null&&(X.memoizedState.hydrationErrors=Z),Z=!0;if(!Z){if($.flags&256)return j4($),$;return j4($),null}}if(j4($),($.flags&128)!==0)return $.lanes=Y,($.mode&q0)!==Q0&&Z9($),$;return Y=G!==null,X=X!==null&&X.memoizedState!==null,Y&&(G=$.child,Z=null,G.alternate!==null&&G.alternate.memoizedState!==null&&G.alternate.memoizedState.cachePool!==null&&(Z=G.alternate.memoizedState.cachePool.pool),J=null,G.memoizedState!==null&&G.memoizedState.cachePool!==null&&(J=G.memoizedState.cachePool.pool),J!==Z&&(G.flags|=2048)),Y!==X&&Y&&($.child.flags|=8192),DY($,$.updateQueue),J5($),($.mode&q0)!==Q0&&Y&&(X=$.child,X!==null&&($.treeBaseDuration-=X.treeBaseDuration)),null;case 4:return _0($),X===null&&Z3($.stateNode.containerInfo),J5($),null;case 10:return J2($.type,$),J5($),null;case 19:if(I0(P5,$),G=$.memoizedState,G===null)return J5($),null;if(Z=($.flags&128)!==0,J=G.rendering,J===null)if(Z)L9(G,!1);else{if(K5!==P2||X!==null&&(X.flags&128)!==0)for(X=$.child;X!==null;){if(J=WY(X),J!==null){$.flags|=128,L9(G,!1),X=J.updateQueue,$.updateQueue=X,DY($,X),$.subtreeFlags=0,X=Y;for(Y=$.child;Y!==null;)gH(Y,X),Y=Y.sibling;return K0(P5,P5.current&N8|Y$,$),v0&&Z2($,G.treeForkCount),$.child}X=X.sibling}G.tail!==null&&f5()>S1&&($.flags|=128,Z=!0,L9(G,!1),$.lanes=4194304)}else{if(!Z)if(X=WY(J),X!==null){if($.flags|=128,Z=!0,X=X.updateQueue,$.updateQueue=X,DY($,X),L9(G,!0),G.tail===null&&G.tailMode==="hidden"&&!J.alternate&&!v0)return J5($),null}else 2*f5()-G.renderingStartTime>S1&&Y!==536870912&&($.flags|=128,Z=!0,L9(G,!1),$.lanes=4194304);G.isBackwards?(J.sibling=$.child,$.child=J):(X=G.last,X!==null?X.sibling=J:$.child=J,G.last=J)}if(G.tail!==null)return X=G.tail,G.rendering=X,G.tail=X.sibling,G.renderingStartTime=f5(),X.sibling=null,Y=P5.current,Y=Z?Y&N8|Y$:Y&N8,K0(P5,Y,$),v0&&Z2($,G.treeForkCount),X;return J5($),null;case 22:case 23:return j4($),eG($),G=$.memoizedState!==null,X!==null?X.memoizedState!==null!==G&&($.flags|=8192):G&&($.flags|=8192),G?(Y&536870912)!==0&&($.flags&128)===0&&(J5($),$.subtreeFlags&6&&($.flags|=8192)):J5($),Y=$.updateQueue,Y!==null&&DY($,Y.retryQueue),Y=null,X!==null&&X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Y=X.memoizedState.cachePool.pool),G=null,$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(G=$.memoizedState.cachePool.pool),G!==Y&&($.flags|=2048),X!==null&&I0(t7,$),null;case 24:return Y=null,X!==null&&(Y=X.memoizedState.cache),$.memoizedState.cache!==Y&&($.flags|=2048),J2(q5,$),J5($),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+$.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function WK(X,$){switch(yG($),$.tag){case 1:return X=$.flags,X&65536?($.flags=X&-65537|128,($.mode&q0)!==Q0&&Z9($),$):null;case 3:return J2(q5,$),_0($),X=$.flags,(X&65536)!==0&&(X&128)===0?($.flags=X&-65537|128,$):null;case 26:case 27:case 5:return l0($),null;case 31:if($.memoizedState!==null){if(j4($),$.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");b7()}return X=$.flags,X&65536?($.flags=X&-65537|128,($.mode&q0)!==Q0&&Z9($),$):null;case 13:if(j4($),X=$.memoizedState,X!==null&&X.dehydrated!==null){if($.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");b7()}return X=$.flags,X&65536?($.flags=X&-65537|128,($.mode&q0)!==Q0&&Z9($),$):null;case 19:return I0(P5,$),null;case 4:return _0($),null;case 10:return J2($.type,$),null;case 22:case 23:return j4($),eG($),X!==null&&I0(t7,$),X=$.flags,X&65536?($.flags=X&-65537|128,($.mode&q0)!==Q0&&Z9($),$):null;case 24:return J2(q5,$),null;case 25:return null;default:return null}}function Xz(X,$){switch(yG($),$.tag){case 3:J2(q5,$),_0($);break;case 26:case 27:case 5:l0($);break;case 4:_0($);break;case 31:$.memoizedState!==null&&j4($);break;case 13:j4($);break;case 19:I0(P5,$);break;case 10:J2($.type,$);break;case 22:case 23:j4($),eG($),X!==null&&I0(t7,$);break;case 24:J2(q5,$)}}function S6(X){return(X.mode&q0)!==Q0}function $z(X,$){S6(X)?(j6(),N9($,X),E6()):N9($,X)}function uZ(X,$,Y){S6(X)?(j6(),bX(Y,X,$),E6()):bX(Y,X,$)}function N9(X,$){try{var Y=$.updateQueue,G=Y!==null?Y.lastEffect:null;if(G!==null){var Z=G.next;Y=Z;do{if((Y.tag&X)===X&&(G=void 0,(X&U4)!==T1&&(P8=!0),G=n($,kM,Y),(X&U4)!==T1&&(P8=!1),G!==void 0&&typeof G!=="function")){var J=void 0;J=(Y.tag&f4)!==0?"useLayoutEffect":(Y.tag&U4)!==0?"useInsertionEffect":"useEffect";var H=void 0;H=G===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof G.then==="function"?`
It looks like you wrote `+J+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
`+J+`(() => {
async function fetchData() {
// You can await here
const response = await MyAPI.getData(someId);
// ...
}
fetchData();
}, [someId]); // Or [] if effect doesn't need props or state
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+G,n($,function(z,A){console.error("%s must not return anything besides a function, which is used for clean-up.%s",z,A)},J,H)}Y=Y.next}while(Y!==Z)}}catch(z){c0($,$.return,z)}}function bX(X,$,Y){try{var G=$.updateQueue,Z=G!==null?G.lastEffect:null;if(Z!==null){var J=Z.next;G=J;do{if((G.tag&X)===X){var H=G.inst,z=H.destroy;z!==void 0&&(H.destroy=void 0,(X&U4)!==T1&&(P8=!0),Z=$,n(Z,vM,Z,Y,z),(X&U4)!==T1&&(P8=!1))}G=G.next}while(G!==J)}}catch(A){c0($,$.return,A)}}function Yz(X,$){S6(X)?(j6(),N9($,X),E6()):N9($,X)}function pZ(X,$,Y){S6(X)?(j6(),bX(Y,X,$),E6()):bX(Y,X,$)}function Gz(X){var $=X.updateQueue;if($!==null){var Y=X.stateNode;X.type.defaultProps||"ref"in X.memoizedProps||M8||(Y.props!==X.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.",p(X)||"instance"),Y.state!==X.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.",p(X)||"instance"));try{n(X,JU,$,Y)}catch(G){c0(X,X.return,G)}}}function _K(X,$,Y){return X.getSnapshotBeforeUpdate($,Y)}function AK(X,$){var{memoizedProps:Y,memoizedState:G}=$;$=X.stateNode,X.type.defaultProps||"ref"in X.memoizedProps||M8||($.props!==X.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.",p(X)||"instance"),$.state!==X.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.",p(X)||"instance"));try{var Z=u7(X.type,Y),J=n(X,_K,$,Z,G);Y=fA,J!==void 0||Y.has(X.type)||(Y.add(X.type),n(X,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",p(X))})),$.__reactInternalSnapshotBeforeUpdate=J}catch(H){c0(X,X.return,H)}}function Zz(X,$,Y){Y.props=u7(X.type,X.memoizedProps),Y.state=X.memoizedState,S6(X)?(j6(),n(X,GA,X,$,Y),E6()):n(X,GA,X,$,Y)}function LK(X){var $=X.ref;if($!==null){switch(X.tag){case 26:case 27:case 5:var Y=X.stateNode;break;case 30:Y=X.stateNode;break;default:Y=X.stateNode}if(typeof $==="function")if(S6(X))try{j6(),X.refCleanup=$(Y)}finally{E6()}else X.refCleanup=$(Y);else typeof $==="string"?console.error("String refs are no longer supported."):$.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",p(X)),$.current=Y}}function Q9(X,$){try{n(X,LK,X)}catch(Y){c0(X,$,Y)}}function x6(X,$){var{ref:Y,refCleanup:G}=X;if(Y!==null)if(typeof G==="function")try{if(S6(X))try{j6(),n(X,G)}finally{E6(X)}else n(X,G)}catch(Z){c0(X,$,Z)}finally{X.refCleanup=null,X=X.alternate,X!=null&&(X.refCleanup=null)}else if(typeof Y==="function")try{if(S6(X))try{j6(),n(X,Y,null)}finally{E6(X)}else n(X,Y,null)}catch(Z){c0(X,$,Z)}else Y.current=null}function Jz(X,$,Y,G){var Z=X.memoizedProps,J=Z.id,H=Z.onCommit;Z=Z.onRender,$=$===null?"mount":"update",N1&&($="nested-update"),typeof Z==="function"&&Z(J,$,X.actualDuration,X.treeBaseDuration,X.actualStartTime,Y),typeof H==="function"&&H(J,$,G,Y)}function NK(X,$,Y,G){var Z=X.memoizedProps;X=Z.id,Z=Z.onPostCommit,$=$===null?"mount":"update",N1&&($="nested-update"),typeof Z==="function"&&Z(X,$,G,Y)}function Bz(X){var{type:$,memoizedProps:Y,stateNode:G}=X;try{n(X,fK,G,$,Y,X)}catch(Z){c0(X,X.return,Z)}}function lZ(X,$,Y){try{n(X,yK,X.stateNode,X.type,Y,$,X)}catch(G){c0(X,X.return,G)}}function Hz(X){return X.tag===5||X.tag===3||X.tag===26||X.tag===27&&c2(X.type)||X.tag===4}function cZ(X){X:for(;;){for(;X.sibling===null;){if(X.return===null||Hz(X.return))return null;X=X.return}X.sibling.return=X.return;for(X=X.sibling;X.tag!==5&&X.tag!==6&&X.tag!==18;){if(X.tag===27&&c2(X.type))continue X;if(X.flags&2)continue X;if(X.child===null||X.tag===4)continue X;else X.child.return=X,X=X.child}if(!(X.flags&2))return X.stateNode}}function sZ(X,$,Y){var G=X.tag;if(G===5||G===6)X=X.stateNode,$?(NW(Y),(Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y).insertBefore(X,$)):(NW(Y),$=Y.nodeType===9?Y.body:Y.nodeName==="HTML"?Y.ownerDocument.body:Y,$.appendChild(X),Y=Y._reactRootContainer,Y!==null&&Y!==void 0||$.onclick!==null||($.onclick=Y2));else if(G!==4&&(G===27&&c2(X.type)&&(Y=X.stateNode,$=null),X=X.child,X!==null))for(sZ(X,$,Y),X=X.sibling;X!==null;)sZ(X,$,Y),X=X.sibling}function CY(X,$,Y){var G=X.tag;if(G===5||G===6)X=X.stateNode,$?Y.insertBefore(X,$):Y.appendChild(X);else if(G!==4&&(G===27&&c2(X.type)&&(Y=X.stateNode),X=X.child,X!==null))for(CY(X,$,Y),X=X.sibling;X!==null;)CY(X,$,Y),X=X.sibling}function QK(X){for(var $,Y=X.return;Y!==null;){if(Hz(Y)){$=Y;break}Y=Y.return}if($==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch($.tag){case 27:$=$.stateNode,Y=cZ(X),CY(X,Y,$);break;case 5:Y=$.stateNode,$.flags&32&&(LW(Y),$.flags&=-33),$=cZ(X),CY(X,$,Y);break;case 3:case 4:$=$.stateNode.containerInfo,Y=cZ(X),sZ(X,Y,$);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Uz(X){var{stateNode:$,memoizedProps:Y}=X;try{n(X,YF,X.type,Y,$,X)}catch(G){c0(X,X.return,G)}}function zz(X,$){return $.tag===31?($=$.memoizedState,X.memoizedState!==null&&$===null):$.tag===13?(X=X.memoizedState,$=$.memoizedState,X!==null&&X.dehydrated!==null&&($===null||$.dehydrated===null)):$.tag===3?X.memoizedState.isDehydrated&&($.flags&256)===0:!1}function KK(X,$){if(X=X.containerInfo,cJ=a1,X=OH(X),EG(X)){if("selectionStart"in X)var Y={start:X.selectionStart,end:X.selectionEnd};else X:{Y=(Y=X.ownerDocument)&&Y.defaultView||window;var G=Y.getSelection&&Y.getSelection();if(G&&G.rangeCount!==0){Y=G.anchorNode;var{anchorOffset:Z,focusNode:J}=G;G=G.focusOffset;try{Y.nodeType,J.nodeType}catch(c){Y=null;break X}var H=0,z=-1,A=-1,N=0,q=0,D=X,I=null;$:for(;;){for(var x;;){if(D!==Y||Z!==0&&D.nodeType!==3||(z=H+Z),D!==J||G!==0&&D.nodeType!==3||(A=H+G),D.nodeType===3&&(H+=D.nodeValue.length),(x=D.firstChild)===null)break;I=D,D=x}for(;;){if(D===X)break $;if(I===Y&&++N===Z&&(z=H),I===J&&++q===G&&(A=H),(x=D.nextSibling)!==null)break;D=I,I=D.parentNode}D=x}Y=z===-1||A===-1?null:{start:z,end:A}}else Y=null}Y=Y||{start:0,end:0}}else Y=null;sJ={focusedElem:X,selectionRange:Y},a1=!1;for(y5=$;y5!==null;)if($=y5,X=$.child,($.subtreeFlags&1028)!==0&&X!==null)X.return=$,y5=X;else for(;y5!==null;){switch(X=$=y5,Y=X.alternate,Z=X.flags,X.tag){case 0:if((Z&4)!==0&&(X=X.updateQueue,X=X!==null?X.events:null,X!==null))for(Y=0;Y<X.length;Y++)Z=X[Y],Z.ref.impl=Z.nextImpl;break;case 11:case 15:break;case 1:(Z&1024)!==0&&Y!==null&&AK(X,Y);break;case 3:if((Z&1024)!==0){if(X=X.stateNode.containerInfo,Y=X.nodeType,Y===9)A3(X);else if(Y===1)switch(X.nodeName){case"HEAD":case"HTML":case"BODY":A3(X);break;default:X.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((Z&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(X=$.sibling,X!==null){X.return=$.return,y5=X;break}y5=$.return}}function Wz(X,$,Y){var G=C4(),Z=O6(),J=D6(),H=C6(),z=Y.flags;switch(Y.tag){case 0:case 11:case 15:k6(X,Y),z&4&&$z(Y,f4|t4);break;case 1:if(k6(X,Y),z&4)if(X=Y.stateNode,$===null)Y.type.defaultProps||"ref"in Y.memoizedProps||M8||(X.props!==Y.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.",p(Y)||"instance"),X.state!==Y.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.",p(Y)||"instance")),S6(Y)?(j6(),n(Y,LJ,Y,X),E6()):n(Y,LJ,Y,X);else{var A=u7(Y.type,$.memoizedProps);$=$.memoizedState,Y.type.defaultProps||"ref"in Y.memoizedProps||M8||(X.props!==Y.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.",p(Y)||"instance"),X.state!==Y.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.",p(Y)||"instance")),S6(Y)?(j6(),n(Y,XA,Y,X,A,$,X.__reactInternalSnapshotBeforeUpdate),E6()):n(Y,XA,Y,X,A,$,X.__reactInternalSnapshotBeforeUpdate)}z&64&&Gz(Y),z&512&&Q9(Y,Y.return);break;case 3:if($=B2(),k6(X,Y),z&64&&(z=Y.updateQueue,z!==null)){if(A=null,Y.child!==null)switch(Y.child.tag){case 27:case 5:A=Y.child.stateNode;break;case 1:A=Y.child.stateNode}try{n(Y,JU,z,A)}catch(q){c0(Y,Y.return,q)}}X.effectDuration+=$Y($);break;case 27:$===null&&z&4&&Uz(Y);case 26:case 5:if(k6(X,Y),$===null){if(z&4)Bz(Y);else if(z&64){X=Y.type,$=Y.memoizedProps,A=Y.stateNode;try{n(Y,hK,A,X,$,Y)}catch(q){c0(Y,Y.return,q)}}}z&512&&Q9(Y,Y.return);break;case 12:if(z&4){z=B2(),k6(X,Y),X=Y.stateNode,X.effectDuration+=G9(z);try{n(Y,Jz,Y,$,$7,X.effectDuration)}catch(q){c0(Y,Y.return,q)}}else k6(X,Y);break;case 31:k6(X,Y),z&4&&Lz(X,Y);break;case 13:k6(X,Y),z&4&&Nz(X,Y),z&64&&(X=Y.memoizedState,X!==null&&(X=X.dehydrated,X!==null&&(z=OK.bind(null,Y),tK(X,z))));break;case 22:if(z=Y.memoizedState!==null||I2,!z){$=$!==null&&$.memoizedState!==null||j5,A=I2;var N=j5;I2=z,(j5=$)&&!N?(v6(X,Y,(Y.subtreeFlags&8772)!==0),(Y.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&c$(Y,z0,L0)):k6(X,Y),I2=A,j5=N}break;case 30:break;default:k6(X,Y)}(Y.mode&q0)!==Q0&&0<=z0&&0<=L0&&((w5||0.05<Q5)&&P6(Y,z0,L0,Q5,A5),Y.alternate===null&&Y.return!==null&&Y.return.alternate!==null&&0.05<L0-z0&&(zz(Y.return.alternate,Y.return)||I6(Y,z0,L0,"Mount"))),E4(G),q6(Z),A5=J,w5=H}function _z(X){var $=X.alternate;$!==null&&(X.alternate=null,_z($)),X.child=null,X.deletions=null,X.sibling=null,X.tag===5&&($=X.stateNode,$!==null&&s($)),X.stateNode=null,X._debugOwner=null,X.return=null,X.dependencies=null,X.memoizedProps=null,X.memoizedState=null,X.pendingProps=null,X.stateNode=null,X.updateQueue=null}function z2(X,$,Y){for(Y=Y.child;Y!==null;)Az(X,$,Y),Y=Y.sibling}function Az(X,$,Y){if(t5&&typeof t5.onCommitFiberUnmount==="function")try{t5.onCommitFiberUnmount(aX,Y)}catch(N){y6||(y6=!0,console.error("React instrumentation encountered an error: %o",N))}var G=C4(),Z=O6(),J=D6(),H=C6();switch(Y.tag){case 26:j5||x6(Y,$),z2(X,$,Y),Y.memoizedState?Y.memoizedState.count--:Y.stateNode&&(X=Y.stateNode,X.parentNode.removeChild(X));break;case 27:j5||x6(Y,$);var z=S5,A=M4;c2(Y.type)&&(S5=Y.stateNode,M4=!1),z2(X,$,Y),n(Y,V9,Y.stateNode),S5=z,M4=A;break;case 5:j5||x6(Y,$);case 6:if(z=S5,A=M4,S5=null,z2(X,$,Y),S5=z,M4=A,S5!==null)if(M4)try{n(Y,pK,S5,Y.stateNode)}catch(N){c0(Y,$,N)}else try{n(Y,uK,S5,Y.stateNode)}catch(N){c0(Y,$,N)}break;case 18:S5!==null&&(M4?(X=S5,QW(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X,Y.stateNode),lX(X)):QW(S5,Y.stateNode));break;case 4:z=S5,A=M4,S5=Y.stateNode.containerInfo,M4=!0,z2(X,$,Y),S5=z,M4=A;break;case 0:case 11:case 14:case 15:bX(U4,Y,$),j5||uZ(Y,$,f4),z2(X,$,Y);break;case 1:j5||(x6(Y,$),z=Y.stateNode,typeof z.componentWillUnmount==="function"&&Zz(Y,$,z)),z2(X,$,Y);break;case 21:z2(X,$,Y);break;case 22:j5=(z=j5)||Y.memoizedState!==null,z2(X,$,Y),j5=z;break;default:z2(X,$,Y)}(Y.mode&q0)!==Q0&&0<=z0&&0<=L0&&(w5||0.05<Q5)&&P6(Y,z0,L0,Q5,A5),E4(G),q6(Z),A5=J,w5=H}function Lz(X,$){if($.memoizedState===null&&(X=$.alternate,X!==null&&(X=X.memoizedState,X!==null))){X=X.dehydrated;try{n($,XF,X)}catch(Y){c0($,$.return,Y)}}}function Nz(X,$){if($.memoizedState===null&&(X=$.alternate,X!==null&&(X=X.memoizedState,X!==null&&(X=X.dehydrated,X!==null))))try{n($,$F,X)}catch(Y){c0($,$.return,Y)}}function FK(X){switch(X.tag){case 31:case 13:case 19:var $=X.stateNode;return $===null&&($=X.stateNode=new hA),$;case 22:return X=X.stateNode,$=X._retryCache,$===null&&($=X._retryCache=new hA),$;default:throw Error("Unexpected Suspense handler tag ("+X.tag+"). This is a bug in React.")}}function EY(X,$){var Y=FK(X);$.forEach(function(G){if(!Y.has(G)){if(Y.add(G),d6)if(w8!==null&&T8!==null)w9(T8,w8);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var Z=qK.bind(null,X,G);G.then(Z,Z)}})}function K4(X,$){var Y=$.deletions;if(Y!==null)for(var G=0;G<Y.length;G++){var Z=X,J=$,H=Y[G],z=C4(),A=J;X:for(;A!==null;){switch(A.tag){case 27:if(c2(A.type)){S5=A.stateNode,M4=!1;break X}break;case 5:S5=A.stateNode,M4=!1;break X;case 3:case 4:S5=A.stateNode.containerInfo,M4=!0;break X}A=A.return}if(S5===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Az(Z,J,H),S5=null,M4=!1,(H.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&I6(H,z0,L0,"Unmount"),E4(z),Z=H,J=Z.alternate,J!==null&&(J.return=null),Z.return=null}if($.subtreeFlags&13886)for($=$.child;$!==null;)Qz($,X),$=$.sibling}function Qz(X,$){var Y=C4(),G=O6(),Z=D6(),J=C6(),H=X.alternate,z=X.flags;switch(X.tag){case 0:case 11:case 14:case 15:K4($,X),F4(X),z&4&&(bX(U4|t4,X,X.return),N9(U4|t4,X),uZ(X,X.return,f4|t4));break;case 1:if(K4($,X),F4(X),z&512&&(j5||H===null||x6(H,H.return)),z&64&&I2&&(z=X.updateQueue,z!==null&&(H=z.callbacks,H!==null))){var A=z.shared.hiddenCallbacks;z.shared.hiddenCallbacks=A===null?H:A.concat(H)}break;case 26:if(A=Q6,K4($,X),F4(X),z&512&&(j5||H===null||x6(H,H.return)),z&4){var N=H!==null?H.memoizedState:null;if(z=X.memoizedState,H===null)if(z===null)if(X.stateNode===null){X:{z=X.type,H=X.memoizedProps,A=A.ownerDocument||A;$:switch(z){case"title":if(N=A.getElementsByTagName("title")[0],!N||N[S9]||N[c5]||N.namespaceURI===oX||N.hasAttribute("itemprop"))N=A.createElement(z),A.head.insertBefore(N,A.querySelector("head > title"));l5(N,z,H),N[c5]=X,U0(N),z=N;break X;case"link":var q=qW("link","href",A).get(z+(H.href||""));if(q){for(var D=0;D<q.length;D++)if(N=q[D],N.getAttribute("href")===(H.href==null||H.href===""?null:H.href)&&N.getAttribute("rel")===(H.rel==null?null:H.rel)&&N.getAttribute("title")===(H.title==null?null:H.title)&&N.getAttribute("crossorigin")===(H.crossOrigin==null?null:H.crossOrigin)){q.splice(D,1);break $}}N=A.createElement(z),l5(N,z,H),A.head.appendChild(N);break;case"meta":if(q=qW("meta","content",A).get(z+(H.content||""))){for(D=0;D<q.length;D++)if(N=q[D],r0(H.content,"content"),N.getAttribute("content")===(H.content==null?null:""+H.content)&&N.getAttribute("name")===(H.name==null?null:H.name)&&N.getAttribute("property")===(H.property==null?null:H.property)&&N.getAttribute("http-equiv")===(H.httpEquiv==null?null:H.httpEquiv)&&N.getAttribute("charset")===(H.charSet==null?null:H.charSet)){q.splice(D,1);break $}}N=A.createElement(z),l5(N,z,H),A.head.appendChild(N);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+z+'". This is a bug in React.')}N[c5]=X,U0(N),z=N}X.stateNode=z}else DW(A,X.type,X.stateNode);else X.stateNode=OW(A,z,X.memoizedProps);else N!==z?(N===null?H.stateNode!==null&&(H=H.stateNode,H.parentNode.removeChild(H)):N.count--,z===null?DW(A,X.type,X.stateNode):OW(A,z,X.memoizedProps)):z===null&&X.stateNode!==null&&lZ(X,X.memoizedProps,H.memoizedProps)}break;case 27:K4($,X),F4(X),z&512&&(j5||H===null||x6(H,H.return)),H!==null&&z&4&&lZ(X,X.memoizedProps,H.memoizedProps);break;case 5:if(K4($,X),F4(X),z&512&&(j5||H===null||x6(H,H.return)),X.flags&32){A=X.stateNode;try{n(X,LW,A)}catch(a){c0(X,X.return,a)}}z&4&&X.stateNode!=null&&(A=X.memoizedProps,lZ(X,A,H!==null?H.memoizedProps:A)),z&1024&&(qJ=!0,X.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(K4($,X),F4(X),z&4){if(X.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.");z=X.memoizedProps,H=H!==null?H.memoizedProps:z,A=X.stateNode;try{n(X,dK,A,H,z)}catch(a){c0(X,X.return,a)}}break;case 3:if(A=B2(),c1=null,N=Q6,Q6=mY($.containerInfo),K4($,X),Q6=N,F4(X),z&4&&H!==null&&H.memoizedState.isDehydrated)try{n(X,eK,$.containerInfo)}catch(a){c0(X,X.return,a)}qJ&&(qJ=!1,Kz(X)),$.effectDuration+=$Y(A);break;case 4:z=Q6,Q6=mY(X.stateNode.containerInfo),K4($,X),F4(X),Q6=z;break;case 12:z=B2(),K4($,X),F4(X),X.stateNode.effectDuration+=G9(z);break;case 31:K4($,X),F4(X),z&4&&(z=X.updateQueue,z!==null&&(X.updateQueue=null,EY(X,z)));break;case 13:K4($,X),F4(X),X.child.flags&8192&&X.memoizedState!==null!==(H!==null&&H.memoizedState!==null)&&(j1=f5()),z&4&&(z=X.updateQueue,z!==null&&(X.updateQueue=null,EY(X,z)));break;case 22:A=X.memoizedState!==null;var I=H!==null&&H.memoizedState!==null,x=I2,c=j5;if(I2=x||A,j5=c||I,K4($,X),j5=c,I2=x,I&&!A&&!x&&!c&&(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&c$(X,z0,L0),F4(X),z&8192)X:for($=X.stateNode,$._visibility=A?$._visibility&~y9:$._visibility|y9,!A||H===null||I||I2||j5||(p7(X),(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&I6(X,z0,L0,"Disconnect")),H=null,$=X;;){if($.tag===5||$.tag===26){if(H===null){I=H=$;try{N=I.stateNode,A?n(I,cK,N):n(I,aK,I.stateNode,I.memoizedProps)}catch(a){c0(I,I.return,a)}}}else if($.tag===6){if(H===null){I=$;try{q=I.stateNode,A?n(I,sK,q):n(I,nK,q,I.memoizedProps)}catch(a){c0(I,I.return,a)}}}else if($.tag===18){if(H===null){I=$;try{D=I.stateNode,A?n(I,lK,D):n(I,iK,I.stateNode)}catch(a){c0(I,I.return,a)}}}else if(($.tag!==22&&$.tag!==23||$.memoizedState===null||$===X)&&$.child!==null){$.child.return=$,$=$.child;continue}if($===X)break X;for(;$.sibling===null;){if($.return===null||$.return===X)break X;H===$&&(H=null),$=$.return}H===$&&(H=null),$.sibling.return=$.return,$=$.sibling}z&4&&(z=X.updateQueue,z!==null&&(H=z.retryQueue,H!==null&&(z.retryQueue=null,EY(X,H))));break;case 19:K4($,X),F4(X),z&4&&(z=X.updateQueue,z!==null&&(X.updateQueue=null,EY(X,z)));break;case 30:break;case 21:break;default:K4($,X),F4(X)}(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&((w5||0.05<Q5)&&P6(X,z0,L0,Q5,A5),X.alternate===null&&X.return!==null&&X.return.alternate!==null&&0.05<L0-z0&&(zz(X.return.alternate,X.return)||I6(X,z0,L0,"Mount"))),E4(Y),q6(G),A5=Z,w5=J}function F4(X){var $=X.flags;if($&2){try{n(X,QK,X)}catch(Y){c0(X,X.return,Y)}X.flags&=-3}$&4096&&(X.flags&=-4097)}function Kz(X){if(X.subtreeFlags&1024)for(X=X.child;X!==null;){var $=X;Kz($),$.tag===5&&$.flags&1024&&$.stateNode.reset(),X=X.sibling}}function k6(X,$){if($.subtreeFlags&8772)for($=$.child;$!==null;)Wz(X,$.alternate,$),$=$.sibling}function Fz(X){var $=C4(),Y=O6(),G=D6(),Z=C6();switch(X.tag){case 0:case 11:case 14:case 15:uZ(X,X.return,f4),p7(X);break;case 1:x6(X,X.return);var J=X.stateNode;typeof J.componentWillUnmount==="function"&&Zz(X,X.return,J),p7(X);break;case 27:n(X,V9,X.stateNode);case 26:case 5:x6(X,X.return),p7(X);break;case 22:X.memoizedState===null&&p7(X);break;case 30:p7(X);break;default:p7(X)}(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&(w5||0.05<Q5)&&P6(X,z0,L0,Q5,A5),E4($),q6(Y),A5=G,w5=Z}function p7(X){for(X=X.child;X!==null;)Fz(X),X=X.sibling}function Mz(X,$,Y,G){var Z=C4(),J=O6(),H=D6(),z=C6(),A=Y.flags;switch(Y.tag){case 0:case 11:case 15:v6(X,Y,G),$z(Y,f4);break;case 1:if(v6(X,Y,G),$=Y.stateNode,typeof $.componentDidMount==="function"&&n(Y,LJ,Y,$),$=Y.updateQueue,$!==null){X=Y.stateNode;try{n(Y,eQ,$,X)}catch(N){c0(Y,Y.return,N)}}G&&A&64&&Gz(Y),Q9(Y,Y.return);break;case 27:Uz(Y);case 26:case 5:v6(X,Y,G),G&&$===null&&A&4&&Bz(Y),Q9(Y,Y.return);break;case 12:if(G&&A&4){A=B2(),v6(X,Y,G),G=Y.stateNode,G.effectDuration+=G9(A);try{n(Y,Jz,Y,$,$7,G.effectDuration)}catch(N){c0(Y,Y.return,N)}}else v6(X,Y,G);break;case 31:v6(X,Y,G),G&&A&4&&Lz(X,Y);break;case 13:v6(X,Y,G),G&&A&4&&Nz(X,Y);break;case 22:Y.memoizedState===null&&v6(X,Y,G),Q9(Y,Y.return);break;case 30:break;default:v6(X,Y,G)}(Y.mode&q0)!==Q0&&0<=z0&&0<=L0&&(w5||0.05<Q5)&&P6(Y,z0,L0,Q5,A5),E4(Z),q6(J),A5=H,w5=z}function v6(X,$,Y){Y=Y&&($.subtreeFlags&8772)!==0;for($=$.child;$!==null;)Mz(X,$.alternate,$,Y),$=$.sibling}function iZ(X,$){var Y=null;X!==null&&X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(Y=X.memoizedState.cachePool.pool),X=null,$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(X=$.memoizedState.cachePool.pool),X!==Y&&(X!=null&&f7(X),Y!=null&&Y9(Y))}function aZ(X,$){X=null,$.alternate!==null&&(X=$.alternate.memoizedState.cache),$=$.memoizedState.cache,$!==X&&(f7($),X!=null&&Y9(X))}function z6(X,$,Y,G,Z){if($.subtreeFlags&10256||$.actualDuration!==0&&($.alternate===null||$.alternate.child!==$.child))for($=$.child;$!==null;){var J=$.sibling;wz(X,$,Y,G,J!==null?J.actualStartTime:Z),$=J}}function wz(X,$,Y,G,Z){var J=C4(),H=O6(),z=D6(),A=C6(),N=r2,q=$.flags;switch($.tag){case 0:case 11:case 15:($.mode&q0)!==Q0&&0<$.actualStartTime&&($.flags&1)!==0&&s$($,$.actualStartTime,Z,v5,Y),z6(X,$,Y,G,Z),q&2048&&Yz($,z4|t4);break;case 1:($.mode&q0)!==Q0&&0<$.actualStartTime&&(($.flags&128)!==0?SG($,$.actualStartTime,Z,[]):($.flags&1)!==0&&s$($,$.actualStartTime,Z,v5,Y)),z6(X,$,Y,G,Z);break;case 3:var D=B2(),I=v5;v5=$.alternate!==null&&$.alternate.memoizedState.isDehydrated&&($.flags&256)===0,z6(X,$,Y,G,Z),v5=I,q&2048&&(Y=null,$.alternate!==null&&(Y=$.alternate.memoizedState.cache),G=$.memoizedState.cache,G!==Y&&(f7(G),Y!=null&&Y9(Y))),X.passiveEffectDuration+=$Y(D);break;case 12:if(q&2048){q=B2(),z6(X,$,Y,G,Z),X=$.stateNode,X.passiveEffectDuration+=G9(q);try{n($,NK,$,$.alternate,$7,X.passiveEffectDuration)}catch(x){c0($,$.return,x)}}else z6(X,$,Y,G,Z);break;case 31:q=v5,D=$.alternate!==null?$.alternate.memoizedState:null,I=$.memoizedState,D!==null&&I===null?(I=$.deletions,I!==null&&0<I.length&&I[0].tag===18?(v5=!1,D=D.hydrationErrors,D!==null&&SG($,$.actualStartTime,Z,D)):v5=!0):v5=!1,z6(X,$,Y,G,Z),v5=q;break;case 13:q=v5,D=$.alternate!==null?$.alternate.memoizedState:null,I=$.memoizedState,D===null||D.dehydrated===null||I!==null&&I.dehydrated!==null?v5=!1:(I=$.deletions,I!==null&&0<I.length&&I[0].tag===18?(v5=!1,D=D.hydrationErrors,D!==null&&SG($,$.actualStartTime,Z,D)):v5=!0),z6(X,$,Y,G,Z),v5=q;break;case 23:break;case 22:I=$.stateNode,D=$.alternate,$.memoizedState!==null?I._visibility&A2?z6(X,$,Y,G,Z):K9(X,$,Y,G,Z):I._visibility&A2?z6(X,$,Y,G,Z):(I._visibility|=A2,mX(X,$,Y,G,($.subtreeFlags&10256)!==0||$.actualDuration!==0&&($.alternate===null||$.alternate.child!==$.child),Z),($.mode&q0)===Q0||v5||(X=$.actualStartTime,0<=X&&0.05<Z-X&&c$($,X,Z),0<=z0&&0<=L0&&0.05<L0-z0&&c$($,z0,L0))),q&2048&&iZ(D,$);break;case 24:z6(X,$,Y,G,Z),q&2048&&aZ($.alternate,$);break;default:z6(X,$,Y,G,Z)}if(($.mode&q0)!==Q0){if(X=!v5&&$.alternate===null&&$.return!==null&&$.return.alternate!==null)Y=$.actualStartTime,0<=Y&&0.05<Z-Y&&I6($,Y,Z,"Mount");0<=z0&&0<=L0&&((w5||0.05<Q5)&&P6($,z0,L0,Q5,A5),X&&0.05<L0-z0&&I6($,z0,L0,"Mount"))}E4(J),q6(H),A5=z,w5=A,r2=N}function mX(X,$,Y,G,Z,J){Z=Z&&(($.subtreeFlags&10256)!==0||$.actualDuration!==0&&($.alternate===null||$.alternate.child!==$.child));for($=$.child;$!==null;){var H=$.sibling;Tz(X,$,Y,G,Z,H!==null?H.actualStartTime:J),$=H}}function Tz(X,$,Y,G,Z,J){var H=C4(),z=O6(),A=D6(),N=C6(),q=r2;Z&&($.mode&q0)!==Q0&&0<$.actualStartTime&&($.flags&1)!==0&&s$($,$.actualStartTime,J,v5,Y);var D=$.flags;switch($.tag){case 0:case 11:case 15:mX(X,$,Y,G,Z,J),Yz($,z4);break;case 23:break;case 22:var I=$.stateNode;$.memoizedState!==null?I._visibility&A2?mX(X,$,Y,G,Z,J):K9(X,$,Y,G,J):(I._visibility|=A2,mX(X,$,Y,G,Z,J)),Z&&D&2048&&iZ($.alternate,$);break;case 24:mX(X,$,Y,G,Z,J),Z&&D&2048&&aZ($.alternate,$);break;default:mX(X,$,Y,G,Z,J)}($.mode&q0)!==Q0&&0<=z0&&0<=L0&&(w5||0.05<Q5)&&P6($,z0,L0,Q5,A5),E4(H),q6(z),A5=A,w5=N,r2=q}function K9(X,$,Y,G,Z){if($.subtreeFlags&10256||$.actualDuration!==0&&($.alternate===null||$.alternate.child!==$.child))for(var J=$.child;J!==null;){$=J.sibling;var H=X,z=Y,A=G,N=$!==null?$.actualStartTime:Z,q=r2;(J.mode&q0)!==Q0&&0<J.actualStartTime&&(J.flags&1)!==0&&s$(J,J.actualStartTime,N,v5,z);var D=J.flags;switch(J.tag){case 22:K9(H,J,z,A,N),D&2048&&iZ(J.alternate,J);break;case 24:K9(H,J,z,A,N),D&2048&&aZ(J.alternate,J);break;default:K9(H,J,z,A,N)}r2=q,J=$}}function fX(X,$,Y){if(X.subtreeFlags&B$)for(X=X.child;X!==null;)Rz(X,$,Y),X=X.sibling}function Rz(X,$,Y){switch(X.tag){case 26:fX(X,$,Y),X.flags&B$&&X.memoizedState!==null&&JF(Y,Q6,X.memoizedState,X.memoizedProps);break;case 5:fX(X,$,Y);break;case 3:case 4:var G=Q6;Q6=mY(X.stateNode.containerInfo),fX(X,$,Y),Q6=G;break;case 22:X.memoizedState===null&&(G=X.alternate,G!==null&&G.memoizedState!==null?(G=B$,B$=16777216,fX(X,$,Y),B$=G):fX(X,$,Y));break;default:fX(X,$,Y)}}function Iz(X){var $=X.alternate;if($!==null&&(X=$.child,X!==null)){$.child=null;do $=X.sibling,X.sibling=null,X=$;while(X!==null)}}function F9(X){var $=X.deletions;if((X.flags&16)!==0){if($!==null)for(var Y=0;Y<$.length;Y++){var G=$[Y],Z=C4();y5=G,Oz(G,X),(G.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&I6(G,z0,L0,"Unmount"),E4(Z)}Iz(X)}if(X.subtreeFlags&10256)for(X=X.child;X!==null;)Pz(X),X=X.sibling}function Pz(X){var $=C4(),Y=O6(),G=D6(),Z=C6();switch(X.tag){case 0:case 11:case 15:F9(X),X.flags&2048&&pZ(X,X.return,z4|t4);break;case 3:var J=B2();F9(X),X.stateNode.passiveEffectDuration+=$Y(J);break;case 12:J=B2(),F9(X),X.stateNode.passiveEffectDuration+=G9(J);break;case 22:J=X.stateNode,X.memoizedState!==null&&J._visibility&A2&&(X.return===null||X.return.tag!==13)?(J._visibility&=~A2,jY(X),(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&I6(X,z0,L0,"Disconnect")):F9(X);break;default:F9(X)}(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&(w5||0.05<Q5)&&P6(X,z0,L0,Q5,A5),E4($),q6(Y),w5=Z,A5=G}function jY(X){var $=X.deletions;if((X.flags&16)!==0){if($!==null)for(var Y=0;Y<$.length;Y++){var G=$[Y],Z=C4();y5=G,Oz(G,X),(G.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&I6(G,z0,L0,"Unmount"),E4(Z)}Iz(X)}for(X=X.child;X!==null;)Vz(X),X=X.sibling}function Vz(X){var $=C4(),Y=O6(),G=D6(),Z=C6();switch(X.tag){case 0:case 11:case 15:pZ(X,X.return,z4),jY(X);break;case 22:var J=X.stateNode;J._visibility&A2&&(J._visibility&=~A2,jY(X));break;default:jY(X)}(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&(w5||0.05<Q5)&&P6(X,z0,L0,Q5,A5),E4($),q6(Y),w5=Z,A5=G}function Oz(X,$){for(;y5!==null;){var Y=y5,G=Y,Z=$,J=C4(),H=O6(),z=D6(),A=C6();switch(G.tag){case 0:case 11:case 15:pZ(G,Z,z4);break;case 23:case 22:G.memoizedState!==null&&G.memoizedState.cachePool!==null&&(Z=G.memoizedState.cachePool.pool,Z!=null&&f7(Z));break;case 24:Y9(G.memoizedState.cache)}if((G.mode&q0)!==Q0&&0<=z0&&0<=L0&&(w5||0.05<Q5)&&P6(G,z0,L0,Q5,A5),E4(J),q6(H),w5=A,A5=z,G=Y.child,G!==null)G.return=Y,y5=G;else X:for(Y=X;y5!==null;){if(G=y5,J=G.sibling,H=G.return,_z(G),G===Y){y5=null;break X}if(J!==null){J.return=H,y5=J;break X}y5=H}}}function MK(){hM.forEach(function(X){return X()})}function qz(){var X=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return X||g.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),X}function S4(X){if((h0&g5)!==d5&&C0!==0)return C0&-C0;var $=g.T;return $!==null?($._updatedFibers||($._updatedFibers=new Set),$._updatedFibers.add(X),Y3()):S()}function Dz(){if(T4===0)if((C0&536870912)===0||v0){var X=nY;nY<<=1,(nY&3932160)===0&&(nY=262144),T4=X}else T4=536870912;return X=m4.current,X!==null&&(X.flags|=32),T4}function M5(X,$,Y){if(P8&&console.error("useInsertionEffect must not schedule updates."),mJ&&(v1=!0),X===Y5&&(n0===ZX||n0===JX)||X.cancelPendingCommit!==null)yX(X,0),p2(X,C0,T4,!1);if(S2(X,Y),(h0&g5)!==d5&&X===Y5){if(h6)switch($.tag){case 0:case 11:case 15:X=E0&&p(E0)||"Unknown",XL.has(X)||(XL.add(X),$=p($)||"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",$,X,X));break;case 1:eA||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),eA=!0)}}else d6&&c8(X,$,Y),CK($),X===Y5&&((h0&g5)===d5&&(W7|=Y),K5===H7&&p2(X,C0,T4,!1)),g6(X)}function Cz(X,$,Y){if((h0&(g5|h4))!==d5)throw Error("Should not already be working.");if(C0!==0&&E0!==null){var G=E0,Z=f5();switch(s_){case z$:case ZX:var J=s9;U5&&((G=G._debugTask)?G.run(console.timeStamp.bind(console,"Suspended",J,Z,l4,void 0,"primary-light")):console.timeStamp("Suspended",J,Z,l4,void 0,"primary-light"));break;case JX:J=s9,U5&&((G=G._debugTask)?G.run(console.timeStamp.bind(console,"Action",J,Z,l4,void 0,"primary-light")):console.timeStamp("Action",J,Z,l4,void 0,"primary-light"));break;default:U5&&(G=Z-s9,3>G||console.timeStamp("Blocked",s9,Z,l4,void 0,5>G?"primary-light":10>G?"primary":100>G?"primary-dark":"error"))}}J=(Y=!Y&&($&127)===0&&($&X.expiredLanes)===0||O7(X,$))?TK(X,$):oZ(X,$,!0);var H=Y;do{if(J===P2){R8&&!Y&&p2(X,$,0,!1),$=n0,s9=D5(),s_=$;break}else{if(G=f5(),Z=X.current.alternate,H&&!wK(Z)){q4($),Z=h5,J=G,!U5||J<=Z||(R5?R5.run(console.timeStamp.bind(console,"Teared Render",Z,J,k0,x0,"error")):console.timeStamp("Teared Render",Z,J,k0,x0,"error")),l7($,G),J=oZ(X,$,!1),H=!1;continue}if(J===GX){if(H=$,X.errorRecoveryDisabledLanes&H)var z=0;else z=X.pendingLanes&-536870913,z=z!==0?z:z&536870912?536870912:0;if(z!==0){q4($),xG(h5,G,$,R5),l7($,G),$=z;X:{G=X,J=H,H=_$;var A=G.current.memoizedState.isDehydrated;if(A&&(yX(G,z).flags|=256),z=oZ(G,z,!1),z!==GX){if(EJ&&!A){G.errorRecoveryDisabledLanes|=J,W7|=J,J=H7;break X}G=W4,W4=H,G!==null&&(W4===null?W4=G:W4.push.apply(W4,G))}J=z}if(H=!1,J!==GX)continue;else G=f5()}}if(J===U$){q4($),xG(h5,G,$,R5),l7($,G),yX(X,0),p2(X,$,0,!0);break}X:{switch(Y=X,J){case P2:case U$:throw Error("Root did not complete. This is a bug in React.");case H7:if(($&4194048)!==$)break;case q1:q4($),CH(h5,G,$,R5),l7($,G),Z=$,(Z&127)!==0?_1=G:(Z&4194048)!==0&&(A1=G),p2(Y,$,T4,!U7);break X;case GX:W4=null;break;case O1:case yA:break;default:throw Error("Unknown root exit status.")}if(g.actQueue!==null)rZ(Y,Z,$,W4,A$,E1,T4,W7,BX,J,null,null,h5,G);else{if(($&62914560)===$&&(H=j1+pA-f5(),10<H)){if(p2(Y,$,T4,!U7),V7(Y,0,!0)!==0)break X;K6=$,Y.timeoutHandle=UL(Ez.bind(null,Y,Z,W4,A$,E1,$,T4,W7,BX,U7,J,"Throttled",h5,G),H);break X}Ez(Y,Z,W4,A$,E1,$,T4,W7,BX,U7,J,null,h5,G)}}}break}while(1);g6(X)}function Ez(X,$,Y,G,Z,J,H,z,A,N,q,D,I,x){X.timeoutHandle=_X;var c=$.subtreeFlags,a=null;if(c&8192||(c&16785408)===16785408){if(a={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Y2},Rz($,J,a),c=(J&62914560)===J?j1-f5():(J&4194048)===J?uA-f5():0,c=BF(a,c),c!==null){K6=J,X.cancelPendingCommit=c(rZ.bind(null,X,$,J,Y,G,Z,H,z,A,q,a,a.waitingForViewTransition?"Waiting for the previous Animation":0<a.count?0<a.imgCount?"Suspended on CSS and Images":"Suspended on CSS":a.imgCount===1?"Suspended on an Image":0<a.imgCount?"Suspended on Images":null,I,x)),p2(X,J,H,!N);return}}rZ(X,$,J,Y,G,Z,H,z,A,q,a,D,I,x)}function wK(X){for(var $=X;;){var Y=$.tag;if((Y===0||Y===11||Y===15)&&$.flags&16384&&(Y=$.updateQueue,Y!==null&&(Y=Y.stores,Y!==null)))for(var G=0;G<Y.length;G++){var Z=Y[G],J=Z.getSnapshot;Z=Z.value;try{if(!B4(J(),Z))return!1}catch(H){return!1}}if(Y=$.child,$.subtreeFlags&16384&&Y!==null)Y.return=$,$=Y;else{if($===X)break;for(;$.sibling===null;){if($.return===null||$.return===X)return!0;$=$.return}$.sibling.return=$.return,$=$.sibling}}return!0}function p2(X,$,Y,G){$&=~jJ,$&=~W7,X.suspendedLanes|=$,X.pingedLanes&=~$,G&&(X.warmLanes|=$),G=X.expirationTimes;for(var Z=$;0<Z;){var J=31-G4(Z),H=1<<J;G[J]=-1,Z&=~H}Y!==0&&q7(X,Y,$)}function hX(){return(h0&(g5|h4))===d5?(T9(0,!1),!1):!0}function nZ(){if(E0!==null){if(n0===w4)var X=E0.return;else X=E0,t$(),BZ(X),A8=null,$$=0,X=E0;for(;X!==null;)Xz(X.alternate,X),X=X.return;E0=null}}function l7(X,$){(X&127)!==0&&(Y7=$),(X&4194048)!==0&&(s6=$),(X&62914560)!==0&&(l_=$),(X&2080374784)!==0&&(c_=$)}function yX(X,$){U5&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",x0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",x0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",x0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",x0,"primary-light"));var Y=h5;if(h5=D5(),C0!==0&&0<Y){if(q4(C0),K5===O1||K5===H7)CH(Y,h5,$,R5);else{var G=h5,Z=R5;if(U5&&!(G<=Y)){var J=($&738197653)===$?"tertiary-dark":"primary-dark",H=($&536870912)===$?"Prewarm":($&201326741)===$?"Interrupted Hydration":"Interrupted Render";Z?Z.run(console.timeStamp.bind(console,H,Y,G,k0,x0,J)):console.timeStamp(H,Y,G,k0,x0,J)}}l7(C0,h5)}if(Y=R5,R5=null,($&127)!==0){R5=p9,Z=0<=c6&&c6<Y7?Y7:c6,G=0<=n7&&n7<Y7?Y7:n7,J=0<=G?G:0<=Z?Z:h5,0<=_1?(q4(2),EH(_1,J,$,Y)):(L1&127)!==0&&(q4(2),X9(Y7,J,M2)),Y=Z;var z=G,A=l9,N=0<z8,q=G7===u9,D=G7===W1;if(Z=h5,G=p9,J=UJ,H=zJ,U5){if(k0="Blocking",0<Y?Y>Z&&(Y=Z):Y=Z,0<z?z>Y&&(z=Y):z=Y,A!==null&&Y>z){var I=N?"secondary-light":"warning";G?G.run(console.timeStamp.bind(console,N?"Consecutive":"Event: "+A,z,Y,k0,x0,I)):console.timeStamp(N?"Consecutive":"Event: "+A,z,Y,k0,x0,I)}Z>Y&&(z=q?"error":($&738197653)===$?"tertiary-light":"primary-light",q=D?"Promise Resolved":q?"Cascading Update":5<Z-Y?"Update Blocked":"Update",D=[],H!=null&&D.push(["Component name",H]),J!=null&&D.push(["Method name",J]),Y={start:Y,end:Z,detail:{devtools:{properties:D,track:k0,trackGroup:x0,color:z}}},G?G.run(performance.measure.bind(performance,q,Y)):performance.measure(q,Y))}c6=-1.1,G7=0,zJ=UJ=null,_1=-1.1,z8=n7,n7=-1.1,Y7=D5()}if(($&4194048)!==0&&(R5=c9,Z=0<=F2&&F2<s6?s6:F2,Y=0<=o4&&o4<s6?s6:o4,G=0<=Z7&&Z7<s6?s6:Z7,J=0<=G?G:0<=Y?Y:h5,0<=A1?(q4(256),EH(A1,J,$,R5)):(L1&4194048)!==0&&(q4(256),X9(s6,J,M2)),D=G,z=o7,A=0<J7,N=WJ===W1,J=h5,G=c9,H=u_,q=p_,U5&&(k0="Transition",0<Y?Y>J&&(Y=J):Y=J,0<Z?Z>Y&&(Z=Y):Z=Y,0<D?D>Z&&(D=Z):D=Z,Z>D&&z!==null&&(I=A?"secondary-light":"warning",G?G.run(console.timeStamp.bind(console,A?"Consecutive":"Event: "+z,D,Z,k0,x0,I)):console.timeStamp(A?"Consecutive":"Event: "+z,D,Z,k0,x0,I)),Y>Z&&(G?G.run(console.timeStamp.bind(console,"Action",Z,Y,k0,x0,"primary-dark")):console.timeStamp("Action",Z,Y,k0,x0,"primary-dark")),J>Y&&(Z=N?"Promise Resolved":5<J-Y?"Update Blocked":"Update",D=[],q!=null&&D.push(["Component name",q]),H!=null&&D.push(["Method name",H]),Y={start:Y,end:J,detail:{devtools:{properties:D,track:k0,trackGroup:x0,color:"primary-light"}}},G?G.run(performance.measure.bind(performance,Z,Y)):performance.measure(Z,Y))),o4=F2=-1.1,WJ=0,A1=-1.1,J7=Z7,Z7=-1.1,s6=D5()),($&62914560)!==0&&(L1&62914560)!==0&&(q4(4194304),X9(l_,h5,M2)),($&2080374784)!==0&&(L1&2080374784)!==0&&(q4(268435456),X9(c_,h5,M2)),Y=X.timeoutHandle,Y!==_X&&(X.timeoutHandle=_X,tM(Y)),Y=X.cancelPendingCommit,Y!==null&&(X.cancelPendingCommit=null,Y()),K6=0,nZ(),Y5=X,E0=Y=G2(X.current,null),C0=$,n0=w4,y4=null,U7=!1,R8=O7(X,$),EJ=!1,K5=P2,BX=T4=jJ=W7=z7=0,W4=_$=null,E1=!1,($&8)!==0&&($|=$&32),G=X.entangledLanes,G!==0)for(X=X.entanglements,G&=$;0<G;)Z=31-G4(G),J=1<<Z,$|=X[Z],G&=~J;return a6=$,i$(),X=b_(),1000<X-g_&&(g.recentlyCreatedOwnerStacks=0,g_=X),L6.discardPendingWarnings(),Y}function jz(X,$){F0=null,g.H=J$,g.getCurrentStack=null,h6=!1,v4=null,$===_8||$===F1?($=rH(),n0=z$):$===NJ?($=rH(),n0=dA):n0=$===VJ?CJ:$!==null&&typeof $==="object"&&typeof $.then==="function"?W$:D1,y4=$;var Y=E0;Y===null?(K5=U$,PY(X,D4($,X.current))):Y.mode&q0&&iG(Y)}function Sz(){var X=m4.current;return X===null?!0:(C0&4194048)===C0?r4===null?!0:!1:(C0&62914560)===C0||(C0&536870912)!==0?X===r4:!1}function xz(){var X=g.H;return g.H=J$,X===null?J$:X}function kz(){var X=g.A;return g.A=fM,X}function SY(X){R5===null&&(R5=X._debugTask==null?null:X._debugTask)}function xY(){K5=H7,U7||(C0&4194048)!==C0&&m4.current!==null||(R8=!0),(z7&134217727)===0&&(W7&134217727)===0||Y5===null||p2(Y5,C0,T4,!1)}function oZ(X,$,Y){var G=h0;h0|=g5;var Z=xz(),J=kz();if(Y5!==X||C0!==$){if(d6){var H=X.memoizedUpdaters;0<H.size&&(w9(X,C0),H.clear()),x2(X,$)}A$=null,yX(X,$)}$=!1,H=K5;X:do try{if(n0!==w4&&E0!==null){var z=E0,A=y4;switch(n0){case CJ:nZ(),H=q1;break X;case z$:case ZX:case JX:case W$:m4.current===null&&($=!0);var N=n0;if(n0=w4,y4=null,dX(X,z,A,N),Y&&R8){H=P2;break X}break;default:N=n0,n0=w4,y4=null,dX(X,z,A,N)}}vz(),H=K5;break}catch(q){jz(X,q)}while(1);return $&&X.shellSuspendCounter++,t$(),h0=G,g.H=Z,g.A=J,E0===null&&(Y5=null,C0=0,i$()),H}function vz(){for(;E0!==null;)gz(E0)}function TK(X,$){var Y=h0;h0|=g5;var G=xz(),Z=kz();if(Y5!==X||C0!==$){if(d6){var J=X.memoizedUpdaters;0<J.size&&(w9(X,C0),J.clear()),x2(X,$)}A$=null,S1=f5()+lA,yX(X,$)}else R8=O7(X,$);X:do try{if(n0!==w4&&E0!==null)$:switch($=E0,J=y4,n0){case D1:n0=w4,y4=null,dX(X,$,J,D1);break;case ZX:case JX:if(nH(J)){n0=w4,y4=null,bz($);break}$=function(){n0!==ZX&&n0!==JX||Y5!==X||(n0=C1),g6(X)},J.then($,$);break X;case z$:n0=C1;break X;case dA:n0=DJ;break X;case C1:nH(J)?(n0=w4,y4=null,bz($)):(n0=w4,y4=null,dX(X,$,J,C1));break;case DJ:var H=null;switch(E0.tag){case 26:H=E0.memoizedState;case 5:case 27:var z=E0;if(H?CW(H):z.stateNode.complete){n0=w4,y4=null;var A=z.sibling;if(A!==null)E0=A;else{var N=z.return;N!==null?(E0=N,kY(N)):E0=null}break $}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}n0=w4,y4=null,dX(X,$,J,DJ);break;case W$:n0=w4,y4=null,dX(X,$,J,W$);break;case CJ:nZ(),K5=q1;break X;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}g.actQueue!==null?vz():RK();break}catch(q){jz(X,q)}while(1);if(t$(),g.H=G,g.A=Z,h0=Y,E0!==null)return P2;return Y5=null,C0=0,i$(),K5}function RK(){for(;E0!==null&&!wF();)gz(E0)}function gz(X){var $=X.alternate;(X.mode&q0)!==Q0?(sG(X),$=n(X,yZ,$,X,a6),iG(X)):$=n(X,yZ,$,X,a6),X.memoizedProps=X.pendingProps,$===null?kY(X):E0=$}function bz(X){var $=n(X,IK,X);X.memoizedProps=X.pendingProps,$===null?kY(X):E0=$}function IK(X){var $=X.alternate,Y=(X.mode&q0)!==Q0;switch(Y&&sG(X),X.tag){case 15:case 0:$=iU($,X,X.pendingProps,X.type,void 0,C0);break;case 11:$=iU($,X,X.pendingProps,X.type.render,X.ref,C0);break;case 5:BZ(X);default:Xz($,X),X=E0=gH(X,a6),$=yZ($,X,a6)}return Y&&iG(X),$}function dX(X,$,Y,G){t$(),BZ($),A8=null,$$=0;var Z=$.return;try{if(BK(X,Z,$,Y,C0)){K5=U$,PY(X,D4(Y,X.current)),E0=null;return}}catch(J){if(Z!==null)throw E0=Z,J;K5=U$,PY(X,D4(Y,X.current)),E0=null;return}if($.flags&32768){if(v0||G===D1)X=!0;else if(R8||(C0&536870912)!==0)X=!1;else if(U7=X=!0,G===ZX||G===JX||G===z$||G===W$)G=m4.current,G!==null&&G.tag===13&&(G.flags|=16384);mz($,X)}else kY($)}function kY(X){var $=X;do{if(($.flags&32768)!==0){mz($,U7);return}var Y=$.alternate;if(X=$.return,sG($),Y=n($,zK,Y,$,a6),($.mode&q0)!==Q0&&lH($),Y!==null){E0=Y;return}if($=$.sibling,$!==null){E0=$;return}E0=$=X}while($!==null);K5===P2&&(K5=yA)}function mz(X,$){do{var Y=WK(X.alternate,X);if(Y!==null){Y.flags&=32767,E0=Y;return}if((X.mode&q0)!==Q0){lH(X),Y=X.actualDuration;for(var G=X.child;G!==null;)Y+=G.actualDuration,G=G.sibling;X.actualDuration=Y}if(Y=X.return,Y!==null&&(Y.flags|=32768,Y.subtreeFlags=0,Y.deletions=null),!$&&(X=X.sibling,X!==null)){E0=X;return}E0=X=Y}while(X!==null);K5=q1,E0=null}function rZ(X,$,Y,G,Z,J,H,z,A,N,q,D,I,x){X.cancelPendingCommit=null;do M9();while(x5!==A7);if(L6.flushLegacyContextWarning(),L6.flushPendingUnsafeLifecycleWarnings(),(h0&(g5|h4))!==d5)throw Error("Should not already be working.");if(q4(Y),N===GX?xG(I,x,Y,R5):G!==null?iQ(I,x,Y,G,$!==null&&$.alternate!==null&&$.alternate.memoizedState.isDehydrated&&($.flags&256)!==0,R5):sQ(I,x,Y,R5),$!==null){if(Y===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),$===X.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(J=$.lanes|$.childLanes,J|=GJ,b$(X,Y,J,H,z,A),X===Y5&&(E0=Y5=null,C0=0),I8=$,L7=X,K6=Y,kJ=J,gJ=Z,oA=G,vJ=x,rA=D,F6=x1,tA=null,$.actualDuration!==0||($.subtreeFlags&10256)!==0||($.flags&10256)!==0?(X.callbackNode=null,X.callbackPriority=0,DK(iX,function(){return M$=window.event,F6===x1&&(F6=xJ),uz(),null})):(X.callbackNode=null,X.callbackPriority=0),K2=null,$7=D5(),D!==null&&aQ(x,$7,D,R5),G=($.flags&13878)!==0,($.subtreeFlags&13878)!==0||G){G=g.T,g.T=null,Z=s0.p,s0.p=g4,H=h0,h0|=h4;try{KK(X,$,Y)}finally{h0=H,s0.p=Z,g.T=G}}x5=sA,fz(),hz(),yz()}}function fz(){if(x5===sA){x5=A7;var X=L7,$=I8,Y=K6,G=($.flags&13878)!==0;if(($.subtreeFlags&13878)!==0||G){G=g.T,g.T=null;var Z=s0.p;s0.p=g4;var J=h0;h0|=h4;try{w8=Y,T8=X,YY(),Qz($,X),T8=w8=null,Y=sJ;var H=OH(X.containerInfo),z=Y.focusedElem,A=Y.selectionRange;if(H!==z&&z&&z.ownerDocument&&VH(z.ownerDocument.documentElement,z)){if(A!==null&&EG(z)){var{start:N,end:q}=A;if(q===void 0&&(q=N),"selectionStart"in z)z.selectionStart=N,z.selectionEnd=Math.min(q,z.value.length);else{var D=z.ownerDocument||document,I=D&&D.defaultView||window;if(I.getSelection){var x=I.getSelection(),c=z.textContent.length,a=Math.min(A.start,c),B5=A.end===void 0?a:Math.min(A.end,c);!x.extend&&a>B5&&(H=B5,B5=a,a=H);var b0=PH(z,a),R=PH(z,B5);if(b0&&R&&(x.rangeCount!==1||x.anchorNode!==b0.node||x.anchorOffset!==b0.offset||x.focusNode!==R.node||x.focusOffset!==R.offset)){var P=D.createRange();P.setStart(b0.node,b0.offset),x.removeAllRanges(),a>B5?(x.addRange(P),x.extend(R.node,R.offset)):(P.setEnd(R.node,R.offset),x.addRange(P))}}}}D=[];for(x=z;x=x.parentNode;)x.nodeType===1&&D.push({element:x,left:x.scrollLeft,top:x.scrollTop});typeof z.focus==="function"&&z.focus();for(z=0;z<D.length;z++){var O=D[z];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}a1=!!cJ,sJ=cJ=null}finally{h0=J,s0.p=Z,g.T=G}}X.current=$,x5=iA}}function hz(){if(x5===iA){x5=A7;var X=tA;if(X!==null){$7=D5();var $=Q2,Y=$7;!U5||Y<=$||(M2?M2.run(console.timeStamp.bind(console,X,$,Y,k0,x0,"secondary-light")):console.timeStamp(X,$,Y,k0,x0,"secondary-light"))}X=L7,$=I8,Y=K6;var G=($.flags&8772)!==0;if(($.subtreeFlags&8772)!==0||G){G=g.T,g.T=null;var Z=s0.p;s0.p=g4;var J=h0;h0|=h4;try{w8=Y,T8=X,YY(),Wz(X,$.alternate,$),T8=w8=null}finally{h0=J,s0.p=Z,g.T=G}}X=vJ,$=rA,Q2=D5(),X=$===null?X:$7,$=Q2,Y=F6===SJ,G=R5,K2!==null?jH(X,$,K2,!1,G):!U5||$<=X||(G?G.run(console.timeStamp.bind(console,Y?"Commit Interrupted View Transition":"Commit",X,$,k0,x0,Y?"error":"secondary-dark")):console.timeStamp(Y?"Commit Interrupted View Transition":"Commit",X,$,k0,x0,Y?"error":"secondary-dark")),x5=aA}}function yz(){if(x5===nA||x5===aA){if(x5===nA){var X=Q2;Q2=D5();var $=Q2,Y=F6===SJ;!U5||$<=X||(M2?M2.run(console.timeStamp.bind(console,Y?"Interrupted View Transition":"Starting Animation",X,$,k0,x0,Y?"error":"secondary-light")):console.timeStamp(Y?"Interrupted View Transition":"Starting Animation",X,$,k0,x0,Y?" error":"secondary-light")),F6!==SJ&&(F6=cA)}x5=A7,TF(),X=L7;var G=I8;$=K6,Y=oA;var Z=G.actualDuration!==0||(G.subtreeFlags&10256)!==0||(G.flags&10256)!==0;Z?x5=k1:(x5=A7,I8=L7=null,dz(X,X.pendingLanes),HX=0,N$=null);var J=X.pendingLanes;if(J===0&&(_7=null),Z||sz(X),J=Q($),G=G.stateNode,t5&&typeof t5.onCommitFiberRoot==="function")try{var H=(G.current.flags&128)===128;switch(J){case g4:var z=g3;break;case _6:z=b3;break;case u6:z=iX;break;case rY:z=m3;break;default:z=iX}t5.onCommitFiberRoot(aX,G,z,H)}catch(D){y6||(y6=!0,console.error("React instrumentation encountered an error: %o",D))}if(d6&&X.memoizedUpdaters.clear(),MK(),Y!==null){H=g.T,z=s0.p,s0.p=g4,g.T=null;try{var A=X.onRecoverableError;for(G=0;G<Y.length;G++){var N=Y[G],q=PK(N.stack);n(N.source,A,N.value,q)}}finally{g.T=H,s0.p=z}}(K6&3)!==0&&M9(),g6(X),J=X.pendingLanes,($&261930)!==0&&(J&42)!==0?(Q1=!0,X===bJ?L$++:(L$=0,bJ=X)):L$=0,Z||l7($,Q2),T9(0,!1)}}function PK(X){return X={componentStack:X},Object.defineProperty(X,"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.')}}),X}function dz(X,$){(X.pooledCacheLanes&=$)===0&&($=X.pooledCache,$!=null&&(X.pooledCache=null,Y9($)))}function M9(){return fz(),hz(),yz(),uz()}function uz(){if(x5!==k1)return!1;var X=L7,$=kJ;kJ=0;var Y=Q(K6),G=u6===0||u6>Y?u6:Y;Y=g.T;var Z=s0.p;try{s0.p=G,g.T=null;var J=gJ;gJ=null,G=L7;var H=K6;if(x5=A7,I8=L7=null,K6=0,(h0&(g5|h4))!==d5)throw Error("Cannot flush passive effects while already rendering.");q4(H),mJ=!0,v1=!1;var z=0;if(K2=null,z=f5(),F6===cA)X9(Q2,z,M2);else{var A=Q2,N=z,q=F6===xJ;!U5||N<=A||(R5?R5.run(console.timeStamp.bind(console,q?"Waiting for Paint":"Waiting",A,N,k0,x0,"secondary-light")):console.timeStamp(q?"Waiting for Paint":"Waiting",A,N,k0,x0,"secondary-light"))}A=h0,h0|=h4;var D=G.current;YY(),Pz(D);var I=G.current;D=vJ,YY(),wz(G,I,H,J,D),sz(G),h0=A;var x=f5();if(I=z,D=R5,K2!==null?jH(I,x,K2,!0,D):!U5||x<=I||(D?D.run(console.timeStamp.bind(console,"Remaining Effects",I,x,k0,x0,"secondary-dark")):console.timeStamp("Remaining Effects",I,x,k0,x0,"secondary-dark")),l7(H,x),T9(0,!1),v1?G===N$?HX++:(HX=0,N$=G):HX=0,v1=mJ=!1,t5&&typeof t5.onPostCommitFiberRoot==="function")try{t5.onPostCommitFiberRoot(aX,G)}catch(a){y6||(y6=!0,console.error("React instrumentation encountered an error: %o",a))}var c=G.current.stateNode;return c.effectDuration=0,c.passiveEffectDuration=0,!0}finally{s0.p=Z,g.T=Y,dz(X,$)}}function pz(X,$,Y){$=D4(Y,$),cH($),$=EZ(X.stateNode,$,2),X=h2(X,$,2),X!==null&&(S2(X,2),g6(X))}function c0(X,$,Y){if(P8=!1,X.tag===3)pz(X,X,Y);else{for(;$!==null;){if($.tag===3){pz($,X,Y);return}if($.tag===1){var G=$.stateNode;if(typeof $.type.getDerivedStateFromError==="function"||typeof G.componentDidCatch==="function"&&(_7===null||!_7.has(G))){X=D4(Y,X),cH(X),Y=jZ(2),G=h2($,Y,2),G!==null&&(SZ(Y,G,$,X),S2(G,2),g6(G));return}}$=$.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.
Error message:
%s`,Y)}}function tZ(X,$,Y){var G=X.pingCache;if(G===null){G=X.pingCache=new yM;var Z=new Set;G.set($,Z)}else Z=G.get($),Z===void 0&&(Z=new Set,G.set($,Z));Z.has(Y)||(EJ=!0,Z.add(Y),G=VK.bind(null,X,$,Y),d6&&w9(X,Y),$.then(G,G))}function VK(X,$,Y){var G=X.pingCache;G!==null&&G.delete($),X.pingedLanes|=X.suspendedLanes&Y,X.warmLanes&=~Y,(Y&127)!==0?0>c6&&(Y7=c6=D5(),p9=z1("Promise Resolved"),G7=W1):(Y&4194048)!==0&&0>o4&&(s6=o4=D5(),c9=z1("Promise Resolved"),WJ=W1),qz()&&g.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
When testing, code that resolves suspended data should be wrapped into act(...):
act(() => {
/* finish loading suspended data */
});
/* assert on the output */
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`),Y5===X&&(C0&Y)===Y&&(K5===H7||K5===O1&&(C0&62914560)===C0&&f5()-j1<pA?(h0&g5)===d5&&yX(X,0):jJ|=Y,BX===C0&&(BX=0)),g6(X)}function lz(X,$){$===0&&($=OX()),X=r5(X,$),X!==null&&(S2(X,$),g6(X))}function OK(X){var $=X.memoizedState,Y=0;$!==null&&(Y=$.retryLane),lz(X,Y)}function qK(X,$){var Y=0;switch(X.tag){case 31:case 13:var{stateNode:G,memoizedState:Z}=X;Z!==null&&(Y=Z.retryLane);break;case 19:G=X.stateNode;break;case 22:G=X.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}G!==null&&G.delete($),lz(X,Y)}function eZ(X,$,Y){if(($.subtreeFlags&67117056)!==0)for($=$.child;$!==null;){var G=X,Z=$,J=Z.type===cY;J=Y||J,Z.tag!==22?Z.flags&67108864?J&&n(Z,cz,G,Z):eZ(G,Z,J):Z.memoizedState===null&&(J&&Z.flags&8192?n(Z,cz,G,Z):Z.subtreeFlags&67108864&&n(Z,eZ,G,Z,J)),$=$.sibling}}function cz(X,$){Z5(!0);try{Fz($),Vz($),Mz(X,$.alternate,$,!1),Tz(X,$,0,null,!1,0)}finally{Z5(!1)}}function sz(X){var $=!0;X.current.mode&(e5|A6)||($=!1),eZ(X,X.current,$)}function iz(X){if((h0&g5)===d5){var $=X.tag;if($===3||$===1||$===0||$===11||$===14||$===15){if($=p(X)||"ReactComponent",g1!==null){if(g1.has($))return;g1.add($)}else g1=new Set([$]);n(X,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 w9(X,$){d6&&X.memoizedUpdaters.forEach(function(Y){c8(X,Y,$)})}function DK(X,$){var Y=g.actQueue;return Y!==null?(Y.push($),pM):v3(X,$)}function CK(X){qz()&&g.actQueue===null&&n(X,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
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`,p(X))})}function g6(X){X!==V8&&X.next===null&&(V8===null?b1=V8=X:V8=V8.next=X),m1=!0,g.actQueue!==null?hJ||(hJ=!0,rz()):fJ||(fJ=!0,rz())}function T9(X,$){if(!yJ&&m1){yJ=!0;do{var Y=!1;for(var G=b1;G!==null;){if(!$)if(X!==0){var Z=G.pendingLanes;if(Z===0)var J=0;else{var{suspendedLanes:H,pingedLanes:z}=G;J=(1<<31-G4(42|X)+1)-1,J&=Z&~(H&~z),J=J&201326741?J&201326741|1:J?J|2:0}J!==0&&(Y=!0,oz(G,J))}else J=C0,J=V7(G,G===Y5?J:0,G.cancelPendingCommit!==null||G.timeoutHandle!==_X),(J&3)===0||O7(G,J)||(Y=!0,oz(G,J));G=G.next}}while(Y);yJ=!1}}function EK(){M$=window.event,X3()}function X3(){m1=hJ=fJ=!1;var X=0;N7!==0&&bK()&&(X=N7);for(var $=f5(),Y=null,G=b1;G!==null;){var Z=G.next,J=az(G,$);if(J===0)G.next=null,Y===null?b1=Z:Y.next=Z,Z===null&&(V8=Y);else if(Y=G,X!==0||(J&3)!==0)m1=!0;G=Z}x5!==A7&&x5!==k1||T9(X,!1),N7!==0&&(N7=0)}function az(X,$){for(var{suspendedLanes:Y,pingedLanes:G,expirationTimes:Z}=X,J=X.pendingLanes&-62914561;0<J;){var H=31-G4(J),z=1<<H,A=Z[H];if(A===-1){if((z&Y)===0||(z&G)!==0)Z[H]=MG(z,$)}else A<=$&&(X.expiredLanes|=z);J&=~z}if($=Y5,Y=C0,Y=V7(X,X===$?Y:0,X.cancelPendingCommit!==null||X.timeoutHandle!==_X),G=X.callbackNode,Y===0||X===$&&(n0===ZX||n0===JX)||X.cancelPendingCommit!==null)return G!==null&&$3(G),X.callbackNode=null,X.callbackPriority=0;if((Y&3)===0||O7(X,Y)){if($=Y&-Y,$!==X.callbackPriority||g.actQueue!==null&&G!==dJ)$3(G);else return $;switch(Q(Y)){case g4:case _6:Y=b3;break;case u6:Y=iX;break;case rY:Y=m3;break;default:Y=iX}return G=nz.bind(null,X),g.actQueue!==null?(g.actQueue.push(G),Y=dJ):Y=v3(Y,G),X.callbackPriority=$,X.callbackNode=Y,$}return G!==null&&$3(G),X.callbackPriority=2,X.callbackNode=null,2}function nz(X,$){if(Q1=N1=!1,M$=window.event,x5!==A7&&x5!==k1)return X.callbackNode=null,X.callbackPriority=0,null;var Y=X.callbackNode;if(F6===x1&&(F6=xJ),M9()&&X.callbackNode!==Y)return null;var G=C0;if(G=V7(X,X===Y5?G:0,X.cancelPendingCommit!==null||X.timeoutHandle!==_X),G===0)return null;return Cz(X,G,$),az(X,f5()),X.callbackNode!=null&&X.callbackNode===Y?nz.bind(null,X):null}function oz(X,$){if(M9())return null;N1=Q1,Q1=!1,Cz(X,$,!0)}function $3(X){X!==dJ&&X!==null&&MF(X)}function rz(){g.actQueue!==null&&g.actQueue.push(function(){return X3(),null}),eM(function(){(h0&(g5|h4))!==d5?v3(g3,EK):X3()})}function Y3(){if(N7===0){var X=r7;X===0&&(X=aY,aY<<=1,(aY&261888)===0&&(aY=256)),N7=X}return N7}function tz(X){if(X==null||typeof X==="symbol"||typeof X==="boolean")return null;if(typeof X==="function")return X;return r0(X,"action"),r8(""+X)}function ez(X,$){var Y=$.ownerDocument.createElement("input");return Y.name=$.name,Y.value=$.value,X.id&&Y.setAttribute("form",X.id),$.parentNode.insertBefore(Y,$),X=new FormData(X),Y.parentNode.removeChild(Y),X}function jK(X,$,Y,G,Z){if($==="submit"&&Y&&Y.stateNode===Z){var J=tz((Z[Z4]||null).action),H=G.submitter;H&&($=($=H[Z4]||null)?tz($.formAction):H.getAttribute("formAction"),$!==null&&(J=$,H=null));var z=new Y1("action","action",null,G,Z);X.push({event:z,listeners:[{instance:null,listener:function(){if(G.defaultPrevented){if(N7!==0){var A=H?ez(Z,H):new FormData(Z),N={pending:!0,data:A,method:Z.method,action:J};Object.freeze(N),IZ(Y,N,null,A)}}else typeof J==="function"&&(z.preventDefault(),A=H?ez(Z,H):new FormData(Z),N={pending:!0,data:A,method:Z.method,action:J},Object.freeze(N),IZ(Y,N,J,A))},currentTarget:Z}]})}}function vY(X,$,Y){X.currentTarget=Y;try{$(X)}catch(G){e3(G)}X.currentTarget=null}function XW(X,$){$=($&4)!==0;for(var Y=0;Y<X.length;Y++){var G=X[Y];X:{var Z=void 0,J=G.event;if(G=G.listeners,$)for(var H=G.length-1;0<=H;H--){var z=G[H],A=z.instance,N=z.currentTarget;if(z=z.listener,A!==Z&&J.isPropagationStopped())break X;A!==null?n(A,vY,J,z,N):vY(J,z,N),Z=A}else for(H=0;H<G.length;H++){if(z=G[H],A=z.instance,N=z.currentTarget,z=z.listener,A!==Z&&J.isPropagationStopped())break X;A!==null?n(A,vY,J,z,N):vY(J,z,N),Z=A}}}}function g0(X,$){uJ.has(X)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',X);var Y=$[f3];Y===void 0&&(Y=$[f3]=new Set);var G=X+"__bubble";Y.has(G)||($W($,X,2,!1),Y.add(G))}function G3(X,$,Y){uJ.has(X)&&!$&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',X);var G=0;$&&(G|=4),$W(Y,X,G,$)}function Z3(X){if(!X[f1]){X[f1]=!0,rW.forEach(function(Y){Y!=="selectionchange"&&(uJ.has(Y)||G3(Y,!1,X),G3(Y,!0,X))});var $=X.nodeType===9?X:X.ownerDocument;$===null||$[f1]||($[f1]=!0,G3("selectionchange",!1,$))}}function $W(X,$,Y,G){switch(vW($)){case g4:var Z=WF;break;case _6:Z=_F;break;default:Z=T3}Y=Z.bind(null,$,Y,X),Z=void 0,!p3||$!=="touchstart"&&$!=="touchmove"&&$!=="wheel"||(Z=!0),G?Z!==void 0?X.addEventListener($,Y,{capture:!0,passive:Z}):X.addEventListener($,Y,!0):Z!==void 0?X.addEventListener($,Y,{passive:Z}):X.addEventListener($,Y,!1)}function J3(X,$,Y,G,Z){var J=G;if(($&1)===0&&($&2)===0&&G!==null)X:for(;;){if(G===null)return;var H=G.tag;if(H===3||H===4){var z=G.stateNode.containerInfo;if(z===Z)break;if(H===4)for(H=G.return;H!==null;){var A=H.tag;if((A===3||A===4)&&H.stateNode.containerInfo===Z)return;H=H.return}for(;z!==null;){if(H=$0(z),H===null)return;if(A=H.tag,A===5||A===6||A===26||A===27){G=J=H;continue X}z=z.parentNode}}G=G.return}AH(function(){var N=J,q=DG(Y),D=[];X:{var I=v_.get(X);if(I!==void 0){var x=Y1,c=X;switch(X){case"keypress":if(u$(Y)===0)break X;case"keydown":case"keyup":x=JM;break;case"focusin":c="focus",x=i3;break;case"focusout":c="blur",x=i3;break;case"beforeblur":case"afterblur":x=i3;break;case"click":if(Y.button===2)break X;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=T_;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=iF;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=UM;break;case j_:case S_:case x_:x=oF;break;case k_:x=WM;break;case"scroll":case"scrollend":x=cF;break;case"wheel":x=AM;break;case"copy":case"cut":case"paste":x=tF;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=I_;break;case"toggle":case"beforetoggle":x=NM}var a=($&4)!==0,B5=!a&&(X==="scroll"||X==="scrollend"),b0=a?I!==null?I+"Capture":null:I;a=[];for(var R=N,P;R!==null;){var O=R;if(P=O.stateNode,O=O.tag,O!==5&&O!==26&&O!==27||P===null||b0===null||(O=t8(R,b0),O!=null&&a.push(R9(R,O,P))),B5)break;R=R.return}0<a.length&&(I=new x(I,c,null,Y,q),D.push({event:I,listeners:a}))}}if(($&7)===0){X:{if(I=X==="mouseover"||X==="pointerover",x=X==="mouseout"||X==="pointerout",I&&Y!==x9&&(c=Y.relatedTarget||Y.fromElement)&&($0(c)||c[n2]))break X;if(x||I){if(I=q.window===q?q:(I=q.ownerDocument)?I.defaultView||I.parentWindow:window,x){if(c=Y.relatedTarget||Y.toElement,x=N,c=c?$0(c):null,c!==null&&(B5=o(c),a=c.tag,c!==B5||a!==5&&a!==27&&a!==6))c=null}else x=null,c=N;if(x!==c){if(a=T_,O="onMouseLeave",b0="onMouseEnter",R="mouse",X==="pointerout"||X==="pointerover")a=I_,O="onPointerLeave",b0="onPointerEnter",R="pointer";if(B5=x==null?I:T0(x),P=c==null?I:T0(c),I=new a(O,R+"leave",x,Y,q),I.target=B5,I.relatedTarget=P,O=null,$0(q)===N&&(a=new a(b0,R+"enter",c,Y,q),a.target=P,a.relatedTarget=B5,O=a),B5=O,x&&c)$:{a=SK,b0=x,R=c,P=0;for(O=b0;O;O=a(O))P++;O=0;for(var b=R;b;b=a(b))O++;for(;0<P-O;)b0=a(b0),P--;for(;0<O-P;)R=a(R),O--;for(;P--;){if(b0===R||R!==null&&b0===R.alternate){a=b0;break $}b0=a(b0),R=a(R)}a=null}else a=null;x!==null&&YW(D,I,x,a,!1),c!==null&&B5!==null&&YW(D,B5,c,a,!0)}}}X:{if(I=N?T0(N):window,x=I.nodeName&&I.nodeName.toLowerCase(),x==="select"||x==="input"&&I.type==="file")var i=wH;else if(FH(I))if(C_)i=pQ;else{i=dQ;var M0=yQ}else x=I.nodeName,!x||x.toLowerCase()!=="input"||I.type!=="checkbox"&&I.type!=="radio"?N&&o8(N.elementType)&&(i=wH):i=uQ;if(i&&(i=i(X,N))){MH(D,i,Y,q);break X}M0&&M0(X,I,N),X==="focusout"&&N&&I.type==="number"&&N.memoizedProps.value!=null&&RG(I,"number",I.value)}switch(M0=N?T0(N):window,X){case"focusin":if(FH(M0)||M0.contentEditable==="true")$8=M0,n3=N,h9=null;break;case"focusout":h9=n3=$8=null;break;case"mousedown":o3=!0;break;case"contextmenu":case"mouseup":case"dragend":o3=!1,qH(D,Y,q);break;case"selectionchange":if(MM)break;case"keydown":case"keyup":qH(D,Y,q)}var B0;if(a3)X:{switch(X){case"compositionstart":var Y0="onCompositionStart";break X;case"compositionend":Y0="onCompositionEnd";break X;case"compositionupdate":Y0="onCompositionUpdate";break X}Y0=void 0}else X8?QH(X,Y)&&(Y0="onCompositionEnd"):X==="keydown"&&Y.keyCode===P_&&(Y0="onCompositionStart");if(Y0&&(V_&&Y.locale!=="ko"&&(X8||Y0!=="onCompositionStart"?Y0==="onCompositionEnd"&&X8&&(B0=LH()):(o2=q,l3=("value"in o2)?o2.value:o2.textContent,X8=!0)),M0=gY(N,Y0),0<M0.length&&(Y0=new R_(Y0,X,null,Y,q),D.push({event:Y0,listeners:M0}),B0?Y0.data=B0:(B0=KH(Y),B0!==null&&(Y0.data=B0)))),B0=KM?bQ(X,Y):mQ(X,Y))Y0=gY(N,"onBeforeInput"),0<Y0.length&&(M0=new XM("onBeforeInput","beforeinput",null,Y,q),D.push({event:M0,listeners:Y0}),M0.data=B0);jK(D,X,N,Y,q)}XW(D,$)})}function R9(X,$,Y){return{instance:X,listener:$,currentTarget:Y}}function gY(X,$){for(var Y=$+"Capture",G=[];X!==null;){var Z=X,J=Z.stateNode;if(Z=Z.tag,Z!==5&&Z!==26&&Z!==27||J===null||(Z=t8(X,Y),Z!=null&&G.unshift(R9(X,Z,J)),Z=t8(X,$),Z!=null&&G.push(R9(X,Z,J))),X.tag===3)return G;X=X.return}return[]}function SK(X){if(X===null)return null;do X=X.return;while(X&&X.tag!==5&&X.tag!==27);return X?X:null}function YW(X,$,Y,G,Z){for(var J=$._reactName,H=[];Y!==null&&Y!==G;){var z=Y,A=z.alternate,N=z.stateNode;if(z=z.tag,A!==null&&A===G)break;z!==5&&z!==26&&z!==27||N===null||(A=N,Z?(N=t8(Y,J),N!=null&&H.unshift(R9(Y,N,A))):Z||(N=t8(Y,J),N!=null&&H.push(R9(Y,N,A)))),Y=Y.return}H.length!==0&&X.push({event:$,listeners:H})}function B3(X,$){xQ(X,$),X!=="input"&&X!=="textarea"&&X!=="select"||$==null||$.value!==null||M_||(M_=!0,X==="select"&&$.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.",X):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",X));var Y={registrationNameDependencies:c7,possibleRegistrationNames:h3};o8(X)||typeof $.is==="string"||vQ(X,$,Y),$.contentEditable&&!$.suppressContentEditableWarning&&$.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 m5(X,$,Y,G){$!==Y&&(Y=l2(Y),l2($)!==Y&&(G[X]=$))}function xK(X,$,Y){$.forEach(function(G){Y[JW(G)]=G==="style"?U3(X):X.getAttribute(G)})}function b6(X,$){$===!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.",X,X,X):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",X,typeof $)}function GW(X,$){return X=X.namespaceURI===eY||X.namespaceURI===oX?X.ownerDocument.createElementNS(X.namespaceURI,X.tagName):X.ownerDocument.createElement(X.tagName),X.innerHTML=$,X.innerHTML}function l2(X){return j2(X)&&(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.",P7(X)),b5(X)),(typeof X==="string"?X:""+X).replace(lM,`
`).replace(cM,"")}function ZW(X,$){return $=l2($),l2(X)===$?!0:!1}function X5(X,$,Y,G,Z,J){switch(Y){case"children":if(typeof G==="string")d$(G,$,!1),$==="body"||$==="textarea"&&G===""||n8(X,G);else if(typeof G==="number"||typeof G==="bigint")d$(""+G,$,!1),$!=="body"&&n8(X,""+G);break;case"className":f$(X,"class",G);break;case"tabIndex":f$(X,"tabindex",G);break;case"dir":case"role":case"viewBox":case"width":case"height":f$(X,Y,G);break;case"style":zH(X,G,J);break;case"data":if($!=="object"){f$(X,"data",G);break}case"src":case"href":if(G===""&&($!=="a"||Y!=="href")){Y==="src"?console.error('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.',Y,Y):console.error('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.',Y,Y),X.removeAttribute(Y);break}if(G==null||typeof G==="function"||typeof G==="symbol"||typeof G==="boolean"){X.removeAttribute(Y);break}r0(G,Y),G=r8(""+G),X.setAttribute(Y,G);break;case"action":case"formAction":if(G!=null&&($==="form"?Y==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof G==="function"&&(Z.encType==null&&Z.method==null||d1||(d1=!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.")),Z.target==null||y1||(y1=!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."))):$==="input"||$==="button"?Y==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):$!=="input"||Z.type==="submit"||Z.type==="image"||h1?$!=="button"||Z.type==null||Z.type==="submit"||h1?typeof G==="function"&&(Z.name==null||GL||(GL=!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.')),Z.formEncType==null&&Z.formMethod==null||d1||(d1=!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.")),Z.formTarget==null||y1||(y1=!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."))):(h1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(h1=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):Y==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof G==="function"){X.setAttribute(Y,"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 J==="function"&&(Y==="formAction"?($!=="input"&&X5(X,$,"name",Z.name,Z,null),X5(X,$,"formEncType",Z.formEncType,Z,null),X5(X,$,"formMethod",Z.formMethod,Z,null),X5(X,$,"formTarget",Z.formTarget,Z,null)):(X5(X,$,"encType",Z.encType,Z,null),X5(X,$,"method",Z.method,Z,null),X5(X,$,"target",Z.target,Z,null)));if(G==null||typeof G==="symbol"||typeof G==="boolean"){X.removeAttribute(Y);break}r0(G,Y),G=r8(""+G),X.setAttribute(Y,G);break;case"onClick":G!=null&&(typeof G!=="function"&&b6(Y,G),X.onclick=Y2);break;case"onScroll":G!=null&&(typeof G!=="function"&&b6(Y,G),g0("scroll",X));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&b6(Y,G),g0("scrollend",X));break;case"dangerouslySetInnerHTML":if(G!=null){if(typeof G!=="object"||!("__html"in G))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=G.__html,Y!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");X.innerHTML=Y}}break;case"multiple":X.multiple=G&&typeof G!=="function"&&typeof G!=="symbol";break;case"muted":X.muted=G&&typeof G!=="function"&&typeof G!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(G==null||typeof G==="function"||typeof G==="boolean"||typeof G==="symbol"){X.removeAttribute("xlink:href");break}r0(G,Y),Y=r8(""+G),X.setAttributeNS(UX,"xlink:href",Y);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":G!=null&&typeof G!=="function"&&typeof G!=="symbol"?(r0(G,Y),X.setAttribute(Y,""+G)):X.removeAttribute(Y);break;case"inert":G!==""||u1[Y]||(u1[Y]=!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.",Y));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":G&&typeof G!=="function"&&typeof G!=="symbol"?X.setAttribute(Y,""):X.removeAttribute(Y);break;case"capture":case"download":G===!0?X.setAttribute(Y,""):G!==!1&&G!=null&&typeof G!=="function"&&typeof G!=="symbol"?(r0(G,Y),X.setAttribute(Y,G)):X.removeAttribute(Y);break;case"cols":case"rows":case"size":case"span":G!=null&&typeof G!=="function"&&typeof G!=="symbol"&&!isNaN(G)&&1<=G?(r0(G,Y),X.setAttribute(Y,G)):X.removeAttribute(Y);break;case"rowSpan":case"start":G==null||typeof G==="function"||typeof G==="symbol"||isNaN(G)?X.removeAttribute(Y):(r0(G,Y),X.setAttribute(Y,G));break;case"popover":g0("beforetoggle",X),g0("toggle",X),m$(X,"popover",G);break;case"xlinkActuate":$2(X,UX,"xlink:actuate",G);break;case"xlinkArcrole":$2(X,UX,"xlink:arcrole",G);break;case"xlinkRole":$2(X,UX,"xlink:role",G);break;case"xlinkShow":$2(X,UX,"xlink:show",G);break;case"xlinkTitle":$2(X,UX,"xlink:title",G);break;case"xlinkType":$2(X,UX,"xlink:type",G);break;case"xmlBase":$2(X,pJ,"xml:base",G);break;case"xmlLang":$2(X,pJ,"xml:lang",G);break;case"xmlSpace":$2(X,pJ,"xml:space",G);break;case"is":J!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),m$(X,"is",G);break;case"innerText":case"textContent":break;case"popoverTarget":ZL||G==null||typeof G!=="object"||(ZL=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",G));default:!(2<Y.length)||Y[0]!=="o"&&Y[0]!=="O"||Y[1]!=="n"&&Y[1]!=="N"?(Y=WH(Y),m$(X,Y,G)):c7.hasOwnProperty(Y)&&G!=null&&typeof G!=="function"&&b6(Y,G)}}function H3(X,$,Y,G,Z,J){switch(Y){case"style":zH(X,G,J);break;case"dangerouslySetInnerHTML":if(G!=null){if(typeof G!=="object"||!("__html"in G))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(Y=G.__html,Y!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");X.innerHTML=Y}}break;case"children":typeof G==="string"?n8(X,G):(typeof G==="number"||typeof G==="bigint")&&n8(X,""+G);break;case"onScroll":G!=null&&(typeof G!=="function"&&b6(Y,G),g0("scroll",X));break;case"onScrollEnd":G!=null&&(typeof G!=="function"&&b6(Y,G),g0("scrollend",X));break;case"onClick":G!=null&&(typeof G!=="function"&&b6(Y,G),X.onclick=Y2);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(c7.hasOwnProperty(Y))G!=null&&typeof G!=="function"&&b6(Y,G);else X:{if(Y[0]==="o"&&Y[1]==="n"&&(Z=Y.endsWith("Capture"),$=Y.slice(2,Z?Y.length-7:void 0),J=X[Z4]||null,J=J!=null?J[Y]:null,typeof J==="function"&&X.removeEventListener($,J,Z),typeof G==="function")){typeof J!=="function"&&J!==null&&(Y in X?X[Y]=null:X.hasAttribute(Y)&&X.removeAttribute(Y)),X.addEventListener($,G,Z);break X}Y in X?X[Y]=G:G===!0?X.setAttribute(Y,""):m$(X,Y,G)}}}function l5(X,$,Y){switch(B3($,Y),$){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":g0("error",X),g0("load",X);var G=!1,Z=!1,J;for(J in Y)if(Y.hasOwnProperty(J)){var H=Y[J];if(H!=null)switch(J){case"src":G=!0;break;case"srcSet":Z=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:X5(X,$,J,H,Y,null)}}Z&&X5(X,$,"srcSet",Y.srcSet,Y,null),G&&X5(X,$,"src",Y.src,Y,null);return;case"input":k2("input",Y),g0("invalid",X);var z=J=H=Z=null,A=null,N=null;for(G in Y)if(Y.hasOwnProperty(G)){var q=Y[G];if(q!=null)switch(G){case"name":Z=q;break;case"type":H=q;break;case"checked":A=q;break;case"defaultChecked":N=q;break;case"value":J=q;break;case"defaultValue":z=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:X5(X,$,G,q,Y,null)}}iB(X,Y),aB(X,J,z,A,N,H,Z,!1);return;case"select":k2("select",Y),g0("invalid",X),G=H=J=null;for(Z in Y)if(Y.hasOwnProperty(Z)&&(z=Y[Z],z!=null))switch(Z){case"value":J=z;break;case"defaultValue":H=z;break;case"multiple":G=z;default:X5(X,$,Z,z,Y,null)}rB(X,Y),$=J,Y=H,X.multiple=!!G,$!=null?DX(X,!!G,$,!1):Y!=null&&DX(X,!!G,Y,!0);return;case"textarea":k2("textarea",Y),g0("invalid",X),J=Z=G=null;for(H in Y)if(Y.hasOwnProperty(H)&&(z=Y[H],z!=null))switch(H){case"value":G=z;break;case"defaultValue":Z=z;break;case"children":J=z;break;case"dangerouslySetInnerHTML":if(z!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:X5(X,$,H,z,Y,null)}tB(X,Y),XH(X,G,Z,J);return;case"option":nB(X,Y);for(A in Y)if(Y.hasOwnProperty(A)&&(G=Y[A],G!=null))switch(A){case"selected":X.selected=G&&typeof G!=="function"&&typeof G!=="symbol";break;default:X5(X,$,A,G,Y,null)}return;case"dialog":g0("beforetoggle",X),g0("toggle",X),g0("cancel",X),g0("close",X);break;case"iframe":case"object":g0("load",X);break;case"video":case"audio":for(G=0;G<Q$.length;G++)g0(Q$[G],X);break;case"image":g0("error",X),g0("load",X);break;case"details":g0("toggle",X);break;case"embed":case"source":case"link":g0("error",X),g0("load",X);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(N in Y)if(Y.hasOwnProperty(N)&&(G=Y[N],G!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:X5(X,$,N,G,Y,null)}return;default:if(o8($)){for(q in Y)Y.hasOwnProperty(q)&&(G=Y[q],G!==void 0&&H3(X,$,q,G,Y,void 0));return}}for(z in Y)Y.hasOwnProperty(z)&&(G=Y[z],G!=null&&X5(X,$,z,G,Y,null))}function kK(X,$,Y,G){switch(B3($,G),$){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var Z=null,J=null,H=null,z=null,A=null,N=null,q=null;for(x in Y){var D=Y[x];if(Y.hasOwnProperty(x)&&D!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":A=D;default:G.hasOwnProperty(x)||X5(X,$,x,null,G,D)}}for(var I in G){var x=G[I];if(D=Y[I],G.hasOwnProperty(I)&&(x!=null||D!=null))switch(I){case"type":J=x;break;case"name":Z=x;break;case"checked":N=x;break;case"defaultChecked":q=x;break;case"value":H=x;break;case"defaultValue":z=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:x!==D&&X5(X,$,I,x,G,D)}}$=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,G=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,$||!G||YL||(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"),YL=!0),!$||G||$L||(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"),$L=!0),TG(X,H,z,A,N,q,J,Z);return;case"select":x=H=z=I=null;for(J in Y)if(A=Y[J],Y.hasOwnProperty(J)&&A!=null)switch(J){case"value":break;case"multiple":x=A;default:G.hasOwnProperty(J)||X5(X,$,J,null,G,A)}for(Z in G)if(J=G[Z],A=Y[Z],G.hasOwnProperty(Z)&&(J!=null||A!=null))switch(Z){case"value":I=J;break;case"defaultValue":z=J;break;case"multiple":H=J;default:J!==A&&X5(X,$,Z,J,G,A)}G=z,$=H,Y=x,I!=null?DX(X,!!$,I,!1):!!Y!==!!$&&(G!=null?DX(X,!!$,G,!0):DX(X,!!$,$?[]:"",!1));return;case"textarea":x=I=null;for(z in Y)if(Z=Y[z],Y.hasOwnProperty(z)&&Z!=null&&!G.hasOwnProperty(z))switch(z){case"value":break;case"children":break;default:X5(X,$,z,null,G,Z)}for(H in G)if(Z=G[H],J=Y[H],G.hasOwnProperty(H)&&(Z!=null||J!=null))switch(H){case"value":I=Z;break;case"defaultValue":x=Z;break;case"children":break;case"dangerouslySetInnerHTML":if(Z!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Z!==J&&X5(X,$,H,Z,G,J)}eB(X,I,x);return;case"option":for(var c in Y)if(I=Y[c],Y.hasOwnProperty(c)&&I!=null&&!G.hasOwnProperty(c))switch(c){case"selected":X.selected=!1;break;default:X5(X,$,c,null,G,I)}for(A in G)if(I=G[A],x=Y[A],G.hasOwnProperty(A)&&I!==x&&(I!=null||x!=null))switch(A){case"selected":X.selected=I&&typeof I!=="function"&&typeof I!=="symbol";break;default:X5(X,$,A,I,G,x)}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 a in Y)I=Y[a],Y.hasOwnProperty(a)&&I!=null&&!G.hasOwnProperty(a)&&X5(X,$,a,null,G,I);for(N in G)if(I=G[N],x=Y[N],G.hasOwnProperty(N)&&I!==x&&(I!=null||x!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error($+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:X5(X,$,N,I,G,x)}return;default:if(o8($)){for(var B5 in Y)I=Y[B5],Y.hasOwnProperty(B5)&&I!==void 0&&!G.hasOwnProperty(B5)&&H3(X,$,B5,void 0,G,I);for(q in G)I=G[q],x=Y[q],!G.hasOwnProperty(q)||I===x||I===void 0&&x===void 0||H3(X,$,q,I,G,x);return}}for(var b0 in Y)I=Y[b0],Y.hasOwnProperty(b0)&&I!=null&&!G.hasOwnProperty(b0)&&X5(X,$,b0,null,G,I);for(D in G)I=G[D],x=Y[D],!G.hasOwnProperty(D)||I===x||I==null&&x==null||X5(X,$,D,I,G,x)}function JW(X){switch(X){case"class":return"className";case"for":return"htmlFor";default:return X}}function U3(X){var $={};X=X.style;for(var Y=0;Y<X.length;Y++){var G=X[Y];$[G]=X.getPropertyValue(G)}return $}function BW(X,$,Y){if($!=null&&typeof $!=="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 G,Z=G="",J;for(J in $)if($.hasOwnProperty(J)){var H=$[J];H!=null&&typeof H!=="boolean"&&H!==""&&(J.indexOf("--")===0?(l8(H,J),G+=Z+J+":"+(""+H).trim()):typeof H!=="number"||H===0||K_.has(J)?(l8(H,J),G+=Z+J.replace(__,"-$1").toLowerCase().replace(A_,"-ms-")+":"+(""+H).trim()):G+=Z+J.replace(__,"-$1").toLowerCase().replace(A_,"-ms-")+":"+H+"px",Z=";")}G=G||null,$=X.getAttribute("style"),$!==G&&(G=l2(G),l2($)!==G&&(Y.style=U3(X)))}}function p4(X,$,Y,G,Z,J){if(Z.delete(Y),X=X.getAttribute(Y),X===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(r0(G,$),X===""+G)return}m5($,X,G,J)}function HW(X,$,Y,G,Z,J){if(Z.delete(Y),X=X.getAttribute(Y),X===null){switch(typeof G){case"function":case"symbol":return}if(!G)return}else switch(typeof G){case"function":case"symbol":break;default:if(G)return}m5($,X,G,J)}function z3(X,$,Y,G,Z,J){if(Z.delete(Y),X=X.getAttribute(Y),X===null)switch(typeof G){case"undefined":case"function":case"symbol":return}else if(G!=null)switch(typeof G){case"function":case"symbol":break;default:if(r0(G,Y),X===""+G)return}m5($,X,G,J)}function UW(X,$,Y,G,Z,J){if(Z.delete(Y),X=X.getAttribute(Y),X===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(G))return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(!isNaN(G)&&(r0(G,$),X===""+G))return}m5($,X,G,J)}function W3(X,$,Y,G,Z,J){if(Z.delete(Y),X=X.getAttribute(Y),X===null)switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":return}else if(G!=null)switch(typeof G){case"function":case"symbol":case"boolean":break;default:if(r0(G,$),Y=r8(""+G),X===Y)return}m5($,X,G,J)}function zW(X,$,Y,G){for(var Z={},J=new Set,H=X.attributes,z=0;z<H.length;z++)switch(H[z].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:J.add(H[z].name)}if(o8($)){for(var A in Y)if(Y.hasOwnProperty(A)){var N=Y[A];if(N!=null){if(c7.hasOwnProperty(A))typeof N!=="function"&&b6(A,N);else if(Y.suppressHydrationWarning!==!0)switch(A){case"children":typeof N!=="string"&&typeof N!=="number"||m5("children",X.textContent,N,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":H=X.innerHTML,N=N?N.__html:void 0,N!=null&&(N=GW(X,N),m5(A,H,N,Z));continue;case"style":J.delete(A),BW(X,N,Z);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":J.delete(A.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",A);continue;case"className":J.delete("class"),H=lB(X,"class",N),m5("className",H,N,Z);continue;default:G.context===V2&&$!=="svg"&&$!=="math"?J.delete(A.toLowerCase()):J.delete(A),H=lB(X,A,N),m5(A,H,N,Z)}}}}else for(N in Y)if(Y.hasOwnProperty(N)&&(A=Y[N],A!=null)){if(c7.hasOwnProperty(N))typeof A!=="function"&&b6(N,A);else if(Y.suppressHydrationWarning!==!0)switch(N){case"children":typeof A!=="string"&&typeof A!=="number"||m5("children",X.textContent,A,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":H=X.innerHTML,A=A?A.__html:void 0,A!=null&&(A=GW(X,A),H!==A&&(Z[N]={__html:H}));continue;case"className":p4(X,N,"class",A,J,Z);continue;case"tabIndex":p4(X,N,"tabindex",A,J,Z);continue;case"style":J.delete(N),BW(X,A,Z);continue;case"multiple":J.delete(N),m5(N,X.multiple,A,Z);continue;case"muted":J.delete(N),m5(N,X.muted,A,Z);continue;case"autoFocus":J.delete("autofocus"),m5(N,X.autofocus,A,Z);continue;case"data":if($!=="object"){J.delete(N),H=X.getAttribute("data"),m5(N,H,A,Z);continue}case"src":case"href":if(!(A!==""||$==="a"&&N==="href"||$==="object"&&N==="data")){N==="src"?console.error('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.',N,N):console.error('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);continue}W3(X,N,N,A,J,Z);continue;case"action":case"formAction":if(H=X.getAttribute(N),typeof A==="function"){J.delete(N.toLowerCase()),N==="formAction"?(J.delete("name"),J.delete("formenctype"),J.delete("formmethod"),J.delete("formtarget")):(J.delete("enctype"),J.delete("method"),J.delete("target"));continue}else if(H===sM){J.delete(N.toLowerCase()),m5(N,"function",A,Z);continue}W3(X,N,N.toLowerCase(),A,J,Z);continue;case"xlinkHref":W3(X,N,"xlink:href",A,J,Z);continue;case"contentEditable":z3(X,N,"contenteditable",A,J,Z);continue;case"spellCheck":z3(X,N,"spellcheck",A,J,Z);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":z3(X,N,N,A,J,Z);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":HW(X,N,N.toLowerCase(),A,J,Z);continue;case"capture":case"download":X:{z=X;var q=H=N,D=Z;if(J.delete(q),z=z.getAttribute(q),z===null)switch(typeof A){case"undefined":case"function":case"symbol":break X;default:if(A===!1)break X}else if(A!=null)switch(typeof A){case"function":case"symbol":break;case"boolean":if(A===!0&&z==="")break X;break;default:if(r0(A,H),z===""+A)break X}m5(H,z,A,D)}continue;case"cols":case"rows":case"size":case"span":X:{if(z=X,q=H=N,D=Z,J.delete(q),z=z.getAttribute(q),z===null)switch(typeof A){case"undefined":case"function":case"symbol":case"boolean":break X;default:if(isNaN(A)||1>A)break X}else if(A!=null)switch(typeof A){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(A)||1>A)&&(r0(A,H),z===""+A))break X}m5(H,z,A,D)}continue;case"rowSpan":UW(X,N,"rowspan",A,J,Z);continue;case"start":UW(X,N,N,A,J,Z);continue;case"xHeight":p4(X,N,"x-height",A,J,Z);continue;case"xlinkActuate":p4(X,N,"xlink:actuate",A,J,Z);continue;case"xlinkArcrole":p4(X,N,"xlink:arcrole",A,J,Z);continue;case"xlinkRole":p4(X,N,"xlink:role",A,J,Z);continue;case"xlinkShow":p4(X,N,"xlink:show",A,J,Z);continue;case"xlinkTitle":p4(X,N,"xlink:title",A,J,Z);continue;case"xlinkType":p4(X,N,"xlink:type",A,J,Z);continue;case"xmlBase":p4(X,N,"xml:base",A,J,Z);continue;case"xmlLang":p4(X,N,"xml:lang",A,J,Z);continue;case"xmlSpace":p4(X,N,"xml:space",A,J,Z);continue;case"inert":A!==""||u1[N]||(u1[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)),HW(X,N,N,A,J,Z);continue;default:if(!(2<N.length)||N[0]!=="o"&&N[0]!=="O"||N[1]!=="n"&&N[1]!=="N"){z=WH(N),H=!1,G.context===V2&&$!=="svg"&&$!=="math"?J.delete(z.toLowerCase()):(q=N.toLowerCase(),q=X1.hasOwnProperty(q)?X1[q]||null:null,q!==null&&q!==N&&(H=!0,J.delete(q)),J.delete(z));X:if(q=X,D=z,z=A,s8(D))if(q.hasAttribute(D))q=q.getAttribute(D),r0(z,D),z=q===""+z?z:q;else{switch(typeof z){case"function":case"symbol":break X;case"boolean":if(q=D.toLowerCase().slice(0,5),q!=="data-"&&q!=="aria-")break X}z=z===void 0?void 0:null}else z=void 0;H||m5(N,z,A,Z)}}}return 0<J.size&&Y.suppressHydrationWarning!==!0&&xK(X,J,Z),Object.keys(Z).length===0?null:Z}function vK(X,$){switch(X.length){case 0:return"";case 1:return X[0];case 2:return X[0]+" "+$+" "+X[1];default:return X.slice(0,-1).join(", ")+", "+$+" "+X[X.length-1]}}function WW(X){switch(X){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function gK(){if(typeof performance.getEntriesByType==="function"){for(var X=0,$=0,Y=performance.getEntriesByType("resource"),G=0;G<Y.length;G++){var Z=Y[G],J=Z.transferSize,H=Z.initiatorType,z=Z.duration;if(J&&z&&WW(H)){H=0,z=Z.responseEnd;for(G+=1;G<Y.length;G++){var A=Y[G],N=A.startTime;if(N>z)break;var{transferSize:q,initiatorType:D}=A;q&&WW(D)&&(A=A.responseEnd,H+=q*(A<z?1:(z-N)/(A-N)))}if(--G,$+=8*(J+H)/(Z.duration/1000),X++,10<X)break}}if(0<X)return $/X/1e6}return navigator.connection&&(X=navigator.connection.downlink,typeof X==="number")?X:5}function bY(X){return X.nodeType===9?X:X.ownerDocument}function _W(X){switch(X){case oX:return q8;case eY:return l1;default:return V2}}function AW(X,$){if(X===V2)switch($){case"svg":return q8;case"math":return l1;default:return V2}return X===q8&&$==="foreignObject"?V2:X}function _3(X,$){return X==="textarea"||X==="noscript"||typeof $.children==="string"||typeof $.children==="number"||typeof $.children==="bigint"||typeof $.dangerouslySetInnerHTML==="object"&&$.dangerouslySetInnerHTML!==null&&$.dangerouslySetInnerHTML.__html!=null}function bK(){var X=window.event;if(X&&X.type==="popstate"){if(X===iJ)return!1;return iJ=X,!0}return iJ=null,!1}function I9(){var X=window.event;return X&&X!==M$?X.type:null}function P9(){var X=window.event;return X&&X!==M$?X.timeStamp:-1.1}function mK(X){setTimeout(function(){throw X})}function fK(X,$,Y){switch($){case"button":case"input":case"select":case"textarea":Y.autoFocus&&X.focus();break;case"img":Y.src?X.src=Y.src:Y.srcSet&&(X.srcset=Y.srcSet)}}function hK(){}function yK(X,$,Y,G){kK(X,$,Y,G),X[Z4]=G}function LW(X){n8(X,"")}function dK(X,$,Y){X.nodeValue=Y}function NW(X){if(!X.__reactWarnedAboutChildrenConflict){var $=X[Z4]||null;if($!==null){var Y=w0(X);Y!==null&&(typeof $.children==="string"||typeof $.children==="number"?(X.__reactWarnedAboutChildrenConflict=!0,n(Y,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.')})):$.dangerouslySetInnerHTML!=null&&(X.__reactWarnedAboutChildrenConflict=!0,n(Y,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 c2(X){return X==="head"}function uK(X,$){X.removeChild($)}function pK(X,$){(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X).removeChild($)}function QW(X,$){var Y=$,G=0;do{var Z=Y.nextSibling;if(X.removeChild(Y),Z&&Z.nodeType===8)if(Y=Z.data,Y===F$||Y===p1){if(G===0){X.removeChild(Z),lX($);return}G--}else if(Y===K$||Y===Q7||Y===WX||Y===O8||Y===zX)G++;else if(Y===aM)V9(X.ownerDocument.documentElement);else if(Y===oM){Y=X.ownerDocument.head,V9(Y);for(var J=Y.firstChild;J;){var{nextSibling:H,nodeName:z}=J;J[S9]||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&J.rel.toLowerCase()==="stylesheet"||Y.removeChild(J),J=H}}else Y===nM&&V9(X.ownerDocument.body);Y=Z}while(Y);lX($)}function KW(X,$){var Y=X;X=0;do{var G=Y.nextSibling;if(Y.nodeType===1?$?(Y._stashedDisplay=Y.style.display,Y.style.display="none"):(Y.style.display=Y._stashedDisplay||"",Y.getAttribute("style")===""&&Y.removeAttribute("style")):Y.nodeType===3&&($?(Y._stashedText=Y.nodeValue,Y.nodeValue=""):Y.nodeValue=Y._stashedText||""),G&&G.nodeType===8)if(Y=G.data,Y===F$)if(X===0)break;else X--;else Y!==K$&&Y!==Q7&&Y!==WX&&Y!==O8||X++;Y=G}while(Y)}function lK(X){KW(X,!0)}function cK(X){X=X.style,typeof X.setProperty==="function"?X.setProperty("display","none","important"):X.display="none"}function sK(X){X.nodeValue=""}function iK(X){KW(X,!1)}function aK(X,$){$=$[rM],$=$!==void 0&&$!==null&&$.hasOwnProperty("display")?$.display:null,X.style.display=$==null||typeof $==="boolean"?"":(""+$).trim()}function nK(X,$){X.nodeValue=$}function A3(X){var $=X.firstChild;$&&$.nodeType===10&&($=$.nextSibling);for(;$;){var Y=$;switch($=$.nextSibling,Y.nodeName){case"HTML":case"HEAD":case"BODY":A3(Y),s(Y);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(Y.rel.toLowerCase()==="stylesheet")continue}X.removeChild(Y)}}function oK(X,$,Y,G){for(;X.nodeType===1;){var Z=Y;if(X.nodeName.toLowerCase()!==$.toLowerCase()){if(!G&&(X.nodeName!=="INPUT"||X.type!=="hidden"))break}else if(!G)if($==="input"&&X.type==="hidden"){r0(Z.name,"name");var J=Z.name==null?null:""+Z.name;if(Z.type==="hidden"&&X.getAttribute("name")===J)return X}else return X;else if(!X[S9])switch($){case"meta":if(!X.hasAttribute("itemprop"))break;return X;case"link":if(J=X.getAttribute("rel"),J==="stylesheet"&&X.hasAttribute("data-precedence"))break;else if(J!==Z.rel||X.getAttribute("href")!==(Z.href==null||Z.href===""?null:Z.href)||X.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin)||X.getAttribute("title")!==(Z.title==null?null:Z.title))break;return X;case"style":if(X.hasAttribute("data-precedence"))break;return X;case"script":if(J=X.getAttribute("src"),(J!==(Z.src==null?null:Z.src)||X.getAttribute("type")!==(Z.type==null?null:Z.type)||X.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin))&&J&&X.hasAttribute("async")&&!X.hasAttribute("itemprop"))break;return X;default:return X}if(X=x4(X.nextSibling),X===null)break}return null}function rK(X,$,Y){if($==="")return null;for(;X.nodeType!==3;){if((X.nodeType!==1||X.nodeName!=="INPUT"||X.type!=="hidden")&&!Y)return null;if(X=x4(X.nextSibling),X===null)return null}return X}function FW(X,$){for(;X.nodeType!==8;){if((X.nodeType!==1||X.nodeName!=="INPUT"||X.type!=="hidden")&&!$)return null;if(X=x4(X.nextSibling),X===null)return null}return X}function L3(X){return X.data===Q7||X.data===WX}function N3(X){return X.data===O8||X.data===Q7&&X.ownerDocument.readyState!==BL}function tK(X,$){var Y=X.ownerDocument;if(X.data===WX)X._reactRetry=$;else if(X.data!==Q7||Y.readyState!==BL)$();else{var G=function(){$(),Y.removeEventListener("DOMContentLoaded",G)};Y.addEventListener("DOMContentLoaded",G),X._reactRetry=G}}function x4(X){for(;X!=null;X=X.nextSibling){var $=X.nodeType;if($===1||$===3)break;if($===8){if($=X.data,$===K$||$===O8||$===Q7||$===WX||$===zX||$===lJ||$===JL)break;if($===F$||$===p1)return null}}return X}function MW(X){if(X.nodeType===1){for(var $=X.nodeName.toLowerCase(),Y={},G=X.attributes,Z=0;Z<G.length;Z++){var J=G[Z];Y[JW(J.name)]=J.name.toLowerCase()==="style"?U3(X):J.value}return{type:$,props:Y}}return X.nodeType===8?X.data===zX?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:X.nodeValue}function wW(X,$,Y){return Y===null||Y[iM]!==!0?(X.nodeValue===$?X=null:($=l2($),X=l2(X.nodeValue)===$?null:X.nodeValue),X):null}function Q3(X){X=X.nextSibling;for(var $=0;X;){if(X.nodeType===8){var Y=X.data;if(Y===F$||Y===p1){if($===0)return x4(X.nextSibling);$--}else Y!==K$&&Y!==O8&&Y!==Q7&&Y!==WX&&Y!==zX||$++}X=X.nextSibling}return null}function TW(X){X=X.previousSibling;for(var $=0;X;){if(X.nodeType===8){var Y=X.data;if(Y===K$||Y===O8||Y===Q7||Y===WX||Y===zX){if($===0)return X;$--}else Y!==F$&&Y!==p1||$++}X=X.previousSibling}return null}function eK(X){lX(X)}function XF(X){lX(X)}function $F(X){lX(X)}function RW(X,$,Y,G,Z){switch(Z&&qG(X,G.ancestorInfo),$=bY(Y),X){case"html":if(X=$.documentElement,!X)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 X;case"head":if(X=$.head,!X)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 X;case"body":if(X=$.body,!X)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 X;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function YF(X,$,Y,G){if(!Y[n2]&&w0(Y)){var Z=Y.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.",Z,Z,Z)}switch(X){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(Z=Y.attributes;Z.length;)Y.removeAttributeNode(Z[0]);l5(Y,X,$),Y[c5]=G,Y[Z4]=$}function V9(X){for(var $=X.attributes;$.length;)X.removeAttributeNode($[0]);s(X)}function mY(X){return typeof X.getRootNode==="function"?X.getRootNode():X.nodeType===9?X:X.ownerDocument}function IW(X,$,Y){var G=D8;if(G&&typeof $==="string"&&$){var Z=u4($);Z='link[rel="'+X+'"][href="'+Z+'"]',typeof Y==="string"&&(Z+='[crossorigin="'+Y+'"]'),AL.has(Z)||(AL.add(Z),X={rel:X,crossOrigin:Y,href:$},G.querySelector(Z)===null&&($=G.createElement("link"),l5($,"link",X),U0($),G.head.appendChild($)))}}function PW(X,$,Y,G){var Z=(Z=i2.current)?mY(Z):null;if(!Z)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(X){case"meta":case"title":return null;case"style":return typeof Y.precedence==="string"&&typeof Y.href==="string"?(Y=uX(Y.href),$=d0(Z).hoistableStyles,G=$.get(Y),G||(G={type:"style",instance:null,count:0,state:null},$.set(Y,G)),G):{type:"void",instance:null,count:0,state:null};case"link":if(Y.rel==="stylesheet"&&typeof Y.href==="string"&&typeof Y.precedence==="string"){X=uX(Y.href);var J=d0(Z).hoistableStyles,H=J.get(X);if(!H&&(Z=Z.ownerDocument||Z,H={type:"stylesheet",instance:null,count:0,state:{loading:AX,preload:null}},J.set(X,H),(J=Z.querySelector(O9(X)))&&!J._p&&(H.instance=J,H.state.loading=w$|X6),!$6.has(X))){var z={rel:"preload",as:"style",href:Y.href,crossOrigin:Y.crossOrigin,integrity:Y.integrity,media:Y.media,hrefLang:Y.hrefLang,referrerPolicy:Y.referrerPolicy};$6.set(X,z),J||GF(Z,X,z,H.state)}if($&&G===null)throw Y=`
- `+fY($)+`
+ `+fY(Y),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."+Y);return H}if($&&G!==null)throw Y=`
- `+fY($)+`
+ `+fY(Y),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."+Y);return null;case"script":return $=Y.async,Y=Y.src,typeof Y==="string"&&$&&typeof $!=="function"&&typeof $!=="symbol"?(Y=pX(Y),$=d0(Z).hoistableScripts,G=$.get(Y),G||(G={type:"script",instance:null,count:0,state:null},$.set(Y,G)),G):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+X+'". this is a bug in React.')}}function fY(X){var $=0,Y="<link";return typeof X.rel==="string"?($++,Y+=' rel="'+X.rel+'"'):W6.call(X,"rel")&&($++,Y+=' rel="'+(X.rel===null?"null":"invalid type "+typeof X.rel)+'"'),typeof X.href==="string"?($++,Y+=' href="'+X.href+'"'):W6.call(X,"href")&&($++,Y+=' href="'+(X.href===null?"null":"invalid type "+typeof X.href)+'"'),typeof X.precedence==="string"?($++,Y+=' precedence="'+X.precedence+'"'):W6.call(X,"precedence")&&($++,Y+=" precedence={"+(X.precedence===null?"null":"invalid type "+typeof X.precedence)+"}"),Object.getOwnPropertyNames(X).length>$&&(Y+=" ..."),Y+" />"}function uX(X){return'href="'+u4(X)+'"'}function O9(X){return'link[rel="stylesheet"]['+X+"]"}function VW(X){return S0({},X,{"data-precedence":X.precedence,precedence:null})}function GF(X,$,Y,G){X.querySelector('link[rel="preload"][as="style"]['+$+"]")?G.loading=w$:($=X.createElement("link"),G.preload=$,$.addEventListener("load",function(){return G.loading|=w$}),$.addEventListener("error",function(){return G.loading|=WL}),l5($,"link",Y),U0($),X.head.appendChild($))}function pX(X){return'[src="'+u4(X)+'"]'}function q9(X){return"script[async]"+X}function OW(X,$,Y){if($.count++,$.instance===null)switch($.type){case"style":var G=X.querySelector('style[data-href~="'+u4(Y.href)+'"]');if(G)return $.instance=G,U0(G),G;var Z=S0({},Y,{"data-href":Y.href,"data-precedence":Y.precedence,href:null,precedence:null});return G=(X.ownerDocument||X).createElement("style"),U0(G),l5(G,"style",Z),hY(G,Y.precedence,X),$.instance=G;case"stylesheet":Z=uX(Y.href);var J=X.querySelector(O9(Z));if(J)return $.state.loading|=X6,$.instance=J,U0(J),J;G=VW(Y),(Z=$6.get(Z))&&K3(G,Z),J=(X.ownerDocument||X).createElement("link"),U0(J);var H=J;return H._p=new Promise(function(z,A){H.onload=z,H.onerror=A}),l5(J,"link",G),$.state.loading|=X6,hY(J,Y.precedence,X),$.instance=J;case"script":if(J=pX(Y.src),Z=X.querySelector(q9(J)))return $.instance=Z,U0(Z),Z;if(G=Y,Z=$6.get(J))G=S0({},Y),F3(G,Z);return X=X.ownerDocument||X,Z=X.createElement("script"),U0(Z),l5(Z,"link",G),X.head.appendChild(Z),$.instance=Z;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+$.type+'". this is a bug in React.')}else $.type==="stylesheet"&&($.state.loading&X6)===AX&&(G=$.instance,$.state.loading|=X6,hY(G,Y.precedence,X));return $.instance}function hY(X,$,Y){for(var G=Y.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),Z=G.length?G[G.length-1]:null,J=Z,H=0;H<G.length;H++){var z=G[H];if(z.dataset.precedence===$)J=z;else if(J!==Z)break}J?J.parentNode.insertBefore(X,J.nextSibling):($=Y.nodeType===9?Y.head:Y,$.insertBefore(X,$.firstChild))}function K3(X,$){X.crossOrigin==null&&(X.crossOrigin=$.crossOrigin),X.referrerPolicy==null&&(X.referrerPolicy=$.referrerPolicy),X.title==null&&(X.title=$.title)}function F3(X,$){X.crossOrigin==null&&(X.crossOrigin=$.crossOrigin),X.referrerPolicy==null&&(X.referrerPolicy=$.referrerPolicy),X.integrity==null&&(X.integrity=$.integrity)}function qW(X,$,Y){if(c1===null){var G=new Map,Z=c1=new Map;Z.set(Y,G)}else Z=c1,G=Z.get(Y),G||(G=new Map,Z.set(Y,G));if(G.has(X))return G;G.set(X,null),Y=Y.getElementsByTagName(X);for(Z=0;Z<Y.length;Z++){var J=Y[Z];if(!(J[S9]||J[c5]||X==="link"&&J.getAttribute("rel")==="stylesheet")&&J.namespaceURI!==oX){var H=J.getAttribute($)||"";H=X+H;var z=G.get(H);z?z.push(J):G.set(H,[J])}}return G}function DW(X,$,Y){X=X.ownerDocument||X,X.head.insertBefore(Y,$==="title"?X.querySelector("head > title"):null)}function ZF(X,$,Y){var G=!Y.ancestorInfo.containerTagInScope;if(Y.context===q8||$.itemProp!=null)return!G||$.itemProp==null||X!=="meta"&&X!=="title"&&X!=="style"&&X!=="link"&&X!=="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.",X,X),!1;switch(X){case"meta":case"title":return!0;case"style":if(typeof $.precedence!=="string"||typeof $.href!=="string"||$.href===""){G&&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 $.rel!=="string"||typeof $.href!=="string"||$.href===""||$.onLoad||$.onError){if($.rel==="stylesheet"&&typeof $.precedence==="string"){X=$.href;var{onError:Z,disabled:J}=$;Y=[],$.onLoad&&Y.push("`onLoad`"),Z&&Y.push("`onError`"),J!=null&&Y.push("`disabled`"),Z=vK(Y,"and"),Z+=Y.length===1?" prop":" props",J=Y.length===1?"an "+Z:"the "+Z,Y.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.',X,J,Z)}G&&(typeof $.rel!=="string"||typeof $.href!=="string"||$.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"):($.onError||$.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($.rel){case"stylesheet":return X=$.precedence,$=$.disabled,typeof X!=="string"&&G&&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 X==="string"&&$==null;default:return!0}case"script":if(X=$.async&&typeof $.async!=="function"&&typeof $.async!=="symbol",!X||$.onLoad||$.onError||!$.src||typeof $.src!=="string"){G&&(X?$.onLoad||$.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":G&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",X)}return!1}function CW(X){return X.type==="stylesheet"&&(X.state.loading&_L)===AX?!1:!0}function JF(X,$,Y,G){if(Y.type==="stylesheet"&&(typeof G.media!=="string"||matchMedia(G.media).matches!==!1)&&(Y.state.loading&X6)===AX){if(Y.instance===null){var Z=uX(G.href),J=$.querySelector(O9(Z));if(J){$=J._p,$!==null&&typeof $==="object"&&typeof $.then==="function"&&(X.count++,X=yY.bind(X),$.then(X,X)),Y.state.loading|=X6,Y.instance=J,U0(J);return}J=$.ownerDocument||$,G=VW(G),(Z=$6.get(Z))&&K3(G,Z),J=J.createElement("link"),U0(J);var H=J;H._p=new Promise(function(z,A){H.onload=z,H.onerror=A}),l5(J,"link",G),Y.instance=J}X.stylesheets===null&&(X.stylesheets=new Map),X.stylesheets.set(Y,$),($=Y.state.preload)&&(Y.state.loading&_L)===AX&&(X.count++,Y=yY.bind(X),$.addEventListener("load",Y),$.addEventListener("error",Y))}}function BF(X,$){return X.stylesheets&&X.count===0&&dY(X,X.stylesheets),0<X.count||0<X.imgCount?function(Y){var G=setTimeout(function(){if(X.stylesheets&&dY(X,X.stylesheets),X.unsuspend){var J=X.unsuspend;X.unsuspend=null,J()}},Xw+$);0<X.imgBytes&&nJ===0&&(nJ=125*gK()*Yw);var Z=setTimeout(function(){if(X.waitingForImages=!1,X.count===0&&(X.stylesheets&&dY(X,X.stylesheets),X.unsuspend)){var J=X.unsuspend;X.unsuspend=null,J()}},(X.imgBytes>nJ?50:$w)+$);return X.unsuspend=Y,function(){X.unsuspend=null,clearTimeout(G),clearTimeout(Z)}}:null}function yY(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)dY(this,this.stylesheets);else if(this.unsuspend){var X=this.unsuspend;this.unsuspend=null,X()}}}function dY(X,$){X.stylesheets=null,X.unsuspend!==null&&(X.count++,s1=new Map,$.forEach(HF,X),s1=null,yY.call(X))}function HF(X,$){if(!($.state.loading&X6)){var Y=s1.get(X);if(Y)var G=Y.get(oJ);else{Y=new Map,s1.set(X,Y);for(var Z=X.querySelectorAll("link[data-precedence],style[data-precedence]"),J=0;J<Z.length;J++){var H=Z[J];if(H.nodeName==="LINK"||H.getAttribute("media")!=="not all")Y.set(H.dataset.precedence,H),G=H}G&&Y.set(oJ,G)}Z=$.instance,H=Z.getAttribute("data-precedence"),J=Y.get(H)||G,J===G&&Y.set(oJ,Z),Y.set(H,Z),this.count++,G=yY.bind(this),Z.addEventListener("load",G),Z.addEventListener("error",G),J?J.parentNode.insertBefore(Z,J.nextSibling):(X=X.nodeType===9?X.head:X,X.insertBefore(Z,X.firstChild)),$.state.loading|=X6}}function UF(X,$,Y,G,Z,J,H,z,A){this.tag=1,this.containerInfo=X,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=_X,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=qX(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qX(0),this.hiddenUpdates=qX(null),this.identifierPrefix=G,this.onUncaughtError=Z,this.onCaughtError=J,this.onRecoverableError=H,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,X=this.pendingUpdatersLaneMap=[];for($=0;31>$;$++)X.push(new Set);this._debugRootType=Y?"hydrateRoot()":"createRoot()"}function EW(X,$,Y,G,Z,J,H,z,A,N,q,D){return X=new UF(X,$,Y,H,A,N,q,D,z),$=DM,J===!0&&($|=e5|A6),$|=q0,J=E(3,null,null,$),X.current=J,J.stateNode=X,$=cG(),f7($),X.pooledCache=$,f7($),J.memoizedState={element:G,isDehydrated:Y,cache:$},oG(J),X}function jW(X){if(!X)return e2;return X=e2,X}function M3(X,$,Y,G,Z,J){if(t5&&typeof t5.onScheduleFiberRoot==="function")try{t5.onScheduleFiberRoot(aX,G,Y)}catch(H){y6||(y6=!0,console.error("React instrumentation encountered an error: %o",H))}Z=jW(Z),G.context===null?G.context=Z:G.pendingContext=Z,h6&&v4!==null&&!KL&&(KL=!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.
Check the render method of %s.`,p(v4)||"Unknown")),G=f2($),G.payload={element:Y},J=J===void 0?null:J,J!==null&&(typeof J!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",J),G.callback=J),Y=h2(X,G,$),Y!==null&&(V6($,"root.render()",null),M5(Y,X,$),B9(Y,X,$))}function SW(X,$){if(X=X.memoizedState,X!==null&&X.dehydrated!==null){var Y=X.retryLane;X.retryLane=Y!==0&&Y<$?Y:$}}function w3(X,$){SW(X,$),(X=X.alternate)&&SW(X,$)}function xW(X){if(X.tag===13||X.tag===31){var $=r5(X,67108864);$!==null&&M5($,X,67108864),w3(X,67108864)}}function kW(X){if(X.tag===13||X.tag===31){var $=S4(X);$=E7($);var Y=r5(X,$);Y!==null&&M5(Y,X,$),w3(X,$)}}function zF(){return v4}function WF(X,$,Y,G){var Z=g.T;g.T=null;var J=s0.p;try{s0.p=g4,T3(X,$,Y,G)}finally{s0.p=J,g.T=Z}}function _F(X,$,Y,G){var Z=g.T;g.T=null;var J=s0.p;try{s0.p=_6,T3(X,$,Y,G)}finally{s0.p=J,g.T=Z}}function T3(X,$,Y,G){if(a1){var Z=R3(G);if(Z===null)J3(X,$,G,n1,Y),gW(X,G);else if(AF(Z,X,$,Y,G))G.stopPropagation();else if(gW(X,G),$&4&&-1<Zw.indexOf(X)){for(;Z!==null;){var J=w0(Z);if(J!==null)switch(J.tag){case 3:if(J=J.stateNode,J.current.memoizedState.isDehydrated){var H=T6(J.pendingLanes);if(H!==0){var z=J;z.pendingLanes|=2;for(z.entangledLanes|=2;H;){var A=1<<31-G4(H);z.entanglements[1]|=A,H&=~A}g6(J),(h0&(g5|h4))===d5&&(S1=f5()+lA,T9(0,!1))}}break;case 31:case 13:z=r5(J,2),z!==null&&M5(z,J,2),hX(),w3(J,2)}if(J=R3(G),J===null&&J3(X,$,G,n1,Y),J===Z)break;Z=J}Z!==null&&G.stopPropagation()}else J3(X,$,G,null,Y)}}function R3(X){return X=DG(X),I3(X)}function I3(X){if(n1=null,X=$0(X),X!==null){var $=o(X);if($===null)X=null;else{var Y=$.tag;if(Y===13){if(X=t($),X!==null)return X;X=null}else if(Y===31){if(X=X0($),X!==null)return X;X=null}else if(Y===3){if($.stateNode.current.memoizedState.isDehydrated)return $.tag===3?$.stateNode.containerInfo:null;X=null}else $!==X&&(X=null)}}return n1=X,null}function vW(X){switch(X){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 g4;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 _6;case"message":switch(RF()){case g3:return g4;case b3:return _6;case iX:case IF:return u6;case m3:return rY;default:return u6}default:return u6}}function gW(X,$){switch(X){case"focusin":case"focusout":K7=null;break;case"dragenter":case"dragleave":F7=null;break;case"mouseover":case"mouseout":M7=null;break;case"pointerover":case"pointerout":R$.delete($.pointerId);break;case"gotpointercapture":case"lostpointercapture":I$.delete($.pointerId)}}function D9(X,$,Y,G,Z,J){if(X===null||X.nativeEvent!==J)return X={blockedOn:$,domEventName:Y,eventSystemFlags:G,nativeEvent:J,targetContainers:[Z]},$!==null&&($=w0($),$!==null&&xW($)),X;return X.eventSystemFlags|=G,$=X.targetContainers,Z!==null&&$.indexOf(Z)===-1&&$.push(Z),X}function AF(X,$,Y,G,Z){switch($){case"focusin":return K7=D9(K7,X,$,Y,G,Z),!0;case"dragenter":return F7=D9(F7,X,$,Y,G,Z),!0;case"mouseover":return M7=D9(M7,X,$,Y,G,Z),!0;case"pointerover":var J=Z.pointerId;return R$.set(J,D9(R$.get(J)||null,X,$,Y,G,Z)),!0;case"gotpointercapture":return J=Z.pointerId,I$.set(J,D9(I$.get(J)||null,X,$,Y,G,Z)),!0}return!1}function bW(X){var $=$0(X.target);if($!==null){var Y=o($);if(Y!==null){if($=Y.tag,$===13){if($=t(Y),$!==null){X.blockedOn=$,d(X.priority,function(){kW(Y)});return}}else if($===31){if($=X0(Y),$!==null){X.blockedOn=$,d(X.priority,function(){kW(Y)});return}}else if($===3&&Y.stateNode.current.memoizedState.isDehydrated){X.blockedOn=Y.tag===3?Y.stateNode.containerInfo:null;return}}}X.blockedOn=null}function uY(X){if(X.blockedOn!==null)return!1;for(var $=X.targetContainers;0<$.length;){var Y=R3(X.nativeEvent);if(Y===null){Y=X.nativeEvent;var G=new Y.constructor(Y.type,Y),Z=G;x9!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),x9=Z,Y.target.dispatchEvent(G),x9===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."),x9=null}else return $=w0(Y),$!==null&&xW($),X.blockedOn=Y,!1;$.shift()}return!0}function mW(X,$,Y){uY(X)&&Y.delete($)}function LF(){rJ=!1,K7!==null&&uY(K7)&&(K7=null),F7!==null&&uY(F7)&&(F7=null),M7!==null&&uY(M7)&&(M7=null),R$.forEach(mW),I$.forEach(mW)}function pY(X,$){X.blockedOn===$&&(X.blockedOn=null,rJ||(rJ=!0,u0.unstable_scheduleCallback(u0.unstable_NormalPriority,LF)))}function fW(X){o1!==X&&(o1=X,u0.unstable_scheduleCallback(u0.unstable_NormalPriority,function(){o1===X&&(o1=null);for(var $=0;$<X.length;$+=3){var Y=X[$],G=X[$+1],Z=X[$+2];if(typeof G!=="function")if(I3(G||Y)===null)continue;else break;var J=w0(Y);J!==null&&(X.splice($,3),$-=3,Y={pending:!0,data:Z,method:Y.method,action:G},Object.freeze(Y),IZ(J,Y,G,Z))}}))}function lX(X){function $(A){return pY(A,X)}K7!==null&&pY(K7,X),F7!==null&&pY(F7,X),M7!==null&&pY(M7,X),R$.forEach($),I$.forEach($);for(var Y=0;Y<w7.length;Y++){var G=w7[Y];G.blockedOn===X&&(G.blockedOn=null)}for(;0<w7.length&&(Y=w7[0],Y.blockedOn===null);)bW(Y),Y.blockedOn===null&&w7.shift();if(Y=(X.ownerDocument||X).$$reactFormReplay,Y!=null)for(G=0;G<Y.length;G+=3){var Z=Y[G],J=Y[G+1],H=Z[Z4]||null;if(typeof J==="function")H||fW(Y);else if(H){var z=null;if(J&&J.hasAttribute("formAction")){if(Z=J,H=J[Z4]||null)z=H.formAction;else if(I3(Z)!==null)continue}else z=H.action;typeof z==="function"?Y[G+1]=z:(Y.splice(G,3),G-=3),fW(Y)}}}function hW(){function X(J){J.canIntercept&&J.info==="react-transition"&&J.intercept({handler:function(){return new Promise(function(H){return Z=H})},focusReset:"manual",scroll:"manual"})}function $(){Z!==null&&(Z(),Z=null),G||setTimeout(Y,20)}function Y(){if(!G&&!navigation.transition){var J=navigation.currentEntry;J&&J.url!=null&&navigation.navigate(J.url,{state:J.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var G=!1,Z=null;return navigation.addEventListener("navigate",X),navigation.addEventListener("navigatesuccess",$),navigation.addEventListener("navigateerror",$),setTimeout(Y,100),function(){G=!0,navigation.removeEventListener("navigate",X),navigation.removeEventListener("navigatesuccess",$),navigation.removeEventListener("navigateerror",$),Z!==null&&(Z(),Z=null)}}}function P3(X){this._internalRoot=X}function lY(X){this._internalRoot=X}function yW(X){X[n2]&&(X._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 S0=Object.assign,NF=Symbol.for("react.element"),m6=Symbol.for("react.transitional.element"),cX=Symbol.for("react.portal"),sX=Symbol.for("react.fragment"),cY=Symbol.for("react.strict_mode"),V3=Symbol.for("react.profiler"),O3=Symbol.for("react.consumer"),f6=Symbol.for("react.context"),C9=Symbol.for("react.forward_ref"),q3=Symbol.for("react.suspense"),D3=Symbol.for("react.suspense_list"),sY=Symbol.for("react.memo"),k4=Symbol.for("react.lazy"),C3=Symbol.for("react.activity"),QF=Symbol.for("react.memo_cache_sentinel"),dW=Symbol.iterator,KF=Symbol.for("react.client.reference"),k5=Array.isArray,g=C8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s0=eJ.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,FF=Object.freeze({pending:!1,data:null,method:null,action:null}),E3=[],j3=[],W2=-1,s2=o0(null),E9=o0(null),i2=o0(null),iY=o0(null),j9=0,uW,pW,lW,cW,sW,iW,aW;V.__reactDisabledLog=!0;var S3,nW,x3=!1,k3=new(typeof WeakMap==="function"?WeakMap:Map),v4=null,h6=!1,W6=Object.prototype.hasOwnProperty,v3=u0.unstable_scheduleCallback,MF=u0.unstable_cancelCallback,wF=u0.unstable_shouldYield,TF=u0.unstable_requestPaint,f5=u0.unstable_now,RF=u0.unstable_getCurrentPriorityLevel,g3=u0.unstable_ImmediatePriority,b3=u0.unstable_UserBlockingPriority,iX=u0.unstable_NormalPriority,IF=u0.unstable_LowPriority,m3=u0.unstable_IdlePriority,PF=u0.log,VF=u0.unstable_setDisableYieldValue,aX=null,t5=null,y6=!1,d6=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",G4=Math.clz32?Math.clz32:g$,OF=Math.log,qF=Math.LN2,aY=256,nY=262144,oY=4194304,g4=2,_6=8,u6=32,rY=268435456,a2=Math.random().toString(36).slice(2),c5="__reactFiber$"+a2,Z4="__reactProps$"+a2,n2="__reactContainer$"+a2,f3="__reactEvents$"+a2,DF="__reactListeners$"+a2,CF="__reactHandles$"+a2,oW="__reactResources$"+a2,S9="__reactMarker$"+a2,rW=new Set,c7={},h3={},EF={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},jF=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]*$"),tW={},eW={},SF=/[\n"\\]/g,X_=!1,$_=!1,Y_=!1,G_=!1,Z_=!1,J_=!1,B_=["value","defaultValue"],H_=!1,U_=/["'&<>\n\t]|^\s|\s$/,xF="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(" "),z_="applet caption html table td th marquee object template foreignObject desc title".split(" "),kF=z_.concat(["button"]),vF="dd dt li option optgroup p rp rt".split(" "),W_={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},tY={},y3={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"]},__=/([A-Z])/g,A_=/^ms-/,gF=/^(?:webkit|moz|o)[A-Z]/,bF=/^-ms-/,mF=/-(.)/g,L_=/;\s*$/,nX={},d3={},N_=!1,Q_=!1,K_=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(" ")),eY="http://www.w3.org/1998/Math/MathML",oX="http://www.w3.org/2000/svg",fF=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"]]),X1={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"},F_={"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},rX={},hF=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]*$"),yF=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]*$"),M_=!1,J4={},w_=/^on./,dF=/^on[^A-Z]/,uF=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]*$"),pF=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]*$"),lF=/^[\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,x9=null,tX=null,eX=null,u3=!1,p6=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p3=!1;if(p6)try{var k9={};Object.defineProperty(k9,"passive",{get:function(){p3=!0}}),window.addEventListener("test",k9,k9),window.removeEventListener("test",k9,k9)}catch(X){p3=!1}var o2=null,l3=null,$1=null,s7={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(X){return X.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Y1=N4(s7),v9=S0({},s7,{view:0,detail:0}),cF=N4(v9),c3,s3,g9,G1=S0({},v9,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:CG,button:0,buttons:0,relatedTarget:function(X){return X.relatedTarget===void 0?X.fromElement===X.srcElement?X.toElement:X.fromElement:X.relatedTarget},movementX:function(X){if("movementX"in X)return X.movementX;return X!==g9&&(g9&&X.type==="mousemove"?(c3=X.screenX-g9.screenX,s3=X.screenY-g9.screenY):s3=c3=0,g9=X),c3},movementY:function(X){return"movementY"in X?X.movementY:s3}}),T_=N4(G1),sF=S0({},G1,{dataTransfer:0}),iF=N4(sF),aF=S0({},v9,{relatedTarget:0}),i3=N4(aF),nF=S0({},s7,{animationName:0,elapsedTime:0,pseudoElement:0}),oF=N4(nF),rF=S0({},s7,{clipboardData:function(X){return"clipboardData"in X?X.clipboardData:window.clipboardData}}),tF=N4(rF),eF=S0({},s7,{data:0}),R_=N4(eF),XM=R_,$M={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},YM={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"},GM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},ZM=S0({},v9,{key:function(X){if(X.key){var $=$M[X.key]||X.key;if($!=="Unidentified")return $}return X.type==="keypress"?(X=u$(X),X===13?"Enter":String.fromCharCode(X)):X.type==="keydown"||X.type==="keyup"?YM[X.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:CG,charCode:function(X){return X.type==="keypress"?u$(X):0},keyCode:function(X){return X.type==="keydown"||X.type==="keyup"?X.keyCode:0},which:function(X){return X.type==="keypress"?u$(X):X.type==="keydown"||X.type==="keyup"?X.keyCode:0}}),JM=N4(ZM),BM=S0({},G1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),I_=N4(BM),HM=S0({},v9,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:CG}),UM=N4(HM),zM=S0({},s7,{propertyName:0,elapsedTime:0,pseudoElement:0}),WM=N4(zM),_M=S0({},G1,{deltaX:function(X){return"deltaX"in X?X.deltaX:("wheelDeltaX"in X)?-X.wheelDeltaX:0},deltaY:function(X){return"deltaY"in X?X.deltaY:("wheelDeltaY"in X)?-X.wheelDeltaY:("wheelDelta"in X)?-X.wheelDelta:0},deltaZ:0,deltaMode:0}),AM=N4(_M),LM=S0({},s7,{newState:0,oldState:0}),NM=N4(LM),QM=[9,13,27,32],P_=229,a3=p6&&"CompositionEvent"in window,b9=null;p6&&"documentMode"in document&&(b9=document.documentMode);var KM=p6&&"TextEvent"in window&&!b9,V_=p6&&(!a3||b9&&8<b9&&11>=b9),O_=32,q_=String.fromCharCode(O_),D_=!1,X8=!1,FM={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},m9=null,f9=null,C_=!1;p6&&(C_=fQ("input")&&(!document.documentMode||9<document.documentMode));var B4=typeof Object.is==="function"?Object.is:lQ,MM=p6&&"documentMode"in document&&11>=document.documentMode,$8=null,n3=null,h9=null,o3=!1,Y8={animationend:S7("Animation","AnimationEnd"),animationiteration:S7("Animation","AnimationIteration"),animationstart:S7("Animation","AnimationStart"),transitionrun:S7("Transition","TransitionRun"),transitionstart:S7("Transition","TransitionStart"),transitioncancel:S7("Transition","TransitionCancel"),transitionend:S7("Transition","TransitionEnd")},r3={},E_={};p6&&(E_=document.createElement("div").style,("AnimationEvent"in window)||(delete Y8.animationend.animation,delete Y8.animationiteration.animation,delete Y8.animationstart.animation),("TransitionEvent"in window)||delete Y8.transitionend.transition);var j_=x7("animationend"),S_=x7("animationiteration"),x_=x7("animationstart"),wM=x7("transitionrun"),TM=x7("transitionstart"),RM=x7("transitioncancel"),k_=x7("transitionend"),v_=new Map,t3="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(" ");t3.push("scrollEnd");var g_=0;if(typeof performance==="object"&&typeof performance.now==="function")var IM=performance,b_=function(){return IM.now()};else{var PM=Date;b_=function(){return PM.now()}}var e3=typeof reportError==="function"?reportError:function(X){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof X==="object"&&X!==null&&typeof X.message==="string"?String(X.message):String(X),error:X});if(!window.dispatchEvent($))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",X);return}console.error(X)},VM="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.",Z1=0,XJ=1,$J=2,YJ=3,J1=" ",B1="+ ",m_=" ",U5=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",l4="Components ⚛",x0="Scheduler ⚛",k0="Blocking",r2=!1,_2={color:"primary",properties:null,tooltipText:"",track:l4},t2={start:-0,end:-0,detail:{devtools:_2}},OM=["Changed Props",""],f_="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",qM=["Changed Props",f_],y9=1,A2=2,c4=[],G8=0,GJ=0,e2={};Object.freeze(e2);var s4=null,Z8=null,Q0=0,DM=1,q0=2,e5=8,A6=16,CM=32,h_=!1;try{var y_=Object.preventExtensions({})}catch(X){h_=!0}var ZJ=new WeakMap,J8=[],B8=0,H1=null,d9=0,i4=[],a4=0,i7=null,L2=1,N2="",s5=null,z5=null,v0=!1,l6=!1,b4=null,X7=null,n4=!1,JJ=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."),BJ=o0(null),HJ=o0(null),d_={},U1=null,H8=null,U8=!1,EM=typeof AbortController<"u"?AbortController:function(){var X=[],$=this.signal={aborted:!1,addEventListener:function(Y,G){X.push(G)}};this.abort=function(){$.aborted=!0,X.forEach(function(Y){return Y()})}},jM=u0.unstable_scheduleCallback,SM=u0.unstable_NormalPriority,q5={$$typeof:f6,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},D5=u0.unstable_now,z1=console.createTask?console.createTask:function(){return null},u9=1,W1=2,h5=-0,$7=-0,Q2=-0,K2=null,H4=-1.1,a7=-0,Q5=-0,z0=-1.1,L0=-1.1,A5=null,w5=!1,Y7=-0,c6=-1.1,p9=null,G7=0,UJ=null,zJ=null,n7=-1.1,l9=null,z8=-1.1,_1=-1.1,s6=-0,F2=-1.1,o4=-1.1,WJ=0,c9=null,u_=null,p_=null,Z7=-1.1,o7=null,J7=-1.1,A1=-1.1,l_=-0,c_=-0,L1=0,M2=null,s_=0,s9=-1.1,N1=!1,Q1=!1,i9=null,_J=0,r7=0,W8=null,i_=g.S;g.S=function(X,$){if(uA=f5(),typeof $==="object"&&$!==null&&typeof $.then==="function"){if(0>F2&&0>o4){F2=D5();var Y=P9(),G=I9();if(Y!==J7||G!==o7)J7=-1.1;Z7=Y,o7=G}rQ(X,$)}i_!==null&&i_(X,$)};var t7=o0(null),L6={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},a9=[],n9=[],o9=[],r9=[],t9=[],e9=[],e7=new Set;L6.recordUnsafeLifecycleWarnings=function(X,$){e7.has(X.type)||(typeof $.componentWillMount==="function"&&$.componentWillMount.__suppressDeprecationWarning!==!0&&a9.push(X),X.mode&e5&&typeof $.UNSAFE_componentWillMount==="function"&&n9.push(X),typeof $.componentWillReceiveProps==="function"&&$.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&o9.push(X),X.mode&e5&&typeof $.UNSAFE_componentWillReceiveProps==="function"&&r9.push(X),typeof $.componentWillUpdate==="function"&&$.componentWillUpdate.__suppressDeprecationWarning!==!0&&t9.push(X),X.mode&e5&&typeof $.UNSAFE_componentWillUpdate==="function"&&e9.push(X))},L6.flushPendingUnsafeLifecycleWarnings=function(){var X=new Set;0<a9.length&&(a9.forEach(function(z){X.add(p(z)||"Component"),e7.add(z.type)}),a9=[]);var $=new Set;0<n9.length&&(n9.forEach(function(z){$.add(p(z)||"Component"),e7.add(z.type)}),n9=[]);var Y=new Set;0<o9.length&&(o9.forEach(function(z){Y.add(p(z)||"Component"),e7.add(z.type)}),o9=[]);var G=new Set;0<r9.length&&(r9.forEach(function(z){G.add(p(z)||"Component"),e7.add(z.type)}),r9=[]);var Z=new Set;0<t9.length&&(t9.forEach(function(z){Z.add(p(z)||"Component"),e7.add(z.type)}),t9=[]);var J=new Set;if(0<e9.length&&(e9.forEach(function(z){J.add(p(z)||"Component"),e7.add(z.type)}),e9=[]),0<$.size){var H=M($);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.
* Move code with side effects to componentDidMount, and set initial state in the constructor.
Please update the following components: %s`,H)}0<G.size&&(H=M(G),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.
* Move data fetching code or side effects to componentDidUpdate.
* 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
Please update the following components: %s`,H)),0<J.size&&(H=M(J),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.
* Move data fetching code or side effects to componentDidUpdate.
Please update the following components: %s`,H)),0<X.size&&(H=M(X),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
* Move code with side effects to componentDidMount, and set initial state in the constructor.
* 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.
Please update the following components: %s`,H)),0<Y.size&&(H=M(Y),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* 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
* 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.
Please update the following components: %s`,H)),0<Z.size&&(H=M(Z),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* 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.
Please update the following components: %s`,H))};var K1=new Map,a_=new Set;L6.recordLegacyContextWarning=function(X,$){var Y=null;for(var G=X;G!==null;)G.mode&e5&&(Y=G),G=G.return;Y===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."):!a_.has(X.type)&&(G=K1.get(Y),X.type.contextTypes!=null||X.type.childContextTypes!=null||$!==null&&typeof $.getChildContext==="function")&&(G===void 0&&(G=[],K1.set(Y,G)),G.push(X))},L6.flushLegacyContextWarning=function(){K1.forEach(function(X){if(X.length!==0){var $=X[0],Y=new Set;X.forEach(function(Z){Y.add(p(Z)||"Component"),a_.add(Z.type)});var G=M(Y);n($,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
Please update the following components: %s
Learn more about this warning here: https://react.dev/link/legacy-context`,G)})}})},L6.discardPendingWarnings=function(){a9=[],n9=[],o9=[],r9=[],t9=[],e9=[],K1=new Map};var n_={react_stack_bottom_frame:function(X,$,Y){var G=h6;h6=!0;try{return X($,Y)}finally{h6=G}}},AJ=n_.react_stack_bottom_frame.bind(n_),o_={react_stack_bottom_frame:function(X){var $=h6;h6=!0;try{return X.render()}finally{h6=$}}},r_=o_.react_stack_bottom_frame.bind(o_),t_={react_stack_bottom_frame:function(X,$){try{$.componentDidMount()}catch(Y){c0(X,X.return,Y)}}},LJ=t_.react_stack_bottom_frame.bind(t_),e_={react_stack_bottom_frame:function(X,$,Y,G,Z){try{$.componentDidUpdate(Y,G,Z)}catch(J){c0(X,X.return,J)}}},XA=e_.react_stack_bottom_frame.bind(e_),$A={react_stack_bottom_frame:function(X,$){var Y=$.stack;X.componentDidCatch($.value,{componentStack:Y!==null?Y:""})}},xM=$A.react_stack_bottom_frame.bind($A),YA={react_stack_bottom_frame:function(X,$,Y){try{Y.componentWillUnmount()}catch(G){c0(X,$,G)}}},GA=YA.react_stack_bottom_frame.bind(YA),ZA={react_stack_bottom_frame:function(X){var $=X.create;return X=X.inst,$=$(),X.destroy=$}},kM=ZA.react_stack_bottom_frame.bind(ZA),JA={react_stack_bottom_frame:function(X,$,Y){try{Y()}catch(G){c0(X,$,G)}}},vM=JA.react_stack_bottom_frame.bind(JA),BA={react_stack_bottom_frame:function(X){var $=X._init;return $(X._payload)}},gM=BA.react_stack_bottom_frame.bind(BA),_8=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`."),NJ=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."),F1=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."),M1={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.')}},XX=null,X$=!1,A8=null,$$=0,D0=null,QJ,HA=QJ=!1,UA={},zA={},WA={};w=function(X,$,Y){if(Y!==null&&typeof Y==="object"&&Y._store&&(!Y._store.validated&&Y.key==null||Y._store.validated===2)){if(typeof Y._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.");Y._store.validated=1;var G=p(X),Z=G||"null";if(!UA[Z]){UA[Z]=!0,Y=Y._owner,X=X._debugOwner;var J="";X&&typeof X.tag==="number"&&(Z=p(X))&&(J=`
Check the render method of \``+Z+"`."),J||G&&(J=`
Check the top-level render call using <`+G+">.");var H="";Y!=null&&X!==Y&&(G=null,typeof Y.tag==="number"?G=p(Y):typeof Y.name==="string"&&(G=Y.name),G&&(H=" It was passed a child from "+G+".")),n($,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.',J,H)})}}};var $X=YU(!0),_A=YU(!1),AA=0,LA=1,NA=2,KJ=3,B7=!1,QA=!1,FJ=null,MJ=!1,L8=o0(null),w1=o0(0),m4=o0(null),r4=null,N8=1,Y$=2,P5=o0(0),T1=0,t4=1,U4=2,f4=4,z4=8,Q8,KA=new Set,FA=new Set,wJ=new Set,MA=new Set,w2=0,F0=null,$5=null,C5=null,R1=!1,K8=!1,YX=!1,I1=0,G$=0,T2=null,bM=0,mM=25,k=null,e4=null,R2=-1,Z$=!1,J$={readContext:_5,use:u2,useCallback:T5,useContext:T5,useEffect:T5,useImperativeHandle:T5,useLayoutEffect:T5,useInsertionEffect:T5,useMemo:T5,useReducer:T5,useRef:T5,useState:T5,useDebugValue:T5,useDeferredValue:T5,useTransition:T5,useSyncExternalStore:T5,useId:T5,useHostTransitionStatus:T5,useFormState:T5,useActionState:T5,useOptimistic:T5,useMemoCache:T5,useCacheRefresh:T5};J$.useEffectEvent=T5;var TJ=null,wA=null,RJ=null,TA=null,i6=null,N6=null,P1=null;TJ={readContext:function(X){return _5(X)},use:u2,useCallback:function(X,$){return k="useCallback",j0(),xX($),MZ(X,$)},useContext:function(X){return k="useContext",j0(),_5(X)},useEffect:function(X,$){return k="useEffect",j0(),xX($),KY(X,$)},useImperativeHandle:function(X,$,Y){return k="useImperativeHandle",j0(),xX(Y),FZ(X,$,Y)},useInsertionEffect:function(X,$){k="useInsertionEffect",j0(),xX($),y7(4,U4,X,$)},useLayoutEffect:function(X,$){return k="useLayoutEffect",j0(),xX($),KZ(X,$)},useMemo:function(X,$){k="useMemo",j0(),xX($);var Y=g.H;g.H=i6;try{return wZ(X,$)}finally{g.H=Y}},useReducer:function(X,$,Y){k="useReducer",j0();var G=g.H;g.H=i6;try{return HZ(X,$,Y)}finally{g.H=G}},useRef:function(X){return k="useRef",j0(),NZ(X)},useState:function(X){k="useState",j0();var $=g.H;g.H=i6;try{return _Z(X)}finally{g.H=$}},useDebugValue:function(){k="useDebugValue",j0()},useDeferredValue:function(X,$){return k="useDeferredValue",j0(),TZ(X,$)},useTransition:function(){return k="useTransition",j0(),PZ()},useSyncExternalStore:function(X,$,Y){return k="useSyncExternalStore",j0(),zZ(X,$,Y)},useId:function(){return k="useId",j0(),VZ()},useFormState:function(X,$){return k="useFormState",j0(),_Y(),vX(X,$)},useActionState:function(X,$){return k="useActionState",j0(),vX(X,$)},useOptimistic:function(X){return k="useOptimistic",j0(),AZ(X)},useHostTransitionStatus:d7,useMemoCache:h7,useCacheRefresh:function(){return k="useCacheRefresh",j0(),OZ()},useEffectEvent:function(X){return k="useEffectEvent",j0(),QZ(X)}},wA={readContext:function(X){return _5(X)},use:u2,useCallback:function(X,$){return k="useCallback",h(),MZ(X,$)},useContext:function(X){return k="useContext",h(),_5(X)},useEffect:function(X,$){return k="useEffect",h(),KY(X,$)},useImperativeHandle:function(X,$,Y){return k="useImperativeHandle",h(),FZ(X,$,Y)},useInsertionEffect:function(X,$){k="useInsertionEffect",h(),y7(4,U4,X,$)},useLayoutEffect:function(X,$){return k="useLayoutEffect",h(),KZ(X,$)},useMemo:function(X,$){k="useMemo",h();var Y=g.H;g.H=i6;try{return wZ(X,$)}finally{g.H=Y}},useReducer:function(X,$,Y){k="useReducer",h();var G=g.H;g.H=i6;try{return HZ(X,$,Y)}finally{g.H=G}},useRef:function(X){return k="useRef",h(),NZ(X)},useState:function(X){k="useState",h();var $=g.H;g.H=i6;try{return _Z(X)}finally{g.H=$}},useDebugValue:function(){k="useDebugValue",h()},useDeferredValue:function(X,$){return k="useDeferredValue",h(),TZ(X,$)},useTransition:function(){return k="useTransition",h(),PZ()},useSyncExternalStore:function(X,$,Y){return k="useSyncExternalStore",h(),zZ(X,$,Y)},useId:function(){return k="useId",h(),VZ()},useActionState:function(X,$){return k="useActionState",h(),vX(X,$)},useFormState:function(X,$){return k="useFormState",h(),_Y(),vX(X,$)},useOptimistic:function(X){return k="useOptimistic",h(),AZ(X)},useHostTransitionStatus:d7,useMemoCache:h7,useCacheRefresh:function(){return k="useCacheRefresh",h(),OZ()},useEffectEvent:function(X){return k="useEffectEvent",h(),QZ(X)}},RJ={readContext:function(X){return _5(X)},use:u2,useCallback:function(X,$){return k="useCallback",h(),wY(X,$)},useContext:function(X){return k="useContext",h(),_5(X)},useEffect:function(X,$){k="useEffect",h(),Q4(2048,z4,X,$)},useImperativeHandle:function(X,$,Y){return k="useImperativeHandle",h(),MY(X,$,Y)},useInsertionEffect:function(X,$){return k="useInsertionEffect",h(),Q4(4,U4,X,$)},useLayoutEffect:function(X,$){return k="useLayoutEffect",h(),Q4(4,f4,X,$)},useMemo:function(X,$){k="useMemo",h();var Y=g.H;g.H=N6;try{return TY(X,$)}finally{g.H=Y}},useReducer:function(X,$,Y){k="useReducer",h();var G=g.H;g.H=N6;try{return kX(X,$,Y)}finally{g.H=G}},useRef:function(){return k="useRef",h(),a0().memoizedState},useState:function(){k="useState",h();var X=g.H;g.H=N6;try{return kX(U6)}finally{g.H=X}},useDebugValue:function(){k="useDebugValue",h()},useDeferredValue:function(X,$){return k="useDeferredValue",h(),VU(X,$)},useTransition:function(){return k="useTransition",h(),jU()},useSyncExternalStore:function(X,$,Y){return k="useSyncExternalStore",h(),LY(X,$,Y)},useId:function(){return k="useId",h(),a0().memoizedState},useFormState:function(X){return k="useFormState",h(),_Y(),NY(X)},useActionState:function(X){return k="useActionState",h(),NY(X)},useOptimistic:function(X,$){return k="useOptimistic",h(),NU(X,$)},useHostTransitionStatus:d7,useMemoCache:h7,useCacheRefresh:function(){return k="useCacheRefresh",h(),a0().memoizedState},useEffectEvent:function(X){return k="useEffectEvent",h(),FY(X)}},TA={readContext:function(X){return _5(X)},use:u2,useCallback:function(X,$){return k="useCallback",h(),wY(X,$)},useContext:function(X){return k="useContext",h(),_5(X)},useEffect:function(X,$){k="useEffect",h(),Q4(2048,z4,X,$)},useImperativeHandle:function(X,$,Y){return k="useImperativeHandle",h(),MY(X,$,Y)},useInsertionEffect:function(X,$){return k="useInsertionEffect",h(),Q4(4,U4,X,$)},useLayoutEffect:function(X,$){return k="useLayoutEffect",h(),Q4(4,f4,X,$)},useMemo:function(X,$){k="useMemo",h();var Y=g.H;g.H=P1;try{return TY(X,$)}finally{g.H=Y}},useReducer:function(X,$,Y){k="useReducer",h();var G=g.H;g.H=P1;try{return W9(X,$,Y)}finally{g.H=G}},useRef:function(){return k="useRef",h(),a0().memoizedState},useState:function(){k="useState",h();var X=g.H;g.H=P1;try{return W9(U6)}finally{g.H=X}},useDebugValue:function(){k="useDebugValue",h()},useDeferredValue:function(X,$){return k="useDeferredValue",h(),OU(X,$)},useTransition:function(){return k="useTransition",h(),SU()},useSyncExternalStore:function(X,$,Y){return k="useSyncExternalStore",h(),LY(X,$,Y)},useId:function(){return k="useId",h(),a0().memoizedState},useFormState:function(X){return k="useFormState",h(),_Y(),QY(X)},useActionState:function(X){return k="useActionState",h(),QY(X)},useOptimistic:function(X,$){return k="useOptimistic",h(),KU(X,$)},useHostTransitionStatus:d7,useMemoCache:h7,useCacheRefresh:function(){return k="useCacheRefresh",h(),a0().memoizedState},useEffectEvent:function(X){return k="useEffectEvent",h(),FY(X)}},i6={readContext:function(X){return C(),_5(X)},use:function(X){return F(),u2(X)},useCallback:function(X,$){return k="useCallback",F(),j0(),MZ(X,$)},useContext:function(X){return k="useContext",F(),j0(),_5(X)},useEffect:function(X,$){return k="useEffect",F(),j0(),KY(X,$)},useImperativeHandle:function(X,$,Y){return k="useImperativeHandle",F(),j0(),FZ(X,$,Y)},useInsertionEffect:function(X,$){k="useInsertionEffect",F(),j0(),y7(4,U4,X,$)},useLayoutEffect:function(X,$){return k="useLayoutEffect",F(),j0(),KZ(X,$)},useMemo:function(X,$){k="useMemo",F(),j0();var Y=g.H;g.H=i6;try{return wZ(X,$)}finally{g.H=Y}},useReducer:function(X,$,Y){k="useReducer",F(),j0();var G=g.H;g.H=i6;try{return HZ(X,$,Y)}finally{g.H=G}},useRef:function(X){return k="useRef",F(),j0(),NZ(X)},useState:function(X){k="useState",F(),j0();var $=g.H;g.H=i6;try{return _Z(X)}finally{g.H=$}},useDebugValue:function(){k="useDebugValue",F(),j0()},useDeferredValue:function(X,$){return k="useDeferredValue",F(),j0(),TZ(X,$)},useTransition:function(){return k="useTransition",F(),j0(),PZ()},useSyncExternalStore:function(X,$,Y){return k="useSyncExternalStore",F(),j0(),zZ(X,$,Y)},useId:function(){return k="useId",F(),j0(),VZ()},useFormState:function(X,$){return k="useFormState",F(),j0(),vX(X,$)},useActionState:function(X,$){return k="useActionState",F(),j0(),vX(X,$)},useOptimistic:function(X){return k="useOptimistic",F(),j0(),AZ(X)},useMemoCache:function(X){return F(),h7(X)},useHostTransitionStatus:d7,useCacheRefresh:function(){return k="useCacheRefresh",j0(),OZ()},useEffectEvent:function(X){return k="useEffectEvent",F(),j0(),QZ(X)}},N6={readContext:function(X){return C(),_5(X)},use:function(X){return F(),u2(X)},useCallback:function(X,$){return k="useCallback",F(),h(),wY(X,$)},useContext:function(X){return k="useContext",F(),h(),_5(X)},useEffect:function(X,$){k="useEffect",F(),h(),Q4(2048,z4,X,$)},useImperativeHandle:function(X,$,Y){return k="useImperativeHandle",F(),h(),MY(X,$,Y)},useInsertionEffect:function(X,$){return k="useInsertionEffect",F(),h(),Q4(4,U4,X,$)},useLayoutEffect:function(X,$){return k="useLayoutEffect",F(),h(),Q4(4,f4,X,$)},useMemo:function(X,$){k="useMemo",F(),h();var Y=g.H;g.H=N6;try{return TY(X,$)}finally{g.H=Y}},useReducer:function(X,$,Y){k="useReducer",F(),h();var G=g.H;g.H=N6;try{return kX(X,$,Y)}finally{g.H=G}},useRef:function(){return k="useRef",F(),h(),a0().memoizedState},useState:function(){k="useState",F(),h();var X=g.H;g.H=N6;try{return kX(U6)}finally{g.H=X}},useDebugValue:function(){k="useDebugValue",F(),h()},useDeferredValue:function(X,$){return k="useDeferredValue",F(),h(),VU(X,$)},useTransition:function(){return k="useTransition",F(),h(),jU()},useSyncExternalStore:function(X,$,Y){return k="useSyncExternalStore",F(),h(),LY(X,$,Y)},useId:function(){return k="useId",F(),h(),a0().memoizedState},useFormState:function(X){return k="useFormState",F(),h(),NY(X)},useActionState:function(X){return k="useActionState",F(),h(),NY(X)},useOptimistic:function(X,$){return k="useOptimistic",F(),h(),NU(X,$)},useMemoCache:function(X){return F(),h7(X)},useHostTransitionStatus:d7,useCacheRefresh:function(){return k="useCacheRefresh",h(),a0().memoizedState},useEffectEvent:function(X){return k="useEffectEvent",F(),h(),FY(X)}},P1={readContext:function(X){return C(),_5(X)},use:function(X){return F(),u2(X)},useCallback:function(X,$){return k="useCallback",F(),h(),wY(X,$)},useContext:function(X){return k="useContext",F(),h(),_5(X)},useEffect:function(X,$){k="useEffect",F(),h(),Q4(2048,z4,X,$)},useImperativeHandle:function(X,$,Y){return k="useImperativeHandle",F(),h(),MY(X,$,Y)},useInsertionEffect:function(X,$){return k="useInsertionEffect",F(),h(),Q4(4,U4,X,$)},useLayoutEffect:function(X,$){return k="useLayoutEffect",F(),h(),Q4(4,f4,X,$)},useMemo:function(X,$){k="useMemo",F(),h();var Y=g.H;g.H=N6;try{return TY(X,$)}finally{g.H=Y}},useReducer:function(X,$,Y){k="useReducer",F(),h();var G=g.H;g.H=N6;try{return W9(X,$,Y)}finally{g.H=G}},useRef:function(){return k="useRef",F(),h(),a0().memoizedState},useState:function(){k="useState",F(),h();var X=g.H;g.H=N6;try{return W9(U6)}finally{g.H=X}},useDebugValue:function(){k="useDebugValue",F(),h()},useDeferredValue:function(X,$){return k="useDeferredValue",F(),h(),OU(X,$)},useTransition:function(){return k="useTransition",F(),h(),SU()},useSyncExternalStore:function(X,$,Y){return k="useSyncExternalStore",F(),h(),LY(X,$,Y)},useId:function(){return k="useId",F(),h(),a0().memoizedState},useFormState:function(X){return k="useFormState",F(),h(),QY(X)},useActionState:function(X){return k="useActionState",F(),h(),QY(X)},useOptimistic:function(X,$){return k="useOptimistic",F(),h(),KU(X,$)},useMemoCache:function(X){return F(),h7(X)},useHostTransitionStatus:d7,useCacheRefresh:function(){return k="useCacheRefresh",h(),a0().memoizedState},useEffectEvent:function(X){return k="useEffectEvent",F(),h(),FY(X)}};var RA={},IA=new Set,PA=new Set,VA=new Set,OA=new Set,qA=new Set,DA=new Set,CA=new Set,EA=new Set,jA=new Set,SA=new Set;Object.freeze(RA);var IJ={enqueueSetState:function(X,$,Y){X=X._reactInternals;var G=S4(X),Z=f2(G);Z.payload=$,Y!==void 0&&Y!==null&&(DZ(Y),Z.callback=Y),$=h2(X,Z,G),$!==null&&(V6(G,"this.setState()",X),M5($,X,G),B9($,X,G))},enqueueReplaceState:function(X,$,Y){X=X._reactInternals;var G=S4(X),Z=f2(G);Z.tag=LA,Z.payload=$,Y!==void 0&&Y!==null&&(DZ(Y),Z.callback=Y),$=h2(X,Z,G),$!==null&&(V6(G,"this.replaceState()",X),M5($,X,G),B9($,X,G))},enqueueForceUpdate:function(X,$){X=X._reactInternals;var Y=S4(X),G=f2(Y);G.tag=NA,$!==void 0&&$!==null&&(DZ($),G.callback=$),$=h2(X,G,Y),$!==null&&(V6(Y,"this.forceUpdate()",X),M5($,X,Y),B9($,X,Y))}},F8=null,PJ=null,VJ=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."),E5=!1,xA={},kA={},vA={},gA={},M8=!1,bA={},V1={},OJ={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},mA=!1,fA=null;fA=new Set;var I2=!1,j5=!1,qJ=!1,hA=typeof WeakSet==="function"?WeakSet:Set,y5=null,w8=null,T8=null,S5=null,M4=!1,Q6=null,v5=!1,B$=8192,fM={getCacheForType:function(X){var $=_5(q5),Y=$.data.get(X);return Y===void 0&&(Y=X(),$.data.set(X,Y)),Y},cacheSignal:function(){return _5(q5).controller.signal},getOwner:function(){return v4}};if(typeof Symbol==="function"&&Symbol.for){var H$=Symbol.for;H$("selector.component"),H$("selector.has_pseudo_class"),H$("selector.role"),H$("selector.test_id"),H$("selector.text")}var hM=[],yM=typeof WeakMap==="function"?WeakMap:Map,d5=0,g5=2,h4=4,P2=0,U$=1,GX=2,O1=3,H7=4,q1=6,yA=5,h0=d5,Y5=null,E0=null,C0=0,w4=0,D1=1,ZX=2,z$=3,dA=4,DJ=5,W$=6,C1=7,CJ=8,JX=9,n0=w4,y4=null,U7=!1,R8=!1,EJ=!1,a6=0,K5=P2,z7=0,W7=0,jJ=0,T4=0,BX=0,_$=null,W4=null,E1=!1,j1=0,uA=0,pA=300,S1=1/0,lA=500,A$=null,R5=null,_7=null,x1=0,SJ=1,xJ=2,cA=3,A7=0,sA=1,iA=2,aA=3,nA=4,k1=5,x5=0,L7=null,I8=null,K6=0,kJ=0,vJ=-0,gJ=null,oA=null,rA=null,F6=x1,tA=null,dM=50,L$=0,bJ=null,mJ=!1,v1=!1,uM=50,HX=0,N$=null,P8=!1,g1=null,eA=!1,XL=new Set,pM={},b1=null,V8=null,fJ=!1,hJ=!1,m1=!1,yJ=!1,N7=0,dJ={};(function(){for(var X=0;X<t3.length;X++){var $=t3[X],Y=$.toLowerCase();$=$[0].toUpperCase()+$.slice(1),H6(Y,"on"+$)}H6(j_,"onAnimationEnd"),H6(S_,"onAnimationIteration"),H6(x_,"onAnimationStart"),H6("dblclick","onDoubleClick"),H6("focusin","onFocus"),H6("focusout","onBlur"),H6(wM,"onTransitionRun"),H6(TM,"onTransitionStart"),H6(RM,"onTransitionCancel"),H6(k_,"onTransitionEnd")})(),V4("onMouseEnter",["mouseout","mouseover"]),V4("onMouseLeave",["mouseout","mouseover"]),V4("onPointerEnter",["pointerout","pointerover"]),V4("onPointerLeave",["pointerout","pointerover"]),o5("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o5("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o5("onBeforeInput",["compositionend","keypress","textInput","paste"]),o5("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o5("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o5("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Q$="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(" "),uJ=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Q$)),f1="_reactListening"+Math.random().toString(36).slice(2),$L=!1,YL=!1,h1=!1,GL=!1,y1=!1,d1=!1,ZL=!1,u1={},lM=/\r\n?/g,cM=/\u0000|\uFFFD/g,UX="http://www.w3.org/1999/xlink",pJ="http://www.w3.org/XML/1998/namespace",sM="javascript:throw new Error('React form unexpectedly submitted.')",iM="suppressHydrationWarning",zX="&",p1="/&",K$="$",F$="/$",Q7="$?",WX="$~",O8="$!",aM="html",nM="body",oM="head",lJ="F!",JL="F",BL="loading",rM="style",V2=0,q8=1,l1=2,cJ=null,sJ=null,HL={dialog:!0,webview:!0},iJ=null,M$=void 0,UL=typeof setTimeout==="function"?setTimeout:void 0,tM=typeof clearTimeout==="function"?clearTimeout:void 0,_X=-1,zL=typeof Promise==="function"?Promise:void 0,eM=typeof queueMicrotask==="function"?queueMicrotask:typeof zL<"u"?function(X){return zL.resolve(null).then(X).catch(mK)}:UL,aJ=null,AX=0,w$=1,WL=2,_L=3,X6=4,$6=new Map,AL=new Set,O2=s0.d;s0.d={f:function(){var X=O2.f(),$=hX();return X||$},r:function(X){var $=w0(X);$!==null&&$.tag===5&&$.type==="form"?EU($):O2.r(X)},D:function(X){O2.D(X),IW("dns-prefetch",X,null)},C:function(X,$){O2.C(X,$),IW("preconnect",X,$)},L:function(X,$,Y){O2.L(X,$,Y);var G=D8;if(G&&X&&$){var Z='link[rel="preload"][as="'+u4($)+'"]';$==="image"?Y&&Y.imageSrcSet?(Z+='[imagesrcset="'+u4(Y.imageSrcSet)+'"]',typeof Y.imageSizes==="string"&&(Z+='[imagesizes="'+u4(Y.imageSizes)+'"]')):Z+='[href="'+u4(X)+'"]':Z+='[href="'+u4(X)+'"]';var J=Z;switch($){case"style":J=uX(X);break;case"script":J=pX(X)}$6.has(J)||(X=S0({rel:"preload",href:$==="image"&&Y&&Y.imageSrcSet?void 0:X,as:$},Y),$6.set(J,X),G.querySelector(Z)!==null||$==="style"&&G.querySelector(O9(J))||$==="script"&&G.querySelector(q9(J))||($=G.createElement("link"),l5($,"link",X),U0($),G.head.appendChild($)))}},m:function(X,$){O2.m(X,$);var Y=D8;if(Y&&X){var G=$&&typeof $.as==="string"?$.as:"script",Z='link[rel="modulepreload"][as="'+u4(G)+'"][href="'+u4(X)+'"]',J=Z;switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":J=pX(X)}if(!$6.has(J)&&(X=S0({rel:"modulepreload",href:X},$),$6.set(J,X),Y.querySelector(Z)===null)){switch(G){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(Y.querySelector(q9(J)))return}G=Y.createElement("link"),l5(G,"link",X),U0(G),Y.head.appendChild(G)}}},X:function(X,$){O2.X(X,$);var Y=D8;if(Y&&X){var G=d0(Y).hoistableScripts,Z=pX(X),J=G.get(Z);J||(J=Y.querySelector(q9(Z)),J||(X=S0({src:X,async:!0},$),($=$6.get(Z))&&F3(X,$),J=Y.createElement("script"),U0(J),l5(J,"link",X),Y.head.appendChild(J)),J={type:"script",instance:J,count:1,state:null},G.set(Z,J))}},S:function(X,$,Y){O2.S(X,$,Y);var G=D8;if(G&&X){var Z=d0(G).hoistableStyles,J=uX(X);$=$||"default";var H=Z.get(J);if(!H){var z={loading:AX,preload:null};if(H=G.querySelector(O9(J)))z.loading=w$|X6;else{X=S0({rel:"stylesheet",href:X,"data-precedence":$},Y),(Y=$6.get(J))&&K3(X,Y);var A=H=G.createElement("link");U0(A),l5(A,"link",X),A._p=new Promise(function(N,q){A.onload=N,A.onerror=q}),A.addEventListener("load",function(){z.loading|=w$}),A.addEventListener("error",function(){z.loading|=WL}),z.loading|=X6,hY(H,$,G)}H={type:"stylesheet",instance:H,count:1,state:z},Z.set(J,H)}}},M:function(X,$){O2.M(X,$);var Y=D8;if(Y&&X){var G=d0(Y).hoistableScripts,Z=pX(X),J=G.get(Z);J||(J=Y.querySelector(q9(Z)),J||(X=S0({src:X,async:!0,type:"module"},$),($=$6.get(Z))&&F3(X,$),J=Y.createElement("script"),U0(J),l5(J,"link",X),Y.head.appendChild(J)),J={type:"script",instance:J,count:1,state:null},G.set(Z,J))}}};var D8=typeof document>"u"?null:document,c1=null,Xw=60000,$w=800,Yw=500,nJ=0,oJ=null,s1=null,LX=FF,T$={$$typeof:f6,Provider:null,Consumer:null,_currentValue:LX,_currentValue2:LX,_threadCount:0},LL="%c%s%c",NL="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",QL="",i1=" ",Gw=Function.prototype.bind,KL=!1,FL=null,ML=null,wL=null,TL=null,RL=null,IL=null,PL=null,VL=null,OL=null,qL=null;FL=function(X,$,Y,G){$=B(X,$),$!==null&&(Y=U($.memoizedState,Y,0,G),$.memoizedState=Y,$.baseState=Y,X.memoizedProps=S0({},X.memoizedProps),Y=r5(X,2),Y!==null&&M5(Y,X,2))},ML=function(X,$,Y){$=B(X,$),$!==null&&(Y=L($.memoizedState,Y,0),$.memoizedState=Y,$.baseState=Y,X.memoizedProps=S0({},X.memoizedProps),Y=r5(X,2),Y!==null&&M5(Y,X,2))},wL=function(X,$,Y,G){$=B(X,$),$!==null&&(Y=W($.memoizedState,Y,G),$.memoizedState=Y,$.baseState=Y,X.memoizedProps=S0({},X.memoizedProps),Y=r5(X,2),Y!==null&&M5(Y,X,2))},TL=function(X,$,Y){X.pendingProps=U(X.memoizedProps,$,0,Y),X.alternate&&(X.alternate.pendingProps=X.pendingProps),$=r5(X,2),$!==null&&M5($,X,2)},RL=function(X,$){X.pendingProps=L(X.memoizedProps,$,0),X.alternate&&(X.alternate.pendingProps=X.pendingProps),$=r5(X,2),$!==null&&M5($,X,2)},IL=function(X,$,Y){X.pendingProps=W(X.memoizedProps,$,Y),X.alternate&&(X.alternate.pendingProps=X.pendingProps),$=r5(X,2),$!==null&&M5($,X,2)},PL=function(X){var $=r5(X,2);$!==null&&M5($,X,2)},VL=function(X){var $=OX(),Y=r5(X,$);Y!==null&&M5(Y,X,$)},OL=function(X){T=X},qL=function(X){K=X};var a1=!0,n1=null,rJ=!1,K7=null,F7=null,M7=null,R$=new Map,I$=new Map,w7=[],Zw="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(" "),o1=null;if(lY.prototype.render=P3.prototype.render=function(X){var $=this._internalRoot;if($===null)throw Error("Cannot update an unmounted root.");var Y=arguments;typeof Y[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()."):v(Y[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 Y[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),Y=X;var G=$.current,Z=S4(G);M3(G,Z,Y,$,null,null)},lY.prototype.unmount=P3.prototype.unmount=function(){var X=arguments;if(typeof X[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()."),X=this._internalRoot,X!==null){this._internalRoot=null;var $=X.containerInfo;(h0&(g5|h4))!==d5&&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."),M3(X.current,2,null,X,null,null),hX(),$[n2]=null}},lY.prototype.unstable_scheduleHydration=function(X){if(X){var $=S();X={blockedOn:null,target:X,priority:$};for(var Y=0;Y<w7.length&&$!==0&&$<w7[Y].priority;Y++);w7.splice(Y,0,X),Y===0&&bW(X)}},function(){var X=C8.version;if(X!=="19.2.5")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
- react: `+(X+`
- react-dom: 19.2.5
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"),s0.findDOMNode=function(X){var $=X._reactInternals;if($===void 0){if(typeof X.render==="function")throw Error("Unable to find node on an unmounted component.");throw X=Object.keys(X).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+X)}return X=R0($),X=X!==null?H5(X):null,X=X===null?null:X.stateNode,X},!function(){var X={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:g,reconcilerVersion:"19.2.5"};return X.overrideHookState=FL,X.overrideHookStateDeletePath=ML,X.overrideHookStateRenamePath=wL,X.overrideProps=TL,X.overridePropsDeletePath=RL,X.overridePropsRenamePath=IL,X.scheduleUpdate=PL,X.scheduleRetry=VL,X.setErrorHandler=OL,X.setSuspenseHandler=qL,X.scheduleRefresh=y,X.scheduleRoot=f,X.setRefreshHandler=m,X.getCurrentFiber=zF,VX(X)}()&&p6&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var DL=window.location.protocol;/^(https?|file):$/.test(DL)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(DL==="file:"?`
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Fw.createRoot=function(X,$){if(!v(X))throw Error("Target container is not a DOM element.");yW(X);var Y=!1,G="",Z=mU,J=fU,H=hU;return $!==null&&$!==void 0&&($.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof $==="object"&&$!==null&&$.$$typeof===m6&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
let root = createRoot(domContainer);
root.render(<App />);`),$.unstable_strictMode===!0&&(Y=!0),$.identifierPrefix!==void 0&&(G=$.identifierPrefix),$.onUncaughtError!==void 0&&(Z=$.onUncaughtError),$.onCaughtError!==void 0&&(J=$.onCaughtError),$.onRecoverableError!==void 0&&(H=$.onRecoverableError)),$=EW(X,1,!1,null,null,Y,G,null,Z,J,H,hW),X[n2]=$.current,Z3(X),new P3($)},Fw.hydrateRoot=function(X,$,Y){if(!v(X))throw Error("Target container is not a DOM element.");yW(X),$===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var G=!1,Z="",J=mU,H=fU,z=hU,A=null;return Y!==null&&Y!==void 0&&(Y.unstable_strictMode===!0&&(G=!0),Y.identifierPrefix!==void 0&&(Z=Y.identifierPrefix),Y.onUncaughtError!==void 0&&(J=Y.onUncaughtError),Y.onCaughtError!==void 0&&(H=Y.onCaughtError),Y.onRecoverableError!==void 0&&(z=Y.onRecoverableError),Y.formState!==void 0&&(A=Y.formState)),$=EW(X,1,!0,$,Y!=null?Y:null,G,Z,A,J,H,z,hW),$.context=jW(null),Y=$.current,G=S4(Y),G=E7(G),Z=f2(G),Z.callback=null,h2(Y,Z,G),V6(G,"hydrateRoot()",null),Y=G,$.current.lanes=Y,S2($,Y),g6($),X[n2]=$.current,Z3(X),new lY($)},Fw.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var gL=T7((nI,vL)=>{var Mw=e(kL());vL.exports=Mw});var _B=T7((Ew)=>{var FX=e(G5());(function(){function B(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===p?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case m:return"Fragment";case o:return"Profiler";case v:return"StrictMode";case R0:return"Suspense";case H5:return"SuspenseList";case e0:return"Activity"}if(typeof V==="object")switch(typeof V.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),V.$$typeof){case y:return"Portal";case X0:return V.displayName||"Context";case t:return(V._context.displayName||"Context")+".Consumer";case m0:var l=V.render;return V=V.displayName,V||(V=l.displayName||l.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case G0:return l=V.displayName||null,l!==null?l:B(V.type)||"Memo";case r:l=V._payload,V=V._init;try{return B(V(l))}catch(A0){}}return null}function U(V){return""+V}function W(V){try{U(V);var l=!1}catch(y0){l=!0}if(l){l=console;var A0=l.error,N0=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return A0.call(l,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",N0),U(V)}}function _(V){if(V===m)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===r)return"<...>";try{var l=B(V);return l?"<"+l+">":"<...>"}catch(A0){return"<...>"}}function L(){var V=o0.A;return V===null?null:V.getOwner()}function K(){return Error("react-stack-top-frame")}function T(V){if(I0.call(V,"key")){var l=Object.getOwnPropertyDescriptor(V,"key").get;if(l&&l.isReactWarning)return!1}return V.key!==void 0}function F(V,l){function A0(){u||(u=!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)",l))}A0.isReactWarning=!0,Object.defineProperty(V,"key",{get:A0,configurable:!0})}function C(){var V=B(this.type);return _0[V]||(_0[V]=!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.")),V=this.props.ref,V!==void 0?V:null}function j(V,l,A0,N0,y0,L4){var P0=A0.ref;return V={$$typeof:f,type:V,key:l,props:A0,_owner:N0},(P0!==void 0?P0:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:C}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:y0}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:L4}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function w(V,l,A0,N0,y0,L4){var P0=l.children;if(P0!==void 0)if(N0)if(K0(P0)){for(N0=0;N0<P0.length;N0++)M(P0[N0]);Object.freeze&&Object.freeze(P0)}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 M(P0);if(I0.call(l,"key")){P0=B(V);var O5=Object.keys(l).filter(function(B6){return B6!=="key"});N0=0<O5.length?"{key: someKey, "+O5.join(": ..., ")+": ...}":"{key: someKey}",l0[P0+N0]||(O5=0<O5.length?"{"+O5.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,N0,P0,O5,P0),l0[P0+N0]=!0)}if(P0=null,A0!==void 0&&(W(A0),P0=""+A0),T(l)&&(W(l.key),P0=""+l.key),"key"in l){A0={};for(var n5 in l)n5!=="key"&&(A0[n5]=l[n5])}else A0=l;return P0&&F(A0,typeof V==="function"?V.displayName||V.name||"Unknown":V),j(V,P0,A0,L(),y0,L4)}function M(V){E(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===r&&(V._payload.status==="fulfilled"?E(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function E(V){return typeof V==="object"&&V!==null&&V.$$typeof===f}var f=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),t=Symbol.for("react.consumer"),X0=Symbol.for("react.context"),m0=Symbol.for("react.forward_ref"),R0=Symbol.for("react.suspense"),H5=Symbol.for("react.suspense_list"),G0=Symbol.for("react.memo"),r=Symbol.for("react.lazy"),e0=Symbol.for("react.activity"),p=Symbol.for("react.client.reference"),o0=FX.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I0=Object.prototype.hasOwnProperty,K0=Array.isArray,N5=console.createTask?console.createTask:function(){return null};FX={react_stack_bottom_frame:function(V){return V()}};var u,_0={},W0=FX.react_stack_bottom_frame.bind(FX,K)(),p0=N5(_(K)),l0={};Ew.Fragment=m,Ew.jsx=function(V,l,A0){var N0=1e4>o0.recentlyCreatedOwnerStacks++;return w(V,l,A0,!1,N0?Error("react-stack-top-frame"):W0,N0?N5(_(V)):p0)},Ew.jsxs=function(V,l,A0){var N0=1e4>o0.recentlyCreatedOwnerStacks++;return w(V,l,A0,!0,N0?Error("react-stack-top-frame"):W0,N0?N5(_(V)):p0)}})()});var i0=T7(($R)=>{var RX=e(G5());(function(){function B(V){if(V==null)return null;if(typeof V==="function")return V.$$typeof===p?null:V.displayName||V.name||null;if(typeof V==="string")return V;switch(V){case m:return"Fragment";case o:return"Profiler";case v:return"StrictMode";case R0:return"Suspense";case H5:return"SuspenseList";case e0:return"Activity"}if(typeof V==="object")switch(typeof V.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),V.$$typeof){case y:return"Portal";case X0:return V.displayName||"Context";case t:return(V._context.displayName||"Context")+".Consumer";case m0:var l=V.render;return V=V.displayName,V||(V=l.displayName||l.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case G0:return l=V.displayName||null,l!==null?l:B(V.type)||"Memo";case r:l=V._payload,V=V._init;try{return B(V(l))}catch(A0){}}return null}function U(V){return""+V}function W(V){try{U(V);var l=!1}catch(y0){l=!0}if(l){l=console;var A0=l.error,N0=typeof Symbol==="function"&&Symbol.toStringTag&&V[Symbol.toStringTag]||V.constructor.name||"Object";return A0.call(l,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",N0),U(V)}}function _(V){if(V===m)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===r)return"<...>";try{var l=B(V);return l?"<"+l+">":"<...>"}catch(A0){return"<...>"}}function L(){var V=o0.A;return V===null?null:V.getOwner()}function K(){return Error("react-stack-top-frame")}function T(V){if(I0.call(V,"key")){var l=Object.getOwnPropertyDescriptor(V,"key").get;if(l&&l.isReactWarning)return!1}return V.key!==void 0}function F(V,l){function A0(){u||(u=!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)",l))}A0.isReactWarning=!0,Object.defineProperty(V,"key",{get:A0,configurable:!0})}function C(){var V=B(this.type);return _0[V]||(_0[V]=!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.")),V=this.props.ref,V!==void 0?V:null}function j(V,l,A0,N0,y0,L4){var P0=A0.ref;return V={$$typeof:f,type:V,key:l,props:A0,_owner:N0},(P0!==void 0?P0:null)!==null?Object.defineProperty(V,"ref",{enumerable:!1,get:C}):Object.defineProperty(V,"ref",{enumerable:!1,value:null}),V._store={},Object.defineProperty(V._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(V,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(V,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:y0}),Object.defineProperty(V,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:L4}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function w(V,l,A0,N0,y0,L4){var P0=l.children;if(P0!==void 0)if(N0)if(K0(P0)){for(N0=0;N0<P0.length;N0++)M(P0[N0]);Object.freeze&&Object.freeze(P0)}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 M(P0);if(I0.call(l,"key")){P0=B(V);var O5=Object.keys(l).filter(function(B6){return B6!=="key"});N0=0<O5.length?"{key: someKey, "+O5.join(": ..., ")+": ...}":"{key: someKey}",l0[P0+N0]||(O5=0<O5.length?"{"+O5.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,N0,P0,O5,P0),l0[P0+N0]=!0)}if(P0=null,A0!==void 0&&(W(A0),P0=""+A0),T(l)&&(W(l.key),P0=""+l.key),"key"in l){A0={};for(var n5 in l)n5!=="key"&&(A0[n5]=l[n5])}else A0=l;return P0&&F(A0,typeof V==="function"?V.displayName||V.name||"Unknown":V),j(V,P0,A0,L(),y0,L4)}function M(V){E(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===r&&(V._payload.status==="fulfilled"?E(V._payload.value)&&V._payload.value._store&&(V._payload.value._store.validated=1):V._store&&(V._store.validated=1))}function E(V){return typeof V==="object"&&V!==null&&V.$$typeof===f}var f=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),t=Symbol.for("react.consumer"),X0=Symbol.for("react.context"),m0=Symbol.for("react.forward_ref"),R0=Symbol.for("react.suspense"),H5=Symbol.for("react.suspense_list"),G0=Symbol.for("react.memo"),r=Symbol.for("react.lazy"),e0=Symbol.for("react.activity"),p=Symbol.for("react.client.reference"),o0=RX.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I0=Object.prototype.hasOwnProperty,K0=Array.isArray,N5=console.createTask?console.createTask:function(){return null};RX={react_stack_bottom_frame:function(V){return V()}};var u,_0={},W0=RX.react_stack_bottom_frame.bind(RX,K)(),p0=N5(_(K)),l0={};$R.Fragment=m,$R.jsxDEV=function(V,l,A0,N0){var y0=1e4>o0.recentlyCreatedOwnerStacks++;return w(V,l,A0,N0,y0?Error("react-stack-top-frame"):W0,y0?N5(_(V)):p0)}})()});var OQ=e(gL(),1);var Y6=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(B){return this.listeners.add(B),this.onSubscribe(),()=>{this.listeners.delete(B),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};var ww=class extends Y6{#X;#$;#Y;constructor(){super();this.#Y=(B)=>{if(typeof window<"u"&&window.addEventListener){let U=()=>B();return window.addEventListener("visibilitychange",U,!1),()=>{window.removeEventListener("visibilitychange",U)}}return}}onSubscribe(){if(!this.#$)this.setEventListener(this.#Y)}onUnsubscribe(){if(!this.hasListeners())this.#$?.(),this.#$=void 0}setEventListener(B){this.#Y=B,this.#$?.(),this.#$=B((U)=>{if(typeof U==="boolean")this.setFocused(U);else this.onFocus()})}setFocused(B){if(this.#X!==B)this.#X=B,this.onFocus()}onFocus(){let B=this.isFocused();this.listeners.forEach((U)=>{U(B)})}isFocused(){if(typeof this.#X==="boolean")return this.#X;return globalThis.document?.visibilityState!=="hidden"}},E8=new ww;var Tw={setTimeout:(B,U)=>setTimeout(B,U),clearTimeout:(B)=>clearTimeout(B),setInterval:(B,U)=>setInterval(B,U),clearInterval:(B)=>clearInterval(B)},Rw=class{#X=Tw;#$=!1;setTimeoutProvider(B){if(this.#$&&B!==this.#X)console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#X,provider:B});this.#X=B,this.#$=!1}setTimeout(B,U){return this.#$=!0,this.#X.setTimeout(B,U)}clearTimeout(B){this.#X.clearTimeout(B)}setInterval(B,U){return this.#$=!0,this.#X.setInterval(B,U)}clearInterval(B){this.#X.clearInterval(B)}},n6=new Rw;function bL(B){setTimeout(B,0)}var $B=typeof window>"u"||"Deno"in globalThis;function I5(){}function hL(B,U){return typeof B==="function"?B(U):B}function P$(B){return typeof B==="number"&&B>=0&&B!==1/0}function e1(B,U){return Math.max(B+(U||0)-Date.now(),0)}function M6(B,U){return typeof B==="function"?B(U):B}function R4(B,U){return typeof B==="function"?B(U):B}function XG(B,U){let{type:W="all",exact:_,fetchStatus:L,predicate:K,queryKey:T,stale:F}=B;if(T){if(_){if(U.queryHash!==V$(T,U.options))return!1}else if(!KX(U.queryKey,T))return!1}if(W!=="all"){let C=U.isActive();if(W==="active"&&!C)return!1;if(W==="inactive"&&C)return!1}if(typeof F==="boolean"&&U.isStale()!==F)return!1;if(L&&L!==U.state.fetchStatus)return!1;if(K&&!K(U))return!1;return!0}function $G(B,U){let{exact:W,status:_,predicate:L,mutationKey:K}=B;if(K){if(!U.options.mutationKey)return!1;if(W){if(o6(U.options.mutationKey)!==o6(K))return!1}else if(!KX(U.options.mutationKey,K))return!1}if(_&&U.state.status!==_)return!1;if(L&&!L(U))return!1;return!0}function V$(B,U){return(U?.queryKeyHashFn||o6)(B)}function o6(B){return JSON.stringify(B,(U,W)=>XB(W)?Object.keys(W).sort().reduce((_,L)=>{return _[L]=W[L],_},{}):W)}function KX(B,U){if(B===U)return!0;if(typeof B!==typeof U)return!1;if(B&&U&&typeof B==="object"&&typeof U==="object")return Object.keys(U).every((W)=>KX(B[W],U[W]));return!1}var Iw=Object.prototype.hasOwnProperty;function t1(B,U,W=0){if(B===U)return B;if(W>500)return U;let _=mL(B)&&mL(U);if(!_&&!(XB(B)&&XB(U)))return U;let K=(_?B:Object.keys(B)).length,T=_?U:Object.keys(U),F=T.length,C=_?Array(F):{},j=0;for(let w=0;w<F;w++){let M=_?w:T[w],E=B[M],f=U[M];if(E===f){if(C[M]=E,_?w<K:Iw.call(B,M))j++;continue}if(E===null||f===null||typeof E!=="object"||typeof f!=="object"){C[M]=f;continue}let y=t1(E,f,W+1);if(C[M]=y,y===E)j++}return K===F&&j===K?B:C}function j8(B,U){if(!U||Object.keys(B).length!==Object.keys(U).length)return!1;for(let W in B)if(B[W]!==U[W])return!1;return!0}function mL(B){return Array.isArray(B)&&B.length===Object.keys(B).length}function XB(B){if(!fL(B))return!1;let U=B.constructor;if(U===void 0)return!0;let W=U.prototype;if(!fL(W))return!1;if(!W.hasOwnProperty("isPrototypeOf"))return!1;if(Object.getPrototypeOf(B)!==Object.prototype)return!1;return!0}function fL(B){return Object.prototype.toString.call(B)==="[object Object]"}function yL(B){return new Promise((U)=>{n6.setTimeout(U,B)})}function O$(B,U,W){if(typeof W.structuralSharing==="function")return W.structuralSharing(B,U);else if(W.structuralSharing!==!1){try{return t1(B,U)}catch(_){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${W.queryHash}]: ${_}`),_}return t1(B,U)}return U}function dL(B,U,W=0){let _=[...B,U];return W&&_.length>W?_.slice(1):_}function uL(B,U,W=0){let _=[U,...B];return W&&_.length>W?_.slice(0,-1):_}var QX=Symbol();function YG(B,U){if(B.queryFn===QX)console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${B.queryHash}'`);if(!B.queryFn&&U?.initialPromise)return()=>U.initialPromise;if(!B.queryFn||B.queryFn===QX)return()=>Promise.reject(Error(`Missing queryFn: '${B.queryHash}'`));return B.queryFn}function S8(B,U){if(typeof B==="function")return B(...U);return!!B}function pL(B,U,W){let _=!1,L;return Object.defineProperty(B,"signal",{enumerable:!0,get:()=>{if(L??=U(),_)return L;if(_=!0,L.aborted)W();else L.addEventListener("abort",W,{once:!0});return L}}),B}var r6=(()=>{let B=()=>$B;return{isServer(){return B()},setIsServer(U){B=U}}})();function q$(){let B,U,W=new Promise((L,K)=>{B=L,U=K});W.status="pending",W.catch(()=>{});function _(L){Object.assign(W,L),delete W.resolve,delete W.reject}return W.resolve=(L)=>{_({status:"fulfilled",value:L}),B(L)},W.reject=(L)=>{_({status:"rejected",reason:L}),U(L)},W}var lL=bL;function Pw(){let B=[],U=0,W=(F)=>{F()},_=(F)=>{F()},L=lL,K=(F)=>{if(U)B.push(F);else L(()=>{W(F)})},T=()=>{let F=B;if(B=[],F.length)L(()=>{_(()=>{F.forEach((C)=>{W(C)})})})};return{batch:(F)=>{let C;U++;try{C=F()}finally{if(U--,!U)T()}return C},batchCalls:(F)=>{return(...C)=>{K(()=>{F(...C)})}},schedule:K,setNotifyFunction:(F)=>{W=F},setBatchNotifyFunction:(F)=>{_=F},setScheduler:(F)=>{L=F}}}var t0=Pw();var Vw=class extends Y6{#X=!0;#$;#Y;constructor(){super();this.#Y=(B)=>{if(typeof window<"u"&&window.addEventListener){let U=()=>B(!0),W=()=>B(!1);return window.addEventListener("online",U,!1),window.addEventListener("offline",W,!1),()=>{window.removeEventListener("online",U),window.removeEventListener("offline",W)}}return}}onSubscribe(){if(!this.#$)this.setEventListener(this.#Y)}onUnsubscribe(){if(!this.hasListeners())this.#$?.(),this.#$=void 0}setEventListener(B){this.#Y=B,this.#$?.(),this.#$=B(this.setOnline.bind(this))}setOnline(B){if(this.#X!==B)this.#X=B,this.listeners.forEach((W)=>{W(B)})}isOnline(){return this.#X}},x8=new Vw;function Ow(B){return Math.min(1000*2**B,30000)}function YB(B){return(B??"online")==="online"?x8.isOnline():!0}var GG=class extends Error{constructor(B){super("CancelledError");this.revert=B?.revert,this.silent=B?.silent}};function ZG(B){let U=!1,W=0,_,L=q$(),K=()=>L.status!=="pending",T=(m)=>{if(!K()){let v=new GG(m);E(v),B.onCancel?.(v)}},F=()=>{U=!0},C=()=>{U=!1},j=()=>E8.isFocused()&&(B.networkMode==="always"||x8.isOnline())&&B.canRun(),w=()=>YB(B.networkMode)&&B.canRun(),M=(m)=>{if(!K())_?.(),L.resolve(m)},E=(m)=>{if(!K())_?.(),L.reject(m)},f=()=>{return new Promise((m)=>{_=(v)=>{if(K()||j())m(v)},B.onPause?.()}).then(()=>{if(_=void 0,!K())B.onContinue?.()})},y=()=>{if(K())return;let m,v=W===0?B.initialPromise:void 0;try{m=v??B.fn()}catch(o){m=Promise.reject(o)}Promise.resolve(m).then(M).catch((o)=>{if(K())return;let t=B.retry??(r6.isServer()?0:3),X0=B.retryDelay??Ow,m0=typeof X0==="function"?X0(W,o):X0,R0=t===!0||typeof t==="number"&&W<t||typeof t==="function"&&t(W,o);if(U||!R0){E(o);return}W++,B.onFail?.(W,o),yL(m0).then(()=>{return j()?void 0:f()}).then(()=>{if(U)E(o);else y()})})};return{promise:L,status:()=>L.status,cancel:T,continue:()=>{return _?.(),L},cancelRetry:F,continueRetry:C,canStart:w,start:()=>{if(w())y();else f().then(y);return L}}}var JG=class{#X;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),P$(this.gcTime))this.#X=n6.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(B){this.gcTime=Math.max(this.gcTime||0,B??(r6.isServer()?1/0:300000))}clearGcTimeout(){if(this.#X!==void 0)n6.clearTimeout(this.#X),this.#X=void 0}};var iL=class extends JG{#X;#$;#Y;#Z;#G;#J;#B;constructor(B){super();this.#B=!1,this.#J=B.defaultOptions,this.setOptions(B.options),this.observers=[],this.#Z=B.client,this.#Y=this.#Z.getQueryCache(),this.queryKey=B.queryKey,this.queryHash=B.queryHash,this.#X=sL(this.options),this.state=B.state??this.#X,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#G?.promise}setOptions(B){if(this.options={...this.#J,...B},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let U=sL(this.options);if(U.data!==void 0)this.setState(cL(U.data,U.dataUpdatedAt)),this.#X=U}}optionalRemove(){if(!this.observers.length&&this.state.fetchStatus==="idle")this.#Y.remove(this)}setData(B,U){let W=O$(this.state.data,B,this.options);return this.#U({data:W,type:"success",dataUpdatedAt:U?.updatedAt,manual:U?.manual}),W}setState(B,U){this.#U({type:"setState",state:B,setStateOptions:U})}cancel(B){let U=this.#G?.promise;return this.#G?.cancel(B),U?U.then(I5).catch(I5):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#X}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some((B)=>R4(B.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===QX||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((B)=>M6(B.options.staleTime,this)==="static");return!1}isStale(){if(this.getObserversCount()>0)return this.observers.some((B)=>B.getCurrentResult().isStale);return this.state.data===void 0||this.state.isInvalidated}isStaleByTime(B=0){if(this.state.data===void 0)return!0;if(B==="static")return!1;if(this.state.isInvalidated)return!0;return!e1(this.state.dataUpdatedAt,B)}onFocus(){this.observers.find((U)=>U.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#G?.continue()}onOnline(){this.observers.find((U)=>U.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#G?.continue()}addObserver(B){if(!this.observers.includes(B))this.observers.push(B),this.clearGcTimeout(),this.#Y.notify({type:"observerAdded",query:this,observer:B})}removeObserver(B){if(this.observers.includes(B)){if(this.observers=this.observers.filter((U)=>U!==B),!this.observers.length){if(this.#G)if(this.#B||this.#H())this.#G.cancel({revert:!0});else this.#G.cancelRetry();this.scheduleGc()}this.#Y.notify({type:"observerRemoved",query:this,observer:B})}}getObserversCount(){return this.observers.length}#H(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){if(!this.state.isInvalidated)this.#U({type:"invalidate"})}async fetch(B,U){if(this.state.fetchStatus!=="idle"&&this.#G?.status()!=="rejected"){if(this.state.data!==void 0&&U?.cancelRefetch)this.cancel({silent:!0});else if(this.#G)return this.#G.continueRetry(),this.#G.promise}if(B)this.setOptions(B);if(!this.options.queryFn){let F=this.observers.find((C)=>C.options.queryFn);if(F)this.setOptions(F.options)}if(!Array.isArray(this.options.queryKey))console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']");let W=new AbortController,_=(F)=>{Object.defineProperty(F,"signal",{enumerable:!0,get:()=>{return this.#B=!0,W.signal}})},L=()=>{let F=YG(this.options,U),j=(()=>{let w={client:this.#Z,queryKey:this.queryKey,meta:this.meta};return _(w),w})();if(this.#B=!1,this.options.persister)return this.options.persister(F,j,this);return F(j)},T=(()=>{let F={fetchOptions:U,options:this.options,queryKey:this.queryKey,client:this.#Z,state:this.state,fetchFn:L};return _(F),F})();if(this.options.behavior?.onFetch(T,this),this.#$=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==T.fetchOptions?.meta)this.#U({type:"fetch",meta:T.fetchOptions?.meta});this.#G=ZG({initialPromise:U?.initialPromise,fn:T.fetchFn,onCancel:(F)=>{if(F instanceof GG&&F.revert)this.setState({...this.#$,fetchStatus:"idle"});W.abort()},onFail:(F,C)=>{this.#U({type:"failed",failureCount:F,error:C})},onPause:()=>{this.#U({type:"pause"})},onContinue:()=>{this.#U({type:"continue"})},retry:T.options.retry,retryDelay:T.options.retryDelay,networkMode:T.options.networkMode,canRun:()=>!0});try{let F=await this.#G.start();if(F===void 0)throw console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),Error(`${this.queryHash} data is undefined`);return this.setData(F),this.#Y.config.onSuccess?.(F,this),this.#Y.config.onSettled?.(F,this.state.error,this),F}catch(F){if(F instanceof GG){if(F.silent)return this.#G.promise;else if(F.revert){if(this.state.data===void 0)throw F;return this.state.data}}throw this.#U({type:"error",error:F}),this.#Y.config.onError?.(F,this),this.#Y.config.onSettled?.(this.state.data,F,this),F}finally{this.scheduleGc()}}#U(B){let U=(W)=>{switch(B.type){case"failed":return{...W,fetchFailureCount:B.failureCount,fetchFailureReason:B.error};case"pause":return{...W,fetchStatus:"paused"};case"continue":return{...W,fetchStatus:"fetching"};case"fetch":return{...W,...GB(W.data,this.options),fetchMeta:B.meta??null};case"success":let _={...W,...cL(B.data,B.dataUpdatedAt),dataUpdateCount:W.dataUpdateCount+1,...!B.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#$=B.manual?_:void 0,_;case"error":let L=B.error;return{...W,error:L,errorUpdateCount:W.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:W.fetchFailureCount+1,fetchFailureReason:L,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...W,isInvalidated:!0};case"setState":return{...W,...B.state}}};this.state=U(this.state),t0.batch(()=>{this.observers.forEach((W)=>{W.onQueryUpdate()}),this.#Y.notify({query:this,type:"updated",action:B})})}};function GB(B,U){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:YB(U.networkMode)?"fetching":"paused",...B===void 0&&{error:null,status:"pending"}}}function cL(B,U){return{data:B,dataUpdatedAt:U??Date.now(),error:null,isInvalidated:!1,status:"success"}}function sL(B){let U=typeof B.initialData==="function"?B.initialData():B.initialData,W=U!==void 0,_=W?typeof B.initialDataUpdatedAt==="function"?B.initialDataUpdatedAt():B.initialDataUpdatedAt:0;return{data:U,dataUpdateCount:0,dataUpdatedAt:W?_??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:W?"success":"pending",fetchStatus:"idle"}}var JB=class extends Y6{constructor(B,U){super();this.options=U,this.#X=B,this.#H=null,this.#B=q$(),this.bindMethods(),this.setOptions(U)}#X;#$=void 0;#Y=void 0;#Z=void 0;#G;#J;#B;#H;#U;#L;#N;#W;#_;#z;#Q=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){if(this.listeners.size===1){if(this.#$.addObserver(this),aL(this.#$,this.options))this.#A();else this.updateResult();this.#w()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return ZB(this.#$,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ZB(this.#$,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#T(),this.#R(),this.#$.removeObserver(this)}setOptions(B){let U=this.options,W=this.#$;if(this.options=this.#X.defaultQueryOptions(B),this.options.enabled!==void 0&&typeof this.options.enabled!=="boolean"&&typeof this.options.enabled!=="function"&&typeof R4(this.options.enabled,this.#$)!=="boolean")throw Error("Expected enabled to be a boolean or a callback that returns a boolean");if(this.#I(),this.#$.setOptions(this.options),U._defaulted&&!j8(this.options,U))this.#X.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#$,observer:this});let _=this.hasListeners();if(_&&nL(this.#$,W,this.options,U))this.#A();if(this.updateResult(),_&&(this.#$!==W||R4(this.options.enabled,this.#$)!==R4(U.enabled,this.#$)||M6(this.options.staleTime,this.#$)!==M6(U.staleTime,this.#$)))this.#K();let L=this.#F();if(_&&(this.#$!==W||R4(this.options.enabled,this.#$)!==R4(U.enabled,this.#$)||L!==this.#z))this.#M(L)}getOptimisticResult(B){let U=this.#X.getQueryCache().build(this.#X,B),W=this.createResult(U,B);if(Dw(this,W))this.#Z=W,this.#J=this.options,this.#G=this.#$.state;return W}getCurrentResult(){return this.#Z}trackResult(B,U){return new Proxy(B,{get:(W,_)=>{if(this.trackProp(_),U?.(_),_==="promise"){if(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#B.status==="pending")this.#B.reject(Error("experimental_prefetchInRender feature flag is not enabled"))}return Reflect.get(W,_)}})}trackProp(B){this.#Q.add(B)}getCurrentQuery(){return this.#$}refetch({...B}={}){return this.fetch({...B})}fetchOptimistic(B){let U=this.#X.defaultQueryOptions(B),W=this.#X.getQueryCache().build(this.#X,U);return W.fetch().then(()=>this.createResult(W,U))}fetch(B){return this.#A({...B,cancelRefetch:B.cancelRefetch??!0}).then(()=>{return this.updateResult(),this.#Z})}#A(B){this.#I();let U=this.#$.fetch(this.options,B);if(!B?.throwOnError)U=U.catch(I5);return U}#K(){this.#T();let B=M6(this.options.staleTime,this.#$);if(r6.isServer()||this.#Z.isStale||!P$(B))return;let W=e1(this.#Z.dataUpdatedAt,B)+1;this.#W=n6.setTimeout(()=>{if(!this.#Z.isStale)this.updateResult()},W)}#F(){return(typeof this.options.refetchInterval==="function"?this.options.refetchInterval(this.#$):this.options.refetchInterval)??!1}#M(B){if(this.#R(),this.#z=B,r6.isServer()||R4(this.options.enabled,this.#$)===!1||!P$(this.#z)||this.#z===0)return;this.#_=n6.setInterval(()=>{if(this.options.refetchIntervalInBackground||E8.isFocused())this.#A()},this.#z)}#w(){this.#K(),this.#M(this.#F())}#T(){if(this.#W!==void 0)n6.clearTimeout(this.#W),this.#W=void 0}#R(){if(this.#_!==void 0)n6.clearInterval(this.#_),this.#_=void 0}createResult(B,U){let W=this.#$,_=this.options,L=this.#Z,K=this.#G,T=this.#J,C=B!==W?B.state:this.#Y,{state:j}=B,w={...j},M=!1,E;if(U._optimisticResults){let r=this.hasListeners(),e0=!r&&aL(B,U),p=r&&nL(B,W,U,_);if(e0||p)w={...w,...GB(j.data,B.options)};if(U._optimisticResults==="isRestoring")w.fetchStatus="idle"}let{error:f,errorUpdatedAt:y,status:m}=w;E=w.data;let v=!1;if(U.placeholderData!==void 0&&E===void 0&&m==="pending"){let r;if(L?.isPlaceholderData&&U.placeholderData===T?.placeholderData)r=L.data,v=!0;else r=typeof U.placeholderData==="function"?U.placeholderData(this.#N?.state.data,this.#N):U.placeholderData;if(r!==void 0)m="success",E=O$(L?.data,r,U),M=!0}if(U.select&&E!==void 0&&!v)if(L&&E===K?.data&&U.select===this.#U)E=this.#L;else try{this.#U=U.select,E=U.select(E),E=O$(L?.data,E,U),this.#L=E,this.#H=null}catch(r){this.#H=r}if(this.#H)f=this.#H,E=this.#L,y=Date.now(),m="error";let o=w.fetchStatus==="fetching",t=m==="pending",X0=m==="error",m0=t&&o,R0=E!==void 0,G0={status:m,fetchStatus:w.fetchStatus,isPending:t,isSuccess:m==="success",isError:X0,isInitialLoading:m0,isLoading:m0,data:E,dataUpdatedAt:w.dataUpdatedAt,error:f,errorUpdatedAt:y,failureCount:w.fetchFailureCount,failureReason:w.fetchFailureReason,errorUpdateCount:w.errorUpdateCount,isFetched:B.isFetched(),isFetchedAfterMount:w.dataUpdateCount>C.dataUpdateCount||w.errorUpdateCount>C.errorUpdateCount,isFetching:o,isRefetching:o&&!t,isLoadingError:X0&&!R0,isPaused:w.fetchStatus==="paused",isPlaceholderData:M,isRefetchError:X0&&R0,isStale:BB(B,U),refetch:this.refetch,promise:this.#B,isEnabled:R4(U.enabled,B)!==!1};if(this.options.experimental_prefetchInRender){let r=G0.data!==void 0,e0=G0.status==="error"&&!r,p=(K0)=>{if(e0)K0.reject(G0.error);else if(r)K0.resolve(G0.data)},o0=()=>{let K0=this.#B=G0.promise=q$();p(K0)},I0=this.#B;switch(I0.status){case"pending":if(B.queryHash===W.queryHash)p(I0);break;case"fulfilled":if(e0||G0.data!==I0.value)o0();break;case"rejected":if(!e0||G0.error!==I0.reason)o0();break}}return G0}updateResult(){let B=this.#Z,U=this.createResult(this.#$,this.options);if(this.#G=this.#$.state,this.#J=this.options,this.#G.data!==void 0)this.#N=this.#$;if(j8(U,B))return;this.#Z=U;let W=()=>{if(!B)return!0;let{notifyOnChangeProps:_}=this.options,L=typeof _==="function"?_():_;if(L==="all"||!L&&!this.#Q.size)return!0;let K=new Set(L??this.#Q);if(this.options.throwOnError)K.add("error");return Object.keys(this.#Z).some((T)=>{let F=T;return this.#Z[F]!==B[F]&&K.has(F)})};this.#P({listeners:W()})}#I(){let B=this.#X.getQueryCache().build(this.#X,this.options);if(B===this.#$)return;let U=this.#$;if(this.#$=B,this.#Y=B.state,this.hasListeners())U?.removeObserver(this),B.addObserver(this)}onQueryUpdate(){if(this.updateResult(),this.hasListeners())this.#w()}#P(B){t0.batch(()=>{if(B.listeners)this.listeners.forEach((U)=>{U(this.#Z)});this.#X.getQueryCache().notify({query:this.#$,type:"observerResultsUpdated"})})}};function qw(B,U){return R4(U.enabled,B)!==!1&&B.state.data===void 0&&!(B.state.status==="error"&&U.retryOnMount===!1)}function aL(B,U){return qw(B,U)||B.state.data!==void 0&&ZB(B,U,U.refetchOnMount)}function ZB(B,U,W){if(R4(U.enabled,B)!==!1&&M6(U.staleTime,B)!=="static"){let _=typeof W==="function"?W(B):W;return _==="always"||_!==!1&&BB(B,U)}return!1}function nL(B,U,W,_){return(B!==U||R4(_.enabled,B)===!1)&&(!W.suspense||B.state.status!=="error")&&BB(B,W)}function BB(B,U){return R4(U.enabled,B)!==!1&&B.isStaleByTime(M6(U.staleTime,B))}function Dw(B,U){if(!j8(B.getCurrentResult(),U))return!0;return!1}function HB(B){return{onFetch:(U,W)=>{let _=U.options,L=U.fetchOptions?.meta?.fetchMore?.direction,K=U.state.data?.pages||[],T=U.state.data?.pageParams||[],F={pages:[],pageParams:[]},C=0,j=async()=>{let w=!1,M=(y)=>{pL(y,()=>U.signal,()=>w=!0)},E=YG(U.options,U.fetchOptions),f=async(y,m,v)=>{if(w)return Promise.reject();if(m==null&&y.pages.length)return Promise.resolve(y);let t=(()=>{let H5={client:U.client,queryKey:U.queryKey,pageParam:m,direction:v?"backward":"forward",meta:U.options.meta};return M(H5),H5})(),X0=await E(t),{maxPages:m0}=U.options,R0=v?uL:dL;return{pages:R0(y.pages,X0,m0),pageParams:R0(y.pageParams,m,m0)}};if(L&&K.length){let y=L==="backward",m=y?Cw:oL,v={pages:K,pageParams:T},o=m(_,v);F=await f(v,o,y)}else{let y=B??K.length;do{let m=C===0?T[0]??_.initialPageParam:oL(_,F);if(C>0&&m==null)break;F=await f(F,m),C++}while(C<y)}return F};if(U.options.persister)U.fetchFn=()=>{return U.options.persister?.(j,{client:U.client,queryKey:U.queryKey,meta:U.options.meta,signal:U.signal},W)};else U.fetchFn=j}}}function oL(B,{pages:U,pageParams:W}){let _=U.length-1;return U.length>0?B.getNextPageParam(U[_],U,W[_],W):void 0}function Cw(B,{pages:U,pageParams:W}){return U.length>0?B.getPreviousPageParam?.(U[0],U,W[0],W):void 0}var rL=class extends JG{#X;#$;#Y;#Z;constructor(B){super();this.#X=B.client,this.mutationId=B.mutationId,this.#Y=B.mutationCache,this.#$=[],this.state=B.state||UB(),this.setOptions(B.options),this.scheduleGc()}setOptions(B){this.options=B,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(B){if(!this.#$.includes(B))this.#$.push(B),this.clearGcTimeout(),this.#Y.notify({type:"observerAdded",mutation:this,observer:B})}removeObserver(B){this.#$=this.#$.filter((U)=>U!==B),this.scheduleGc(),this.#Y.notify({type:"observerRemoved",mutation:this,observer:B})}optionalRemove(){if(!this.#$.length)if(this.state.status==="pending")this.scheduleGc();else this.#Y.remove(this)}continue(){return this.#Z?.continue()??this.execute(this.state.variables)}async execute(B){let U=()=>{this.#G({type:"continue"})},W={client:this.#X,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#Z=ZG({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(B,W)},onFail:(K,T)=>{this.#G({type:"failed",failureCount:K,error:T})},onPause:()=>{this.#G({type:"pause"})},onContinue:U,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#Y.canRun(this)});let _=this.state.status==="pending",L=!this.#Z.canStart();try{if(_)U();else{if(this.#G({type:"pending",variables:B,isPaused:L}),this.#Y.config.onMutate)await this.#Y.config.onMutate(B,this,W);let T=await this.options.onMutate?.(B,W);if(T!==this.state.context)this.#G({type:"pending",context:T,variables:B,isPaused:L})}let K=await this.#Z.start();return await this.#Y.config.onSuccess?.(K,B,this.state.context,this,W),await this.options.onSuccess?.(K,B,this.state.context,W),await this.#Y.config.onSettled?.(K,null,this.state.variables,this.state.context,this,W),await this.options.onSettled?.(K,null,B,this.state.context,W),this.#G({type:"success",data:K}),K}catch(K){try{await this.#Y.config.onError?.(K,B,this.state.context,this,W)}catch(T){Promise.reject(T)}try{await this.options.onError?.(K,B,this.state.context,W)}catch(T){Promise.reject(T)}try{await this.#Y.config.onSettled?.(void 0,K,this.state.variables,this.state.context,this,W)}catch(T){Promise.reject(T)}try{await this.options.onSettled?.(void 0,K,B,this.state.context,W)}catch(T){Promise.reject(T)}throw this.#G({type:"error",error:K}),K}finally{this.#Y.runNext(this)}}#G(B){let U=(W)=>{switch(B.type){case"failed":return{...W,failureCount:B.failureCount,failureReason:B.error};case"pause":return{...W,isPaused:!0};case"continue":return{...W,isPaused:!1};case"pending":return{...W,context:B.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:B.isPaused,status:"pending",variables:B.variables,submittedAt:Date.now()};case"success":return{...W,data:B.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...W,data:void 0,error:B.error,failureCount:W.failureCount+1,failureReason:B.error,isPaused:!1,status:"error"}}};this.state=U(this.state),t0.batch(()=>{this.#$.forEach((W)=>{W.onMutationUpdate(B)}),this.#Y.notify({mutation:this,type:"updated",action:B})})}};function UB(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var tL=class extends Y6{constructor(B={}){super();this.config=B,this.#X=new Set,this.#$=new Map,this.#Y=0}#X;#$;#Y;build(B,U,W){let _=new rL({client:B,mutationCache:this,mutationId:++this.#Y,options:B.defaultMutationOptions(U),state:W});return this.add(_),_}add(B){this.#X.add(B);let U=BG(B);if(typeof U==="string"){let W=this.#$.get(U);if(W)W.push(B);else this.#$.set(U,[B])}this.notify({type:"added",mutation:B})}remove(B){if(this.#X.delete(B)){let U=BG(B);if(typeof U==="string"){let W=this.#$.get(U);if(W){if(W.length>1){let _=W.indexOf(B);if(_!==-1)W.splice(_,1)}else if(W[0]===B)this.#$.delete(U)}}}this.notify({type:"removed",mutation:B})}canRun(B){let U=BG(B);if(typeof U==="string"){let _=this.#$.get(U)?.find((L)=>L.state.status==="pending");return!_||_===B}else return!0}runNext(B){let U=BG(B);if(typeof U==="string")return this.#$.get(U)?.find((_)=>_!==B&&_.state.isPaused)?.continue()??Promise.resolve();else return Promise.resolve()}clear(){t0.batch(()=>{this.#X.forEach((B)=>{this.notify({type:"removed",mutation:B})}),this.#X.clear(),this.#$.clear()})}getAll(){return Array.from(this.#X)}find(B){let U={exact:!0,...B};return this.getAll().find((W)=>$G(U,W))}findAll(B={}){return this.getAll().filter((U)=>$G(B,U))}notify(B){t0.batch(()=>{this.listeners.forEach((U)=>{U(B)})})}resumePausedMutations(){let B=this.getAll().filter((U)=>U.state.isPaused);return t0.batch(()=>Promise.all(B.map((U)=>U.continue().catch(I5))))}};function BG(B){return B.options.scope?.id}var zB=class extends Y6{#X;#$=void 0;#Y;#Z;constructor(B,U){super();this.#X=B,this.setOptions(U),this.bindMethods(),this.#G()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(B){let U=this.options;if(this.options=this.#X.defaultMutationOptions(B),!j8(this.options,U))this.#X.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#Y,observer:this});if(U?.mutationKey&&this.options.mutationKey&&o6(U.mutationKey)!==o6(this.options.mutationKey))this.reset();else if(this.#Y?.state.status==="pending")this.#Y.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners())this.#Y?.removeObserver(this)}onMutationUpdate(B){this.#G(),this.#J(B)}getCurrentResult(){return this.#$}reset(){this.#Y?.removeObserver(this),this.#Y=void 0,this.#G(),this.#J()}mutate(B,U){return this.#Z=U,this.#Y?.removeObserver(this),this.#Y=this.#X.getMutationCache().build(this.#X,this.options),this.#Y.addObserver(this),this.#Y.execute(B)}#G(){let B=this.#Y?.state??UB();this.#$={...B,isPending:B.status==="pending",isSuccess:B.status==="success",isError:B.status==="error",isIdle:B.status==="idle",mutate:this.mutate,reset:this.reset}}#J(B){t0.batch(()=>{if(this.#Z&&this.hasListeners()){let U=this.#$.variables,W=this.#$.context,_={client:this.#X,meta:this.options.meta,mutationKey:this.options.mutationKey};if(B?.type==="success"){try{this.#Z.onSuccess?.(B.data,U,W,_)}catch(L){Promise.reject(L)}try{this.#Z.onSettled?.(B.data,null,U,W,_)}catch(L){Promise.reject(L)}}else if(B?.type==="error"){try{this.#Z.onError?.(B.error,U,W,_)}catch(L){Promise.reject(L)}try{this.#Z.onSettled?.(void 0,B.error,U,W,_)}catch(L){Promise.reject(L)}}}this.listeners.forEach((U)=>{U(this.#$)})})}};var eL=class extends Y6{constructor(B={}){super();this.config=B,this.#X=new Map}#X;build(B,U,W){let _=U.queryKey,L=U.queryHash??V$(_,U),K=this.get(L);if(!K)K=new iL({client:B,queryKey:_,queryHash:L,options:B.defaultQueryOptions(U),state:W,defaultOptions:B.getQueryDefaults(_)}),this.add(K);return K}add(B){if(!this.#X.has(B.queryHash))this.#X.set(B.queryHash,B),this.notify({type:"added",query:B})}remove(B){let U=this.#X.get(B.queryHash);if(U){if(B.destroy(),U===B)this.#X.delete(B.queryHash);this.notify({type:"removed",query:B})}}clear(){t0.batch(()=>{this.getAll().forEach((B)=>{this.remove(B)})})}get(B){return this.#X.get(B)}getAll(){return[...this.#X.values()]}find(B){let U={exact:!0,...B};return this.getAll().find((W)=>XG(U,W))}findAll(B={}){let U=this.getAll();return Object.keys(B).length>0?U.filter((W)=>XG(B,W)):U}notify(B){t0.batch(()=>{this.listeners.forEach((U)=>{U(B)})})}onFocus(){t0.batch(()=>{this.getAll().forEach((B)=>{B.onFocus()})})}onOnline(){t0.batch(()=>{this.getAll().forEach((B)=>{B.onOnline()})})}};var WB=class{#X;#$;#Y;#Z;#G;#J;#B;#H;constructor(B={}){this.#X=B.queryCache||new eL,this.#$=B.mutationCache||new tL,this.#Y=B.defaultOptions||{},this.#Z=new Map,this.#G=new Map,this.#J=0}mount(){if(this.#J++,this.#J!==1)return;this.#B=E8.subscribe(async(B)=>{if(B)await this.resumePausedMutations(),this.#X.onFocus()}),this.#H=x8.subscribe(async(B)=>{if(B)await this.resumePausedMutations(),this.#X.onOnline()})}unmount(){if(this.#J--,this.#J!==0)return;this.#B?.(),this.#B=void 0,this.#H?.(),this.#H=void 0}isFetching(B){return this.#X.findAll({...B,fetchStatus:"fetching"}).length}isMutating(B){return this.#$.findAll({...B,status:"pending"}).length}getQueryData(B){let U=this.defaultQueryOptions({queryKey:B});return this.#X.get(U.queryHash)?.state.data}ensureQueryData(B){let U=this.defaultQueryOptions(B),W=this.#X.build(this,U),_=W.state.data;if(_===void 0)return this.fetchQuery(B);if(B.revalidateIfStale&&W.isStaleByTime(M6(U.staleTime,W)))this.prefetchQuery(U);return Promise.resolve(_)}getQueriesData(B){return this.#X.findAll(B).map(({queryKey:U,state:W})=>{let _=W.data;return[U,_]})}setQueryData(B,U,W){let _=this.defaultQueryOptions({queryKey:B}),K=this.#X.get(_.queryHash)?.state.data,T=hL(U,K);if(T===void 0)return;return this.#X.build(this,_).setData(T,{...W,manual:!0})}setQueriesData(B,U,W){return t0.batch(()=>this.#X.findAll(B).map(({queryKey:_})=>[_,this.setQueryData(_,U,W)]))}getQueryState(B){let U=this.defaultQueryOptions({queryKey:B});return this.#X.get(U.queryHash)?.state}removeQueries(B){let U=this.#X;t0.batch(()=>{U.findAll(B).forEach((W)=>{U.remove(W)})})}resetQueries(B,U){let W=this.#X;return t0.batch(()=>{return W.findAll(B).forEach((_)=>{_.reset()}),this.refetchQueries({type:"active",...B},U)})}cancelQueries(B,U={}){let W={revert:!0,...U},_=t0.batch(()=>this.#X.findAll(B).map((L)=>L.cancel(W)));return Promise.all(_).then(I5).catch(I5)}invalidateQueries(B,U={}){return t0.batch(()=>{if(this.#X.findAll(B).forEach((W)=>{W.invalidate()}),B?.refetchType==="none")return Promise.resolve();return this.refetchQueries({...B,type:B?.refetchType??B?.type??"active"},U)})}refetchQueries(B,U={}){let W={...U,cancelRefetch:U.cancelRefetch??!0},_=t0.batch(()=>this.#X.findAll(B).filter((L)=>!L.isDisabled()&&!L.isStatic()).map((L)=>{let K=L.fetch(void 0,W);if(!W.throwOnError)K=K.catch(I5);return L.state.fetchStatus==="paused"?Promise.resolve():K}));return Promise.all(_).then(I5)}fetchQuery(B){let U=this.defaultQueryOptions(B);if(U.retry===void 0)U.retry=!1;let W=this.#X.build(this,U);return W.isStaleByTime(M6(U.staleTime,W))?W.fetch(U):Promise.resolve(W.state.data)}prefetchQuery(B){return this.fetchQuery(B).then(I5).catch(I5)}fetchInfiniteQuery(B){return B.behavior=HB(B.pages),this.fetchQuery(B)}prefetchInfiniteQuery(B){return this.fetchInfiniteQuery(B).then(I5).catch(I5)}ensureInfiniteQueryData(B){return B.behavior=HB(B.pages),this.ensureQueryData(B)}resumePausedMutations(){if(x8.isOnline())return this.#$.resumePausedMutations();return Promise.resolve()}getQueryCache(){return this.#X}getMutationCache(){return this.#$}getDefaultOptions(){return this.#Y}setDefaultOptions(B){this.#Y=B}setQueryDefaults(B,U){this.#Z.set(o6(B),{queryKey:B,defaultOptions:U})}getQueryDefaults(B){let U=[...this.#Z.values()],W={};return U.forEach((_)=>{if(KX(B,_.queryKey))Object.assign(W,_.defaultOptions)}),W}setMutationDefaults(B,U){this.#G.set(o6(B),{mutationKey:B,defaultOptions:U})}getMutationDefaults(B){let U=[...this.#G.values()],W={};return U.forEach((_)=>{if(KX(B,_.mutationKey))Object.assign(W,_.defaultOptions)}),W}defaultQueryOptions(B){if(B._defaulted)return B;let U={...this.#Y.queries,...this.getQueryDefaults(B.queryKey),...B,_defaulted:!0};if(!U.queryHash)U.queryHash=V$(U.queryKey,U);if(U.refetchOnReconnect===void 0)U.refetchOnReconnect=U.networkMode!=="always";if(U.throwOnError===void 0)U.throwOnError=!!U.suspense;if(!U.networkMode&&U.persister)U.networkMode="offlineFirst";if(U.queryFn===QX)U.enabled=!1;return U}defaultMutationOptions(B){if(B?._defaulted)return B;return{...this.#Y.mutations,...B?.mutationKey&&this.getMutationDefaults(B.mutationKey),...B,_defaulted:!0}}clear(){this.#X.clear(),this.#$.clear()}};var R7=e(G5(),1);var k8=e(G5(),1),XN=e(_B(),1),AB=k8.createContext(void 0),MX=(B)=>{let U=k8.useContext(AB);if(B)return B;if(!U)throw Error("No QueryClient set, use QueryClientProvider to set one");return U},LB=({client:B,children:U})=>{return k8.useEffect(()=>{return B.mount(),()=>{B.unmount()}},[B]),XN.jsx(AB.Provider,{value:B,children:U})};var D$=e(G5(),1),jw=e(_B(),1);function Sw(){let B=!1;return{clearReset:()=>{B=!1},reset:()=>{B=!0},isReset:()=>{return B}}}var xw=D$.createContext(Sw()),$N=()=>D$.useContext(xw);var YN=e(G5(),1);var GN=(B,U,W)=>{let _=W?.state.error&&typeof B.throwOnError==="function"?S8(B.throwOnError,[W.state.error,W]):B.throwOnError;if(B.suspense||B.experimental_prefetchInRender||_){if(!U.isReset())B.retryOnMount=!1}},ZN=(B)=>{YN.useEffect(()=>{B.clearReset()},[B])},JN=({result:B,errorResetBoundary:U,throwOnError:W,query:_,suspense:L})=>{return B.isError&&!U.isReset()&&!B.isFetching&&_&&(L&&B.data===void 0||S8(W,[B.error,_]))};var HG=e(G5(),1),BN=HG.createContext(!1),HN=()=>HG.useContext(BN),hV=BN.Provider;var UN=(B)=>{if(B.suspense){let W=(L)=>L==="static"?L:Math.max(L??1000,1000),_=B.staleTime;if(B.staleTime=typeof _==="function"?(...L)=>W(_(...L)):W(_),typeof B.gcTime==="number")B.gcTime=Math.max(B.gcTime,1000)}},zN=(B,U)=>B.isLoading&&B.isFetching&&!U,WN=(B,U)=>B?.suspense&&U.isPending,NB=(B,U,W)=>U.fetchOptimistic(B).catch(()=>{W.clearReset()});function _N(B,U,W){if(typeof B!=="object"||Array.isArray(B))throw Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');let _=HN(),L=$N(),K=MX(W),T=K.defaultQueryOptions(B);K.getDefaultOptions().queries?._experimental_beforeQuery?.(T);let F=K.getQueryCache().get(T.queryHash);if(!T.queryFn)console.error(`[${T.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`);T._optimisticResults=_?"isRestoring":"optimistic",UN(T),GN(T,L,F),ZN(L);let C=!K.getQueryCache().get(T.queryHash),[j]=R7.useState(()=>new U(K,T)),w=j.getOptimisticResult(T),M=!_&&B.subscribed!==!1;if(R7.useSyncExternalStore(R7.useCallback((E)=>{let f=M?j.subscribe(t0.batchCalls(E)):I5;return j.updateResult(),f},[j,M]),()=>j.getCurrentResult(),()=>j.getCurrentResult()),R7.useEffect(()=>{j.setOptions(T)},[T,j]),WN(T,w))throw NB(T,j,L);if(JN({result:w,errorResetBoundary:L,throwOnError:T.throwOnError,query:F,suspense:T.suspense}))throw w.error;if(K.getDefaultOptions().queries?._experimental_afterQuery?.(T,w),T.experimental_prefetchInRender&&!r6.isServer()&&zN(w,_))(C?NB(T,j,L):F?.promise)?.catch(I5).finally(()=>{j.updateResult()});return!T.notifyOnChangeProps?j.trackResult(w):w}function X4(B,U){return _N(B,JB,U)}var D2=e(G5(),1);function QB(B,U){let W=MX(U),[_]=D2.useState(()=>new zB(W,B));D2.useEffect(()=>{_.setOptions(B)},[_,B]);let L=D2.useSyncExternalStore(D2.useCallback((T)=>_.subscribe(t0.batchCalls(T)),[_]),()=>_.getCurrentResult(),()=>_.getCurrentResult()),K=D2.useCallback((T,F)=>{_.mutate(T,F).catch(I5)},[_]);if(L.error&&S8(_.options.throwOnError,[L.error]))throw L.error;return{...L,mutate:K,mutateAsync:L.mutate}}var I4=e(G5(),1),J0=e(G5(),1),F5=e(G5(),1),kB=e(G5(),1),cN=e(G5(),1),f0=e(G5(),1),dT=e(G5(),1),uT=e(G5(),1),pT=e(G5(),1),H0=e(G5(),1),ZQ=e(G5(),1);var AN="popstate";function LN(B){return typeof B==="object"&&B!=null&&"pathname"in B&&"search"in B&&"hash"in B&&"state"in B&&"key"in B}function TN(B={}){function U(_,L){let K=L.state?.masked,{pathname:T,search:F,hash:C}=K||_.location;return wB("",{pathname:T,search:F,hash:C},L.state&&L.state.usr||null,L.state&&L.state.key||"default",K?{pathname:_.location.pathname,search:_.location.search,hash:_.location.hash}:void 0)}function W(_,L){return typeof L==="string"?L:v8(L)}return vw(U,W,null,B)}function L5(B,U){if(B===!1||B===null||typeof B>"u")throw Error(U)}function G6(B,U){if(!B){if(typeof console<"u")console.warn(U);try{throw Error(U)}catch(W){}}}function kw(){return Math.random().toString(36).substring(2,10)}function NN(B,U){return{usr:B.state,key:B.key,idx:U,masked:B.unstable_mask?{pathname:B.pathname,search:B.search,hash:B.hash}:void 0}}function wB(B,U,W=null,_,L){return{pathname:typeof B==="string"?B:B.pathname,search:"",hash:"",...typeof U==="string"?wX(U):U,state:W,key:U&&U.key||_||kw(),unstable_mask:L}}function v8({pathname:B="/",search:U="",hash:W=""}){if(U&&U!=="?")B+=U.charAt(0)==="?"?U:"?"+U;if(W&&W!=="#")B+=W.charAt(0)==="#"?W:"#"+W;return B}function wX(B){let U={};if(B){let W=B.indexOf("#");if(W>=0)U.hash=B.substring(W),B=B.substring(0,W);let _=B.indexOf("?");if(_>=0)U.search=B.substring(_),B=B.substring(0,_);if(B)U.pathname=B}return U}function vw(B,U,W,_={}){let{window:L=document.defaultView,v5Compat:K=!1}=_,T=L.history,F="POP",C=null,j=w();if(j==null)j=0,T.replaceState({...T.state,idx:j},"");function w(){return(T.state||{idx:null}).idx}function M(){F="POP";let v=w(),o=v==null?null:v-j;if(j=v,C)C({action:F,location:m.location,delta:o})}function E(v,o){F="PUSH";let t=LN(v)?v:wB(m.location,v,o);if(W)W(t,v);j=w()+1;let X0=NN(t,j),m0=m.createHref(t.unstable_mask||t);try{T.pushState(X0,"",m0)}catch(R0){if(R0 instanceof DOMException&&R0.name==="DataCloneError")throw R0;L.location.assign(m0)}if(K&&C)C({action:F,location:m.location,delta:1})}function f(v,o){F="REPLACE";let t=LN(v)?v:wB(m.location,v,o);if(W)W(t,v);j=w();let X0=NN(t,j),m0=m.createHref(t.unstable_mask||t);if(T.replaceState(X0,"",m0),K&&C)C({action:F,location:m.location,delta:0})}function y(v){return gw(v)}let m={get action(){return F},get location(){return B(L,T)},listen(v){if(C)throw Error("A history only accepts one active listener");return L.addEventListener(AN,M),C=v,()=>{L.removeEventListener(AN,M),C=null}},createHref(v){return U(L,v)},createURL:y,encodeLocation(v){let o=y(v);return{pathname:o.pathname,search:o.search,hash:o.hash}},push:E,replace:f,go(v){return T.go(v)}};return m}function gw(B,U=!1){let W="http://localhost";if(typeof window<"u")W=window.location.origin!=="null"?window.location.origin:window.location.href;L5(W,"No window.location.(origin|href) available to create URL");let _=typeof B==="string"?B:v8(B);if(_=_.replace(/ $/,"%20"),!U&&_.startsWith("//"))_=W+_;return new URL(_,W)}var bw;bw=new WeakMap;function PB(B,U,W="/"){return mw(B,U,W,!1)}function mw(B,U,W,_){let L=typeof U==="string"?wX(U):U,K=t6(L.pathname||"/",W);if(K==null)return null;let T=RN(B);hw(T);let F=null;for(let C=0;F==null&&C<T.length;++C){let j=ow(K);F=aw(T[C],j,_)}return F}function fw(B,U){let{route:W,pathname:_,params:L}=B;return{id:W.id,pathname:_,params:L,data:U[W.id],loaderData:U[W.id],handle:W.handle}}function RN(B,U=[],W=[],_="",L=!1){let K=(T,F,C=L,j)=>{let w={relativePath:j===void 0?T.path||"":j,caseSensitive:T.caseSensitive===!0,childrenIndex:F,route:T};if(w.relativePath.startsWith("/")){if(!w.relativePath.startsWith(_)&&C)return;L5(w.relativePath.startsWith(_),`Absolute route path "${w.relativePath}" nested under path "${_}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),w.relativePath=w.relativePath.slice(_.length)}let M=w6([_,w.relativePath]),E=W.concat(w);if(T.children&&T.children.length>0)L5(T.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${M}".`),RN(T.children,U,E,M,C);if(T.path==null&&!T.index)return;U.push({path:M,score:sw(M,T.index),routesMeta:E})};return B.forEach((T,F)=>{if(T.path===""||!T.path?.includes("?"))K(T,F);else for(let C of IN(T.path))K(T,F,!0,C)}),U}function IN(B){let U=B.split("/");if(U.length===0)return[];let[W,..._]=U,L=W.endsWith("?"),K=W.replace(/\?$/,"");if(_.length===0)return L?[K,""]:[K];let T=IN(_.join("/")),F=[];if(F.push(...T.map((C)=>C===""?K:[K,C].join("/"))),L)F.push(...T);return F.map((C)=>B.startsWith("/")&&C===""?"/":C)}function hw(B){B.sort((U,W)=>U.score!==W.score?W.score-U.score:iw(U.routesMeta.map((_)=>_.childrenIndex),W.routesMeta.map((_)=>_.childrenIndex)))}var yw=/^:[\w-]+$/,dw=3,uw=2,pw=1,lw=10,cw=-2,QN=(B)=>B==="*";function sw(B,U){let W=B.split("/"),_=W.length;if(W.some(QN))_+=cw;if(U)_+=uw;return W.filter((L)=>!QN(L)).reduce((L,K)=>L+(yw.test(K)?dw:K===""?pw:lw),_)}function iw(B,U){return B.length===U.length&&B.slice(0,-1).every((_,L)=>_===U[L])?B[B.length-1]-U[U.length-1]:0}function aw(B,U,W=!1){let{routesMeta:_}=B,L={},K="/",T=[];for(let F=0;F<_.length;++F){let C=_[F],j=F===_.length-1,w=K==="/"?U:U.slice(K.length)||"/",M=E$({path:C.relativePath,caseSensitive:C.caseSensitive,end:j},w),E=C.route;if(!M&&j&&W&&!_[_.length-1].route.index)M=E$({path:C.relativePath,caseSensitive:C.caseSensitive,end:!1},w);if(!M)return null;if(Object.assign(L,M.params),T.push({params:L,pathname:w6([K,M.pathname]),pathnameBase:ew(w6([K,M.pathnameBase])),route:E}),M.pathnameBase!=="/")K=w6([K,M.pathnameBase])}return T}function E$(B,U){if(typeof B==="string")B={path:B,caseSensitive:!1,end:!0};let[W,_]=nw(B.path,B.caseSensitive,B.end),L=U.match(W);if(!L)return null;let K=L[0],T=K.replace(/(.)\/+$/,"$1"),F=L.slice(1);return{params:_.reduce((j,{paramName:w,isOptional:M},E)=>{if(w==="*"){let y=F[E]||"";T=K.slice(0,K.length-y.length).replace(/(.)\/+$/,"$1")}let f=F[E];if(M&&!f)j[w]=void 0;else j[w]=(f||"").replace(/%2F/g,"/");return j},{}),pathname:K,pathnameBase:T,pattern:B}}function nw(B,U=!1,W=!0){G6(B==="*"||!B.endsWith("*")||B.endsWith("/*"),`Route path "${B}" will be treated as if it were "${B.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${B.replace(/\*$/,"/*")}".`);let _=[],L="^"+B.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(T,F,C,j,w)=>{if(_.push({paramName:F,isOptional:C!=null}),C){let M=w.charAt(j+T.length);if(M&&M!=="/")return"/([^\\/]*)";return"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");if(B.endsWith("*"))_.push({paramName:"*"}),L+=B==="*"||B==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$";else if(W)L+="\\/*$";else if(B!==""&&B!=="/")L+="(?:(?=\\/|$))";return[new RegExp(L,U?void 0:"i"),_]}function ow(B){try{return B.split("/").map((U)=>decodeURIComponent(U).replace(/\//g,"%2F")).join("/")}catch(U){return G6(!1,`The URL path "${B}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${U}).`),B}}function t6(B,U){if(U==="/")return B;if(!B.toLowerCase().startsWith(U.toLowerCase()))return null;let W=U.endsWith("/")?U.length-1:U.length,_=B.charAt(W);if(_&&_!=="/")return null;return B.slice(W)||"/"}var rw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function PN(B,U="/"){let{pathname:W,search:_="",hash:L=""}=typeof B==="string"?wX(B):B,K;if(W)if(W=ON(W),W.startsWith("/"))K=KN(W.substring(1),"/");else K=KN(W,U);else K=U;return{pathname:K,search:XT(_),hash:$T(L)}}function KN(B,U){let W=AG(U).split("/");return B.split("/").forEach((L)=>{if(L===".."){if(W.length>1)W.pop()}else if(L!==".")W.push(L)}),W.length>1?W.join("/"):"/"}function KB(B,U,W,_){return`Cannot include a '${B}' character in a manually specified \`to.${U}\` field [${JSON.stringify(_)}]. Please separate it out to the \`to.${W}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function tw(B){return B.filter((U,W)=>W===0||U.route.path&&U.route.path.length>0)}function VN(B){let U=tw(B);return U.map((W,_)=>_===U.length-1?W.pathname:W.pathnameBase)}function VB(B,U,W,_=!1){let L;if(typeof B==="string")L=wX(B);else L={...B},L5(!L.pathname||!L.pathname.includes("?"),KB("?","pathname","search",L)),L5(!L.pathname||!L.pathname.includes("#"),KB("#","pathname","hash",L)),L5(!L.search||!L.search.includes("#"),KB("#","search","hash",L));let K=B===""||L.pathname==="",T=K?"/":L.pathname,F;if(T==null)F=W;else{let M=U.length-1;if(!_&&T.startsWith("..")){let E=T.split("/");while(E[0]==="..")E.shift(),M-=1;L.pathname=E.join("/")}F=M>=0?U[M]:"/"}let C=PN(L,F),j=T&&T!=="/"&&T.endsWith("/"),w=(K||T===".")&&W.endsWith("/");if(!C.pathname.endsWith("/")&&(j||w))C.pathname+="/";return C}var ON=(B)=>B.replace(/\/\/+/g,"/"),w6=(B)=>ON(B.join("/")),AG=(B)=>B.replace(/\/+$/,""),ew=(B)=>AG(B).replace(/^\/*/,"/"),XT=(B)=>!B||B==="?"?"":B.startsWith("?")?B:"?"+B,$T=(B)=>!B||B==="#"?"":B.startsWith("#")?B:"#"+B;var qN=class{constructor(B,U,W,_=!1){if(this.status=B,this.statusText=U||"",this.internal=_,W instanceof Error)this.data=W.toString(),this.error=W;else this.data=W}};function DN(B){return B!=null&&typeof B.status==="number"&&typeof B.statusText==="string"&&typeof B.internal==="boolean"&&"data"in B}function YT(B){let U=B.map((W)=>W.route.path).filter(Boolean);return w6(U)||"/"}var CN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function EN(B,U){let W=B;if(typeof W!=="string"||!rw.test(W))return{absoluteURL:void 0,isExternal:!1,to:W};let _=W,L=!1;if(CN)try{let K=new URL(window.location.href),T=W.startsWith("//")?new URL(K.protocol+W):new URL(W),F=t6(T.pathname,U);if(T.origin===K.origin&&F!=null)W=F+T.search+T.hash;else L=!0}catch(K){G6(!1,`<Link to="${W}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:_,isExternal:L,to:W}}var yO=Symbol("Uninstrumented");var dO=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var jN=["POST","PUT","PATCH","DELETE"],uO=new Set(jN),GT=["GET",...jN],pO=new Set(GT);var lO=Symbol("ResetLoaderData");var TX=I4.createContext(null);TX.displayName="DataRouter";var g8=I4.createContext(null);g8.displayName="DataRouterState";var SN=I4.createContext(!1);function ZT(){return I4.useContext(SN)}var OB=I4.createContext({isTransitioning:!1});OB.displayName="ViewTransition";var xN=I4.createContext(new Map);xN.displayName="Fetchers";var JT=I4.createContext(null);JT.displayName="Await";var _4=I4.createContext(null);_4.displayName="Navigation";var b8=I4.createContext(null);b8.displayName="Location";var e6=I4.createContext({outlet:null,matches:[],isDataRoute:!1});e6.displayName="Route";var qB=I4.createContext(null);qB.displayName="RouteError";var TB=!0,kN="REACT_ROUTER_ERROR",BT="REDIRECT",HT="ROUTE_ERROR_RESPONSE";function UT(B){if(B.startsWith(`${kN}:${BT}:{`))try{let U=JSON.parse(B.slice(28));if(typeof U==="object"&&U&&typeof U.status==="number"&&typeof U.statusText==="string"&&typeof U.location==="string"&&typeof U.reloadDocument==="boolean"&&typeof U.replace==="boolean")return U}catch{}}function zT(B){if(B.startsWith(`${kN}:${HT}:{`))try{let U=JSON.parse(B.slice(40));if(typeof U==="object"&&U&&typeof U.status==="number"&&typeof U.statusText==="string")return new qN(U.status,U.statusText,U.data)}catch{}}function vN(B,{relative:U}={}){L5(m8(),"useHref() may be used only in the context of a <Router> component.");let{basename:W,navigator:_}=J0.useContext(_4),{hash:L,pathname:K,search:T}=f8(B,{relative:U}),F=K;if(W!=="/")F=K==="/"?W:w6([W,K]);return _.createHref({pathname:F,search:T,hash:L})}function m8(){return J0.useContext(b8)!=null}function Z6(){return L5(m8(),"useLocation() may be used only in the context of a <Router> component."),J0.useContext(b8).location}var gN="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function bN(B){if(!J0.useContext(_4).static)J0.useLayoutEffect(B)}function mN(){let{isDataRoute:B}=J0.useContext(e6);return B?wT():WT()}function WT(){L5(m8(),"useNavigate() may be used only in the context of a <Router> component.");let B=J0.useContext(TX),{basename:U,navigator:W}=J0.useContext(_4),{matches:_}=J0.useContext(e6),{pathname:L}=Z6(),K=JSON.stringify(VN(_)),T=J0.useRef(!1);return bN(()=>{T.current=!0}),J0.useCallback((C,j={})=>{if(G6(T.current,gN),!T.current)return;if(typeof C==="number"){W.go(C);return}let w=VB(C,JSON.parse(K),L,j.relative==="path");if(B==null&&U!=="/")w.pathname=w.pathname==="/"?U:w6([U,w.pathname]);(j.replace?W.replace:W.push)(w,j.state,j)},[U,W,K,L,B])}var cO=J0.createContext(null);function f8(B,{relative:U}={}){let{matches:W}=J0.useContext(e6),{pathname:_}=Z6(),L=JSON.stringify(VN(W));return J0.useMemo(()=>VB(B,JSON.parse(L),_,U==="path"),[B,L,_,U])}function fN(B,U){return hN(B,U)}function hN(B,U,W){L5(m8(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:_}=J0.useContext(_4),{matches:L}=J0.useContext(e6),K=L[L.length-1],T=K?K.params:{},F=K?K.pathname:"/",C=K?K.pathnameBase:"/",j=K&&K.route;if(TB){let v=j&&j.path||"";pN(F,!j||v.endsWith("*")||v.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${F}" (under <Route path="${v}">) 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.
Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}/*`}">.`)}let w=Z6(),M;if(U){let v=typeof U==="string"?wX(U):U;L5(C==="/"||v.pathname?.startsWith(C),`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 "${C}" but pathname "${v.pathname}" was given in the \`location\` prop.`),M=v}else M=w;let E=M.pathname||"/",f=E;if(C!=="/"){let v=C.replace(/^\//,"").split("/");f="/"+E.replace(/^\//,"").split("/").slice(v.length).join("/")}let y=PB(B,{pathname:f});if(TB)G6(j||y!=null,`No routes matched location "${M.pathname}${M.search}${M.hash}" `),G6(y==null||y[y.length-1].route.element!==void 0||y[y.length-1].route.Component!==void 0||y[y.length-1].route.lazy!==void 0,`Matched leaf route at location "${M.pathname}${M.search}${M.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 m=QT(y&&y.map((v)=>Object.assign({},v,{params:Object.assign({},T,v.params),pathname:w6([C,_.encodeLocation?_.encodeLocation(v.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?C:w6([C,_.encodeLocation?_.encodeLocation(v.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathnameBase])})),L,W);if(U&&m)return J0.createElement(b8.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...M},navigationType:"POP"}},m);return m}function _T(){let B=uN(),U=DN(B)?`${B.status} ${B.statusText}`:B instanceof Error?B.message:JSON.stringify(B),W=B instanceof Error?B.stack:null,_="rgba(200,200,200, 0.5)",L={padding:"0.5rem",backgroundColor:_},K={padding:"2px 4px",backgroundColor:_},T=null;if(TB)console.error("Error handled by React Router default ErrorBoundary:",B),T=J0.createElement(J0.Fragment,null,J0.createElement("p",null,"\uD83D\uDCBF Hey developer \uD83D\uDC4B"),J0.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",J0.createElement("code",{style:K},"ErrorBoundary")," or"," ",J0.createElement("code",{style:K},"errorElement")," prop on your route."));return J0.createElement(J0.Fragment,null,J0.createElement("h2",null,"Unexpected Application Error!"),J0.createElement("h3",{style:{fontStyle:"italic"}},U),W?J0.createElement("pre",{style:L},W):null,T)}var AT=J0.createElement(_T,null),yN=class extends J0.Component{constructor(B){super(B);this.state={location:B.location,revalidation:B.revalidation,error:B.error}}static getDerivedStateFromError(B){return{error:B}}static getDerivedStateFromProps(B,U){if(U.location!==B.location||U.revalidation!=="idle"&&B.revalidation==="idle")return{error:B.error,location:B.location,revalidation:B.revalidation};return{error:B.error!==void 0?B.error:U.error,location:U.location,revalidation:B.revalidation||U.revalidation}}componentDidCatch(B,U){if(this.props.onError)this.props.onError(B,U);else console.error("React Router caught the following error during render",B)}render(){let B=this.state.error;if(this.context&&typeof B==="object"&&B&&"digest"in B&&typeof B.digest==="string"){let W=zT(B.digest);if(W)B=W}let U=B!==void 0?J0.createElement(e6.Provider,{value:this.props.routeContext},J0.createElement(qB.Provider,{value:B,children:this.props.component})):this.props.children;if(this.context)return J0.createElement(LT,{error:B},U);return U}};yN.contextType=SN;var FB=new WeakMap;function LT({children:B,error:U}){let{basename:W}=J0.useContext(_4);if(typeof U==="object"&&U&&"digest"in U&&typeof U.digest==="string"){let _=UT(U.digest);if(_){let L=FB.get(U);if(L)throw L;let K=EN(_.location,W);if(CN&&!FB.get(U))if(K.isExternal||_.reloadDocument)window.location.href=K.absoluteURL||K.to;else{let T=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(K.to,{replace:_.replace}));throw FB.set(U,T),T}return J0.createElement("meta",{httpEquiv:"refresh",content:`0;url=${K.absoluteURL||K.to}`})}}return B}function NT({routeContext:B,match:U,children:W}){let _=J0.useContext(TX);if(_&&_.static&&_.staticContext&&(U.route.errorElement||U.route.ErrorBoundary))_.staticContext._deepestRenderedBoundaryId=U.route.id;return J0.createElement(e6.Provider,{value:B},W)}function QT(B,U=[],W){let _=W?.state;if(B==null){if(!_)return null;if(_.errors)B=_.matches;else if(U.length===0&&!_.initialized&&_.matches.length>0)B=_.matches;else return null}let L=B,K=_?.errors;if(K!=null){let w=L.findIndex((M)=>M.route.id&&K?.[M.route.id]!==void 0);L5(w>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(K).join(",")}`),L=L.slice(0,Math.min(L.length,w+1))}let T=!1,F=-1;if(W&&_){T=_.renderFallback;for(let w=0;w<L.length;w++){let M=L[w];if(M.route.HydrateFallback||M.route.hydrateFallbackElement)F=w;if(M.route.id){let{loaderData:E,errors:f}=_,y=M.route.loader&&!E.hasOwnProperty(M.route.id)&&(!f||f[M.route.id]===void 0);if(M.route.lazy||y){if(W.isStatic)T=!0;if(F>=0)L=L.slice(0,F+1);else L=[L[0]];break}}}}let C=W?.onError,j=_&&C?(w,M)=>{C(w,{location:_.location,params:_.matches?.[0]?.params??{},unstable_pattern:YT(_.matches),errorInfo:M})}:void 0;return L.reduceRight((w,M,E)=>{let f,y=!1,m=null,v=null;if(_){if(f=K&&M.route.id?K[M.route.id]:void 0,m=M.route.errorElement||AT,T){if(F<0&&E===0)pN("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,v=null;else if(F===E)y=!0,v=M.route.hydrateFallbackElement||null}}let o=U.concat(L.slice(0,E+1)),t=()=>{let X0;if(f)X0=m;else if(y)X0=v;else if(M.route.Component)X0=J0.createElement(M.route.Component,null);else if(M.route.element)X0=M.route.element;else X0=w;return J0.createElement(NT,{match:M,routeContext:{outlet:w,matches:o,isDataRoute:_!=null},children:X0})};return _&&(M.route.ErrorBoundary||M.route.errorElement||E===0)?J0.createElement(yN,{location:_.location,revalidation:_.revalidation,component:m,error:f,children:t(),routeContext:{outlet:null,matches:o,isDataRoute:!0},onError:j}):t()},null)}function DB(B){return`${B} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function KT(B){let U=J0.useContext(TX);return L5(U,DB(B)),U}function CB(B){let U=J0.useContext(g8);return L5(U,DB(B)),U}function FT(B){let U=J0.useContext(e6);return L5(U,DB(B)),U}function EB(B){let U=FT(B),W=U.matches[U.matches.length-1];return L5(W.route.id,`${B} can only be used on routes that contain a unique "id"`),W.route.id}function MT(){return EB("useRouteId")}function dN(){return CB("useNavigation").navigation}function jB(){let{matches:B,loaderData:U}=CB("useMatches");return J0.useMemo(()=>B.map((W)=>fw(W,U)),[B,U])}function uN(){let B=J0.useContext(qB),U=CB("useRouteError"),W=EB("useRouteError");if(B!==void 0)return B;return U.errors?.[W]}function wT(){let{router:B}=KT("useNavigate"),U=EB("useNavigate"),W=J0.useRef(!1);return bN(()=>{W.current=!0}),J0.useCallback(async(L,K={})=>{if(G6(W.current,gN),!W.current)return;if(typeof L==="number")await B.navigate(L);else await B.navigate(L,{fromRouteId:U,...K})},[B,U])}var FN={};function pN(B,U,W){if(!U&&!FN[B])FN[B]=!0,G6(!1,W)}var TT="useOptimistic",sO=F5[TT];var iO=F5.memo(RT);function RT({routes:B,future:U,state:W,isStatic:_,onError:L}){return hN(B,void 0,{state:W,isStatic:_,onError:L,future:U})}function j$(B){L5(!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 SB({basename:B="/",children:U=null,location:W,navigationType:_="POP",navigator:L,static:K=!1,unstable_useTransitions:T}){L5(!m8(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let F=B.replace(/^\/*/,"/"),C=F5.useMemo(()=>({basename:F,navigator:L,static:K,unstable_useTransitions:T,future:{}}),[F,L,K,T]);if(typeof W==="string")W=wX(W);let{pathname:j="/",search:w="",hash:M="",state:E=null,key:f="default",unstable_mask:y}=W,m=F5.useMemo(()=>{let v=t6(j,F);if(v==null)return null;return{location:{pathname:v,search:w,hash:M,state:E,key:f,unstable_mask:y},navigationType:_}},[F,j,w,M,E,f,_,y]);if(G6(m!=null,`<Router basename="${F}"> is not able to match the URL "${j}${w}${M}" because it does not start with the basename, so the <Router> won't render anything.`),m==null)return null;return F5.createElement(_4.Provider,{value:C},F5.createElement(b8.Provider,{children:U,value:m}))}function xB({children:B,location:U}){return fN(LG(B),U)}function LG(B,U=[]){let W=[];return F5.Children.forEach(B,(_,L)=>{if(!F5.isValidElement(_))return;let K=[...U,L];if(_.type===F5.Fragment){W.push.apply(W,LG(_.props.children,K));return}L5(_.type===j$,`[${typeof _.type==="string"?_.type:_.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),L5(!_.props.index||!_.props.children,"An index route cannot have child routes.");let T={id:_.props.id||K.join("-"),caseSensitive:_.props.caseSensitive,element:_.props.element,Component:_.props.Component,index:_.props.index,path:_.props.path,middleware:_.props.middleware,loader:_.props.loader,action:_.props.action,hydrateFallbackElement:_.props.hydrateFallbackElement,HydrateFallback:_.props.HydrateFallback,errorElement:_.props.errorElement,ErrorBoundary:_.props.ErrorBoundary,hasErrorBoundary:_.props.hasErrorBoundary===!0||_.props.ErrorBoundary!=null||_.props.errorElement!=null,shouldRevalidate:_.props.shouldRevalidate,handle:_.props.handle,lazy:_.props.lazy};if(_.props.children)T.children=LG(_.props.children,K);W.push(T)}),W}var WG="get",_G="application/x-www-form-urlencoded";function NG(B){return typeof HTMLElement<"u"&&B instanceof HTMLElement}function IT(B){return NG(B)&&B.tagName.toLowerCase()==="button"}function PT(B){return NG(B)&&B.tagName.toLowerCase()==="form"}function VT(B){return NG(B)&&B.tagName.toLowerCase()==="input"}function OT(B){return!!(B.metaKey||B.altKey||B.ctrlKey||B.shiftKey)}function qT(B,U){return B.button===0&&(!U||U==="_self")&&!OT(B)}var UG=null;function DT(){if(UG===null)try{new FormData(document.createElement("form"),0),UG=!1}catch(B){UG=!0}return UG}var CT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function MB(B){if(B!=null&&!CT.has(B))return G6(!1,`"${B}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${_G}"`),null;return B}function ET(B,U){let W,_,L,K,T;if(PT(B)){let F=B.getAttribute("action");_=F?t6(F,U):null,W=B.getAttribute("method")||WG,L=MB(B.getAttribute("enctype"))||_G,K=new FormData(B)}else if(IT(B)||VT(B)&&(B.type==="submit"||B.type==="image")){let F=B.form;if(F==null)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');let C=B.getAttribute("formaction")||F.getAttribute("action");if(_=C?t6(C,U):null,W=B.getAttribute("formmethod")||F.getAttribute("method")||WG,L=MB(B.getAttribute("formenctype"))||MB(F.getAttribute("enctype"))||_G,K=new FormData(F,B),!DT()){let{name:j,type:w,value:M}=B;if(w==="image"){let E=j?`${j}.`:"";K.append(`${E}x`,"0"),K.append(`${E}y`,"0")}else if(j)K.append(j,M)}}else if(NG(B))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else W=WG,_=null,L=_G,T=B;if(K&&L==="text/plain")T=K,K=void 0;return{action:_,method:W.toLowerCase(),encType:L,formData:K,body:T}}var aO=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var jT={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},ST=/[&><\u2028\u2029]/g;function MN(B){return B.replace(ST,(U)=>jT[U])}function vB(B,U){if(B===!1||B===null||typeof B>"u")throw Error(U)}var xT=Symbol("SingleFetchRedirect");function lN(B,U,W,_){let L=typeof B==="string"?new URL(B,typeof window>"u"?"server://singlefetch/":window.location.origin):B;if(W)if(L.pathname.endsWith("/"))L.pathname=`${L.pathname}_.${_}`;else L.pathname=`${L.pathname}.${_}`;else if(L.pathname==="/")L.pathname=`_root.${_}`;else if(U&&t6(L.pathname,U)==="/")L.pathname=`${AG(U)}/_root.${_}`;else L.pathname=`${AG(L.pathname)}.${_}`;return L}async function kT(B,U){if(B.id in U)return U[B.id];try{let W=await import(B.module);return U[B.id]=W,W}catch(W){return console.error(`Error loading route module \`${B.module}\`, reloading page...`),console.error(W),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode&&void 0,window.location.reload(),new Promise(()=>{})}}function vT(B){return B!=null&&typeof B.page==="string"}function gT(B){if(B==null)return!1;if(B.href==null)return B.rel==="preload"&&typeof B.imageSrcSet==="string"&&typeof B.imageSizes==="string";return typeof B.rel==="string"&&typeof B.href==="string"}async function bT(B,U,W){let _=await Promise.all(B.map(async(L)=>{let K=U.routes[L.route.id];if(K){let T=await kT(K,W);return T.links?T.links():[]}return[]}));return yT(_.flat(1).filter(gT).filter((L)=>L.rel==="stylesheet"||L.rel==="preload").map((L)=>L.rel==="stylesheet"?{...L,rel:"prefetch",as:"style"}:{...L,rel:"prefetch"}))}function wN(B,U,W,_,L,K){let T=(C,j)=>{if(!W[j])return!0;return C.route.id!==W[j].route.id},F=(C,j)=>{return W[j].pathname!==C.pathname||W[j].route.path?.endsWith("*")&&W[j].params["*"]!==C.params["*"]};if(K==="assets")return U.filter((C,j)=>T(C,j)||F(C,j));if(K==="data")return U.filter((C,j)=>{let w=_.routes[C.route.id];if(!w||!w.hasLoader)return!1;if(T(C,j)||F(C,j))return!0;if(C.route.shouldRevalidate){let M=C.route.shouldRevalidate({currentUrl:new URL(L.pathname+L.search+L.hash,window.origin),currentParams:W[0]?.params||{},nextUrl:new URL(B,window.origin),nextParams:C.params,defaultShouldRevalidate:!0});if(typeof M==="boolean")return M}return!0});return[]}function mT(B,U,{includeHydrateFallback:W}={}){return fT(B.map((_)=>{let L=U.routes[_.route.id];if(!L)return[];let K=[L.module];if(L.clientActionModule)K=K.concat(L.clientActionModule);if(L.clientLoaderModule)K=K.concat(L.clientLoaderModule);if(W&&L.hydrateFallbackModule)K=K.concat(L.hydrateFallbackModule);if(L.imports)K=K.concat(L.imports);return K}).flat(1))}function fT(B){return[...new Set(B)]}function hT(B){let U={},W=Object.keys(B).sort();for(let _ of W)U[_]=B[_];return U}function yT(B,U){let W=new Set,_=new Set(U);return B.reduce((L,K)=>{if(U&&!vT(K)&&K.as==="script"&&K.href&&_.has(K.href))return L;let F=JSON.stringify(hT(K));if(!W.has(F))W.add(F),L.push({key:F,link:K});return L},[])}function gB(){let B=f0.useContext(TX);return vB(B,"You must render this element inside a <DataRouterContext.Provider> element"),B}function lT(){let B=f0.useContext(g8);return vB(B,"You must render this element inside a <DataRouterStateContext.Provider> element"),B}var S$=f0.createContext(void 0);S$.displayName="FrameworkContext";function bB(){let B=f0.useContext(S$);return vB(B,"You must render this element inside a <HydratedRouter> element"),B}function cT(B,U){let W=f0.useContext(S$),[_,L]=f0.useState(!1),[K,T]=f0.useState(!1),{onFocus:F,onBlur:C,onMouseEnter:j,onMouseLeave:w,onTouchStart:M}=U,E=f0.useRef(null);f0.useEffect(()=>{if(B==="render")T(!0);if(B==="viewport"){let v=new IntersectionObserver((o)=>{o.forEach((t)=>{T(t.isIntersecting)})},{threshold:0.5});if(E.current)v.observe(E.current);return()=>{v.disconnect()}}},[B]),f0.useEffect(()=>{if(_){let m=setTimeout(()=>{T(!0)},100);return()=>{clearTimeout(m)}}},[_]);let f=()=>{L(!0)},y=()=>{L(!1),T(!1)};if(!W)return[!1,E,{}];if(B!=="intent")return[K,E,{}];return[K,E,{onFocus:C$(F,f),onBlur:C$(C,y),onMouseEnter:C$(j,f),onMouseLeave:C$(w,y),onTouchStart:C$(M,f)}]}function C$(B,U){return(W)=>{if(B&&B(W),!W.defaultPrevented)U(W)}}function sN({page:B,...U}){let W=ZT(),{router:_}=gB(),L=f0.useMemo(()=>PB(_.routes,B,_.basename),[_.routes,B,_.basename]);if(!L)return null;if(W)return f0.createElement(iT,{page:B,matches:L,...U});return f0.createElement(aT,{page:B,matches:L,...U})}function sT(B){let{manifest:U,routeModules:W}=bB(),[_,L]=f0.useState([]);return f0.useEffect(()=>{let K=!1;return bT(B,U,W).then((T)=>{if(!K)L(T)}),()=>{K=!0}},[B,U,W]),_}function iT({page:B,matches:U,...W}){let _=Z6(),{future:L}=bB(),{basename:K}=gB(),T=f0.useMemo(()=>{if(B===_.pathname+_.search+_.hash)return[];let F=lN(B,K,L.unstable_trailingSlashAwareDataRequests,"rsc"),C=!1,j=[];for(let w of U)if(typeof w.route.shouldRevalidate==="function")C=!0;else j.push(w.route.id);if(C&&j.length>0)F.searchParams.set("_routes",j.join(","));return[F.pathname+F.search]},[K,L.unstable_trailingSlashAwareDataRequests,B,_,U]);return f0.createElement(f0.Fragment,null,T.map((F)=>f0.createElement("link",{key:F,rel:"prefetch",as:"fetch",href:F,...W})))}function aT({page:B,matches:U,...W}){let _=Z6(),{future:L,manifest:K,routeModules:T}=bB(),{basename:F}=gB(),{loaderData:C,matches:j}=lT(),w=f0.useMemo(()=>wN(B,U,j,K,_,"data"),[B,U,j,K,_]),M=f0.useMemo(()=>wN(B,U,j,K,_,"assets"),[B,U,j,K,_]),E=f0.useMemo(()=>{if(B===_.pathname+_.search+_.hash)return[];let m=new Set,v=!1;if(U.forEach((t)=>{let X0=K.routes[t.route.id];if(!X0||!X0.hasLoader)return;if(!w.some((m0)=>m0.route.id===t.route.id)&&t.route.id in C&&T[t.route.id]?.shouldRevalidate)v=!0;else if(X0.hasClientLoader)v=!0;else m.add(t.route.id)}),m.size===0)return[];let o=lN(B,F,L.unstable_trailingSlashAwareDataRequests,"data");if(v&&m.size>0)o.searchParams.set("_routes",U.filter((t)=>m.has(t.route.id)).map((t)=>t.route.id).join(","));return[o.pathname+o.search]},[F,L.unstable_trailingSlashAwareDataRequests,C,_,K,w,U,B,T]),f=f0.useMemo(()=>mT(M,K),[M,K]),y=sT(M);return f0.createElement(f0.Fragment,null,E.map((m)=>f0.createElement("link",{key:m,rel:"prefetch",as:"fetch",href:m,...W})),f.map((m)=>f0.createElement("link",{key:m,rel:"modulepreload",href:m,...W})),y.map(({key:m,link:v})=>f0.createElement("link",{key:m,nonce:W.nonce,...v,crossOrigin:v.crossOrigin??W.crossOrigin})))}function nT(...B){return(U)=>{B.forEach((W)=>{if(typeof W==="function")W(U);else if(W!=null)W.current=U})}}var oT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{if(oT)window.__reactRouterVersion="7.14.1"}catch(B){}function mB({basename:B,children:U,unstable_useTransitions:W,window:_}){let L=H0.useRef();if(L.current==null)L.current=TN({window:_,v5Compat:!0});let K=L.current,[T,F]=H0.useState({action:K.action,location:K.location}),C=H0.useCallback((j)=>{if(W===!1)F(j);else H0.startTransition(()=>F(j))},[W]);return H0.useLayoutEffect(()=>K.listen(C),[K,C]),H0.createElement(SB,{basename:B,children:U,location:T.location,navigationType:T.action,navigator:K,unstable_useTransitions:W})}function iN({basename:B,children:U,history:W,unstable_useTransitions:_}){let[L,K]=H0.useState({action:W.action,location:W.location}),T=H0.useCallback((F)=>{if(_===!1)K(F);else H0.startTransition(()=>K(F))},[_]);return H0.useLayoutEffect(()=>W.listen(T),[W,T]),H0.createElement(SB,{basename:B,children:U,location:L.location,navigationType:L.action,navigator:W,unstable_useTransitions:_})}iN.displayName="unstable_HistoryRouter";var aN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,x$=H0.forwardRef(function({onClick:U,discover:W="render",prefetch:_="none",relative:L,reloadDocument:K,replace:T,unstable_mask:F,state:C,target:j,to:w,preventScrollReset:M,viewTransition:E,unstable_defaultShouldRevalidate:f,...y},m){let{basename:v,navigator:o,unstable_useTransitions:t}=H0.useContext(_4),X0=typeof w==="string"&&aN.test(w),m0=EN(w,v);w=m0.to;let R0=vN(w,{relative:L}),H5=Z6(),G0=null;if(F){let u=VB(F,[],H5.unstable_mask?H5.unstable_mask.pathname:"/",!0);if(v!=="/")u.pathname=u.pathname==="/"?v:w6([v,u.pathname]);G0=o.createHref(u)}let[r,e0,p]=cT(_,y),o0=eN(w,{replace:T,unstable_mask:F,state:C,target:j,preventScrollReset:M,relative:L,viewTransition:E,unstable_defaultShouldRevalidate:f,unstable_useTransitions:t});function I0(u){if(U)U(u);if(!u.defaultPrevented)o0(u)}let K0=!(m0.isExternal||K),N5=H0.createElement("a",{...y,...p,href:(K0?G0:void 0)||m0.absoluteURL||R0,onClick:K0?I0:U,ref:nT(m,e0),target:j,"data-discover":!X0&&W==="render"?"true":void 0});return r&&!X0?H0.createElement(H0.Fragment,null,N5,H0.createElement(sN,{page:R0})):N5});x$.displayName="Link";var nN=H0.forwardRef(function({"aria-current":U="page",caseSensitive:W=!1,className:_="",end:L=!1,style:K,to:T,viewTransition:F,children:C,...j},w){let M=f8(T,{relative:j.relative}),E=Z6(),f=H0.useContext(g8),{navigator:y,basename:m}=H0.useContext(_4),v=f!=null&&GQ(M)&&F===!0,o=y.encodeLocation?y.encodeLocation(M).pathname:M.pathname,t=E.pathname,X0=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;if(!W)t=t.toLowerCase(),X0=X0?X0.toLowerCase():null,o=o.toLowerCase();if(X0&&m)X0=t6(X0,m)||X0;let m0=o!=="/"&&o.endsWith("/")?o.length-1:o.length,R0=t===o||!L&&t.startsWith(o)&&t.charAt(m0)==="/",H5=X0!=null&&(X0===o||!L&&X0.startsWith(o)&&X0.charAt(o.length)==="/"),G0={isActive:R0,isPending:H5,isTransitioning:v},r=R0?U:void 0,e0;if(typeof _==="function")e0=_(G0);else e0=[_,R0?"active":null,H5?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let p=typeof K==="function"?K(G0):K;return H0.createElement(x$,{...j,"aria-current":r,className:e0,ref:w,style:p,to:T,viewTransition:F},typeof C==="function"?C(G0):C)});nN.displayName="NavLink";var oN=H0.forwardRef(({discover:B="render",fetcherKey:U,navigate:W,reloadDocument:_,replace:L,state:K,method:T=WG,action:F,onSubmit:C,relative:j,preventScrollReset:w,viewTransition:M,unstable_defaultShouldRevalidate:E,...f},y)=>{let{unstable_useTransitions:m}=H0.useContext(_4),v=XQ(),o=$Q(F,{relative:j}),t=T.toLowerCase()==="get"?"get":"post",X0=typeof F==="string"&&aN.test(F);return H0.createElement("form",{ref:y,method:t,action:o,onSubmit:_?C:(R0)=>{if(C&&C(R0),R0.defaultPrevented)return;R0.preventDefault();let H5=R0.nativeEvent.submitter,G0=H5?.getAttribute("formmethod")||T,r=()=>v(H5||R0.currentTarget,{fetcherKey:U,method:G0,navigate:W,replace:L,state:K,relative:j,preventScrollReset:w,viewTransition:M,unstable_defaultShouldRevalidate:E});if(m&&W!==!1)H0.startTransition(()=>r());else r()},...f,"data-discover":!X0&&B==="render"?"true":void 0})});oN.displayName="Form";function rN({getKey:B,storageKey:U,...W}){let _=H0.useContext(S$),{basename:L}=H0.useContext(_4),K=Z6(),T=jB();YQ({getKey:B,storageKey:U});let F=H0.useMemo(()=>{if(!_||!B)return null;let j=IB(K,T,L,B);return j!==K.key?j:null},[]);if(!_||_.isSpaMode)return null;let C=((j,w)=>{if(!window.history.state||!window.history.state.key){let M=Math.random().toString(32).slice(2);window.history.replaceState({key:M},"")}try{let E=JSON.parse(sessionStorage.getItem(j)||"{}")[w||window.history.state.key];if(typeof E==="number")window.scrollTo(0,E)}catch(M){console.error(M),sessionStorage.removeItem(j)}}).toString();return H0.createElement("script",{...W,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${C})(${MN(JSON.stringify(U||RB))}, ${MN(JSON.stringify(F))})`}})}rN.displayName="ScrollRestoration";function tN(B){return`${B} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function fB(B){let U=H0.useContext(TX);return L5(U,tN(B)),U}function rT(B){let U=H0.useContext(g8);return L5(U,tN(B)),U}function eN(B,{target:U,replace:W,unstable_mask:_,state:L,preventScrollReset:K,relative:T,viewTransition:F,unstable_defaultShouldRevalidate:C,unstable_useTransitions:j}={}){let w=mN(),M=Z6(),E=f8(B,{relative:T});return H0.useCallback((f)=>{if(qT(f,U)){f.preventDefault();let y=W!==void 0?W:v8(M)===v8(E),m=()=>w(B,{replace:y,unstable_mask:_,state:L,preventScrollReset:K,relative:T,viewTransition:F,unstable_defaultShouldRevalidate:C});if(j)H0.startTransition(()=>m());else m()}},[M,w,E,W,_,L,U,B,K,T,F,C,j])}var tT=0,eT=()=>`__${String(++tT)}__`;function XQ(){let{router:B}=fB("useSubmit"),{basename:U}=H0.useContext(_4),W=MT(),_=B.fetch,L=B.navigate;return H0.useCallback(async(K,T={})=>{let{action:F,method:C,encType:j,formData:w,body:M}=ET(K,U);if(T.navigate===!1){let E=T.fetcherKey||eT();await _(E,W,T.action||F,{unstable_defaultShouldRevalidate:T.unstable_defaultShouldRevalidate,preventScrollReset:T.preventScrollReset,formData:w,body:M,formMethod:T.method||C,formEncType:T.encType||j,flushSync:T.flushSync})}else await L(T.action||F,{unstable_defaultShouldRevalidate:T.unstable_defaultShouldRevalidate,preventScrollReset:T.preventScrollReset,formData:w,body:M,formMethod:T.method||C,formEncType:T.encType||j,replace:T.replace,state:T.state,fromRouteId:W,flushSync:T.flushSync,viewTransition:T.viewTransition})},[_,L,U,W])}function $Q(B,{relative:U}={}){let{basename:W}=H0.useContext(_4),_=H0.useContext(e6);L5(_,"useFormAction must be used inside a RouteContext");let[L]=_.matches.slice(-1),K={...f8(B?B:".",{relative:U})},T=Z6();if(B==null){K.search=T.search;let F=new URLSearchParams(K.search),C=F.getAll("index");if(C.some((w)=>w==="")){F.delete("index"),C.filter((M)=>M).forEach((M)=>F.append("index",M));let w=F.toString();K.search=w?`?${w}`:""}}if((!B||B===".")&&L.route.index)K.search=K.search?K.search.replace(/^\?/,"?index&"):"?index";if(W!=="/")K.pathname=K.pathname==="/"?W:w6([W,K.pathname]);return v8(K)}var RB="react-router-scroll-positions",zG={};function IB(B,U,W,_){let L=null;if(_)if(W!=="/")L=_({...B,pathname:t6(B.pathname,W)||B.pathname},U);else L=_(B,U);if(L==null)L=B.key;return L}function YQ({getKey:B,storageKey:U}={}){let{router:W}=fB("useScrollRestoration"),{restoreScrollPosition:_,preventScrollReset:L}=rT("useScrollRestoration"),{basename:K}=H0.useContext(_4),T=Z6(),F=jB(),C=dN();if(H0.useEffect(()=>{return window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}},[]),XR(H0.useCallback(()=>{if(C.state==="idle"){let j=IB(T,F,K,B);zG[j]=window.scrollY}try{sessionStorage.setItem(U||RB,JSON.stringify(zG))}catch(j){G6(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${j}).`)}window.history.scrollRestoration="auto"},[C.state,B,K,T,F,U])),typeof document<"u")H0.useLayoutEffect(()=>{try{let j=sessionStorage.getItem(U||RB);if(j)zG=JSON.parse(j)}catch(j){}},[U]),H0.useLayoutEffect(()=>{let j=W?.enableScrollRestoration(zG,()=>window.scrollY,B?(w,M)=>IB(w,M,K,B):void 0);return()=>j&&j()},[W,K,B]),H0.useLayoutEffect(()=>{if(_===!1)return;if(typeof _==="number"){window.scrollTo(0,_);return}try{if(T.hash){let j=document.getElementById(decodeURIComponent(T.hash.slice(1)));if(j){j.scrollIntoView();return}}}catch{G6(!1,`"${T.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}if(L===!0)return;window.scrollTo(0,0)},[T,_,L])}function XR(B,U){let{capture:W}=U||{};H0.useEffect(()=>{let _=W!=null?{capture:W}:void 0;return window.addEventListener("pagehide",B,_),()=>{window.removeEventListener("pagehide",B,_)}},[B,W])}function GQ(B,{relative:U}={}){let W=H0.useContext(OB);L5(W!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:_}=fB("useViewTransitionState"),L=f8(B,{relative:U});if(!W.isTransitioning)return!1;let K=t6(W.currentLocation.pathname,_)||W.currentLocation.pathname,T=t6(W.nextLocation.pathname,_)||W.nextLocation.pathname;return E$(L.pathname,T)!=null||E$(L.pathname,K)!=null}var FG=e(G5(),1);var KG=e(G5(),1);var QG=e(G5(),1),hB=QG.createContext(!1),P4=()=>QG.useContext(hB);var h8=e(G5(),1);function J6(){let[B,U]=h8.useState({w:0,h:0}),W=h8.useRef(null),_=h8.useCallback((L)=>{if(W.current?.disconnect(),!L)return;W.current=new ResizeObserver(([K])=>{let{width:T,height:F}=K.contentRect;U({w:Math.round(T),h:Math.round(F)})}),W.current.observe(L)},[]);return{...B,ref:_}}var X2=e(i0(),1),JQ=()=>{let B=P4(),{h:U,ref:W}=J6(),[_,L]=KG.useState(new Date);KG.useEffect(()=>{if(!B){let m=setInterval(()=>L(new Date),1000);return()=>clearInterval(m)}let M,E=new Date,f=(60-E.getSeconds())*1000-E.getMilliseconds(),y=setTimeout(()=>{L(new Date),M=setInterval(()=>L(new Date),60000)},f);return()=>{clearTimeout(y),clearInterval(M)}},[B]);let K=U||80,T=!B&&K>90,F=K>110,C=F,j=_.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",...T?{second:"2-digit"}:{},hour12:!1}),w=_.toLocaleDateString("en-GB",{weekday:C?"long":"short",day:"numeric",month:C?"long":"short",...K>160?{year:"numeric"}:{}});return X2.jsxDEV("div",{ref:W,className:"w-full h-full flex flex-col justify-center overflow-hidden",children:F?X2.jsxDEV(X2.Fragment,{children:[X2.jsxDEV("div",{className:`text-7xl tabular-nums leading-none ${B?"font-light":"font-bold"}`,children:j},void 0,!1,void 0,this),X2.jsxDEV("div",{className:"text-2xl text-gray-400 mt-2",children:w},void 0,!1,void 0,this)]},void 0,!0,void 0,this):X2.jsxDEV("div",{className:"flex items-baseline gap-6 flex-wrap",children:[X2.jsxDEV("div",{className:`text-7xl tabular-nums ${B?"font-light":"font-bold"}`,children:j},void 0,!1,void 0,this),X2.jsxDEV("div",{className:"text-2xl text-gray-400",children:w},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)};var HQ=e(i0(),1),BQ=({designation:B})=>HQ.jsxDEV("span",{className:"border border-white text-white px-2 py-0.5 font-bold min-w-[56px] text-center text-xl inline-block shrink-0",children:B},void 0,!1,void 0,this);var y8=e(i0(),1),UQ=({departure:B})=>{let U=P4(),W=new Date(B.scheduled),_=Math.round((W.getTime()-Date.now())/60000),L=_<=0?"Now":`${_} min`;return y8.jsxDEV("div",{className:`flex justify-between items-center py-3 border-b border-zinc-700 text-2xl ${U?"font-light":""}`,children:[y8.jsxDEV("div",{className:"flex items-center gap-4 min-w-0 overflow-hidden",children:[y8.jsxDEV(BQ,{designation:B.line.designation,mode:B.line.transport_mode,groupOfLines:B.line.group_of_lines},void 0,!1,void 0,this),y8.jsxDEV("span",{className:"truncate",children:B.destination},void 0,!1,void 0,this)]},void 0,!0,void 0,this),y8.jsxDEV("span",{className:`shrink-0 ml-4 ${U?"font-normal":"font-bold"}`,children:L},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var d8=e(i0(),1),YR=56,GR=38,zQ=({departures:B,loading:U,stationName:W})=>{let _=P4(),{h:L,ref:K}=J6(),F=(L||300)-(W?GR:0),C=Math.max(1,Math.floor(F/YR)),j=B.slice(0,C);return d8.jsxDEV("div",{ref:K,className:"w-full h-full flex flex-col overflow-hidden",children:[W&&d8.jsxDEV("h2",{className:`text-xl uppercase tracking-wider shrink-0 pb-1 ${_?"font-normal":"font-bold"}`,children:W},void 0,!1,void 0,this),U&&B.length===0?d8.jsxDEV("p",{className:"text-gray-500 text-xl mt-4",children:"Loading…"},void 0,!1,void 0,this):j.length===0?d8.jsxDEV("p",{className:"text-gray-500 text-xl mt-4",children:"No departures"},void 0,!1,void 0,this):j.map((w,M)=>d8.jsxDEV(UQ,{departure:w},`${w.line.designation}-${w.scheduled}-${M}`,!1,void 0,this))]},void 0,!0,void 0,this)};var _Q=e(i0(),1),WQ=({name:B})=>_Q.jsxDEV("span",{className:"border border-white text-white px-2 py-0.5 font-bold min-w-[56px] text-center text-xl inline-block shrink-0",children:B},void 0,!1,void 0,this);var C2=e(i0(),1),AQ=({departure:B,showPlatform:U=!1})=>{let W=P4(),_=B.stop.departure?new Date(B.stop.departure):null,L=_?Math.round((_.getTime()-Date.now())/60000):null,K=L===null?"—":L<=0?"Now":`${L} min`,T=B.stop.delay;return C2.jsxDEV("div",{className:`flex justify-between items-center py-3 border-b border-zinc-700 text-2xl ${W?"font-light":""}`,children:[C2.jsxDEV("div",{className:"flex items-center gap-4 min-w-0 overflow-hidden",children:[C2.jsxDEV(WQ,{name:`${B.category} ${B.number}`,category:B.category},void 0,!1,void 0,this),C2.jsxDEV("span",{className:"truncate",children:B.to},void 0,!1,void 0,this)]},void 0,!0,void 0,this),C2.jsxDEV("div",{className:`flex items-center gap-2 shrink-0 ml-4 ${W?"font-normal":"font-bold"}`,children:[U&&B.stop.platform&&C2.jsxDEV("span",{className:"text-sm text-gray-400 font-normal",children:["Pl.",B.stop.platform]},void 0,!0,void 0,this),T!=null&&T>0&&C2.jsxDEV("span",{className:"text-lg text-orange-400 font-normal",children:["+",T,"'"]},void 0,!0,void 0,this),C2.jsxDEV("span",{children:K},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var u8=e(i0(),1),ZR=56,JR=38,LQ=({departures:B,loading:U,stationName:W})=>{let _=P4(),{h:L,w:K,ref:T}=J6(),C=(L||300)-(W?JR:0),j=Math.max(1,Math.floor(C/ZR)),w=(K||0)>320,M=B.slice(0,j);return u8.jsxDEV("div",{ref:T,className:"w-full h-full flex flex-col overflow-hidden",children:[W&&u8.jsxDEV("h2",{className:`text-xl uppercase tracking-wider shrink-0 pb-1 ${_?"font-normal":"font-bold"}`,children:W},void 0,!1,void 0,this),U&&B.length===0?u8.jsxDEV("p",{className:"text-gray-500 text-xl mt-4",children:"Loading…"},void 0,!1,void 0,this):M.length===0?u8.jsxDEV("p",{className:"text-gray-500 text-xl mt-4",children:"No departures"},void 0,!1,void 0,this):M.map((E,f)=>u8.jsxDEV(AQ,{departure:E,showPlatform:w},`${E.name}-${E.stop.departure}-${f}`,!1,void 0,this))]},void 0,!0,void 0,this)};var A4=e(i0(),1);function NQ(B){let U=Math.floor(B/1000);return`${Math.floor(U/60)}:${String(U%60).padStart(2,"0")}`}var QQ=()=>{let B=P4(),{w:U,h:W,ref:_}=J6(),{data:L}=X4({queryKey:["spotify-now-playing"],queryFn:()=>fetch("/api/spotify/now-playing").then((w)=>w.json()),refetchInterval:B?30000:1000}),K=W||100,T=U||300,F=K>110&&T>260,C=!B&&K>90&&T>200,j=C&&T>280;return A4.jsxDEV("div",{ref:_,className:"w-full h-full flex flex-col justify-center overflow-hidden",children:[A4.jsxDEV("h2",{className:"text-sm uppercase tracking-wider text-gray-400 mb-1 font-normal",children:"Now Playing"},void 0,!1,void 0,this),L?.playing&&L.track?A4.jsxDEV(A4.Fragment,{children:[A4.jsxDEV("p",{className:`text-2xl leading-tight truncate ${B?"font-normal":"font-bold"}`,children:L.track.name},void 0,!1,void 0,this),A4.jsxDEV("p",{className:"text-lg text-gray-300 mt-0.5 truncate",children:L.track.artist},void 0,!1,void 0,this),F&&A4.jsxDEV("p",{className:"text-sm text-gray-500 truncate",children:L.track.album},void 0,!1,void 0,this),C&&A4.jsxDEV("div",{className:"mt-1.5 flex items-center gap-2",children:[j&&A4.jsxDEV("span",{className:"text-xs text-gray-500 font-mono w-10 shrink-0",children:NQ(L.track.progressMs)},void 0,!1,void 0,this),A4.jsxDEV("div",{className:"flex-1 h-1.5 bg-zinc-800 relative",children:A4.jsxDEV("div",{className:"absolute inset-y-0 left-0 bg-white",style:{width:`${L.track.progressMs/L.track.durationMs*100}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this),j&&A4.jsxDEV("span",{className:"text-xs text-gray-500 font-mono w-10 shrink-0 text-right",children:NQ(L.track.durationMs)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):A4.jsxDEV("p",{className:"text-gray-500 text-lg",children:"Nothing playing"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var i5=e(i0(),1),KQ={sunny:[" \\ / "," .-. "," ― ( ) ―"," `-' "," / \\ "],partlycloudy:[" \\ / ",' _ /"".--. '," \\_( { ) "," `-'--' "," "],cloudy:[" "," .--. "," .-( ). ","(___.__)__) "," "],overcast:[" "," .------. ",".-( ).","(__________.) "," "],rain:[" .--. "," .-( ). ","(___.__)__) "," ʻ ʻ ʻ ʻ "," ʻ ʻ ʻ ʻ "],drizzle:[" .--. "," .-( ). ","(___.__)__) "," , , , , "," "],snow:[" .--. "," .-( ). ","(___.__)__) "," * * * ","* * * * "],thunder:[" .--. "," .-( ). ","(___.__)__) "," / \\ "," / \\ "],fog:[" "," _ - _ - _ -"," _ - _ - _ "," _ - _ - _ -"," "],sleet:[" .--. "," .-( ). ","(___.__)__) "," * ʻ * ʻ "," ʻ * ʻ * "]},BR={"New Moon":"\uD83C\uDF11","Waxing Crescent":"\uD83C\uDF12","First Quarter":"\uD83C\uDF13","Waxing Gibbous":"\uD83C\uDF14","Full Moon":"\uD83C\uDF15","Waning Gibbous":"\uD83C\uDF16","Last Quarter":"\uD83C\uDF17","Waning Crescent":"\uD83C\uDF18"};function HR(B){let U=B.toLowerCase();if(U.includes("thunder"))return"thunder";if(U.includes("snow"))return"snow";if(U.includes("sleet"))return"sleet";if(U.includes("drizzle"))return"drizzle";if(U.includes("rain"))return"rain";if(U.includes("fog")||U.includes("mist"))return"fog";if(U.includes("overcast"))return"overcast";if(U.includes("mostly cloudy")||U.includes("very"))return"cloudy";if(U.includes("partly")||U.includes("mostly sunny"))return"partlycloudy";if(U.includes("cloudy"))return"cloudy";return"sunny"}var FQ=()=>{let{w:B,h:U,ref:W}=J6(),{data:_,isError:L}=X4({queryKey:["weather"],queryFn:()=>fetch("/api/weather").then((f)=>f.json()),refetchInterval:600000});if(L||!_||_.error)return i5.jsxDEV("div",{ref:W,className:"w-full h-full flex items-center",children:i5.jsxDEV("span",{className:"text-gray-500 text-sm",children:"Weather unavailable"},void 0,!1,void 0,this)},void 0,!1,void 0,this);let K=U||80,T=B||350,F=K>180&&T>380,C=K>120&&T>260,j=K>80||T>460,w=T>500?6:T>380?4:3,M=KQ[HR(_.description)]??KQ.cloudy,E=BR[_.moonPhase]??_.moonPhase;return i5.jsxDEV("div",{ref:W,className:"w-full h-full flex items-center gap-4 overflow-hidden",children:[F&&i5.jsxDEV("pre",{className:"text-gray-300 text-[11px] leading-tight select-none font-mono shrink-0",children:M.join(`
`)},void 0,!1,void 0,this),i5.jsxDEV("div",{className:"flex flex-col gap-1 min-w-0",children:[i5.jsxDEV("div",{className:"flex items-baseline gap-3 flex-wrap",children:[i5.jsxDEV("span",{className:"text-4xl font-bold",children:[_.temperature,"°C"]},void 0,!0,void 0,this),i5.jsxDEV("span",{className:"text-lg text-gray-300",children:_.description},void 0,!1,void 0,this)]},void 0,!0,void 0,this),j&&i5.jsxDEV("div",{className:"flex flex-wrap gap-4 text-sm text-gray-400 font-mono",children:[i5.jsxDEV("span",{children:["↑ ",_.sunrise]},void 0,!0,void 0,this),i5.jsxDEV("span",{children:["↓ ",_.sunset]},void 0,!0,void 0,this),i5.jsxDEV("span",{title:_.moonPhase,children:[E," ",_.moonPhase]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),C&&_.hourly.length>0&&i5.jsxDEV("div",{className:"flex gap-3 mt-1",children:_.hourly.slice(0,w).map((f,y)=>i5.jsxDEV("div",{className:"text-center shrink-0",children:[i5.jsxDEV("div",{className:"text-xs text-gray-500",children:f.time},void 0,!1,void 0,this),i5.jsxDEV("div",{className:"text-sm font-bold",children:[f.temp,"°"]},void 0,!0,void 0,this)]},y,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var $4=e(i0(),1),UR=({percent:B})=>$4.jsxDEV("div",{className:"flex-1 h-1.5 bg-zinc-800 relative",children:$4.jsxDEV("div",{className:"absolute inset-y-0 left-0 bg-white",style:{width:`${B}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this),yB=({label:B,percent:U,detail:W})=>$4.jsxDEV("div",{className:"flex items-center gap-3 text-sm font-mono",children:[$4.jsxDEV("span",{className:"w-10 text-gray-400 shrink-0",children:B},void 0,!1,void 0,this),$4.jsxDEV(UR,{percent:U},void 0,!1,void 0,this),$4.jsxDEV("span",{className:"w-8 text-right shrink-0",children:[U,"%"]},void 0,!0,void 0,this),$4.jsxDEV("span",{className:"text-gray-500 shrink-0",children:W},void 0,!1,void 0,this)]},void 0,!0,void 0,this),MQ=()=>{let B=P4(),{w:U,h:W,ref:_}=J6(),{data:L}=X4({queryKey:["system"],queryFn:()=>fetch("/api/system").then((w)=>w.json()),refetchInterval:B?60000:2000});if(!L)return $4.jsxDEV("div",{ref:_,className:"w-full h-full"},void 0,!1,void 0,this);let K=W||120,T=U||300,F=K>95,C=K>110||T>450,j=K>140&&T>380;return $4.jsxDEV("div",{ref:_,className:"w-full h-full flex flex-col justify-center gap-3 overflow-hidden",children:[$4.jsxDEV("div",{className:"flex justify-between items-baseline",children:[$4.jsxDEV("span",{className:"font-bold text-lg",children:L.hostname},void 0,!1,void 0,this),C&&$4.jsxDEV("span",{className:"text-gray-500 text-sm font-mono",children:["up ",L.uptime]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),$4.jsxDEV(yB,{label:"CPU",percent:L.cpu.percent,detail:j?`load ${L.cpu.load.join(" ")}`:`load ${L.cpu.load[0]}`},void 0,!1,void 0,this),$4.jsxDEV(yB,{label:"MEM",percent:L.memory.percent,detail:`${L.memory.usedGb} / ${L.memory.totalGb} GB`},void 0,!1,void 0,this),F&&$4.jsxDEV(yB,{label:"DISK",percent:L.disk.percent,detail:`${L.disk.usedGb} / ${L.disk.totalGb} GB`},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var a5=e(i0(),1),dB=(B)=>fetch(B).then((U)=>U.json()),zR=["footer-1","footer-2","footer-3"],WR=["sl","sbb"],wQ=()=>{let{data:B}=X4({queryKey:["config"],queryFn:()=>dB("/api/config")}),U=!!B?.alwaysOn,W=B?.layout??{},_=(G0)=>Object.values(W).includes(G0),[,L]=FG.useReducer((G0)=>G0+1,0);FG.useEffect(()=>{if(!U)return;let G0,r=new Date,e0=(60-r.getSeconds())*1000-r.getMilliseconds(),p=setTimeout(()=>{L(),G0=setInterval(L,60000)},e0);return()=>{clearTimeout(p),clearInterval(G0)}},[U]);let{data:K,isLoading:T}=X4({queryKey:["sl-departures",B?.sl?.stationId],queryFn:()=>dB(`/api/sl/departures/${B.sl.stationId}`),enabled:_("sl")&&!!B?.sl?.stationId,refetchInterval:U?60000:B?.refreshRate??30000}),{data:F,isLoading:C}=X4({queryKey:["sbb-departures",B?.sbb?.stationId],queryFn:()=>dB(`/api/sbb/departures/${B.sbb.stationId}`),enabled:_("sbb")&&!!B?.sbb?.stationId,refetchInterval:U?60000:B?.refreshRate??30000}),j=K?.departures[0]?.stop_area?.name||B?.sl?.stationName||"SL",w=B?.sbb?.stationName||"SBB",M=(G0)=>{if(!G0||G0==="spacer")return null;switch(G0){case"clock":return a5.jsxDEV(JQ,{},void 0,!1,void 0,this);case"weather":return a5.jsxDEV(FQ,{},void 0,!1,void 0,this);case"spotify":return a5.jsxDEV(QQ,{},void 0,!1,void 0,this);case"system":return a5.jsxDEV(MQ,{},void 0,!1,void 0,this);case"sl":return a5.jsxDEV(zQ,{departures:K?.departures??[],loading:T,stationName:j},void 0,!1,void 0,this);case"sbb":return a5.jsxDEV(LQ,{departures:F?.stationboard??[],loading:C,stationName:w},void 0,!1,void 0,this)}},E=W["header-left"],f=W["header-right"],y=W["main-1"],m=W["main-2"],v=zR.map((G0)=>W[G0]).filter((G0)=>G0!=null),o=!!(E||f),t=!!(y&&y!=="spacer")||!!(m&&m!=="spacer"),X0=v.some((G0)=>G0!=="spacer"),m0=v.some((G0)=>WR.includes(G0)),R0="h-full min-h-0 min-w-0 overflow-hidden",H5=!t?{flex:"1 1 0",minHeight:0}:m0?{flex:"0 0 40%",minHeight:0}:{flex:"0 0 20%",minHeight:"120px"};return a5.jsxDEV(hB.Provider,{value:U,children:a5.jsxDEV("div",{className:"flex flex-col h-screen w-screen p-6 gap-4 overflow-hidden",children:[o&&a5.jsxDEV("div",{className:"flex items-stretch justify-between border-b border-white pb-4 shrink-0",style:{minHeight:"72px"},children:[a5.jsxDEV("div",{className:`flex-1 ${R0}`,children:M(E)},void 0,!1,void 0,this),f&&a5.jsxDEV("div",{className:`flex-shrink-0 ml-8 ${R0}`,children:M(f)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),t&&a5.jsxDEV("div",{className:y&&m?"grid grid-cols-2 gap-6":"flex",style:{flex:"1 1 0",minHeight:0},children:[y&&a5.jsxDEV("div",{className:`${!m?"flex-1":""} ${R0}`,children:M(y)},void 0,!1,void 0,this),m&&a5.jsxDEV("div",{className:R0,children:M(m)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0&&a5.jsxDEV("div",{className:"border-t border-white pt-4 grid gap-6",style:{...H5,gridTemplateColumns:`repeat(${v.length}, 1fr)`},children:v.map((G0,r)=>a5.jsxDEV("div",{className:R0,children:M(G0)},`${G0}-${r}`,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)};var I7=e(G5(),1);var k$=e(G5(),1);var E2=e(i0(),1),uB=({onSelect:B,endpoint:U,placeholder:W="Search for a station..."})=>{let[_,L]=k$.useState(""),[K,T]=k$.useState("");k$.useEffect(()=>{let w=setTimeout(()=>T(_.trim()),350);return()=>clearTimeout(w)},[_]);let{data:F,isFetching:C}=X4({queryKey:["search",U,K],queryFn:()=>fetch(`${U}?q=${encodeURIComponent(K)}`).then((w)=>w.json()),enabled:K.length>0,staleTime:60000}),j=F?.StopLocation??[];return E2.jsxDEV("div",{className:"w-full",children:[E2.jsxDEV("input",{type:"text",value:_,onChange:(w)=>L(w.target.value),placeholder:W,className:"w-full bg-black text-white px-4 py-2 border border-white outline-none text-lg"},void 0,!1,void 0,this),E2.jsxDEV("div",{className:"mt-2 flex flex-col",children:[C&&E2.jsxDEV("p",{className:"text-gray-500 py-2",children:"Searching..."},void 0,!1,void 0,this),!C&&j.map((w)=>E2.jsxDEV("div",{onClick:()=>B(w),className:"flex justify-between items-center py-3 border-b border-zinc-700 cursor-pointer text-lg",children:[E2.jsxDEV("span",{children:w.name},void 0,!1,void 0,this),E2.jsxDEV("span",{className:"text-gray-500 text-sm",children:w.id},void 0,!1,void 0,this)]},w.id,!0,void 0,this)),!C&&K&&j.length===0&&E2.jsxDEV("p",{className:"text-gray-500 py-2",children:"No stations found."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var Z0=e(i0(),1),_R=["clock","weather","sl","sbb","spotify","system","spacer"],TQ={clock:"Clock",weather:"Weather",sl:"SL Departures",sbb:"SBB Departures",spotify:"Spotify",system:"System",spacer:"Spacer"},AR={"header-left":"Header Left","header-right":"Header Right","main-1":"Main Col 1","main-2":"Main Col 2","footer-1":"Footer 1","footer-2":"Footer 2","footer-3":"Footer 3"},LR={"header-left":{gridColumn:"1 / 4",gridRow:"1"},"header-right":{gridColumn:"4 / 7",gridRow:"1"},"main-1":{gridColumn:"1 / 4",gridRow:"2"},"main-2":{gridColumn:"4 / 7",gridRow:"2"},"footer-1":{gridColumn:"1 / 3",gridRow:"3"},"footer-2":{gridColumn:"3 / 5",gridRow:"3"},"footer-3":{gridColumn:"5 / 7",gridRow:"3"}},NR=["header-left","header-right","main-1","main-2","footer-1","footer-2","footer-3"],QR=({layout:B,onChange:U})=>{let[W,_]=I7.useState(null),L=new Set(Object.values(B).filter(Boolean)),K=_R.filter((w)=>w==="spacer"||!L.has(w)),T=(w,M,E)=>{w.dataTransfer.setData("widgetId",M),w.dataTransfer.setData("fromZone",E)},F=(w,M)=>{w.preventDefault(),_(null);let E=w.dataTransfer.getData("widgetId"),f=w.dataTransfer.getData("fromZone");if(!E)return;let y={...B},m=y[M];if(f!=="palette")if(m)y[f]=m;else delete y[f];y[M]=E,U(y)},C=(w)=>{w.preventDefault(),_(null);let M=w.dataTransfer.getData("fromZone");if(M==="palette")return;let E={...B};delete E[M],U(E)},j=(w)=>{let M={...B};delete M[w],U(M)};return Z0.jsxDEV("div",{className:"flex flex-col gap-4",children:[Z0.jsxDEV("div",{style:{display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gridTemplateRows:"auto minmax(100px, auto) auto",gap:"4px"},children:NR.map((w)=>{let M=B[w],E=W===w;return Z0.jsxDEV("div",{style:LR[w],className:`border p-2 flex flex-col gap-1 min-h-[56px] transition-colors ${E?"border-white bg-zinc-900":"border-zinc-700"}`,onDragOver:(f)=>{f.preventDefault(),_(w)},onDragLeave:()=>_(null),onDrop:(f)=>F(f,w),children:[Z0.jsxDEV("span",{className:"text-[10px] text-gray-600 uppercase tracking-wider leading-none",children:AR[w]},void 0,!1,void 0,this),M?Z0.jsxDEV("div",{className:"flex items-center justify-between mt-auto",children:[Z0.jsxDEV("span",{draggable:!0,onDragStart:(f)=>T(f,M,w),className:`text-sm font-bold cursor-grab px-2 py-0.5 select-none ${M==="spacer"?"border border-dashed border-zinc-600 text-zinc-500":"border border-zinc-500"}`,children:TQ[M]},void 0,!1,void 0,this),Z0.jsxDEV("button",{onClick:()=>j(w),className:"text-gray-600 hover:text-white text-base leading-none ml-1",children:"×"},void 0,!1,void 0,this)]},void 0,!0,void 0,this):Z0.jsxDEV("span",{className:"text-[10px] text-zinc-700 mt-auto",children:"drop here"},void 0,!1,void 0,this)]},w,!0,void 0,this)})},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:`border p-3 min-h-[52px] transition-colors ${W==="palette"?"border-white bg-zinc-900":"border-zinc-700"}`,onDragOver:(w)=>{w.preventDefault(),_("palette")},onDragLeave:()=>_(null),onDrop:C,children:[Z0.jsxDEV("span",{className:"text-xs text-gray-500 uppercase tracking-wider block mb-2",children:"Available (drag to dashboard)"},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:"flex flex-wrap gap-2",children:[K.map((w)=>Z0.jsxDEV("span",{draggable:!0,onDragStart:(M)=>T(M,w,"palette"),className:`text-sm font-bold cursor-grab px-3 py-1 select-none ${w==="spacer"?"border border-dashed border-zinc-600 text-zinc-500":"border border-zinc-500"}`,children:TQ[w]},w,!1,void 0,this)),K.length===0&&Z0.jsxDEV("span",{className:"text-xs text-zinc-700",children:"all widgets placed — drag from grid to remove"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},KR=({enabled:B,onChange:U})=>Z0.jsxDEV("button",{onClick:()=>U(!B),className:"border border-white px-4 py-1 text-lg font-bold",children:B?"ON":"OFF"},void 0,!1,void 0,this),p8=({title:B,children:U,fullWidth:W})=>Z0.jsxDEV("section",{className:"border-b border-zinc-800 pb-8",style:W?{gridColumn:"1 / -1"}:void 0,children:[Z0.jsxDEV("h2",{className:"text-2xl font-bold mb-4",children:B},void 0,!1,void 0,this),U]},void 0,!0,void 0,this),RQ=({label:B,value:U,onChange:W,type:_="text",placeholder:L=""})=>Z0.jsxDEV("div",{className:"flex flex-col gap-1 mb-3",children:[Z0.jsxDEV("label",{className:"text-sm text-gray-400 uppercase tracking-wider",children:B},void 0,!1,void 0,this),Z0.jsxDEV("input",{type:_,value:U,onChange:(K)=>W(K.target.value),placeholder:L,className:"bg-black text-white px-4 py-2 border border-zinc-700 outline-none text-lg focus:border-white"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),IQ=()=>{let B=MX(),{data:U}=X4({queryKey:["config"],queryFn:()=>fetch("/api/config").then((v)=>v.json())}),{data:W,refetch:_}=X4({queryKey:["spotify-status"],queryFn:()=>fetch("/api/spotify/status").then((v)=>v.json())}),{mutate:L}=QB({mutationFn:(v)=>fetch("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(v)}),onMutate:(v)=>B.setQueryData(["config"],v)}),[K,T]=I7.useState({});I7.useEffect(()=>{if(U)T(U.layout??{})},[U]);let[F,C]=I7.useState(""),[j,w]=I7.useState(""),[M,E]=I7.useState("");if(!U)return Z0.jsxDEV("div",{className:"p-8 text-gray-500",children:"Loading..."},void 0,!1,void 0,this);let f=()=>{L({...U,spotify:{clientId:F||U.spotify.clientId,clientSecret:j||U.spotify.clientSecret}})},y=async()=>{await fetch("/api/spotify/disconnect"),_()},m=(v)=>{T(v),L({...U,layout:v})};return Z0.jsxDEV("div",{className:"flex flex-col h-screen w-screen p-8 overflow-auto bg-black text-white",children:[Z0.jsxDEV("div",{className:"flex items-center gap-6 mb-8 border-b border-white pb-4",children:[Z0.jsxDEV(x$,{to:"/",className:"text-2xl",children:"←"},void 0,!1,void 0,this),Z0.jsxDEV("h1",{className:"text-4xl font-bold",children:"Settings"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV("div",{className:"grid gap-8",style:{gridTemplateColumns:"repeat(auto-fill, minmax(min(100%, 420px), 1fr))"},children:[Z0.jsxDEV(p8,{title:"Always-on Mode",fullWidth:!0,children:Z0.jsxDEV("div",{className:"flex items-center justify-between",children:[Z0.jsxDEV("p",{className:"text-gray-400",children:"Minute-aligned updates, thinner text, no progress bars"},void 0,!1,void 0,this),Z0.jsxDEV(KR,{enabled:U.alwaysOn??!1,onChange:(v)=>L({...U,alwaysOn:v})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Z0.jsxDEV(p8,{title:"Dashboard Layout",fullWidth:!0,children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-4 text-sm",children:"Drag widgets into zones. Drag back to the palette to hide. Zones can be swapped by dropping onto an occupied zone."},void 0,!1,void 0,this),Z0.jsxDEV(QR,{layout:K,onChange:m},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(p8,{title:"SL Departures",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-3",children:U.sl.stationName||"No station selected"},void 0,!1,void 0,this),Z0.jsxDEV(uB,{endpoint:"/api/sl/search",placeholder:"Search SL station...",onSelect:(v)=>L({...U,sl:{stationId:v.id,stationName:v.name}})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(p8,{title:"SBB Departures",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-3",children:U.sbb.stationName||"No station selected"},void 0,!1,void 0,this),Z0.jsxDEV(uB,{endpoint:"/api/sbb/search",placeholder:"Search SBB station...",onSelect:(v)=>L({...U,sbb:{stationId:v.id,stationName:v.name}})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(p8,{title:"Weather (Meteoswiss)",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-3",children:U.weather.plz?`PLZ ${U.weather.plz}`:"No PLZ configured"},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:"flex gap-2",children:[Z0.jsxDEV("input",{type:"text",value:M||U.weather.plz,onChange:(v)=>E(v.target.value),placeholder:"e.g. 8001",maxLength:4,className:"bg-black text-white px-4 py-2 border border-zinc-700 outline-none text-lg focus:border-white w-32"},void 0,!1,void 0,this),Z0.jsxDEV("button",{onClick:()=>{L({...U,weather:{plz:M||U.weather.plz}}),E("")},className:"border border-white px-4 py-2 font-bold",children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(p8,{title:"Spotify Now Playing",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-4",children:W?.connected?"Connected":U.spotify.clientId?"Not connected":"Not configured"},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:"flex flex-col gap-4",children:!W?.connected?Z0.jsxDEV(Z0.Fragment,{children:[Z0.jsxDEV("p",{className:"text-sm text-gray-500",children:["Create an app at ",Z0.jsxDEV("span",{className:"text-white",children:"developer.spotify.com"},void 0,!1,void 0,this)," and add"," ",Z0.jsxDEV("span",{className:"text-white font-mono text-xs",children:"http://127.0.0.1:3000/api/spotify/callback"},void 0,!1,void 0,this)," as a redirect URI."]},void 0,!0,void 0,this),Z0.jsxDEV(RQ,{label:"Client ID",value:F,onChange:C,placeholder:U.spotify.clientId?"(saved)":""},void 0,!1,void 0,this),Z0.jsxDEV(RQ,{label:"Client Secret",value:j,onChange:w,type:"password",placeholder:U.spotify.clientSecret?"(saved)":""},void 0,!1,void 0,this),Z0.jsxDEV("div",{className:"flex gap-2",children:[Z0.jsxDEV("button",{onClick:f,className:"border border-white px-4 py-2 font-bold",children:"Save Credentials"},void 0,!1,void 0,this),U.spotify.clientId&&Z0.jsxDEV("a",{href:"/api/spotify/auth",className:"border border-white px-4 py-2 font-bold",children:"Connect Spotify"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):Z0.jsxDEV("button",{onClick:y,className:"border border-zinc-600 px-4 py-2 text-gray-400 w-fit",children:"Disconnect"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var IX=e(i0(),1),PQ=()=>{return IX.jsxDEV(mB,{children:IX.jsxDEV(xB,{children:[IX.jsxDEV(j$,{path:"/",element:IX.jsxDEV(wQ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),IX.jsxDEV(j$,{path:"/settings",element:IX.jsxDEV(IQ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)};var pB=e(i0(),1),FR=new WB,VQ=document.getElementById("root");if(VQ)OQ.createRoot(VQ).render(pB.jsxDEV(LB,{client:FR,children:pB.jsxDEV(PQ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));