243 lines
494 KiB
JavaScript
243 lines
494 KiB
JavaScript
var BF=Object.create;var{getPrototypeOf:UF,defineProperty:EL,getOwnPropertyNames:HF}=Object;var zF=Object.prototype.hasOwnProperty;function WF(B){return this[B]}var _F,AF,$0=(B,H,W)=>{var _=B!=null&&typeof B==="object";if(_){var L=H?_F??=new WeakMap:AF??=new WeakMap,K=L.get(B);if(K)return K}W=B!=null?BF(UF(B)):{};let F=H||!B||!B.__esModule?EL(W,"default",{value:B,enumerable:!0}):W;for(let w of HF(B))if(!zF.call(F,w))EL(F,w,{get:WF.bind(B,w),enumerable:!0});if(_)L.set(B,F);return F};var F6=(B,H)=>()=>(H||B((H={exports:{}}).exports,H),H.exports);var CL=F6((LF)=>{(function(){function B(){if(v0=!1,e){var u=LF.unstable_now();o0=u;var _0=!0;try{$:{o=!1,t&&(t=!1,e0($5),$5=-1),s=!0;var W0=S;try{G:{K(u);for(b=W(E);b!==null&&!(b.expirationTime>u&&w());){var p0=b.callback;if(typeof p0==="function"){b.callback=null,S=b.priorityLevel;var l0=p0(b.expirationTime<=u);if(u=LF.unstable_now(),typeof l0==="function"){b.callback=l0,K(u),_0=!0;break G}b===W(E)&&_(E),K(u)}else _(E);b=W(E)}if(b!==null)_0=!0;else{var V=W(f);V!==null&&C(F,V.startTime-u),_0=!1}}break $}finally{b=null,S=W0,s=!1}_0=void 0}}finally{_0?I0():e=!1}}}function H(u,_0){var W0=u.length;u.push(_0);$: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 $}}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;$: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 $}}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,H(E,_0);else break;_0=W(f)}}function F(u){if(t=!1,K(u),!o)if(W(E)!==null)o=!0,e||(e=!0,I0());else{var _0=W(f);_0!==null&&C(F,_0.startTime-u)}}function w(){return v0?!0:LF.unstable_now()-o0<p?!1:!0}function C(u,_0){$5=T0(function(){u(LF.unstable_now())},_0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),LF.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var j=performance;LF.unstable_now=function(){return j.now()}}else{var R=Date,M=R.now();LF.unstable_now=function(){return R.now()-M}}var E=[],f=[],h=1,b=null,S=3,s=!1,o=!1,t=!1,v0=!1,T0=typeof setTimeout==="function"?setTimeout:null,e0=typeof clearTimeout==="function"?clearTimeout:null,Y0=typeof setImmediate<"u"?setImmediate:null,e=!1,$5=-1,p=5,o0=-1;if(typeof Y0==="function")var I0=function(){Y0(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(){T0(B,0)};LF.unstable_IdlePriority=5,LF.unstable_ImmediatePriority=1,LF.unstable_LowPriority=4,LF.unstable_NormalPriority=3,LF.unstable_Profiling=null,LF.unstable_UserBlockingPriority=2,LF.unstable_cancelCallback=function(u){u.callback=null},LF.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},LF.unstable_getCurrentPriorityLevel=function(){return S},LF.unstable_next=function(u){switch(S){case 1:case 2:case 3:var _0=3;break;default:_0=S}var W0=S;S=_0;try{return u()}finally{S=W0}},LF.unstable_requestPaint=function(){v0=!0},LF.unstable_runWithPriority=function(u,_0){switch(u){case 1:case 2:case 3:case 4:case 5:break;default:u=3}var W0=S;S=u;try{return _0()}finally{S=W0}},LF.unstable_scheduleCallback=function(u,_0,W0){var p0=LF.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:h++,callback:_0,priorityLevel:u,startTime:W0,expirationTime:l0,sortIndex:-1},W0>p0?(u.sortIndex=W0,H(f,u),W(E)===null&&u===W(f)&&(t?(e0($5),$5=-1):t=!0,C(F,W0-p0))):(u.sortIndex=l0,H(E,u),o||s||(o=!0,e||(e=!0,I0()))),u},LF.unstable_shouldYield=w,LF.unstable_wrapCallback=function(u){var _0=S;return function(){var W0=S;S=_0;try{return u.apply(this,arguments)}finally{S=W0}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Z5=F6((NF,oX)=>{(function(){function B(Q,x){Object.defineProperty(_.prototype,Q,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",x[0],x[1])}})}function H(Q){if(Q===null||typeof Q!=="object")return null;return Q=kG&&Q[kG]||Q["@@iterator"],typeof Q==="function"?Q:null}function W(Q,x){Q=(Q=Q.constructor)&&(Q.displayName||Q.name)||"ReactClass";var d=Q+"."+x;r[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.",x,Q),r[d]=!0)}function _(Q,x,d){this.props=Q,this.context=x,this.refs=C4,this.updater=d||V8}function L(){}function K(Q,x,d){this.props=Q,this.context=x,this.refs=C4,this.updater=d||V8}function F(){}function w(Q){return""+Q}function C(Q){try{w(Q);var x=!1}catch(G0){x=!0}if(x){x=console;var d=x.error,i=typeof Symbol==="function"&&Symbol.toStringTag&&Q[Symbol.toStringTag]||Q.constructor.name||"Object";return d.call(x,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",i),w(Q)}}function j(Q){if(Q==null)return null;if(typeof Q==="function")return Q.$$typeof===p7?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 A1:return"Suspense";case P0:return"SuspenseList";case J2: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 x=Q.render;return Q=Q.displayName,Q||(Q=x.displayName||x.name||"",Q=Q!==""?"ForwardRef("+Q+")":"ForwardRef"),Q;case O5:return x=Q.displayName||null,x!==null?x:j(Q.type)||"Memo";case n5:x=Q._payload,Q=Q._init;try{return j(Q(x))}catch(d){}}return null}function R(Q){if(Q===l0)return"<>";if(typeof Q==="object"&&Q!==null&&Q.$$typeof===n5)return"<...>";try{var x=j(Q);return x?"<"+x+">":"<...>"}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(O8.call(Q,"key")){var x=Object.getOwnPropertyDescriptor(Q,"key").get;if(x&&x.isReactWarning)return!1}return Q.key!==void 0}function h(Q,x){function d(){vG||(vG=!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)",x))}d.isReactWarning=!0,Object.defineProperty(Q,"key",{get:d,configurable:!0})}function b(){var Q=j(this.type);return P6[Q]||(P6[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 S(Q,x,d,i,G0,F0){var R0=d.ref;return Q={$$typeof:W0,type:Q,key:x,props:d,_owner:i},(R0!==void 0?R0:null)!==null?Object.defineProperty(Q,"ref",{enumerable:!1,get:b}):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:G0}),Object.defineProperty(Q,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:F0}),Object.freeze&&(Object.freeze(Q.props),Object.freeze(Q)),Q}function s(Q,x){return x=S(Q.type,x,Q.props,Q._owner,Q._debugStack,Q._debugTask),Q._store&&(x._store.validated=Q._store.validated),x}function o(Q){t(Q)?Q._store&&(Q._store.validated=1):typeof Q==="object"&&Q!==null&&Q.$$typeof===n5&&(Q._payload.status==="fulfilled"?t(Q._payload.value)&&Q._payload.value._store&&(Q._payload.value._store.validated=1):Q._store&&(Q._store.validated=1))}function t(Q){return typeof Q==="object"&&Q!==null&&Q.$$typeof===W0}function v0(Q){var x={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(d){return x[d]})}function T0(Q,x){return typeof Q==="object"&&Q!==null&&Q.key!=null?(C(Q.key),v0(""+Q.key)):x.toString(36)}function e0(Q){switch(Q.status){case"fulfilled":return Q.value;case"rejected":throw Q.reason;default:switch(typeof Q.status==="string"?Q.then(F,F):(Q.status="pending",Q.then(function(x){Q.status==="pending"&&(Q.status="fulfilled",Q.value=x)},function(x){Q.status==="pending"&&(Q.status="rejected",Q.reason=x)})),Q.status){case"fulfilled":return Q.value;case"rejected":throw Q.reason}}throw Q}function Y0(Q,x,d,i,G0){var F0=typeof Q;if(F0==="undefined"||F0==="boolean")Q=null;var R0=!1;if(Q===null)R0=!0;else switch(F0){case"bigint":case"string":case"number":R0=!0;break;case"object":switch(Q.$$typeof){case W0:case p0:R0=!0;break;case n5:return R0=Q._init,Y0(R0(Q._payload),x,d,i,G0)}}if(R0){R0=Q,G0=G0(R0);var d0=i===""?"."+T0(R0,0):i;return r0(G0)?(d="",d0!=null&&(d=d0.replace(D8,"$&/")+"/"),Y0(G0,x,d,"",function(o5){return o5})):G0!=null&&(t(G0)&&(G0.key!=null&&(R0&&R0.key===G0.key||C(G0.key)),d=s(G0,d+(G0.key==null||R0&&R0.key===G0.key?"":(""+G0.key).replace(D8,"$&/")+"/")+d0),i!==""&&R0!=null&&t(R0)&&R0.key==null&&R0._store&&!R0._store.validated&&(d._store.validated=2),G0=d),x.push(G0)),1}if(R0=0,d0=i===""?".":i+":",r0(Q))for(var H0=0;H0<Q.length;H0++)i=Q[H0],F0=d0+T0(i,H0),R0+=Y0(i,x,d,F0,G0);else if(H0=H(Q),typeof H0==="function")for(H0===Q.entries&&(q8||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),q8=!0),Q=H0.call(Q),H0=0;!(i=Q.next()).done;)i=i.value,F0=d0+T0(i,H0++),R0+=Y0(i,x,d,F0,G0);else if(F0==="object"){if(typeof Q.then==="function")return Y0(e0(Q),x,d,i,G0);throw x=String(Q),Error("Objects are not valid as a React child (found: "+(x==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":x)+"). If you meant to render a collection of children, use an array instead.")}return R0}function e(Q,x,d){if(Q==null)return Q;var i=[],G0=0;return Y0(Q,i,"","",function(F0){return x.call(d,F0,G0++)}),i}function $5(Q){if(Q._status===-1){var x=Q._ioInfo;x!=null&&(x.start=x.end=performance.now()),x=Q._result;var d=x();if(d.then(function(G0){if(Q._status===0||Q._status===-1){Q._status=1,Q._result=G0;var F0=Q._ioInfo;F0!=null&&(F0.end=performance.now()),d.status===void 0&&(d.status="fulfilled",d.value=G0)}},function(G0){if(Q._status===0||Q._status===-1){Q._status=2,Q._result=G0;var F0=Q._ioInfo;F0!=null&&(F0.end=performance.now()),d.status===void 0&&(d.status="rejected",d.reason=G0)}}),x=Q._ioInfo,x!=null){x.value=d;var i=d.displayName;typeof i==="string"&&(x.name=i)}Q._status===-1&&(Q._status=0,Q._result=d)}if(Q._status===1)return x=Q._result,x===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?`,x),"default"in x||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
||
|
||
Your code should look like:
|
||
const MyComponent = lazy(() => import('./MyComponent'))`,x),x.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(O6===null)try{var x=("require"+Math.random()).slice(0,7);O6=(oX&&oX[x]).call(oX,"timers").setImmediate}catch(d){O6=function(i){gG===!1&&(gG=!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 G0=new MessageChannel;G0.port1.onmessage=i,G0.port2.postMessage(void 0)}}return O6(Q)}function K0(Q){return 1<Q.length&&typeof AggregateError==="function"?AggregateError(Q):Q[0]}function N5(Q,x){x!==q6-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. "),q6=x}function u(Q,x,d){var i=O0.actQueue;if(i!==null)if(i.length!==0)try{_0(i),I0(function(){return u(Q,x,d)});return}catch(G0){O0.thrownErrors.push(G0)}else O0.actQueue=null;0<O0.thrownErrors.length?(i=K0(O0.thrownErrors),O0.thrownErrors.length=0,d(i)):x(Q)}function _0(Q){if(!E6){E6=!0;var x=0;try{for(;x<Q.length;x++){var d=Q[x];do{O0.didUsePromise=!1;var i=d(!1);if(i!==null){if(O0.didUsePromise){Q[x]=d,Q.splice(0,x);return}d=i}else break}while(1)}Q.length=0}catch(G0){Q.splice(0,x+1),O0.thrownErrors.push(G0)}finally{E6=!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"),A1=Symbol.for("react.suspense"),P0=Symbol.for("react.suspense_list"),O5=Symbol.for("react.memo"),n5=Symbol.for("react.lazy"),J2=Symbol.for("react.activity"),kG=Symbol.iterator,r={},V8={isMounted:function(){return!1},enqueueForceUpdate:function(Q){W(Q,"forceUpdate")},enqueueReplaceState:function(Q){W(Q,"replaceState")},enqueueSetState:function(Q){W(Q,"setState")}},I6=Object.assign,C4={};Object.freeze(C4),_.prototype.isReactComponent={},_.prototype.setState=function(Q,x){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,x,"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(x4 in b5)b5.hasOwnProperty(x4)&&B(x4,b5[x4]);L.prototype=_.prototype,b5=K.prototype=new L,b5.constructor=K,I6(b5,_.prototype),b5.isPureReactComponent=!0;var r0=Array.isArray,p7=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},O8=Object.prototype.hasOwnProperty,J5=console.createTask?console.createTask:function(){return null};b5={react_stack_bottom_frame:function(Q){return Q()}};var vG,F2,P6={},V6=b5.react_stack_bottom_frame.bind(b5,E)(),MY=J5(R(E)),q8=!1,D8=/\/+/g,j4=typeof reportError==="function"?reportError:function(Q){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var x=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(x))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",Q);return}console.error(Q)},gG=!1,O6=null,q6=0,D6=!1,E6=!1,l7=typeof queueMicrotask==="function"?function(Q){queueMicrotask(function(){return queueMicrotask(Q)})}:I0;b5=Object.freeze({__proto__:null,c:function(Q){return p().useMemoCache(Q)}});var x4={map:e,forEach:function(Q,x,d){e(Q,function(){x.apply(this,arguments)},d)},count:function(Q){var x=0;return e(Q,function(){x++}),x},toArray:function(Q){return e(Q,function(x){return x})||[]},only:function(Q){if(!t(Q))throw Error("React.Children.only expected to receive a single React element child.");return Q}};NF.Activity=J2,NF.Children=x4,NF.Component=_,NF.Fragment=l0,NF.Profiler=l,NF.PureComponent=K,NF.StrictMode=V,NF.Suspense=A1,NF.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O0,NF.__COMPILER_RUNTIME=b5,NF.act=function(Q){var x=O0.actQueue,d=q6;q6++;var i=O0.actQueue=x!==null?x:[],G0=!1;try{var F0=Q()}catch(H0){O0.thrownErrors.push(H0)}if(0<O0.thrownErrors.length)throw N5(x,d),Q=K0(O0.thrownErrors),O0.thrownErrors.length=0,Q;if(F0!==null&&typeof F0==="object"&&typeof F0.then==="function"){var R0=F0;return l7(function(){G0||D6||(D6=!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(H0,o5){G0=!0,R0.then(function(P1){if(N5(x,d),d===0){try{_0(i),I0(function(){return u(P1,H0,o5)})}catch(c7){O0.thrownErrors.push(c7)}if(0<O0.thrownErrors.length){var S4=K0(O0.thrownErrors);O0.thrownErrors.length=0,o5(S4)}}else H0(P1)},function(P1){N5(x,d),0<O0.thrownErrors.length?(P1=K0(O0.thrownErrors),O0.thrownErrors.length=0,o5(P1)):o5(P1)})}}}var d0=F0;if(N5(x,d),d===0&&(_0(i),i.length!==0&&l7(function(){G0||D6||(D6=!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(H0,o5){G0=!0,d===0?(O0.actQueue=i,I0(function(){return u(d0,H0,o5)})):H0(d0)}}},NF.cache=function(Q){return function(){return Q.apply(null,arguments)}},NF.cacheSignal=function(){return null},NF.captureOwnerStack=function(){var Q=O0.getCurrentStack;return Q===null?null:Q()},NF.cloneElement=function(Q,x,d){if(Q===null||Q===void 0)throw Error("The argument must be a React element, but you passed "+Q+".");var i=I6({},Q.props),G0=Q.key,F0=Q._owner;if(x!=null){var R0;$:{if(O8.call(x,"ref")&&(R0=Object.getOwnPropertyDescriptor(x,"ref").get)&&R0.isReactWarning){R0=!1;break $}R0=x.ref!==void 0}R0&&(F0=M()),f(x)&&(C(x.key),G0=""+x.key);for(d0 in x)!O8.call(x,d0)||d0==="key"||d0==="__self"||d0==="__source"||d0==="ref"&&x.ref===void 0||(i[d0]=x[d0])}var d0=arguments.length-2;if(d0===1)i.children=d;else if(1<d0){R0=Array(d0);for(var H0=0;H0<d0;H0++)R0[H0]=arguments[H0+2];i.children=R0}i=S(Q.type,G0,i,F0,Q._debugStack,Q._debugTask);for(G0=2;G0<arguments.length;G0++)o(arguments[G0]);return i},NF.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},NF.createElement=function(Q,x,d){for(var i=2;i<arguments.length;i++)o(arguments[i]);i={};var G0=null;if(x!=null)for(H0 in F2||!("__self"in x)||"key"in x||(F2=!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(x)&&(C(x.key),G0=""+x.key),x)O8.call(x,H0)&&H0!=="key"&&H0!=="__self"&&H0!=="__source"&&(i[H0]=x[H0]);var F0=arguments.length-2;if(F0===1)i.children=d;else if(1<F0){for(var R0=Array(F0),d0=0;d0<F0;d0++)R0[d0]=arguments[d0+2];Object.freeze&&Object.freeze(R0),i.children=R0}if(Q&&Q.defaultProps)for(H0 in F0=Q.defaultProps,F0)i[H0]===void 0&&(i[H0]=F0[H0]);G0&&h(i,typeof Q==="function"?Q.displayName||Q.name||"Unknown":Q);var H0=1e4>O0.recentlyCreatedOwnerStacks++;return S(Q,G0,i,M(),H0?Error("react-stack-top-frame"):V6,H0?J5(R(Q)):MY)},NF.createRef=function(){var Q={current:null};return Object.seal(Q),Q},NF.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 x={$$typeof:y0,render:Q},d;return Object.defineProperty(x,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(i){d=i,Q.name||Q.displayName||(Object.defineProperty(Q,"name",{value:i}),Q.displayName=i)}}),x},NF.isValidElement=t,NF.lazy=function(Q){Q={_status:-1,_result:Q};var x={$$typeof:n5,_payload:Q,_init:$5},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,x._debugInfo=[{awaited:d}],x},NF.memo=function(Q,x){Q==null&&console.error("memo: The first argument must be a component. Instead received: %s",Q===null?"null":typeof Q),x={$$typeof:O5,type:Q,compare:x===void 0?null:x};var d;return Object.defineProperty(x,"displayName",{enumerable:!1,configurable:!0,get:function(){return d},set:function(i){d=i,Q.name||Q.displayName||(Object.defineProperty(Q,"name",{value:i}),Q.displayName=i)}}),x},NF.startTransition=function(Q){var x=O0.T,d={};d._updatedFibers=new Set,O0.T=d;try{var i=Q(),G0=O0.S;G0!==null&&G0(d,i),typeof i==="object"&&i!==null&&typeof i.then==="function"&&(O0.asyncTransitions++,i.then(o0,o0),i.then(F,j4))}catch(F0){j4(F0)}finally{x===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.")),x!==null&&d.types!==null&&(x.types!==null&&x.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."),x.types=d.types),O0.T=x}},NF.unstable_useCacheRefresh=function(){return p().useCacheRefresh()},NF.use=function(Q){return p().use(Q)},NF.useActionState=function(Q,x,d){return p().useActionState(Q,x,d)},NF.useCallback=function(Q,x){return p().useCallback(Q,x)},NF.useContext=function(Q){var x=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?"),x.useContext(Q)},NF.useDebugValue=function(Q,x){return p().useDebugValue(Q,x)},NF.useDeferredValue=function(Q,x){return p().useDeferredValue(Q,x)},NF.useEffect=function(Q,x){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,x)},NF.useEffectEvent=function(Q){return p().useEffectEvent(Q)},NF.useId=function(){return p().useId()},NF.useImperativeHandle=function(Q,x,d){return p().useImperativeHandle(Q,x,d)},NF.useInsertionEffect=function(Q,x){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,x)},NF.useLayoutEffect=function(Q,x){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,x)},NF.useMemo=function(Q,x){return p().useMemo(Q,x)},NF.useOptimistic=function(Q,x){return p().useOptimistic(Q,x)},NF.useReducer=function(Q,x,d){return p().useReducer(Q,x,d)},NF.useRef=function(Q){return p().useRef(Q)},NF.useState=function(Q){return p().useState(Q)},NF.useSyncExternalStore=function(Q,x,d){return p().useSyncExternalStore(Q,x,d)},NF.useTransition=function(){return p().useTransition()},NF.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=F6((QF)=>{var tJ=$0(Z5());(function(){function B(){}function H(R){return""+R}function W(R,M,E){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{H(f);var h=!1}catch(b){h=!0}return h&&(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"),H(f)),{$$typeof:C,key:f==null?null:""+f,children:R,containerInfo:M,implementation:E}}function _(R,M){if(R==="font")return"";if(typeof M==="string")return M==="use-credentials"?M:""}function L(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":'something with type "'+typeof R+'"'}function K(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":typeof R==="string"?JSON.stringify(R):typeof R==="number"?"`"+R+"`":'something with type "'+typeof R+'"'}function F(){var R=j.H;return R===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.`),R}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var w={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"),QF.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,QF.createPortal=function(R,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(R,M,null,E)},QF.flushSync=function(R){var M=j.T,E=w.p;try{if(j.T=null,w.p=2,R)return R()}finally{j.T=M,w.p=E,w.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.")}},QF.preconnect=function(R,M){typeof R==="string"&&R?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(R)),typeof R==="string"&&(M?(M=M.crossOrigin,M=typeof M==="string"?M==="use-credentials"?M:"":void 0):M=null,w.d.C(R,M))},QF.prefetchDNS=function(R){if(typeof R!=="string"||!R)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",L(R));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 R==="string"&&w.d.D(R)},QF.preinit=function(R,M){if(typeof R==="string"&&R?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(R)),typeof R==="string"&&M&&typeof M.as==="string"){var E=M.as,f=_(E,M.crossOrigin),h=typeof M.integrity==="string"?M.integrity:void 0,b=typeof M.fetchPriority==="string"?M.fetchPriority:void 0;E==="style"?w.d.S(R,typeof M.precedence==="string"?M.precedence:void 0,{crossOrigin:f,integrity:h,fetchPriority:b}):E==="script"&&w.d.X(R,{crossOrigin:f,integrity:h,fetchPriority:b,nonce:typeof M.nonce==="string"?M.nonce:void 0})}},QF.preinitModule=function(R,M){var E="";if(typeof R==="string"&&R||(E+=" The `href` argument encountered was "+L(R)+"."),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,R)}if(typeof R==="string")if(typeof M==="object"&&M!==null){if(M.as==null||M.as==="script")E=_(M.as,M.crossOrigin),w.d.M(R,{crossOrigin:E,integrity:typeof M.integrity==="string"?M.integrity:void 0,nonce:typeof M.nonce==="string"?M.nonce:void 0})}else M==null&&w.d.M(R)},QF.preload=function(R,M){var E="";if(typeof R==="string"&&R||(E+=" The `href` argument encountered was "+L(R)+"."),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 R==="string"&&typeof M==="object"&&M!==null&&typeof M.as==="string"){E=M.as;var f=_(E,M.crossOrigin);w.d.L(R,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})}},QF.preloadModule=function(R,M){var E="";typeof R==="string"&&R||(E+=" The `href` argument encountered was "+L(R)+"."),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 R==="string"&&(M?(E=_(M.as,M.crossOrigin),w.d.m(R,{as:typeof M.as==="string"&&M.as!=="script"?M.as:void 0,crossOrigin:E,integrity:typeof M.integrity==="string"?M.integrity:void 0})):w.d.m(R))},QF.requestFormReset=function(R){w.d.r(R)},QF.unstable_batchedUpdates=function(R,M){return R(M)},QF.useFormState=function(R,M,E){return F().useFormState(R,M,E)},QF.useFormStatus=function(){return F().useHostTransitionStatus()},QF.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var SL=F6((bI,xL)=>{var KF=$0(jL());xL.exports=KF});var kL=F6((wF)=>{var u0=$0(CL()),C7=$0(Z5()),eJ=$0(SL());(function(){function B($,G){for($=$.memoizedState;$!==null&&0<G;)$=$.next,G--;return $}function H($,G,X,Y){if(X>=G.length)return Y;var Z=G[X],J=k5($)?$.slice():x0({},$);return J[Z]=H($[Z],G,X+1,Y),J}function W($,G,X){if(G.length!==X.length)console.warn("copyWithRename() expects paths of the same length");else{for(var Y=0;Y<X.length-1;Y++)if(G[Y]!==X[Y]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return _($,G,X,0)}}function _($,G,X,Y){var Z=G[Y],J=k5($)?$.slice():x0({},$);return Y+1===G.length?(J[X[Y]]=J[Z],k5(J)?J.splice(Z,1):delete J[Z]):J[Z]=_($[Z],G,X,Y+1),J}function L($,G,X){var Y=G[X],Z=k5($)?$.slice():x0({},$);if(X+1===G.length)return k5(Z)?Z.splice(Y,1):delete Z[Y],Z;return Z[Y]=L($[Y],G,X+1),Z}function K(){return!1}function F(){return null}function w(){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 R(){}function M($){var G=[];return $.forEach(function(X){G.push(X)}),G.sort().join(", ")}function E($,G,X,Y){return new nQ($,G,X,Y)}function f($,G){$.context===t4&&(MZ($.current,2,G,$,null,null),y8())}function h($,G){if(c1!==null){var X=G.staleFamilies;G=G.updatedFamilies,w$(),vU($.current,G,X),y8()}}function b($){c1=$}function S($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function s($){var G=$,X=$;if($.alternate)for(;G.return;)G=G.return;else{$=G;do G=$,(G.flags&4098)!==0&&(X=G.return),$=G.return;while($)}return G.tag===3?X:null}function o($){if($.tag===13){var G=$.memoizedState;if(G===null&&($=$.alternate,$!==null&&(G=$.memoizedState)),G!==null)return G.dehydrated}return null}function t($){if($.tag===31){var G=$.memoizedState;if(G===null&&($=$.alternate,$!==null&&(G=$.memoizedState)),G!==null)return G.dehydrated}return null}function v0($){if(s($)!==$)throw Error("Unable to find node on an unmounted component.")}function T0($){var G=$.alternate;if(!G){if(G=s($),G===null)throw Error("Unable to find node on an unmounted component.");return G!==$?null:$}for(var X=$,Y=G;;){var Z=X.return;if(Z===null)break;var J=Z.alternate;if(J===null){if(Y=Z.return,Y!==null){X=Y;continue}break}if(Z.child===J.child){for(J=Z.child;J;){if(J===X)return v0(Z),$;if(J===Y)return v0(Z),G;J=J.sibling}throw Error("Unable to find node on an unmounted component.")}if(X.return!==Y.return)X=Z,Y=J;else{for(var U=!1,z=Z.child;z;){if(z===X){U=!0,X=Z,Y=J;break}if(z===Y){U=!0,Y=Z,X=J;break}z=z.sibling}if(!U){for(z=J.child;z;){if(z===X){U=!0,X=J,Y=Z;break}if(z===Y){U=!0,Y=J,X=Z;break}z=z.sibling}if(!U)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(X.alternate!==Y)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(X.tag!==3)throw Error("Unable to find node on an unmounted component.");return X.stateNode.current===X?$:G}function e0($){var G=$.tag;if(G===5||G===26||G===27||G===6)return $;for($=$.child;$!==null;){if(G=e0($),G!==null)return G;$=$.sibling}return null}function Y0($){if($===null||typeof $!=="object")return null;return $=dW&&$[dW]||$["@@iterator"],typeof $==="function"?$:null}function e($){if($==null)return null;if(typeof $==="function")return $.$$typeof===Kw?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case i8:return"Fragment";case VZ:return"Profiler";case l9:return"StrictMode";case qZ:return"Suspense";case DZ:return"SuspenseList";case EZ:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case s8:return"Portal";case m2:return $.displayName||"Context";case OZ:return($._context.displayName||"Context")+".Consumer";case D$:var G=$.render;return $=$.displayName,$||($=G.displayName||G.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case c9:return G=$.displayName||null,G!==null?G:e($.type)||"Memo";case S1:G=$._payload,$=$._init;try{return e($(G))}catch(X){}}return null}function $5($){return typeof $.tag==="number"?p($):typeof $.name==="string"?$.name:null}function p($){var G=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(G._context.displayName||"Context")+".Consumer";case 10:return G.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=G.render,$=$.displayName||$.name||"",G.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return G;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return e(G);case 8:return G===l9?"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 G==="function")return G.displayName||G.name||null;if(typeof G==="string")return G;break;case 29:if(G=$._debugInfo,G!=null){for(var X=G.length-1;0<=X;X--)if(typeof G[X].name==="string")return G[X].name}if($.return!==null)return p($.return)}return null}function o0($){return{current:$}}function I0($,G){0>z4?console.error("Unexpected pop."):(G!==jZ[z4]&&console.error("Unexpected Fiber popped."),$.current=CZ[z4],CZ[z4]=null,jZ[z4]=null,z4--)}function K0($,G,X){z4++,CZ[z4]=$.current,jZ[z4]=X,$.current=G}function N5($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function u($,G){K0(s4,G,$),K0(E$,$,$),K0(c4,null,$);var X=G.nodeType;switch(X){case 9:case 11:X=X===9?"#document":"#fragment",G=(G=G.documentElement)?(G=G.namespaceURI)?_W(G):P4:P4;break;default:if(X=G.tagName,G=G.namespaceURI)G=_W(G),G=AW(G,X);else switch(X){case"svg":G=D7;break;case"math":G=pX;break;default:G=P4}}X=X.toLowerCase(),X=JU(null,X),X={context:G,ancestorInfo:X},I0(c4,$),K0(c4,X,$)}function _0($){I0(c4,$),I0(E$,$),I0(s4,$)}function W0(){return N5(c4.current)}function p0($){$.memoizedState!==null&&K0(s9,$,$);var G=N5(c4.current),X=$.type,Y=AW(G.context,X);X=JU(G.ancestorInfo,X),Y={context:Y,ancestorInfo:X},G!==Y&&(K0(E$,$,$),K0(c4,Y,$))}function l0($){E$.current===$&&(I0(c4,$),I0(E$,$)),s9.current===$&&(I0(s9,$),FG._currentValue=A8)}function V(){}function l(){if(C$===0){uW=console.log,pW=console.info,lW=console.warn,cW=console.error,sW=console.group,iW=console.groupCollapsed,aW=console.groupEnd;var $={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}C$++}function A0(){if(C$--,C$===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:x0({},$,{value:uW}),info:x0({},$,{value:pW}),warn:x0({},$,{value:lW}),error:x0({},$,{value:cW}),group:x0({},$,{value:sW}),groupCollapsed:x0({},$,{value:iW}),groupEnd:x0({},$,{value:aW})})}0>C$&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function N0($){var G=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=G,$.startsWith(`Error: react-stack-top-frame
|
||
`)&&($=$.slice(29)),G=$.indexOf(`
|
||
`),G!==-1&&($=$.slice(G+1)),G=$.indexOf("react_stack_bottom_frame"),G!==-1&&(G=$.lastIndexOf(`
|
||
`,G)),G!==-1)$=$.slice(0,G);else return"";return $}function y0($){if(xZ===void 0)try{throw Error()}catch(X){var G=X.stack.trim().match(/\n( *(at )?)/);xZ=G&&G[1]||"",nW=-1<X.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<X.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+xZ+$+nW}function A1($,G){if(!$||SZ)return"";var X=kZ.get($);if(X!==void 0)return X;SZ=!0,X=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var Y=null;Y=g.H,g.H=null,l();try{var Z={DetermineComponentFrameRoot:function(){try{if(G){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 k=c}Reflect.construct($,[],I)}else{try{I.call()}catch(c){k=c}$.call(I.prototype)}}else{try{throw Error()}catch(c){k=c}(I=$())&&typeof I.catch==="function"&&I.catch(function(){})}}catch(c){if(c&&k&&typeof c.stack==="string")return[c.stack,k.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 U=Z.DetermineComponentFrameRoot(),z=U[0],A=U[1];if(z&&A){var N=z.split(`
|
||
`),q=A.split(`
|
||
`);for(U=J=0;J<N.length&&!N[J].includes("DetermineComponentFrameRoot");)J++;for(;U<q.length&&!q[U].includes("DetermineComponentFrameRoot");)U++;if(J===N.length||U===q.length)for(J=N.length-1,U=q.length-1;1<=J&&0<=U&&N[J]!==q[U];)U--;for(;1<=J&&0<=U;J--,U--)if(N[J]!==q[U]){if(J!==1||U!==1)do if(J--,U--,0>U||N[J]!==q[U]){var D=`
|
||
`+N[J].replace(" at new "," at ");return $.displayName&&D.includes("<anonymous>")&&(D=D.replace("<anonymous>",$.displayName)),typeof $==="function"&&kZ.set($,D),D}while(1<=J&&0<=U);break}}}finally{SZ=!1,g.H=Y,A0(),Error.prepareStackTrace=X}return N=(N=$?$.displayName||$.name:"")?y0(N):"",typeof $==="function"&&kZ.set($,N),N}function P0($,G){switch($.tag){case 26:case 27:case 5:return y0($.type);case 16:return y0("Lazy");case 13:return $.child!==G&&G!==null?y0("Suspense Fallback"):y0("Suspense");case 19:return y0("SuspenseList");case 0:case 15:return A1($.type,!1);case 11:return A1($.type.render,!1);case 1:return A1($.type,!0);case 31:return y0("Activity");default:return""}}function O5($){try{var G="",X=null;do{G+=P0($,X);var Y=$._debugInfo;if(Y)for(var Z=Y.length-1;0<=Z;Z--){var J=Y[Z];if(typeof J.name==="string"){var U=G;$:{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 k=`
|
||
`+I;break $}}k=y0(z+(A?" ["+A+"]":""))}G=U+k}}X=$,$=$.return}while($);return G}catch(c){return`
|
||
Error generating stack: `+c.message+`
|
||
`+c.stack}}function n5($){return($=$?$.displayName||$.name:"")?y0($):""}function J2(){if(k1===null)return null;var $=k1._debugOwner;return $!=null?$5($):null}function kG(){if(k1===null)return"";var $=k1;try{var G="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:G+=y0($.type);break;case 13:G+=y0("Suspense");break;case 19:G+=y0("SuspenseList");break;case 31:G+=y0("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||G!==""||(G+=n5($.type));break;case 11:$._debugOwner||G!==""||(G+=n5($.type.render))}for(;$;)if(typeof $.tag==="number"){var X=$;$=X._debugOwner;var Y=X._debugStack;if($&&Y){var Z=N0(Y);Z!==""&&(G+=`
|
||
`+Z)}}else if($.debugStack!=null){var J=$.debugStack;($=$.owner)&&J&&(G+=`
|
||
`+N0(J))}else break;var U=G}catch(z){U=`
|
||
Error generating stack: `+z.message+`
|
||
`+z.stack}return U}function r($,G,X,Y,Z,J,U){var z=k1;V8($);try{return $!==null&&$._debugTask?$._debugTask.run(G.bind(null,X,Y,Z,J,U)):G(X,Y,Z,J,U)}finally{V8(z)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function V8($){g.getCurrentStack=$===null?null:kG,f2=!1,k1=$}function I6($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function C4($){try{return b5($),!1}catch(G){return!0}}function b5($){return""+$}function r0($,G){if(C4($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",G,I6($)),b5($)}function p7($,G){if(C4($))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.",G,I6($)),b5($)}function O0($){if(C4($))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.",I6($)),b5($)}function O8($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var G=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(G.isDisabled)return!0;if(!G.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{n8=G.inject($),t5=G}catch(X){console.error("React instrumentation encountered an error: %o.",X)}return G.checkDCE?!0:!1}function J5($){if(typeof Pw==="function"&&Vw($),t5&&typeof t5.setStrictMode==="function")try{t5.setStrictMode(n8,$)}catch(G){h2||(h2=!0,console.error("React instrumentation encountered an error: %o",G))}}function vG($){return $>>>=0,$===0?32:31-(Ow($)/qw|0)|0}function F2($){var G=$&42;if(G!==0)return G;switch($&-$){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 $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&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."),$}}function P6($,G,X){var Y=$.pendingLanes;if(Y===0)return 0;var Z=0,J=$.suspendedLanes,U=$.pingedLanes;$=$.warmLanes;var z=Y&134217727;return z!==0?(Y=z&~J,Y!==0?Z=F2(Y):(U&=z,U!==0?Z=F2(U):X||(X=z&~$,X!==0&&(Z=F2(X))))):(z=Y&~J,z!==0?Z=F2(z):U!==0?Z=F2(U):X||(X=Y&~$,X!==0&&(Z=F2(X)))),Z===0?0:G!==0&&G!==Z&&(G&J)===0&&(J=Z&-Z,X=G&-G,J>=X||J===32&&(X&4194048)!==0)?G:Z}function V6($,G){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&G)===0}function MY($,G){switch($){case 1:case 2:case 4:case 8:case 64:return G+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 G+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 q8(){var $=n9;return n9<<=1,(n9&62914560)===0&&(n9=4194304),$}function D8($){for(var G=[],X=0;31>X;X++)G.push($);return G}function j4($,G){$.pendingLanes|=G,G!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function gG($,G,X,Y,Z,J){var U=$.pendingLanes;$.pendingLanes=X,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=X,$.entangledLanes&=X,$.errorRecoveryDisabledLanes&=X,$.shellSuspendCounter=0;var{entanglements:z,expirationTimes:A,hiddenUpdates:N}=$;for(X=U&~X;0<X;){var q=31-X1(X),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 k=I[q];k!==null&&(k.lane&=-536870913)}X&=~D}Y!==0&&O6($,Y,0),J!==0&&Z===0&&$.tag!==0&&($.suspendedLanes|=J&~(U&~G))}function O6($,G,X){$.pendingLanes|=G,$.suspendedLanes&=~G;var Y=31-X1(G);$.entangledLanes|=G,$.entanglements[Y]=$.entanglements[Y]|1073741824|X&261930}function q6($,G){var X=$.entangledLanes|=G;for($=$.entanglements;X;){var Y=31-X1(X),Z=1<<Y;Z&G|$[Y]&G&&($[Y]|=G),X&=~Z}}function D6($,G){var X=G&-G;return X=(X&42)!==0?1:E6(X),(X&($.suspendedLanes|G))!==0?0:X}function E6($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=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:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function l7($,G,X){if(y2)for($=$.pendingUpdatersLaneMap;0<X;){var Y=31-X1(X),Z=1<<Y;$[Y].add(G),X&=~Z}}function x4($,G){if(y2)for(var{pendingUpdatersLaneMap:X,memoizedUpdaters:Y}=$;0<G;){var Z=31-X1(G);$=1<<Z,Z=X[Z],0<Z.size&&(Z.forEach(function(J){var U=J.alternate;U!==null&&Y.has(U)||Y.add(J)}),Z.clear()),G&=~$}}function Q($){return $&=-$,v1!==0&&v1<$?W2!==0&&W2<$?($&134217727)!==0?d2:o9:W2:v1}function x(){var $=s0.p;if($!==0)return $;return $=window.event,$===void 0?d2:vW($.type)}function d($,G){var X=s0.p;try{return s0.p=$,G()}finally{s0.p=X}}function i($){delete $[c5],delete $[Y1],delete $[fZ],delete $[Dw],delete $[Ew]}function G0($){var G=$[c5];if(G)return G;for(var X=$.parentNode;X;){if(G=X[a4]||X[c5]){if(X=G.alternate,G.child!==null||X!==null&&X.child!==null)for($=RW($);$!==null;){if(X=$[c5])return X;$=RW($)}return G}$=X,X=$.parentNode}return null}function F0($){if($=$[c5]||$[a4]){var G=$.tag;if(G===5||G===6||G===13||G===31||G===26||G===27||G===3)return $}return null}function R0($){var G=$.tag;if(G===5||G===26||G===27||G===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function d0($){var G=$[oW];return G||(G=$[oW]={hoistableStyles:new Map,hoistableScripts:new Map}),G}function H0($){$[j$]=!0}function o5($,G){P1($,G),P1($+"Capture",G)}function P1($,G){l6[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),l6[$]=G;var X=$.toLowerCase();hZ[X]=$,$==="onDoubleClick"&&(hZ.ondblclick=$);for($=0;$<G.length;$++)rW.add(G[$])}function S4($,G){Cw[G.type]||G.onChange||G.onInput||G.readOnly||G.disabled||G.value==null||($==="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`.")),G.onChange||G.readOnly||G.disabled||G.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 c7($){if(z2.call(eW,$))return!0;if(z2.call(tW,$))return!1;if(jw.test($))return eW[$]=!0;return tW[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function lB($,G,X){if(c7(G)){if(!$.hasAttribute(G)){switch(typeof X){case"symbol":case"object":return X;case"function":return X;case"boolean":if(X===!1)return X}return X===void 0?void 0:null}if($=$.getAttribute(G),$===""&&X===!0)return!0;return r0(X,G),$===""+X?X:$}}function bG($,G,X){if(c7(G))if(X===null)$.removeAttribute(G);else{switch(typeof X){case"undefined":case"function":case"symbol":$.removeAttribute(G);return;case"boolean":var Y=G.toLowerCase().slice(0,5);if(Y!=="data-"&&Y!=="aria-"){$.removeAttribute(G);return}}r0(X,G),$.setAttribute(G,""+X)}}function mG($,G,X){if(X===null)$.removeAttribute(G);else{switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(G);return}r0(X,G),$.setAttribute(G,""+X)}}function $4($,G,X,Y){if(Y===null)$.removeAttribute(X);else{switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(X);return}r0(Y,X),$.setAttributeNS(G,X,""+Y)}}function y1($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return O0($),$;default:return""}}function cB($){var G=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(G==="checkbox"||G==="radio")}function qQ($,G,X){var Y=Object.getOwnPropertyDescriptor($.constructor.prototype,G);if(!$.hasOwnProperty(G)&&typeof Y<"u"&&typeof Y.get==="function"&&typeof Y.set==="function"){var{get:Z,set:J}=Y;return Object.defineProperty($,G,{configurable:!0,get:function(){return Z.call(this)},set:function(U){O0(U),X=""+U,J.call(this,U)}}),Object.defineProperty($,G,{enumerable:Y.enumerable}),{getValue:function(){return X},setValue:function(U){O0(U),X=""+U},stopTracking:function(){$._valueTracker=null,delete $[G]}}}}function FY($){if(!$._valueTracker){var G=cB($)?"checked":"value";$._valueTracker=qQ($,G,""+$[G])}}function sB($){if(!$)return!1;var G=$._valueTracker;if(!G)return!0;var X=G.getValue(),Y="";return $&&(Y=cB($)?$.checked?"true":"false":$.value),$=Y,$!==X?(G.setValue($),!0):!1}function fG($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(G){return $.body}}function d1($){return $.replace(xw,function(G){return"\\"+G.charCodeAt(0).toString(16)+" "})}function iB($,G){G.checked===void 0||G.defaultChecked===void 0||G_||(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",J2()||"A component",G.type),G_=!0),G.value===void 0||G.defaultValue===void 0||$_||(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",J2()||"A component",G.type),$_=!0)}function RY($,G,X,Y,Z,J,U,z){if($.name="",U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"?(r0(U,"type"),$.type=U):$.removeAttribute("type"),G!=null)if(U==="number"){if(G===0&&$.value===""||$.value!=G)$.value=""+y1(G)}else $.value!==""+y1(G)&&($.value=""+y1(G));else U!=="submit"&&U!=="reset"||$.removeAttribute("value");G!=null?TY($,U,y1(G)):X!=null?TY($,U,y1(X)):Y!=null&&$.removeAttribute("value"),Z==null&&J!=null&&($.defaultChecked=!!J),Z!=null&&($.checked=Z&&typeof Z!=="function"&&typeof Z!=="symbol"),z!=null&&typeof z!=="function"&&typeof z!=="symbol"&&typeof z!=="boolean"?(r0(z,"name"),$.name=""+y1(z)):$.removeAttribute("name")}function aB($,G,X,Y,Z,J,U,z){if(J!=null&&typeof J!=="function"&&typeof J!=="symbol"&&typeof J!=="boolean"&&(r0(J,"type"),$.type=J),G!=null||X!=null){if(!(J!=="submit"&&J!=="reset"||G!==void 0&&G!==null)){FY($);return}X=X!=null?""+y1(X):"",G=G!=null?""+y1(G):X,z||G===$.value||($.value=G),$.defaultValue=G}Y=Y!=null?Y:Z,Y=typeof Y!=="function"&&typeof Y!=="symbol"&&!!Y,$.checked=z?$.checked:!!Y,$.defaultChecked=!!Y,U!=null&&typeof U!=="function"&&typeof U!=="symbol"&&typeof U!=="boolean"&&(r0(U,"name"),$.name=U),FY($)}function TY($,G,X){G==="number"&&fG($.ownerDocument)===$||$.defaultValue===""+X||($.defaultValue=""+X)}function nB($,G){G.value==null&&(typeof G.children==="object"&&G.children!==null?C7.Children.forEach(G.children,function(X){X==null||typeof X==="string"||typeof X==="number"||typeof X==="bigint"||Y_||(Y_=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):G.dangerouslySetInnerHTML==null||Z_||(Z_=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),G.selected==null||X_||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),X_=!0)}function oB(){var $=J2();return $?`
|
||
|
||
Check the render method of \``+$+"`.":""}function E8($,G,X,Y){if($=$.options,G){G={};for(var Z=0;Z<X.length;Z++)G["$"+X[Z]]=!0;for(X=0;X<$.length;X++)Z=G.hasOwnProperty("$"+$[X].value),$[X].selected!==Z&&($[X].selected=Z),Z&&Y&&($[X].defaultSelected=!0)}else{X=""+y1(X),G=null;for(Z=0;Z<$.length;Z++){if($[Z].value===X){$[Z].selected=!0,Y&&($[Z].defaultSelected=!0);return}G!==null||$[Z].disabled||(G=$[Z])}G!==null&&(G.selected=!0)}}function rB($,G){for($=0;$<B_.length;$++){var X=B_[$];if(G[X]!=null){var Y=k5(G[X]);G.multiple&&!Y?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",X,oB()):!G.multiple&&Y&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",X,oB())}}G.value===void 0||G.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($,G){G.value===void 0||G.defaultValue===void 0||U_||(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",J2()||"A component"),U_=!0),G.children!=null&&G.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function eB($,G,X){if(G!=null&&(G=""+y1(G),G!==$.value&&($.value=G),X==null)){$.defaultValue!==G&&($.defaultValue=G);return}$.defaultValue=X!=null?""+y1(X):""}function $U($,G,X,Y){if(G==null){if(Y!=null){if(X!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(k5(Y)){if(1<Y.length)throw Error("<textarea> can only have at most one child.");Y=Y[0]}X=Y}X==null&&(X=""),G=X}X=y1(G),$.defaultValue=X,Y=$.textContent,Y===X&&Y!==""&&Y!==null&&($.value=Y),FY($)}function GU($,G){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-G?GU($.children[0],G):$}function V1($){return" "+" ".repeat($)}function C8($){return"+ "+" ".repeat($)}function C6($){return"- "+" ".repeat($)}function XU($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function s7($,G){return H_.test($)?($=JSON.stringify($),$.length>G-2?8>G?'{"..."}':"{"+$.slice(0,G-7)+'..."}':"{"+$+"}"):$.length>G?5>G?'{"..."}':$.slice(0,G-3)+"...":$}function hG($,G,X){var Y=120-2*X;if(G===null)return C8(X)+s7($,Y)+`
|
||
`;if(typeof G==="string"){for(var Z=0;Z<G.length&&Z<$.length&&G.charCodeAt(Z)===$.charCodeAt(Z);Z++);return Z>Y-8&&10<Z&&($="..."+$.slice(Z-8),G="..."+G.slice(Z-8)),C8(X)+s7($,Y)+`
|
||
`+C6(X)+s7(G,Y)+`
|
||
`}return V1(X)+s7($,Y)+`
|
||
`}function IY($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(G,X){return X})}function i7($,G){switch(typeof $){case"string":return $=JSON.stringify($),$.length>G?5>G?'"..."':$.slice(0,G-4)+'..."':$;case"object":if($===null)return"null";if(k5($))return"[...]";if($.$$typeof===b2)return(G=e($.type))?"<"+G+">":"<...>";var X=IY($);if(X==="Object"){X="",G-=2;for(var Y in $)if($.hasOwnProperty(Y)){var Z=JSON.stringify(Y);if(Z!=='"'+Y+'"'&&(Y=Z),G-=Y.length-2,Z=i7($[Y],15>G?G:15),G-=Z.length,0>G){X+=X===""?"...":", ...";break}X+=(X===""?"":",")+Y+":"+Z}return"{"+X+"}"}return X;case"function":return(G=$.displayName||$.name)?"function "+G:"function";default:return String($)}}function j8($,G){return typeof $!=="string"||H_.test($)?"{"+i7($,G-2)+"}":$.length>G-2?5>G?'"..."':'"'+$.slice(0,G-5)+'..."':'"'+$+'"'}function PY($,G,X){var Y=120-X.length-$.length,Z=[],J;for(J in G)if(G.hasOwnProperty(J)&&J!=="children"){var U=j8(G[J],120-X.length-J.length-1);Y-=J.length+U.length+2,Z.push(J+"="+U)}return Z.length===0?X+"<"+$+`>
|
||
`:0<Y?X+"<"+$+" "+Z.join(" ")+`>
|
||
`:X+"<"+$+`
|
||
`+X+" "+Z.join(`
|
||
`+X+" ")+`
|
||
`+X+`>
|
||
`}function DQ($,G,X){var Y="",Z=x0({},G),J;for(J in $)if($.hasOwnProperty(J)){delete Z[J];var U=120-2*X-J.length-2,z=i7($[J],U);G.hasOwnProperty(J)?(U=i7(G[J],U),Y+=C8(X)+J+": "+z+`
|
||
`,Y+=C6(X)+J+": "+U+`
|
||
`):Y+=C8(X)+J+": "+z+`
|
||
`}for(var A in Z)Z.hasOwnProperty(A)&&($=i7(Z[A],120-2*X-A.length-2),Y+=C6(X)+A+": "+$+`
|
||
`);return Y}function EQ($,G,X,Y){var Z="",J=new Map;for(N in X)X.hasOwnProperty(N)&&J.set(N.toLowerCase(),N);if(J.size===1&&J.has("children"))Z+=PY($,G,V1(Y));else{for(var U in G)if(G.hasOwnProperty(U)&&U!=="children"){var z=120-2*(Y+1)-U.length-1,A=J.get(U.toLowerCase());if(A!==void 0){J.delete(U.toLowerCase());var N=G[U];A=X[A];var q=j8(N,z);z=j8(A,z),typeof N==="object"&&N!==null&&typeof A==="object"&&A!==null&&IY(N)==="Object"&&IY(A)==="Object"&&(2<Object.keys(N).length||2<Object.keys(A).length||-1<q.indexOf("...")||-1<z.indexOf("..."))?Z+=V1(Y+1)+U+`={{
|
||
`+DQ(N,A,Y+2)+V1(Y+1)+`}}
|
||
`:(Z+=C8(Y+1)+U+"="+q+`
|
||
`,Z+=C6(Y+1)+U+"="+z+`
|
||
`)}else Z+=V1(Y+1)+U+"="+j8(G[U],z)+`
|
||
`}J.forEach(function(D){if(D!=="children"){var I=120-2*(Y+1)-D.length-1;Z+=C6(Y+1)+D+"="+j8(X[D],I)+`
|
||
`}}),Z=Z===""?V1(Y)+"<"+$+`>
|
||
`:V1(Y)+"<"+$+`
|
||
`+Z+V1(Y)+`>
|
||
`}if($=X.children,G=G.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(J="",typeof G==="string"||typeof G==="number"||typeof G==="bigint")J=""+G;Z+=hG(J,""+$,Y+1)}else if(typeof G==="string"||typeof G==="number"||typeof G==="bigint")Z=$==null?Z+hG(""+G,null,Y+1):Z+hG(""+G,void 0,Y+1);return Z}function YU($,G){var X=XU($);if(X===null){X="";for($=$.child;$;)X+=YU($,G),$=$.sibling;return X}return V1(G)+"<"+X+`>
|
||
`}function VY($,G){var X=GU($,G);if(X!==$&&($.children.length!==1||$.children[0]!==X))return V1(G)+`...
|
||
`+VY(X,G+1);X="";var Y=$.fiber._debugInfo;if(Y)for(var Z=0;Z<Y.length;Z++){var J=Y[Z].name;typeof J==="string"&&(X+=V1(G)+"<"+J+`>
|
||
`,G++)}if(Y="",Z=$.fiber.pendingProps,$.fiber.tag===6)Y=hG(Z,$.serverProps,G),G++;else if(J=XU($.fiber),J!==null)if($.serverProps===void 0){Y=G;var U=120-2*Y-J.length-2,z="";for(N in Z)if(Z.hasOwnProperty(N)&&N!=="children"){var A=j8(Z[N],15);if(U-=N.length+A.length+2,0>U){z+=" ...";break}z+=" "+N+"="+A}Y=V1(Y)+"<"+J+z+`>
|
||
`,G++}else $.serverProps===null?(Y=PY(J,Z,C8(G)),G++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(Y=EQ(J,Z,$.serverProps,G),G++);var N="";Z=$.fiber.child;for(J=0;Z&&J<$.children.length;)U=$.children[J],U.fiber===Z?(N+=VY(U,G),J++):N+=YU(Z,G),Z=Z.sibling;Z&&0<$.children.length&&(N+=V1(G)+`...
|
||
`),Z=$.serverTail,$.serverProps===null&&G--;for($=0;$<Z.length;$++)J=Z[$],N=typeof J==="string"?N+(C6(G)+s7(J,120-2*G)+`
|
||
`):N+PY(J.type,J.props,C6(G));return X+Y+N}function OY($){try{return`
|
||
|
||
`+VY($,0)}catch(G){return""}}function ZU($,G,X){for(var Y=G,Z=null,J=0;Y;)Y===$&&(J=0),Z={fiber:Y,children:Z!==null?[Z]:[],serverProps:Y===G?X:Y===$?null:void 0,serverTail:[],distanceFromLeaf:J},J++,Y=Y.return;return Z!==null?OY(Z).replaceAll(/^[+-]/gm,">"):""}function JU($,G){var X=x0({},$||W_),Y={tag:G};if(z_.indexOf(G)!==-1&&(X.aTagInScope=null,X.buttonTagInScope=null,X.nobrTagInScope=null),kw.indexOf(G)!==-1&&(X.pTagInButtonScope=null),Sw.indexOf(G)!==-1&&G!=="address"&&G!=="div"&&G!=="p"&&(X.listItemTagAutoclosing=null,X.dlItemTagAutoclosing=null),X.current=Y,G==="form"&&(X.formTag=Y),G==="a"&&(X.aTagInScope=Y),G==="button"&&(X.buttonTagInScope=Y),G==="nobr"&&(X.nobrTagInScope=Y),G==="p"&&(X.pTagInButtonScope=Y),G==="li"&&(X.listItemTagAutoclosing=Y),G==="dd"||G==="dt")X.dlItemTagAutoclosing=Y;return G==="#document"||G==="html"?X.containerTagInScope=null:X.containerTagInScope||(X.containerTagInScope=Y),$!==null||G!=="#document"&&G!=="html"&&G!=="body"?X.implicitRootScope===!0&&(X.implicitRootScope=!1):X.implicitRootScope=!0,X}function BU($,G,X){switch(G){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(X)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!X)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return G!=="h1"&&G!=="h2"&&G!=="h3"&&G!=="h4"&&G!=="h5"&&G!=="h6";case"rp":case"rt":return vw.indexOf(G)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return G==null;case"head":return X||G===null;case"html":return X&&G==="#document"||G===null;case"body":return X&&(G==="#document"||G==="html")||G===null}return!0}function CQ($,G){switch($){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 G.pTagInButtonScope;case"form":return G.formTag||G.pTagInButtonScope;case"li":return G.listItemTagAutoclosing;case"dd":case"dt":return G.dlItemTagAutoclosing;case"button":return G.buttonTagInScope;case"a":return G.aTagInScope;case"nobr":return G.nobrTagInScope}return null}function UU($,G){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===G)return $}$=$.return}return null}function qY($,G){G=G||W_;var X=G.current;if(G=(X=BU($,X&&X.tag,G.implicitRootScope)?null:X)?null:CQ($,G),G=X||G,!G)return!0;var Y=G.tag;if(G=String(!!X)+"|"+$+"|"+Y,r9[G])return!1;r9[G]=!0;var Z=(G=k1)?UU(G.return,Y):null,J=G!==null&&Z!==null?ZU(Z,G,null):"",U="<"+$+">";return X?(X="",Y==="table"&&$==="tr"&&(X+=" 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`,U,Y,X,J)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
||
This will cause a hydration error.%s`,U,Y,J),G&&($=G.return,Z===null||$===null||Z===$&&$._debugOwner===G._debugOwner||r(Z,function(){console.error(`<%s> cannot contain a nested %s.
|
||
See this log for the ancestor stack trace.`,Y,U)})),!1}function yG($,G,X){if(X||BU("#text",G,!1))return!0;if(X="#text|"+G,r9[X])return!1;r9[X]=!0;var Y=(X=k1)?UU(X,G):null;return X=X!==null&&Y!==null?ZU(Y,X,X.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
||
This will cause a hydration error.%s`,G,X):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`,G,X),!1}function a7($,G){if(G){var X=$.firstChild;if(X&&X===$.lastChild&&X.nodeType===3){X.nodeValue=G;return}}$.textContent=G}function jQ($){return $.replace(mw,function(G,X){return X.toUpperCase()})}function HU($,G,X){var Y=G.indexOf("--")===0;Y||(-1<G.indexOf("-")?o8.hasOwnProperty(G)&&o8[G]||(o8[G]=!0,console.error("Unsupported style property %s. Did you mean %s?",G,jQ(G.replace(bw,"ms-")))):gw.test(G)?o8.hasOwnProperty(G)&&o8[G]||(o8[G]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",G,G.charAt(0).toUpperCase()+G.slice(1))):!L_.test(X)||dZ.hasOwnProperty(X)&&dZ[X]||(dZ[X]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,G,X.replace(L_,""))),typeof X==="number"&&(isNaN(X)?N_||(N_=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",G)):isFinite(X)||Q_||(Q_=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",G)))),X==null||typeof X==="boolean"||X===""?Y?$.setProperty(G,""):G==="float"?$.cssFloat="":$[G]="":Y?$.setProperty(G,X):typeof X!=="number"||X===0||K_.has(G)?G==="float"?$.cssFloat=X:(p7(X,G),$[G]=(""+X).trim()):$[G]=X+"px"}function zU($,G,X){if(G!=null&&typeof G!=="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(G&&Object.freeze(G),$=$.style,X!=null){if(G){var Y={};if(X){for(var Z in X)if(X.hasOwnProperty(Z)&&!G.hasOwnProperty(Z))for(var J=yZ[Z]||[Z],U=0;U<J.length;U++)Y[J[U]]=Z}for(var z in G)if(G.hasOwnProperty(z)&&(!X||X[z]!==G[z]))for(Z=yZ[z]||[z],J=0;J<Z.length;J++)Y[Z[J]]=z;z={};for(var A in G)for(Z=yZ[A]||[A],J=0;J<Z.length;J++)z[Z[J]]=A;A={};for(var N in Y)if(Z=Y[N],(J=z[N])&&Z!==J&&(U=Z+","+J,!A[U])){A[U]=!0,U=console;var q=G[Z];U.error.call(U,"%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 X)!X.hasOwnProperty(D)||G!=null&&G.hasOwnProperty(D)||(D.indexOf("--")===0?$.setProperty(D,""):D==="float"?$.cssFloat="":$[D]="");for(var I in G)N=G[I],G.hasOwnProperty(I)&&X[I]!==N&&HU($,I,N)}else for(Y in G)G.hasOwnProperty(Y)&&HU($,Y,G[Y])}function n7($){if($.indexOf("-")===-1)return!1;switch($){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 WU($){return fw.get($)||$}function xQ($,G){if(z2.call(t8,G)&&t8[G])return!0;if(yw.test(G)){if($="aria-"+G.slice(4).toLowerCase(),$=w_.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",G),t8[G]=!0;if(G!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",G,$),t8[G]=!0}if(hw.test(G)){if($=G.toLowerCase(),$=w_.hasOwnProperty($)?$:null,$==null)return t8[G]=!0,!1;G!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",G,$),t8[G]=!0)}return!0}function SQ($,G){var X=[],Y;for(Y in G)xQ($,Y)||X.push(Y);G=X.map(function(Z){return"`"+Z+"`"}).join(", "),X.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",G,$):1<X.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",G,$)}function kQ($,G,X,Y){if(z2.call(Z1,G)&&Z1[G])return!0;var Z=G.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."),Z1[G]=!0;if(typeof X==="function"&&($==="form"&&G==="action"||$==="input"&&G==="formAction"||$==="button"&&G==="formAction"))return!0;if(Y!=null){if($=Y.possibleRegistrationNames,Y.registrationNameDependencies.hasOwnProperty(G))return!0;if(Y=$.hasOwnProperty(Z)?$[Z]:null,Y!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",G,Y),Z1[G]=!0;if(F_.test(G))return console.error("Unknown event handler property `%s`. It will be ignored.",G),Z1[G]=!0}else if(F_.test(G))return dw.test(G)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",G),Z1[G]=!0;if(uw.test(G)||pw.test(G))return!0;if(Z==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Z1[G]=!0;if(Z==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Z1[G]=!0;if(Z==="is"&&X!==null&&X!==void 0&&typeof X!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof X),Z1[G]=!0;if(typeof X==="number"&&isNaN(X))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",G),Z1[G]=!0;if(e9.hasOwnProperty(Z)){if(Z=e9[Z],Z!==G)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",G,Z),Z1[G]=!0}else if(G!==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.",G,Z),Z1[G]=!0;switch(G){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 X){case"boolean":switch(G){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=G.toLowerCase().slice(0,5),Z==="data-"||Z==="aria-")return!0;return X?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()}.',X,G,G,X,G):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.',X,G,G,X,G,G,G),Z1[G]=!0}case"function":case"symbol":return Z1[G]=!0,!1;case"string":if(X==="false"||X==="true"){switch(G){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}?",X,G,X==="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".',G,X),Z1[G]=!0}}return!0}function vQ($,G,X){var Y=[],Z;for(Z in G)kQ($,Z,G[Z],X)||Y.push(Z);G=Y.map(function(J){return"`"+J+"`"}).join(", "),Y.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 ",G,$):1<Y.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 ",G,$)}function o7($){return lw.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function G4(){}function DY($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function _U($){var G=F0($);if(G&&($=G.stateNode)){var X=$[Y1]||null;$:switch($=G.stateNode,G.type){case"input":if(RY($,X.value,X.defaultValue,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name),G=X.name,X.type==="radio"&&G!=null){for(X=$;X.parentNode;)X=X.parentNode;r0(G,"name"),X=X.querySelectorAll('input[name="'+d1(""+G)+'"][type="radio"]');for(G=0;G<X.length;G++){var Y=X[G];if(Y!==$&&Y.form===$.form){var Z=Y[Y1]||null;if(!Z)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");RY(Y,Z.value,Z.defaultValue,Z.defaultValue,Z.checked,Z.defaultChecked,Z.type,Z.name)}}for(G=0;G<X.length;G++)Y=X[G],Y.form===$.form&&sB(Y)}break $;case"textarea":eB($,X.value,X.defaultValue);break $;case"select":G=X.value,G!=null&&E8($,!!X.multiple,G,!1)}}}function AU($,G,X){if(uZ)return $(G,X);uZ=!0;try{var Y=$(G);return Y}finally{if(uZ=!1,e8!==null||$7!==null){if(y8(),e8&&(G=e8,$=$7,$7=e8=null,_U(G),$))for(G=0;G<$.length;G++)_U($[G])}}}function r7($,G){var X=$.stateNode;if(X===null)return null;var Y=X[Y1]||null;if(Y===null)return null;X=Y[G];$:switch(G){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Y=!Y.disabled)||($=$.type,Y=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!Y;break $;default:$=!1}if($)return null;if(X&&typeof X!=="function")throw Error("Expected `"+G+"` listener to be a function, instead got a value of `"+typeof X+"` type.");return X}function LU(){if($X)return $X;var $,G=lZ,X=G.length,Y,Z="value"in n4?n4.value:n4.textContent,J=Z.length;for($=0;$<X&&G[$]===Z[$];$++);var U=X-$;for(Y=1;Y<=U&&G[X-Y]===Z[J-Y];Y++);return $X=Z.slice($,1<Y?1-Y:void 0)}function dG($){var G=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&G===13&&($=13)):$=G,$===10&&($=13),32<=$||$===13?$:0}function uG(){return!0}function NU(){return!1}function L1($){function G(X,Y,Z,J,U){this._reactName=X,this._targetInst=Z,this.type=Y,this.nativeEvent=J,this.target=U,this.currentTarget=null;for(var z in $)$.hasOwnProperty(z)&&(X=$[z],this[z]=X?X(J):J[z]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?uG:NU,this.isPropagationStopped=NU,this}return x0(G.prototype,{preventDefault:function(){this.defaultPrevented=!0;var X=this.nativeEvent;X&&(X.preventDefault?X.preventDefault():typeof X.returnValue!=="unknown"&&(X.returnValue=!1),this.isDefaultPrevented=uG)},stopPropagation:function(){var X=this.nativeEvent;X&&(X.stopPropagation?X.stopPropagation():typeof X.cancelBubble!=="unknown"&&(X.cancelBubble=!0),this.isPropagationStopped=uG)},persist:function(){},isPersistent:uG}),G}function gQ($){var G=this.nativeEvent;return G.getModifierState?G.getModifierState($):($=YM[$])?!!G[$]:!1}function EY(){return gQ}function QU($,G){switch($){case"keyup":return QM.indexOf(G.keyCode)!==-1;case"keydown":return G.keyCode!==P_;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function KU($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function bQ($,G){switch($){case"compositionend":return KU(G);case"keypress":if(G.which!==O_)return null;return D_=!0,q_;case"textInput":return $=G.data,$===q_&&D_?null:$;default:return null}}function mQ($,G){if(G7)return $==="compositionend"||!aZ&&QU($,G)?($=LU(),$X=lZ=n4=null,G7=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(G.ctrlKey||G.altKey||G.metaKey)||G.ctrlKey&&G.altKey){if(G.char&&1<G.char.length)return G.char;if(G.which)return String.fromCharCode(G.which)}return null;case"compositionend":return V_&&G.locale!=="ko"?null:G.data;default:return null}}function wU($){var G=$&&$.nodeName&&$.nodeName.toLowerCase();return G==="input"?!!wM[$.type]:G==="textarea"?!0:!1}function fQ($){if(!u2)return!1;$="on"+$;var G=$ in document;return G||(G=document.createElement("div"),G.setAttribute($,"return;"),G=typeof G[$]==="function"),G}function MU($,G,X,Y){e8?$7?$7.push(Y):$7=[Y]:e8=Y,G=v9(G,"onChange"),0<G.length&&(X=new GX("onChange","change",null,X,Y),$.push({event:X,listeners:G}))}function hQ($){$W($,0)}function pG($){var G=R0($);if(sB(G))return $}function FU($,G){if($==="change")return G}function RU(){b$&&(b$.detachEvent("onpropertychange",TU),m$=b$=null)}function TU($){if($.propertyName==="value"&&pG(m$)){var G=[];MU(G,m$,$,DY($)),AU(hQ,G)}}function yQ($,G,X){$==="focusin"?(RU(),b$=G,m$=X,b$.attachEvent("onpropertychange",TU)):$==="focusout"&&RU()}function dQ($){if($==="selectionchange"||$==="keyup"||$==="keydown")return pG(m$)}function uQ($,G){if($==="click")return pG(G)}function pQ($,G){if($==="input"||$==="change")return pG(G)}function lQ($,G){return $===G&&($!==0||1/$===1/G)||$!==$&&G!==G}function t7($,G){if(J1($,G))return!0;if(typeof $!=="object"||$===null||typeof G!=="object"||G===null)return!1;var X=Object.keys($),Y=Object.keys(G);if(X.length!==Y.length)return!1;for(Y=0;Y<X.length;Y++){var Z=X[Y];if(!z2.call(G,Z)||!J1($[Z],G[Z]))return!1}return!0}function IU($){for(;$&&$.firstChild;)$=$.firstChild;return $}function PU($,G){var X=IU($);$=0;for(var Y;X;){if(X.nodeType===3){if(Y=$+X.textContent.length,$<=G&&Y>=G)return{node:X,offset:G-$};$=Y}$:{for(;X;){if(X.nextSibling){X=X.nextSibling;break $}X=X.parentNode}X=void 0}X=IU(X)}}function VU($,G){return $&&G?$===G?!0:$&&$.nodeType===3?!1:G&&G.nodeType===3?VU($,G.parentNode):("contains"in $)?$.contains(G):$.compareDocumentPosition?!!($.compareDocumentPosition(G)&16):!1:!1}function OU($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var G=fG($.document);G instanceof $.HTMLIFrameElement;){try{var X=typeof G.contentWindow.location.href==="string"}catch(Y){X=!1}if(X)$=G.contentWindow;else break;G=fG($.document)}return G}function CY($){var G=$&&$.nodeName&&$.nodeName.toLowerCase();return G&&(G==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||G==="textarea"||$.contentEditable==="true")}function qU($,G,X){var Y=X.window===X?X.document:X.nodeType===9?X:X.ownerDocument;oZ||X7==null||X7!==fG(Y)||(Y=X7,("selectionStart"in Y)&&CY(Y)?Y={start:Y.selectionStart,end:Y.selectionEnd}:(Y=(Y.ownerDocument&&Y.ownerDocument.defaultView||window).getSelection(),Y={anchorNode:Y.anchorNode,anchorOffset:Y.anchorOffset,focusNode:Y.focusNode,focusOffset:Y.focusOffset}),f$&&t7(f$,Y)||(f$=Y,Y=v9(nZ,"onSelect"),0<Y.length&&(G=new GX("onSelect","select",null,G,X),$.push({event:G,listeners:Y}),G.target=X7)))}function j6($,G){var X={};return X[$.toLowerCase()]=G.toLowerCase(),X["Webkit"+$]="webkit"+G,X["Moz"+$]="moz"+G,X}function x6($){if(rZ[$])return rZ[$];if(!Y7[$])return $;var G=Y7[$],X;for(X in G)if(G.hasOwnProperty(X)&&X in C_)return rZ[$]=G[X];return $}function B2($,G){v_.set($,G),o5(G,[$])}function cQ($){for(var G=YX,X=0;X<$.length;X++){var Y=$[X];if(typeof Y==="object"&&Y!==null)if(k5(Y)&&Y.length===2&&typeof Y[0]==="string"){if(G!==YX&&G!==XJ)return $J;G=XJ}else return $J;else{if(typeof Y==="function"||typeof Y==="string"&&50<Y.length||G!==YX&&G!==GJ)return $J;G=GJ}}return G}function jY($,G,X,Y){for(var Z in $)z2.call($,Z)&&Z[0]!=="_"&&R2(Z,$[Z],G,X,Y)}function R2($,G,X,Y,Z){switch(typeof G){case"object":if(G===null){G="null";break}else{if(G.$$typeof===b2){var J=e(G.type)||"…",U=G.key;G=G.props;var z=Object.keys(G),A=z.length;if(U==null&&A===0){G="<"+J+" />";break}if(3>Y||A===1&&z[0]==="children"&&U==null){G="<"+J+" … />";break}X.push([Z+" ".repeat(Y)+$,"<"+J]),U!==null&&R2("key",U,X,Y+1,Z),$=!1;for(var N in G)N==="children"?G.children!=null&&(!k5(G.children)||0<G.children.length)&&($=!0):z2.call(G,N)&&N[0]!=="_"&&R2(N,G[N],X,Y+1,Z);X.push(["",$?">…</"+J+">":"/>"]);return}if(J=Object.prototype.toString.call(G),J=J.slice(8,J.length-1),J==="Array"){if(N=cQ(G),N===GJ||N===YX){G=JSON.stringify(G);break}else if(N===XJ){X.push([Z+" ".repeat(Y)+$,""]);for($=0;$<G.length;$++)J=G[$],R2(J[0],J[1],X,Y+1,Z);return}}if(J==="Promise"){if(G.status==="fulfilled"){if(J=X.length,R2($,G.value,X,Y,Z),X.length>J){X=X[J],X[1]="Promise<"+(X[1]||"Object")+">";return}}else if(G.status==="rejected"&&(J=X.length,R2($,G.reason,X,Y,Z),X.length>J)){X=X[J],X[1]="Rejected Promise<"+X[1]+">";return}X.push([" ".repeat(Y)+$,"Promise"]);return}J==="Object"&&(N=Object.getPrototypeOf(G))&&typeof N.constructor==="function"&&(J=N.constructor.name),X.push([Z+" ".repeat(Y)+$,J==="Object"?3>Y?"":"…":J]),3>Y&&jY(G,X,Y+1,Z);return}case"function":G=G.name===""?"() => {}":G.name+"() {}";break;case"string":G=G===VM?"…":JSON.stringify(G);break;case"undefined":G="undefined";break;case"boolean":G=G?"true":"false";break;default:G=String(G)}X.push([Z+" ".repeat(Y)+$,G])}function DU($,G,X,Y){var Z=!0;for(U in $)U in G||(X.push([ZX+" ".repeat(Y)+U,"…"]),Z=!1);for(var J in G)if(J in $){var U=$[J],z=G[J];if(U!==z){if(Y===0&&J==="children")Z=" ".repeat(Y)+J,X.push([ZX+Z,"…"],[JX+Z,"…"]);else{if(!(3<=Y)){if(typeof U==="object"&&typeof z==="object"&&U!==null&&z!==null&&U.$$typeof===z.$$typeof)if(z.$$typeof===b2){if(U.type===z.type&&U.key===z.key){U=e(z.type)||"…",Z=" ".repeat(Y)+J,U="<"+U+" … />",X.push([ZX+Z,U],[JX+Z,U]),Z=!1;continue}}else{var A=Object.prototype.toString.call(U),N=Object.prototype.toString.call(z);if(A===N&&(N==="[object Object]"||N==="[object Array]")){A=[m_+" ".repeat(Y)+J,N==="[object Array]"?"Array":""],X.push(A),N=X.length,DU(U,z,X,Y+1)?N===X.length&&(A[1]="Referentially unequal but deeply equal objects. Consider memoization."):Z=!1;continue}}else if(typeof U==="function"&&typeof z==="function"&&U.name===z.name&&U.length===z.length&&(A=Function.prototype.toString.call(U),N=Function.prototype.toString.call(z),A===N)){U=z.name===""?"() => {}":z.name+"() {}",X.push([m_+" ".repeat(Y)+J,U+" Referentially unequal function closure. Consider memoization."]);continue}}R2(J,U,X,Y,ZX),R2(J,z,X,Y,JX)}Z=!1}}else X.push([JX+" ".repeat(Y)+J,"…"]),Z=!1;return Z}function O1($){k0=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function T2($,G,X,Y){H5&&(r4.start=G,r4.end=X,W4.color="warning",W4.tooltipText=Y,W4.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,Y,r4)):performance.measure(Y,r4))}function lG($,G,X){T2($,G,X,"Reconnect")}function cG($,G,X,Y,Z){var J=p($);if(J!==null&&H5){var{alternate:U,actualDuration:z}=$;if(U===null||U.child!==$.child)for(var A=$.child;A!==null;A=A.sibling)z-=A.actualDuration;Y=0.5>z?Y?"tertiary-light":"primary-light":10>z?Y?"tertiary":"primary":100>z?Y?"tertiary-dark":"primary-dark":"error";var N=$.memoizedProps;z=$._debugTask,N!==null&&U!==null&&U.memoizedProps!==N?(A=[OM],N=DU(U.memoizedProps,N,A,0),1<A.length&&(N&&!o4&&(U.lanes&Z)===0&&100<$.actualDuration?(o4=!0,A[0]=qM,W4.color="warning",W4.tooltipText=f_):(W4.color=Y,W4.tooltipText=J),W4.properties=A,r4.start=G,r4.end=X,z!=null?z.run(performance.measure.bind(performance,""+J,r4)):performance.measure(""+J,r4))):z!=null?z.run(console.timeStamp.bind(console,J,G,X,p1,void 0,Y)):console.timeStamp(J,G,X,p1,void 0,Y)}}function xY($,G,X,Y){if(H5){var Z=p($);if(Z!==null){for(var J=null,U=[],z=0;z<Y.length;z++){var A=Y[z];J==null&&A.source!==null&&(J=A.source._debugTask),A=A.value,U.push(["Error",typeof A==="object"&&A!==null&&typeof A.message==="string"?String(A.message):String(A)])}$.key!==null&&R2("key",$.key,U,0,""),$.memoizedProps!==null&&jY($.memoizedProps,U,0,""),J==null&&(J=$._debugTask),$={start:G,end:X,detail:{devtools:{color:"error",track:p1,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:U}}},J?J.run(performance.measure.bind(performance,""+Z,$)):performance.measure(""+Z,$)}}}function I2($,G,X,Y,Z){if(Z!==null){if(H5){var J=p($);if(J!==null){Y=[];for(var U=0;U<Z.length;U++){var z=Z[U].value;Y.push(["Error",typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z)])}$.key!==null&&R2("key",$.key,Y,0,""),$.memoizedProps!==null&&jY($.memoizedProps,Y,0,""),G={start:G,end:X,detail:{devtools:{color:"error",track:p1,tooltipText:"A lifecycle or effect errored",properties:Y}}},($=$._debugTask)?$.run(performance.measure.bind(performance,""+J,G)):performance.measure(""+J,G)}}}else J=p($),J!==null&&H5&&(Z=1>Y?"secondary-light":100>Y?"secondary":500>Y?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,J,G,X,p1,void 0,Z)):console.timeStamp(J,G,X,p1,void 0,Z))}function sQ($,G,X,Y){if(H5&&!(G<=$)){var Z=(X&738197653)===X?"tertiary-dark":"primary-dark";X=(X&536870912)===X?"Prepared":(X&201326741)===X?"Hydrated":"Render",Y?Y.run(console.timeStamp.bind(console,X,$,G,k0,S0,Z)):console.timeStamp(X,$,G,k0,S0,Z)}}function EU($,G,X,Y){!H5||G<=$||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",Y?Y.run(console.timeStamp.bind(console,"Prewarm",$,G,k0,S0,X)):console.timeStamp("Prewarm",$,G,k0,S0,X))}function CU($,G,X,Y){!H5||G<=$||(X=(X&738197653)===X?"tertiary-dark":"primary-dark",Y?Y.run(console.timeStamp.bind(console,"Suspended",$,G,k0,S0,X)):console.timeStamp("Suspended",$,G,k0,S0,X))}function iQ($,G,X,Y,Z,J){if(H5&&!(G<=$)){X=[];for(var U=0;U<Y.length;U++){var z=Y[U].value;X.push(["Recoverable Error",typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z)])}$={start:$,end:G,detail:{devtools:{color:"primary-dark",track:k0,trackGroup:S0,tooltipText:Z?"Hydration Failed":"Recovered after Error",properties:X}}},J?J.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function SY($,G,X,Y){!H5||G<=$||(Y?Y.run(console.timeStamp.bind(console,"Errored",$,G,k0,S0,"error")):console.timeStamp("Errored",$,G,k0,S0,"error"))}function aQ($,G,X,Y){!H5||G<=$||(Y?Y.run(console.timeStamp.bind(console,X,$,G,k0,S0,"secondary-light")):console.timeStamp(X,$,G,k0,S0,"secondary-light"))}function jU($,G,X,Y,Z){if(H5&&!(G<=$)){for(var J=[],U=0;U<X.length;U++){var z=X[U].value;J.push(["Error",typeof z==="object"&&z!==null&&typeof z.message==="string"?String(z.message):String(z)])}$={start:$,end:G,detail:{devtools:{color:"error",track:k0,trackGroup:S0,tooltipText:Y?"Remaining Effects Errored":"Commit Errored",properties:J}}},Z?Z.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function e7($,G,X){!H5||G<=$||(X?X.run(console.timeStamp.bind(console,"Animating",$,G,k0,S0,"secondary-dark")):console.timeStamp("Animating",$,G,k0,S0,"secondary-dark"))}function sG(){for(var $=Z7,G=YJ=Z7=0;G<$;){var X=l1[G];l1[G++]=null;var Y=l1[G];l1[G++]=null;var Z=l1[G];l1[G++]=null;var J=l1[G];if(l1[G++]=null,Y!==null&&Z!==null){var U=Y.pending;U===null?Z.next=Z:(Z.next=U.next,U.next=Z),Y.pending=Z}J!==0&&xU(X,Z,J)}}function iG($,G,X,Y){l1[Z7++]=$,l1[Z7++]=G,l1[Z7++]=X,l1[Z7++]=Y,YJ|=Y,$.lanes|=Y,$=$.alternate,$!==null&&($.lanes|=Y)}function kY($,G,X,Y){return iG($,G,X,Y),aG($)}function r5($,G){return iG($,null,null,G),aG($)}function xU($,G,X){$.lanes|=X;var Y=$.alternate;Y!==null&&(Y.lanes|=X);for(var Z=!1,J=$.return;J!==null;)J.childLanes|=X,Y=J.alternate,Y!==null&&(Y.childLanes|=X),J.tag===22&&($=J.stateNode,$===null||$._visibility&h$||(Z=!0)),$=J,J=J.return;return $.tag===3?(J=$.stateNode,Z&&G!==null&&(Z=31-X1(X),$=J.hiddenUpdates,Y=$[Z],Y===null?$[Z]=[G]:Y.push(G),G.lane=X|536870912),J):null}function aG($){if(AG>dM)throw B8=AG=0,LG=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.");B8>uM&&(B8=0,LG=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.")),$.alternate===null&&($.flags&4098)!==0&&iz($);for(var G=$,X=G.return;X!==null;)G.alternate===null&&(G.flags&4098)!==0&&iz($),G=X,X=G.return;return G.tag===3?G.stateNode:null}function S6($){if(c1===null)return $;var G=c1($);return G===void 0?$:G.current}function vY($){if(c1===null)return $;var G=c1($);return G===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(G=S6($.render),$.render!==G)?(G={$$typeof:D$,render:G},$.displayName!==void 0&&(G.displayName=$.displayName),G):$:G.current}function SU($,G){if(c1===null)return!1;var X=$.elementType;G=G.type;var Y=!1,Z=typeof G==="object"&&G!==null?G.$$typeof:null;switch($.tag){case 1:typeof G==="function"&&(Y=!0);break;case 0:typeof G==="function"?Y=!0:Z===S1&&(Y=!0);break;case 11:Z===D$?Y=!0:Z===S1&&(Y=!0);break;case 14:case 15:Z===c9?Y=!0:Z===S1&&(Y=!0);break;default:return!1}return Y&&($=c1(X),$!==void 0&&$===c1(G))?!0:!1}function kU($){c1!==null&&typeof WeakSet==="function"&&(J7===null&&(J7=new WeakSet),J7.add($))}function vU($,G,X){do{var Y=$,Z=Y.alternate,J=Y.child,U=Y.sibling,z=Y.tag;Y=Y.type;var A=null;switch(z){case 0:case 15:case 1:A=Y;break;case 11:A=Y.render}if(c1===null)throw Error("Expected resolveFamily to be set during hot reload.");var N=!1;if(Y=!1,A!==null&&(A=c1(A),A!==void 0&&(X.has(A)?Y=!0:G.has(A)&&(z===1?Y=!0:N=!0))),J7!==null&&(J7.has($)||Z!==null&&J7.has(Z))&&(Y=!0),Y&&($._debugNeedsRemount=!0),Y||N)Z=r5($,2),Z!==null&&M5(Z,$,2);if(J===null||Y||vU(J,G,X),U===null)break;$=U}while(1)}function nQ($,G,X,Y){this.tag=$,this.key=X,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=G,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=Y,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 gY($){return $=$.prototype,!(!$||!$.isReactComponent)}function X4($,G){var X=$.alternate;switch(X===null?(X=E($.tag,G,$.key,$.mode),X.elementType=$.elementType,X.type=$.type,X.stateNode=$.stateNode,X._debugOwner=$._debugOwner,X._debugStack=$._debugStack,X._debugTask=$._debugTask,X._debugHookTypes=$._debugHookTypes,X.alternate=$,$.alternate=X):(X.pendingProps=G,X.type=$.type,X.flags=0,X.subtreeFlags=0,X.deletions=null,X.actualDuration=-0,X.actualStartTime=-1.1),X.flags=$.flags&65011712,X.childLanes=$.childLanes,X.lanes=$.lanes,X.child=$.child,X.memoizedProps=$.memoizedProps,X.memoizedState=$.memoizedState,X.updateQueue=$.updateQueue,G=$.dependencies,X.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext,_debugThenableState:G._debugThenableState},X.sibling=$.sibling,X.index=$.index,X.ref=$.ref,X.refCleanup=$.refCleanup,X.selfBaseDuration=$.selfBaseDuration,X.treeBaseDuration=$.treeBaseDuration,X._debugInfo=$._debugInfo,X._debugNeedsRemount=$._debugNeedsRemount,X.tag){case 0:case 15:X.type=S6($.type);break;case 1:X.type=S6($.type);break;case 11:X.type=vY($.type)}return X}function gU($,G){$.flags&=65011714;var X=$.alternate;return X===null?($.childLanes=0,$.lanes=G,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=X.childLanes,$.lanes=X.lanes,$.child=X.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=X.memoizedProps,$.memoizedState=X.memoizedState,$.updateQueue=X.updateQueue,$.type=X.type,G=X.dependencies,$.dependencies=G===null?null:{lanes:G.lanes,firstContext:G.firstContext,_debugThenableState:G._debugThenableState},$.selfBaseDuration=X.selfBaseDuration,$.treeBaseDuration=X.treeBaseDuration),$}function bY($,G,X,Y,Z,J){var U=0,z=$;if(typeof $==="function")gY($)&&(U=1),z=S6(z);else if(typeof $==="string")U=W0(),U=Zw($,X,U)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case EZ:return G=E(31,X,G,Z),G.elementType=EZ,G.lanes=J,G;case i8:return k6(X.children,Z,J,G);case l9:U=8,Z|=e5,Z|=_2;break;case VZ:return $=X,Y=Z,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),G=E(12,$,G,Y|q0),G.elementType=VZ,G.lanes=J,G.stateNode={effectDuration:0,passiveEffectDuration:0},G;case qZ:return G=E(13,X,G,Z),G.elementType=qZ,G.lanes=J,G;case DZ:return G=E(19,X,G,Z),G.elementType=DZ,G.lanes=J,G;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case m2:U=10;break $;case OZ:U=9;break $;case D$:U=11,z=vY(z);break $;case c9:U=14;break $;case S1:U=16,z=null;break $}if(z="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).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.";$===null?X="null":k5($)?X="array":$!==void 0&&$.$$typeof===b2?(X="<"+(e($.type)||"Unknown")+" />",z=" Did you accidentally export a JSX literal instead of a component?"):X=typeof $,(U=Y?$5(Y):null)&&(z+=`
|
||
|
||
Check the render method of \``+U+"`."),U=29,X=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(X+"."+z)),z=null}return G=E(U,X,G,Z),G.elementType=$,G.type=z,G.lanes=J,G._debugOwner=Y,G}function nG($,G,X){return G=bY($.type,$.key,$.props,$._owner,G,X),G._debugOwner=$._owner,G._debugStack=$._debugStack,G._debugTask=$._debugTask,G}function k6($,G,X,Y){return $=E(7,$,Y,G),$.lanes=X,$}function mY($,G,X){return $=E(6,$,null,G),$.lanes=X,$}function bU($){var G=E(18,null,null,Q0);return G.stateNode=$,G}function fY($,G,X){return G=E(4,$.children!==null?$.children:[],$.key,G),G.lanes=X,G.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},G}function q1($,G){if(typeof $==="object"&&$!==null){var X=ZJ.get($);if(X!==void 0)return X;return G={value:$,source:G,stack:O5(G)},ZJ.set($,G),G}return{value:$,source:G,stack:O5(G)}}function Y4($,G){k4(),B7[U7++]=y$,B7[U7++]=BX,BX=$,y$=G}function mU($,G,X){k4(),s1[i1++]=A4,s1[i1++]=L4,s1[i1++]=s6,s6=$;var Y=A4;$=L4;var Z=32-X1(Y)-1;Y&=~(1<<Z),X+=1;var J=32-X1(G)+Z;if(30<J){var U=Z-Z%5;J=(Y&(1<<U)-1).toString(32),Y>>=U,Z-=U,A4=1<<32-X1(G)+Z|X<<Z|Y,L4=J+$}else A4=1<<J|X<<Z|Y,L4=$}function hY($){k4(),$.return!==null&&(Y4($,1),mU($,1,0))}function yY($){for(;$===BX;)BX=B7[--U7],B7[U7]=null,y$=B7[--U7],B7[U7]=null;for(;$===s6;)s6=s1[--i1],s1[i1]=null,L4=s1[--i1],s1[i1]=null,A4=s1[--i1],s1[i1]=null}function fU(){return k4(),s6!==null?{id:A4,overflow:L4}:null}function hU($,G){k4(),s1[i1++]=A4,s1[i1++]=L4,s1[i1++]=s6,A4=G.id,L4=G.overflow,s6=$}function k4(){g0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function v6($,G){if($.return===null){if(g1===null)g1={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:G};else{if(g1.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");g1.distanceFromLeaf>G&&(g1.distanceFromLeaf=G)}return g1}var X=v6($.return,G+1).children;if(0<X.length&&X[X.length-1].fiber===$)return X=X[X.length-1],X.distanceFromLeaf>G&&(X.distanceFromLeaf=G),X;return G={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:G},X.push(G),G}function yU(){g0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function oG($,G){p2||($=v6($,0),$.serverProps=null,G!==null&&(G=MW(G),$.serverTail.push(G)))}function v4($){var G=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,X="",Y=g1;throw Y!==null&&(g1=null,X=OY(Y)),$$(q1(Error("Hydration failed because the server rendered "+(G?"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`+X),$)),JJ}function dU($){var{stateNode:G,type:X,memoizedProps:Y}=$;switch(G[c5]=$,G[Y1]=Y,BZ(X,Y),X){case"dialog":b0("cancel",G),b0("close",G);break;case"iframe":case"object":case"embed":b0("load",G);break;case"video":case"audio":for(X=0;X<NG.length;X++)b0(NG[X],G);break;case"source":b0("error",G);break;case"img":case"image":case"link":b0("error",G),b0("load",G);break;case"details":b0("toggle",G);break;case"input":S4("input",Y),b0("invalid",G),iB(G,Y),aB(G,Y.value,Y.defaultValue,Y.checked,Y.defaultChecked,Y.type,Y.name,!0);break;case"option":nB(G,Y);break;case"select":S4("select",Y),b0("invalid",G),rB(G,Y);break;case"textarea":S4("textarea",Y),b0("invalid",G),tB(G,Y),$U(G,Y.value,Y.defaultValue,Y.children)}X=Y.children,typeof X!=="string"&&typeof X!=="number"&&typeof X!=="bigint"||G.textContent===""+X||Y.suppressHydrationWarning===!0||ZW(G.textContent,X)?(Y.popover!=null&&(b0("beforetoggle",G),b0("toggle",G)),Y.onScroll!=null&&b0("scroll",G),Y.onScrollEnd!=null&&b0("scrollend",G),Y.onClick!=null&&(G.onclick=G4),G=!0):G=!1,G||v4($,!0)}function uU($){for(s5=$.return;s5;)switch(s5.tag){case 5:case 31:case 13:a1=!1;return;case 27:case 3:a1=!0;return;default:s5=s5.return}}function x8($){if($!==s5)return!1;if(!g0)return uU($),g0=!0,!1;var G=$.tag,X;if(X=G!==3&&G!==27){if(X=G===5)X=$.type,X=!(X!=="form"&&X!=="button")||_Z($.type,$.memoizedProps);X=!X}if(X&&z5){for(X=z5;X;){var Y=v6($,0),Z=MW(X);Y.serverTail.push(Z),X=Z.type==="Suspense"?QZ(X):x1(X.nextSibling)}v4($)}if(uU($),G===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z5=QZ($)}else if(G===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z5=QZ($)}else G===27?(G=z5,l4($.type)?($=aJ,aJ=null,z5=$):z5=G):z5=s5?x1($.stateNode.nextSibling):null;return!0}function g6(){z5=s5=null,p2=g0=!1}function dY(){var $=e4;return $!==null&&(z1===null?z1=$:z1.push.apply(z1,$),e4=null),$}function $$($){e4===null?e4=[$]:e4.push($)}function uY(){var $=g1;if($!==null){g1=null;for(var G=OY($);0<$.children.length;)$=$.children[0];r($.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",G)})}}function rG(){H7=UX=null,z7=!1}function g4($,G,X){K0(BJ,G._currentValue,$),G._currentValue=X,K0(UJ,G._currentRenderer,$),G._currentRenderer!==void 0&&G._currentRenderer!==null&&G._currentRenderer!==d_&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),G._currentRenderer=d_}function Z4($,G){$._currentValue=BJ.current;var X=UJ.current;I0(UJ,G),$._currentRenderer=X,I0(BJ,G)}function pY($,G,X){for(;$!==null;){var Y=$.alternate;if(($.childLanes&G)!==G?($.childLanes|=G,Y!==null&&(Y.childLanes|=G)):Y!==null&&(Y.childLanes&G)!==G&&(Y.childLanes|=G),$===X)break;$=$.return}$!==X&&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 lY($,G,X,Y){var Z=$.child;Z!==null&&(Z.return=$);for(;Z!==null;){var J=Z.dependencies;if(J!==null){var U=Z.child;J=J.firstContext;$:for(;J!==null;){var z=J;J=Z;for(var A=0;A<G.length;A++)if(z.context===G[A]){J.lanes|=X,z=J.alternate,z!==null&&(z.lanes|=X),pY(J.return,X,$),Y||(U=null);break $}J=z.next}}else if(Z.tag===18){if(U=Z.return,U===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");U.lanes|=X,J=U.alternate,J!==null&&(J.lanes|=X),pY(U,X,$),U=null}else U=Z.child;if(U!==null)U.return=Z;else for(U=Z;U!==null;){if(U===$){U=null;break}if(Z=U.sibling,Z!==null){Z.return=U.return,U=Z;break}U=U.return}Z=U}}function S8($,G,X,Y){$=null;for(var Z=G,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 U=Z.alternate;if(U===null)throw Error("Should have a current fiber. This is a bug in React.");if(U=U.memoizedProps,U!==null){var z=Z.type;J1(Z.pendingProps.value,U.value)||($!==null?$.push(z):$=[z])}}else if(Z===s9.current){if(U=Z.alternate,U===null)throw Error("Should have a current fiber. This is a bug in React.");U.memoizedState.memoizedState!==Z.memoizedState.memoizedState&&($!==null?$.push(FG):$=[FG])}Z=Z.return}$!==null&&lY(G,$,X,Y),G.flags|=262144}function tG($){for($=$.firstContext;$!==null;){if(!J1($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function b6($){UX=$,H7=null,$=$.dependencies,$!==null&&($.firstContext=null)}function _5($){return z7&&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()."),pU(UX,$)}function eG($,G){return UX===null&&b6($),pU($,G)}function pU($,G){var X=G._currentValue;if(G={context:G,memoizedValue:X,next:null},H7===null){if($===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().");H7=G,$.dependencies={lanes:0,firstContext:G,_debugThenableState:null},$.flags|=524288}else H7=H7.next=G;return X}function cY(){return{controller:new CM,data:new Map,refCount:0}}function m6($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function G$($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&jM(xM,function(){$.controller.abort()})}function P2($,G,X){if(($&127)!==0)0>l2&&(l2=D5(),u$=HX(G),HJ=G,X!=null&&(zJ=p(X)),(h0&(g5|f1))!==d5&&(F5=!0,X6=d$),$=I$(),G=T$(),$!==W7||G!==p$?W7=-1.1:G!==null&&(X6=d$),a6=$,p$=G);else if(($&4194048)!==0&&0>n1&&(n1=D5(),l$=HX(G),u_=G,X!=null&&(p_=p(X)),0>K4)){if($=I$(),G=T$(),$!==Z6||G!==n6)Z6=-1.1;Y6=$,n6=G}}function oQ($){if(0>l2){l2=D5(),u$=$._debugTask!=null?$._debugTask:null,(h0&(g5|f1))!==d5&&(X6=d$);var G=I$(),X=T$();G!==W7||X!==p$?W7=-1.1:X!==null&&(X6=d$),a6=G,p$=X}if(0>n1&&(n1=D5(),l$=$._debugTask!=null?$._debugTask:null,0>K4)){if($=I$(),G=T$(),$!==Z6||G!==n6)Z6=-1.1;Y6=$,n6=G}}function J4(){var $=i6;return i6=0,$}function $9($){var G=i6;return i6=$,G}function X$($){var G=i6;return i6+=$,G}function G9(){L0=z0=-1.1}function D1(){var $=z0;return z0=-1.1,$}function E1($){0<=$&&(z0=$)}function V2(){var $=Q5;return Q5=-0,$}function O2($){0<=$&&(Q5=$)}function q2(){var $=A5;return A5=null,$}function D2(){var $=F5;return F5=!1,$}function sY($){B1=D5(),0>$.actualStartTime&&($.actualStartTime=B1)}function iY($){if(0<=B1){var G=D5()-B1;$.actualDuration+=G,$.selfBaseDuration=G,B1=-1}}function lU($){if(0<=B1){var G=D5()-B1;$.actualDuration+=G,B1=-1}}function E2(){if(0<=B1){var $=D5(),G=$-B1;B1=-1,i6+=G,Q5+=G,L0=$}}function cU($){A5===null&&(A5=[]),A5.push($),Q4===null&&(Q4=[]),Q4.push($)}function C2(){B1=D5(),0>z0&&(z0=B1)}function Y$($){for(var G=$.child;G;)$.actualDuration+=G.actualDuration,G=G.sibling}function rQ($,G){if(s$===null){var X=s$=[];_J=0,o6=XZ(),_7={status:"pending",value:void 0,then:function(Y){X.push(Y)}}}return _J++,G.then(sU,sU),G}function sU(){if(--_J===0&&(-1<n1||(K4=-1.1),s$!==null)){_7!==null&&(_7.status="fulfilled");var $=s$;s$=null,o6=0,_7=null;for(var G=0;G<$.length;G++)(0,$[G])()}}function tQ($,G){var X=[],Y={status:"pending",value:null,reason:null,then:function(Z){X.push(Z)}};return $.then(function(){Y.status="fulfilled",Y.value=G;for(var Z=0;Z<X.length;Z++)(0,X[Z])(G)},function(Z){Y.status="rejected",Y.reason=Z;for(Z=0;Z<X.length;Z++)(0,X[Z])(void 0)}),Y}function aY(){var $=r6.current;return $!==null?$:Y5.pooledCache}function X9($,G){G===null?K0(r6,r6.current,$):K0(r6,G.pool,$)}function iU(){var $=aY();return $===null?null:{parent:q5._currentValue,pool:$}}function aU(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function nU($){return $=$.status,$==="fulfilled"||$==="rejected"}function oU($,G,X){g.actQueue!==null&&(g.didUsePromise=!0);var Y=$.thenables;if(X=Y[X],X===void 0?Y.push(G):X!==G&&($.didWarnAboutUncachedPromise||($.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.")),G.then(G4,G4),G=X),G._debugInfo===void 0){$=performance.now(),Y=G.displayName;var Z={name:typeof Y==="string"?Y:"Promise",start:$,end:$,value:G};G._debugInfo=[{awaited:Z}],G.status!=="fulfilled"&&G.status!=="rejected"&&($=function(){Z.end=performance.now()},G.then($,$))}switch(G.status){case"fulfilled":return G.value;case"rejected":throw $=G.reason,tU($),$;default:if(typeof G.status==="string")G.then(G4,G4);else{if($=Y5,$!==null&&100<$.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.");$=G,$.status="pending",$.then(function(J){if(G.status==="pending"){var U=G;U.status="fulfilled",U.value=J}},function(J){if(G.status==="pending"){var U=G;U.status="rejected",U.reason=J}})}switch(G.status){case"fulfilled":return G.value;case"rejected":throw $=G.reason,tU($),$}throw e6=G,e$=!0,A7}}function b4($){try{return gM($)}catch(G){if(G!==null&&typeof G==="object"&&typeof G.then==="function")throw e6=G,e$=!0,A7;throw G}}function rU(){if(e6===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=e6;return e6=null,e$=!1,$}function tU($){if($===A7||$===KX)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($){var G=D0;return $!=null&&(D0=G===null?$:G.concat($)),G}function nY(){var $=D0;if($!=null){for(var G=$.length-1;0<=G;G--)if($[G].name!=null){var X=$[G].debugTask;if(X!=null)return X}}return null}function Y9($,G,X){for(var Y=Object.keys($.props),Z=0;Z<Y.length;Z++){var J=Y[Z];if(J!=="children"&&J!=="key"){G===null&&(G=nG($,X.mode,0),G._debugInfo=D0,G.return=X),r(G,function(U){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",U)},J);break}}}function Z9($){var G=$G;return $G+=1,L7===null&&(L7=aU()),oU(L7,$,G)}function Z$($,G){G=G.props.ref,$.ref=G!==void 0?G:null}function eU($,G){if(G.$$typeof===Nw)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 $=Object.prototype.toString.call(G),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(G).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function J9($,G){var X=nY();X!==null?X.run(eU.bind(null,$,G)):eU($,G)}function $H($,G){var X=p($)||"Component";zA[X]||(zA[X]=!0,G=G.displayName||G.name||"Component",$.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)`,G,G,G):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>`,G,G,X,G,X))}function B9($,G){var X=nY();X!==null?X.run($H.bind(null,$,G)):$H($,G)}function GH($,G){var X=p($)||"Component";WA[X]||(WA[X]=!0,G=String(G),$.tag===3?console.error(`Symbols are not valid as a React child.
|
||
root.render(%s)`,G):console.error(`Symbols are not valid as a React child.
|
||
<%s>%s</%s>`,X,G,X))}function U9($,G){var X=nY();X!==null?X.run(GH.bind(null,$,G)):GH($,G)}function XH($){function G(T,P){if($){var O=T.deletions;O===null?(T.deletions=[P],T.flags|=16):O.push(P)}}function X(T,P){if(!$)return null;for(;P!==null;)G(T,P),P=P.sibling;return null}function Y(T){for(var P=new Map;T!==null;)T.key!==null?P.set(T.key,T):P.set(T.index,T),T=T.sibling;return P}function Z(T,P){return T=X4(T,P),T.index=0,T.sibling=null,T}function J(T,P,O){if(T.index=O,!$)return T.flags|=1048576,P;if(O=T.alternate,O!==null)return O=O.index,O<P?(T.flags|=67108866,P):O;return T.flags|=67108866,P}function U(T){return $&&T.alternate===null&&(T.flags|=67108866),T}function z(T,P,O,m){if(P===null||P.tag!==6)return P=mY(O,T.mode,m),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=D0,P;return P=Z(P,O),P.return=T,P._debugInfo=D0,P}function A(T,P,O,m){var a=O.type;if(a===i8)return P=q(T,P,O.props.children,m,O.key),Y9(O,P,T),P;if(P!==null&&(P.elementType===a||SU(P,O)||typeof a==="object"&&a!==null&&a.$$typeof===S1&&b4(a)===P.type))return P=Z(P,O.props),Z$(P,O),P.return=T,P._debugOwner=O._owner,P._debugInfo=D0,P;return P=nG(O,T.mode,m),Z$(P,O),P.return=T,P._debugInfo=D0,P}function N(T,P,O,m){if(P===null||P.tag!==4||P.stateNode.containerInfo!==O.containerInfo||P.stateNode.implementation!==O.implementation)return P=fY(O,T.mode,m),P.return=T,P._debugInfo=D0,P;return P=Z(P,O.children||[]),P.return=T,P._debugInfo=D0,P}function q(T,P,O,m,a){if(P===null||P.tag!==7)return P=k6(O,T.mode,m,a),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=D0,P;return P=Z(P,O),P.return=T,P._debugInfo=D0,P}function D(T,P,O){if(typeof P==="string"&&P!==""||typeof P==="number"||typeof P==="bigint")return P=mY(""+P,T.mode,O),P.return=T,P._debugOwner=T,P._debugTask=T._debugTask,P._debugInfo=D0,P;if(typeof P==="object"&&P!==null){switch(P.$$typeof){case b2:return O=nG(P,T.mode,O),Z$(O,P),O.return=T,T=u5(P._debugInfo),O._debugInfo=D0,D0=T,O;case s8:return P=fY(P,T.mode,O),P.return=T,P._debugInfo=D0,P;case S1:var m=u5(P._debugInfo);return P=b4(P),T=D(T,P,O),D0=m,T}if(k5(P)||Y0(P))return O=k6(P,T.mode,O,null),O.return=T,O._debugOwner=T,O._debugTask=T._debugTask,T=u5(P._debugInfo),O._debugInfo=D0,D0=T,O;if(typeof P.then==="function")return m=u5(P._debugInfo),T=D(T,Z9(P),O),D0=m,T;if(P.$$typeof===m2)return D(T,eG(T,P),O);J9(T,P)}return typeof P==="function"&&B9(T,P),typeof P==="symbol"&&U9(T,P),null}function I(T,P,O,m){var a=P!==null?P.key:null;if(typeof O==="string"&&O!==""||typeof O==="number"||typeof O==="bigint")return a!==null?null:z(T,P,""+O,m);if(typeof O==="object"&&O!==null){switch(O.$$typeof){case b2:return O.key===a?(a=u5(O._debugInfo),T=A(T,P,O,m),D0=a,T):null;case s8:return O.key===a?N(T,P,O,m):null;case S1:return a=u5(O._debugInfo),O=b4(O),T=I(T,P,O,m),D0=a,T}if(k5(O)||Y0(O)){if(a!==null)return null;return a=u5(O._debugInfo),T=q(T,P,O,m,null),D0=a,T}if(typeof O.then==="function")return a=u5(O._debugInfo),T=I(T,P,Z9(O),m),D0=a,T;if(O.$$typeof===m2)return I(T,P,eG(T,O),m);J9(T,O)}return typeof O==="function"&&B9(T,O),typeof O==="symbol"&&U9(T,O),null}function k(T,P,O,m,a){if(typeof m==="string"&&m!==""||typeof m==="number"||typeof m==="bigint")return T=T.get(O)||null,z(P,T,""+m,a);if(typeof m==="object"&&m!==null){switch(m.$$typeof){case b2:return O=T.get(m.key===null?O:m.key)||null,T=u5(m._debugInfo),P=A(P,O,m,a),D0=T,P;case s8:return T=T.get(m.key===null?O:m.key)||null,N(P,T,m,a);case S1:var M0=u5(m._debugInfo);return m=b4(m),P=k(T,P,O,m,a),D0=M0,P}if(k5(m)||Y0(m))return O=T.get(O)||null,T=u5(m._debugInfo),P=q(P,O,m,a,null),D0=T,P;if(typeof m.then==="function")return M0=u5(m._debugInfo),P=k(T,P,O,Z9(m),a),D0=M0,P;if(m.$$typeof===m2)return k(T,P,O,eG(P,m),a);J9(P,m)}return typeof m==="function"&&B9(P,m),typeof m==="symbol"&&U9(P,m),null}function c(T,P,O,m){if(typeof O!=="object"||O===null)return m;switch(O.$$typeof){case b2:case s8:R(T,P,O);var a=O.key;if(typeof a!=="string")break;if(m===null){m=new Set,m.add(a);break}if(!m.has(a)){m.add(a);break}r(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.",a)});break;case S1:O=b4(O),c(T,P,O,m)}return m}function n(T,P,O,m){for(var a=null,M0=null,B0=null,X0=P,V0=P=0,W5=null;X0!==null&&V0<O.length;V0++){X0.index>V0?(W5=X0,X0=null):W5=X0.sibling;var V5=I(T,X0,O[V0],m);if(V5===null){X0===null&&(X0=W5);break}a=c(T,V5,O[V0],a),$&&X0&&V5.alternate===null&&G(T,X0),P=J(V5,P,V0),B0===null?M0=V5:B0.sibling=V5,B0=V5,X0=W5}if(V0===O.length)return X(T,X0),g0&&Y4(T,V0),M0;if(X0===null){for(;V0<O.length;V0++)X0=D(T,O[V0],m),X0!==null&&(a=c(T,X0,O[V0],a),P=J(X0,P,V0),B0===null?M0=X0:B0.sibling=X0,B0=X0);return g0&&Y4(T,V0),M0}for(X0=Y(X0);V0<O.length;V0++)W5=k(X0,T,V0,O[V0],m),W5!==null&&(a=c(T,W5,O[V0],a),$&&W5.alternate!==null&&X0.delete(W5.key===null?V0:W5.key),P=J(W5,P,V0),B0===null?M0=W5:B0.sibling=W5,B0=W5);return $&&X0.forEach(function(O4){return G(T,O4)}),g0&&Y4(T,V0),M0}function U5(T,P,O,m){if(O==null)throw Error("An iterable object provided no iterator.");for(var a=null,M0=null,B0=P,X0=P=0,V0=null,W5=null,V5=O.next();B0!==null&&!V5.done;X0++,V5=O.next()){B0.index>X0?(V0=B0,B0=null):V0=B0.sibling;var O4=I(T,B0,V5.value,m);if(O4===null){B0===null&&(B0=V0);break}W5=c(T,O4,V5.value,W5),$&&B0&&O4.alternate===null&&G(T,B0),P=J(O4,P,X0),M0===null?a=O4:M0.sibling=O4,M0=O4,B0=V0}if(V5.done)return X(T,B0),g0&&Y4(T,X0),a;if(B0===null){for(;!V5.done;X0++,V5=O.next())B0=D(T,V5.value,m),B0!==null&&(W5=c(T,B0,V5.value,W5),P=J(B0,P,X0),M0===null?a=B0:M0.sibling=B0,M0=B0);return g0&&Y4(T,X0),a}for(B0=Y(B0);!V5.done;X0++,V5=O.next())V0=k(B0,T,X0,V5.value,m),V0!==null&&(W5=c(T,V0,V5.value,W5),$&&V0.alternate!==null&&B0.delete(V0.key===null?X0:V0.key),P=J(V0,P,X0),M0===null?a=V0:M0.sibling=V0,M0=V0);return $&&B0.forEach(function(JF){return G(T,JF)}),g0&&Y4(T,X0),a}function m0(T,P,O,m){if(typeof O==="object"&&O!==null&&O.type===i8&&O.key===null&&(Y9(O,null,T),O=O.props.children),typeof O==="object"&&O!==null){switch(O.$$typeof){case b2:var a=u5(O._debugInfo);$:{for(var M0=O.key;P!==null;){if(P.key===M0){if(M0=O.type,M0===i8){if(P.tag===7){X(T,P.sibling),m=Z(P,O.props.children),m.return=T,m._debugOwner=O._owner,m._debugInfo=D0,Y9(O,m,T),T=m;break $}}else if(P.elementType===M0||SU(P,O)||typeof M0==="object"&&M0!==null&&M0.$$typeof===S1&&b4(M0)===P.type){X(T,P.sibling),m=Z(P,O.props),Z$(m,O),m.return=T,m._debugOwner=O._owner,m._debugInfo=D0,T=m;break $}X(T,P);break}else G(T,P);P=P.sibling}O.type===i8?(m=k6(O.props.children,T.mode,m,O.key),m.return=T,m._debugOwner=T,m._debugTask=T._debugTask,m._debugInfo=D0,Y9(O,m,T),T=m):(m=nG(O,T.mode,m),Z$(m,O),m.return=T,m._debugInfo=D0,T=m)}return T=U(T),D0=a,T;case s8:$:{a=O;for(O=a.key;P!==null;){if(P.key===O)if(P.tag===4&&P.stateNode.containerInfo===a.containerInfo&&P.stateNode.implementation===a.implementation){X(T,P.sibling),m=Z(P,a.children||[]),m.return=T,T=m;break $}else{X(T,P);break}else G(T,P);P=P.sibling}m=fY(a,T.mode,m),m.return=T,T=m}return U(T);case S1:return a=u5(O._debugInfo),O=b4(O),T=m0(T,P,O,m),D0=a,T}if(k5(O))return a=u5(O._debugInfo),T=n(T,P,O,m),D0=a,T;if(Y0(O)){if(a=u5(O._debugInfo),M0=Y0(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(T.tag!==0||Object.prototype.toString.call(T.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(B0)!=="[object Generator]")UA||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."),UA=!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 T=U5(T,P,B0,m),D0=a,T}if(typeof O.then==="function")return a=u5(O._debugInfo),T=m0(T,P,Z9(O),m),D0=a,T;if(O.$$typeof===m2)return m0(T,P,eG(T,O),m);J9(T,O)}if(typeof O==="string"&&O!==""||typeof O==="number"||typeof O==="bigint")return a=""+O,P!==null&&P.tag===6?(X(T,P.sibling),m=Z(P,a),m.return=T,T=m):(X(T,P),m=mY(a,T.mode,m),m.return=T,m._debugOwner=T,m._debugTask=T._debugTask,m._debugInfo=D0,T=m),U(T);return typeof O==="function"&&B9(T,O),typeof O==="symbol"&&U9(T,O),X(T,P)}return function(T,P,O,m){var a=D0;D0=null;try{$G=0;var M0=m0(T,P,O,m);return L7=null,M0}catch(W5){if(W5===A7||W5===KX)throw W5;var B0=E(29,W5,null,T.mode);B0.lanes=m,B0.return=T;var X0=B0._debugInfo=D0;if(B0._debugOwner=T._debugOwner,B0._debugTask=T._debugTask,X0!=null){for(var V0=X0.length-1;0<=V0;V0--)if(typeof X0[V0].stack==="string"){B0._debugOwner=X0[V0],B0._debugTask=X0[V0].debugTask;break}}return B0}finally{D0=a}}}function YH($,G){var X=k5($);return $=!X&&typeof Y0($)==="function",X||$?(X=X?"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>",X,G,X),!1):!0}function oY($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function rY($,G){$=$.updateQueue,G.updateQueue===$&&(G.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function m4($){return{lane:$,tag:AA,payload:null,callback:null,next:null}}function f4($,G,X){var Y=$.updateQueue;if(Y===null)return null;if(Y=Y.shared,wJ===Y&&!QA){var Z=p($);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=Y.pending,Z===null?G.next=G:(G.next=Z.next,Z.next=G),Y.pending=G,G=aG($),xU($,null,X),G;return iG($,Y,G,X),aG($)}function J$($,G,X){if(G=G.updateQueue,G!==null&&(G=G.shared,(X&4194048)!==0)){var Y=G.lanes;Y&=$.pendingLanes,X|=Y,G.lanes=X,q6($,X)}}function H9($,G){var{updateQueue:X,alternate:Y}=$;if(Y!==null&&(Y=Y.updateQueue,X===Y)){var Z=null,J=null;if(X=X.firstBaseUpdate,X!==null){do{var U={lane:X.lane,tag:X.tag,payload:X.payload,callback:null,next:null};J===null?Z=J=U:J=J.next=U,X=X.next}while(X!==null);J===null?Z=J=G:J=J.next=G}else Z=J=G;X={baseState:Y.baseState,firstBaseUpdate:Z,lastBaseUpdate:J,shared:Y.shared,callbacks:Y.callbacks},$.updateQueue=X;return}$=X.lastBaseUpdate,$===null?X.firstBaseUpdate=G:$.next=G,X.lastBaseUpdate=G}function B$(){if(MJ){var $=_7;if($!==null)throw $}}function U$($,G,X,Y){MJ=!1;var Z=$.updateQueue;J6=!1,wJ=Z.shared;var{firstBaseUpdate:J,lastBaseUpdate:U}=Z,z=Z.shared.pending;if(z!==null){Z.shared.pending=null;var A=z,N=A.next;A.next=null,U===null?J=N:U.next=N,U=A;var q=$.alternate;q!==null&&(q=q.updateQueue,z=q.lastBaseUpdate,z!==U&&(z===null?q.firstBaseUpdate=N:z.next=N,q.lastBaseUpdate=A))}if(J!==null){var D=Z.baseState;U=0,q=N=A=null,z=J;do{var I=z.lane&-536870913,k=I!==z.lane;if(k?(E0&I)===I:(Y&I)===I){I!==0&&I===o6&&(MJ=!0),q!==null&&(q=q.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});$:{I=$;var c=z,n=G,U5=X;switch(c.tag){case LA:if(c=c.payload,typeof c==="function"){z7=!0;var m0=c.call(U5,D,n);if(I.mode&e5){J5(!0);try{c.call(U5,D,n)}finally{J5(!1)}}z7=!1,D=m0;break $}D=c;break $;case KJ:I.flags=I.flags&-65537|128;case AA:if(m0=c.payload,typeof m0==="function"){if(z7=!0,c=m0.call(U5,D,n),I.mode&e5){J5(!0);try{m0.call(U5,D,n)}finally{J5(!1)}}z7=!1}else c=m0;if(c===null||c===void 0)break $;D=x0({},D,c);break $;case NA:J6=!0}}I=z.callback,I!==null&&($.flags|=64,k&&($.flags|=8192),k=Z.callbacks,k===null?Z.callbacks=[I]:k.push(I))}else k={lane:I,tag:z.tag,payload:z.payload,callback:z.callback,next:null},q===null?(N=q=k,A=D):q=q.next=k,U|=I;if(z=z.next,z===null)if(z=Z.shared.pending,z===null)break;else k=z,z=k.next,k.next=null,Z.lastBaseUpdate=k,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),H6|=U,$.lanes=U,$.memoizedState=D}wJ=null}function ZH($,G){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(G)}function eQ($,G){var X=$.shared.hiddenCallbacks;if(X!==null)for($.shared.hiddenCallbacks=null,$=0;$<X.length;$++)ZH(X[$],G)}function JH($,G){var X=$.callbacks;if(X!==null)for($.callbacks=null,$=0;$<X.length;$++)ZH(X[$],G)}function BH($,G){var X=i2;K0(MX,X,$),K0(N7,G,$),i2=X|G.baseLanes}function tY($){K0(MX,i2,$),K0(N7,N7.current,$)}function eY($){i2=MX.current,I0(N7,$),I0(MX,$)}function h4($){var G=$.alternate;K0(P5,P5.current&Q7,$),K0(b1,$,$),o1===null&&(G===null||N7.current!==null?o1=$:G.memoizedState!==null&&(o1=$))}function $3($){K0(P5,P5.current,$),K0(b1,$,$),o1===null&&(o1=$)}function UH($){$.tag===22?(K0(P5,P5.current,$),K0(b1,$,$),o1===null&&(o1=$)):y4($)}function y4($){K0(P5,P5.current,$),K0(b1,b1.current,$)}function C1($){I0(b1,$),o1===$&&(o1=null),I0(P5,$)}function z9($){for(var G=$;G!==null;){if(G.tag===13){var X=G.memoizedState;if(X!==null&&(X=X.dehydrated,X===null||LZ(X)||NZ(X)))return G}else if(G.tag===19&&(G.memoizedProps.revealOrder==="forwards"||G.memoizedProps.revealOrder==="backwards"||G.memoizedProps.revealOrder==="unstable_legacy-backwards"||G.memoizedProps.revealOrder==="together")){if((G.flags&128)!==0)return G}else if(G.child!==null){G.child.return=G,G=G.child;continue}if(G===$)break;for(;G.sibling===null;){if(G.return===null||G.return===$)return null;G=G.return}G.sibling.return=G.return,G=G.sibling}return null}function j0(){var $=v;t1===null?t1=[$]:t1.push($)}function y(){var $=v;if(t1!==null&&(R4++,t1[R4]!==$)){var G=p(w0);if(!KA.has(G)&&(KA.add(G),t1!==null)){for(var X="",Y=0;Y<=R4;Y++){var Z=t1[Y],J=Y===R4?$:Z;for(Z=Y+1+". "+Z;30>Z.length;)Z+=" ";Z+=J+`
|
||
`,X+=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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
`,G,X)}}}function k8($){$===void 0||$===null||k5($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",v,typeof $)}function W9(){var $=p(w0);MA.has($)||(MA.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function R5(){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 G3($,G){if(YG)return!1;if(G===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.",v),!1;$.length!==G.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`,v,"["+G.join(", ")+"]","["+$.join(", ")+"]");for(var X=0;X<G.length&&X<$.length;X++)if(!J1($[X],G[X]))return!1;return!0}function X3($,G,X,Y,Z,J){if(M4=J,w0=G,t1=$!==null?$._debugHookTypes:null,R4=-1,YG=$!==null&&$.type!==G.type,Object.prototype.toString.call(X)==="[object AsyncFunction]"||Object.prototype.toString.call(X)==="[object AsyncGeneratorFunction]")J=p(w0),FJ.has(J)||(FJ.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+">"));G.memoizedState=null,G.updateQueue=null,G.lanes=0,g.H=$!==null&&$.memoizedState!==null?TJ:t1!==null?FA:RJ,G8=J=(G.mode&e5)!==Q0;var U=AJ(X,Y,Z);if(G8=!1,w7&&(U=Y3(G,X,Y,Z)),J){J5(!0);try{U=Y3(G,X,Y,Z)}finally{J5(!1)}}return HH($,G),U}function HH($,G){G._debugHookTypes=t1,G.dependencies===null?F4!==null&&(G.dependencies={lanes:0,firstContext:null,_debugThenableState:F4}):G.dependencies._debugThenableState=F4,g.H=ZG;var X=X5!==null&&X5.next!==null;if(M4=0,t1=v=E5=X5=w0=null,R4=-1,$!==null&&($.flags&65011712)!==(G.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),RX=!1,XG=0,F4=null,X)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||C5||($=$.dependencies,$!==null&&tG($)&&(C5=!0)),e$?(e$=!1,$=!0):$=!1,$&&(G=p(G)||"Unknown",wA.has(G)||FJ.has(G)||(wA.add(G),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 Y3($,G,X,Y){w0=$;var Z=0;do{if(w7&&(F4=null),XG=0,w7=!1,Z>=mM)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(Z+=1,YG=!1,E5=X5=null,$.updateQueue!=null){var J=$.updateQueue;J.lastEffect=null,J.events=null,J.stores=null,J.memoCache!=null&&(J.memoCache.index=0)}R4=-1,g.H=RA,J=AJ(G,X,Y)}while(w7);return J}function $K(){var $=g.H,G=$.useState()[0];return G=typeof G.then==="function"?H$(G):G,$=$.useState()[0],(X5!==null?X5.memoizedState:null)!==$&&(w0.flags|=1024),G}function Z3(){var $=TX!==0;return TX=0,$}function J3($,G,X){G.updateQueue=$.updateQueue,G.flags=(G.mode&_2)!==Q0?G.flags&-402655237:G.flags&-2053,$.lanes&=~X}function B3($){if(RX){for($=$.memoizedState;$!==null;){var G=$.queue;G!==null&&(G.pending=null),$=$.next}RX=!1}M4=0,t1=E5=X5=w0=null,R4=-1,v=null,w7=!1,XG=TX=0,F4=null}function G1(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return E5===null?w0.memoizedState=E5=$:E5=E5.next=$,E5}function a0(){if(X5===null){var $=w0.alternate;$=$!==null?$.memoizedState:null}else $=X5.next;var G=E5===null?w0.memoizedState:E5.next;if(G!==null)E5=G,X5=$;else{if($===null){if(w0.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.")}X5=$,$={memoizedState:X5.memoizedState,baseState:X5.baseState,baseQueue:X5.baseQueue,queue:X5.queue,next:null},E5===null?w0.memoizedState=E5=$:E5=E5.next=$}return E5}function _9(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function H$($){var G=XG;return XG+=1,F4===null&&(F4=aU()),$=oU(F4,$,G),G=w0,(E5===null?G.memoizedState:E5.next)===null&&(G=G.alternate,g.H=G!==null&&G.memoizedState!==null?TJ:RJ),$}function d4($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return H$($);if($.$$typeof===m2)return _5($)}throw Error("An unsupported type was passed to use(): "+String($))}function f6($){var G=null,X=w0.updateQueue;if(X!==null&&(G=X.memoCache),G==null){var Y=w0.alternate;Y!==null&&(Y=Y.updateQueue,Y!==null&&(Y=Y.memoCache,Y!=null&&(G={data:Y.data.map(function(Z){return Z.slice()}),index:0})))}if(G==null&&(G={data:[],index:0}),X===null&&(X=_9(),w0.updateQueue=X),X.memoCache=G,X=G.data[G.index],X===void 0||YG)for(X=G.data[G.index]=Array($),Y=0;Y<$;Y++)X[Y]=Qw;else X.length!==$&&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.",X.length,$);return G.index++,X}function U2($,G){return typeof G==="function"?G($):G}function U3($,G,X){var Y=G1();if(X!==void 0){var Z=X(G);if(G8){J5(!0);try{X(G)}finally{J5(!1)}}}else Z=G;return Y.memoizedState=Y.baseState=Z,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:Z},Y.queue=$,$=$.dispatch=JK.bind(null,w0,$),[Y.memoizedState,$]}function v8($){var G=a0();return H3(G,X5,$)}function H3($,G,X){var 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 Z=$.baseQueue,J=Y.pending;if(J!==null){if(Z!==null){var U=Z.next;Z.next=J.next,J.next=U}G.baseQueue!==Z&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),G.baseQueue=Z=J,Y.pending=null}if(J=$.baseState,Z===null)$.memoizedState=J;else{G=Z.next;var z=U=null,A=null,N=G,q=!1;do{var D=N.lane&-536870913;if(D!==N.lane?(E0&D)===D:(M4&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===o6&&(q=!0);else if((M4&I)===I){N=N.next,I===o6&&(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,U=J):A=A.next=D,w0.lanes|=I,H6|=I;D=N.action,G8&&X(J,D),J=N.hasEagerState?N.eagerState:X(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,U=J):A=A.next=I,w0.lanes|=D,H6|=D;N=N.next}while(N!==null&&N!==G);if(A===null?U=J:A.next=z,!J1(J,$.memoizedState)&&(C5=!0,q&&(X=_7,X!==null)))throw X;$.memoizedState=J,$.baseState=U,$.baseQueue=A,Y.lastRenderedState=J}return Z===null&&(Y.lanes=0),[$.memoizedState,Y.dispatch]}function z$($){var G=a0(),X=G.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=$;var{dispatch:Y,pending:Z}=X,J=G.memoizedState;if(Z!==null){X.pending=null;var U=Z=Z.next;do J=$(J,U.action),U=U.next;while(U!==Z);J1(J,G.memoizedState)||(C5=!0),G.memoizedState=J,G.baseQueue===null&&(G.baseState=J),X.lastRenderedState=J}return[J,Y]}function z3($,G,X){var Y=w0,Z=G1();if(g0){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var J=X();K7||J===X()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),K7=!0)}else{if(J=G(),K7||(X=G(),J1(J,X)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),K7=!0)),Y5===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(E0&127)!==0||zH(Y,G,J)}return Z.memoizedState=J,X={value:J,getSnapshot:G},Z.queue=X,Q9(_H.bind(null,Y,X,$),[$]),Y.flags|=2048,b8(r1|H1,{destroy:void 0},WH.bind(null,Y,X,J,G),null),J}function A9($,G,X){var Y=w0,Z=a0(),J=g0;if(J){if(X===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");X=X()}else if(X=G(),!K7){var U=G();J1(X,U)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),K7=!0)}if(U=!J1((X5||Z).memoizedState,X))Z.memoizedState=X,C5=!0;Z=Z.queue;var z=_H.bind(null,Y,Z,$);if(N1(2048,H1,z,[$]),Z.getSnapshot!==G||U||E5!==null&&E5.memoizedState.tag&r1){if(Y.flags|=2048,b8(r1|H1,{destroy:void 0},WH.bind(null,Y,Z,X,G),null),Y5===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");J||(M4&127)!==0||zH(Y,G,X)}return X}function zH($,G,X){$.flags|=16384,$={getSnapshot:G,value:X},G=w0.updateQueue,G===null?(G=_9(),w0.updateQueue=G,G.stores=[$]):(X=G.stores,X===null?G.stores=[$]:X.push($))}function WH($,G,X,Y){G.value=X,G.getSnapshot=Y,AH(G)&&LH($)}function _H($,G,X){return X(function(){AH(G)&&(P2(2,"updateSyncExternalStore()",$),LH($))})}function AH($){var G=$.getSnapshot;$=$.value;try{var X=G();return!J1($,X)}catch(Y){return!0}}function LH($){var G=r5($,2);G!==null&&M5(G,$,2)}function W3($){var G=G1();if(typeof $==="function"){var X=$;if($=X(),G8){J5(!0);try{X()}finally{J5(!1)}}}return G.memoizedState=G.baseState=$,G.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:U2,lastRenderedState:$},G}function _3($){$=W3($);var G=$.queue,X=SH.bind(null,w0,G);return G.dispatch=X,[$.memoizedState,X]}function A3($){var G=G1();G.memoizedState=G.baseState=$;var X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return G.queue=X,G=q3.bind(null,w0,!0,X),X.dispatch=G,[$,G]}function NH($,G){var X=a0();return QH(X,X5,$,G)}function QH($,G,X,Y){return $.baseState=X,H3($,X5,typeof Y==="function"?Y:U2)}function KH($,G){var X=a0();if(X5!==null)return QH(X,X5,$,G);return X.baseState=$,[$,X.queue.dispatch]}function GK($,G,X,Y,Z){if(T9($))throw Error("Cannot update form state while rendering.");if($=G.action,$!==null){var J={payload:Z,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(U){J.listeners.push(U)}};g.T!==null?X(!0):J.isTransition=!1,Y(J),X=G.pending,X===null?(J.next=G.pending=J,wH(G,J)):(J.next=X.next,G.pending=X.next=J)}}function wH($,G){var{action:X,payload:Y}=G,Z=$.state;if(G.isTransition){var J=g.T,U={};U._updatedFibers=new Set,g.T=U;try{var z=X(Z,Y),A=g.S;A!==null&&A(U,z),MH($,G,z)}catch(N){L3($,G,N)}finally{J!==null&&U.types!==null&&(J.types!==null&&J.types!==U.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=U.types),g.T=J,J===null&&U._updatedFibers&&($=U._updatedFibers.size,U._updatedFibers.clear(),10<$&&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{U=X(Z,Y),MH($,G,U)}catch(N){L3($,G,N)}}function MH($,G,X){X!==null&&typeof X==="object"&&typeof X.then==="function"?(g.asyncTransitions++,X.then(R9,R9),X.then(function(Y){FH($,G,Y)},function(Y){return L3($,G,Y)}),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.")):FH($,G,X)}function FH($,G,X){G.status="fulfilled",G.value=X,RH(G),$.state=X,G=$.pending,G!==null&&(X=G.next,X===G?$.pending=null:(X=X.next,G.next=X,wH($,X)))}function L3($,G,X){var Y=$.pending;if($.pending=null,Y!==null){Y=Y.next;do G.status="rejected",G.reason=X,RH(G),G=G.next;while(G!==Y)}$.action=null}function RH($){$=$.listeners;for(var G=0;G<$.length;G++)(0,$[G])()}function TH($,G){return G}function g8($,G){if(g0){var X=Y5.formState;if(X!==null){$:{var Y=w0;if(g0){if(z5){G:{var Z=z5;for(var J=a1;Z.nodeType!==8;){if(!J){Z=null;break G}if(Z=x1(Z.nextSibling),Z===null){Z=null;break G}}J=Z.data,Z=J===lJ||J===JL?Z:null}if(Z){z5=x1(Z.nextSibling),Y=Z.data===lJ;break $}}v4(Y)}Y=!1}Y&&(G=X[0])}}return X=G1(),X.memoizedState=X.baseState=G,Y={pending:null,lanes:0,dispatch:null,lastRenderedReducer:TH,lastRenderedState:G},X.queue=Y,X=SH.bind(null,w0,Y),Y.dispatch=X,Y=W3(!1),J=q3.bind(null,w0,!1,Y.queue),Y=G1(),Z={state:G,dispatch:null,action:$,pending:null},Y.queue=Z,X=GK.bind(null,w0,Z,J,X),Z.dispatch=X,Y.memoizedState=$,[G,X,!1]}function L9($){var G=a0();return IH(G,X5,$)}function IH($,G,X){if(G=H3($,G,TH)[0],$=v8(U2)[0],typeof G==="object"&&G!==null&&typeof G.then==="function")try{var Y=H$(G)}catch(U){if(U===A7)throw KX;throw U}else Y=G;G=a0();var Z=G.queue,J=Z.dispatch;return X!==G.memoizedState&&(w0.flags|=2048,b8(r1|H1,{destroy:void 0},XK.bind(null,Z,X),null)),[Y,J,$]}function XK($,G){$.action=G}function N9($){var G=a0(),X=X5;if(X!==null)return IH(G,X,$);a0(),G=G.memoizedState,X=a0();var Y=X.queue.dispatch;return X.memoizedState=$,[G,Y,!1]}function b8($,G,X,Y){return $={tag:$,create:X,deps:Y,inst:G,next:null},G=w0.updateQueue,G===null&&(G=_9(),w0.updateQueue=G),X=G.lastEffect,X===null?G.lastEffect=$.next=$:(Y=X.next,X.next=$,$.next=Y,G.lastEffect=$),$}function N3($){var G=G1();return $={current:$},G.memoizedState=$}function h6($,G,X,Y){var Z=G1();w0.flags|=$,Z.memoizedState=b8(r1|G,{destroy:void 0},X,Y===void 0?null:Y)}function N1($,G,X,Y){var Z=a0();Y=Y===void 0?null:Y;var J=Z.memoizedState.inst;X5!==null&&Y!==null&&G3(Y,X5.memoizedState.deps)?Z.memoizedState=b8(G,J,X,Y):(w0.flags|=$,Z.memoizedState=b8(r1|G,J,X,Y))}function Q9($,G){(w0.mode&_2)!==Q0?h6(276826112,H1,$,G):h6(8390656,H1,$,G)}function YK($){w0.flags|=4;var G=w0.updateQueue;if(G===null)G=_9(),w0.updateQueue=G,G.events=[$];else{var X=G.events;X===null?G.events=[$]:X.push($)}}function Q3($){var G=G1(),X={impl:$};return G.memoizedState=X,function(){if((h0&g5)!==d5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return X.impl.apply(void 0,arguments)}}function K9($){var G=a0().memoizedState;return YK({ref:G,nextImpl:$}),function(){if((h0&g5)!==d5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function K3($,G){var X=4194308;return(w0.mode&_2)!==Q0&&(X|=134217728),h6(X,m1,$,G)}function PH($,G){if(typeof G==="function"){$=$();var X=G($);return function(){typeof X==="function"?X():G(null)}}if(G!==null&&G!==void 0)return G.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(G).join(", ")+"}"),$=$(),G.current=$,function(){G.current=null}}function w3($,G,X){typeof G!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",G!==null?typeof G:"null"),X=X!==null&&X!==void 0?X.concat([$]):null;var Y=4194308;(w0.mode&_2)!==Q0&&(Y|=134217728),h6(Y,m1,PH.bind(null,G,$),X)}function w9($,G,X){typeof G!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",G!==null?typeof G:"null"),X=X!==null&&X!==void 0?X.concat([$]):null,N1(4,m1,PH.bind(null,G,$),X)}function M3($,G){return G1().memoizedState=[$,G===void 0?null:G],$}function M9($,G){var X=a0();G=G===void 0?null:G;var Y=X.memoizedState;if(G!==null&&G3(G,Y[1]))return Y[0];return X.memoizedState=[$,G],$}function F3($,G){var X=G1();G=G===void 0?null:G;var Y=$();if(G8){J5(!0);try{$()}finally{J5(!1)}}return X.memoizedState=[Y,G],Y}function F9($,G){var X=a0();G=G===void 0?null:G;var Y=X.memoizedState;if(G!==null&&G3(G,Y[1]))return Y[0];if(Y=$(),G8){J5(!0);try{$()}finally{J5(!1)}}return X.memoizedState=[Y,G],Y}function R3($,G){var X=G1();return T3(X,$,G)}function VH($,G){var X=a0();return qH(X,X5.memoizedState,$,G)}function OH($,G){var X=a0();return X5===null?T3(X,$,G):qH(X,X5.memoizedState,$,G)}function T3($,G,X){if(X===void 0||(M4&1073741824)!==0&&(E0&261930)===0)return $.memoizedState=G;return $.memoizedState=X,$=Dz(),w0.lanes|=$,H6|=$,X}function qH($,G,X,Y){if(J1(X,G))return X;if(N7.current!==null)return $=T3($,X,Y),J1($,G)||(C5=!0),$;if((M4&42)===0||(M4&1073741824)!==0&&(E0&261930)===0)return C5=!0,$.memoizedState=X;return $=Dz(),w0.lanes|=$,H6|=$,G}function R9(){g.asyncTransitions--}function DH($,G,X,Y,Z){var J=s0.p;s0.p=J!==0&&J<W2?J:W2;var U=g.T,z={};z._updatedFibers=new Set,g.T=z,q3($,!1,G,X);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(R9,R9);var q=tQ(A,Y);W$($,G,q,j1($))}else W$($,G,Y,j1($))}catch(D){W$($,G,{then:function(){},status:"rejected",reason:D},j1($))}finally{s0.p=J,U!==null&&z.types!==null&&(U.types!==null&&U.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."),U.types=z.types),g.T=U,U===null&&z._updatedFibers&&($=z._updatedFibers.size,z._updatedFibers.clear(),10<$&&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 I3($,G,X,Y){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var Z=EH($).queue;oQ($),DH($,Z,G,A8,X===null?j:function(){return CH($),X(Y)})}function EH($){var G=$.memoizedState;if(G!==null)return G;G={memoizedState:A8,baseState:A8,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:U2,lastRenderedState:A8},next:null};var X={};return G.next={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:U2,lastRenderedState:X},next:null},$.memoizedState=G,$=$.alternate,$!==null&&($.memoizedState=G),G}function CH($){g.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var G=EH($);G.next===null&&(G=$.alternate.memoizedState),W$($,G.next.queue,{},j1($))}function P3(){var $=W3(!1);return $=DH.bind(null,w0,$.queue,!0,!1),G1().memoizedState=$,[!1,$]}function jH(){var $=v8(U2)[0],G=a0().memoizedState;return[typeof $==="boolean"?$:H$($),G]}function xH(){var $=z$(U2)[0],G=a0().memoizedState;return[typeof $==="boolean"?$:H$($),G]}function y6(){return _5(FG)}function V3(){var $=G1(),G=Y5.identifierPrefix;if(g0){var X=L4,Y=A4;X=(Y&~(1<<32-X1(Y)-1)).toString(32)+X,G="_"+G+"R_"+X,X=TX++,0<X&&(G+="H"+X.toString(32)),G+="_"}else X=bM++,G="_"+G+"r_"+X.toString(32)+"_";return $.memoizedState=G}function O3(){return G1().memoizedState=ZK.bind(null,w0)}function ZK($,G){for(var X=$.return;X!==null;){switch(X.tag){case 24:case 3:var Y=j1(X),Z=m4(Y),J=f4(X,Z,Y);J!==null&&(P2(Y,"refresh()",$),M5(J,X,Y),J$(J,X,Y)),$=cY(),G!==null&&G!==void 0&&J!==null&&console.error("The seed argument is not enabled outside experimental channels."),Z.payload={cache:$};return}X=X.return}}function JK($,G,X){var Y=arguments;typeof Y[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()."),Y=j1($);var Z={lane:Y,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};T9($)?kH(G,Z):(Z=kY($,G,Z,Y),Z!==null&&(P2(Y,"dispatch()",$),M5(Z,$,Y),vH(Z,G,Y)))}function SH($,G,X){var Y=arguments;typeof Y[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()."),Y=j1($),W$($,G,X,Y)&&P2(Y,"setState()",$)}function W$($,G,X,Y){var Z={lane:Y,revertLane:0,gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null};if(T9($))kH(G,Z);else{var J=$.alternate;if($.lanes===0&&(J===null||J.lanes===0)&&(J=G.lastRenderedReducer,J!==null)){var U=g.H;g.H=L2;try{var z=G.lastRenderedState,A=J(z,X);if(Z.hasEagerState=!0,Z.eagerState=A,J1(A,z))return iG($,G,Z,0),Y5===null&&sG(),!1}catch(N){}finally{g.H=U}}if(X=kY($,G,Z,Y),X!==null)return M5(X,$,Y),vH(X,G,Y),!0}return!1}function q3($,G,X,Y){if(g.T===null&&o6===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."),Y={lane:2,revertLane:XZ(),gesture:null,action:Y,hasEagerState:!1,eagerState:null,next:null},T9($)){if(G)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else G=kY($,X,Y,2),G!==null&&(P2(2,"setOptimistic()",$),M5(G,$,2))}function T9($){var G=$.alternate;return $===w0||G!==null&&G===w0}function kH($,G){w7=RX=!0;var X=$.pending;X===null?G.next=G:(G.next=X.next,X.next=G),$.pending=G}function vH($,G,X){if((X&4194048)!==0){var Y=G.lanes;Y&=$.pendingLanes,X|=Y,G.lanes=X,q6($,X)}}function D3($){if($!==null&&typeof $!=="function"){var G=String($);xA.has(G)||(xA.add(G),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function E3($,G,X,Y){var Z=$.memoizedState,J=X(Y,Z);if($.mode&e5){J5(!0);try{J=X(Y,Z)}finally{J5(!1)}}J===void 0&&(G=e(G)||"Component",DA.has(G)||(DA.add(G),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",G))),Z=J===null||J===void 0?Z:x0({},Z,J),$.memoizedState=Z,$.lanes===0&&($.updateQueue.baseState=Z)}function gH($,G,X,Y,Z,J,U){var z=$.stateNode;if(typeof z.shouldComponentUpdate==="function"){if(X=z.shouldComponentUpdate(Y,J,U),$.mode&e5){J5(!0);try{X=z.shouldComponentUpdate(Y,J,U)}finally{J5(!1)}}return X===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",e(G)||"Component"),X}return G.prototype&&G.prototype.isPureReactComponent?!t7(X,Y)||!t7(Z,J):!0}function bH($,G,X,Y){var Z=G.state;typeof G.componentWillReceiveProps==="function"&&G.componentWillReceiveProps(X,Y),typeof G.UNSAFE_componentWillReceiveProps==="function"&&G.UNSAFE_componentWillReceiveProps(X,Y),G.state!==Z&&($=p($)||"Component",IA.has($)||(IA.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),IJ.enqueueReplaceState(G,G.state,null))}function d6($,G){var X=G;if("ref"in G){X={};for(var Y in G)Y!=="ref"&&(X[Y]=G[Y])}if($=$.defaultProps){X===G&&(X=x0({},X));for(var Z in $)X[Z]===void 0&&(X[Z]=$[Z])}return X}function mH($){eZ($),console.warn(`%s
|
||
|
||
%s
|
||
`,M7?"An error occurred in the <"+M7+"> 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 fH($){var G=M7?"The above error occurred in the <"+M7+"> component.":"The above error occurred in one of your React components.",X="React will try to recreate this component tree from scratch using the error boundary you provided, "+((PJ||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var Y=$.environmentName;$=[`%o
|
||
|
||
%s
|
||
|
||
%s
|
||
`,$,G,X].slice(0),typeof $[0]==="string"?$.splice(0,1,LL+" "+$[0],NL,sX+Y+sX,QL):$.splice(0,0,LL,NL,sX+Y+sX,QL),$.unshift(console),Y=YF.apply(console.error,$),Y()}else console.error(`%o
|
||
|
||
%s
|
||
|
||
%s
|
||
`,$,G,X)}function hH($){eZ($)}function I9($,G){try{M7=G.source?p(G.source):null,PJ=null;var X=G.value;if(g.actQueue!==null)g.thrownErrors.push(X);else{var Y=$.onUncaughtError;Y(X,{componentStack:G.stack})}}catch(Z){setTimeout(function(){throw Z})}}function yH($,G,X){try{M7=X.source?p(X.source):null,PJ=p(G);var Y=$.onCaughtError;Y(X.value,{componentStack:X.stack,errorBoundary:G.tag===1?G.stateNode:null})}catch(Z){setTimeout(function(){throw Z})}}function C3($,G,X){return X=m4(X),X.tag=KJ,X.payload={element:null},X.callback=function(){r(G.source,I9,$,G)},X}function j3($){return $=m4($),$.tag=KJ,$}function x3($,G,X,Y){var Z=X.type.getDerivedStateFromError;if(typeof Z==="function"){var J=Y.value;$.payload=function(){return Z(J)},$.callback=function(){kU(X),r(Y.source,yH,G,X,Y)}}var U=X.stateNode;U!==null&&typeof U.componentDidCatch==="function"&&($.callback=function(){kU(X),r(Y.source,yH,G,X,Y),typeof Z!=="function"&&(W6===null?W6=new Set([this]):W6.add(this)),SM(this,Y),typeof Z==="function"||(X.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(X)||"Unknown")})}function BK($,G,X,Y,Z){if(X.flags|=32768,y2&&M$($,Z),Y!==null&&typeof Y==="object"&&typeof Y.then==="function"){if(G=X.alternate,G!==null&&S8(G,X,Z,!0),g0&&(p2=!0),X=b1.current,X!==null){switch(X.tag){case 31:case 13:return o1===null?x9():X.alternate===null&&K5===I4&&(K5=VX),X.flags&=-257,X.flags|=65536,X.lanes=Z,Y===wX?X.flags|=16384:(G=X.updateQueue,G===null?X.updateQueue=new Set([Y]):G.add(Y),t3($,Y,Z)),!1;case 22:return X.flags|=65536,Y===wX?X.flags|=16384:(G=X.updateQueue,G===null?(G={transitions:null,markerInstances:null,retryQueue:new Set([Y])},X.updateQueue=G):(X=G.retryQueue,X===null?G.retryQueue=new Set([Y]):X.add(Y)),t3($,Y,Z)),!1}throw Error("Unexpected Suspense handler tag ("+X.tag+"). This is a bug in React.")}return t3($,Y,Z),x9(),!1}if(g0)return p2=!0,G=b1.current,G!==null?((G.flags&65536)===0&&(G.flags|=256),G.flags|=65536,G.lanes=Z,Y!==JJ&&$$(q1(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:Y}),X))):(Y!==JJ&&$$(q1(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:Y}),X)),$=$.current.alternate,$.flags|=65536,Z&=-Z,$.lanes|=Z,Y=q1(Y,X),Z=C3($.stateNode,Y,Z),H9($,Z),K5!==B6&&(K5=X8)),!1;var J=q1(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:Y}),X);if(WG===null?WG=[J]:WG.push(J),K5!==B6&&(K5=X8),G===null)return!0;Y=q1(Y,X),X=G;do{switch(X.tag){case 3:return X.flags|=65536,$=Z&-Z,X.lanes|=$,$=C3(X.stateNode,Y,$),H9(X,$),!1;case 1:if(G=X.type,J=X.stateNode,(X.flags&128)===0&&(typeof G.getDerivedStateFromError==="function"||J!==null&&typeof J.componentDidCatch==="function"&&(W6===null||!W6.has(J))))return X.flags|=65536,Z&=-Z,X.lanes|=Z,Z=j3(Z),x3(Z,$,X,Y),H9(X,Z),!1}X=X.return}while(X!==null);return!1}function p5($,G,X,Y){G.child=$===null?_A(G,null,X,Y):$8(G,$.child,X,Y)}function dH($,G,X,Y,Z){X=X.render;var J=G.ref;if("ref"in Y){var U={};for(var z in Y)z!=="ref"&&(U[z]=Y[z])}else U=Y;if(b6(G),Y=X3($,G,X,U,J,Z),z=Z3(),$!==null&&!C5)return J3($,G,Z),B4($,G,Z);return g0&&z&&hY(G),G.flags|=1,p5($,G,Y,Z),G.child}function uH($,G,X,Y,Z){if($===null){var J=X.type;if(typeof J==="function"&&!gY(J)&&J.defaultProps===void 0&&X.compare===null)return X=S6(J),G.tag=15,G.type=X,k3(G,J),pH($,G,X,Y,Z);return $=bY(X.type,null,Y,G,G.mode,Z),$.ref=G.ref,$.return=G,G.child=$}if(J=$.child,!h3($,Z)){var U=J.memoizedProps;if(X=X.compare,X=X!==null?X:t7,X(U,Y)&&$.ref===G.ref)return B4($,G,Z)}return G.flags|=1,$=X4(J,Y),$.ref=G.ref,$.return=G,G.child=$}function pH($,G,X,Y,Z){if($!==null){var J=$.memoizedProps;if(t7(J,Y)&&$.ref===G.ref&&G.type===$.type)if(C5=!1,G.pendingProps=Y=J,h3($,Z))($.flags&131072)!==0&&(C5=!0);else return G.lanes=$.lanes,B4($,G,Z)}return S3($,G,X,Y,Z)}function lH($,G,X,Y){var Z=Y.children,J=$!==null?$.memoizedState:null;if($===null&&G.stateNode===null&&(G.stateNode={_visibility:h$,_pendingMarkers:null,_retryCache:null,_transitions:null}),Y.mode==="hidden"){if((G.flags&128)!==0){if(J=J!==null?J.baseLanes|X:X,$!==null){Y=G.child=$.child;for(Z=0;Y!==null;)Z=Z|Y.lanes|Y.childLanes,Y=Y.sibling;Y=Z&~J}else Y=0,G.child=null;return cH($,G,J,X,Y)}if((X&536870912)!==0)G.memoizedState={baseLanes:0,cachePool:null},$!==null&&X9(G,J!==null?J.cachePool:null),J!==null?BH(G,J):tY(G),UH(G);else return Y=G.lanes=536870912,cH($,G,J!==null?J.baseLanes|X:X,X,Y)}else J!==null?(X9(G,J.cachePool),BH(G,J),y4(G),G.memoizedState=null):($!==null&&X9(G,null),tY(G),y4(G));return p5($,G,Z,X),G.child}function _$($,G){return $!==null&&$.tag===22||G.stateNode!==null||(G.stateNode={_visibility:h$,_pendingMarkers:null,_retryCache:null,_transitions:null}),G.sibling}function cH($,G,X,Y,Z){var J=aY();return J=J===null?null:{parent:q5._currentValue,pool:J},G.memoizedState={baseLanes:X,cachePool:J},$!==null&&X9(G,null),tY(G),UH(G),$!==null&&S8($,G,Y,!0),G.childLanes=Z,null}function P9($,G){var X=G.hidden;return X!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
||
- <Activity %s>
|
||
+ <Activity %s>`,X===!0?"hidden":X===!1?"hidden={false}":"hidden={...}",X?'mode="hidden"':'mode="visible"'),G=O9({mode:G.mode,children:G.children},$.mode),G.ref=$.ref,$.child=G,G.return=$,G}function sH($,G,X){return $8(G,$.child,null,X),$=P9(G,G.pendingProps),$.flags|=2,C1(G),G.memoizedState=null,$}function UK($,G,X){var Y=G.pendingProps,Z=(G.flags&128)!==0;if(G.flags&=-129,$===null){if(g0){if(Y.mode==="hidden")return $=P9(G,Y),G.lanes=536870912,_$(null,$);if($3(G),($=z5)?(X=wW($,a1),X=X!==null&&X.data===H8?X:null,X!==null&&(Y={dehydrated:X,treeContext:fU(),retryLane:536870912,hydrationErrors:null},G.memoizedState=Y,Y=bU(X),Y.return=G,G.child=Y,s5=G,z5=null)):X=null,X===null)throw oG(G,$),v4(G);return G.lanes=536870912,null}return P9(G,Y)}var J=$.memoizedState;if(J!==null){var U=J.dehydrated;if($3(G),Z)if(G.flags&256)G.flags&=-257,G=sH($,G,X);else if(G.memoizedState!==null)G.child=$.child,G.flags|=128,G=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(yU(),(X&536870912)!==0&&j9(G),C5||S8($,G,X,!1),Z=(X&$.childLanes)!==0,C5||Z){if(Y=Y5,Y!==null&&(U=D6(Y,X),U!==0&&U!==J.retryLane))throw J.retryLane=U,r5($,U),M5(Y,$,U),VJ;x9(),G=sH($,G,X)}else $=J.treeContext,z5=x1(U.nextSibling),s5=G,g0=!0,e4=null,p2=!1,g1=null,a1=!1,$!==null&&hU(G,$),G=P9(G,Y),G.flags|=4096;return G}return J=$.child,Y={mode:Y.mode,children:Y.children},(X&536870912)!==0&&(X&$.lanes)!==0&&j9(G),$=X4(J,Y),$.ref=G.ref,G.child=$,$.return=G,$}function V9($,G){var X=G.ref;if(X===null)$!==null&&$.ref!==null&&(G.flags|=4194816);else{if(typeof X!=="function"&&typeof X!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==X)G.flags|=4194816}}function S3($,G,X,Y,Z){if(X.prototype&&typeof X.prototype.render==="function"){var J=e(X)||"Unknown";SA[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),SA[J]=!0)}if(G.mode&e5&&A2.recordLegacyContextWarning(G,null),$===null&&(k3(G,G.type),X.contextTypes&&(J=e(X)||"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)))),b6(G),X=X3($,G,X,Y,void 0,Z),Y=Z3(),$!==null&&!C5)return J3($,G,Z),B4($,G,Z);return g0&&Y&&hY(G),G.flags|=1,p5($,G,X,Z),G.child}function iH($,G,X,Y,Z,J){if(b6(G),R4=-1,YG=$!==null&&$.type!==G.type,G.updateQueue=null,X=Y3(G,Y,X,Z),HH($,G),Y=Z3(),$!==null&&!C5)return J3($,G,J),B4($,G,J);return g0&&Y&&hY(G),G.flags|=1,p5($,G,X,J),G.child}function aH($,G,X,Y,Z){switch(F(G)){case!1:var J=G.stateNode,U=new G.type(G.memoizedProps,J.context).state;J.updater.enqueueSetState(J,U,null);break;case!0:G.flags|=128,G.flags|=65536,J=Error("Simulated error coming from DevTools");var z=Z&-Z;if(G.lanes|=z,U=Y5,U===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");z=j3(z),x3(z,U,G,q1(J,G)),H9(G,z)}if(b6(G),G.stateNode===null){if(U=t4,J=X.contextType,"contextType"in X&&J!==null&&(J===void 0||J.$$typeof!==m2)&&!jA.has(X)&&(jA.add(X),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===OZ?" 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",e(X)||"Component",z)),typeof J==="object"&&J!==null&&(U=_5(J)),J=new X(Y,U),G.mode&e5){J5(!0);try{J=new X(Y,U)}finally{J5(!1)}}if(U=G.memoizedState=J.state!==null&&J.state!==void 0?J.state:null,J.updater=IJ,G.stateNode=J,J._reactInternals=G,J._reactInternalInstance=TA,typeof X.getDerivedStateFromProps==="function"&&U===null&&(U=e(X)||"Component",PA.has(U)||(PA.add(U),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.",U,J.state===null?"null":"undefined",U))),typeof X.getDerivedStateFromProps==="function"||typeof J.getSnapshotBeforeUpdate==="function"){var A=z=U=null;if(typeof J.componentWillMount==="function"&&J.componentWillMount.__suppressDeprecationWarning!==!0?U="componentWillMount":typeof J.UNSAFE_componentWillMount==="function"&&(U="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"),U!==null||z!==null||A!==null){J=e(X)||"Component";var N=typeof X.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,U!==null?`
|
||
`+U:"",z!==null?`
|
||
`+z:"",A!==null?`
|
||
`+A:""))}}J=G.stateNode,U=e(X)||"Component",J.render||(X.prototype&&typeof X.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",U):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",U)),!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?",U),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.",U),J.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",U),X.childContextTypes&&!CA.has(X)&&(CA.add(X),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",U)),X.contextTypes&&!EA.has(X)&&(EA.add(X),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)",U)),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.",U),X.prototype&&X.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.",e(X)||"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()?",U),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().",U),typeof J.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",U),typeof J.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",U),z=J.props!==Y,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.",U),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.",U,U),typeof J.getSnapshotBeforeUpdate!=="function"||typeof J.componentDidUpdate==="function"||VA.has(X)||(VA.add(X),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",e(X))),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.",U),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.",U),typeof X.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",U),(z=J.state)&&(typeof z!=="object"||k5(z))&&console.error("%s.state: must be set to an object or null",U),typeof J.getChildContext==="function"&&typeof X.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",U),J=G.stateNode,J.props=Y,J.state=G.memoizedState,J.refs={},oY(G),U=X.contextType,J.context=typeof U==="object"&&U!==null?_5(U):t4,J.state===Y&&(U=e(X)||"Component",qA.has(U)||(qA.add(U),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.",U))),G.mode&e5&&A2.recordLegacyContextWarning(G,J),A2.recordUnsafeLifecycleWarnings(G,J),J.state=G.memoizedState,U=X.getDerivedStateFromProps,typeof U==="function"&&(E3(G,X,U,Y),J.state=G.memoizedState),typeof X.getDerivedStateFromProps==="function"||typeof J.getSnapshotBeforeUpdate==="function"||typeof J.UNSAFE_componentWillMount!=="function"&&typeof J.componentWillMount!=="function"||(U=J.state,typeof J.componentWillMount==="function"&&J.componentWillMount(),typeof J.UNSAFE_componentWillMount==="function"&&J.UNSAFE_componentWillMount(),U!==J.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",p(G)||"Component"),IJ.enqueueReplaceState(J,J.state,null)),U$(G,Y,J,Z),B$(),J.state=G.memoizedState),typeof J.componentDidMount==="function"&&(G.flags|=4194308),(G.mode&_2)!==Q0&&(G.flags|=134217728),J=!0}else if($===null){J=G.stateNode;var q=G.memoizedProps;z=d6(X,q),J.props=z;var D=J.context;A=X.contextType,U=t4,typeof A==="object"&&A!==null&&(U=_5(A)),N=X.getDerivedStateFromProps,A=typeof N==="function"||typeof J.getSnapshotBeforeUpdate==="function",q=G.pendingProps!==q,A||typeof J.UNSAFE_componentWillReceiveProps!=="function"&&typeof J.componentWillReceiveProps!=="function"||(q||D!==U)&&bH(G,J,Y,U),J6=!1;var I=G.memoizedState;J.state=I,U$(G,Y,J,Z),B$(),D=G.memoizedState,q||I!==D||J6?(typeof N==="function"&&(E3(G,X,N,Y),D=G.memoizedState),(z=J6||gH(G,X,z,Y,I,D,U))?(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"&&(G.flags|=4194308),(G.mode&_2)!==Q0&&(G.flags|=134217728)):(typeof J.componentDidMount==="function"&&(G.flags|=4194308),(G.mode&_2)!==Q0&&(G.flags|=134217728),G.memoizedProps=Y,G.memoizedState=D),J.props=Y,J.state=D,J.context=U,J=z):(typeof J.componentDidMount==="function"&&(G.flags|=4194308),(G.mode&_2)!==Q0&&(G.flags|=134217728),J=!1)}else{J=G.stateNode,rY($,G),U=G.memoizedProps,A=d6(X,U),J.props=A,N=G.pendingProps,I=J.context,D=X.contextType,z=t4,typeof D==="object"&&D!==null&&(z=_5(D)),q=X.getDerivedStateFromProps,(D=typeof q==="function"||typeof J.getSnapshotBeforeUpdate==="function")||typeof J.UNSAFE_componentWillReceiveProps!=="function"&&typeof J.componentWillReceiveProps!=="function"||(U!==N||I!==z)&&bH(G,J,Y,z),J6=!1,I=G.memoizedState,J.state=I,U$(G,Y,J,Z),B$();var k=G.memoizedState;U!==N||I!==k||J6||$!==null&&$.dependencies!==null&&tG($.dependencies)?(typeof q==="function"&&(E3(G,X,q,Y),k=G.memoizedState),(A=J6||gH(G,X,A,Y,I,k,z)||$!==null&&$.dependencies!==null&&tG($.dependencies))?(D||typeof J.UNSAFE_componentWillUpdate!=="function"&&typeof J.componentWillUpdate!=="function"||(typeof J.componentWillUpdate==="function"&&J.componentWillUpdate(Y,k,z),typeof J.UNSAFE_componentWillUpdate==="function"&&J.UNSAFE_componentWillUpdate(Y,k,z)),typeof J.componentDidUpdate==="function"&&(G.flags|=4),typeof J.getSnapshotBeforeUpdate==="function"&&(G.flags|=1024)):(typeof J.componentDidUpdate!=="function"||U===$.memoizedProps&&I===$.memoizedState||(G.flags|=4),typeof J.getSnapshotBeforeUpdate!=="function"||U===$.memoizedProps&&I===$.memoizedState||(G.flags|=1024),G.memoizedProps=Y,G.memoizedState=k),J.props=Y,J.state=k,J.context=z,J=A):(typeof J.componentDidUpdate!=="function"||U===$.memoizedProps&&I===$.memoizedState||(G.flags|=4),typeof J.getSnapshotBeforeUpdate!=="function"||U===$.memoizedProps&&I===$.memoizedState||(G.flags|=1024),J=!1)}if(z=J,V9($,G),U=(G.flags&128)!==0,z||U){if(z=G.stateNode,V8(G),U&&typeof X.getDerivedStateFromError!=="function")X=null,B1=-1;else if(X=r_(z),G.mode&e5){J5(!0);try{r_(z)}finally{J5(!1)}}G.flags|=1,$!==null&&U?(G.child=$8(G,$.child,null,Z),G.child=$8(G,null,X,Z)):p5($,G,X,Z),G.memoizedState=z.state,$=G.child}else $=B4($,G,Z);return Z=G.stateNode,J&&Z.props!==Y&&(F7||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(G)||"a component"),F7=!0),$}function nH($,G,X,Y){return g6(),G.flags|=256,p5($,G,X,Y),G.child}function k3($,G){G&&G.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
||
%s.childContextTypes = ...`,G.displayName||G.name||"Component"),typeof G.getDerivedStateFromProps==="function"&&($=e(G)||"Unknown",gA[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),gA[$]=!0)),typeof G.contextType==="object"&&G.contextType!==null&&(G=e(G)||"Unknown",kA[G]||(console.error("%s: Function components do not support contextType.",G),kA[G]=!0))}function v3($){return{baseLanes:$,cachePool:iU()}}function g3($,G,X){return $=$!==null?$.childLanes&~X:0,G&&($|=F1),$}function oH($,G,X){var Y,Z=G.pendingProps;K(G)&&(G.flags|=128);var J=!1,U=(G.flags&128)!==0;if((Y=U)||(Y=$!==null&&$.memoizedState===null?!1:(P5.current&GG)!==0),Y&&(J=!0,G.flags&=-129),Y=(G.flags&32)!==0,G.flags&=-33,$===null){if(g0){if(J?h4(G):y4(G),($=z5)?(X=wW($,a1),X=X!==null&&X.data!==H8?X:null,X!==null&&(Y={dehydrated:X,treeContext:fU(),retryLane:536870912,hydrationErrors:null},G.memoizedState=Y,Y=bU(X),Y.return=G,G.child=Y,s5=G,z5=null)):X=null,X===null)throw oG(G,$),v4(G);return NZ(X)?G.lanes=32:G.lanes=536870912,null}var z=Z.children;if(Z=Z.fallback,J){y4(G);var A=G.mode;return z=O9({mode:"hidden",children:z},A),Z=k6(Z,A,X,null),z.return=G,Z.return=G,z.sibling=Z,G.child=z,Z=G.child,Z.memoizedState=v3(X),Z.childLanes=g3($,Y,X),G.memoizedState=OJ,_$(null,Z)}return h4(G),b3(G,z)}var N=$.memoizedState;if(N!==null){var q=N.dehydrated;if(q!==null){if(U)G.flags&256?(h4(G),G.flags&=-257,G=m3($,G,X)):G.memoizedState!==null?(y4(G),G.child=$.child,G.flags|=128,G=null):(y4(G),z=Z.fallback,A=G.mode,Z=O9({mode:"visible",children:Z.children},A),z=k6(z,A,X,null),z.flags|=2,Z.return=G,z.return=G,Z.sibling=z,G.child=Z,$8(G,$.child,null,X),Z=G.child,Z.memoizedState=v3(X),Z.childLanes=g3($,Y,X),G.memoizedState=OJ,G=_$(null,Z));else if(h4(G),yU(),(X&536870912)!==0&&j9(G),NZ(q)){if(Y=q.nextSibling&&q.nextSibling.dataset,Y){z=Y.dgst;var D=Y.msg;A=Y.stck;var I=Y.cstck}J=D,Y=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=Y,Y=A===void 0?null:A,Z={value:z,source:null,stack:Y},typeof Y==="string"&&ZJ.set(z,Z),$$(Z),G=m3($,G,X)}else if(C5||S8($,G,X,!1),Y=(X&$.childLanes)!==0,C5||Y){if(Y=Y5,Y!==null&&(Z=D6(Y,X),Z!==0&&Z!==N.retryLane))throw N.retryLane=Z,r5($,Z),M5(Y,$,Z),VJ;LZ(q)||x9(),G=m3($,G,X)}else LZ(q)?(G.flags|=192,G.child=$.child,G=null):($=N.treeContext,z5=x1(q.nextSibling),s5=G,g0=!0,e4=null,p2=!1,g1=null,a1=!1,$!==null&&hU(G,$),G=b3(G,Z.children),G.flags|=4096);return G}}if(J)return y4(G),z=Z.fallback,A=G.mode,I=$.child,q=I.sibling,Z=X4(I,{mode:"hidden",children:Z.children}),Z.subtreeFlags=I.subtreeFlags&65011712,q!==null?z=X4(q,z):(z=k6(z,A,X,null),z.flags|=2),z.return=G,Z.return=G,Z.sibling=z,G.child=Z,_$(null,Z),Z=G.child,z=$.child.memoizedState,z===null?z=v3(X):(A=z.cachePool,A!==null?(I=q5._currentValue,A=A.parent!==I?{parent:I,pool:I}:A):A=iU(),z={baseLanes:z.baseLanes|X,cachePool:A}),Z.memoizedState=z,Z.childLanes=g3($,Y,X),G.memoizedState=OJ,_$($.child,Z);return N!==null&&(X&62914560)===X&&(X&$.lanes)!==0&&j9(G),h4(G),X=$.child,$=X.sibling,X=X4(X,{mode:"visible",children:Z.children}),X.return=G,X.sibling=null,$!==null&&(Y=G.deletions,Y===null?(G.deletions=[$],G.flags|=16):Y.push($)),G.child=X,G.memoizedState=null,X}function b3($,G){return G=O9({mode:"visible",children:G},$.mode),G.return=$,$.child=G}function O9($,G){return $=E(22,$,null,G),$.lanes=0,$}function m3($,G,X){return $8(G,$.child,null,X),$=b3(G,G.pendingProps.children),$.flags|=2,G.memoizedState=null,$}function rH($,G,X){$.lanes|=G;var Y=$.alternate;Y!==null&&(Y.lanes|=G),pY($.return,G,X)}function f3($,G,X,Y,Z,J){var U=$.memoizedState;U===null?$.memoizedState={isBackwards:G,rendering:null,renderingStartTime:0,last:Y,tail:X,tailMode:Z,treeForkCount:J}:(U.isBackwards=G,U.rendering=null,U.renderingStartTime=0,U.last=Y,U.tail=X,U.tailMode=Z,U.treeForkCount=J)}function tH($,G,X){var Y=G.pendingProps,Z=Y.revealOrder,J=Y.tail,U=Y.children,z=P5.current;if((Y=(z&GG)!==0)?(z=z&Q7|GG,G.flags|=128):z&=Q7,K0(P5,z,G),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,!PX[z])if(J==null){if(Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")PX[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"?(PX[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"&&(PX[z]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',J));$:if((Z==="forwards"||Z==="backwards"||Z==="unstable_legacy-backwards")&&U!==void 0&&U!==null&&U!==!1)if(k5(U)){for(z=0;z<U.length;z++)if(!YH(U[z],z))break $}else if(z=Y0(U),typeof z==="function"){if(z=z.call(U))for(var A=z.next(),N=0;!A.done;A=z.next()){if(!YH(A.value,N))break $;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($,G,U,X),g0?(k4(),U=y$):U=0,!Y&&$!==null&&($.flags&128)!==0)$:for($=G.child;$!==null;){if($.tag===13)$.memoizedState!==null&&rH($,X,G);else if($.tag===19)rH($,X,G);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===G)break $;for(;$.sibling===null;){if($.return===null||$.return===G)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(Z){case"forwards":X=G.child;for(Z=null;X!==null;)$=X.alternate,$!==null&&z9($)===null&&(Z=X),X=X.sibling;X=Z,X===null?(Z=G.child,G.child=null):(Z=X.sibling,X.sibling=null),f3(G,!1,Z,X,J,U);break;case"backwards":case"unstable_legacy-backwards":X=null,Z=G.child;for(G.child=null;Z!==null;){if($=Z.alternate,$!==null&&z9($)===null){G.child=Z;break}$=Z.sibling,Z.sibling=X,X=Z,Z=$}f3(G,!0,X,null,J,U);break;case"together":f3(G,!1,null,null,void 0,U);break;default:G.memoizedState=null}return G.child}function B4($,G,X){if($!==null&&(G.dependencies=$.dependencies),B1=-1,H6|=G.lanes,(X&G.childLanes)===0)if($!==null){if(S8($,G,X,!1),(X&G.childLanes)===0)return null}else return null;if($!==null&&G.child!==$.child)throw Error("Resuming work not yet implemented.");if(G.child!==null){$=G.child,X=X4($,$.pendingProps),G.child=X;for(X.return=G;$.sibling!==null;)$=$.sibling,X=X.sibling=X4($,$.pendingProps),X.return=G;X.sibling=null}return G.child}function h3($,G){if(($.lanes&G)!==0)return!0;return $=$.dependencies,$!==null&&tG($)?!0:!1}function HK($,G,X){switch(G.tag){case 3:u(G,G.stateNode.containerInfo),g4(G,q5,$.memoizedState.cache),g6();break;case 27:case 5:p0(G);break;case 4:u(G,G.stateNode.containerInfo);break;case 10:g4(G,G.type,G.memoizedProps.value);break;case 12:(X&G.childLanes)!==0&&(G.flags|=4),G.flags|=2048;var Y=G.stateNode;Y.effectDuration=-0,Y.passiveEffectDuration=-0;break;case 31:if(G.memoizedState!==null)return G.flags|=128,$3(G),null;break;case 13:if(Y=G.memoizedState,Y!==null){if(Y.dehydrated!==null)return h4(G),G.flags|=128,null;if((X&G.child.childLanes)!==0)return oH($,G,X);return h4(G),$=B4($,G,X),$!==null?$.sibling:null}h4(G);break;case 19:var Z=($.flags&128)!==0;if(Y=(X&G.childLanes)!==0,Y||(S8($,G,X,!1),Y=(X&G.childLanes)!==0),Z){if(Y)return tH($,G,X);G.flags|=128}if(Z=G.memoizedState,Z!==null&&(Z.rendering=null,Z.tail=null,Z.lastEffect=null),K0(P5,P5.current,G),Y)break;else return null;case 22:return G.lanes=0,lH($,G,X,G.pendingProps);case 24:g4(G,q5,$.memoizedState.cache)}return B4($,G,X)}function y3($,G,X){if(G._debugNeedsRemount&&$!==null){X=bY(G.type,G.key,G.pendingProps,G._debugOwner||null,G.mode,G.lanes),X._debugStack=G._debugStack,X._debugTask=G._debugTask;var Y=G.return;if(Y===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,G.alternate=null,X.index=G.index,X.sibling=G.sibling,X.return=G.return,X.ref=G.ref,X._debugInfo=G._debugInfo,G===Y.child)Y.child=X;else{var Z=Y.child;if(Z===null)throw Error("Expected parent to have a child.");for(;Z.sibling!==G;)if(Z=Z.sibling,Z===null)throw Error("Expected to find the previous sibling.");Z.sibling=X}return G=Y.deletions,G===null?(Y.deletions=[$],Y.flags|=16):G.push($),X.flags|=2,X}if($!==null)if($.memoizedProps!==G.pendingProps||G.type!==$.type)C5=!0;else{if(!h3($,X)&&(G.flags&128)===0)return C5=!1,HK($,G,X);C5=($.flags&131072)!==0?!0:!1}else{if(C5=!1,Y=g0)k4(),Y=(G.flags&1048576)!==0;Y&&(Y=G.index,k4(),mU(G,y$,Y))}switch(G.lanes=0,G.tag){case 16:$:if(Y=G.pendingProps,$=b4(G.elementType),G.type=$,typeof $==="function")gY($)?(Y=d6($,Y),G.tag=1,G.type=$=S6($),G=aH(null,G,$,Y,X)):(G.tag=0,k3(G,$),G.type=$=S6($),G=S3(null,G,$,Y,X));else{if($!==void 0&&$!==null){if(Z=$.$$typeof,Z===D$){G.tag=11,G.type=$=vY($),G=dH(null,G,$,Y,X);break $}else if(Z===c9){G.tag=14,G=uH(null,G,$,Y,X);break $}}throw G="",$!==null&&typeof $==="object"&&$.$$typeof===S1&&(G=" Did you wrap a component in React.lazy() more than once?"),X=e($)||$,Error("Element type is invalid. Received a promise that resolves to: "+X+". Lazy element type must resolve to a class or function."+G)}return G;case 0:return S3($,G,G.type,G.pendingProps,X);case 1:return Y=G.type,Z=d6(Y,G.pendingProps),aH($,G,Y,Z,X);case 3:$:{if(u(G,G.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");Y=G.pendingProps;var J=G.memoizedState;Z=J.element,rY($,G),U$(G,Y,null,X);var U=G.memoizedState;if(Y=U.cache,g4(G,q5,Y),Y!==J.cache&&lY(G,[q5],X,!0),B$(),Y=U.element,J.isDehydrated)if(J={element:Y,isDehydrated:!1,cache:U.cache},G.updateQueue.baseState=J,G.memoizedState=J,G.flags&256){G=nH($,G,Y,X);break $}else if(Y!==Z){Z=q1(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),G),$$(Z),G=nH($,G,Y,X);break $}else{switch($=G.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}z5=x1($.firstChild),s5=G,g0=!0,e4=null,p2=!1,g1=null,a1=!0,X=_A(G,null,Y,X);for(G.child=X;X;)X.flags=X.flags&-3|4096,X=X.sibling}else{if(g6(),Y===Z){G=B4($,G,X);break $}p5($,G,Y,X)}G=G.child}return G;case 26:return V9($,G),$===null?(X=PW(G.type,null,G.pendingProps,null))?G.memoizedState=X:g0||(X=G.type,$=G.pendingProps,Y=N5(s4.current),Y=g9(Y).createElement(X),Y[c5]=G,Y[Y1]=$,l5(Y,X,$),H0(Y),G.stateNode=Y):G.memoizedState=PW(G.type,$.memoizedProps,G.pendingProps,$.memoizedState),null;case 27:return p0(G),$===null&&g0&&(Y=N5(s4.current),Z=W0(),Y=G.stateNode=TW(G.type,G.pendingProps,Y,Z,!1),p2||(Z=zW(Y,G.type,G.pendingProps,Z),Z!==null&&(v6(G,0).serverProps=Z)),s5=G,a1=!0,Z=z5,l4(G.type)?(aJ=Z,z5=x1(Y.firstChild)):z5=Z),p5($,G,G.pendingProps.children,X),V9($,G),$===null&&(G.flags|=4194304),G.child;case 5:return $===null&&g0&&(J=W0(),Y=qY(G.type,J.ancestorInfo),Z=z5,(U=!Z)||(U=oK(Z,G.type,G.pendingProps,a1),U!==null?(G.stateNode=U,p2||(J=zW(U,G.type,G.pendingProps,J),J!==null&&(v6(G,0).serverProps=J)),s5=G,z5=x1(U.firstChild),a1=!1,J=!0):J=!1,U=!J),U&&(Y&&oG(G,Z),v4(G))),p0(G),Z=G.type,J=G.pendingProps,U=$!==null?$.memoizedProps:null,Y=J.children,_Z(Z,J)?Y=null:U!==null&&_Z(Z,U)&&(G.flags|=32),G.memoizedState!==null&&(Z=X3($,G,$K,null,null,X),FG._currentValue=Z),V9($,G),p5($,G,Y,X),G.child;case 6:return $===null&&g0&&(X=G.pendingProps,$=W0(),Y=$.ancestorInfo.current,X=Y!=null?yG(X,Y.tag,$.ancestorInfo.implicitRootScope):!0,$=z5,(Y=!$)||(Y=rK($,G.pendingProps,a1),Y!==null?(G.stateNode=Y,s5=G,z5=null,Y=!0):Y=!1,Y=!Y),Y&&(X&&oG(G,$),v4(G))),null;case 13:return oH($,G,X);case 4:return u(G,G.stateNode.containerInfo),Y=G.pendingProps,$===null?G.child=$8(G,null,Y,X):p5($,G,Y,X),G.child;case 11:return dH($,G,G.type,G.pendingProps,X);case 7:return p5($,G,G.pendingProps,X),G.child;case 8:return p5($,G,G.pendingProps.children,X),G.child;case 12:return G.flags|=4,G.flags|=2048,Y=G.stateNode,Y.effectDuration=-0,Y.passiveEffectDuration=-0,p5($,G,G.pendingProps.children,X),G.child;case 10:return Y=G.type,Z=G.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?")),g4(G,Y,J),p5($,G,Z.children,X),G.child;case 9:return Z=G.type._context,Y=G.pendingProps.children,typeof Y!=="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."),b6(G),Z=_5(Z),Y=AJ(Y,Z,void 0),G.flags|=1,p5($,G,Y,X),G.child;case 14:return uH($,G,G.type,G.pendingProps,X);case 15:return pH($,G,G.type,G.pendingProps,X);case 19:return tH($,G,X);case 31:return UK($,G,X);case 22:return lH($,G,X,G.pendingProps);case 24:return b6(G),Y=_5(q5),$===null?(Z=aY(),Z===null&&(Z=Y5,J=cY(),Z.pooledCache=J,m6(J),J!==null&&(Z.pooledCacheLanes|=X),Z=J),G.memoizedState={parent:Y,cache:Z},oY(G),g4(G,q5,Z)):(($.lanes&X)!==0&&(rY($,G),U$(G,null,null,X),B$()),Z=$.memoizedState,J=G.memoizedState,Z.parent!==Y?(Z={parent:Y,cache:Y},G.memoizedState=Z,G.lanes===0&&(G.memoizedState=G.updateQueue.baseState=Z),g4(G,q5,Y)):(Y=J.cache,g4(G,q5,Y),Y!==Z.cache&&lY(G,[q5],X,!0))),p5($,G,G.pendingProps.children,X),G.child;case 29:throw G.pendingProps}throw Error("Unknown unit of work tag ("+G.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function U4($){$.flags|=4}function d3($,G,X,Y,Z){if(G=($.mode&EM)!==Q0)G=!1;if(G){if($.flags|=16777216,(Z&335544128)===Z)if($.stateNode.complete)$.flags|=8192;else if(xz())$.flags|=8192;else throw e6=wX,NJ}else $.flags&=-16777217}function eH($,G){if(G.type!=="stylesheet"||(G.state.loading&e1)!==_8)$.flags&=-16777217;else if($.flags|=16777216,!EW(G))if(xz())$.flags|=8192;else throw e6=wX,NJ}function q9($,G){G!==null&&($.flags|=4),$.flags&16384&&(G=$.tag!==22?q8():536870912,$.lanes|=G,J8|=G)}function A$($,G){if(!g0)switch($.tailMode){case"hidden":G=$.tail;for(var X=null;G!==null;)G.alternate!==null&&(X=G),G=G.sibling;X===null?$.tail=null:X.sibling=null;break;case"collapsed":X=$.tail;for(var Y=null;X!==null;)X.alternate!==null&&(Y=X),X=X.sibling;Y===null?G||$.tail===null?$.tail=null:$.tail.sibling=null:Y.sibling=null}}function B5($){var G=$.alternate!==null&&$.alternate.child===$.child,X=0,Y=0;if(G)if(($.mode&q0)!==Q0){for(var{selfBaseDuration:Z,child:J}=$;J!==null;)X|=J.lanes|J.childLanes,Y|=J.subtreeFlags&65011712,Y|=J.flags&65011712,Z+=J.treeBaseDuration,J=J.sibling;$.treeBaseDuration=Z}else for(Z=$.child;Z!==null;)X|=Z.lanes|Z.childLanes,Y|=Z.subtreeFlags&65011712,Y|=Z.flags&65011712,Z.return=$,Z=Z.sibling;else if(($.mode&q0)!==Q0){Z=$.actualDuration,J=$.selfBaseDuration;for(var U=$.child;U!==null;)X|=U.lanes|U.childLanes,Y|=U.subtreeFlags,Y|=U.flags,Z+=U.actualDuration,J+=U.treeBaseDuration,U=U.sibling;$.actualDuration=Z,$.treeBaseDuration=J}else for(Z=$.child;Z!==null;)X|=Z.lanes|Z.childLanes,Y|=Z.subtreeFlags,Y|=Z.flags,Z.return=$,Z=Z.sibling;return $.subtreeFlags|=Y,$.childLanes=X,G}function zK($,G,X){var Y=G.pendingProps;switch(yY(G),G.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return B5(G),null;case 1:return B5(G),null;case 3:if(X=G.stateNode,Y=null,$!==null&&(Y=$.memoizedState.cache),G.memoizedState.cache!==Y&&(G.flags|=2048),Z4(q5,G),_0(G),X.pendingContext&&(X.context=X.pendingContext,X.pendingContext=null),$===null||$.child===null)x8(G)?(uY(),U4(G)):$===null||$.memoizedState.isDehydrated&&(G.flags&256)===0||(G.flags|=1024,dY());return B5(G),null;case 26:var{type:Z,memoizedState:J}=G;return $===null?(U4(G),J!==null?(B5(G),eH(G,J)):(B5(G),d3(G,Z,null,Y,X))):J?J!==$.memoizedState?(U4(G),B5(G),eH(G,J)):(B5(G),G.flags&=-16777217):($=$.memoizedProps,$!==Y&&U4(G),B5(G),d3(G,Z,$,Y,X)),null;case 27:if(l0(G),X=N5(s4.current),Z=G.type,$!==null&&G.stateNode!=null)$.memoizedProps!==Y&&U4(G);else{if(!Y){if(G.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 B5(G),null}$=W0(),x8(G)?dU(G,$):($=TW(Z,Y,X,$,!0),G.stateNode=$,U4(G))}return B5(G),null;case 5:if(l0(G),Z=G.type,$!==null&&G.stateNode!=null)$.memoizedProps!==Y&&U4(G);else{if(!Y){if(G.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 B5(G),null}var U=W0();if(x8(G))dU(G,U);else{switch(J=N5(s4.current),qY(Z,U.ancestorInfo),U=U.context,J=g9(J),U){case D7:J=J.createElementNS(r8,Z);break;case pX:J=J.createElementNS(t9,Z);break;default:switch(Z){case"svg":J=J.createElementNS(r8,Z);break;case"math":J=J.createElementNS(t9,Z);break;case"script":J=J.createElement("div"),J.innerHTML="<script></script>",J=J.removeChild(J.firstChild);break;case"select":J=typeof Y.is==="string"?J.createElement("select",{is:Y.is}):J.createElement("select"),Y.multiple?J.multiple=!0:Y.size&&(J.size=Y.size);break;default:J=typeof Y.is==="string"?J.createElement(Z,{is:Y.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]"||z2.call(UL,Z)||(UL[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]=G,J[Y1]=Y;$:for(U=G.child;U!==null;){if(U.tag===5||U.tag===6)J.appendChild(U.stateNode);else if(U.tag!==4&&U.tag!==27&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===G)break $;for(;U.sibling===null;){if(U.return===null||U.return===G)break $;U=U.return}U.sibling.return=U.return,U=U.sibling}G.stateNode=J;$:switch(l5(J,Z,Y),Z){case"button":case"input":case"select":case"textarea":Y=!!Y.autoFocus;break $;case"img":Y=!0;break $;default:Y=!1}Y&&U4(G)}}return B5(G),d3(G,G.type,$===null?null:$.memoizedProps,G.pendingProps,X),null;case 6:if($&&G.stateNode!=null)$.memoizedProps!==Y&&U4(G);else{if(typeof Y!=="string"&&G.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($=N5(s4.current),X=W0(),x8(G)){if($=G.stateNode,X=G.memoizedProps,Z=!p2,Y=null,J=s5,J!==null)switch(J.tag){case 3:Z&&(Z=FW($,X,Y),Z!==null&&(v6(G,0).serverProps=Z));break;case 27:case 5:Y=J.memoizedProps,Z&&(Z=FW($,X,Y),Z!==null&&(v6(G,0).serverProps=Z))}$[c5]=G,$=$.nodeValue===X||Y!==null&&Y.suppressHydrationWarning===!0||ZW($.nodeValue,X)?!0:!1,$||v4(G,!0)}else Z=X.ancestorInfo.current,Z!=null&&yG(Y,Z.tag,X.ancestorInfo.implicitRootScope),$=g9($).createTextNode(Y),$[c5]=G,G.stateNode=$}return B5(G),null;case 31:if(X=G.memoizedState,$===null||$.memoizedState!==null){if(Y=x8(G),X!==null){if($===null){if(!Y)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=G.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[c5]=G,B5(G),(G.mode&q0)!==Q0&&X!==null&&($=G.child,$!==null&&(G.treeBaseDuration-=$.treeBaseDuration))}else uY(),g6(),(G.flags&128)===0&&(X=G.memoizedState=null),G.flags|=4,B5(G),(G.mode&q0)!==Q0&&X!==null&&($=G.child,$!==null&&(G.treeBaseDuration-=$.treeBaseDuration));$=!1}else X=dY(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=X),$=!0;if(!$){if(G.flags&256)return C1(G),G;return C1(G),null}if((G.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return B5(G),null;case 13:if(Y=G.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(Z=Y,J=x8(G),Z!==null&&Z.dehydrated!==null){if($===null){if(!J)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(J=G.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]=G,B5(G),(G.mode&q0)!==Q0&&Z!==null&&(Z=G.child,Z!==null&&(G.treeBaseDuration-=Z.treeBaseDuration))}else uY(),g6(),(G.flags&128)===0&&(Z=G.memoizedState=null),G.flags|=4,B5(G),(G.mode&q0)!==Q0&&Z!==null&&(Z=G.child,Z!==null&&(G.treeBaseDuration-=Z.treeBaseDuration));Z=!1}else Z=dY(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=Z),Z=!0;if(!Z){if(G.flags&256)return C1(G),G;return C1(G),null}}if(C1(G),(G.flags&128)!==0)return G.lanes=X,(G.mode&q0)!==Q0&&Y$(G),G;return X=Y!==null,$=$!==null&&$.memoizedState!==null,X&&(Y=G.child,Z=null,Y.alternate!==null&&Y.alternate.memoizedState!==null&&Y.alternate.memoizedState.cachePool!==null&&(Z=Y.alternate.memoizedState.cachePool.pool),J=null,Y.memoizedState!==null&&Y.memoizedState.cachePool!==null&&(J=Y.memoizedState.cachePool.pool),J!==Z&&(Y.flags|=2048)),X!==$&&X&&(G.child.flags|=8192),q9(G,G.updateQueue),B5(G),(G.mode&q0)!==Q0&&X&&($=G.child,$!==null&&(G.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return _0(G),$===null&&ZZ(G.stateNode.containerInfo),B5(G),null;case 10:return Z4(G.type,G),B5(G),null;case 19:if(I0(P5,G),Y=G.memoizedState,Y===null)return B5(G),null;if(Z=(G.flags&128)!==0,J=Y.rendering,J===null)if(Z)A$(Y,!1);else{if(K5!==I4||$!==null&&($.flags&128)!==0)for($=G.child;$!==null;){if(J=z9($),J!==null){G.flags|=128,A$(Y,!1),$=J.updateQueue,G.updateQueue=$,q9(G,$),G.subtreeFlags=0,$=X;for(X=G.child;X!==null;)gU(X,$),X=X.sibling;return K0(P5,P5.current&Q7|GG,G),g0&&Y4(G,Y.treeForkCount),G.child}$=$.sibling}Y.tail!==null&&f5()>jX&&(G.flags|=128,Z=!0,A$(Y,!1),G.lanes=4194304)}else{if(!Z)if($=z9(J),$!==null){if(G.flags|=128,Z=!0,$=$.updateQueue,G.updateQueue=$,q9(G,$),A$(Y,!0),Y.tail===null&&Y.tailMode==="hidden"&&!J.alternate&&!g0)return B5(G),null}else 2*f5()-Y.renderingStartTime>jX&&X!==536870912&&(G.flags|=128,Z=!0,A$(Y,!1),G.lanes=4194304);Y.isBackwards?(J.sibling=G.child,G.child=J):($=Y.last,$!==null?$.sibling=J:G.child=J,Y.last=J)}if(Y.tail!==null)return $=Y.tail,Y.rendering=$,Y.tail=$.sibling,Y.renderingStartTime=f5(),$.sibling=null,X=P5.current,X=Z?X&Q7|GG:X&Q7,K0(P5,X,G),g0&&Y4(G,Y.treeForkCount),$;return B5(G),null;case 22:case 23:return C1(G),eY(G),Y=G.memoizedState!==null,$!==null?$.memoizedState!==null!==Y&&(G.flags|=8192):Y&&(G.flags|=8192),Y?(X&536870912)!==0&&(G.flags&128)===0&&(B5(G),G.subtreeFlags&6&&(G.flags|=8192)):B5(G),X=G.updateQueue,X!==null&&q9(G,X.retryQueue),X=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(X=$.memoizedState.cachePool.pool),Y=null,G.memoizedState!==null&&G.memoizedState.cachePool!==null&&(Y=G.memoizedState.cachePool.pool),Y!==X&&(G.flags|=2048),$!==null&&I0(r6,G),null;case 24:return X=null,$!==null&&(X=$.memoizedState.cache),G.memoizedState.cache!==X&&(G.flags|=2048),Z4(q5,G),B5(G),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+G.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function WK($,G){switch(yY(G),G.tag){case 1:return $=G.flags,$&65536?(G.flags=$&-65537|128,(G.mode&q0)!==Q0&&Y$(G),G):null;case 3:return Z4(q5,G),_0(G),$=G.flags,($&65536)!==0&&($&128)===0?(G.flags=$&-65537|128,G):null;case 26:case 27:case 5:return l0(G),null;case 31:if(G.memoizedState!==null){if(C1(G),G.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");g6()}return $=G.flags,$&65536?(G.flags=$&-65537|128,(G.mode&q0)!==Q0&&Y$(G),G):null;case 13:if(C1(G),$=G.memoizedState,$!==null&&$.dehydrated!==null){if(G.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");g6()}return $=G.flags,$&65536?(G.flags=$&-65537|128,(G.mode&q0)!==Q0&&Y$(G),G):null;case 19:return I0(P5,G),null;case 4:return _0(G),null;case 10:return Z4(G.type,G),null;case 22:case 23:return C1(G),eY(G),$!==null&&I0(r6,G),$=G.flags,$&65536?(G.flags=$&-65537|128,(G.mode&q0)!==Q0&&Y$(G),G):null;case 24:return Z4(q5,G),null;case 25:return null;default:return null}}function $z($,G){switch(yY(G),G.tag){case 3:Z4(q5,G),_0(G);break;case 26:case 27:case 5:l0(G);break;case 4:_0(G);break;case 31:G.memoizedState!==null&&C1(G);break;case 13:C1(G);break;case 19:I0(P5,G);break;case 10:Z4(G.type,G);break;case 22:case 23:C1(G),eY(G),$!==null&&I0(r6,G);break;case 24:Z4(q5,G)}}function j2($){return($.mode&q0)!==Q0}function Gz($,G){j2($)?(C2(),L$(G,$),E2()):L$(G,$)}function u3($,G,X){j2($)?(C2(),m8(X,$,G),E2()):m8(X,$,G)}function L$($,G){try{var X=G.updateQueue,Y=X!==null?X.lastEffect:null;if(Y!==null){var Z=Y.next;X=Z;do{if((X.tag&$)===$&&(Y=void 0,($&U1)!==FX&&(V7=!0),Y=r(G,kM,X),($&U1)!==FX&&(V7=!1),Y!==void 0&&typeof Y!=="function")){var J=void 0;J=(X.tag&m1)!==0?"useLayoutEffect":(X.tag&U1)!==0?"useInsertionEffect":"useEffect";var U=void 0;U=Y===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof Y.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: "+Y,r(G,function(z,A){console.error("%s must not return anything besides a function, which is used for clean-up.%s",z,A)},J,U)}X=X.next}while(X!==Z)}}catch(z){c0(G,G.return,z)}}function m8($,G,X){try{var Y=G.updateQueue,Z=Y!==null?Y.lastEffect:null;if(Z!==null){var J=Z.next;Y=J;do{if((Y.tag&$)===$){var U=Y.inst,z=U.destroy;z!==void 0&&(U.destroy=void 0,($&U1)!==FX&&(V7=!0),Z=G,r(Z,vM,Z,X,z),($&U1)!==FX&&(V7=!1))}Y=Y.next}while(Y!==J)}}catch(A){c0(G,G.return,A)}}function Xz($,G){j2($)?(C2(),L$(G,$),E2()):L$(G,$)}function p3($,G,X){j2($)?(C2(),m8(X,$,G),E2()):m8(X,$,G)}function Yz($){var G=$.updateQueue;if(G!==null){var X=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||F7||(X.props!==$.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($)||"instance"),X.state!==$.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($)||"instance"));try{r($,JH,G,X)}catch(Y){c0($,$.return,Y)}}}function _K($,G,X){return $.getSnapshotBeforeUpdate(G,X)}function AK($,G){var{memoizedProps:X,memoizedState:Y}=G;G=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||F7||(G.props!==$.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($)||"instance"),G.state!==$.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($)||"instance"));try{var Z=d6($.type,X),J=r($,_K,G,Z,Y);X=fA,J!==void 0||X.has($.type)||(X.add($.type),r($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",p($))})),G.__reactInternalSnapshotBeforeUpdate=J}catch(U){c0($,$.return,U)}}function Zz($,G,X){X.props=d6($.type,$.memoizedProps),X.state=$.memoizedState,j2($)?(C2(),r($,YA,$,G,X),E2()):r($,YA,$,G,X)}function LK($){var G=$.ref;if(G!==null){switch($.tag){case 26:case 27:case 5:var X=$.stateNode;break;case 30:X=$.stateNode;break;default:X=$.stateNode}if(typeof G==="function")if(j2($))try{C2(),$.refCleanup=G(X)}finally{E2()}else $.refCleanup=G(X);else typeof G==="string"?console.error("String refs are no longer supported."):G.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",p($)),G.current=X}}function N$($,G){try{r($,LK,$)}catch(X){c0($,G,X)}}function x2($,G){var{ref:X,refCleanup:Y}=$;if(X!==null)if(typeof Y==="function")try{if(j2($))try{C2(),r($,Y)}finally{E2($)}else r($,Y)}catch(Z){c0($,G,Z)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof X==="function")try{if(j2($))try{C2(),r($,X,null)}finally{E2($)}else r($,X,null)}catch(Z){c0($,G,Z)}else X.current=null}function Jz($,G,X,Y){var Z=$.memoizedProps,J=Z.id,U=Z.onCommit;Z=Z.onRender,G=G===null?"mount":"update",LX&&(G="nested-update"),typeof Z==="function"&&Z(J,G,$.actualDuration,$.treeBaseDuration,$.actualStartTime,X),typeof U==="function"&&U(J,G,Y,X)}function NK($,G,X,Y){var Z=$.memoizedProps;$=Z.id,Z=Z.onPostCommit,G=G===null?"mount":"update",LX&&(G="nested-update"),typeof Z==="function"&&Z($,G,Y,X)}function Bz($){var{type:G,memoizedProps:X,stateNode:Y}=$;try{r($,fK,Y,G,X,$)}catch(Z){c0($,$.return,Z)}}function l3($,G,X){try{r($,yK,$.stateNode,$.type,X,G,$)}catch(Y){c0($,$.return,Y)}}function Uz($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&l4($.type)||$.tag===4}function c3($){$:for(;;){for(;$.sibling===null;){if($.return===null||Uz($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&l4($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function s3($,G,X){var Y=$.tag;if(Y===5||Y===6)$=$.stateNode,G?(NW(X),(X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X).insertBefore($,G)):(NW(X),G=X.nodeType===9?X.body:X.nodeName==="HTML"?X.ownerDocument.body:X,G.appendChild($),X=X._reactRootContainer,X!==null&&X!==void 0||G.onclick!==null||(G.onclick=G4));else if(Y!==4&&(Y===27&&l4($.type)&&(X=$.stateNode,G=null),$=$.child,$!==null))for(s3($,G,X),$=$.sibling;$!==null;)s3($,G,X),$=$.sibling}function D9($,G,X){var Y=$.tag;if(Y===5||Y===6)$=$.stateNode,G?X.insertBefore($,G):X.appendChild($);else if(Y!==4&&(Y===27&&l4($.type)&&(X=$.stateNode),$=$.child,$!==null))for(D9($,G,X),$=$.sibling;$!==null;)D9($,G,X),$=$.sibling}function QK($){for(var G,X=$.return;X!==null;){if(Uz(X)){G=X;break}X=X.return}if(G==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(G.tag){case 27:G=G.stateNode,X=c3($),D9($,X,G);break;case 5:X=G.stateNode,G.flags&32&&(LW(X),G.flags&=-33),G=c3($),D9($,G,X);break;case 3:case 4:G=G.stateNode.containerInfo,X=c3($),s3($,X,G);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Hz($){var{stateNode:G,memoizedProps:X}=$;try{r($,Xw,$.type,X,G,$)}catch(Y){c0($,$.return,Y)}}function zz($,G){return G.tag===31?(G=G.memoizedState,$.memoizedState!==null&&G===null):G.tag===13?($=$.memoizedState,G=G.memoizedState,$!==null&&$.dehydrated!==null&&(G===null||G.dehydrated===null)):G.tag===3?$.memoizedState.isDehydrated&&(G.flags&256)===0:!1}function KK($,G){if($=$.containerInfo,cJ=iX,$=OU($),CY($)){if("selectionStart"in $)var X={start:$.selectionStart,end:$.selectionEnd};else $:{X=(X=$.ownerDocument)&&X.defaultView||window;var Y=X.getSelection&&X.getSelection();if(Y&&Y.rangeCount!==0){X=Y.anchorNode;var{anchorOffset:Z,focusNode:J}=Y;Y=Y.focusOffset;try{X.nodeType,J.nodeType}catch(c){X=null;break $}var U=0,z=-1,A=-1,N=0,q=0,D=$,I=null;G:for(;;){for(var k;;){if(D!==X||Z!==0&&D.nodeType!==3||(z=U+Z),D!==J||Y!==0&&D.nodeType!==3||(A=U+Y),D.nodeType===3&&(U+=D.nodeValue.length),(k=D.firstChild)===null)break;I=D,D=k}for(;;){if(D===$)break G;if(I===X&&++N===Z&&(z=U),I===J&&++q===Y&&(A=U),(k=D.nextSibling)!==null)break;D=I,I=D.parentNode}D=k}X=z===-1||A===-1?null:{start:z,end:A}}else X=null}X=X||{start:0,end:0}}else X=null;sJ={focusedElem:$,selectionRange:X},iX=!1;for(y5=G;y5!==null;)if(G=y5,$=G.child,(G.subtreeFlags&1028)!==0&&$!==null)$.return=G,y5=$;else for(;y5!==null;){switch($=G=y5,X=$.alternate,Z=$.flags,$.tag){case 0:if((Z&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(X=0;X<$.length;X++)Z=$[X],Z.ref.impl=Z.nextImpl;break;case 11:case 15:break;case 1:(Z&1024)!==0&&X!==null&&AK($,X);break;case 3:if((Z&1024)!==0){if($=$.stateNode.containerInfo,X=$.nodeType,X===9)AZ($);else if(X===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":AZ($);break;default:$.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($=G.sibling,$!==null){$.return=G.return,y5=$;break}y5=G.return}}function Wz($,G,X){var Y=D1(),Z=V2(),J=q2(),U=D2(),z=X.flags;switch(X.tag){case 0:case 11:case 15:S2($,X),z&4&&Gz(X,m1|r1);break;case 1:if(S2($,X),z&4)if($=X.stateNode,G===null)X.type.defaultProps||"ref"in X.memoizedProps||F7||($.props!==X.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(X)||"instance"),$.state!==X.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(X)||"instance")),j2(X)?(C2(),r(X,LJ,X,$),E2()):r(X,LJ,X,$);else{var A=d6(X.type,G.memoizedProps);G=G.memoizedState,X.type.defaultProps||"ref"in X.memoizedProps||F7||($.props!==X.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(X)||"instance"),$.state!==X.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(X)||"instance")),j2(X)?(C2(),r(X,$A,X,$,A,G,$.__reactInternalSnapshotBeforeUpdate),E2()):r(X,$A,X,$,A,G,$.__reactInternalSnapshotBeforeUpdate)}z&64&&Yz(X),z&512&&N$(X,X.return);break;case 3:if(G=J4(),S2($,X),z&64&&(z=X.updateQueue,z!==null)){if(A=null,X.child!==null)switch(X.child.tag){case 27:case 5:A=X.child.stateNode;break;case 1:A=X.child.stateNode}try{r(X,JH,z,A)}catch(q){c0(X,X.return,q)}}$.effectDuration+=$9(G);break;case 27:G===null&&z&4&&Hz(X);case 26:case 5:if(S2($,X),G===null){if(z&4)Bz(X);else if(z&64){$=X.type,G=X.memoizedProps,A=X.stateNode;try{r(X,hK,A,$,G,X)}catch(q){c0(X,X.return,q)}}}z&512&&N$(X,X.return);break;case 12:if(z&4){z=J4(),S2($,X),$=X.stateNode,$.effectDuration+=X$(z);try{r(X,Jz,X,G,$6,$.effectDuration)}catch(q){c0(X,X.return,q)}}else S2($,X);break;case 31:S2($,X),z&4&&Lz($,X);break;case 13:S2($,X),z&4&&Nz($,X),z&64&&($=X.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(z=OK.bind(null,X),tK($,z))));break;case 22:if(z=X.memoizedState!==null||T4,!z){G=G!==null&&G.memoizedState!==null||j5,A=T4;var N=j5;T4=z,(j5=G)&&!N?(k2($,X,(X.subtreeFlags&8772)!==0),(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&lG(X,z0,L0)):S2($,X),T4=A,j5=N}break;case 30:break;default:S2($,X)}(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&((F5||0.05<Q5)&&I2(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)||T2(X,z0,L0,"Mount"))),E1(Y),O2(Z),A5=J,F5=U}function _z($){var G=$.alternate;G!==null&&($.alternate=null,_z(G)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(G=$.stateNode,G!==null&&i(G)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function H4($,G,X){for(X=X.child;X!==null;)Az($,G,X),X=X.sibling}function Az($,G,X){if(t5&&typeof t5.onCommitFiberUnmount==="function")try{t5.onCommitFiberUnmount(n8,X)}catch(N){h2||(h2=!0,console.error("React instrumentation encountered an error: %o",N))}var Y=D1(),Z=V2(),J=q2(),U=D2();switch(X.tag){case 26:j5||x2(X,G),H4($,G,X),X.memoizedState?X.memoizedState.count--:X.stateNode&&($=X.stateNode,$.parentNode.removeChild($));break;case 27:j5||x2(X,G);var z=x5,A=w1;l4(X.type)&&(x5=X.stateNode,w1=!1),H4($,G,X),r(X,P$,X.stateNode),x5=z,w1=A;break;case 5:j5||x2(X,G);case 6:if(z=x5,A=w1,x5=null,H4($,G,X),x5=z,w1=A,x5!==null)if(w1)try{r(X,pK,x5,X.stateNode)}catch(N){c0(X,G,N)}else try{r(X,uK,x5,X.stateNode)}catch(N){c0(X,G,N)}break;case 18:x5!==null&&(w1?($=x5,QW($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,X.stateNode),c8($)):QW(x5,X.stateNode));break;case 4:z=x5,A=w1,x5=X.stateNode.containerInfo,w1=!0,H4($,G,X),x5=z,w1=A;break;case 0:case 11:case 14:case 15:m8(U1,X,G),j5||u3(X,G,m1),H4($,G,X);break;case 1:j5||(x2(X,G),z=X.stateNode,typeof z.componentWillUnmount==="function"&&Zz(X,G,z)),H4($,G,X);break;case 21:H4($,G,X);break;case 22:j5=(z=j5)||X.memoizedState!==null,H4($,G,X),j5=z;break;default:H4($,G,X)}(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&(F5||0.05<Q5)&&I2(X,z0,L0,Q5,A5),E1(Y),O2(Z),A5=J,F5=U}function Lz($,G){if(G.memoizedState===null&&($=G.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{r(G,$w,$)}catch(X){c0(G,G.return,X)}}}function Nz($,G){if(G.memoizedState===null&&($=G.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{r(G,Gw,$)}catch(X){c0(G,G.return,X)}}function wK($){switch($.tag){case 31:case 13:case 19:var G=$.stateNode;return G===null&&(G=$.stateNode=new hA),G;case 22:return $=$.stateNode,G=$._retryCache,G===null&&(G=$._retryCache=new hA),G;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function E9($,G){var X=wK($);G.forEach(function(Y){if(!X.has(Y)){if(X.add(Y),y2)if(R7!==null&&T7!==null)M$(T7,R7);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var Z=qK.bind(null,$,Y);Y.then(Z,Z)}})}function Q1($,G){var X=G.deletions;if(X!==null)for(var Y=0;Y<X.length;Y++){var Z=$,J=G,U=X[Y],z=D1(),A=J;$:for(;A!==null;){switch(A.tag){case 27:if(l4(A.type)){x5=A.stateNode,w1=!1;break $}break;case 5:x5=A.stateNode,w1=!1;break $;case 3:case 4:x5=A.stateNode.containerInfo,w1=!0;break $}A=A.return}if(x5===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,U),x5=null,w1=!1,(U.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&T2(U,z0,L0,"Unmount"),E1(z),Z=U,J=Z.alternate,J!==null&&(J.return=null),Z.return=null}if(G.subtreeFlags&13886)for(G=G.child;G!==null;)Qz(G,$),G=G.sibling}function Qz($,G){var X=D1(),Y=V2(),Z=q2(),J=D2(),U=$.alternate,z=$.flags;switch($.tag){case 0:case 11:case 14:case 15:Q1(G,$),K1($),z&4&&(m8(U1|r1,$,$.return),L$(U1|r1,$),u3($,$.return,m1|r1));break;case 1:if(Q1(G,$),K1($),z&512&&(j5||U===null||x2(U,U.return)),z&64&&T4&&(z=$.updateQueue,z!==null&&(U=z.callbacks,U!==null))){var A=z.shared.hiddenCallbacks;z.shared.hiddenCallbacks=A===null?U:A.concat(U)}break;case 26:if(A=N2,Q1(G,$),K1($),z&512&&(j5||U===null||x2(U,U.return)),z&4){var N=U!==null?U.memoizedState:null;if(z=$.memoizedState,U===null)if(z===null)if($.stateNode===null){$:{z=$.type,U=$.memoizedProps,A=A.ownerDocument||A;G:switch(z){case"title":if(N=A.getElementsByTagName("title")[0],!N||N[j$]||N[c5]||N.namespaceURI===r8||N.hasAttribute("itemprop"))N=A.createElement(z),A.head.insertBefore(N,A.querySelector("head > title"));l5(N,z,U),N[c5]=$,H0(N),z=N;break $;case"link":var q=qW("link","href",A).get(z+(U.href||""));if(q){for(var D=0;D<q.length;D++)if(N=q[D],N.getAttribute("href")===(U.href==null||U.href===""?null:U.href)&&N.getAttribute("rel")===(U.rel==null?null:U.rel)&&N.getAttribute("title")===(U.title==null?null:U.title)&&N.getAttribute("crossorigin")===(U.crossOrigin==null?null:U.crossOrigin)){q.splice(D,1);break G}}N=A.createElement(z),l5(N,z,U),A.head.appendChild(N);break;case"meta":if(q=qW("meta","content",A).get(z+(U.content||""))){for(D=0;D<q.length;D++)if(N=q[D],r0(U.content,"content"),N.getAttribute("content")===(U.content==null?null:""+U.content)&&N.getAttribute("name")===(U.name==null?null:U.name)&&N.getAttribute("property")===(U.property==null?null:U.property)&&N.getAttribute("http-equiv")===(U.httpEquiv==null?null:U.httpEquiv)&&N.getAttribute("charset")===(U.charSet==null?null:U.charSet)){q.splice(D,1);break G}}N=A.createElement(z),l5(N,z,U),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]=$,H0(N),z=N}$.stateNode=z}else DW(A,$.type,$.stateNode);else $.stateNode=OW(A,z,$.memoizedProps);else N!==z?(N===null?U.stateNode!==null&&(U=U.stateNode,U.parentNode.removeChild(U)):N.count--,z===null?DW(A,$.type,$.stateNode):OW(A,z,$.memoizedProps)):z===null&&$.stateNode!==null&&l3($,$.memoizedProps,U.memoizedProps)}break;case 27:Q1(G,$),K1($),z&512&&(j5||U===null||x2(U,U.return)),U!==null&&z&4&&l3($,$.memoizedProps,U.memoizedProps);break;case 5:if(Q1(G,$),K1($),z&512&&(j5||U===null||x2(U,U.return)),$.flags&32){A=$.stateNode;try{r($,LW,A)}catch(n){c0($,$.return,n)}}z&4&&$.stateNode!=null&&(A=$.memoizedProps,l3($,A,U!==null?U.memoizedProps:A)),z&1024&&(qJ=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Q1(G,$),K1($),z&4){if($.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=$.memoizedProps,U=U!==null?U.memoizedProps:z,A=$.stateNode;try{r($,dK,A,U,z)}catch(n){c0($,$.return,n)}}break;case 3:if(A=J4(),lX=null,N=N2,N2=b9(G.containerInfo),Q1(G,$),N2=N,K1($),z&4&&U!==null&&U.memoizedState.isDehydrated)try{r($,eK,G.containerInfo)}catch(n){c0($,$.return,n)}qJ&&(qJ=!1,Kz($)),G.effectDuration+=$9(A);break;case 4:z=N2,N2=b9($.stateNode.containerInfo),Q1(G,$),K1($),N2=z;break;case 12:z=J4(),Q1(G,$),K1($),$.stateNode.effectDuration+=X$(z);break;case 31:Q1(G,$),K1($),z&4&&(z=$.updateQueue,z!==null&&($.updateQueue=null,E9($,z)));break;case 13:Q1(G,$),K1($),$.child.flags&8192&&$.memoizedState!==null!==(U!==null&&U.memoizedState!==null)&&(CX=f5()),z&4&&(z=$.updateQueue,z!==null&&($.updateQueue=null,E9($,z)));break;case 22:A=$.memoizedState!==null;var I=U!==null&&U.memoizedState!==null,k=T4,c=j5;if(T4=k||A,j5=c||I,Q1(G,$),j5=c,T4=k,I&&!A&&!k&&!c&&($.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&lG($,z0,L0),K1($),z&8192)$:for(G=$.stateNode,G._visibility=A?G._visibility&~h$:G._visibility|h$,!A||U===null||I||T4||j5||(u6($),($.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&T2($,z0,L0,"Disconnect")),U=null,G=$;;){if(G.tag===5||G.tag===26){if(U===null){I=U=G;try{N=I.stateNode,A?r(I,cK,N):r(I,aK,I.stateNode,I.memoizedProps)}catch(n){c0(I,I.return,n)}}}else if(G.tag===6){if(U===null){I=G;try{q=I.stateNode,A?r(I,sK,q):r(I,nK,q,I.memoizedProps)}catch(n){c0(I,I.return,n)}}}else if(G.tag===18){if(U===null){I=G;try{D=I.stateNode,A?r(I,lK,D):r(I,iK,I.stateNode)}catch(n){c0(I,I.return,n)}}}else if((G.tag!==22&&G.tag!==23||G.memoizedState===null||G===$)&&G.child!==null){G.child.return=G,G=G.child;continue}if(G===$)break $;for(;G.sibling===null;){if(G.return===null||G.return===$)break $;U===G&&(U=null),G=G.return}U===G&&(U=null),G.sibling.return=G.return,G=G.sibling}z&4&&(z=$.updateQueue,z!==null&&(U=z.retryQueue,U!==null&&(z.retryQueue=null,E9($,U))));break;case 19:Q1(G,$),K1($),z&4&&(z=$.updateQueue,z!==null&&($.updateQueue=null,E9($,z)));break;case 30:break;case 21:break;default:Q1(G,$),K1($)}($.mode&q0)!==Q0&&0<=z0&&0<=L0&&((F5||0.05<Q5)&&I2($,z0,L0,Q5,A5),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<L0-z0&&(zz($.return.alternate,$.return)||T2($,z0,L0,"Mount"))),E1(X),O2(Y),A5=Z,F5=J}function K1($){var G=$.flags;if(G&2){try{r($,QK,$)}catch(X){c0($,$.return,X)}$.flags&=-3}G&4096&&($.flags&=-4097)}function Kz($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var G=$;Kz(G),G.tag===5&&G.flags&1024&&G.stateNode.reset(),$=$.sibling}}function S2($,G){if(G.subtreeFlags&8772)for(G=G.child;G!==null;)Wz($,G.alternate,G),G=G.sibling}function wz($){var G=D1(),X=V2(),Y=q2(),Z=D2();switch($.tag){case 0:case 11:case 14:case 15:u3($,$.return,m1),u6($);break;case 1:x2($,$.return);var J=$.stateNode;typeof J.componentWillUnmount==="function"&&Zz($,$.return,J),u6($);break;case 27:r($,P$,$.stateNode);case 26:case 5:x2($,$.return),u6($);break;case 22:$.memoizedState===null&&u6($);break;case 30:u6($);break;default:u6($)}($.mode&q0)!==Q0&&0<=z0&&0<=L0&&(F5||0.05<Q5)&&I2($,z0,L0,Q5,A5),E1(G),O2(X),A5=Y,F5=Z}function u6($){for($=$.child;$!==null;)wz($),$=$.sibling}function Mz($,G,X,Y){var Z=D1(),J=V2(),U=q2(),z=D2(),A=X.flags;switch(X.tag){case 0:case 11:case 15:k2($,X,Y),Gz(X,m1);break;case 1:if(k2($,X,Y),G=X.stateNode,typeof G.componentDidMount==="function"&&r(X,LJ,X,G),G=X.updateQueue,G!==null){$=X.stateNode;try{r(X,eQ,G,$)}catch(N){c0(X,X.return,N)}}Y&&A&64&&Yz(X),N$(X,X.return);break;case 27:Hz(X);case 26:case 5:k2($,X,Y),Y&&G===null&&A&4&&Bz(X),N$(X,X.return);break;case 12:if(Y&&A&4){A=J4(),k2($,X,Y),Y=X.stateNode,Y.effectDuration+=X$(A);try{r(X,Jz,X,G,$6,Y.effectDuration)}catch(N){c0(X,X.return,N)}}else k2($,X,Y);break;case 31:k2($,X,Y),Y&&A&4&&Lz($,X);break;case 13:k2($,X,Y),Y&&A&4&&Nz($,X);break;case 22:X.memoizedState===null&&k2($,X,Y),N$(X,X.return);break;case 30:break;default:k2($,X,Y)}(X.mode&q0)!==Q0&&0<=z0&&0<=L0&&(F5||0.05<Q5)&&I2(X,z0,L0,Q5,A5),E1(Z),O2(J),A5=U,F5=z}function k2($,G,X){X=X&&(G.subtreeFlags&8772)!==0;for(G=G.child;G!==null;)Mz($,G.alternate,G,X),G=G.sibling}function i3($,G){var X=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(X=$.memoizedState.cachePool.pool),$=null,G.memoizedState!==null&&G.memoizedState.cachePool!==null&&($=G.memoizedState.cachePool.pool),$!==X&&($!=null&&m6($),X!=null&&G$(X))}function a3($,G){$=null,G.alternate!==null&&($=G.alternate.memoizedState.cache),G=G.memoizedState.cache,G!==$&&(m6(G),$!=null&&G$($))}function H2($,G,X,Y,Z){if(G.subtreeFlags&10256||G.actualDuration!==0&&(G.alternate===null||G.alternate.child!==G.child))for(G=G.child;G!==null;){var J=G.sibling;Fz($,G,X,Y,J!==null?J.actualStartTime:Z),G=J}}function Fz($,G,X,Y,Z){var J=D1(),U=V2(),z=q2(),A=D2(),N=o4,q=G.flags;switch(G.tag){case 0:case 11:case 15:(G.mode&q0)!==Q0&&0<G.actualStartTime&&(G.flags&1)!==0&&cG(G,G.actualStartTime,Z,v5,X),H2($,G,X,Y,Z),q&2048&&Xz(G,H1|r1);break;case 1:(G.mode&q0)!==Q0&&0<G.actualStartTime&&((G.flags&128)!==0?xY(G,G.actualStartTime,Z,[]):(G.flags&1)!==0&&cG(G,G.actualStartTime,Z,v5,X)),H2($,G,X,Y,Z);break;case 3:var D=J4(),I=v5;v5=G.alternate!==null&&G.alternate.memoizedState.isDehydrated&&(G.flags&256)===0,H2($,G,X,Y,Z),v5=I,q&2048&&(X=null,G.alternate!==null&&(X=G.alternate.memoizedState.cache),Y=G.memoizedState.cache,Y!==X&&(m6(Y),X!=null&&G$(X))),$.passiveEffectDuration+=$9(D);break;case 12:if(q&2048){q=J4(),H2($,G,X,Y,Z),$=G.stateNode,$.passiveEffectDuration+=X$(q);try{r(G,NK,G,G.alternate,$6,$.passiveEffectDuration)}catch(k){c0(G,G.return,k)}}else H2($,G,X,Y,Z);break;case 31:q=v5,D=G.alternate!==null?G.alternate.memoizedState:null,I=G.memoizedState,D!==null&&I===null?(I=G.deletions,I!==null&&0<I.length&&I[0].tag===18?(v5=!1,D=D.hydrationErrors,D!==null&&xY(G,G.actualStartTime,Z,D)):v5=!0):v5=!1,H2($,G,X,Y,Z),v5=q;break;case 13:q=v5,D=G.alternate!==null?G.alternate.memoizedState:null,I=G.memoizedState,D===null||D.dehydrated===null||I!==null&&I.dehydrated!==null?v5=!1:(I=G.deletions,I!==null&&0<I.length&&I[0].tag===18?(v5=!1,D=D.hydrationErrors,D!==null&&xY(G,G.actualStartTime,Z,D)):v5=!0),H2($,G,X,Y,Z),v5=q;break;case 23:break;case 22:I=G.stateNode,D=G.alternate,G.memoizedState!==null?I._visibility&_4?H2($,G,X,Y,Z):Q$($,G,X,Y,Z):I._visibility&_4?H2($,G,X,Y,Z):(I._visibility|=_4,f8($,G,X,Y,(G.subtreeFlags&10256)!==0||G.actualDuration!==0&&(G.alternate===null||G.alternate.child!==G.child),Z),(G.mode&q0)===Q0||v5||($=G.actualStartTime,0<=$&&0.05<Z-$&&lG(G,$,Z),0<=z0&&0<=L0&&0.05<L0-z0&&lG(G,z0,L0))),q&2048&&i3(D,G);break;case 24:H2($,G,X,Y,Z),q&2048&&a3(G.alternate,G);break;default:H2($,G,X,Y,Z)}if((G.mode&q0)!==Q0){if($=!v5&&G.alternate===null&&G.return!==null&&G.return.alternate!==null)X=G.actualStartTime,0<=X&&0.05<Z-X&&T2(G,X,Z,"Mount");0<=z0&&0<=L0&&((F5||0.05<Q5)&&I2(G,z0,L0,Q5,A5),$&&0.05<L0-z0&&T2(G,z0,L0,"Mount"))}E1(J),O2(U),A5=z,F5=A,o4=N}function f8($,G,X,Y,Z,J){Z=Z&&((G.subtreeFlags&10256)!==0||G.actualDuration!==0&&(G.alternate===null||G.alternate.child!==G.child));for(G=G.child;G!==null;){var U=G.sibling;Rz($,G,X,Y,Z,U!==null?U.actualStartTime:J),G=U}}function Rz($,G,X,Y,Z,J){var U=D1(),z=V2(),A=q2(),N=D2(),q=o4;Z&&(G.mode&q0)!==Q0&&0<G.actualStartTime&&(G.flags&1)!==0&&cG(G,G.actualStartTime,J,v5,X);var D=G.flags;switch(G.tag){case 0:case 11:case 15:f8($,G,X,Y,Z,J),Xz(G,H1);break;case 23:break;case 22:var I=G.stateNode;G.memoizedState!==null?I._visibility&_4?f8($,G,X,Y,Z,J):Q$($,G,X,Y,J):(I._visibility|=_4,f8($,G,X,Y,Z,J)),Z&&D&2048&&i3(G.alternate,G);break;case 24:f8($,G,X,Y,Z,J),Z&&D&2048&&a3(G.alternate,G);break;default:f8($,G,X,Y,Z,J)}(G.mode&q0)!==Q0&&0<=z0&&0<=L0&&(F5||0.05<Q5)&&I2(G,z0,L0,Q5,A5),E1(U),O2(z),A5=A,F5=N,o4=q}function Q$($,G,X,Y,Z){if(G.subtreeFlags&10256||G.actualDuration!==0&&(G.alternate===null||G.alternate.child!==G.child))for(var J=G.child;J!==null;){G=J.sibling;var U=$,z=X,A=Y,N=G!==null?G.actualStartTime:Z,q=o4;(J.mode&q0)!==Q0&&0<J.actualStartTime&&(J.flags&1)!==0&&cG(J,J.actualStartTime,N,v5,z);var D=J.flags;switch(J.tag){case 22:Q$(U,J,z,A,N),D&2048&&i3(J.alternate,J);break;case 24:Q$(U,J,z,A,N),D&2048&&a3(J.alternate,J);break;default:Q$(U,J,z,A,N)}o4=q,J=G}}function h8($,G,X){if($.subtreeFlags&JG)for($=$.child;$!==null;)Tz($,G,X),$=$.sibling}function Tz($,G,X){switch($.tag){case 26:h8($,G,X),$.flags&JG&&$.memoizedState!==null&&Jw(X,N2,$.memoizedState,$.memoizedProps);break;case 5:h8($,G,X);break;case 3:case 4:var Y=N2;N2=b9($.stateNode.containerInfo),h8($,G,X),N2=Y;break;case 22:$.memoizedState===null&&(Y=$.alternate,Y!==null&&Y.memoizedState!==null?(Y=JG,JG=16777216,h8($,G,X),JG=Y):h8($,G,X));break;default:h8($,G,X)}}function Iz($){var G=$.alternate;if(G!==null&&($=G.child,$!==null)){G.child=null;do G=$.sibling,$.sibling=null,$=G;while($!==null)}}function K$($){var G=$.deletions;if(($.flags&16)!==0){if(G!==null)for(var X=0;X<G.length;X++){var Y=G[X],Z=D1();y5=Y,Oz(Y,$),(Y.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&T2(Y,z0,L0,"Unmount"),E1(Z)}Iz($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)Pz($),$=$.sibling}function Pz($){var G=D1(),X=V2(),Y=q2(),Z=D2();switch($.tag){case 0:case 11:case 15:K$($),$.flags&2048&&p3($,$.return,H1|r1);break;case 3:var J=J4();K$($),$.stateNode.passiveEffectDuration+=$9(J);break;case 12:J=J4(),K$($),$.stateNode.passiveEffectDuration+=X$(J);break;case 22:J=$.stateNode,$.memoizedState!==null&&J._visibility&_4&&($.return===null||$.return.tag!==13)?(J._visibility&=~_4,C9($),($.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&T2($,z0,L0,"Disconnect")):K$($);break;default:K$($)}($.mode&q0)!==Q0&&0<=z0&&0<=L0&&(F5||0.05<Q5)&&I2($,z0,L0,Q5,A5),E1(G),O2(X),F5=Z,A5=Y}function C9($){var G=$.deletions;if(($.flags&16)!==0){if(G!==null)for(var X=0;X<G.length;X++){var Y=G[X],Z=D1();y5=Y,Oz(Y,$),(Y.mode&q0)!==Q0&&0<=z0&&0<=L0&&0.05<L0-z0&&T2(Y,z0,L0,"Unmount"),E1(Z)}Iz($)}for($=$.child;$!==null;)Vz($),$=$.sibling}function Vz($){var G=D1(),X=V2(),Y=q2(),Z=D2();switch($.tag){case 0:case 11:case 15:p3($,$.return,H1),C9($);break;case 22:var J=$.stateNode;J._visibility&_4&&(J._visibility&=~_4,C9($));break;default:C9($)}($.mode&q0)!==Q0&&0<=z0&&0<=L0&&(F5||0.05<Q5)&&I2($,z0,L0,Q5,A5),E1(G),O2(X),F5=Z,A5=Y}function Oz($,G){for(;y5!==null;){var X=y5,Y=X,Z=G,J=D1(),U=V2(),z=q2(),A=D2();switch(Y.tag){case 0:case 11:case 15:p3(Y,Z,H1);break;case 23:case 22:Y.memoizedState!==null&&Y.memoizedState.cachePool!==null&&(Z=Y.memoizedState.cachePool.pool,Z!=null&&m6(Z));break;case 24:G$(Y.memoizedState.cache)}if((Y.mode&q0)!==Q0&&0<=z0&&0<=L0&&(F5||0.05<Q5)&&I2(Y,z0,L0,Q5,A5),E1(J),O2(U),F5=A,A5=z,Y=X.child,Y!==null)Y.return=X,y5=Y;else $:for(X=$;y5!==null;){if(Y=y5,J=Y.sibling,U=Y.return,_z(Y),Y===X){y5=null;break $}if(J!==null){J.return=U,y5=J;break $}y5=U}}}function MK(){hM.forEach(function($){return $()})}function qz(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||g.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function j1($){if((h0&g5)!==d5&&E0!==0)return E0&-E0;var G=g.T;return G!==null?(G._updatedFibers||(G._updatedFibers=new Set),G._updatedFibers.add($),XZ()):x()}function Dz(){if(F1===0)if((E0&536870912)===0||g0){var $=a9;a9<<=1,(a9&3932160)===0&&(a9=262144),F1=$}else F1=536870912;return $=b1.current,$!==null&&($.flags|=32),F1}function M5($,G,X){if(V7&&console.error("useInsertionEffect must not schedule updates."),mJ&&(kX=!0),$===Y5&&(n0===Y8||n0===Z8)||$.cancelPendingCommit!==null)d8($,0),u4($,E0,F1,!1);if(j4($,X),(h0&g5)!==d5&&$===Y5){if(f2)switch(G.tag){case 0:case 11:case 15:$=C0&&p(C0)||"Unknown",$L.has($)||($L.add($),G=p(G)||"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",G,$,$));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 y2&&l7($,G,X),EK(G),$===Y5&&((h0&g5)===d5&&(z6|=X),K5===B6&&u4($,E0,F1,!1)),v2($)}function Ez($,G,X){if((h0&(g5|f1))!==d5)throw Error("Should not already be working.");if(E0!==0&&C0!==null){var Y=C0,Z=f5();switch(s_){case HG:case Y8:var J=c$;H5&&((Y=Y._debugTask)?Y.run(console.timeStamp.bind(console,"Suspended",J,Z,p1,void 0,"primary-light")):console.timeStamp("Suspended",J,Z,p1,void 0,"primary-light"));break;case Z8:J=c$,H5&&((Y=Y._debugTask)?Y.run(console.timeStamp.bind(console,"Action",J,Z,p1,void 0,"primary-light")):console.timeStamp("Action",J,Z,p1,void 0,"primary-light"));break;default:H5&&(Y=Z-c$,3>Y||console.timeStamp("Blocked",c$,Z,p1,void 0,5>Y?"primary-light":10>Y?"primary":100>Y?"primary-dark":"error"))}}J=(X=!X&&(G&127)===0&&(G&$.expiredLanes)===0||V6($,G))?RK($,G):o3($,G,!0);var U=X;do{if(J===I4){I7&&!X&&u4($,G,0,!1),G=n0,c$=D5(),s_=G;break}else{if(Y=f5(),Z=$.current.alternate,U&&!FK(Z)){O1(G),Z=h5,J=Y,!H5||J<=Z||(T5?T5.run(console.timeStamp.bind(console,"Teared Render",Z,J,k0,S0,"error")):console.timeStamp("Teared Render",Z,J,k0,S0,"error")),p6(G,Y),J=o3($,G,!1),U=!1;continue}if(J===X8){if(U=G,$.errorRecoveryDisabledLanes&U)var z=0;else z=$.pendingLanes&-536870913,z=z!==0?z:z&536870912?536870912:0;if(z!==0){O1(G),SY(h5,Y,G,T5),p6(G,Y),G=z;$:{Y=$,J=U,U=WG;var A=Y.current.memoizedState.isDehydrated;if(A&&(d8(Y,z).flags|=256),z=o3(Y,z,!1),z!==X8){if(CJ&&!A){Y.errorRecoveryDisabledLanes|=J,z6|=J,J=B6;break $}Y=z1,z1=U,Y!==null&&(z1===null?z1=Y:z1.push.apply(z1,Y))}J=z}if(U=!1,J!==X8)continue;else Y=f5()}}if(J===UG){O1(G),SY(h5,Y,G,T5),p6(G,Y),d8($,0),u4($,G,0,!0);break}$:{switch(X=$,J){case I4:case UG:throw Error("Root did not complete. This is a bug in React.");case B6:if((G&4194048)!==G)break;case OX:O1(G),EU(h5,Y,G,T5),p6(G,Y),Z=G,(Z&127)!==0?WX=Y:(Z&4194048)!==0&&(_X=Y),u4(X,G,F1,!U6);break $;case X8:z1=null;break;case VX:case yA:break;default:throw Error("Unknown root exit status.")}if(g.actQueue!==null)r3(X,Z,G,z1,_G,EX,F1,z6,J8,J,null,null,h5,Y);else{if((G&62914560)===G&&(U=CX+pA-f5(),10<U)){if(u4(X,G,F1,!U6),P6(X,0,!0)!==0)break $;Q2=G,X.timeoutHandle=HL(Cz.bind(null,X,Z,z1,_G,EX,G,F1,z6,J8,U6,J,"Throttled",h5,Y),U);break $}Cz(X,Z,z1,_G,EX,G,F1,z6,J8,U6,J,null,h5,Y)}}}break}while(1);v2($)}function Cz($,G,X,Y,Z,J,U,z,A,N,q,D,I,k){$.timeoutHandle=W8;var c=G.subtreeFlags,n=null;if(c&8192||(c&16785408)===16785408){if(n={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:G4},Tz(G,J,n),c=(J&62914560)===J?CX-f5():(J&4194048)===J?uA-f5():0,c=Bw(n,c),c!==null){Q2=J,$.cancelPendingCommit=c(r3.bind(null,$,G,J,X,Y,Z,U,z,A,q,n,n.waitingForViewTransition?"Waiting for the previous Animation":0<n.count?0<n.imgCount?"Suspended on CSS and Images":"Suspended on CSS":n.imgCount===1?"Suspended on an Image":0<n.imgCount?"Suspended on Images":null,I,k)),u4($,J,U,!N);return}}r3($,G,J,X,Y,Z,U,z,A,q,n,D,I,k)}function FK($){for(var G=$;;){var X=G.tag;if((X===0||X===11||X===15)&&G.flags&16384&&(X=G.updateQueue,X!==null&&(X=X.stores,X!==null)))for(var Y=0;Y<X.length;Y++){var Z=X[Y],J=Z.getSnapshot;Z=Z.value;try{if(!J1(J(),Z))return!1}catch(U){return!1}}if(X=G.child,G.subtreeFlags&16384&&X!==null)X.return=G,G=X;else{if(G===$)break;for(;G.sibling===null;){if(G.return===null||G.return===$)return!0;G=G.return}G.sibling.return=G.return,G=G.sibling}}return!0}function u4($,G,X,Y){G&=~jJ,G&=~z6,$.suspendedLanes|=G,$.pingedLanes&=~G,Y&&($.warmLanes|=G),Y=$.expirationTimes;for(var Z=G;0<Z;){var J=31-X1(Z),U=1<<J;Y[J]=-1,Z&=~U}X!==0&&O6($,X,G)}function y8(){return(h0&(g5|f1))===d5?(F$(0,!1),!1):!0}function n3(){if(C0!==null){if(n0===M1)var $=C0.return;else $=C0,rG(),B3($),L7=null,$G=0,$=C0;for(;$!==null;)$z($.alternate,$),$=$.return;C0=null}}function p6($,G){($&127)!==0&&(G6=G),($&4194048)!==0&&(c2=G),($&62914560)!==0&&(l_=G),($&2080374784)!==0&&(c_=G)}function d8($,G){H5&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",S0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",S0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",S0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",S0,"primary-light"));var X=h5;if(h5=D5(),E0!==0&&0<X){if(O1(E0),K5===VX||K5===B6)EU(X,h5,G,T5);else{var Y=h5,Z=T5;if(H5&&!(Y<=X)){var J=(G&738197653)===G?"tertiary-dark":"primary-dark",U=(G&536870912)===G?"Prewarm":(G&201326741)===G?"Interrupted Hydration":"Interrupted Render";Z?Z.run(console.timeStamp.bind(console,U,X,Y,k0,S0,J)):console.timeStamp(U,X,Y,k0,S0,J)}}p6(E0,h5)}if(X=T5,T5=null,(G&127)!==0){T5=u$,Z=0<=l2&&l2<G6?G6:l2,Y=0<=a6&&a6<G6?G6:a6,J=0<=Y?Y:0<=Z?Z:h5,0<=WX?(O1(2),CU(WX,J,G,X)):(AX&127)!==0&&(O1(2),e7(G6,J,w4)),X=Z;var z=Y,A=p$,N=0<W7,q=X6===d$,D=X6===zX;if(Z=h5,Y=u$,J=HJ,U=zJ,H5){if(k0="Blocking",0<X?X>Z&&(X=Z):X=Z,0<z?z>X&&(z=X):z=X,A!==null&&X>z){var I=N?"secondary-light":"warning";Y?Y.run(console.timeStamp.bind(console,N?"Consecutive":"Event: "+A,z,X,k0,S0,I)):console.timeStamp(N?"Consecutive":"Event: "+A,z,X,k0,S0,I)}Z>X&&(z=q?"error":(G&738197653)===G?"tertiary-light":"primary-light",q=D?"Promise Resolved":q?"Cascading Update":5<Z-X?"Update Blocked":"Update",D=[],U!=null&&D.push(["Component name",U]),J!=null&&D.push(["Method name",J]),X={start:X,end:Z,detail:{devtools:{properties:D,track:k0,trackGroup:S0,color:z}}},Y?Y.run(performance.measure.bind(performance,q,X)):performance.measure(q,X))}l2=-1.1,X6=0,zJ=HJ=null,WX=-1.1,W7=a6,a6=-1.1,G6=D5()}if((G&4194048)!==0&&(T5=l$,Z=0<=K4&&K4<c2?c2:K4,X=0<=n1&&n1<c2?c2:n1,Y=0<=Y6&&Y6<c2?c2:Y6,J=0<=Y?Y:0<=X?X:h5,0<=_X?(O1(256),CU(_X,J,G,T5)):(AX&4194048)!==0&&(O1(256),e7(c2,J,w4)),D=Y,z=n6,A=0<Z6,N=WJ===zX,J=h5,Y=l$,U=u_,q=p_,H5&&(k0="Transition",0<X?X>J&&(X=J):X=J,0<Z?Z>X&&(Z=X):Z=X,0<D?D>Z&&(D=Z):D=Z,Z>D&&z!==null&&(I=A?"secondary-light":"warning",Y?Y.run(console.timeStamp.bind(console,A?"Consecutive":"Event: "+z,D,Z,k0,S0,I)):console.timeStamp(A?"Consecutive":"Event: "+z,D,Z,k0,S0,I)),X>Z&&(Y?Y.run(console.timeStamp.bind(console,"Action",Z,X,k0,S0,"primary-dark")):console.timeStamp("Action",Z,X,k0,S0,"primary-dark")),J>X&&(Z=N?"Promise Resolved":5<J-X?"Update Blocked":"Update",D=[],q!=null&&D.push(["Component name",q]),U!=null&&D.push(["Method name",U]),X={start:X,end:J,detail:{devtools:{properties:D,track:k0,trackGroup:S0,color:"primary-light"}}},Y?Y.run(performance.measure.bind(performance,Z,X)):performance.measure(Z,X))),n1=K4=-1.1,WJ=0,_X=-1.1,Z6=Y6,Y6=-1.1,c2=D5()),(G&62914560)!==0&&(AX&62914560)!==0&&(O1(4194304),e7(l_,h5,w4)),(G&2080374784)!==0&&(AX&2080374784)!==0&&(O1(268435456),e7(c_,h5,w4)),X=$.timeoutHandle,X!==W8&&($.timeoutHandle=W8,tM(X)),X=$.cancelPendingCommit,X!==null&&($.cancelPendingCommit=null,X()),Q2=0,n3(),Y5=$,C0=X=X4($.current,null),E0=G,n0=M1,h1=null,U6=!1,I7=V6($,G),CJ=!1,K5=I4,J8=F1=jJ=z6=H6=0,z1=WG=null,EX=!1,(G&8)!==0&&(G|=G&32),Y=$.entangledLanes,Y!==0)for($=$.entanglements,Y&=G;0<Y;)Z=31-X1(Y),J=1<<Z,G|=$[Z],Y&=~J;return i2=G,sG(),$=b_(),1000<$-g_&&(g.recentlyCreatedOwnerStacks=0,g_=$),A2.discardPendingWarnings(),X}function jz($,G){w0=null,g.H=ZG,g.getCurrentStack=null,f2=!1,k1=null,G===A7||G===KX?(G=rU(),n0=HG):G===NJ?(G=rU(),n0=dA):n0=G===VJ?EJ:G!==null&&typeof G==="object"&&typeof G.then==="function"?zG:qX,h1=G;var X=C0;X===null?(K5=UG,I9($,q1(G,$.current))):X.mode&q0&&iY(X)}function xz(){var $=b1.current;return $===null?!0:(E0&4194048)===E0?o1===null?!0:!1:(E0&62914560)===E0||(E0&536870912)!==0?$===o1:!1}function Sz(){var $=g.H;return g.H=ZG,$===null?ZG:$}function kz(){var $=g.A;return g.A=fM,$}function j9($){T5===null&&(T5=$._debugTask==null?null:$._debugTask)}function x9(){K5=B6,U6||(E0&4194048)!==E0&&b1.current!==null||(I7=!0),(H6&134217727)===0&&(z6&134217727)===0||Y5===null||u4(Y5,E0,F1,!1)}function o3($,G,X){var Y=h0;h0|=g5;var Z=Sz(),J=kz();if(Y5!==$||E0!==G){if(y2){var U=$.memoizedUpdaters;0<U.size&&(M$($,E0),U.clear()),x4($,G)}_G=null,d8($,G)}G=!1,U=K5;$:do try{if(n0!==M1&&C0!==null){var z=C0,A=h1;switch(n0){case EJ:n3(),U=OX;break $;case HG:case Y8:case Z8:case zG:b1.current===null&&(G=!0);var N=n0;if(n0=M1,h1=null,u8($,z,A,N),X&&I7){U=I4;break $}break;default:N=n0,n0=M1,h1=null,u8($,z,A,N)}}vz(),U=K5;break}catch(q){jz($,q)}while(1);return G&&$.shellSuspendCounter++,rG(),h0=Y,g.H=Z,g.A=J,C0===null&&(Y5=null,E0=0,sG()),U}function vz(){for(;C0!==null;)gz(C0)}function RK($,G){var X=h0;h0|=g5;var Y=Sz(),Z=kz();if(Y5!==$||E0!==G){if(y2){var J=$.memoizedUpdaters;0<J.size&&(M$($,E0),J.clear()),x4($,G)}_G=null,jX=f5()+lA,d8($,G)}else I7=V6($,G);$:do try{if(n0!==M1&&C0!==null)G:switch(G=C0,J=h1,n0){case qX:n0=M1,h1=null,u8($,G,J,qX);break;case Y8:case Z8:if(nU(J)){n0=M1,h1=null,bz(G);break}G=function(){n0!==Y8&&n0!==Z8||Y5!==$||(n0=DX),v2($)},J.then(G,G);break $;case HG:n0=DX;break $;case dA:n0=DJ;break $;case DX:nU(J)?(n0=M1,h1=null,bz(G)):(n0=M1,h1=null,u8($,G,J,DX));break;case DJ:var U=null;switch(C0.tag){case 26:U=C0.memoizedState;case 5:case 27:var z=C0;if(U?EW(U):z.stateNode.complete){n0=M1,h1=null;var A=z.sibling;if(A!==null)C0=A;else{var N=z.return;N!==null?(C0=N,S9(N)):C0=null}break G}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}n0=M1,h1=null,u8($,G,J,DJ);break;case zG:n0=M1,h1=null,u8($,G,J,zG);break;case EJ:n3(),K5=OX;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}g.actQueue!==null?vz():TK();break}catch(q){jz($,q)}while(1);if(rG(),g.H=Y,g.A=Z,h0=X,C0!==null)return I4;return Y5=null,E0=0,sG(),K5}function TK(){for(;C0!==null&&!Fw();)gz(C0)}function gz($){var G=$.alternate;($.mode&q0)!==Q0?(sY($),G=r($,y3,G,$,i2),iY($)):G=r($,y3,G,$,i2),$.memoizedProps=$.pendingProps,G===null?S9($):C0=G}function bz($){var G=r($,IK,$);$.memoizedProps=$.pendingProps,G===null?S9($):C0=G}function IK($){var G=$.alternate,X=($.mode&q0)!==Q0;switch(X&&sY($),$.tag){case 15:case 0:G=iH(G,$,$.pendingProps,$.type,void 0,E0);break;case 11:G=iH(G,$,$.pendingProps,$.type.render,$.ref,E0);break;case 5:B3($);default:$z(G,$),$=C0=gU($,i2),G=y3(G,$,i2)}return X&&iY($),G}function u8($,G,X,Y){rG(),B3(G),L7=null,$G=0;var Z=G.return;try{if(BK($,Z,G,X,E0)){K5=UG,I9($,q1(X,$.current)),C0=null;return}}catch(J){if(Z!==null)throw C0=Z,J;K5=UG,I9($,q1(X,$.current)),C0=null;return}if(G.flags&32768){if(g0||Y===qX)$=!0;else if(I7||(E0&536870912)!==0)$=!1;else if(U6=$=!0,Y===Y8||Y===Z8||Y===HG||Y===zG)Y=b1.current,Y!==null&&Y.tag===13&&(Y.flags|=16384);mz(G,$)}else S9(G)}function S9($){var G=$;do{if((G.flags&32768)!==0){mz(G,U6);return}var X=G.alternate;if($=G.return,sY(G),X=r(G,zK,X,G,i2),(G.mode&q0)!==Q0&&lU(G),X!==null){C0=X;return}if(G=G.sibling,G!==null){C0=G;return}C0=G=$}while(G!==null);K5===I4&&(K5=yA)}function mz($,G){do{var X=WK($.alternate,$);if(X!==null){X.flags&=32767,C0=X;return}if(($.mode&q0)!==Q0){lU($),X=$.actualDuration;for(var Y=$.child;Y!==null;)X+=Y.actualDuration,Y=Y.sibling;$.actualDuration=X}if(X=$.return,X!==null&&(X.flags|=32768,X.subtreeFlags=0,X.deletions=null),!G&&($=$.sibling,$!==null)){C0=$;return}C0=$=X}while($!==null);K5=OX,C0=null}function r3($,G,X,Y,Z,J,U,z,A,N,q,D,I,k){$.cancelPendingCommit=null;do w$();while(S5!==_6);if(A2.flushLegacyContextWarning(),A2.flushPendingUnsafeLifecycleWarnings(),(h0&(g5|f1))!==d5)throw Error("Should not already be working.");if(O1(X),N===X8?SY(I,k,X,T5):Y!==null?iQ(I,k,X,Y,G!==null&&G.alternate!==null&&G.alternate.memoizedState.isDehydrated&&(G.flags&256)!==0,T5):sQ(I,k,X,T5),G!==null){if(X===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),G===$.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=G.lanes|G.childLanes,J|=YJ,gG($,X,J,U,z,A),$===Y5&&(C0=Y5=null,E0=0),P7=G,A6=$,Q2=X,kJ=J,gJ=Z,oA=Y,vJ=k,rA=D,K2=xX,tA=null,G.actualDuration!==0||(G.subtreeFlags&10256)!==0||(G.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,DK(a8,function(){return wG=window.event,K2===xX&&(K2=SJ),uz(),null})):($.callbackNode=null,$.callbackPriority=0),Q4=null,$6=D5(),D!==null&&aQ(k,$6,D,T5),Y=(G.flags&13878)!==0,(G.subtreeFlags&13878)!==0||Y){Y=g.T,g.T=null,Z=s0.p,s0.p=v1,U=h0,h0|=f1;try{KK($,G,X)}finally{h0=U,s0.p=Z,g.T=Y}}S5=sA,fz(),hz(),yz()}}function fz(){if(S5===sA){S5=_6;var $=A6,G=P7,X=Q2,Y=(G.flags&13878)!==0;if((G.subtreeFlags&13878)!==0||Y){Y=g.T,g.T=null;var Z=s0.p;s0.p=v1;var J=h0;h0|=f1;try{R7=X,T7=$,G9(),Qz(G,$),T7=R7=null,X=sJ;var U=OU($.containerInfo),z=X.focusedElem,A=X.selectionRange;if(U!==z&&z&&z.ownerDocument&&VU(z.ownerDocument.documentElement,z)){if(A!==null&&CY(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 k=I.getSelection(),c=z.textContent.length,n=Math.min(A.start,c),U5=A.end===void 0?n:Math.min(A.end,c);!k.extend&&n>U5&&(U=U5,U5=n,n=U);var m0=PU(z,n),T=PU(z,U5);if(m0&&T&&(k.rangeCount!==1||k.anchorNode!==m0.node||k.anchorOffset!==m0.offset||k.focusNode!==T.node||k.focusOffset!==T.offset)){var P=D.createRange();P.setStart(m0.node,m0.offset),k.removeAllRanges(),n>U5?(k.addRange(P),k.extend(T.node,T.offset)):(P.setEnd(T.node,T.offset),k.addRange(P))}}}}D=[];for(k=z;k=k.parentNode;)k.nodeType===1&&D.push({element:k,left:k.scrollLeft,top:k.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}}iX=!!cJ,sJ=cJ=null}finally{h0=J,s0.p=Z,g.T=Y}}$.current=G,S5=iA}}function hz(){if(S5===iA){S5=_6;var $=tA;if($!==null){$6=D5();var G=N4,X=$6;!H5||X<=G||(w4?w4.run(console.timeStamp.bind(console,$,G,X,k0,S0,"secondary-light")):console.timeStamp($,G,X,k0,S0,"secondary-light"))}$=A6,G=P7,X=Q2;var Y=(G.flags&8772)!==0;if((G.subtreeFlags&8772)!==0||Y){Y=g.T,g.T=null;var Z=s0.p;s0.p=v1;var J=h0;h0|=f1;try{R7=X,T7=$,G9(),Wz($,G.alternate,G),T7=R7=null}finally{h0=J,s0.p=Z,g.T=Y}}$=vJ,G=rA,N4=D5(),$=G===null?$:$6,G=N4,X=K2===xJ,Y=T5,Q4!==null?jU($,G,Q4,!1,Y):!H5||G<=$||(Y?Y.run(console.timeStamp.bind(console,X?"Commit Interrupted View Transition":"Commit",$,G,k0,S0,X?"error":"secondary-dark")):console.timeStamp(X?"Commit Interrupted View Transition":"Commit",$,G,k0,S0,X?"error":"secondary-dark")),S5=aA}}function yz(){if(S5===nA||S5===aA){if(S5===nA){var $=N4;N4=D5();var G=N4,X=K2===xJ;!H5||G<=$||(w4?w4.run(console.timeStamp.bind(console,X?"Interrupted View Transition":"Starting Animation",$,G,k0,S0,X?"error":"secondary-light")):console.timeStamp(X?"Interrupted View Transition":"Starting Animation",$,G,k0,S0,X?" error":"secondary-light")),K2!==xJ&&(K2=cA)}S5=_6,Rw(),$=A6;var Y=P7;G=Q2,X=oA;var Z=Y.actualDuration!==0||(Y.subtreeFlags&10256)!==0||(Y.flags&10256)!==0;Z?S5=SX:(S5=_6,P7=A6=null,dz($,$.pendingLanes),B8=0,LG=null);var J=$.pendingLanes;if(J===0&&(W6=null),Z||sz($),J=Q(G),Y=Y.stateNode,t5&&typeof t5.onCommitFiberRoot==="function")try{var U=(Y.current.flags&128)===128;switch(J){case v1:var z=gZ;break;case W2:z=bZ;break;case d2:z=a8;break;case o9:z=mZ;break;default:z=a8}t5.onCommitFiberRoot(n8,Y,z,U)}catch(D){h2||(h2=!0,console.error("React instrumentation encountered an error: %o",D))}if(y2&&$.memoizedUpdaters.clear(),MK(),X!==null){U=g.T,z=s0.p,s0.p=v1,g.T=null;try{var A=$.onRecoverableError;for(Y=0;Y<X.length;Y++){var N=X[Y],q=PK(N.stack);r(N.source,A,N.value,q)}}finally{g.T=U,s0.p=z}}(Q2&3)!==0&&w$(),v2($),J=$.pendingLanes,(G&261930)!==0&&(J&42)!==0?(NX=!0,$===bJ?AG++:(AG=0,bJ=$)):AG=0,Z||p6(G,N4),F$(0,!1)}}function PK($){return $={componentStack:$},Object.defineProperty($,"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.')}}),$}function dz($,G){($.pooledCacheLanes&=G)===0&&(G=$.pooledCache,G!=null&&($.pooledCache=null,G$(G)))}function w$(){return fz(),hz(),yz(),uz()}function uz(){if(S5!==SX)return!1;var $=A6,G=kJ;kJ=0;var X=Q(Q2),Y=d2===0||d2>X?d2:X;X=g.T;var Z=s0.p;try{s0.p=Y,g.T=null;var J=gJ;gJ=null,Y=A6;var U=Q2;if(S5=_6,P7=A6=null,Q2=0,(h0&(g5|f1))!==d5)throw Error("Cannot flush passive effects while already rendering.");O1(U),mJ=!0,kX=!1;var z=0;if(Q4=null,z=f5(),K2===cA)e7(N4,z,w4);else{var A=N4,N=z,q=K2===SJ;!H5||N<=A||(T5?T5.run(console.timeStamp.bind(console,q?"Waiting for Paint":"Waiting",A,N,k0,S0,"secondary-light")):console.timeStamp(q?"Waiting for Paint":"Waiting",A,N,k0,S0,"secondary-light"))}A=h0,h0|=f1;var D=Y.current;G9(),Pz(D);var I=Y.current;D=vJ,G9(),Fz(Y,I,U,J,D),sz(Y),h0=A;var k=f5();if(I=z,D=T5,Q4!==null?jU(I,k,Q4,!0,D):!H5||k<=I||(D?D.run(console.timeStamp.bind(console,"Remaining Effects",I,k,k0,S0,"secondary-dark")):console.timeStamp("Remaining Effects",I,k,k0,S0,"secondary-dark")),p6(U,k),F$(0,!1),kX?Y===LG?B8++:(B8=0,LG=Y):B8=0,kX=mJ=!1,t5&&typeof t5.onPostCommitFiberRoot==="function")try{t5.onPostCommitFiberRoot(n8,Y)}catch(n){h2||(h2=!0,console.error("React instrumentation encountered an error: %o",n))}var c=Y.current.stateNode;return c.effectDuration=0,c.passiveEffectDuration=0,!0}finally{s0.p=Z,g.T=X,dz($,G)}}function pz($,G,X){G=q1(X,G),cU(G),G=C3($.stateNode,G,2),$=f4($,G,2),$!==null&&(j4($,2),v2($))}function c0($,G,X){if(V7=!1,$.tag===3)pz($,$,X);else{for(;G!==null;){if(G.tag===3){pz(G,$,X);return}if(G.tag===1){var Y=G.stateNode;if(typeof G.type.getDerivedStateFromError==="function"||typeof Y.componentDidCatch==="function"&&(W6===null||!W6.has(Y))){$=q1(X,$),cU($),X=j3(2),Y=f4(G,X,2),Y!==null&&(x3(X,Y,G,$),j4(Y,2),v2(Y));return}}G=G.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`,X)}}function t3($,G,X){var Y=$.pingCache;if(Y===null){Y=$.pingCache=new yM;var Z=new Set;Y.set(G,Z)}else Z=Y.get(G),Z===void 0&&(Z=new Set,Y.set(G,Z));Z.has(X)||(CJ=!0,Z.add(X),Y=VK.bind(null,$,G,X),y2&&M$($,X),G.then(Y,Y))}function VK($,G,X){var Y=$.pingCache;Y!==null&&Y.delete(G),$.pingedLanes|=$.suspendedLanes&X,$.warmLanes&=~X,(X&127)!==0?0>l2&&(G6=l2=D5(),u$=HX("Promise Resolved"),X6=zX):(X&4194048)!==0&&0>n1&&(c2=n1=D5(),l$=HX("Promise Resolved"),WJ=zX),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===$&&(E0&X)===X&&(K5===B6||K5===VX&&(E0&62914560)===E0&&f5()-CX<pA?(h0&g5)===d5&&d8($,0):jJ|=X,J8===E0&&(J8=0)),v2($)}function lz($,G){G===0&&(G=q8()),$=r5($,G),$!==null&&(j4($,G),v2($))}function OK($){var G=$.memoizedState,X=0;G!==null&&(X=G.retryLane),lz($,X)}function qK($,G){var X=0;switch($.tag){case 31:case 13:var{stateNode:Y,memoizedState:Z}=$;Z!==null&&(X=Z.retryLane);break;case 19:Y=$.stateNode;break;case 22:Y=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}Y!==null&&Y.delete(G),lz($,X)}function e3($,G,X){if((G.subtreeFlags&67117056)!==0)for(G=G.child;G!==null;){var Y=$,Z=G,J=Z.type===l9;J=X||J,Z.tag!==22?Z.flags&67108864?J&&r(Z,cz,Y,Z):e3(Y,Z,J):Z.memoizedState===null&&(J&&Z.flags&8192?r(Z,cz,Y,Z):Z.subtreeFlags&67108864&&r(Z,e3,Y,Z,J)),G=G.sibling}}function cz($,G){J5(!0);try{wz(G),Vz(G),Mz($,G.alternate,G,!1),Rz($,G,0,null,!1,0)}finally{J5(!1)}}function sz($){var G=!0;$.current.mode&(e5|_2)||(G=!1),e3($,$.current,G)}function iz($){if((h0&g5)===d5){var G=$.tag;if(G===3||G===1||G===0||G===11||G===14||G===15){if(G=p($)||"ReactComponent",vX!==null){if(vX.has(G))return;vX.add(G)}else vX=new Set([G]);r($,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 M$($,G){y2&&$.memoizedUpdaters.forEach(function(X){l7($,X,G)})}function DK($,G){var X=g.actQueue;return X!==null?(X.push(G),pM):vZ($,G)}function EK($){qz()&&g.actQueue===null&&r($,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($))})}function v2($){$!==O7&&$.next===null&&(O7===null?gX=O7=$:O7=O7.next=$),bX=!0,g.actQueue!==null?hJ||(hJ=!0,rz()):fJ||(fJ=!0,rz())}function F$($,G){if(!yJ&&bX){yJ=!0;do{var X=!1;for(var Y=gX;Y!==null;){if(!G)if($!==0){var Z=Y.pendingLanes;if(Z===0)var J=0;else{var{suspendedLanes:U,pingedLanes:z}=Y;J=(1<<31-X1(42|$)+1)-1,J&=Z&~(U&~z),J=J&201326741?J&201326741|1:J?J|2:0}J!==0&&(X=!0,oz(Y,J))}else J=E0,J=P6(Y,Y===Y5?J:0,Y.cancelPendingCommit!==null||Y.timeoutHandle!==W8),(J&3)===0||V6(Y,J)||(X=!0,oz(Y,J));Y=Y.next}}while(X);yJ=!1}}function CK(){wG=window.event,$Z()}function $Z(){bX=hJ=fJ=!1;var $=0;L6!==0&&bK()&&($=L6);for(var G=f5(),X=null,Y=gX;Y!==null;){var Z=Y.next,J=az(Y,G);if(J===0)Y.next=null,X===null?gX=Z:X.next=Z,Z===null&&(O7=X);else if(X=Y,$!==0||(J&3)!==0)bX=!0;Y=Z}S5!==_6&&S5!==SX||F$($,!1),L6!==0&&(L6=0)}function az($,G){for(var{suspendedLanes:X,pingedLanes:Y,expirationTimes:Z}=$,J=$.pendingLanes&-62914561;0<J;){var U=31-X1(J),z=1<<U,A=Z[U];if(A===-1){if((z&X)===0||(z&Y)!==0)Z[U]=MY(z,G)}else A<=G&&($.expiredLanes|=z);J&=~z}if(G=Y5,X=E0,X=P6($,$===G?X:0,$.cancelPendingCommit!==null||$.timeoutHandle!==W8),Y=$.callbackNode,X===0||$===G&&(n0===Y8||n0===Z8)||$.cancelPendingCommit!==null)return Y!==null&&GZ(Y),$.callbackNode=null,$.callbackPriority=0;if((X&3)===0||V6($,X)){if(G=X&-X,G!==$.callbackPriority||g.actQueue!==null&&Y!==dJ)GZ(Y);else return G;switch(Q(X)){case v1:case W2:X=bZ;break;case d2:X=a8;break;case o9:X=mZ;break;default:X=a8}return Y=nz.bind(null,$),g.actQueue!==null?(g.actQueue.push(Y),X=dJ):X=vZ(X,Y),$.callbackPriority=G,$.callbackNode=X,G}return Y!==null&&GZ(Y),$.callbackPriority=2,$.callbackNode=null,2}function nz($,G){if(NX=LX=!1,wG=window.event,S5!==_6&&S5!==SX)return $.callbackNode=null,$.callbackPriority=0,null;var X=$.callbackNode;if(K2===xX&&(K2=SJ),w$()&&$.callbackNode!==X)return null;var Y=E0;if(Y=P6($,$===Y5?Y:0,$.cancelPendingCommit!==null||$.timeoutHandle!==W8),Y===0)return null;return Ez($,Y,G),az($,f5()),$.callbackNode!=null&&$.callbackNode===X?nz.bind(null,$):null}function oz($,G){if(w$())return null;LX=NX,NX=!1,Ez($,G,!0)}function GZ($){$!==dJ&&$!==null&&Mw($)}function rz(){g.actQueue!==null&&g.actQueue.push(function(){return $Z(),null}),eM(function(){(h0&(g5|f1))!==d5?vZ(gZ,CK):$Z()})}function XZ(){if(L6===0){var $=o6;$===0&&($=i9,i9<<=1,(i9&261888)===0&&(i9=256)),L6=$}return L6}function tz($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return r0($,"action"),o7(""+$)}function ez($,G){var X=G.ownerDocument.createElement("input");return X.name=G.name,X.value=G.value,$.id&&X.setAttribute("form",$.id),G.parentNode.insertBefore(X,G),$=new FormData($),X.parentNode.removeChild(X),$}function jK($,G,X,Y,Z){if(G==="submit"&&X&&X.stateNode===Z){var J=tz((Z[Y1]||null).action),U=Y.submitter;U&&(G=(G=U[Y1]||null)?tz(G.formAction):U.getAttribute("formAction"),G!==null&&(J=G,U=null));var z=new GX("action","action",null,Y,Z);$.push({event:z,listeners:[{instance:null,listener:function(){if(Y.defaultPrevented){if(L6!==0){var A=U?ez(Z,U):new FormData(Z),N={pending:!0,data:A,method:Z.method,action:J};Object.freeze(N),I3(X,N,null,A)}}else typeof J==="function"&&(z.preventDefault(),A=U?ez(Z,U):new FormData(Z),N={pending:!0,data:A,method:Z.method,action:J},Object.freeze(N),I3(X,N,J,A))},currentTarget:Z}]})}}function k9($,G,X){$.currentTarget=X;try{G($)}catch(Y){eZ(Y)}$.currentTarget=null}function $W($,G){G=(G&4)!==0;for(var X=0;X<$.length;X++){var Y=$[X];$:{var Z=void 0,J=Y.event;if(Y=Y.listeners,G)for(var U=Y.length-1;0<=U;U--){var z=Y[U],A=z.instance,N=z.currentTarget;if(z=z.listener,A!==Z&&J.isPropagationStopped())break $;A!==null?r(A,k9,J,z,N):k9(J,z,N),Z=A}else for(U=0;U<Y.length;U++){if(z=Y[U],A=z.instance,N=z.currentTarget,z=z.listener,A!==Z&&J.isPropagationStopped())break $;A!==null?r(A,k9,J,z,N):k9(J,z,N),Z=A}}}}function b0($,G){uJ.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var X=G[fZ];X===void 0&&(X=G[fZ]=new Set);var Y=$+"__bubble";X.has(Y)||(GW(G,$,2,!1),X.add(Y))}function YZ($,G,X){uJ.has($)&&!G&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var Y=0;G&&(Y|=4),GW(X,$,Y,G)}function ZZ($){if(!$[mX]){$[mX]=!0,rW.forEach(function(X){X!=="selectionchange"&&(uJ.has(X)||YZ(X,!1,$),YZ(X,!0,$))});var G=$.nodeType===9?$:$.ownerDocument;G===null||G[mX]||(G[mX]=!0,YZ("selectionchange",!1,G))}}function GW($,G,X,Y){switch(vW(G)){case v1:var Z=Ww;break;case W2:Z=_w;break;default:Z=RZ}X=Z.bind(null,G,X,$),Z=void 0,!pZ||G!=="touchstart"&&G!=="touchmove"&&G!=="wheel"||(Z=!0),Y?Z!==void 0?$.addEventListener(G,X,{capture:!0,passive:Z}):$.addEventListener(G,X,!0):Z!==void 0?$.addEventListener(G,X,{passive:Z}):$.addEventListener(G,X,!1)}function JZ($,G,X,Y,Z){var J=Y;if((G&1)===0&&(G&2)===0&&Y!==null)$:for(;;){if(Y===null)return;var U=Y.tag;if(U===3||U===4){var z=Y.stateNode.containerInfo;if(z===Z)break;if(U===4)for(U=Y.return;U!==null;){var A=U.tag;if((A===3||A===4)&&U.stateNode.containerInfo===Z)return;U=U.return}for(;z!==null;){if(U=G0(z),U===null)return;if(A=U.tag,A===5||A===6||A===26||A===27){Y=J=U;continue $}z=z.parentNode}}Y=Y.return}AU(function(){var N=J,q=DY(X),D=[];$:{var I=v_.get($);if(I!==void 0){var k=GX,c=$;switch($){case"keypress":if(dG(X)===0)break $;case"keydown":case"keyup":k=JM;break;case"focusin":c="focus",k=iZ;break;case"focusout":c="blur",k=iZ;break;case"beforeblur":case"afterblur":k=iZ;break;case"click":if(X.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":k=R_;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":k=iw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":k=HM;break;case j_:case x_:case S_:k=ow;break;case k_:k=WM;break;case"scroll":case"scrollend":k=cw;break;case"wheel":k=AM;break;case"copy":case"cut":case"paste":k=tw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":k=I_;break;case"toggle":case"beforetoggle":k=NM}var n=(G&4)!==0,U5=!n&&($==="scroll"||$==="scrollend"),m0=n?I!==null?I+"Capture":null:I;n=[];for(var T=N,P;T!==null;){var O=T;if(P=O.stateNode,O=O.tag,O!==5&&O!==26&&O!==27||P===null||m0===null||(O=r7(T,m0),O!=null&&n.push(R$(T,O,P))),U5)break;T=T.return}0<n.length&&(I=new k(I,c,null,X,q),D.push({event:I,listeners:n}))}}if((G&7)===0){$:{if(I=$==="mouseover"||$==="pointerover",k=$==="mouseout"||$==="pointerout",I&&X!==x$&&(c=X.relatedTarget||X.fromElement)&&(G0(c)||c[a4]))break $;if(k||I){if(I=q.window===q?q:(I=q.ownerDocument)?I.defaultView||I.parentWindow:window,k){if(c=X.relatedTarget||X.toElement,k=N,c=c?G0(c):null,c!==null&&(U5=s(c),n=c.tag,c!==U5||n!==5&&n!==27&&n!==6))c=null}else k=null,c=N;if(k!==c){if(n=R_,O="onMouseLeave",m0="onMouseEnter",T="mouse",$==="pointerout"||$==="pointerover")n=I_,O="onPointerLeave",m0="onPointerEnter",T="pointer";if(U5=k==null?I:R0(k),P=c==null?I:R0(c),I=new n(O,T+"leave",k,X,q),I.target=U5,I.relatedTarget=P,O=null,G0(q)===N&&(n=new n(m0,T+"enter",c,X,q),n.target=P,n.relatedTarget=U5,O=n),U5=O,k&&c)G:{n=xK,m0=k,T=c,P=0;for(O=m0;O;O=n(O))P++;O=0;for(var m=T;m;m=n(m))O++;for(;0<P-O;)m0=n(m0),P--;for(;0<O-P;)T=n(T),O--;for(;P--;){if(m0===T||T!==null&&m0===T.alternate){n=m0;break G}m0=n(m0),T=n(T)}n=null}else n=null;k!==null&&XW(D,I,k,n,!1),c!==null&&U5!==null&&XW(D,U5,c,n,!0)}}}$:{if(I=N?R0(N):window,k=I.nodeName&&I.nodeName.toLowerCase(),k==="select"||k==="input"&&I.type==="file")var a=FU;else if(wU(I))if(E_)a=pQ;else{a=dQ;var M0=yQ}else k=I.nodeName,!k||k.toLowerCase()!=="input"||I.type!=="checkbox"&&I.type!=="radio"?N&&n7(N.elementType)&&(a=FU):a=uQ;if(a&&(a=a($,N))){MU(D,a,X,q);break $}M0&&M0($,I,N),$==="focusout"&&N&&I.type==="number"&&N.memoizedProps.value!=null&&TY(I,"number",I.value)}switch(M0=N?R0(N):window,$){case"focusin":if(wU(M0)||M0.contentEditable==="true")X7=M0,nZ=N,f$=null;break;case"focusout":f$=nZ=X7=null;break;case"mousedown":oZ=!0;break;case"contextmenu":case"mouseup":case"dragend":oZ=!1,qU(D,X,q);break;case"selectionchange":if(MM)break;case"keydown":case"keyup":qU(D,X,q)}var B0;if(aZ)$:{switch($){case"compositionstart":var X0="onCompositionStart";break $;case"compositionend":X0="onCompositionEnd";break $;case"compositionupdate":X0="onCompositionUpdate";break $}X0=void 0}else G7?QU($,X)&&(X0="onCompositionEnd"):$==="keydown"&&X.keyCode===P_&&(X0="onCompositionStart");if(X0&&(V_&&X.locale!=="ko"&&(G7||X0!=="onCompositionStart"?X0==="onCompositionEnd"&&G7&&(B0=LU()):(n4=q,lZ=("value"in n4)?n4.value:n4.textContent,G7=!0)),M0=v9(N,X0),0<M0.length&&(X0=new T_(X0,$,null,X,q),D.push({event:X0,listeners:M0}),B0?X0.data=B0:(B0=KU(X),B0!==null&&(X0.data=B0)))),B0=KM?bQ($,X):mQ($,X))X0=v9(N,"onBeforeInput"),0<X0.length&&(M0=new $M("onBeforeInput","beforeinput",null,X,q),D.push({event:M0,listeners:X0}),M0.data=B0);jK(D,$,N,X,q)}$W(D,G)})}function R$($,G,X){return{instance:$,listener:G,currentTarget:X}}function v9($,G){for(var X=G+"Capture",Y=[];$!==null;){var Z=$,J=Z.stateNode;if(Z=Z.tag,Z!==5&&Z!==26&&Z!==27||J===null||(Z=r7($,X),Z!=null&&Y.unshift(R$($,Z,J)),Z=r7($,G),Z!=null&&Y.push(R$($,Z,J))),$.tag===3)return Y;$=$.return}return[]}function xK($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function XW($,G,X,Y,Z){for(var J=G._reactName,U=[];X!==null&&X!==Y;){var z=X,A=z.alternate,N=z.stateNode;if(z=z.tag,A!==null&&A===Y)break;z!==5&&z!==26&&z!==27||N===null||(A=N,Z?(N=r7(X,J),N!=null&&U.unshift(R$(X,N,A))):Z||(N=r7(X,J),N!=null&&U.push(R$(X,N,A)))),X=X.return}U.length!==0&&$.push({event:G,listeners:U})}function BZ($,G){SQ($,G),$!=="input"&&$!=="textarea"&&$!=="select"||G==null||G.value!==null||M_||(M_=!0,$==="select"&&G.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.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var X={registrationNameDependencies:l6,possibleRegistrationNames:hZ};n7($)||typeof G.is==="string"||vQ($,G,X),G.contentEditable&&!G.suppressContentEditableWarning&&G.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($,G,X,Y){G!==X&&(X=p4(X),p4(G)!==X&&(Y[$]=G))}function SK($,G,X){G.forEach(function(Y){X[JW(Y)]=Y==="style"?HZ($):$.getAttribute(Y)})}function g2($,G){G===!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.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof G)}function YW($,G){return $=$.namespaceURI===t9||$.namespaceURI===r8?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=G,$.innerHTML}function p4($){return C4($)&&(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.",I6($)),b5($)),(typeof $==="string"?$:""+$).replace(lM,`
|
||
`).replace(cM,"")}function ZW($,G){return G=p4(G),p4($)===G?!0:!1}function G5($,G,X,Y,Z,J){switch(X){case"children":if(typeof Y==="string")yG(Y,G,!1),G==="body"||G==="textarea"&&Y===""||a7($,Y);else if(typeof Y==="number"||typeof Y==="bigint")yG(""+Y,G,!1),G!=="body"&&a7($,""+Y);break;case"className":mG($,"class",Y);break;case"tabIndex":mG($,"tabindex",Y);break;case"dir":case"role":case"viewBox":case"width":case"height":mG($,X,Y);break;case"style":zU($,Y,J);break;case"data":if(G!=="object"){mG($,"data",Y);break}case"src":case"href":if(Y===""&&(G!=="a"||X!=="href")){X==="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.',X,X):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.',X,X),$.removeAttribute(X);break}if(Y==null||typeof Y==="function"||typeof Y==="symbol"||typeof Y==="boolean"){$.removeAttribute(X);break}r0(Y,X),Y=o7(""+Y),$.setAttribute(X,Y);break;case"action":case"formAction":if(Y!=null&&(G==="form"?X==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof Y==="function"&&(Z.encType==null&&Z.method==null||yX||(yX=!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||hX||(hX=!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."))):G==="input"||G==="button"?X==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):G!=="input"||Z.type==="submit"||Z.type==="image"||fX?G!=="button"||Z.type==null||Z.type==="submit"||fX?typeof Y==="function"&&(Z.name==null||YL||(YL=!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||yX||(yX=!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||hX||(hX=!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."))):(fX=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(fX=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):X==="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 Y==="function"){$.setAttribute(X,"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"&&(X==="formAction"?(G!=="input"&&G5($,G,"name",Z.name,Z,null),G5($,G,"formEncType",Z.formEncType,Z,null),G5($,G,"formMethod",Z.formMethod,Z,null),G5($,G,"formTarget",Z.formTarget,Z,null)):(G5($,G,"encType",Z.encType,Z,null),G5($,G,"method",Z.method,Z,null),G5($,G,"target",Z.target,Z,null)));if(Y==null||typeof Y==="symbol"||typeof Y==="boolean"){$.removeAttribute(X);break}r0(Y,X),Y=o7(""+Y),$.setAttribute(X,Y);break;case"onClick":Y!=null&&(typeof Y!=="function"&&g2(X,Y),$.onclick=G4);break;case"onScroll":Y!=null&&(typeof Y!=="function"&&g2(X,Y),b0("scroll",$));break;case"onScrollEnd":Y!=null&&(typeof Y!=="function"&&g2(X,Y),b0("scrollend",$));break;case"dangerouslySetInnerHTML":if(Y!=null){if(typeof Y!=="object"||!("__html"in Y))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=Y.__html,X!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=X}}break;case"multiple":$.multiple=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;case"muted":$.muted=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(Y==null||typeof Y==="function"||typeof Y==="boolean"||typeof Y==="symbol"){$.removeAttribute("xlink:href");break}r0(Y,X),X=o7(""+Y),$.setAttributeNS(U8,"xlink:href",X);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"?(r0(Y,X),$.setAttribute(X,""+Y)):$.removeAttribute(X);break;case"inert":Y!==""||dX[X]||(dX[X]=!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.",X));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":Y&&typeof Y!=="function"&&typeof Y!=="symbol"?$.setAttribute(X,""):$.removeAttribute(X);break;case"capture":case"download":Y===!0?$.setAttribute(X,""):Y!==!1&&Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"?(r0(Y,X),$.setAttribute(X,Y)):$.removeAttribute(X);break;case"cols":case"rows":case"size":case"span":Y!=null&&typeof Y!=="function"&&typeof Y!=="symbol"&&!isNaN(Y)&&1<=Y?(r0(Y,X),$.setAttribute(X,Y)):$.removeAttribute(X);break;case"rowSpan":case"start":Y==null||typeof Y==="function"||typeof Y==="symbol"||isNaN(Y)?$.removeAttribute(X):(r0(Y,X),$.setAttribute(X,Y));break;case"popover":b0("beforetoggle",$),b0("toggle",$),bG($,"popover",Y);break;case"xlinkActuate":$4($,U8,"xlink:actuate",Y);break;case"xlinkArcrole":$4($,U8,"xlink:arcrole",Y);break;case"xlinkRole":$4($,U8,"xlink:role",Y);break;case"xlinkShow":$4($,U8,"xlink:show",Y);break;case"xlinkTitle":$4($,U8,"xlink:title",Y);break;case"xlinkType":$4($,U8,"xlink:type",Y);break;case"xmlBase":$4($,pJ,"xml:base",Y);break;case"xmlLang":$4($,pJ,"xml:lang",Y);break;case"xmlSpace":$4($,pJ,"xml:space",Y);break;case"is":J!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),bG($,"is",Y);break;case"innerText":case"textContent":break;case"popoverTarget":ZL||Y==null||typeof Y!=="object"||(ZL=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",Y));default:!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"?(X=WU(X),bG($,X,Y)):l6.hasOwnProperty(X)&&Y!=null&&typeof Y!=="function"&&g2(X,Y)}}function UZ($,G,X,Y,Z,J){switch(X){case"style":zU($,Y,J);break;case"dangerouslySetInnerHTML":if(Y!=null){if(typeof Y!=="object"||!("__html"in Y))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(X=Y.__html,X!=null){if(Z.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=X}}break;case"children":typeof Y==="string"?a7($,Y):(typeof Y==="number"||typeof Y==="bigint")&&a7($,""+Y);break;case"onScroll":Y!=null&&(typeof Y!=="function"&&g2(X,Y),b0("scroll",$));break;case"onScrollEnd":Y!=null&&(typeof Y!=="function"&&g2(X,Y),b0("scrollend",$));break;case"onClick":Y!=null&&(typeof Y!=="function"&&g2(X,Y),$.onclick=G4);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(l6.hasOwnProperty(X))Y!=null&&typeof Y!=="function"&&g2(X,Y);else $:{if(X[0]==="o"&&X[1]==="n"&&(Z=X.endsWith("Capture"),G=X.slice(2,Z?X.length-7:void 0),J=$[Y1]||null,J=J!=null?J[X]:null,typeof J==="function"&&$.removeEventListener(G,J,Z),typeof Y==="function")){typeof J!=="function"&&J!==null&&(X in $?$[X]=null:$.hasAttribute(X)&&$.removeAttribute(X)),$.addEventListener(G,Y,Z);break $}X in $?$[X]=Y:Y===!0?$.setAttribute(X,""):bG($,X,Y)}}}function l5($,G,X){switch(BZ(G,X),G){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":b0("error",$),b0("load",$);var Y=!1,Z=!1,J;for(J in X)if(X.hasOwnProperty(J)){var U=X[J];if(U!=null)switch(J){case"src":Y=!0;break;case"srcSet":Z=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:G5($,G,J,U,X,null)}}Z&&G5($,G,"srcSet",X.srcSet,X,null),Y&&G5($,G,"src",X.src,X,null);return;case"input":S4("input",X),b0("invalid",$);var z=J=U=Z=null,A=null,N=null;for(Y in X)if(X.hasOwnProperty(Y)){var q=X[Y];if(q!=null)switch(Y){case"name":Z=q;break;case"type":U=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(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:G5($,G,Y,q,X,null)}}iB($,X),aB($,J,z,A,N,U,Z,!1);return;case"select":S4("select",X),b0("invalid",$),Y=U=J=null;for(Z in X)if(X.hasOwnProperty(Z)&&(z=X[Z],z!=null))switch(Z){case"value":J=z;break;case"defaultValue":U=z;break;case"multiple":Y=z;default:G5($,G,Z,z,X,null)}rB($,X),G=J,X=U,$.multiple=!!Y,G!=null?E8($,!!Y,G,!1):X!=null&&E8($,!!Y,X,!0);return;case"textarea":S4("textarea",X),b0("invalid",$),J=Z=Y=null;for(U in X)if(X.hasOwnProperty(U)&&(z=X[U],z!=null))switch(U){case"value":Y=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:G5($,G,U,z,X,null)}tB($,X),$U($,Y,Z,J);return;case"option":nB($,X);for(A in X)if(X.hasOwnProperty(A)&&(Y=X[A],Y!=null))switch(A){case"selected":$.selected=Y&&typeof Y!=="function"&&typeof Y!=="symbol";break;default:G5($,G,A,Y,X,null)}return;case"dialog":b0("beforetoggle",$),b0("toggle",$),b0("cancel",$),b0("close",$);break;case"iframe":case"object":b0("load",$);break;case"video":case"audio":for(Y=0;Y<NG.length;Y++)b0(NG[Y],$);break;case"image":b0("error",$),b0("load",$);break;case"details":b0("toggle",$);break;case"embed":case"source":case"link":b0("error",$),b0("load",$);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 X)if(X.hasOwnProperty(N)&&(Y=X[N],Y!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:G5($,G,N,Y,X,null)}return;default:if(n7(G)){for(q in X)X.hasOwnProperty(q)&&(Y=X[q],Y!==void 0&&UZ($,G,q,Y,X,void 0));return}}for(z in X)X.hasOwnProperty(z)&&(Y=X[z],Y!=null&&G5($,G,z,Y,X,null))}function kK($,G,X,Y){switch(BZ(G,Y),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,U=null,z=null,A=null,N=null,q=null;for(k in X){var D=X[k];if(X.hasOwnProperty(k)&&D!=null)switch(k){case"checked":break;case"value":break;case"defaultValue":A=D;default:Y.hasOwnProperty(k)||G5($,G,k,null,Y,D)}}for(var I in Y){var k=Y[I];if(D=X[I],Y.hasOwnProperty(I)&&(k!=null||D!=null))switch(I){case"type":J=k;break;case"name":Z=k;break;case"checked":N=k;break;case"defaultChecked":q=k;break;case"value":U=k;break;case"defaultValue":z=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:k!==D&&G5($,G,I,k,Y,D)}}G=X.type==="checkbox"||X.type==="radio"?X.checked!=null:X.value!=null,Y=Y.type==="checkbox"||Y.type==="radio"?Y.checked!=null:Y.value!=null,G||!Y||XL||(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"),XL=!0),!G||Y||GL||(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"),GL=!0),RY($,U,z,A,N,q,J,Z);return;case"select":k=U=z=I=null;for(J in X)if(A=X[J],X.hasOwnProperty(J)&&A!=null)switch(J){case"value":break;case"multiple":k=A;default:Y.hasOwnProperty(J)||G5($,G,J,null,Y,A)}for(Z in Y)if(J=Y[Z],A=X[Z],Y.hasOwnProperty(Z)&&(J!=null||A!=null))switch(Z){case"value":I=J;break;case"defaultValue":z=J;break;case"multiple":U=J;default:J!==A&&G5($,G,Z,J,Y,A)}Y=z,G=U,X=k,I!=null?E8($,!!G,I,!1):!!X!==!!G&&(Y!=null?E8($,!!G,Y,!0):E8($,!!G,G?[]:"",!1));return;case"textarea":k=I=null;for(z in X)if(Z=X[z],X.hasOwnProperty(z)&&Z!=null&&!Y.hasOwnProperty(z))switch(z){case"value":break;case"children":break;default:G5($,G,z,null,Y,Z)}for(U in Y)if(Z=Y[U],J=X[U],Y.hasOwnProperty(U)&&(Z!=null||J!=null))switch(U){case"value":I=Z;break;case"defaultValue":k=Z;break;case"children":break;case"dangerouslySetInnerHTML":if(Z!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Z!==J&&G5($,G,U,Z,Y,J)}eB($,I,k);return;case"option":for(var c in X)if(I=X[c],X.hasOwnProperty(c)&&I!=null&&!Y.hasOwnProperty(c))switch(c){case"selected":$.selected=!1;break;default:G5($,G,c,null,Y,I)}for(A in Y)if(I=Y[A],k=X[A],Y.hasOwnProperty(A)&&I!==k&&(I!=null||k!=null))switch(A){case"selected":$.selected=I&&typeof I!=="function"&&typeof I!=="symbol";break;default:G5($,G,A,I,Y,k)}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 n in X)I=X[n],X.hasOwnProperty(n)&&I!=null&&!Y.hasOwnProperty(n)&&G5($,G,n,null,Y,I);for(N in Y)if(I=Y[N],k=X[N],Y.hasOwnProperty(N)&&I!==k&&(I!=null||k!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(G+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:G5($,G,N,I,Y,k)}return;default:if(n7(G)){for(var U5 in X)I=X[U5],X.hasOwnProperty(U5)&&I!==void 0&&!Y.hasOwnProperty(U5)&&UZ($,G,U5,void 0,Y,I);for(q in Y)I=Y[q],k=X[q],!Y.hasOwnProperty(q)||I===k||I===void 0&&k===void 0||UZ($,G,q,I,Y,k);return}}for(var m0 in X)I=X[m0],X.hasOwnProperty(m0)&&I!=null&&!Y.hasOwnProperty(m0)&&G5($,G,m0,null,Y,I);for(D in Y)I=Y[D],k=X[D],!Y.hasOwnProperty(D)||I===k||I==null&&k==null||G5($,G,D,I,Y,k)}function JW($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function HZ($){var G={};$=$.style;for(var X=0;X<$.length;X++){var Y=$[X];G[Y]=$.getPropertyValue(Y)}return G}function BW($,G,X){if(G!=null&&typeof G!=="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 Y,Z=Y="",J;for(J in G)if(G.hasOwnProperty(J)){var U=G[J];U!=null&&typeof U!=="boolean"&&U!==""&&(J.indexOf("--")===0?(p7(U,J),Y+=Z+J+":"+(""+U).trim()):typeof U!=="number"||U===0||K_.has(J)?(p7(U,J),Y+=Z+J.replace(__,"-$1").toLowerCase().replace(A_,"-ms-")+":"+(""+U).trim()):Y+=Z+J.replace(__,"-$1").toLowerCase().replace(A_,"-ms-")+":"+U+"px",Z=";")}Y=Y||null,G=$.getAttribute("style"),G!==Y&&(Y=p4(Y),p4(G)!==Y&&(X.style=HZ($)))}}function u1($,G,X,Y,Z,J){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(r0(Y,G),$===""+Y)return}m5(G,$,Y,J)}function UW($,G,X,Y,Z,J){if(Z.delete(X),$=$.getAttribute(X),$===null){switch(typeof Y){case"function":case"symbol":return}if(!Y)return}else switch(typeof Y){case"function":case"symbol":break;default:if(Y)return}m5(G,$,Y,J)}function zZ($,G,X,Y,Z,J){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":break;default:if(r0(Y,X),$===""+Y)return}m5(G,$,Y,J)}function HW($,G,X,Y,Z,J){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(Y))return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(!isNaN(Y)&&(r0(Y,G),$===""+Y))return}m5(G,$,Y,J)}function WZ($,G,X,Y,Z,J){if(Z.delete(X),$=$.getAttribute(X),$===null)switch(typeof Y){case"undefined":case"function":case"symbol":case"boolean":return}else if(Y!=null)switch(typeof Y){case"function":case"symbol":case"boolean":break;default:if(r0(Y,G),X=o7(""+Y),$===X)return}m5(G,$,Y,J)}function zW($,G,X,Y){for(var Z={},J=new Set,U=$.attributes,z=0;z<U.length;z++)switch(U[z].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:J.add(U[z].name)}if(n7(G)){for(var A in X)if(X.hasOwnProperty(A)){var N=X[A];if(N!=null){if(l6.hasOwnProperty(A))typeof N!=="function"&&g2(A,N);else if(X.suppressHydrationWarning!==!0)switch(A){case"children":typeof N!=="string"&&typeof N!=="number"||m5("children",$.textContent,N,Z);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":U=$.innerHTML,N=N?N.__html:void 0,N!=null&&(N=YW($,N),m5(A,U,N,Z));continue;case"style":J.delete(A),BW($,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"),U=lB($,"class",N),m5("className",U,N,Z);continue;default:Y.context===P4&&G!=="svg"&&G!=="math"?J.delete(A.toLowerCase()):J.delete(A),U=lB($,A,N),m5(A,U,N,Z)}}}}else for(N in X)if(X.hasOwnProperty(N)&&(A=X[N],A!=null)){if(l6.hasOwnProperty(N))typeof A!=="function"&&g2(N,A);else if(X.suppressHydrationWarning!==!0)switch(N){case"children":typeof A!=="string"&&typeof A!=="number"||m5("children",$.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":U=$.innerHTML,A=A?A.__html:void 0,A!=null&&(A=YW($,A),U!==A&&(Z[N]={__html:U}));continue;case"className":u1($,N,"class",A,J,Z);continue;case"tabIndex":u1($,N,"tabindex",A,J,Z);continue;case"style":J.delete(N),BW($,A,Z);continue;case"multiple":J.delete(N),m5(N,$.multiple,A,Z);continue;case"muted":J.delete(N),m5(N,$.muted,A,Z);continue;case"autoFocus":J.delete("autofocus"),m5(N,$.autofocus,A,Z);continue;case"data":if(G!=="object"){J.delete(N),U=$.getAttribute("data"),m5(N,U,A,Z);continue}case"src":case"href":if(!(A!==""||G==="a"&&N==="href"||G==="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}WZ($,N,N,A,J,Z);continue;case"action":case"formAction":if(U=$.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(U===sM){J.delete(N.toLowerCase()),m5(N,"function",A,Z);continue}WZ($,N,N.toLowerCase(),A,J,Z);continue;case"xlinkHref":WZ($,N,"xlink:href",A,J,Z);continue;case"contentEditable":zZ($,N,"contenteditable",A,J,Z);continue;case"spellCheck":zZ($,N,"spellcheck",A,J,Z);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":zZ($,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":UW($,N,N.toLowerCase(),A,J,Z);continue;case"capture":case"download":$:{z=$;var q=U=N,D=Z;if(J.delete(q),z=z.getAttribute(q),z===null)switch(typeof A){case"undefined":case"function":case"symbol":break $;default:if(A===!1)break $}else if(A!=null)switch(typeof A){case"function":case"symbol":break;case"boolean":if(A===!0&&z==="")break $;break;default:if(r0(A,U),z===""+A)break $}m5(U,z,A,D)}continue;case"cols":case"rows":case"size":case"span":$:{if(z=$,q=U=N,D=Z,J.delete(q),z=z.getAttribute(q),z===null)switch(typeof A){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(A)||1>A)break $}else if(A!=null)switch(typeof A){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(A)||1>A)&&(r0(A,U),z===""+A))break $}m5(U,z,A,D)}continue;case"rowSpan":HW($,N,"rowspan",A,J,Z);continue;case"start":HW($,N,N,A,J,Z);continue;case"xHeight":u1($,N,"x-height",A,J,Z);continue;case"xlinkActuate":u1($,N,"xlink:actuate",A,J,Z);continue;case"xlinkArcrole":u1($,N,"xlink:arcrole",A,J,Z);continue;case"xlinkRole":u1($,N,"xlink:role",A,J,Z);continue;case"xlinkShow":u1($,N,"xlink:show",A,J,Z);continue;case"xlinkTitle":u1($,N,"xlink:title",A,J,Z);continue;case"xlinkType":u1($,N,"xlink:type",A,J,Z);continue;case"xmlBase":u1($,N,"xml:base",A,J,Z);continue;case"xmlLang":u1($,N,"xml:lang",A,J,Z);continue;case"xmlSpace":u1($,N,"xml:space",A,J,Z);continue;case"inert":A!==""||dX[N]||(dX[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)),UW($,N,N,A,J,Z);continue;default:if(!(2<N.length)||N[0]!=="o"&&N[0]!=="O"||N[1]!=="n"&&N[1]!=="N"){z=WU(N),U=!1,Y.context===P4&&G!=="svg"&&G!=="math"?J.delete(z.toLowerCase()):(q=N.toLowerCase(),q=e9.hasOwnProperty(q)?e9[q]||null:null,q!==null&&q!==N&&(U=!0,J.delete(q)),J.delete(z));$:if(q=$,D=z,z=A,c7(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 $;case"boolean":if(q=D.toLowerCase().slice(0,5),q!=="data-"&&q!=="aria-")break $}z=z===void 0?void 0:null}else z=void 0;U||m5(N,z,A,Z)}}}return 0<J.size&&X.suppressHydrationWarning!==!0&&SK($,J,Z),Object.keys(Z).length===0?null:Z}function vK($,G){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+G+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+G+" "+$[$.length-1]}}function WW($){switch($){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 $=0,G=0,X=performance.getEntriesByType("resource"),Y=0;Y<X.length;Y++){var Z=X[Y],J=Z.transferSize,U=Z.initiatorType,z=Z.duration;if(J&&z&&WW(U)){U=0,z=Z.responseEnd;for(Y+=1;Y<X.length;Y++){var A=X[Y],N=A.startTime;if(N>z)break;var{transferSize:q,initiatorType:D}=A;q&&WW(D)&&(A=A.responseEnd,U+=q*(A<z?1:(z-N)/(A-N)))}if(--Y,G+=8*(J+U)/(Z.duration/1000),$++,10<$)break}}if(0<$)return G/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function g9($){return $.nodeType===9?$:$.ownerDocument}function _W($){switch($){case r8:return D7;case t9:return pX;default:return P4}}function AW($,G){if($===P4)switch(G){case"svg":return D7;case"math":return pX;default:return P4}return $===D7&&G==="foreignObject"?P4:$}function _Z($,G){return $==="textarea"||$==="noscript"||typeof G.children==="string"||typeof G.children==="number"||typeof G.children==="bigint"||typeof G.dangerouslySetInnerHTML==="object"&&G.dangerouslySetInnerHTML!==null&&G.dangerouslySetInnerHTML.__html!=null}function bK(){var $=window.event;if($&&$.type==="popstate"){if($===iJ)return!1;return iJ=$,!0}return iJ=null,!1}function T$(){var $=window.event;return $&&$!==wG?$.type:null}function I$(){var $=window.event;return $&&$!==wG?$.timeStamp:-1.1}function mK($){setTimeout(function(){throw $})}function fK($,G,X){switch(G){case"button":case"input":case"select":case"textarea":X.autoFocus&&$.focus();break;case"img":X.src?$.src=X.src:X.srcSet&&($.srcset=X.srcSet)}}function hK(){}function yK($,G,X,Y){kK($,G,X,Y),$[Y1]=Y}function LW($){a7($,"")}function dK($,G,X){$.nodeValue=X}function NW($){if(!$.__reactWarnedAboutChildrenConflict){var G=$[Y1]||null;if(G!==null){var X=F0($);X!==null&&(typeof G.children==="string"||typeof G.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,r(X,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.')})):G.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,r(X,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 l4($){return $==="head"}function uK($,G){$.removeChild(G)}function pK($,G){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(G)}function QW($,G){var X=G,Y=0;do{var Z=X.nextSibling;if($.removeChild(X),Z&&Z.nodeType===8)if(X=Z.data,X===KG||X===uX){if(Y===0){$.removeChild(Z),c8(G);return}Y--}else if(X===QG||X===N6||X===z8||X===q7||X===H8)Y++;else if(X===aM)P$($.ownerDocument.documentElement);else if(X===oM){X=$.ownerDocument.head,P$(X);for(var J=X.firstChild;J;){var{nextSibling:U,nodeName:z}=J;J[j$]||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&J.rel.toLowerCase()==="stylesheet"||X.removeChild(J),J=U}}else X===nM&&P$($.ownerDocument.body);X=Z}while(X);c8(G)}function KW($,G){var X=$;$=0;do{var Y=X.nextSibling;if(X.nodeType===1?G?(X._stashedDisplay=X.style.display,X.style.display="none"):(X.style.display=X._stashedDisplay||"",X.getAttribute("style")===""&&X.removeAttribute("style")):X.nodeType===3&&(G?(X._stashedText=X.nodeValue,X.nodeValue=""):X.nodeValue=X._stashedText||""),Y&&Y.nodeType===8)if(X=Y.data,X===KG)if($===0)break;else $--;else X!==QG&&X!==N6&&X!==z8&&X!==q7||$++;X=Y}while(X)}function lK($){KW($,!0)}function cK($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function sK($){$.nodeValue=""}function iK($){KW($,!1)}function aK($,G){G=G[rM],G=G!==void 0&&G!==null&&G.hasOwnProperty("display")?G.display:null,$.style.display=G==null||typeof G==="boolean"?"":(""+G).trim()}function nK($,G){$.nodeValue=G}function AZ($){var G=$.firstChild;G&&G.nodeType===10&&(G=G.nextSibling);for(;G;){var X=G;switch(G=G.nextSibling,X.nodeName){case"HTML":case"HEAD":case"BODY":AZ(X),i(X);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(X.rel.toLowerCase()==="stylesheet")continue}$.removeChild(X)}}function oK($,G,X,Y){for(;$.nodeType===1;){var Z=X;if($.nodeName.toLowerCase()!==G.toLowerCase()){if(!Y&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!Y)if(G==="input"&&$.type==="hidden"){r0(Z.name,"name");var J=Z.name==null?null:""+Z.name;if(Z.type==="hidden"&&$.getAttribute("name")===J)return $}else return $;else if(!$[j$])switch(G){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(J=$.getAttribute("rel"),J==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(J!==Z.rel||$.getAttribute("href")!==(Z.href==null||Z.href===""?null:Z.href)||$.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin)||$.getAttribute("title")!==(Z.title==null?null:Z.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(J=$.getAttribute("src"),(J!==(Z.src==null?null:Z.src)||$.getAttribute("type")!==(Z.type==null?null:Z.type)||$.getAttribute("crossorigin")!==(Z.crossOrigin==null?null:Z.crossOrigin))&&J&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=x1($.nextSibling),$===null)break}return null}function rK($,G,X){if(G==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!X)return null;if($=x1($.nextSibling),$===null)return null}return $}function wW($,G){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!G)return null;if($=x1($.nextSibling),$===null)return null}return $}function LZ($){return $.data===N6||$.data===z8}function NZ($){return $.data===q7||$.data===N6&&$.ownerDocument.readyState!==BL}function tK($,G){var X=$.ownerDocument;if($.data===z8)$._reactRetry=G;else if($.data!==N6||X.readyState!==BL)G();else{var Y=function(){G(),X.removeEventListener("DOMContentLoaded",Y)};X.addEventListener("DOMContentLoaded",Y),$._reactRetry=Y}}function x1($){for(;$!=null;$=$.nextSibling){var G=$.nodeType;if(G===1||G===3)break;if(G===8){if(G=$.data,G===QG||G===q7||G===N6||G===z8||G===H8||G===lJ||G===JL)break;if(G===KG||G===uX)return null}}return $}function MW($){if($.nodeType===1){for(var G=$.nodeName.toLowerCase(),X={},Y=$.attributes,Z=0;Z<Y.length;Z++){var J=Y[Z];X[JW(J.name)]=J.name.toLowerCase()==="style"?HZ($):J.value}return{type:G,props:X}}return $.nodeType===8?$.data===H8?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function FW($,G,X){return X===null||X[iM]!==!0?($.nodeValue===G?$=null:(G=p4(G),$=p4($.nodeValue)===G?null:$.nodeValue),$):null}function QZ($){$=$.nextSibling;for(var G=0;$;){if($.nodeType===8){var X=$.data;if(X===KG||X===uX){if(G===0)return x1($.nextSibling);G--}else X!==QG&&X!==q7&&X!==N6&&X!==z8&&X!==H8||G++}$=$.nextSibling}return null}function RW($){$=$.previousSibling;for(var G=0;$;){if($.nodeType===8){var X=$.data;if(X===QG||X===q7||X===N6||X===z8||X===H8){if(G===0)return $;G--}else X!==KG&&X!==uX||G++}$=$.previousSibling}return null}function eK($){c8($)}function $w($){c8($)}function Gw($){c8($)}function TW($,G,X,Y,Z){switch(Z&&qY($,Y.ancestorInfo),G=g9(X),$){case"html":if($=G.documentElement,!$)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 $;case"head":if($=G.head,!$)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 $;case"body":if($=G.body,!$)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 $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Xw($,G,X,Y){if(!X[a4]&&F0(X)){var Z=X.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($){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=X.attributes;Z.length;)X.removeAttributeNode(Z[0]);l5(X,$,G),X[c5]=Y,X[Y1]=G}function P$($){for(var G=$.attributes;G.length;)$.removeAttributeNode(G[0]);i($)}function b9($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function IW($,G,X){var Y=E7;if(Y&&typeof G==="string"&&G){var Z=d1(G);Z='link[rel="'+$+'"][href="'+Z+'"]',typeof X==="string"&&(Z+='[crossorigin="'+X+'"]'),AL.has(Z)||(AL.add(Z),$={rel:$,crossOrigin:X,href:G},Y.querySelector(Z)===null&&(G=Y.createElement("link"),l5(G,"link",$),H0(G),Y.head.appendChild(G)))}}function PW($,G,X,Y){var Z=(Z=s4.current)?b9(Z):null;if(!Z)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof X.precedence==="string"&&typeof X.href==="string"?(X=p8(X.href),G=d0(Z).hoistableStyles,Y=G.get(X),Y||(Y={type:"style",instance:null,count:0,state:null},G.set(X,Y)),Y):{type:"void",instance:null,count:0,state:null};case"link":if(X.rel==="stylesheet"&&typeof X.href==="string"&&typeof X.precedence==="string"){$=p8(X.href);var J=d0(Z).hoistableStyles,U=J.get($);if(!U&&(Z=Z.ownerDocument||Z,U={type:"stylesheet",instance:null,count:0,state:{loading:_8,preload:null}},J.set($,U),(J=Z.querySelector(V$($)))&&!J._p&&(U.instance=J,U.state.loading=MG|e1),!$2.has($))){var z={rel:"preload",as:"style",href:X.href,crossOrigin:X.crossOrigin,integrity:X.integrity,media:X.media,hrefLang:X.hrefLang,referrerPolicy:X.referrerPolicy};$2.set($,z),J||Yw(Z,$,z,U.state)}if(G&&Y===null)throw X=`
|
||
|
||
- `+m9(G)+`
|
||
+ `+m9(X),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."+X);return U}if(G&&Y!==null)throw X=`
|
||
|
||
- `+m9(G)+`
|
||
+ `+m9(X),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."+X);return null;case"script":return G=X.async,X=X.src,typeof X==="string"&&G&&typeof G!=="function"&&typeof G!=="symbol"?(X=l8(X),G=d0(Z).hoistableScripts,Y=G.get(X),Y||(Y={type:"script",instance:null,count:0,state:null},G.set(X,Y)),Y):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function m9($){var G=0,X="<link";return typeof $.rel==="string"?(G++,X+=' rel="'+$.rel+'"'):z2.call($,"rel")&&(G++,X+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(G++,X+=' href="'+$.href+'"'):z2.call($,"href")&&(G++,X+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(G++,X+=' precedence="'+$.precedence+'"'):z2.call($,"precedence")&&(G++,X+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>G&&(X+=" ..."),X+" />"}function p8($){return'href="'+d1($)+'"'}function V$($){return'link[rel="stylesheet"]['+$+"]"}function VW($){return x0({},$,{"data-precedence":$.precedence,precedence:null})}function Yw($,G,X,Y){$.querySelector('link[rel="preload"][as="style"]['+G+"]")?Y.loading=MG:(G=$.createElement("link"),Y.preload=G,G.addEventListener("load",function(){return Y.loading|=MG}),G.addEventListener("error",function(){return Y.loading|=WL}),l5(G,"link",X),H0(G),$.head.appendChild(G))}function l8($){return'[src="'+d1($)+'"]'}function O$($){return"script[async]"+$}function OW($,G,X){if(G.count++,G.instance===null)switch(G.type){case"style":var Y=$.querySelector('style[data-href~="'+d1(X.href)+'"]');if(Y)return G.instance=Y,H0(Y),Y;var Z=x0({},X,{"data-href":X.href,"data-precedence":X.precedence,href:null,precedence:null});return Y=($.ownerDocument||$).createElement("style"),H0(Y),l5(Y,"style",Z),f9(Y,X.precedence,$),G.instance=Y;case"stylesheet":Z=p8(X.href);var J=$.querySelector(V$(Z));if(J)return G.state.loading|=e1,G.instance=J,H0(J),J;Y=VW(X),(Z=$2.get(Z))&&KZ(Y,Z),J=($.ownerDocument||$).createElement("link"),H0(J);var U=J;return U._p=new Promise(function(z,A){U.onload=z,U.onerror=A}),l5(J,"link",Y),G.state.loading|=e1,f9(J,X.precedence,$),G.instance=J;case"script":if(J=l8(X.src),Z=$.querySelector(O$(J)))return G.instance=Z,H0(Z),Z;if(Y=X,Z=$2.get(J))Y=x0({},X),wZ(Y,Z);return $=$.ownerDocument||$,Z=$.createElement("script"),H0(Z),l5(Z,"link",Y),$.head.appendChild(Z),G.instance=Z;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+G.type+'". this is a bug in React.')}else G.type==="stylesheet"&&(G.state.loading&e1)===_8&&(Y=G.instance,G.state.loading|=e1,f9(Y,X.precedence,$));return G.instance}function f9($,G,X){for(var Y=X.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),Z=Y.length?Y[Y.length-1]:null,J=Z,U=0;U<Y.length;U++){var z=Y[U];if(z.dataset.precedence===G)J=z;else if(J!==Z)break}J?J.parentNode.insertBefore($,J.nextSibling):(G=X.nodeType===9?X.head:X,G.insertBefore($,G.firstChild))}function KZ($,G){$.crossOrigin==null&&($.crossOrigin=G.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=G.referrerPolicy),$.title==null&&($.title=G.title)}function wZ($,G){$.crossOrigin==null&&($.crossOrigin=G.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=G.referrerPolicy),$.integrity==null&&($.integrity=G.integrity)}function qW($,G,X){if(lX===null){var Y=new Map,Z=lX=new Map;Z.set(X,Y)}else Z=lX,Y=Z.get(X),Y||(Y=new Map,Z.set(X,Y));if(Y.has($))return Y;Y.set($,null),X=X.getElementsByTagName($);for(Z=0;Z<X.length;Z++){var J=X[Z];if(!(J[j$]||J[c5]||$==="link"&&J.getAttribute("rel")==="stylesheet")&&J.namespaceURI!==r8){var U=J.getAttribute(G)||"";U=$+U;var z=Y.get(U);z?z.push(J):Y.set(U,[J])}}return Y}function DW($,G,X){$=$.ownerDocument||$,$.head.insertBefore(X,G==="title"?$.querySelector("head > title"):null)}function Zw($,G,X){var Y=!X.ancestorInfo.containerTagInScope;if(X.context===D7||G.itemProp!=null)return!Y||G.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="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.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof G.precedence!=="string"||typeof G.href!=="string"||G.href===""){Y&&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 G.rel!=="string"||typeof G.href!=="string"||G.href===""||G.onLoad||G.onError){if(G.rel==="stylesheet"&&typeof G.precedence==="string"){$=G.href;var{onError:Z,disabled:J}=G;X=[],G.onLoad&&X.push("`onLoad`"),Z&&X.push("`onError`"),J!=null&&X.push("`disabled`"),Z=vK(X,"and"),Z+=X.length===1?" prop":" props",J=X.length===1?"an "+Z:"the "+Z,X.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.',$,J,Z)}Y&&(typeof G.rel!=="string"||typeof G.href!=="string"||G.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"):(G.onError||G.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(G.rel){case"stylesheet":return $=G.precedence,G=G.disabled,typeof $!=="string"&&Y&&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 $==="string"&&G==null;default:return!0}case"script":if($=G.async&&typeof G.async!=="function"&&typeof G.async!=="symbol",!$||G.onLoad||G.onError||!G.src||typeof G.src!=="string"){Y&&($?G.onLoad||G.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":Y&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function EW($){return $.type==="stylesheet"&&($.state.loading&_L)===_8?!1:!0}function Jw($,G,X,Y){if(X.type==="stylesheet"&&(typeof Y.media!=="string"||matchMedia(Y.media).matches!==!1)&&(X.state.loading&e1)===_8){if(X.instance===null){var Z=p8(Y.href),J=G.querySelector(V$(Z));if(J){G=J._p,G!==null&&typeof G==="object"&&typeof G.then==="function"&&($.count++,$=h9.bind($),G.then($,$)),X.state.loading|=e1,X.instance=J,H0(J);return}J=G.ownerDocument||G,Y=VW(Y),(Z=$2.get(Z))&&KZ(Y,Z),J=J.createElement("link"),H0(J);var U=J;U._p=new Promise(function(z,A){U.onload=z,U.onerror=A}),l5(J,"link",Y),X.instance=J}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(X,G),(G=X.state.preload)&&(X.state.loading&_L)===_8&&($.count++,X=h9.bind($),G.addEventListener("load",X),G.addEventListener("error",X))}}function Bw($,G){return $.stylesheets&&$.count===0&&y9($,$.stylesheets),0<$.count||0<$.imgCount?function(X){var Y=setTimeout(function(){if($.stylesheets&&y9($,$.stylesheets),$.unsuspend){var J=$.unsuspend;$.unsuspend=null,J()}},$F+G);0<$.imgBytes&&nJ===0&&(nJ=125*gK()*XF);var Z=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&y9($,$.stylesheets),$.unsuspend)){var J=$.unsuspend;$.unsuspend=null,J()}},($.imgBytes>nJ?50:GF)+G);return $.unsuspend=X,function(){$.unsuspend=null,clearTimeout(Y),clearTimeout(Z)}}:null}function h9(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)y9(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function y9($,G){$.stylesheets=null,$.unsuspend!==null&&($.count++,cX=new Map,G.forEach(Uw,$),cX=null,h9.call($))}function Uw($,G){if(!(G.state.loading&e1)){var X=cX.get($);if(X)var Y=X.get(oJ);else{X=new Map,cX.set($,X);for(var Z=$.querySelectorAll("link[data-precedence],style[data-precedence]"),J=0;J<Z.length;J++){var U=Z[J];if(U.nodeName==="LINK"||U.getAttribute("media")!=="not all")X.set(U.dataset.precedence,U),Y=U}Y&&X.set(oJ,Y)}Z=G.instance,U=Z.getAttribute("data-precedence"),J=X.get(U)||Y,J===Y&&X.set(oJ,Z),X.set(U,Z),this.count++,Y=h9.bind(this),Z.addEventListener("load",Y),Z.addEventListener("error",Y),J?J.parentNode.insertBefore(Z,J.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(Z,$.firstChild)),G.state.loading|=e1}}function Hw($,G,X,Y,Z,J,U,z,A){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=W8,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=D8(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=D8(0),this.hiddenUpdates=D8(null),this.identifierPrefix=Y,this.onUncaughtError=Z,this.onCaughtError=J,this.onRecoverableError=U,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(G=0;31>G;G++)$.push(new Set);this._debugRootType=X?"hydrateRoot()":"createRoot()"}function CW($,G,X,Y,Z,J,U,z,A,N,q,D){return $=new Hw($,G,X,U,A,N,q,D,z),G=DM,J===!0&&(G|=e5|_2),G|=q0,J=E(3,null,null,G),$.current=J,J.stateNode=$,G=cY(),m6(G),$.pooledCache=G,m6(G),J.memoizedState={element:Y,isDehydrated:X,cache:G},oY(J),$}function jW($){if(!$)return t4;return $=t4,$}function MZ($,G,X,Y,Z,J){if(t5&&typeof t5.onScheduleFiberRoot==="function")try{t5.onScheduleFiberRoot(n8,Y,X)}catch(U){h2||(h2=!0,console.error("React instrumentation encountered an error: %o",U))}Z=jW(Z),Y.context===null?Y.context=Z:Y.pendingContext=Z,f2&&k1!==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(k1)||"Unknown")),Y=m4(G),Y.payload={element:X},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),Y.callback=J),X=f4($,Y,G),X!==null&&(P2(G,"root.render()",null),M5(X,$,G),J$(X,$,G))}function xW($,G){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var X=$.retryLane;$.retryLane=X!==0&&X<G?X:G}}function FZ($,G){xW($,G),($=$.alternate)&&xW($,G)}function SW($){if($.tag===13||$.tag===31){var G=r5($,67108864);G!==null&&M5(G,$,67108864),FZ($,67108864)}}function kW($){if($.tag===13||$.tag===31){var G=j1($);G=E6(G);var X=r5($,G);X!==null&&M5(X,$,G),FZ($,G)}}function zw(){return k1}function Ww($,G,X,Y){var Z=g.T;g.T=null;var J=s0.p;try{s0.p=v1,RZ($,G,X,Y)}finally{s0.p=J,g.T=Z}}function _w($,G,X,Y){var Z=g.T;g.T=null;var J=s0.p;try{s0.p=W2,RZ($,G,X,Y)}finally{s0.p=J,g.T=Z}}function RZ($,G,X,Y){if(iX){var Z=TZ(Y);if(Z===null)JZ($,G,Y,aX,X),gW($,Y);else if(Aw(Z,$,G,X,Y))Y.stopPropagation();else if(gW($,Y),G&4&&-1<ZF.indexOf($)){for(;Z!==null;){var J=F0(Z);if(J!==null)switch(J.tag){case 3:if(J=J.stateNode,J.current.memoizedState.isDehydrated){var U=F2(J.pendingLanes);if(U!==0){var z=J;z.pendingLanes|=2;for(z.entangledLanes|=2;U;){var A=1<<31-X1(U);z.entanglements[1]|=A,U&=~A}v2(J),(h0&(g5|f1))===d5&&(jX=f5()+lA,F$(0,!1))}}break;case 31:case 13:z=r5(J,2),z!==null&&M5(z,J,2),y8(),FZ(J,2)}if(J=TZ(Y),J===null&&JZ($,G,Y,aX,X),J===Z)break;Z=J}Z!==null&&Y.stopPropagation()}else JZ($,G,Y,null,X)}}function TZ($){return $=DY($),IZ($)}function IZ($){if(aX=null,$=G0($),$!==null){var G=s($);if(G===null)$=null;else{var X=G.tag;if(X===13){if($=o(G),$!==null)return $;$=null}else if(X===31){if($=t(G),$!==null)return $;$=null}else if(X===3){if(G.stateNode.current.memoizedState.isDehydrated)return G.tag===3?G.stateNode.containerInfo:null;$=null}else G!==$&&($=null)}}return aX=$,null}function vW($){switch($){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 v1;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 W2;case"message":switch(Tw()){case gZ:return v1;case bZ:return W2;case a8:case Iw:return d2;case mZ:return o9;default:return d2}default:return d2}}function gW($,G){switch($){case"focusin":case"focusout":Q6=null;break;case"dragenter":case"dragleave":K6=null;break;case"mouseover":case"mouseout":w6=null;break;case"pointerover":case"pointerout":RG.delete(G.pointerId);break;case"gotpointercapture":case"lostpointercapture":TG.delete(G.pointerId)}}function q$($,G,X,Y,Z,J){if($===null||$.nativeEvent!==J)return $={blockedOn:G,domEventName:X,eventSystemFlags:Y,nativeEvent:J,targetContainers:[Z]},G!==null&&(G=F0(G),G!==null&&SW(G)),$;return $.eventSystemFlags|=Y,G=$.targetContainers,Z!==null&&G.indexOf(Z)===-1&&G.push(Z),$}function Aw($,G,X,Y,Z){switch(G){case"focusin":return Q6=q$(Q6,$,G,X,Y,Z),!0;case"dragenter":return K6=q$(K6,$,G,X,Y,Z),!0;case"mouseover":return w6=q$(w6,$,G,X,Y,Z),!0;case"pointerover":var J=Z.pointerId;return RG.set(J,q$(RG.get(J)||null,$,G,X,Y,Z)),!0;case"gotpointercapture":return J=Z.pointerId,TG.set(J,q$(TG.get(J)||null,$,G,X,Y,Z)),!0}return!1}function bW($){var G=G0($.target);if(G!==null){var X=s(G);if(X!==null){if(G=X.tag,G===13){if(G=o(X),G!==null){$.blockedOn=G,d($.priority,function(){kW(X)});return}}else if(G===31){if(G=t(X),G!==null){$.blockedOn=G,d($.priority,function(){kW(X)});return}}else if(G===3&&X.stateNode.current.memoizedState.isDehydrated){$.blockedOn=X.tag===3?X.stateNode.containerInfo:null;return}}}$.blockedOn=null}function d9($){if($.blockedOn!==null)return!1;for(var G=$.targetContainers;0<G.length;){var X=TZ($.nativeEvent);if(X===null){X=$.nativeEvent;var Y=new X.constructor(X.type,X),Z=Y;x$!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),x$=Z,X.target.dispatchEvent(Y),x$===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."),x$=null}else return G=F0(X),G!==null&&SW(G),$.blockedOn=X,!1;G.shift()}return!0}function mW($,G,X){d9($)&&X.delete(G)}function Lw(){rJ=!1,Q6!==null&&d9(Q6)&&(Q6=null),K6!==null&&d9(K6)&&(K6=null),w6!==null&&d9(w6)&&(w6=null),RG.forEach(mW),TG.forEach(mW)}function u9($,G){$.blockedOn===G&&($.blockedOn=null,rJ||(rJ=!0,u0.unstable_scheduleCallback(u0.unstable_NormalPriority,Lw)))}function fW($){nX!==$&&(nX=$,u0.unstable_scheduleCallback(u0.unstable_NormalPriority,function(){nX===$&&(nX=null);for(var G=0;G<$.length;G+=3){var X=$[G],Y=$[G+1],Z=$[G+2];if(typeof Y!=="function")if(IZ(Y||X)===null)continue;else break;var J=F0(X);J!==null&&($.splice(G,3),G-=3,X={pending:!0,data:Z,method:X.method,action:Y},Object.freeze(X),I3(J,X,Y,Z))}}))}function c8($){function G(A){return u9(A,$)}Q6!==null&&u9(Q6,$),K6!==null&&u9(K6,$),w6!==null&&u9(w6,$),RG.forEach(G),TG.forEach(G);for(var X=0;X<M6.length;X++){var Y=M6[X];Y.blockedOn===$&&(Y.blockedOn=null)}for(;0<M6.length&&(X=M6[0],X.blockedOn===null);)bW(X),X.blockedOn===null&&M6.shift();if(X=($.ownerDocument||$).$$reactFormReplay,X!=null)for(Y=0;Y<X.length;Y+=3){var Z=X[Y],J=X[Y+1],U=Z[Y1]||null;if(typeof J==="function")U||fW(X);else if(U){var z=null;if(J&&J.hasAttribute("formAction")){if(Z=J,U=J[Y1]||null)z=U.formAction;else if(IZ(Z)!==null)continue}else z=U.action;typeof z==="function"?X[Y+1]=z:(X.splice(Y,3),Y-=3),fW(X)}}}function hW(){function $(J){J.canIntercept&&J.info==="react-transition"&&J.intercept({handler:function(){return new Promise(function(U){return Z=U})},focusReset:"manual",scroll:"manual"})}function G(){Z!==null&&(Z(),Z=null),Y||setTimeout(X,20)}function X(){if(!Y&&!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 Y=!1,Z=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",G),navigation.addEventListener("navigateerror",G),setTimeout(X,100),function(){Y=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",G),navigation.removeEventListener("navigateerror",G),Z!==null&&(Z(),Z=null)}}}function PZ($){this._internalRoot=$}function p9($){this._internalRoot=$}function yW($){$[a4]&&($._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 x0=Object.assign,Nw=Symbol.for("react.element"),b2=Symbol.for("react.transitional.element"),s8=Symbol.for("react.portal"),i8=Symbol.for("react.fragment"),l9=Symbol.for("react.strict_mode"),VZ=Symbol.for("react.profiler"),OZ=Symbol.for("react.consumer"),m2=Symbol.for("react.context"),D$=Symbol.for("react.forward_ref"),qZ=Symbol.for("react.suspense"),DZ=Symbol.for("react.suspense_list"),c9=Symbol.for("react.memo"),S1=Symbol.for("react.lazy"),EZ=Symbol.for("react.activity"),Qw=Symbol.for("react.memo_cache_sentinel"),dW=Symbol.iterator,Kw=Symbol.for("react.client.reference"),k5=Array.isArray,g=C7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,s0=eJ.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ww=Object.freeze({pending:!1,data:null,method:null,action:null}),CZ=[],jZ=[],z4=-1,c4=o0(null),E$=o0(null),s4=o0(null),s9=o0(null),C$=0,uW,pW,lW,cW,sW,iW,aW;V.__reactDisabledLog=!0;var xZ,nW,SZ=!1,kZ=new(typeof WeakMap==="function"?WeakMap:Map),k1=null,f2=!1,z2=Object.prototype.hasOwnProperty,vZ=u0.unstable_scheduleCallback,Mw=u0.unstable_cancelCallback,Fw=u0.unstable_shouldYield,Rw=u0.unstable_requestPaint,f5=u0.unstable_now,Tw=u0.unstable_getCurrentPriorityLevel,gZ=u0.unstable_ImmediatePriority,bZ=u0.unstable_UserBlockingPriority,a8=u0.unstable_NormalPriority,Iw=u0.unstable_LowPriority,mZ=u0.unstable_IdlePriority,Pw=u0.log,Vw=u0.unstable_setDisableYieldValue,n8=null,t5=null,h2=!1,y2=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",X1=Math.clz32?Math.clz32:vG,Ow=Math.log,qw=Math.LN2,i9=256,a9=262144,n9=4194304,v1=2,W2=8,d2=32,o9=268435456,i4=Math.random().toString(36).slice(2),c5="__reactFiber$"+i4,Y1="__reactProps$"+i4,a4="__reactContainer$"+i4,fZ="__reactEvents$"+i4,Dw="__reactListeners$"+i4,Ew="__reactHandles$"+i4,oW="__reactResources$"+i4,j$="__reactMarker$"+i4,rW=new Set,l6={},hZ={},Cw={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},jw=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={},xw=/[\n"\\]/g,$_=!1,G_=!1,X_=!1,Y_=!1,Z_=!1,J_=!1,B_=["value","defaultValue"],U_=!1,H_=/["'&<>\n\t]|^\s|\s$/,Sw="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(" "),kw=z_.concat(["button"]),vw="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},r9={},yZ={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-/,gw=/^(?:webkit|moz|o)[A-Z]/,bw=/^-ms-/,mw=/-(.)/g,L_=/;\s*$/,o8={},dZ={},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(" ")),t9="http://www.w3.org/1998/Math/MathML",r8="http://www.w3.org/2000/svg",fw=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"]]),e9={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"},w_={"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},t8={},hw=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]*$"),yw=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,Z1={},F_=/^on./,dw=/^on[^A-Z]/,uw=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]*$"),pw=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]*$"),lw=/^[\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,x$=null,e8=null,$7=null,uZ=!1,u2=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pZ=!1;if(u2)try{var S$={};Object.defineProperty(S$,"passive",{get:function(){pZ=!0}}),window.addEventListener("test",S$,S$),window.removeEventListener("test",S$,S$)}catch($){pZ=!1}var n4=null,lZ=null,$X=null,c6={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},GX=L1(c6),k$=x0({},c6,{view:0,detail:0}),cw=L1(k$),cZ,sZ,v$,XX=x0({},k$,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:EY,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==v$&&(v$&&$.type==="mousemove"?(cZ=$.screenX-v$.screenX,sZ=$.screenY-v$.screenY):sZ=cZ=0,v$=$),cZ},movementY:function($){return"movementY"in $?$.movementY:sZ}}),R_=L1(XX),sw=x0({},XX,{dataTransfer:0}),iw=L1(sw),aw=x0({},k$,{relatedTarget:0}),iZ=L1(aw),nw=x0({},c6,{animationName:0,elapsedTime:0,pseudoElement:0}),ow=L1(nw),rw=x0({},c6,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),tw=L1(rw),ew=x0({},c6,{data:0}),T_=L1(ew),$M=T_,GM={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},XM={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"},YM={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},ZM=x0({},k$,{key:function($){if($.key){var G=GM[$.key]||$.key;if(G!=="Unidentified")return G}return $.type==="keypress"?($=dG($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?XM[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:EY,charCode:function($){return $.type==="keypress"?dG($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?dG($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),JM=L1(ZM),BM=x0({},XX,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),I_=L1(BM),UM=x0({},k$,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:EY}),HM=L1(UM),zM=x0({},c6,{propertyName:0,elapsedTime:0,pseudoElement:0}),WM=L1(zM),_M=x0({},XX,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),AM=L1(_M),LM=x0({},c6,{newState:0,oldState:0}),NM=L1(LM),QM=[9,13,27,32],P_=229,aZ=u2&&"CompositionEvent"in window,g$=null;u2&&"documentMode"in document&&(g$=document.documentMode);var KM=u2&&"TextEvent"in window&&!g$,V_=u2&&(!aZ||g$&&8<g$&&11>=g$),O_=32,q_=String.fromCharCode(O_),D_=!1,G7=!1,wM={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},b$=null,m$=null,E_=!1;u2&&(E_=fQ("input")&&(!document.documentMode||9<document.documentMode));var J1=typeof Object.is==="function"?Object.is:lQ,MM=u2&&"documentMode"in document&&11>=document.documentMode,X7=null,nZ=null,f$=null,oZ=!1,Y7={animationend:j6("Animation","AnimationEnd"),animationiteration:j6("Animation","AnimationIteration"),animationstart:j6("Animation","AnimationStart"),transitionrun:j6("Transition","TransitionRun"),transitionstart:j6("Transition","TransitionStart"),transitioncancel:j6("Transition","TransitionCancel"),transitionend:j6("Transition","TransitionEnd")},rZ={},C_={};u2&&(C_=document.createElement("div").style,("AnimationEvent"in window)||(delete Y7.animationend.animation,delete Y7.animationiteration.animation,delete Y7.animationstart.animation),("TransitionEvent"in window)||delete Y7.transitionend.transition);var j_=x6("animationend"),x_=x6("animationiteration"),S_=x6("animationstart"),FM=x6("transitionrun"),RM=x6("transitionstart"),TM=x6("transitioncancel"),k_=x6("transitionend"),v_=new Map,tZ="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(" ");tZ.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 eZ=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(G))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},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.",YX=0,$J=1,GJ=2,XJ=3,ZX="– ",JX="+ ",m_=" ",H5=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",p1="Components ⚛",S0="Scheduler ⚛",k0="Blocking",o4=!1,W4={color:"primary",properties:null,tooltipText:"",track:p1},r4={start:-0,end:-0,detail:{devtools:W4}},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_],h$=1,_4=2,l1=[],Z7=0,YJ=0,t4={};Object.freeze(t4);var c1=null,J7=null,Q0=0,DM=1,q0=2,e5=8,_2=16,EM=32,h_=!1;try{var y_=Object.preventExtensions({})}catch($){h_=!0}var ZJ=new WeakMap,B7=[],U7=0,BX=null,y$=0,s1=[],i1=0,s6=null,A4=1,L4="",s5=null,z5=null,g0=!1,p2=!1,g1=null,e4=null,a1=!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),UJ=o0(null),d_={},UX=null,H7=null,z7=!1,CM=typeof AbortController<"u"?AbortController:function(){var $=[],G=this.signal={aborted:!1,addEventListener:function(X,Y){$.push(Y)}};this.abort=function(){G.aborted=!0,$.forEach(function(X){return X()})}},jM=u0.unstable_scheduleCallback,xM=u0.unstable_NormalPriority,q5={$$typeof:m2,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},D5=u0.unstable_now,HX=console.createTask?console.createTask:function(){return null},d$=1,zX=2,h5=-0,$6=-0,N4=-0,Q4=null,B1=-1.1,i6=-0,Q5=-0,z0=-1.1,L0=-1.1,A5=null,F5=!1,G6=-0,l2=-1.1,u$=null,X6=0,HJ=null,zJ=null,a6=-1.1,p$=null,W7=-1.1,WX=-1.1,c2=-0,K4=-1.1,n1=-1.1,WJ=0,l$=null,u_=null,p_=null,Y6=-1.1,n6=null,Z6=-1.1,_X=-1.1,l_=-0,c_=-0,AX=0,w4=null,s_=0,c$=-1.1,LX=!1,NX=!1,s$=null,_J=0,o6=0,_7=null,i_=g.S;g.S=function($,G){if(uA=f5(),typeof G==="object"&&G!==null&&typeof G.then==="function"){if(0>K4&&0>n1){K4=D5();var X=I$(),Y=T$();if(X!==Z6||Y!==n6)Z6=-1.1;Y6=X,n6=Y}rQ($,G)}i_!==null&&i_($,G)};var r6=o0(null),A2={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},i$=[],a$=[],n$=[],o$=[],r$=[],t$=[],t6=new Set;A2.recordUnsafeLifecycleWarnings=function($,G){t6.has($.type)||(typeof G.componentWillMount==="function"&&G.componentWillMount.__suppressDeprecationWarning!==!0&&i$.push($),$.mode&e5&&typeof G.UNSAFE_componentWillMount==="function"&&a$.push($),typeof G.componentWillReceiveProps==="function"&&G.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&n$.push($),$.mode&e5&&typeof G.UNSAFE_componentWillReceiveProps==="function"&&o$.push($),typeof G.componentWillUpdate==="function"&&G.componentWillUpdate.__suppressDeprecationWarning!==!0&&r$.push($),$.mode&e5&&typeof G.UNSAFE_componentWillUpdate==="function"&&t$.push($))},A2.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<i$.length&&(i$.forEach(function(z){$.add(p(z)||"Component"),t6.add(z.type)}),i$=[]);var G=new Set;0<a$.length&&(a$.forEach(function(z){G.add(p(z)||"Component"),t6.add(z.type)}),a$=[]);var X=new Set;0<n$.length&&(n$.forEach(function(z){X.add(p(z)||"Component"),t6.add(z.type)}),n$=[]);var Y=new Set;0<o$.length&&(o$.forEach(function(z){Y.add(p(z)||"Component"),t6.add(z.type)}),o$=[]);var Z=new Set;0<r$.length&&(r$.forEach(function(z){Z.add(p(z)||"Component"),t6.add(z.type)}),r$=[]);var J=new Set;if(0<t$.length&&(t$.forEach(function(z){J.add(p(z)||"Component"),t6.add(z.type)}),t$=[]),0<G.size){var U=M(G);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`,U)}0<Y.size&&(U=M(Y),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`,U)),0<J.size&&(U=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`,U)),0<$.size&&(U=M($),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`,U)),0<X.size&&(U=M(X),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`,U)),0<Z.size&&(U=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`,U))};var QX=new Map,a_=new Set;A2.recordLegacyContextWarning=function($,G){var X=null;for(var Y=$;Y!==null;)Y.mode&e5&&(X=Y),Y=Y.return;X===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($.type)&&(Y=QX.get(X),$.type.contextTypes!=null||$.type.childContextTypes!=null||G!==null&&typeof G.getChildContext==="function")&&(Y===void 0&&(Y=[],QX.set(X,Y)),Y.push($))},A2.flushLegacyContextWarning=function(){QX.forEach(function($){if($.length!==0){var G=$[0],X=new Set;$.forEach(function(Z){X.add(p(Z)||"Component"),a_.add(Z.type)});var Y=M(X);r(G,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`,Y)})}})},A2.discardPendingWarnings=function(){i$=[],a$=[],n$=[],o$=[],r$=[],t$=[],QX=new Map};var n_={react_stack_bottom_frame:function($,G,X){var Y=f2;f2=!0;try{return $(G,X)}finally{f2=Y}}},AJ=n_.react_stack_bottom_frame.bind(n_),o_={react_stack_bottom_frame:function($){var G=f2;f2=!0;try{return $.render()}finally{f2=G}}},r_=o_.react_stack_bottom_frame.bind(o_),t_={react_stack_bottom_frame:function($,G){try{G.componentDidMount()}catch(X){c0($,$.return,X)}}},LJ=t_.react_stack_bottom_frame.bind(t_),e_={react_stack_bottom_frame:function($,G,X,Y,Z){try{G.componentDidUpdate(X,Y,Z)}catch(J){c0($,$.return,J)}}},$A=e_.react_stack_bottom_frame.bind(e_),GA={react_stack_bottom_frame:function($,G){var X=G.stack;$.componentDidCatch(G.value,{componentStack:X!==null?X:""})}},SM=GA.react_stack_bottom_frame.bind(GA),XA={react_stack_bottom_frame:function($,G,X){try{X.componentWillUnmount()}catch(Y){c0($,G,Y)}}},YA=XA.react_stack_bottom_frame.bind(XA),ZA={react_stack_bottom_frame:function($){var G=$.create;return $=$.inst,G=G(),$.destroy=G}},kM=ZA.react_stack_bottom_frame.bind(ZA),JA={react_stack_bottom_frame:function($,G,X){try{X()}catch(Y){c0($,G,Y)}}},vM=JA.react_stack_bottom_frame.bind(JA),BA={react_stack_bottom_frame:function($){var G=$._init;return G($._payload)}},gM=BA.react_stack_bottom_frame.bind(BA),A7=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."),KX=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."),wX={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.')}},e6=null,e$=!1,L7=null,$G=0,D0=null,QJ,UA=QJ=!1,HA={},zA={},WA={};R=function($,G,X){if(X!==null&&typeof X==="object"&&X._store&&(!X._store.validated&&X.key==null||X._store.validated===2)){if(typeof X._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.");X._store.validated=1;var Y=p($),Z=Y||"null";if(!HA[Z]){HA[Z]=!0,X=X._owner,$=$._debugOwner;var J="";$&&typeof $.tag==="number"&&(Z=p($))&&(J=`
|
||
|
||
Check the render method of \``+Z+"`."),J||Y&&(J=`
|
||
|
||
Check the top-level render call using <`+Y+">.");var U="";X!=null&&$!==X&&(Y=null,typeof X.tag==="number"?Y=p(X):typeof X.name==="string"&&(Y=X.name),Y&&(U=" It was passed a child from "+Y+".")),r(G,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,U)})}}};var $8=XH(!0),_A=XH(!1),AA=0,LA=1,NA=2,KJ=3,J6=!1,QA=!1,wJ=null,MJ=!1,N7=o0(null),MX=o0(0),b1=o0(null),o1=null,Q7=1,GG=2,P5=o0(0),FX=0,r1=1,U1=2,m1=4,H1=8,K7,KA=new Set,wA=new Set,FJ=new Set,MA=new Set,M4=0,w0=null,X5=null,E5=null,RX=!1,w7=!1,G8=!1,TX=0,XG=0,F4=null,bM=0,mM=25,v=null,t1=null,R4=-1,YG=!1,ZG={readContext:_5,use:d4,useCallback:R5,useContext:R5,useEffect:R5,useImperativeHandle:R5,useLayoutEffect:R5,useInsertionEffect:R5,useMemo:R5,useReducer:R5,useRef:R5,useState:R5,useDebugValue:R5,useDeferredValue:R5,useTransition:R5,useSyncExternalStore:R5,useId:R5,useHostTransitionStatus:R5,useFormState:R5,useActionState:R5,useOptimistic:R5,useMemoCache:R5,useCacheRefresh:R5};ZG.useEffectEvent=R5;var RJ=null,FA=null,TJ=null,RA=null,s2=null,L2=null,IX=null;RJ={readContext:function($){return _5($)},use:d4,useCallback:function($,G){return v="useCallback",j0(),k8(G),M3($,G)},useContext:function($){return v="useContext",j0(),_5($)},useEffect:function($,G){return v="useEffect",j0(),k8(G),Q9($,G)},useImperativeHandle:function($,G,X){return v="useImperativeHandle",j0(),k8(X),w3($,G,X)},useInsertionEffect:function($,G){v="useInsertionEffect",j0(),k8(G),h6(4,U1,$,G)},useLayoutEffect:function($,G){return v="useLayoutEffect",j0(),k8(G),K3($,G)},useMemo:function($,G){v="useMemo",j0(),k8(G);var X=g.H;g.H=s2;try{return F3($,G)}finally{g.H=X}},useReducer:function($,G,X){v="useReducer",j0();var Y=g.H;g.H=s2;try{return U3($,G,X)}finally{g.H=Y}},useRef:function($){return v="useRef",j0(),N3($)},useState:function($){v="useState",j0();var G=g.H;g.H=s2;try{return _3($)}finally{g.H=G}},useDebugValue:function(){v="useDebugValue",j0()},useDeferredValue:function($,G){return v="useDeferredValue",j0(),R3($,G)},useTransition:function(){return v="useTransition",j0(),P3()},useSyncExternalStore:function($,G,X){return v="useSyncExternalStore",j0(),z3($,G,X)},useId:function(){return v="useId",j0(),V3()},useFormState:function($,G){return v="useFormState",j0(),W9(),g8($,G)},useActionState:function($,G){return v="useActionState",j0(),g8($,G)},useOptimistic:function($){return v="useOptimistic",j0(),A3($)},useHostTransitionStatus:y6,useMemoCache:f6,useCacheRefresh:function(){return v="useCacheRefresh",j0(),O3()},useEffectEvent:function($){return v="useEffectEvent",j0(),Q3($)}},FA={readContext:function($){return _5($)},use:d4,useCallback:function($,G){return v="useCallback",y(),M3($,G)},useContext:function($){return v="useContext",y(),_5($)},useEffect:function($,G){return v="useEffect",y(),Q9($,G)},useImperativeHandle:function($,G,X){return v="useImperativeHandle",y(),w3($,G,X)},useInsertionEffect:function($,G){v="useInsertionEffect",y(),h6(4,U1,$,G)},useLayoutEffect:function($,G){return v="useLayoutEffect",y(),K3($,G)},useMemo:function($,G){v="useMemo",y();var X=g.H;g.H=s2;try{return F3($,G)}finally{g.H=X}},useReducer:function($,G,X){v="useReducer",y();var Y=g.H;g.H=s2;try{return U3($,G,X)}finally{g.H=Y}},useRef:function($){return v="useRef",y(),N3($)},useState:function($){v="useState",y();var G=g.H;g.H=s2;try{return _3($)}finally{g.H=G}},useDebugValue:function(){v="useDebugValue",y()},useDeferredValue:function($,G){return v="useDeferredValue",y(),R3($,G)},useTransition:function(){return v="useTransition",y(),P3()},useSyncExternalStore:function($,G,X){return v="useSyncExternalStore",y(),z3($,G,X)},useId:function(){return v="useId",y(),V3()},useActionState:function($,G){return v="useActionState",y(),g8($,G)},useFormState:function($,G){return v="useFormState",y(),W9(),g8($,G)},useOptimistic:function($){return v="useOptimistic",y(),A3($)},useHostTransitionStatus:y6,useMemoCache:f6,useCacheRefresh:function(){return v="useCacheRefresh",y(),O3()},useEffectEvent:function($){return v="useEffectEvent",y(),Q3($)}},TJ={readContext:function($){return _5($)},use:d4,useCallback:function($,G){return v="useCallback",y(),M9($,G)},useContext:function($){return v="useContext",y(),_5($)},useEffect:function($,G){v="useEffect",y(),N1(2048,H1,$,G)},useImperativeHandle:function($,G,X){return v="useImperativeHandle",y(),w9($,G,X)},useInsertionEffect:function($,G){return v="useInsertionEffect",y(),N1(4,U1,$,G)},useLayoutEffect:function($,G){return v="useLayoutEffect",y(),N1(4,m1,$,G)},useMemo:function($,G){v="useMemo",y();var X=g.H;g.H=L2;try{return F9($,G)}finally{g.H=X}},useReducer:function($,G,X){v="useReducer",y();var Y=g.H;g.H=L2;try{return v8($,G,X)}finally{g.H=Y}},useRef:function(){return v="useRef",y(),a0().memoizedState},useState:function(){v="useState",y();var $=g.H;g.H=L2;try{return v8(U2)}finally{g.H=$}},useDebugValue:function(){v="useDebugValue",y()},useDeferredValue:function($,G){return v="useDeferredValue",y(),VH($,G)},useTransition:function(){return v="useTransition",y(),jH()},useSyncExternalStore:function($,G,X){return v="useSyncExternalStore",y(),A9($,G,X)},useId:function(){return v="useId",y(),a0().memoizedState},useFormState:function($){return v="useFormState",y(),W9(),L9($)},useActionState:function($){return v="useActionState",y(),L9($)},useOptimistic:function($,G){return v="useOptimistic",y(),NH($,G)},useHostTransitionStatus:y6,useMemoCache:f6,useCacheRefresh:function(){return v="useCacheRefresh",y(),a0().memoizedState},useEffectEvent:function($){return v="useEffectEvent",y(),K9($)}},RA={readContext:function($){return _5($)},use:d4,useCallback:function($,G){return v="useCallback",y(),M9($,G)},useContext:function($){return v="useContext",y(),_5($)},useEffect:function($,G){v="useEffect",y(),N1(2048,H1,$,G)},useImperativeHandle:function($,G,X){return v="useImperativeHandle",y(),w9($,G,X)},useInsertionEffect:function($,G){return v="useInsertionEffect",y(),N1(4,U1,$,G)},useLayoutEffect:function($,G){return v="useLayoutEffect",y(),N1(4,m1,$,G)},useMemo:function($,G){v="useMemo",y();var X=g.H;g.H=IX;try{return F9($,G)}finally{g.H=X}},useReducer:function($,G,X){v="useReducer",y();var Y=g.H;g.H=IX;try{return z$($,G,X)}finally{g.H=Y}},useRef:function(){return v="useRef",y(),a0().memoizedState},useState:function(){v="useState",y();var $=g.H;g.H=IX;try{return z$(U2)}finally{g.H=$}},useDebugValue:function(){v="useDebugValue",y()},useDeferredValue:function($,G){return v="useDeferredValue",y(),OH($,G)},useTransition:function(){return v="useTransition",y(),xH()},useSyncExternalStore:function($,G,X){return v="useSyncExternalStore",y(),A9($,G,X)},useId:function(){return v="useId",y(),a0().memoizedState},useFormState:function($){return v="useFormState",y(),W9(),N9($)},useActionState:function($){return v="useActionState",y(),N9($)},useOptimistic:function($,G){return v="useOptimistic",y(),KH($,G)},useHostTransitionStatus:y6,useMemoCache:f6,useCacheRefresh:function(){return v="useCacheRefresh",y(),a0().memoizedState},useEffectEvent:function($){return v="useEffectEvent",y(),K9($)}},s2={readContext:function($){return C(),_5($)},use:function($){return w(),d4($)},useCallback:function($,G){return v="useCallback",w(),j0(),M3($,G)},useContext:function($){return v="useContext",w(),j0(),_5($)},useEffect:function($,G){return v="useEffect",w(),j0(),Q9($,G)},useImperativeHandle:function($,G,X){return v="useImperativeHandle",w(),j0(),w3($,G,X)},useInsertionEffect:function($,G){v="useInsertionEffect",w(),j0(),h6(4,U1,$,G)},useLayoutEffect:function($,G){return v="useLayoutEffect",w(),j0(),K3($,G)},useMemo:function($,G){v="useMemo",w(),j0();var X=g.H;g.H=s2;try{return F3($,G)}finally{g.H=X}},useReducer:function($,G,X){v="useReducer",w(),j0();var Y=g.H;g.H=s2;try{return U3($,G,X)}finally{g.H=Y}},useRef:function($){return v="useRef",w(),j0(),N3($)},useState:function($){v="useState",w(),j0();var G=g.H;g.H=s2;try{return _3($)}finally{g.H=G}},useDebugValue:function(){v="useDebugValue",w(),j0()},useDeferredValue:function($,G){return v="useDeferredValue",w(),j0(),R3($,G)},useTransition:function(){return v="useTransition",w(),j0(),P3()},useSyncExternalStore:function($,G,X){return v="useSyncExternalStore",w(),j0(),z3($,G,X)},useId:function(){return v="useId",w(),j0(),V3()},useFormState:function($,G){return v="useFormState",w(),j0(),g8($,G)},useActionState:function($,G){return v="useActionState",w(),j0(),g8($,G)},useOptimistic:function($){return v="useOptimistic",w(),j0(),A3($)},useMemoCache:function($){return w(),f6($)},useHostTransitionStatus:y6,useCacheRefresh:function(){return v="useCacheRefresh",j0(),O3()},useEffectEvent:function($){return v="useEffectEvent",w(),j0(),Q3($)}},L2={readContext:function($){return C(),_5($)},use:function($){return w(),d4($)},useCallback:function($,G){return v="useCallback",w(),y(),M9($,G)},useContext:function($){return v="useContext",w(),y(),_5($)},useEffect:function($,G){v="useEffect",w(),y(),N1(2048,H1,$,G)},useImperativeHandle:function($,G,X){return v="useImperativeHandle",w(),y(),w9($,G,X)},useInsertionEffect:function($,G){return v="useInsertionEffect",w(),y(),N1(4,U1,$,G)},useLayoutEffect:function($,G){return v="useLayoutEffect",w(),y(),N1(4,m1,$,G)},useMemo:function($,G){v="useMemo",w(),y();var X=g.H;g.H=L2;try{return F9($,G)}finally{g.H=X}},useReducer:function($,G,X){v="useReducer",w(),y();var Y=g.H;g.H=L2;try{return v8($,G,X)}finally{g.H=Y}},useRef:function(){return v="useRef",w(),y(),a0().memoizedState},useState:function(){v="useState",w(),y();var $=g.H;g.H=L2;try{return v8(U2)}finally{g.H=$}},useDebugValue:function(){v="useDebugValue",w(),y()},useDeferredValue:function($,G){return v="useDeferredValue",w(),y(),VH($,G)},useTransition:function(){return v="useTransition",w(),y(),jH()},useSyncExternalStore:function($,G,X){return v="useSyncExternalStore",w(),y(),A9($,G,X)},useId:function(){return v="useId",w(),y(),a0().memoizedState},useFormState:function($){return v="useFormState",w(),y(),L9($)},useActionState:function($){return v="useActionState",w(),y(),L9($)},useOptimistic:function($,G){return v="useOptimistic",w(),y(),NH($,G)},useMemoCache:function($){return w(),f6($)},useHostTransitionStatus:y6,useCacheRefresh:function(){return v="useCacheRefresh",y(),a0().memoizedState},useEffectEvent:function($){return v="useEffectEvent",w(),y(),K9($)}},IX={readContext:function($){return C(),_5($)},use:function($){return w(),d4($)},useCallback:function($,G){return v="useCallback",w(),y(),M9($,G)},useContext:function($){return v="useContext",w(),y(),_5($)},useEffect:function($,G){v="useEffect",w(),y(),N1(2048,H1,$,G)},useImperativeHandle:function($,G,X){return v="useImperativeHandle",w(),y(),w9($,G,X)},useInsertionEffect:function($,G){return v="useInsertionEffect",w(),y(),N1(4,U1,$,G)},useLayoutEffect:function($,G){return v="useLayoutEffect",w(),y(),N1(4,m1,$,G)},useMemo:function($,G){v="useMemo",w(),y();var X=g.H;g.H=L2;try{return F9($,G)}finally{g.H=X}},useReducer:function($,G,X){v="useReducer",w(),y();var Y=g.H;g.H=L2;try{return z$($,G,X)}finally{g.H=Y}},useRef:function(){return v="useRef",w(),y(),a0().memoizedState},useState:function(){v="useState",w(),y();var $=g.H;g.H=L2;try{return z$(U2)}finally{g.H=$}},useDebugValue:function(){v="useDebugValue",w(),y()},useDeferredValue:function($,G){return v="useDeferredValue",w(),y(),OH($,G)},useTransition:function(){return v="useTransition",w(),y(),xH()},useSyncExternalStore:function($,G,X){return v="useSyncExternalStore",w(),y(),A9($,G,X)},useId:function(){return v="useId",w(),y(),a0().memoizedState},useFormState:function($){return v="useFormState",w(),y(),N9($)},useActionState:function($){return v="useActionState",w(),y(),N9($)},useOptimistic:function($,G){return v="useOptimistic",w(),y(),KH($,G)},useMemoCache:function($){return w(),f6($)},useHostTransitionStatus:y6,useCacheRefresh:function(){return v="useCacheRefresh",y(),a0().memoizedState},useEffectEvent:function($){return v="useEffectEvent",w(),y(),K9($)}};var TA={},IA=new Set,PA=new Set,VA=new Set,OA=new Set,qA=new Set,DA=new Set,EA=new Set,CA=new Set,jA=new Set,xA=new Set;Object.freeze(TA);var IJ={enqueueSetState:function($,G,X){$=$._reactInternals;var Y=j1($),Z=m4(Y);Z.payload=G,X!==void 0&&X!==null&&(D3(X),Z.callback=X),G=f4($,Z,Y),G!==null&&(P2(Y,"this.setState()",$),M5(G,$,Y),J$(G,$,Y))},enqueueReplaceState:function($,G,X){$=$._reactInternals;var Y=j1($),Z=m4(Y);Z.tag=LA,Z.payload=G,X!==void 0&&X!==null&&(D3(X),Z.callback=X),G=f4($,Z,Y),G!==null&&(P2(Y,"this.replaceState()",$),M5(G,$,Y),J$(G,$,Y))},enqueueForceUpdate:function($,G){$=$._reactInternals;var X=j1($),Y=m4(X);Y.tag=NA,G!==void 0&&G!==null&&(D3(G),Y.callback=G),G=f4($,Y,X),G!==null&&(P2(X,"this.forceUpdate()",$),M5(G,$,X),J$(G,$,X))}},M7=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."),C5=!1,SA={},kA={},vA={},gA={},F7=!1,bA={},PX={},OJ={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},mA=!1,fA=null;fA=new Set;var T4=!1,j5=!1,qJ=!1,hA=typeof WeakSet==="function"?WeakSet:Set,y5=null,R7=null,T7=null,x5=null,w1=!1,N2=null,v5=!1,JG=8192,fM={getCacheForType:function($){var G=_5(q5),X=G.data.get($);return X===void 0&&(X=$(),G.data.set($,X)),X},cacheSignal:function(){return _5(q5).controller.signal},getOwner:function(){return k1}};if(typeof Symbol==="function"&&Symbol.for){var BG=Symbol.for;BG("selector.component"),BG("selector.has_pseudo_class"),BG("selector.role"),BG("selector.test_id"),BG("selector.text")}var hM=[],yM=typeof WeakMap==="function"?WeakMap:Map,d5=0,g5=2,f1=4,I4=0,UG=1,X8=2,VX=3,B6=4,OX=6,yA=5,h0=d5,Y5=null,C0=null,E0=0,M1=0,qX=1,Y8=2,HG=3,dA=4,DJ=5,zG=6,DX=7,EJ=8,Z8=9,n0=M1,h1=null,U6=!1,I7=!1,CJ=!1,i2=0,K5=I4,H6=0,z6=0,jJ=0,F1=0,J8=0,WG=null,z1=null,EX=!1,CX=0,uA=0,pA=300,jX=1/0,lA=500,_G=null,T5=null,W6=null,xX=0,xJ=1,SJ=2,cA=3,_6=0,sA=1,iA=2,aA=3,nA=4,SX=5,S5=0,A6=null,P7=null,Q2=0,kJ=0,vJ=-0,gJ=null,oA=null,rA=null,K2=xX,tA=null,dM=50,AG=0,bJ=null,mJ=!1,kX=!1,uM=50,B8=0,LG=null,V7=!1,vX=null,eA=!1,$L=new Set,pM={},gX=null,O7=null,fJ=!1,hJ=!1,bX=!1,yJ=!1,L6=0,dJ={};(function(){for(var $=0;$<tZ.length;$++){var G=tZ[$],X=G.toLowerCase();G=G[0].toUpperCase()+G.slice(1),B2(X,"on"+G)}B2(j_,"onAnimationEnd"),B2(x_,"onAnimationIteration"),B2(S_,"onAnimationStart"),B2("dblclick","onDoubleClick"),B2("focusin","onFocus"),B2("focusout","onBlur"),B2(FM,"onTransitionRun"),B2(RM,"onTransitionStart"),B2(TM,"onTransitionCancel"),B2(k_,"onTransitionEnd")})(),P1("onMouseEnter",["mouseout","mouseover"]),P1("onMouseLeave",["mouseout","mouseover"]),P1("onPointerEnter",["pointerout","pointerover"]),P1("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 NG="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(NG)),mX="_reactListening"+Math.random().toString(36).slice(2),GL=!1,XL=!1,fX=!1,YL=!1,hX=!1,yX=!1,ZL=!1,dX={},lM=/\r\n?/g,cM=/\u0000|\uFFFD/g,U8="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",H8="&",uX="/&",QG="$",KG="/$",N6="$?",z8="$~",q7="$!",aM="html",nM="body",oM="head",lJ="F!",JL="F",BL="loading",rM="style",P4=0,D7=1,pX=2,cJ=null,sJ=null,UL={dialog:!0,webview:!0},iJ=null,wG=void 0,HL=typeof setTimeout==="function"?setTimeout:void 0,tM=typeof clearTimeout==="function"?clearTimeout:void 0,W8=-1,zL=typeof Promise==="function"?Promise:void 0,eM=typeof queueMicrotask==="function"?queueMicrotask:typeof zL<"u"?function($){return zL.resolve(null).then($).catch(mK)}:HL,aJ=null,_8=0,MG=1,WL=2,_L=3,e1=4,$2=new Map,AL=new Set,V4=s0.d;s0.d={f:function(){var $=V4.f(),G=y8();return $||G},r:function($){var G=F0($);G!==null&&G.tag===5&&G.type==="form"?CH(G):V4.r($)},D:function($){V4.D($),IW("dns-prefetch",$,null)},C:function($,G){V4.C($,G),IW("preconnect",$,G)},L:function($,G,X){V4.L($,G,X);var Y=E7;if(Y&&$&&G){var Z='link[rel="preload"][as="'+d1(G)+'"]';G==="image"?X&&X.imageSrcSet?(Z+='[imagesrcset="'+d1(X.imageSrcSet)+'"]',typeof X.imageSizes==="string"&&(Z+='[imagesizes="'+d1(X.imageSizes)+'"]')):Z+='[href="'+d1($)+'"]':Z+='[href="'+d1($)+'"]';var J=Z;switch(G){case"style":J=p8($);break;case"script":J=l8($)}$2.has(J)||($=x0({rel:"preload",href:G==="image"&&X&&X.imageSrcSet?void 0:$,as:G},X),$2.set(J,$),Y.querySelector(Z)!==null||G==="style"&&Y.querySelector(V$(J))||G==="script"&&Y.querySelector(O$(J))||(G=Y.createElement("link"),l5(G,"link",$),H0(G),Y.head.appendChild(G)))}},m:function($,G){V4.m($,G);var X=E7;if(X&&$){var Y=G&&typeof G.as==="string"?G.as:"script",Z='link[rel="modulepreload"][as="'+d1(Y)+'"][href="'+d1($)+'"]',J=Z;switch(Y){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":J=l8($)}if(!$2.has(J)&&($=x0({rel:"modulepreload",href:$},G),$2.set(J,$),X.querySelector(Z)===null)){switch(Y){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(X.querySelector(O$(J)))return}Y=X.createElement("link"),l5(Y,"link",$),H0(Y),X.head.appendChild(Y)}}},X:function($,G){V4.X($,G);var X=E7;if(X&&$){var Y=d0(X).hoistableScripts,Z=l8($),J=Y.get(Z);J||(J=X.querySelector(O$(Z)),J||($=x0({src:$,async:!0},G),(G=$2.get(Z))&&wZ($,G),J=X.createElement("script"),H0(J),l5(J,"link",$),X.head.appendChild(J)),J={type:"script",instance:J,count:1,state:null},Y.set(Z,J))}},S:function($,G,X){V4.S($,G,X);var Y=E7;if(Y&&$){var Z=d0(Y).hoistableStyles,J=p8($);G=G||"default";var U=Z.get(J);if(!U){var z={loading:_8,preload:null};if(U=Y.querySelector(V$(J)))z.loading=MG|e1;else{$=x0({rel:"stylesheet",href:$,"data-precedence":G},X),(X=$2.get(J))&&KZ($,X);var A=U=Y.createElement("link");H0(A),l5(A,"link",$),A._p=new Promise(function(N,q){A.onload=N,A.onerror=q}),A.addEventListener("load",function(){z.loading|=MG}),A.addEventListener("error",function(){z.loading|=WL}),z.loading|=e1,f9(U,G,Y)}U={type:"stylesheet",instance:U,count:1,state:z},Z.set(J,U)}}},M:function($,G){V4.M($,G);var X=E7;if(X&&$){var Y=d0(X).hoistableScripts,Z=l8($),J=Y.get(Z);J||(J=X.querySelector(O$(Z)),J||($=x0({src:$,async:!0,type:"module"},G),(G=$2.get(Z))&&wZ($,G),J=X.createElement("script"),H0(J),l5(J,"link",$),X.head.appendChild(J)),J={type:"script",instance:J,count:1,state:null},Y.set(Z,J))}}};var E7=typeof document>"u"?null:document,lX=null,$F=60000,GF=800,XF=500,nJ=0,oJ=null,cX=null,A8=ww,FG={$$typeof:m2,Provider:null,Consumer:null,_currentValue:A8,_currentValue2:A8,_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="",sX=" ",YF=Function.prototype.bind,KL=!1,wL=null,ML=null,FL=null,RL=null,TL=null,IL=null,PL=null,VL=null,OL=null,qL=null;wL=function($,G,X,Y){G=B($,G),G!==null&&(X=H(G.memoizedState,X,0,Y),G.memoizedState=X,G.baseState=X,$.memoizedProps=x0({},$.memoizedProps),X=r5($,2),X!==null&&M5(X,$,2))},ML=function($,G,X){G=B($,G),G!==null&&(X=L(G.memoizedState,X,0),G.memoizedState=X,G.baseState=X,$.memoizedProps=x0({},$.memoizedProps),X=r5($,2),X!==null&&M5(X,$,2))},FL=function($,G,X,Y){G=B($,G),G!==null&&(X=W(G.memoizedState,X,Y),G.memoizedState=X,G.baseState=X,$.memoizedProps=x0({},$.memoizedProps),X=r5($,2),X!==null&&M5(X,$,2))},RL=function($,G,X){$.pendingProps=H($.memoizedProps,G,0,X),$.alternate&&($.alternate.pendingProps=$.pendingProps),G=r5($,2),G!==null&&M5(G,$,2)},TL=function($,G){$.pendingProps=L($.memoizedProps,G,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),G=r5($,2),G!==null&&M5(G,$,2)},IL=function($,G,X){$.pendingProps=W($.memoizedProps,G,X),$.alternate&&($.alternate.pendingProps=$.pendingProps),G=r5($,2),G!==null&&M5(G,$,2)},PL=function($){var G=r5($,2);G!==null&&M5(G,$,2)},VL=function($){var G=q8(),X=r5($,G);X!==null&&M5(X,$,G)},OL=function($){F=$},qL=function($){K=$};var iX=!0,aX=null,rJ=!1,Q6=null,K6=null,w6=null,RG=new Map,TG=new Map,M6=[],ZF="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(" "),nX=null;if(p9.prototype.render=PZ.prototype.render=function($){var G=this._internalRoot;if(G===null)throw Error("Cannot update an unmounted root.");var X=arguments;typeof X[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()."):S(X[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 X[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),X=$;var Y=G.current,Z=j1(Y);MZ(Y,Z,X,G,null,null)},p9.prototype.unmount=PZ.prototype.unmount=function(){var $=arguments;if(typeof $[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()."),$=this._internalRoot,$!==null){this._internalRoot=null;var G=$.containerInfo;(h0&(g5|f1))!==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."),MZ($.current,2,null,$,null,null),y8(),G[a4]=null}},p9.prototype.unstable_scheduleHydration=function($){if($){var G=x();$={blockedOn:null,target:$,priority:G};for(var X=0;X<M6.length&&G!==0&&G<M6[X].priority;X++);M6.splice(X,0,$),X===0&&bW($)}},function(){var $=C7.version;if($!=="19.2.5")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
||
- react: `+($+`
|
||
- 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($){var G=$._reactInternals;if(G===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=T0(G),$=$!==null?e0($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:g,reconcilerVersion:"19.2.5"};return $.overrideHookState=wL,$.overrideHookStateDeletePath=ML,$.overrideHookStateRenamePath=FL,$.overrideProps=RL,$.overridePropsDeletePath=TL,$.overridePropsRenamePath=IL,$.scheduleUpdate=PL,$.scheduleRetry=VL,$.setErrorHandler=OL,$.setSuspenseHandler=qL,$.scheduleRefresh=h,$.scheduleRoot=f,$.setRefreshHandler=b,$.getCurrentFiber=zw,O8($)}()&&u2&&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")}wF.createRoot=function($,G){if(!S($))throw Error("Target container is not a DOM element.");yW($);var X=!1,Y="",Z=mH,J=fH,U=hH;return G!==null&&G!==void 0&&(G.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof G==="object"&&G!==null&&G.$$typeof===b2&&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 />);`),G.unstable_strictMode===!0&&(X=!0),G.identifierPrefix!==void 0&&(Y=G.identifierPrefix),G.onUncaughtError!==void 0&&(Z=G.onUncaughtError),G.onCaughtError!==void 0&&(J=G.onCaughtError),G.onRecoverableError!==void 0&&(U=G.onRecoverableError)),G=CW($,1,!1,null,null,X,Y,null,Z,J,U,hW),$[a4]=G.current,ZZ($),new PZ(G)},wF.hydrateRoot=function($,G,X){if(!S($))throw Error("Target container is not a DOM element.");yW($),G===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var Y=!1,Z="",J=mH,U=fH,z=hH,A=null;return X!==null&&X!==void 0&&(X.unstable_strictMode===!0&&(Y=!0),X.identifierPrefix!==void 0&&(Z=X.identifierPrefix),X.onUncaughtError!==void 0&&(J=X.onUncaughtError),X.onCaughtError!==void 0&&(U=X.onCaughtError),X.onRecoverableError!==void 0&&(z=X.onRecoverableError),X.formState!==void 0&&(A=X.formState)),G=CW($,1,!0,G,X!=null?X:null,Y,Z,A,J,U,z,hW),G.context=jW(null),X=G.current,Y=j1(X),Y=E6(Y),Z=m4(Y),Z.callback=null,f4(X,Z,Y),P2(Y,"hydrateRoot()",null),X=Y,G.current.lanes=X,j4(G,X),v2(G),$[a4]=G.current,ZZ($),new p9(G)},wF.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=F6((lI,vL)=>{var MF=$0(kL());vL.exports=MF});var _B=F6((CF)=>{var K8=$0(Z5());(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 b:return"Fragment";case s:return"Profiler";case S:return"StrictMode";case T0:return"Suspense";case e0:return"SuspenseList";case $5: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 h:return"Portal";case t:return V.displayName||"Context";case o:return(V._context.displayName||"Context")+".Consumer";case v0:var l=V.render;return V=V.displayName,V||(V=l.displayName||l.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case Y0:return l=V.displayName||null,l!==null?l:B(V.type)||"Memo";case e:l=V._payload,V=V._init;try{return B(V(l))}catch(A0){}}return null}function H(V){return""+V}function W(V){try{H(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),H(V)}}function _(V){if(V===b)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===e)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 F(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 w(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,A1){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:A1}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function R(V,l,A0,N0,y0,A1){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(J2){return J2!=="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),F(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&&w(A0,typeof V==="function"?V.displayName||V.name||"Unknown":V),j(V,P0,A0,L(),y0,A1)}function M(V){E(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===e&&(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"),h=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),t=Symbol.for("react.context"),v0=Symbol.for("react.forward_ref"),T0=Symbol.for("react.suspense"),e0=Symbol.for("react.suspense_list"),Y0=Symbol.for("react.memo"),e=Symbol.for("react.lazy"),$5=Symbol.for("react.activity"),p=Symbol.for("react.client.reference"),o0=K8.__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};K8={react_stack_bottom_frame:function(V){return V()}};var u,_0={},W0=K8.react_stack_bottom_frame.bind(K8,K)(),p0=N5(_(K)),l0={};CF.Fragment=b,CF.jsx=function(V,l,A0){var N0=1e4>o0.recentlyCreatedOwnerStacks++;return R(V,l,A0,!1,N0?Error("react-stack-top-frame"):W0,N0?N5(_(V)):p0)},CF.jsxs=function(V,l,A0){var N0=1e4>o0.recentlyCreatedOwnerStacks++;return R(V,l,A0,!0,N0?Error("react-stack-top-frame"):W0,N0?N5(_(V)):p0)}})()});var i0=F6((GT)=>{var R8=$0(Z5());(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 b:return"Fragment";case s:return"Profiler";case S:return"StrictMode";case T0:return"Suspense";case e0:return"SuspenseList";case $5: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 h:return"Portal";case t:return V.displayName||"Context";case o:return(V._context.displayName||"Context")+".Consumer";case v0:var l=V.render;return V=V.displayName,V||(V=l.displayName||l.name||"",V=V!==""?"ForwardRef("+V+")":"ForwardRef"),V;case Y0:return l=V.displayName||null,l!==null?l:B(V.type)||"Memo";case e:l=V._payload,V=V._init;try{return B(V(l))}catch(A0){}}return null}function H(V){return""+V}function W(V){try{H(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),H(V)}}function _(V){if(V===b)return"<>";if(typeof V==="object"&&V!==null&&V.$$typeof===e)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 F(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 w(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,A1){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:A1}),Object.freeze&&(Object.freeze(V.props),Object.freeze(V)),V}function R(V,l,A0,N0,y0,A1){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(J2){return J2!=="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),F(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&&w(A0,typeof V==="function"?V.displayName||V.name||"Unknown":V),j(V,P0,A0,L(),y0,A1)}function M(V){E(V)?V._store&&(V._store.validated=1):typeof V==="object"&&V!==null&&V.$$typeof===e&&(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"),h=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),t=Symbol.for("react.context"),v0=Symbol.for("react.forward_ref"),T0=Symbol.for("react.suspense"),e0=Symbol.for("react.suspense_list"),Y0=Symbol.for("react.memo"),e=Symbol.for("react.lazy"),$5=Symbol.for("react.activity"),p=Symbol.for("react.client.reference"),o0=R8.__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};R8={react_stack_bottom_frame:function(V){return V()}};var u,_0={},W0=R8.react_stack_bottom_frame.bind(R8,K)(),p0=N5(_(K)),l0={};GT.Fragment=b,GT.jsxDEV=function(V,l,A0,N0){var y0=1e4>o0.recentlyCreatedOwnerStacks++;return R(V,l,A0,N0,y0?Error("react-stack-top-frame"):W0,y0?N5(_(V)):p0)}})()});var OQ=$0(gL(),1);var G2=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 FF=class extends G2{#$;#G;#X;constructor(){super();this.#X=(B)=>{if(typeof window<"u"&&window.addEventListener){let H=()=>B();return window.addEventListener("visibilitychange",H,!1),()=>{window.removeEventListener("visibilitychange",H)}}return}}onSubscribe(){if(!this.#G)this.setEventListener(this.#X)}onUnsubscribe(){if(!this.hasListeners())this.#G?.(),this.#G=void 0}setEventListener(B){this.#X=B,this.#G?.(),this.#G=B((H)=>{if(typeof H==="boolean")this.setFocused(H);else this.onFocus()})}setFocused(B){if(this.#$!==B)this.#$=B,this.onFocus()}onFocus(){let B=this.isFocused();this.listeners.forEach((H)=>{H(B)})}isFocused(){if(typeof this.#$==="boolean")return this.#$;return globalThis.document?.visibilityState!=="hidden"}},j7=new FF;var RF={setTimeout:(B,H)=>setTimeout(B,H),clearTimeout:(B)=>clearTimeout(B),setInterval:(B,H)=>setInterval(B,H),clearInterval:(B)=>clearInterval(B)},TF=class{#$=RF;#G=!1;setTimeoutProvider(B){if(this.#G&&B!==this.#$)console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.",{previous:this.#$,provider:B});this.#$=B,this.#G=!1}setTimeout(B,H){return this.#G=!0,this.#$.setTimeout(B,H)}clearTimeout(B){this.#$.clearTimeout(B)}setInterval(B,H){return this.#G=!0,this.#$.setInterval(B,H)}clearInterval(B){this.#$.clearInterval(B)}},a2=new TF;function bL(B){setTimeout(B,0)}var GB=typeof window>"u"||"Deno"in globalThis;function I5(){}function hL(B,H){return typeof B==="function"?B(H):B}function IG(B){return typeof B==="number"&&B>=0&&B!==1/0}function tX(B,H){return Math.max(B+(H||0)-Date.now(),0)}function w2(B,H){return typeof B==="function"?B(H):B}function R1(B,H){return typeof B==="function"?B(H):B}function eX(B,H){let{type:W="all",exact:_,fetchStatus:L,predicate:K,queryKey:F,stale:w}=B;if(F){if(_){if(H.queryHash!==PG(F,H.options))return!1}else if(!Q8(H.queryKey,F))return!1}if(W!=="all"){let C=H.isActive();if(W==="active"&&!C)return!1;if(W==="inactive"&&C)return!1}if(typeof w==="boolean"&&H.isStale()!==w)return!1;if(L&&L!==H.state.fetchStatus)return!1;if(K&&!K(H))return!1;return!0}function $Y(B,H){let{exact:W,status:_,predicate:L,mutationKey:K}=B;if(K){if(!H.options.mutationKey)return!1;if(W){if(n2(H.options.mutationKey)!==n2(K))return!1}else if(!Q8(H.options.mutationKey,K))return!1}if(_&&H.state.status!==_)return!1;if(L&&!L(H))return!1;return!0}function PG(B,H){return(H?.queryKeyHashFn||n2)(B)}function n2(B){return JSON.stringify(B,(H,W)=>$B(W)?Object.keys(W).sort().reduce((_,L)=>{return _[L]=W[L],_},{}):W)}function Q8(B,H){if(B===H)return!0;if(typeof B!==typeof H)return!1;if(B&&H&&typeof B==="object"&&typeof H==="object")return Object.keys(H).every((W)=>Q8(B[W],H[W]));return!1}var IF=Object.prototype.hasOwnProperty;function rX(B,H,W=0){if(B===H)return B;if(W>500)return H;let _=mL(B)&&mL(H);if(!_&&!($B(B)&&$B(H)))return H;let K=(_?B:Object.keys(B)).length,F=_?H:Object.keys(H),w=F.length,C=_?Array(w):{},j=0;for(let R=0;R<w;R++){let M=_?R:F[R],E=B[M],f=H[M];if(E===f){if(C[M]=E,_?R<K:IF.call(B,M))j++;continue}if(E===null||f===null||typeof E!=="object"||typeof f!=="object"){C[M]=f;continue}let h=rX(E,f,W+1);if(C[M]=h,h===E)j++}return K===w&&j===K?B:C}function x7(B,H){if(!H||Object.keys(B).length!==Object.keys(H).length)return!1;for(let W in B)if(B[W]!==H[W])return!1;return!0}function mL(B){return Array.isArray(B)&&B.length===Object.keys(B).length}function $B(B){if(!fL(B))return!1;let H=B.constructor;if(H===void 0)return!0;let W=H.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((H)=>{a2.setTimeout(H,B)})}function VG(B,H,W){if(typeof W.structuralSharing==="function")return W.structuralSharing(B,H);else if(W.structuralSharing!==!1){try{return rX(B,H)}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 rX(B,H)}return H}function dL(B,H,W=0){let _=[...B,H];return W&&_.length>W?_.slice(1):_}function uL(B,H,W=0){let _=[H,...B];return W&&_.length>W?_.slice(0,-1):_}var N8=Symbol();function GY(B,H){if(B.queryFn===N8)console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${B.queryHash}'`);if(!B.queryFn&&H?.initialPromise)return()=>H.initialPromise;if(!B.queryFn||B.queryFn===N8)return()=>Promise.reject(Error(`Missing queryFn: '${B.queryHash}'`));return B.queryFn}function S7(B,H){if(typeof B==="function")return B(...H);return!!B}function pL(B,H,W){let _=!1,L;return Object.defineProperty(B,"signal",{enumerable:!0,get:()=>{if(L??=H(),_)return L;if(_=!0,L.aborted)W();else L.addEventListener("abort",W,{once:!0});return L}}),B}var o2=(()=>{let B=()=>GB;return{isServer(){return B()},setIsServer(H){B=H}}})();function OG(){let B,H,W=new Promise((L,K)=>{B=L,H=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}),H(L)},W}var lL=bL;function PF(){let B=[],H=0,W=(w)=>{w()},_=(w)=>{w()},L=lL,K=(w)=>{if(H)B.push(w);else L(()=>{W(w)})},F=()=>{let w=B;if(B=[],w.length)L(()=>{_(()=>{w.forEach((C)=>{W(C)})})})};return{batch:(w)=>{let C;H++;try{C=w()}finally{if(H--,!H)F()}return C},batchCalls:(w)=>{return(...C)=>{K(()=>{w(...C)})}},schedule:K,setNotifyFunction:(w)=>{W=w},setBatchNotifyFunction:(w)=>{_=w},setScheduler:(w)=>{L=w}}}var t0=PF();var VF=class extends G2{#$=!0;#G;#X;constructor(){super();this.#X=(B)=>{if(typeof window<"u"&&window.addEventListener){let H=()=>B(!0),W=()=>B(!1);return window.addEventListener("online",H,!1),window.addEventListener("offline",W,!1),()=>{window.removeEventListener("online",H),window.removeEventListener("offline",W)}}return}}onSubscribe(){if(!this.#G)this.setEventListener(this.#X)}onUnsubscribe(){if(!this.hasListeners())this.#G?.(),this.#G=void 0}setEventListener(B){this.#X=B,this.#G?.(),this.#G=B(this.setOnline.bind(this))}setOnline(B){if(this.#$!==B)this.#$=B,this.listeners.forEach((W)=>{W(B)})}isOnline(){return this.#$}},k7=new VF;function OF(B){return Math.min(1000*2**B,30000)}function XB(B){return(B??"online")==="online"?k7.isOnline():!0}var XY=class extends Error{constructor(B){super("CancelledError");this.revert=B?.revert,this.silent=B?.silent}};function YY(B){let H=!1,W=0,_,L=OG(),K=()=>L.status!=="pending",F=(b)=>{if(!K()){let S=new XY(b);E(S),B.onCancel?.(S)}},w=()=>{H=!0},C=()=>{H=!1},j=()=>j7.isFocused()&&(B.networkMode==="always"||k7.isOnline())&&B.canRun(),R=()=>XB(B.networkMode)&&B.canRun(),M=(b)=>{if(!K())_?.(),L.resolve(b)},E=(b)=>{if(!K())_?.(),L.reject(b)},f=()=>{return new Promise((b)=>{_=(S)=>{if(K()||j())b(S)},B.onPause?.()}).then(()=>{if(_=void 0,!K())B.onContinue?.()})},h=()=>{if(K())return;let b,S=W===0?B.initialPromise:void 0;try{b=S??B.fn()}catch(s){b=Promise.reject(s)}Promise.resolve(b).then(M).catch((s)=>{if(K())return;let o=B.retry??(o2.isServer()?0:3),t=B.retryDelay??OF,v0=typeof t==="function"?t(W,s):t,T0=o===!0||typeof o==="number"&&W<o||typeof o==="function"&&o(W,s);if(H||!T0){E(s);return}W++,B.onFail?.(W,s),yL(v0).then(()=>{return j()?void 0:f()}).then(()=>{if(H)E(s);else h()})})};return{promise:L,status:()=>L.status,cancel:F,continue:()=>{return _?.(),L},cancelRetry:w,continueRetry:C,canStart:R,start:()=>{if(R())h();else f().then(h);return L}}}var ZY=class{#$;destroy(){this.clearGcTimeout()}scheduleGc(){if(this.clearGcTimeout(),IG(this.gcTime))this.#$=a2.setTimeout(()=>{this.optionalRemove()},this.gcTime)}updateGcTime(B){this.gcTime=Math.max(this.gcTime||0,B??(o2.isServer()?1/0:300000))}clearGcTimeout(){if(this.#$!==void 0)a2.clearTimeout(this.#$),this.#$=void 0}};var iL=class extends ZY{#$;#G;#X;#Z;#Y;#J;#B;constructor(B){super();this.#B=!1,this.#J=B.defaultOptions,this.setOptions(B.options),this.observers=[],this.#Z=B.client,this.#X=this.#Z.getQueryCache(),this.queryKey=B.queryKey,this.queryHash=B.queryHash,this.#$=sL(this.options),this.state=B.state??this.#$,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#Y?.promise}setOptions(B){if(this.options={...this.#J,...B},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let H=sL(this.options);if(H.data!==void 0)this.setState(cL(H.data,H.dataUpdatedAt)),this.#$=H}}optionalRemove(){if(!this.observers.length&&this.state.fetchStatus==="idle")this.#X.remove(this)}setData(B,H){let W=VG(this.state.data,B,this.options);return this.#H({data:W,type:"success",dataUpdatedAt:H?.updatedAt,manual:H?.manual}),W}setState(B,H){this.#H({type:"setState",state:B,setStateOptions:H})}cancel(B){let H=this.#Y?.promise;return this.#Y?.cancel(B),H?H.then(I5).catch(I5):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#$}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some((B)=>R1(B.options.enabled,this)!==!1)}isDisabled(){if(this.getObserversCount()>0)return!this.isActive();return this.options.queryFn===N8||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){if(this.getObserversCount()>0)return this.observers.some((B)=>w2(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!tX(this.state.dataUpdatedAt,B)}onFocus(){this.observers.find((H)=>H.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#Y?.continue()}onOnline(){this.observers.find((H)=>H.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#Y?.continue()}addObserver(B){if(!this.observers.includes(B))this.observers.push(B),this.clearGcTimeout(),this.#X.notify({type:"observerAdded",query:this,observer:B})}removeObserver(B){if(this.observers.includes(B)){if(this.observers=this.observers.filter((H)=>H!==B),!this.observers.length){if(this.#Y)if(this.#B||this.#U())this.#Y.cancel({revert:!0});else this.#Y.cancelRetry();this.scheduleGc()}this.#X.notify({type:"observerRemoved",query:this,observer:B})}}getObserversCount(){return this.observers.length}#U(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){if(!this.state.isInvalidated)this.#H({type:"invalidate"})}async fetch(B,H){if(this.state.fetchStatus!=="idle"&&this.#Y?.status()!=="rejected"){if(this.state.data!==void 0&&H?.cancelRefetch)this.cancel({silent:!0});else if(this.#Y)return this.#Y.continueRetry(),this.#Y.promise}if(B)this.setOptions(B);if(!this.options.queryFn){let w=this.observers.find((C)=>C.options.queryFn);if(w)this.setOptions(w.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,_=(w)=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>{return this.#B=!0,W.signal}})},L=()=>{let w=GY(this.options,H),j=(()=>{let R={client:this.#Z,queryKey:this.queryKey,meta:this.meta};return _(R),R})();if(this.#B=!1,this.options.persister)return this.options.persister(w,j,this);return w(j)},F=(()=>{let w={fetchOptions:H,options:this.options,queryKey:this.queryKey,client:this.#Z,state:this.state,fetchFn:L};return _(w),w})();if(this.options.behavior?.onFetch(F,this),this.#G=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==F.fetchOptions?.meta)this.#H({type:"fetch",meta:F.fetchOptions?.meta});this.#Y=YY({initialPromise:H?.initialPromise,fn:F.fetchFn,onCancel:(w)=>{if(w instanceof XY&&w.revert)this.setState({...this.#G,fetchStatus:"idle"});W.abort()},onFail:(w,C)=>{this.#H({type:"failed",failureCount:w,error:C})},onPause:()=>{this.#H({type:"pause"})},onContinue:()=>{this.#H({type:"continue"})},retry:F.options.retry,retryDelay:F.options.retryDelay,networkMode:F.options.networkMode,canRun:()=>!0});try{let w=await this.#Y.start();if(w===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(w),this.#X.config.onSuccess?.(w,this),this.#X.config.onSettled?.(w,this.state.error,this),w}catch(w){if(w instanceof XY){if(w.silent)return this.#Y.promise;else if(w.revert){if(this.state.data===void 0)throw w;return this.state.data}}throw this.#H({type:"error",error:w}),this.#X.config.onError?.(w,this),this.#X.config.onSettled?.(this.state.data,w,this),w}finally{this.scheduleGc()}}#H(B){let H=(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,...YB(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.#G=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=H(this.state),t0.batch(()=>{this.observers.forEach((W)=>{W.onQueryUpdate()}),this.#X.notify({query:this,type:"updated",action:B})})}};function YB(B,H){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:XB(H.networkMode)?"fetching":"paused",...B===void 0&&{error:null,status:"pending"}}}function cL(B,H){return{data:B,dataUpdatedAt:H??Date.now(),error:null,isInvalidated:!1,status:"success"}}function sL(B){let H=typeof B.initialData==="function"?B.initialData():B.initialData,W=H!==void 0,_=W?typeof B.initialDataUpdatedAt==="function"?B.initialDataUpdatedAt():B.initialDataUpdatedAt:0;return{data:H,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 G2{constructor(B,H){super();this.options=H,this.#$=B,this.#U=null,this.#B=OG(),this.bindMethods(),this.setOptions(H)}#$;#G=void 0;#X=void 0;#Z=void 0;#Y;#J;#B;#U;#H;#L;#N;#W;#_;#z;#Q=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){if(this.listeners.size===1){if(this.#G.addObserver(this),aL(this.#G,this.options))this.#A();else this.updateResult();this.#F()}}onUnsubscribe(){if(!this.hasListeners())this.destroy()}shouldFetchOnReconnect(){return ZB(this.#G,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ZB(this.#G,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#R(),this.#T(),this.#G.removeObserver(this)}setOptions(B){let H=this.options,W=this.#G;if(this.options=this.#$.defaultQueryOptions(B),this.options.enabled!==void 0&&typeof this.options.enabled!=="boolean"&&typeof this.options.enabled!=="function"&&typeof R1(this.options.enabled,this.#G)!=="boolean")throw Error("Expected enabled to be a boolean or a callback that returns a boolean");if(this.#I(),this.#G.setOptions(this.options),H._defaulted&&!x7(this.options,H))this.#$.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#G,observer:this});let _=this.hasListeners();if(_&&nL(this.#G,W,this.options,H))this.#A();if(this.updateResult(),_&&(this.#G!==W||R1(this.options.enabled,this.#G)!==R1(H.enabled,this.#G)||w2(this.options.staleTime,this.#G)!==w2(H.staleTime,this.#G)))this.#K();let L=this.#w();if(_&&(this.#G!==W||R1(this.options.enabled,this.#G)!==R1(H.enabled,this.#G)||L!==this.#z))this.#M(L)}getOptimisticResult(B){let H=this.#$.getQueryCache().build(this.#$,B),W=this.createResult(H,B);if(DF(this,W))this.#Z=W,this.#J=this.options,this.#Y=this.#G.state;return W}getCurrentResult(){return this.#Z}trackResult(B,H){return new Proxy(B,{get:(W,_)=>{if(this.trackProp(_),H?.(_),_==="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.#G}refetch({...B}={}){return this.fetch({...B})}fetchOptimistic(B){let H=this.#$.defaultQueryOptions(B),W=this.#$.getQueryCache().build(this.#$,H);return W.fetch().then(()=>this.createResult(W,H))}fetch(B){return this.#A({...B,cancelRefetch:B.cancelRefetch??!0}).then(()=>{return this.updateResult(),this.#Z})}#A(B){this.#I();let H=this.#G.fetch(this.options,B);if(!B?.throwOnError)H=H.catch(I5);return H}#K(){this.#R();let B=w2(this.options.staleTime,this.#G);if(o2.isServer()||this.#Z.isStale||!IG(B))return;let W=tX(this.#Z.dataUpdatedAt,B)+1;this.#W=a2.setTimeout(()=>{if(!this.#Z.isStale)this.updateResult()},W)}#w(){return(typeof this.options.refetchInterval==="function"?this.options.refetchInterval(this.#G):this.options.refetchInterval)??!1}#M(B){if(this.#T(),this.#z=B,o2.isServer()||R1(this.options.enabled,this.#G)===!1||!IG(this.#z)||this.#z===0)return;this.#_=a2.setInterval(()=>{if(this.options.refetchIntervalInBackground||j7.isFocused())this.#A()},this.#z)}#F(){this.#K(),this.#M(this.#w())}#R(){if(this.#W!==void 0)a2.clearTimeout(this.#W),this.#W=void 0}#T(){if(this.#_!==void 0)a2.clearInterval(this.#_),this.#_=void 0}createResult(B,H){let W=this.#G,_=this.options,L=this.#Z,K=this.#Y,F=this.#J,C=B!==W?B.state:this.#X,{state:j}=B,R={...j},M=!1,E;if(H._optimisticResults){let e=this.hasListeners(),$5=!e&&aL(B,H),p=e&&nL(B,W,H,_);if($5||p)R={...R,...YB(j.data,B.options)};if(H._optimisticResults==="isRestoring")R.fetchStatus="idle"}let{error:f,errorUpdatedAt:h,status:b}=R;E=R.data;let S=!1;if(H.placeholderData!==void 0&&E===void 0&&b==="pending"){let e;if(L?.isPlaceholderData&&H.placeholderData===F?.placeholderData)e=L.data,S=!0;else e=typeof H.placeholderData==="function"?H.placeholderData(this.#N?.state.data,this.#N):H.placeholderData;if(e!==void 0)b="success",E=VG(L?.data,e,H),M=!0}if(H.select&&E!==void 0&&!S)if(L&&E===K?.data&&H.select===this.#H)E=this.#L;else try{this.#H=H.select,E=H.select(E),E=VG(L?.data,E,H),this.#L=E,this.#U=null}catch(e){this.#U=e}if(this.#U)f=this.#U,E=this.#L,h=Date.now(),b="error";let s=R.fetchStatus==="fetching",o=b==="pending",t=b==="error",v0=o&&s,T0=E!==void 0,Y0={status:b,fetchStatus:R.fetchStatus,isPending:o,isSuccess:b==="success",isError:t,isInitialLoading:v0,isLoading:v0,data:E,dataUpdatedAt:R.dataUpdatedAt,error:f,errorUpdatedAt:h,failureCount:R.fetchFailureCount,failureReason:R.fetchFailureReason,errorUpdateCount:R.errorUpdateCount,isFetched:B.isFetched(),isFetchedAfterMount:R.dataUpdateCount>C.dataUpdateCount||R.errorUpdateCount>C.errorUpdateCount,isFetching:s,isRefetching:s&&!o,isLoadingError:t&&!T0,isPaused:R.fetchStatus==="paused",isPlaceholderData:M,isRefetchError:t&&T0,isStale:BB(B,H),refetch:this.refetch,promise:this.#B,isEnabled:R1(H.enabled,B)!==!1};if(this.options.experimental_prefetchInRender){let e=Y0.data!==void 0,$5=Y0.status==="error"&&!e,p=(K0)=>{if($5)K0.reject(Y0.error);else if(e)K0.resolve(Y0.data)},o0=()=>{let K0=this.#B=Y0.promise=OG();p(K0)},I0=this.#B;switch(I0.status){case"pending":if(B.queryHash===W.queryHash)p(I0);break;case"fulfilled":if($5||Y0.data!==I0.value)o0();break;case"rejected":if(!$5||Y0.error!==I0.reason)o0();break}}return Y0}updateResult(){let B=this.#Z,H=this.createResult(this.#G,this.options);if(this.#Y=this.#G.state,this.#J=this.options,this.#Y.data!==void 0)this.#N=this.#G;if(x7(H,B))return;this.#Z=H;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((F)=>{let w=F;return this.#Z[w]!==B[w]&&K.has(w)})};this.#P({listeners:W()})}#I(){let B=this.#$.getQueryCache().build(this.#$,this.options);if(B===this.#G)return;let H=this.#G;if(this.#G=B,this.#X=B.state,this.hasListeners())H?.removeObserver(this),B.addObserver(this)}onQueryUpdate(){if(this.updateResult(),this.hasListeners())this.#F()}#P(B){t0.batch(()=>{if(B.listeners)this.listeners.forEach((H)=>{H(this.#Z)});this.#$.getQueryCache().notify({query:this.#G,type:"observerResultsUpdated"})})}};function qF(B,H){return R1(H.enabled,B)!==!1&&B.state.data===void 0&&!(B.state.status==="error"&&H.retryOnMount===!1)}function aL(B,H){return qF(B,H)||B.state.data!==void 0&&ZB(B,H,H.refetchOnMount)}function ZB(B,H,W){if(R1(H.enabled,B)!==!1&&w2(H.staleTime,B)!=="static"){let _=typeof W==="function"?W(B):W;return _==="always"||_!==!1&&BB(B,H)}return!1}function nL(B,H,W,_){return(B!==H||R1(_.enabled,B)===!1)&&(!W.suspense||B.state.status!=="error")&&BB(B,W)}function BB(B,H){return R1(H.enabled,B)!==!1&&B.isStaleByTime(w2(H.staleTime,B))}function DF(B,H){if(!x7(B.getCurrentResult(),H))return!0;return!1}function UB(B){return{onFetch:(H,W)=>{let _=H.options,L=H.fetchOptions?.meta?.fetchMore?.direction,K=H.state.data?.pages||[],F=H.state.data?.pageParams||[],w={pages:[],pageParams:[]},C=0,j=async()=>{let R=!1,M=(h)=>{pL(h,()=>H.signal,()=>R=!0)},E=GY(H.options,H.fetchOptions),f=async(h,b,S)=>{if(R)return Promise.reject();if(b==null&&h.pages.length)return Promise.resolve(h);let o=(()=>{let e0={client:H.client,queryKey:H.queryKey,pageParam:b,direction:S?"backward":"forward",meta:H.options.meta};return M(e0),e0})(),t=await E(o),{maxPages:v0}=H.options,T0=S?uL:dL;return{pages:T0(h.pages,t,v0),pageParams:T0(h.pageParams,b,v0)}};if(L&&K.length){let h=L==="backward",b=h?EF:oL,S={pages:K,pageParams:F},s=b(_,S);w=await f(S,s,h)}else{let h=B??K.length;do{let b=C===0?F[0]??_.initialPageParam:oL(_,w);if(C>0&&b==null)break;w=await f(w,b),C++}while(C<h)}return w};if(H.options.persister)H.fetchFn=()=>{return H.options.persister?.(j,{client:H.client,queryKey:H.queryKey,meta:H.options.meta,signal:H.signal},W)};else H.fetchFn=j}}}function oL(B,{pages:H,pageParams:W}){let _=H.length-1;return H.length>0?B.getNextPageParam(H[_],H,W[_],W):void 0}function EF(B,{pages:H,pageParams:W}){return H.length>0?B.getPreviousPageParam?.(H[0],H,W[0],W):void 0}var rL=class extends ZY{#$;#G;#X;#Z;constructor(B){super();this.#$=B.client,this.mutationId=B.mutationId,this.#X=B.mutationCache,this.#G=[],this.state=B.state||HB(),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.#G.includes(B))this.#G.push(B),this.clearGcTimeout(),this.#X.notify({type:"observerAdded",mutation:this,observer:B})}removeObserver(B){this.#G=this.#G.filter((H)=>H!==B),this.scheduleGc(),this.#X.notify({type:"observerRemoved",mutation:this,observer:B})}optionalRemove(){if(!this.#G.length)if(this.state.status==="pending")this.scheduleGc();else this.#X.remove(this)}continue(){return this.#Z?.continue()??this.execute(this.state.variables)}async execute(B){let H=()=>{this.#Y({type:"continue"})},W={client:this.#$,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#Z=YY({fn:()=>{if(!this.options.mutationFn)return Promise.reject(Error("No mutationFn found"));return this.options.mutationFn(B,W)},onFail:(K,F)=>{this.#Y({type:"failed",failureCount:K,error:F})},onPause:()=>{this.#Y({type:"pause"})},onContinue:H,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#X.canRun(this)});let _=this.state.status==="pending",L=!this.#Z.canStart();try{if(_)H();else{if(this.#Y({type:"pending",variables:B,isPaused:L}),this.#X.config.onMutate)await this.#X.config.onMutate(B,this,W);let F=await this.options.onMutate?.(B,W);if(F!==this.state.context)this.#Y({type:"pending",context:F,variables:B,isPaused:L})}let K=await this.#Z.start();return await this.#X.config.onSuccess?.(K,B,this.state.context,this,W),await this.options.onSuccess?.(K,B,this.state.context,W),await this.#X.config.onSettled?.(K,null,this.state.variables,this.state.context,this,W),await this.options.onSettled?.(K,null,B,this.state.context,W),this.#Y({type:"success",data:K}),K}catch(K){try{await this.#X.config.onError?.(K,B,this.state.context,this,W)}catch(F){Promise.reject(F)}try{await this.options.onError?.(K,B,this.state.context,W)}catch(F){Promise.reject(F)}try{await this.#X.config.onSettled?.(void 0,K,this.state.variables,this.state.context,this,W)}catch(F){Promise.reject(F)}try{await this.options.onSettled?.(void 0,K,B,this.state.context,W)}catch(F){Promise.reject(F)}throw this.#Y({type:"error",error:K}),K}finally{this.#X.runNext(this)}}#Y(B){let H=(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=H(this.state),t0.batch(()=>{this.#G.forEach((W)=>{W.onMutationUpdate(B)}),this.#X.notify({mutation:this,type:"updated",action:B})})}};function HB(){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 G2{constructor(B={}){super();this.config=B,this.#$=new Set,this.#G=new Map,this.#X=0}#$;#G;#X;build(B,H,W){let _=new rL({client:B,mutationCache:this,mutationId:++this.#X,options:B.defaultMutationOptions(H),state:W});return this.add(_),_}add(B){this.#$.add(B);let H=JY(B);if(typeof H==="string"){let W=this.#G.get(H);if(W)W.push(B);else this.#G.set(H,[B])}this.notify({type:"added",mutation:B})}remove(B){if(this.#$.delete(B)){let H=JY(B);if(typeof H==="string"){let W=this.#G.get(H);if(W){if(W.length>1){let _=W.indexOf(B);if(_!==-1)W.splice(_,1)}else if(W[0]===B)this.#G.delete(H)}}}this.notify({type:"removed",mutation:B})}canRun(B){let H=JY(B);if(typeof H==="string"){let _=this.#G.get(H)?.find((L)=>L.state.status==="pending");return!_||_===B}else return!0}runNext(B){let H=JY(B);if(typeof H==="string")return this.#G.get(H)?.find((_)=>_!==B&&_.state.isPaused)?.continue()??Promise.resolve();else return Promise.resolve()}clear(){t0.batch(()=>{this.#$.forEach((B)=>{this.notify({type:"removed",mutation:B})}),this.#$.clear(),this.#G.clear()})}getAll(){return Array.from(this.#$)}find(B){let H={exact:!0,...B};return this.getAll().find((W)=>$Y(H,W))}findAll(B={}){return this.getAll().filter((H)=>$Y(B,H))}notify(B){t0.batch(()=>{this.listeners.forEach((H)=>{H(B)})})}resumePausedMutations(){let B=this.getAll().filter((H)=>H.state.isPaused);return t0.batch(()=>Promise.all(B.map((H)=>H.continue().catch(I5))))}};function JY(B){return B.options.scope?.id}var zB=class extends G2{#$;#G=void 0;#X;#Z;constructor(B,H){super();this.#$=B,this.setOptions(H),this.bindMethods(),this.#Y()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(B){let H=this.options;if(this.options=this.#$.defaultMutationOptions(B),!x7(this.options,H))this.#$.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#X,observer:this});if(H?.mutationKey&&this.options.mutationKey&&n2(H.mutationKey)!==n2(this.options.mutationKey))this.reset();else if(this.#X?.state.status==="pending")this.#X.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners())this.#X?.removeObserver(this)}onMutationUpdate(B){this.#Y(),this.#J(B)}getCurrentResult(){return this.#G}reset(){this.#X?.removeObserver(this),this.#X=void 0,this.#Y(),this.#J()}mutate(B,H){return this.#Z=H,this.#X?.removeObserver(this),this.#X=this.#$.getMutationCache().build(this.#$,this.options),this.#X.addObserver(this),this.#X.execute(B)}#Y(){let B=this.#X?.state??HB();this.#G={...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 H=this.#G.variables,W=this.#G.context,_={client:this.#$,meta:this.options.meta,mutationKey:this.options.mutationKey};if(B?.type==="success"){try{this.#Z.onSuccess?.(B.data,H,W,_)}catch(L){Promise.reject(L)}try{this.#Z.onSettled?.(B.data,null,H,W,_)}catch(L){Promise.reject(L)}}else if(B?.type==="error"){try{this.#Z.onError?.(B.error,H,W,_)}catch(L){Promise.reject(L)}try{this.#Z.onSettled?.(void 0,B.error,H,W,_)}catch(L){Promise.reject(L)}}}this.listeners.forEach((H)=>{H(this.#G)})})}};var eL=class extends G2{constructor(B={}){super();this.config=B,this.#$=new Map}#$;build(B,H,W){let _=H.queryKey,L=H.queryHash??PG(_,H),K=this.get(L);if(!K)K=new iL({client:B,queryKey:_,queryHash:L,options:B.defaultQueryOptions(H),state:W,defaultOptions:B.getQueryDefaults(_)}),this.add(K);return K}add(B){if(!this.#$.has(B.queryHash))this.#$.set(B.queryHash,B),this.notify({type:"added",query:B})}remove(B){let H=this.#$.get(B.queryHash);if(H){if(B.destroy(),H===B)this.#$.delete(B.queryHash);this.notify({type:"removed",query:B})}}clear(){t0.batch(()=>{this.getAll().forEach((B)=>{this.remove(B)})})}get(B){return this.#$.get(B)}getAll(){return[...this.#$.values()]}find(B){let H={exact:!0,...B};return this.getAll().find((W)=>eX(H,W))}findAll(B={}){let H=this.getAll();return Object.keys(B).length>0?H.filter((W)=>eX(B,W)):H}notify(B){t0.batch(()=>{this.listeners.forEach((H)=>{H(B)})})}onFocus(){t0.batch(()=>{this.getAll().forEach((B)=>{B.onFocus()})})}onOnline(){t0.batch(()=>{this.getAll().forEach((B)=>{B.onOnline()})})}};var WB=class{#$;#G;#X;#Z;#Y;#J;#B;#U;constructor(B={}){this.#$=B.queryCache||new eL,this.#G=B.mutationCache||new tL,this.#X=B.defaultOptions||{},this.#Z=new Map,this.#Y=new Map,this.#J=0}mount(){if(this.#J++,this.#J!==1)return;this.#B=j7.subscribe(async(B)=>{if(B)await this.resumePausedMutations(),this.#$.onFocus()}),this.#U=k7.subscribe(async(B)=>{if(B)await this.resumePausedMutations(),this.#$.onOnline()})}unmount(){if(this.#J--,this.#J!==0)return;this.#B?.(),this.#B=void 0,this.#U?.(),this.#U=void 0}isFetching(B){return this.#$.findAll({...B,fetchStatus:"fetching"}).length}isMutating(B){return this.#G.findAll({...B,status:"pending"}).length}getQueryData(B){let H=this.defaultQueryOptions({queryKey:B});return this.#$.get(H.queryHash)?.state.data}ensureQueryData(B){let H=this.defaultQueryOptions(B),W=this.#$.build(this,H),_=W.state.data;if(_===void 0)return this.fetchQuery(B);if(B.revalidateIfStale&&W.isStaleByTime(w2(H.staleTime,W)))this.prefetchQuery(H);return Promise.resolve(_)}getQueriesData(B){return this.#$.findAll(B).map(({queryKey:H,state:W})=>{let _=W.data;return[H,_]})}setQueryData(B,H,W){let _=this.defaultQueryOptions({queryKey:B}),K=this.#$.get(_.queryHash)?.state.data,F=hL(H,K);if(F===void 0)return;return this.#$.build(this,_).setData(F,{...W,manual:!0})}setQueriesData(B,H,W){return t0.batch(()=>this.#$.findAll(B).map(({queryKey:_})=>[_,this.setQueryData(_,H,W)]))}getQueryState(B){let H=this.defaultQueryOptions({queryKey:B});return this.#$.get(H.queryHash)?.state}removeQueries(B){let H=this.#$;t0.batch(()=>{H.findAll(B).forEach((W)=>{H.remove(W)})})}resetQueries(B,H){let W=this.#$;return t0.batch(()=>{return W.findAll(B).forEach((_)=>{_.reset()}),this.refetchQueries({type:"active",...B},H)})}cancelQueries(B,H={}){let W={revert:!0,...H},_=t0.batch(()=>this.#$.findAll(B).map((L)=>L.cancel(W)));return Promise.all(_).then(I5).catch(I5)}invalidateQueries(B,H={}){return t0.batch(()=>{if(this.#$.findAll(B).forEach((W)=>{W.invalidate()}),B?.refetchType==="none")return Promise.resolve();return this.refetchQueries({...B,type:B?.refetchType??B?.type??"active"},H)})}refetchQueries(B,H={}){let W={...H,cancelRefetch:H.cancelRefetch??!0},_=t0.batch(()=>this.#$.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 H=this.defaultQueryOptions(B);if(H.retry===void 0)H.retry=!1;let W=this.#$.build(this,H);return W.isStaleByTime(w2(H.staleTime,W))?W.fetch(H):Promise.resolve(W.state.data)}prefetchQuery(B){return this.fetchQuery(B).then(I5).catch(I5)}fetchInfiniteQuery(B){return B.behavior=UB(B.pages),this.fetchQuery(B)}prefetchInfiniteQuery(B){return this.fetchInfiniteQuery(B).then(I5).catch(I5)}ensureInfiniteQueryData(B){return B.behavior=UB(B.pages),this.ensureQueryData(B)}resumePausedMutations(){if(k7.isOnline())return this.#G.resumePausedMutations();return Promise.resolve()}getQueryCache(){return this.#$}getMutationCache(){return this.#G}getDefaultOptions(){return this.#X}setDefaultOptions(B){this.#X=B}setQueryDefaults(B,H){this.#Z.set(n2(B),{queryKey:B,defaultOptions:H})}getQueryDefaults(B){let H=[...this.#Z.values()],W={};return H.forEach((_)=>{if(Q8(B,_.queryKey))Object.assign(W,_.defaultOptions)}),W}setMutationDefaults(B,H){this.#Y.set(n2(B),{mutationKey:B,defaultOptions:H})}getMutationDefaults(B){let H=[...this.#Y.values()],W={};return H.forEach((_)=>{if(Q8(B,_.mutationKey))Object.assign(W,_.defaultOptions)}),W}defaultQueryOptions(B){if(B._defaulted)return B;let H={...this.#X.queries,...this.getQueryDefaults(B.queryKey),...B,_defaulted:!0};if(!H.queryHash)H.queryHash=PG(H.queryKey,H);if(H.refetchOnReconnect===void 0)H.refetchOnReconnect=H.networkMode!=="always";if(H.throwOnError===void 0)H.throwOnError=!!H.suspense;if(!H.networkMode&&H.persister)H.networkMode="offlineFirst";if(H.queryFn===N8)H.enabled=!1;return H}defaultMutationOptions(B){if(B?._defaulted)return B;return{...this.#X.mutations,...B?.mutationKey&&this.getMutationDefaults(B.mutationKey),...B,_defaulted:!0}}clear(){this.#$.clear(),this.#G.clear()}};var R6=$0(Z5(),1);var v7=$0(Z5(),1),$N=$0(_B(),1),AB=v7.createContext(void 0),w8=(B)=>{let H=v7.useContext(AB);if(B)return B;if(!H)throw Error("No QueryClient set, use QueryClientProvider to set one");return H},LB=({client:B,children:H})=>{return v7.useEffect(()=>{return B.mount(),()=>{B.unmount()}},[B]),$N.jsx(AB.Provider,{value:B,children:H})};var qG=$0(Z5(),1),jF=$0(_B(),1);function xF(){let B=!1;return{clearReset:()=>{B=!1},reset:()=>{B=!0},isReset:()=>{return B}}}var SF=qG.createContext(xF()),GN=()=>qG.useContext(SF);var XN=$0(Z5(),1);var YN=(B,H,W)=>{let _=W?.state.error&&typeof B.throwOnError==="function"?S7(B.throwOnError,[W.state.error,W]):B.throwOnError;if(B.suspense||B.experimental_prefetchInRender||_){if(!H.isReset())B.retryOnMount=!1}},ZN=(B)=>{XN.useEffect(()=>{B.clearReset()},[B])},JN=({result:B,errorResetBoundary:H,throwOnError:W,query:_,suspense:L})=>{return B.isError&&!H.isReset()&&!B.isFetching&&_&&(L&&B.data===void 0||S7(W,[B.error,_]))};var BY=$0(Z5(),1),BN=BY.createContext(!1),UN=()=>BY.useContext(BN),vV=BN.Provider;var HN=(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,H)=>B.isLoading&&B.isFetching&&!H,WN=(B,H)=>B?.suspense&&H.isPending,NB=(B,H,W)=>H.fetchOptimistic(B).catch(()=>{W.clearReset()});function _N(B,H,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 _=UN(),L=GN(),K=w8(W),F=K.defaultQueryOptions(B);K.getDefaultOptions().queries?._experimental_beforeQuery?.(F);let w=K.getQueryCache().get(F.queryHash);if(!F.queryFn)console.error(`[${F.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`);F._optimisticResults=_?"isRestoring":"optimistic",HN(F),YN(F,L,w),ZN(L);let C=!K.getQueryCache().get(F.queryHash),[j]=R6.useState(()=>new H(K,F)),R=j.getOptimisticResult(F),M=!_&&B.subscribed!==!1;if(R6.useSyncExternalStore(R6.useCallback((E)=>{let f=M?j.subscribe(t0.batchCalls(E)):I5;return j.updateResult(),f},[j,M]),()=>j.getCurrentResult(),()=>j.getCurrentResult()),R6.useEffect(()=>{j.setOptions(F)},[F,j]),WN(F,R))throw NB(F,j,L);if(JN({result:R,errorResetBoundary:L,throwOnError:F.throwOnError,query:w,suspense:F.suspense}))throw R.error;if(K.getDefaultOptions().queries?._experimental_afterQuery?.(F,R),F.experimental_prefetchInRender&&!o2.isServer()&&zN(R,_))(C?NB(F,j,L):w?.promise)?.catch(I5).finally(()=>{j.updateResult()});return!F.notifyOnChangeProps?j.trackResult(R):R}function $1(B,H){return _N(B,JB,H)}var q4=$0(Z5(),1);function QB(B,H){let W=w8(H),[_]=q4.useState(()=>new zB(W,B));q4.useEffect(()=>{_.setOptions(B)},[_,B]);let L=q4.useSyncExternalStore(q4.useCallback((F)=>_.subscribe(t0.batchCalls(F)),[_]),()=>_.getCurrentResult(),()=>_.getCurrentResult()),K=q4.useCallback((F,w)=>{_.mutate(F,w).catch(I5)},[_]);if(L.error&&S7(_.options.throwOnError,[L.error]))throw L.error;return{...L,mutate:K,mutateAsync:L.mutate}}var T1=$0(Z5(),1),J0=$0(Z5(),1),w5=$0(Z5(),1),kB=$0(Z5(),1),cN=$0(Z5(),1),f0=$0(Z5(),1),dR=$0(Z5(),1),uR=$0(Z5(),1),pR=$0(Z5(),1),U0=$0(Z5(),1),ZQ=$0(Z5(),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 RN(B={}){function H(_,L){let K=L.state?.masked,{pathname:F,search:w,hash:C}=K||_.location;return FB("",{pathname:F,search:w,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:g7(L)}return vF(H,W,null,B)}function L5(B,H){if(B===!1||B===null||typeof B>"u")throw Error(H)}function X2(B,H){if(!B){if(typeof console<"u")console.warn(H);try{throw Error(H)}catch(W){}}}function kF(){return Math.random().toString(36).substring(2,10)}function NN(B,H){return{usr:B.state,key:B.key,idx:H,masked:B.unstable_mask?{pathname:B.pathname,search:B.search,hash:B.hash}:void 0}}function FB(B,H,W=null,_,L){return{pathname:typeof B==="string"?B:B.pathname,search:"",hash:"",...typeof H==="string"?M8(H):H,state:W,key:H&&H.key||_||kF(),unstable_mask:L}}function g7({pathname:B="/",search:H="",hash:W=""}){if(H&&H!=="?")B+=H.charAt(0)==="?"?H:"?"+H;if(W&&W!=="#")B+=W.charAt(0)==="#"?W:"#"+W;return B}function M8(B){let H={};if(B){let W=B.indexOf("#");if(W>=0)H.hash=B.substring(W),B=B.substring(0,W);let _=B.indexOf("?");if(_>=0)H.search=B.substring(_),B=B.substring(0,_);if(B)H.pathname=B}return H}function vF(B,H,W,_={}){let{window:L=document.defaultView,v5Compat:K=!1}=_,F=L.history,w="POP",C=null,j=R();if(j==null)j=0,F.replaceState({...F.state,idx:j},"");function R(){return(F.state||{idx:null}).idx}function M(){w="POP";let S=R(),s=S==null?null:S-j;if(j=S,C)C({action:w,location:b.location,delta:s})}function E(S,s){w="PUSH";let o=LN(S)?S:FB(b.location,S,s);if(W)W(o,S);j=R()+1;let t=NN(o,j),v0=b.createHref(o.unstable_mask||o);try{F.pushState(t,"",v0)}catch(T0){if(T0 instanceof DOMException&&T0.name==="DataCloneError")throw T0;L.location.assign(v0)}if(K&&C)C({action:w,location:b.location,delta:1})}function f(S,s){w="REPLACE";let o=LN(S)?S:FB(b.location,S,s);if(W)W(o,S);j=R();let t=NN(o,j),v0=b.createHref(o.unstable_mask||o);if(F.replaceState(t,"",v0),K&&C)C({action:w,location:b.location,delta:0})}function h(S){return gF(S)}let b={get action(){return w},get location(){return B(L,F)},listen(S){if(C)throw Error("A history only accepts one active listener");return L.addEventListener(AN,M),C=S,()=>{L.removeEventListener(AN,M),C=null}},createHref(S){return H(L,S)},createURL:h,encodeLocation(S){let s=h(S);return{pathname:s.pathname,search:s.search,hash:s.hash}},push:E,replace:f,go(S){return F.go(S)}};return b}function gF(B,H=!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:g7(B);if(_=_.replace(/ $/,"%20"),!H&&_.startsWith("//"))_=W+_;return new URL(_,W)}var bF;bF=new WeakMap;function PB(B,H,W="/"){return mF(B,H,W,!1)}function mF(B,H,W,_){let L=typeof H==="string"?M8(H):H,K=r2(L.pathname||"/",W);if(K==null)return null;let F=TN(B);hF(F);let w=null;for(let C=0;w==null&&C<F.length;++C){let j=oF(K);w=aF(F[C],j,_)}return w}function fF(B,H){let{route:W,pathname:_,params:L}=B;return{id:W.id,pathname:_,params:L,data:H[W.id],loaderData:H[W.id],handle:W.handle}}function TN(B,H=[],W=[],_="",L=!1){let K=(F,w,C=L,j)=>{let R={relativePath:j===void 0?F.path||"":j,caseSensitive:F.caseSensitive===!0,childrenIndex:w,route:F};if(R.relativePath.startsWith("/")){if(!R.relativePath.startsWith(_)&&C)return;L5(R.relativePath.startsWith(_),`Absolute route path "${R.relativePath}" nested under path "${_}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),R.relativePath=R.relativePath.slice(_.length)}let M=M2([_,R.relativePath]),E=W.concat(R);if(F.children&&F.children.length>0)L5(F.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${M}".`),TN(F.children,H,E,M,C);if(F.path==null&&!F.index)return;H.push({path:M,score:sF(M,F.index),routesMeta:E})};return B.forEach((F,w)=>{if(F.path===""||!F.path?.includes("?"))K(F,w);else for(let C of IN(F.path))K(F,w,!0,C)}),H}function IN(B){let H=B.split("/");if(H.length===0)return[];let[W,..._]=H,L=W.endsWith("?"),K=W.replace(/\?$/,"");if(_.length===0)return L?[K,""]:[K];let F=IN(_.join("/")),w=[];if(w.push(...F.map((C)=>C===""?K:[K,C].join("/"))),L)w.push(...F);return w.map((C)=>B.startsWith("/")&&C===""?"/":C)}function hF(B){B.sort((H,W)=>H.score!==W.score?W.score-H.score:iF(H.routesMeta.map((_)=>_.childrenIndex),W.routesMeta.map((_)=>_.childrenIndex)))}var yF=/^:[\w-]+$/,dF=3,uF=2,pF=1,lF=10,cF=-2,QN=(B)=>B==="*";function sF(B,H){let W=B.split("/"),_=W.length;if(W.some(QN))_+=cF;if(H)_+=uF;return W.filter((L)=>!QN(L)).reduce((L,K)=>L+(yF.test(K)?dF:K===""?pF:lF),_)}function iF(B,H){return B.length===H.length&&B.slice(0,-1).every((_,L)=>_===H[L])?B[B.length-1]-H[H.length-1]:0}function aF(B,H,W=!1){let{routesMeta:_}=B,L={},K="/",F=[];for(let w=0;w<_.length;++w){let C=_[w],j=w===_.length-1,R=K==="/"?H:H.slice(K.length)||"/",M=EG({path:C.relativePath,caseSensitive:C.caseSensitive,end:j},R),E=C.route;if(!M&&j&&W&&!_[_.length-1].route.index)M=EG({path:C.relativePath,caseSensitive:C.caseSensitive,end:!1},R);if(!M)return null;if(Object.assign(L,M.params),F.push({params:L,pathname:M2([K,M.pathname]),pathnameBase:eF(M2([K,M.pathnameBase])),route:E}),M.pathnameBase!=="/")K=M2([K,M.pathnameBase])}return F}function EG(B,H){if(typeof B==="string")B={path:B,caseSensitive:!1,end:!0};let[W,_]=nF(B.path,B.caseSensitive,B.end),L=H.match(W);if(!L)return null;let K=L[0],F=K.replace(/(.)\/+$/,"$1"),w=L.slice(1);return{params:_.reduce((j,{paramName:R,isOptional:M},E)=>{if(R==="*"){let h=w[E]||"";F=K.slice(0,K.length-h.length).replace(/(.)\/+$/,"$1")}let f=w[E];if(M&&!f)j[R]=void 0;else j[R]=(f||"").replace(/%2F/g,"/");return j},{}),pathname:K,pathnameBase:F,pattern:B}}function nF(B,H=!1,W=!0){X2(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,(F,w,C,j,R)=>{if(_.push({paramName:w,isOptional:C!=null}),C){let M=R.charAt(j+F.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,H?void 0:"i"),_]}function oF(B){try{return B.split("/").map((H)=>decodeURIComponent(H).replace(/\//g,"%2F")).join("/")}catch(H){return X2(!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 (${H}).`),B}}function r2(B,H){if(H==="/")return B;if(!B.toLowerCase().startsWith(H.toLowerCase()))return null;let W=H.endsWith("/")?H.length-1:H.length,_=B.charAt(W);if(_&&_!=="/")return null;return B.slice(W)||"/"}var rF=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function PN(B,H="/"){let{pathname:W,search:_="",hash:L=""}=typeof B==="string"?M8(B):B,K;if(W)if(W=ON(W),W.startsWith("/"))K=KN(W.substring(1),"/");else K=KN(W,H);else K=H;return{pathname:K,search:$R(_),hash:GR(L)}}function KN(B,H){let W=_Y(H).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,H,W,_){return`Cannot include a '${B}' character in a manually specified \`to.${H}\` 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 tF(B){return B.filter((H,W)=>W===0||H.route.path&&H.route.path.length>0)}function VN(B){let H=tF(B);return H.map((W,_)=>_===H.length-1?W.pathname:W.pathnameBase)}function VB(B,H,W,_=!1){let L;if(typeof B==="string")L=M8(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==="",F=K?"/":L.pathname,w;if(F==null)w=W;else{let M=H.length-1;if(!_&&F.startsWith("..")){let E=F.split("/");while(E[0]==="..")E.shift(),M-=1;L.pathname=E.join("/")}w=M>=0?H[M]:"/"}let C=PN(L,w),j=F&&F!=="/"&&F.endsWith("/"),R=(K||F===".")&&W.endsWith("/");if(!C.pathname.endsWith("/")&&(j||R))C.pathname+="/";return C}var ON=(B)=>B.replace(/\/\/+/g,"/"),M2=(B)=>ON(B.join("/")),_Y=(B)=>B.replace(/\/+$/,""),eF=(B)=>_Y(B).replace(/^\/*/,"/"),$R=(B)=>!B||B==="?"?"":B.startsWith("?")?B:"?"+B,GR=(B)=>!B||B==="#"?"":B.startsWith("#")?B:"#"+B;var qN=class{constructor(B,H,W,_=!1){if(this.status=B,this.statusText=H||"",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 XR(B){let H=B.map((W)=>W.route.path).filter(Boolean);return M2(H)||"/"}var EN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function CN(B,H){let W=B;if(typeof W!=="string"||!rF.test(W))return{absoluteURL:void 0,isExternal:!1,to:W};let _=W,L=!1;if(EN)try{let K=new URL(window.location.href),F=W.startsWith("//")?new URL(K.protocol+W):new URL(W),w=r2(F.pathname,H);if(F.origin===K.origin&&w!=null)W=w+F.search+F.hash;else L=!0}catch(K){X2(!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 gO=Symbol("Uninstrumented");var bO=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var jN=["POST","PUT","PATCH","DELETE"],mO=new Set(jN),YR=["GET",...jN],fO=new Set(YR);var hO=Symbol("ResetLoaderData");var F8=T1.createContext(null);F8.displayName="DataRouter";var b7=T1.createContext(null);b7.displayName="DataRouterState";var xN=T1.createContext(!1);function ZR(){return T1.useContext(xN)}var OB=T1.createContext({isTransitioning:!1});OB.displayName="ViewTransition";var SN=T1.createContext(new Map);SN.displayName="Fetchers";var JR=T1.createContext(null);JR.displayName="Await";var W1=T1.createContext(null);W1.displayName="Navigation";var m7=T1.createContext(null);m7.displayName="Location";var t2=T1.createContext({outlet:null,matches:[],isDataRoute:!1});t2.displayName="Route";var qB=T1.createContext(null);qB.displayName="RouteError";var RB=!0,kN="REACT_ROUTER_ERROR",BR="REDIRECT",UR="ROUTE_ERROR_RESPONSE";function HR(B){if(B.startsWith(`${kN}:${BR}:{`))try{let H=JSON.parse(B.slice(28));if(typeof H==="object"&&H&&typeof H.status==="number"&&typeof H.statusText==="string"&&typeof H.location==="string"&&typeof H.reloadDocument==="boolean"&&typeof H.replace==="boolean")return H}catch{}}function zR(B){if(B.startsWith(`${kN}:${UR}:{`))try{let H=JSON.parse(B.slice(40));if(typeof H==="object"&&H&&typeof H.status==="number"&&typeof H.statusText==="string")return new qN(H.status,H.statusText,H.data)}catch{}}function vN(B,{relative:H}={}){L5(f7(),"useHref() may be used only in the context of a <Router> component.");let{basename:W,navigator:_}=J0.useContext(W1),{hash:L,pathname:K,search:F}=h7(B,{relative:H}),w=K;if(W!=="/")w=K==="/"?W:M2([W,K]);return _.createHref({pathname:w,search:F,hash:L})}function f7(){return J0.useContext(m7)!=null}function Y2(){return L5(f7(),"useLocation() may be used only in the context of a <Router> component."),J0.useContext(m7).location}var gN="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function bN(B){if(!J0.useContext(W1).static)J0.useLayoutEffect(B)}function mN(){let{isDataRoute:B}=J0.useContext(t2);return B?FR():WR()}function WR(){L5(f7(),"useNavigate() may be used only in the context of a <Router> component.");let B=J0.useContext(F8),{basename:H,navigator:W}=J0.useContext(W1),{matches:_}=J0.useContext(t2),{pathname:L}=Y2(),K=JSON.stringify(VN(_)),F=J0.useRef(!1);return bN(()=>{F.current=!0}),J0.useCallback((C,j={})=>{if(X2(F.current,gN),!F.current)return;if(typeof C==="number"){W.go(C);return}let R=VB(C,JSON.parse(K),L,j.relative==="path");if(B==null&&H!=="/")R.pathname=R.pathname==="/"?H:M2([H,R.pathname]);(j.replace?W.replace:W.push)(R,j.state,j)},[H,W,K,L,B])}var yO=J0.createContext(null);function h7(B,{relative:H}={}){let{matches:W}=J0.useContext(t2),{pathname:_}=Y2(),L=JSON.stringify(VN(W));return J0.useMemo(()=>VB(B,JSON.parse(L),_,H==="path"),[B,L,_,H])}function fN(B,H){return hN(B,H)}function hN(B,H,W){L5(f7(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:_}=J0.useContext(W1),{matches:L}=J0.useContext(t2),K=L[L.length-1],F=K?K.params:{},w=K?K.pathname:"/",C=K?K.pathnameBase:"/",j=K&&K.route;if(RB){let S=j&&j.path||"";pN(w,!j||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${w}" (under <Route path="${S}">) 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="${S}"> to <Route path="${S==="/"?"*":`${S}/*`}">.`)}let R=Y2(),M;if(H){let S=typeof H==="string"?M8(H):H;L5(C==="/"||S.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 "${S.pathname}" was given in the \`location\` prop.`),M=S}else M=R;let E=M.pathname||"/",f=E;if(C!=="/"){let S=C.replace(/^\//,"").split("/");f="/"+E.replace(/^\//,"").split("/").slice(S.length).join("/")}let h=PB(B,{pathname:f});if(RB)X2(j||h!=null,`No routes matched location "${M.pathname}${M.search}${M.hash}" `),X2(h==null||h[h.length-1].route.element!==void 0||h[h.length-1].route.Component!==void 0||h[h.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 b=QR(h&&h.map((S)=>Object.assign({},S,{params:Object.assign({},F,S.params),pathname:M2([C,_.encodeLocation?_.encodeLocation(S.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?C:M2([C,_.encodeLocation?_.encodeLocation(S.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathnameBase])})),L,W);if(H&&b)return J0.createElement(m7.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...M},navigationType:"POP"}},b);return b}function _R(){let B=uN(),H=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:_},F=null;if(RB)console.error("Error handled by React Router default ErrorBoundary:",B),F=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"}},H),W?J0.createElement("pre",{style:L},W):null,F)}var AR=J0.createElement(_R,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,H){if(H.location!==B.location||H.revalidation!=="idle"&&B.revalidation==="idle")return{error:B.error,location:B.location,revalidation:B.revalidation};return{error:B.error!==void 0?B.error:H.error,location:H.location,revalidation:B.revalidation||H.revalidation}}componentDidCatch(B,H){if(this.props.onError)this.props.onError(B,H);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=zR(B.digest);if(W)B=W}let H=B!==void 0?J0.createElement(t2.Provider,{value:this.props.routeContext},J0.createElement(qB.Provider,{value:B,children:this.props.component})):this.props.children;if(this.context)return J0.createElement(LR,{error:B},H);return H}};yN.contextType=xN;var wB=new WeakMap;function LR({children:B,error:H}){let{basename:W}=J0.useContext(W1);if(typeof H==="object"&&H&&"digest"in H&&typeof H.digest==="string"){let _=HR(H.digest);if(_){let L=wB.get(H);if(L)throw L;let K=CN(_.location,W);if(EN&&!wB.get(H))if(K.isExternal||_.reloadDocument)window.location.href=K.absoluteURL||K.to;else{let F=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(K.to,{replace:_.replace}));throw wB.set(H,F),F}return J0.createElement("meta",{httpEquiv:"refresh",content:`0;url=${K.absoluteURL||K.to}`})}}return B}function NR({routeContext:B,match:H,children:W}){let _=J0.useContext(F8);if(_&&_.static&&_.staticContext&&(H.route.errorElement||H.route.ErrorBoundary))_.staticContext._deepestRenderedBoundaryId=H.route.id;return J0.createElement(t2.Provider,{value:B},W)}function QR(B,H=[],W){let _=W?.state;if(B==null){if(!_)return null;if(_.errors)B=_.matches;else if(H.length===0&&!_.initialized&&_.matches.length>0)B=_.matches;else return null}let L=B,K=_?.errors;if(K!=null){let R=L.findIndex((M)=>M.route.id&&K?.[M.route.id]!==void 0);L5(R>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(K).join(",")}`),L=L.slice(0,Math.min(L.length,R+1))}let F=!1,w=-1;if(W&&_){F=_.renderFallback;for(let R=0;R<L.length;R++){let M=L[R];if(M.route.HydrateFallback||M.route.hydrateFallbackElement)w=R;if(M.route.id){let{loaderData:E,errors:f}=_,h=M.route.loader&&!E.hasOwnProperty(M.route.id)&&(!f||f[M.route.id]===void 0);if(M.route.lazy||h){if(W.isStatic)F=!0;if(w>=0)L=L.slice(0,w+1);else L=[L[0]];break}}}}let C=W?.onError,j=_&&C?(R,M)=>{C(R,{location:_.location,params:_.matches?.[0]?.params??{},unstable_pattern:XR(_.matches),errorInfo:M})}:void 0;return L.reduceRight((R,M,E)=>{let f,h=!1,b=null,S=null;if(_){if(f=K&&M.route.id?K[M.route.id]:void 0,b=M.route.errorElement||AR,F){if(w<0&&E===0)pN("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),h=!0,S=null;else if(w===E)h=!0,S=M.route.hydrateFallbackElement||null}}let s=H.concat(L.slice(0,E+1)),o=()=>{let t;if(f)t=b;else if(h)t=S;else if(M.route.Component)t=J0.createElement(M.route.Component,null);else if(M.route.element)t=M.route.element;else t=R;return J0.createElement(NR,{match:M,routeContext:{outlet:R,matches:s,isDataRoute:_!=null},children:t})};return _&&(M.route.ErrorBoundary||M.route.errorElement||E===0)?J0.createElement(yN,{location:_.location,revalidation:_.revalidation,component:b,error:f,children:o(),routeContext:{outlet:null,matches:s,isDataRoute:!0},onError:j}):o()},null)}function DB(B){return`${B} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function KR(B){let H=J0.useContext(F8);return L5(H,DB(B)),H}function EB(B){let H=J0.useContext(b7);return L5(H,DB(B)),H}function wR(B){let H=J0.useContext(t2);return L5(H,DB(B)),H}function CB(B){let H=wR(B),W=H.matches[H.matches.length-1];return L5(W.route.id,`${B} can only be used on routes that contain a unique "id"`),W.route.id}function MR(){return CB("useRouteId")}function dN(){return EB("useNavigation").navigation}function jB(){let{matches:B,loaderData:H}=EB("useMatches");return J0.useMemo(()=>B.map((W)=>fF(W,H)),[B,H])}function uN(){let B=J0.useContext(qB),H=EB("useRouteError"),W=CB("useRouteError");if(B!==void 0)return B;return H.errors?.[W]}function FR(){let{router:B}=KR("useNavigate"),H=CB("useNavigate"),W=J0.useRef(!1);return bN(()=>{W.current=!0}),J0.useCallback(async(L,K={})=>{if(X2(W.current,gN),!W.current)return;if(typeof L==="number")await B.navigate(L);else await B.navigate(L,{fromRouteId:H,...K})},[B,H])}var wN={};function pN(B,H,W){if(!H&&!wN[B])wN[B]=!0,X2(!1,W)}var RR="useOptimistic",dO=w5[RR];var uO=w5.memo(TR);function TR({routes:B,future:H,state:W,isStatic:_,onError:L}){return hN(B,void 0,{state:W,isStatic:_,onError:L,future:H})}function CG(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 xB({basename:B="/",children:H=null,location:W,navigationType:_="POP",navigator:L,static:K=!1,unstable_useTransitions:F}){L5(!f7(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let w=B.replace(/^\/*/,"/"),C=w5.useMemo(()=>({basename:w,navigator:L,static:K,unstable_useTransitions:F,future:{}}),[w,L,K,F]);if(typeof W==="string")W=M8(W);let{pathname:j="/",search:R="",hash:M="",state:E=null,key:f="default",unstable_mask:h}=W,b=w5.useMemo(()=>{let S=r2(j,w);if(S==null)return null;return{location:{pathname:S,search:R,hash:M,state:E,key:f,unstable_mask:h},navigationType:_}},[w,j,R,M,E,f,_,h]);if(X2(b!=null,`<Router basename="${w}"> is not able to match the URL "${j}${R}${M}" because it does not start with the basename, so the <Router> won't render anything.`),b==null)return null;return w5.createElement(W1.Provider,{value:C},w5.createElement(m7.Provider,{children:H,value:b}))}function SB({children:B,location:H}){return fN(AY(B),H)}function AY(B,H=[]){let W=[];return w5.Children.forEach(B,(_,L)=>{if(!w5.isValidElement(_))return;let K=[...H,L];if(_.type===w5.Fragment){W.push.apply(W,AY(_.props.children,K));return}L5(_.type===CG,`[${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 F={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)F.children=AY(_.props.children,K);W.push(F)}),W}var zY="get",WY="application/x-www-form-urlencoded";function LY(B){return typeof HTMLElement<"u"&&B instanceof HTMLElement}function IR(B){return LY(B)&&B.tagName.toLowerCase()==="button"}function PR(B){return LY(B)&&B.tagName.toLowerCase()==="form"}function VR(B){return LY(B)&&B.tagName.toLowerCase()==="input"}function OR(B){return!!(B.metaKey||B.altKey||B.ctrlKey||B.shiftKey)}function qR(B,H){return B.button===0&&(!H||H==="_self")&&!OR(B)}var UY=null;function DR(){if(UY===null)try{new FormData(document.createElement("form"),0),UY=!1}catch(B){UY=!0}return UY}var ER=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function MB(B){if(B!=null&&!ER.has(B))return X2(!1,`"${B}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${WY}"`),null;return B}function CR(B,H){let W,_,L,K,F;if(PR(B)){let w=B.getAttribute("action");_=w?r2(w,H):null,W=B.getAttribute("method")||zY,L=MB(B.getAttribute("enctype"))||WY,K=new FormData(B)}else if(IR(B)||VR(B)&&(B.type==="submit"||B.type==="image")){let w=B.form;if(w==null)throw Error('Cannot submit a <button> or <input type="submit"> without a <form>');let C=B.getAttribute("formaction")||w.getAttribute("action");if(_=C?r2(C,H):null,W=B.getAttribute("formmethod")||w.getAttribute("method")||zY,L=MB(B.getAttribute("formenctype"))||MB(w.getAttribute("enctype"))||WY,K=new FormData(w,B),!DR()){let{name:j,type:R,value:M}=B;if(R==="image"){let E=j?`${j}.`:"";K.append(`${E}x`,"0"),K.append(`${E}y`,"0")}else if(j)K.append(j,M)}}else if(LY(B))throw Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');else W=zY,_=null,L=WY,F=B;if(K&&L==="text/plain")F=K,K=void 0;return{action:_,method:W.toLowerCase(),encType:L,formData:K,body:F}}var pO=Object.getOwnPropertyNames(Object.prototype).sort().join("\x00");var jR={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},xR=/[&><\u2028\u2029]/g;function MN(B){return B.replace(xR,(H)=>jR[H])}function vB(B,H){if(B===!1||B===null||typeof B>"u")throw Error(H)}var SR=Symbol("SingleFetchRedirect");function lN(B,H,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(H&&r2(L.pathname,H)==="/")L.pathname=`${_Y(H)}/_root.${_}`;else L.pathname=`${_Y(L.pathname)}.${_}`;return L}async function kR(B,H){if(B.id in H)return H[B.id];try{let W=await import(B.module);return H[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 vR(B){return B!=null&&typeof B.page==="string"}function gR(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 bR(B,H,W){let _=await Promise.all(B.map(async(L)=>{let K=H.routes[L.route.id];if(K){let F=await kR(K,W);return F.links?F.links():[]}return[]}));return yR(_.flat(1).filter(gR).filter((L)=>L.rel==="stylesheet"||L.rel==="preload").map((L)=>L.rel==="stylesheet"?{...L,rel:"prefetch",as:"style"}:{...L,rel:"prefetch"}))}function FN(B,H,W,_,L,K){let F=(C,j)=>{if(!W[j])return!0;return C.route.id!==W[j].route.id},w=(C,j)=>{return W[j].pathname!==C.pathname||W[j].route.path?.endsWith("*")&&W[j].params["*"]!==C.params["*"]};if(K==="assets")return H.filter((C,j)=>F(C,j)||w(C,j));if(K==="data")return H.filter((C,j)=>{let R=_.routes[C.route.id];if(!R||!R.hasLoader)return!1;if(F(C,j)||w(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 mR(B,H,{includeHydrateFallback:W}={}){return fR(B.map((_)=>{let L=H.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 fR(B){return[...new Set(B)]}function hR(B){let H={},W=Object.keys(B).sort();for(let _ of W)H[_]=B[_];return H}function yR(B,H){let W=new Set,_=new Set(H);return B.reduce((L,K)=>{if(H&&!vR(K)&&K.as==="script"&&K.href&&_.has(K.href))return L;let w=JSON.stringify(hR(K));if(!W.has(w))W.add(w),L.push({key:w,link:K});return L},[])}function gB(){let B=f0.useContext(F8);return vB(B,"You must render this element inside a <DataRouterContext.Provider> element"),B}function lR(){let B=f0.useContext(b7);return vB(B,"You must render this element inside a <DataRouterStateContext.Provider> element"),B}var jG=f0.createContext(void 0);jG.displayName="FrameworkContext";function bB(){let B=f0.useContext(jG);return vB(B,"You must render this element inside a <HydratedRouter> element"),B}function cR(B,H){let W=f0.useContext(jG),[_,L]=f0.useState(!1),[K,F]=f0.useState(!1),{onFocus:w,onBlur:C,onMouseEnter:j,onMouseLeave:R,onTouchStart:M}=H,E=f0.useRef(null);f0.useEffect(()=>{if(B==="render")F(!0);if(B==="viewport"){let S=new IntersectionObserver((s)=>{s.forEach((o)=>{F(o.isIntersecting)})},{threshold:0.5});if(E.current)S.observe(E.current);return()=>{S.disconnect()}}},[B]),f0.useEffect(()=>{if(_){let b=setTimeout(()=>{F(!0)},100);return()=>{clearTimeout(b)}}},[_]);let f=()=>{L(!0)},h=()=>{L(!1),F(!1)};if(!W)return[!1,E,{}];if(B!=="intent")return[K,E,{}];return[K,E,{onFocus:DG(w,f),onBlur:DG(C,h),onMouseEnter:DG(j,f),onMouseLeave:DG(R,h),onTouchStart:DG(M,f)}]}function DG(B,H){return(W)=>{if(B&&B(W),!W.defaultPrevented)H(W)}}function sN({page:B,...H}){let W=ZR(),{router:_}=gB(),L=f0.useMemo(()=>PB(_.routes,B,_.basename),[_.routes,B,_.basename]);if(!L)return null;if(W)return f0.createElement(iR,{page:B,matches:L,...H});return f0.createElement(aR,{page:B,matches:L,...H})}function sR(B){let{manifest:H,routeModules:W}=bB(),[_,L]=f0.useState([]);return f0.useEffect(()=>{let K=!1;return bR(B,H,W).then((F)=>{if(!K)L(F)}),()=>{K=!0}},[B,H,W]),_}function iR({page:B,matches:H,...W}){let _=Y2(),{future:L}=bB(),{basename:K}=gB(),F=f0.useMemo(()=>{if(B===_.pathname+_.search+_.hash)return[];let w=lN(B,K,L.unstable_trailingSlashAwareDataRequests,"rsc"),C=!1,j=[];for(let R of H)if(typeof R.route.shouldRevalidate==="function")C=!0;else j.push(R.route.id);if(C&&j.length>0)w.searchParams.set("_routes",j.join(","));return[w.pathname+w.search]},[K,L.unstable_trailingSlashAwareDataRequests,B,_,H]);return f0.createElement(f0.Fragment,null,F.map((w)=>f0.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...W})))}function aR({page:B,matches:H,...W}){let _=Y2(),{future:L,manifest:K,routeModules:F}=bB(),{basename:w}=gB(),{loaderData:C,matches:j}=lR(),R=f0.useMemo(()=>FN(B,H,j,K,_,"data"),[B,H,j,K,_]),M=f0.useMemo(()=>FN(B,H,j,K,_,"assets"),[B,H,j,K,_]),E=f0.useMemo(()=>{if(B===_.pathname+_.search+_.hash)return[];let b=new Set,S=!1;if(H.forEach((o)=>{let t=K.routes[o.route.id];if(!t||!t.hasLoader)return;if(!R.some((v0)=>v0.route.id===o.route.id)&&o.route.id in C&&F[o.route.id]?.shouldRevalidate)S=!0;else if(t.hasClientLoader)S=!0;else b.add(o.route.id)}),b.size===0)return[];let s=lN(B,w,L.unstable_trailingSlashAwareDataRequests,"data");if(S&&b.size>0)s.searchParams.set("_routes",H.filter((o)=>b.has(o.route.id)).map((o)=>o.route.id).join(","));return[s.pathname+s.search]},[w,L.unstable_trailingSlashAwareDataRequests,C,_,K,R,H,B,F]),f=f0.useMemo(()=>mR(M,K),[M,K]),h=sR(M);return f0.createElement(f0.Fragment,null,E.map((b)=>f0.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...W})),f.map((b)=>f0.createElement("link",{key:b,rel:"modulepreload",href:b,...W})),h.map(({key:b,link:S})=>f0.createElement("link",{key:b,nonce:W.nonce,...S,crossOrigin:S.crossOrigin??W.crossOrigin})))}function nR(...B){return(H)=>{B.forEach((W)=>{if(typeof W==="function")W(H);else if(W!=null)W.current=H})}}var oR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{if(oR)window.__reactRouterVersion="7.14.1"}catch(B){}function mB({basename:B,children:H,unstable_useTransitions:W,window:_}){let L=U0.useRef();if(L.current==null)L.current=RN({window:_,v5Compat:!0});let K=L.current,[F,w]=U0.useState({action:K.action,location:K.location}),C=U0.useCallback((j)=>{if(W===!1)w(j);else U0.startTransition(()=>w(j))},[W]);return U0.useLayoutEffect(()=>K.listen(C),[K,C]),U0.createElement(xB,{basename:B,children:H,location:F.location,navigationType:F.action,navigator:K,unstable_useTransitions:W})}function iN({basename:B,children:H,history:W,unstable_useTransitions:_}){let[L,K]=U0.useState({action:W.action,location:W.location}),F=U0.useCallback((w)=>{if(_===!1)K(w);else U0.startTransition(()=>K(w))},[_]);return U0.useLayoutEffect(()=>W.listen(F),[W,F]),U0.createElement(xB,{basename:B,children:H,location:L.location,navigationType:L.action,navigator:W,unstable_useTransitions:_})}iN.displayName="unstable_HistoryRouter";var aN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xG=U0.forwardRef(function({onClick:H,discover:W="render",prefetch:_="none",relative:L,reloadDocument:K,replace:F,unstable_mask:w,state:C,target:j,to:R,preventScrollReset:M,viewTransition:E,unstable_defaultShouldRevalidate:f,...h},b){let{basename:S,navigator:s,unstable_useTransitions:o}=U0.useContext(W1),t=typeof R==="string"&&aN.test(R),v0=CN(R,S);R=v0.to;let T0=vN(R,{relative:L}),e0=Y2(),Y0=null;if(w){let u=VB(w,[],e0.unstable_mask?e0.unstable_mask.pathname:"/",!0);if(S!=="/")u.pathname=u.pathname==="/"?S:M2([S,u.pathname]);Y0=s.createHref(u)}let[e,$5,p]=cR(_,h),o0=eN(R,{replace:F,unstable_mask:w,state:C,target:j,preventScrollReset:M,relative:L,viewTransition:E,unstable_defaultShouldRevalidate:f,unstable_useTransitions:o});function I0(u){if(H)H(u);if(!u.defaultPrevented)o0(u)}let K0=!(v0.isExternal||K),N5=U0.createElement("a",{...h,...p,href:(K0?Y0:void 0)||v0.absoluteURL||T0,onClick:K0?I0:H,ref:nR(b,$5),target:j,"data-discover":!t&&W==="render"?"true":void 0});return e&&!t?U0.createElement(U0.Fragment,null,N5,U0.createElement(sN,{page:T0})):N5});xG.displayName="Link";var nN=U0.forwardRef(function({"aria-current":H="page",caseSensitive:W=!1,className:_="",end:L=!1,style:K,to:F,viewTransition:w,children:C,...j},R){let M=h7(F,{relative:j.relative}),E=Y2(),f=U0.useContext(b7),{navigator:h,basename:b}=U0.useContext(W1),S=f!=null&&YQ(M)&&w===!0,s=h.encodeLocation?h.encodeLocation(M).pathname:M.pathname,o=E.pathname,t=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;if(!W)o=o.toLowerCase(),t=t?t.toLowerCase():null,s=s.toLowerCase();if(t&&b)t=r2(t,b)||t;let v0=s!=="/"&&s.endsWith("/")?s.length-1:s.length,T0=o===s||!L&&o.startsWith(s)&&o.charAt(v0)==="/",e0=t!=null&&(t===s||!L&&t.startsWith(s)&&t.charAt(s.length)==="/"),Y0={isActive:T0,isPending:e0,isTransitioning:S},e=T0?H:void 0,$5;if(typeof _==="function")$5=_(Y0);else $5=[_,T0?"active":null,e0?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let p=typeof K==="function"?K(Y0):K;return U0.createElement(xG,{...j,"aria-current":e,className:$5,ref:R,style:p,to:F,viewTransition:w},typeof C==="function"?C(Y0):C)});nN.displayName="NavLink";var oN=U0.forwardRef(({discover:B="render",fetcherKey:H,navigate:W,reloadDocument:_,replace:L,state:K,method:F=zY,action:w,onSubmit:C,relative:j,preventScrollReset:R,viewTransition:M,unstable_defaultShouldRevalidate:E,...f},h)=>{let{unstable_useTransitions:b}=U0.useContext(W1),S=$Q(),s=GQ(w,{relative:j}),o=F.toLowerCase()==="get"?"get":"post",t=typeof w==="string"&&aN.test(w);return U0.createElement("form",{ref:h,method:o,action:s,onSubmit:_?C:(T0)=>{if(C&&C(T0),T0.defaultPrevented)return;T0.preventDefault();let e0=T0.nativeEvent.submitter,Y0=e0?.getAttribute("formmethod")||F,e=()=>S(e0||T0.currentTarget,{fetcherKey:H,method:Y0,navigate:W,replace:L,state:K,relative:j,preventScrollReset:R,viewTransition:M,unstable_defaultShouldRevalidate:E});if(b&&W!==!1)U0.startTransition(()=>e());else e()},...f,"data-discover":!t&&B==="render"?"true":void 0})});oN.displayName="Form";function rN({getKey:B,storageKey:H,...W}){let _=U0.useContext(jG),{basename:L}=U0.useContext(W1),K=Y2(),F=jB();XQ({getKey:B,storageKey:H});let w=U0.useMemo(()=>{if(!_||!B)return null;let j=IB(K,F,L,B);return j!==K.key?j:null},[]);if(!_||_.isSpaMode)return null;let C=((j,R)=>{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)||"{}")[R||window.history.state.key];if(typeof E==="number")window.scrollTo(0,E)}catch(M){console.error(M),sessionStorage.removeItem(j)}}).toString();return U0.createElement("script",{...W,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${C})(${MN(JSON.stringify(H||TB))}, ${MN(JSON.stringify(w))})`}})}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 H=U0.useContext(F8);return L5(H,tN(B)),H}function rR(B){let H=U0.useContext(b7);return L5(H,tN(B)),H}function eN(B,{target:H,replace:W,unstable_mask:_,state:L,preventScrollReset:K,relative:F,viewTransition:w,unstable_defaultShouldRevalidate:C,unstable_useTransitions:j}={}){let R=mN(),M=Y2(),E=h7(B,{relative:F});return U0.useCallback((f)=>{if(qR(f,H)){f.preventDefault();let h=W!==void 0?W:g7(M)===g7(E),b=()=>R(B,{replace:h,unstable_mask:_,state:L,preventScrollReset:K,relative:F,viewTransition:w,unstable_defaultShouldRevalidate:C});if(j)U0.startTransition(()=>b());else b()}},[M,R,E,W,_,L,H,B,K,F,w,C,j])}var tR=0,eR=()=>`__${String(++tR)}__`;function $Q(){let{router:B}=fB("useSubmit"),{basename:H}=U0.useContext(W1),W=MR(),_=B.fetch,L=B.navigate;return U0.useCallback(async(K,F={})=>{let{action:w,method:C,encType:j,formData:R,body:M}=CR(K,H);if(F.navigate===!1){let E=F.fetcherKey||eR();await _(E,W,F.action||w,{unstable_defaultShouldRevalidate:F.unstable_defaultShouldRevalidate,preventScrollReset:F.preventScrollReset,formData:R,body:M,formMethod:F.method||C,formEncType:F.encType||j,flushSync:F.flushSync})}else await L(F.action||w,{unstable_defaultShouldRevalidate:F.unstable_defaultShouldRevalidate,preventScrollReset:F.preventScrollReset,formData:R,body:M,formMethod:F.method||C,formEncType:F.encType||j,replace:F.replace,state:F.state,fromRouteId:W,flushSync:F.flushSync,viewTransition:F.viewTransition})},[_,L,H,W])}function GQ(B,{relative:H}={}){let{basename:W}=U0.useContext(W1),_=U0.useContext(t2);L5(_,"useFormAction must be used inside a RouteContext");let[L]=_.matches.slice(-1),K={...h7(B?B:".",{relative:H})},F=Y2();if(B==null){K.search=F.search;let w=new URLSearchParams(K.search),C=w.getAll("index");if(C.some((R)=>R==="")){w.delete("index"),C.filter((M)=>M).forEach((M)=>w.append("index",M));let R=w.toString();K.search=R?`?${R}`:""}}if((!B||B===".")&&L.route.index)K.search=K.search?K.search.replace(/^\?/,"?index&"):"?index";if(W!=="/")K.pathname=K.pathname==="/"?W:M2([W,K.pathname]);return g7(K)}var TB="react-router-scroll-positions",HY={};function IB(B,H,W,_){let L=null;if(_)if(W!=="/")L=_({...B,pathname:r2(B.pathname,W)||B.pathname},H);else L=_(B,H);if(L==null)L=B.key;return L}function XQ({getKey:B,storageKey:H}={}){let{router:W}=fB("useScrollRestoration"),{restoreScrollPosition:_,preventScrollReset:L}=rR("useScrollRestoration"),{basename:K}=U0.useContext(W1),F=Y2(),w=jB(),C=dN();if(U0.useEffect(()=>{return window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}},[]),$T(U0.useCallback(()=>{if(C.state==="idle"){let j=IB(F,w,K,B);HY[j]=window.scrollY}try{sessionStorage.setItem(H||TB,JSON.stringify(HY))}catch(j){X2(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${j}).`)}window.history.scrollRestoration="auto"},[C.state,B,K,F,w,H])),typeof document<"u")U0.useLayoutEffect(()=>{try{let j=sessionStorage.getItem(H||TB);if(j)HY=JSON.parse(j)}catch(j){}},[H]),U0.useLayoutEffect(()=>{let j=W?.enableScrollRestoration(HY,()=>window.scrollY,B?(R,M)=>IB(R,M,K,B):void 0);return()=>j&&j()},[W,K,B]),U0.useLayoutEffect(()=>{if(_===!1)return;if(typeof _==="number"){window.scrollTo(0,_);return}try{if(F.hash){let j=document.getElementById(decodeURIComponent(F.hash.slice(1)));if(j){j.scrollIntoView();return}}}catch{X2(!1,`"${F.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}if(L===!0)return;window.scrollTo(0,0)},[F,_,L])}function $T(B,H){let{capture:W}=H||{};U0.useEffect(()=>{let _=W!=null?{capture:W}:void 0;return window.addEventListener("pagehide",B,_),()=>{window.removeEventListener("pagehide",B,_)}},[B,W])}function YQ(B,{relative:H}={}){let W=U0.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=h7(B,{relative:H});if(!W.isTransitioning)return!1;let K=r2(W.currentLocation.pathname,_)||W.currentLocation.pathname,F=r2(W.nextLocation.pathname,_)||W.nextLocation.pathname;return EG(L.pathname,F)!=null||EG(L.pathname,K)!=null}var wY=$0(Z5(),1);var KY=$0(Z5(),1);var NY=$0(Z5(),1),hB=NY.createContext(!1),e2=()=>NY.useContext(hB);var y7=$0(Z5(),1);function Z2(){let[B,H]=y7.useState({w:0,h:0}),W=y7.useRef(null),_=y7.useCallback((L)=>{if(W.current?.disconnect(),!L)return;W.current=new ResizeObserver(([K])=>{let{width:F,height:w}=K.contentRect;H({w:Math.round(F),h:Math.round(w)})}),W.current.observe(L)},[]);return{...B,ref:_}}var QY=$0(i0(),1),JQ=()=>{let B=e2(),{w:H,h:W,ref:_}=Z2(),[L,K]=KY.useState(new Date);KY.useEffect(()=>{if(!B){let e0=setInterval(()=>K(new Date),1000);return()=>clearInterval(e0)}let o,t=new Date,v0=(60-t.getSeconds())*1000-t.getMilliseconds(),T0=setTimeout(()=>{K(new Date),o=setInterval(()=>K(new Date),60000)},v0);return()=>{clearTimeout(T0),clearInterval(o)}},[B]);let F=W||80,w=H||400,C=!B&&F>100,j=F>55||w>280,R=F>130,M=L.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",...C?{second:"2-digit"}:{},hour12:!1}),E=L.toLocaleDateString("en-GB",{weekday:R?"long":"short",day:"numeric",month:R?"long":"short",...F>200?{year:"numeric"}:{}}),f=M.length,h=w*0.9/(f*0.6),b=j?F*0.5:F*0.72,S=Math.max(16,Math.min(h,b,220)),s=Math.max(12,Math.min(S*0.22,32));return QY.jsxDEV("div",{ref:_,className:"w-full h-full flex flex-col justify-center overflow-hidden",children:[QY.jsxDEV("div",{className:"tabular-nums leading-none",style:{fontSize:S,fontWeight:B?300:700,letterSpacing:"-0.02em"},children:M},void 0,!1,void 0,this),j&&QY.jsxDEV("div",{className:"text-gray-400",style:{fontSize:s,marginTop:`${S*0.08}px`},children:E},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var UQ=$0(i0(),1),BQ=({designation:B,size:H=36})=>UQ.jsxDEV("span",{className:"border border-white text-white font-bold text-center tabular-nums shrink-0 inline-flex items-center justify-center",style:{height:H,minWidth:H*1.6,fontSize:Math.max(10,H*0.44),padding:`0 ${H*0.18}px`},children:B},void 0,!1,void 0,this);var d7=$0(i0(),1),HQ=({departure:B,rowHeight:H=48})=>{let W=e2(),_=new Date(B.scheduled),L=Math.round((_.getTime()-Date.now())/60000),K=L<=0?"Now":`${L} min`;return d7.jsxDEV("div",{className:"flex justify-between items-center border-b border-zinc-700 shrink-0",style:{height:H,fontSize:Math.max(11,H*0.4)},children:[d7.jsxDEV("div",{className:"flex items-center gap-3 min-w-0 overflow-hidden",children:[d7.jsxDEV(BQ,{designation:B.line.designation,mode:B.line.transport_mode,groupOfLines:B.line.group_of_lines,size:H*0.65},void 0,!1,void 0,this),d7.jsxDEV("span",{className:"truncate",children:B.destination},void 0,!1,void 0,this)]},void 0,!0,void 0,this),d7.jsxDEV("span",{className:`shrink-0 ml-3 ${W?"":"font-bold"}`,children:K},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var T8=$0(i0(),1),zQ=({departures:B,loading:H,stationName:W})=>{let{h:_,w:L,ref:K}=Z2(),F=_||200,w=W?Math.max(24,Math.min(F*0.17,44)):0,C=Math.max(11,w*0.55),j=F-w-(w?6:0),R=j>500?68:j>360?54:j>240?42:j>150?34:27,M=Math.max(1,Math.floor(j/R)),E=B.slice(0,M);if(H&&B.length===0)return T8.jsxDEV("div",{ref:K,className:"w-full h-full flex items-center",children:T8.jsxDEV("span",{className:"text-gray-500 text-sm",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return T8.jsxDEV("div",{ref:K,className:"w-full h-full flex flex-col overflow-hidden",children:[W&&T8.jsxDEV("div",{className:"text-gray-200 uppercase tracking-wider font-bold shrink-0 flex items-center border-b border-zinc-600",style:{height:w,fontSize:C},children:W},void 0,!1,void 0,this),E.length===0?T8.jsxDEV("span",{className:"text-gray-500 mt-2 text-sm",children:"No departures"},void 0,!1,void 0,this):E.map((f,h)=>T8.jsxDEV(HQ,{departure:f,rowHeight:R},`${f.line.designation}-${f.scheduled}-${h}`,!1,void 0,this))]},void 0,!0,void 0,this)};var _Q=$0(i0(),1),WQ=({name:B,size:H=36})=>_Q.jsxDEV("span",{className:"border border-white text-white font-bold text-center tabular-nums shrink-0 inline-flex items-center justify-center",style:{height:H,minWidth:H*1.6,fontSize:Math.max(10,H*0.44),padding:`0 ${H*0.18}px`},children:B},void 0,!1,void 0,this);var D4=$0(i0(),1),AQ=({departure:B,rowHeight:H=48,showPlatform:W=!1})=>{let _=e2(),L=B.stop.departure?new Date(B.stop.departure):null,K=L?Math.round((L.getTime()-Date.now())/60000):null,F=K===null?"—":K<=0?"Now":`${K} min`,w=B.stop.delay,C=Math.max(11,H*0.4);return D4.jsxDEV("div",{className:"flex justify-between items-center border-b border-zinc-700 shrink-0",style:{height:H,fontSize:C},children:[D4.jsxDEV("div",{className:"flex items-center gap-3 min-w-0 overflow-hidden",children:[D4.jsxDEV(WQ,{name:`${B.category} ${B.number}`,category:B.category,size:H*0.65},void 0,!1,void 0,this),D4.jsxDEV("span",{className:"truncate",children:B.to},void 0,!1,void 0,this)]},void 0,!0,void 0,this),D4.jsxDEV("div",{className:`flex items-center gap-2 shrink-0 ml-3 ${_?"":"font-bold"}`,children:[W&&B.stop.platform&&D4.jsxDEV("span",{className:"text-gray-400 font-normal",style:{fontSize:C*0.75},children:["Pl.",B.stop.platform]},void 0,!0,void 0,this),w!=null&&w>0&&D4.jsxDEV("span",{className:"text-orange-400 font-normal",style:{fontSize:C*0.75},children:["+",w,"'"]},void 0,!0,void 0,this),D4.jsxDEV("span",{children:F},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var I8=$0(i0(),1),LQ=({departures:B,loading:H,stationName:W})=>{let{h:_,w:L,ref:K}=Z2(),F=_||200,w=W?Math.max(24,Math.min(F*0.17,44)):0,C=Math.max(11,w*0.55),j=F-w-(w?6:0),R=j>500?68:j>360?54:j>240?42:j>150?34:27,M=Math.max(1,Math.floor(j/R)),E=R>=54&&(L||0)>300,f=B.slice(0,M);if(H&&B.length===0)return I8.jsxDEV("div",{ref:K,className:"w-full h-full flex items-center",children:I8.jsxDEV("span",{className:"text-gray-500 text-sm",children:"Loading…"},void 0,!1,void 0,this)},void 0,!1,void 0,this);return I8.jsxDEV("div",{ref:K,className:"w-full h-full flex flex-col overflow-hidden",children:[W&&I8.jsxDEV("div",{className:"text-gray-200 uppercase tracking-wider font-bold shrink-0 flex items-center border-b border-zinc-600",style:{height:w,fontSize:C},children:W},void 0,!1,void 0,this),f.length===0?I8.jsxDEV("span",{className:"text-gray-500 mt-2 text-sm",children:"No departures"},void 0,!1,void 0,this):f.map((h,b)=>I8.jsxDEV(AQ,{departure:h,rowHeight:R,showPlatform:E},`${h.name}-${h.stop.departure}-${b}`,!1,void 0,this))]},void 0,!0,void 0,this)};var _1=$0(i0(),1);function NQ(B){let H=Math.floor(B/1000);return`${Math.floor(H/60)}:${String(H%60).padStart(2,"0")}`}var QQ=()=>{let B=e2(),{w:H,h:W,ref:_}=Z2(),{data:L}=$1({queryKey:["spotify-now-playing"],queryFn:()=>fetch("/api/spotify/now-playing").then((s)=>s.json()),refetchInterval:B?30000:1000}),K=W||100,F=H||300,w=K>80,C=K>65||F>240,j=K>120&&F>260,R=!B&&K>95&&F>200,M=R&&F>280,E=Math.min(K*0.28,F*0.1,40),f=Math.max(11,E*0.7),h=Math.max(10,E*0.55),b=Math.max(9,E*0.45),S=Math.max(2,K*0.018);return _1.jsxDEV("div",{ref:_,className:"w-full h-full flex flex-col justify-center overflow-hidden",children:[w&&_1.jsxDEV("div",{className:"text-gray-400 uppercase tracking-wider",style:{fontSize:b,marginBottom:"0.3em"},children:"Now Playing"},void 0,!1,void 0,this),L?.playing&&L.track?_1.jsxDEV(_1.Fragment,{children:[_1.jsxDEV("div",{className:"leading-tight truncate",style:{fontSize:E,fontWeight:B?400:700},children:L.track.name},void 0,!1,void 0,this),C&&_1.jsxDEV("div",{className:"text-gray-300 truncate",style:{fontSize:f,marginTop:"0.15em"},children:L.track.artist},void 0,!1,void 0,this),j&&_1.jsxDEV("div",{className:"text-gray-500 truncate",style:{fontSize:h,marginTop:"0.1em"},children:L.track.album},void 0,!1,void 0,this),R&&_1.jsxDEV("div",{className:"flex items-center gap-2",style:{marginTop:"0.4em"},children:[M&&_1.jsxDEV("span",{className:"text-gray-500 font-mono shrink-0",style:{fontSize:h},children:NQ(L.track.progressMs)},void 0,!1,void 0,this),_1.jsxDEV("div",{className:"flex-1 bg-zinc-800 relative",style:{height:S},children:_1.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),M&&_1.jsxDEV("span",{className:"text-gray-500 font-mono shrink-0 text-right",style:{fontSize:h},children:NQ(L.track.durationMs)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this):_1.jsxDEV("div",{className:"text-gray-500",style:{fontSize:f},children:"Nothing playing"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var i5=$0(i0(),1),KQ={sunny:[" \\ / "," .-. "," ― ( ) ―"," `-' "," / \\ "],partlycloudy:[" \\ / ",' _ /"".--. '," \\_( { ) "," `-'--' "," "],cloudy:[" "," .--. "," .-( ). ","(___.__)__) "," "],overcast:[" "," .------. ",".-( ).","(__________.) "," "],rain:[" .--. "," .-( ). ","(___.__)__) "," ʻ ʻ ʻ ʻ "," ʻ ʻ ʻ ʻ "],drizzle:[" .--. "," .-( ). ","(___.__)__) "," , , , , "," "],snow:[" .--. "," .-( ). ","(___.__)__) "," * * * ","* * * * "],thunder:[" .--. "," .-( ). ","(___.__)__) "," / \\ "," / \\ "],fog:[" "," _ - _ - _ -"," _ - _ - _ "," _ - _ - _ -"," "],sleet:[" .--. "," .-( ). ","(___.__)__) "," * ʻ * ʻ "," ʻ * ʻ * "]},XT={"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 YT(B){let H=B.toLowerCase();if(H.includes("thunder"))return"thunder";if(H.includes("snow"))return"snow";if(H.includes("sleet"))return"sleet";if(H.includes("drizzle"))return"drizzle";if(H.includes("rain"))return"rain";if(H.includes("fog")||H.includes("mist"))return"fog";if(H.includes("overcast"))return"overcast";if(H.includes("mostly cloudy")||H.includes("very"))return"cloudy";if(H.includes("partly")||H.includes("mostly sunny"))return"partlycloudy";if(H.includes("cloudy"))return"cloudy";if(H.includes("sunny")||H.includes("clear"))return"sunny";return"cloudy"}var wQ=()=>{let{w:B,h:H,ref:W}=Z2(),{data:_,isError:L}=$1({queryKey:["weather"],queryFn:()=>fetch("/api/weather").then((s)=>s.json()),refetchInterval:600000}),K=H||100,F=B||350;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 w=K>200&&F>380,C=K>140&&F>260,j=K>95||F>460,R=Math.min(K*(w?0.34:0.42),84),M=Math.max(12,R*0.36),E=Math.max(10,R*0.27),f=Math.max(9,K/8),h=F>500?6:F>380?4:3,b=KQ[YT(_.description)]??KQ.cloudy,S=XT[_.moonPhase]??_.moonPhase;return i5.jsxDEV("div",{ref:W,className:"w-full h-full flex items-center gap-5 overflow-hidden",children:[w&&i5.jsxDEV("pre",{className:"text-gray-300 shrink-0 select-none font-mono leading-tight",style:{fontSize:f},children:b.join(`
|
||
`)},void 0,!1,void 0,this),i5.jsxDEV("div",{className:"flex flex-col gap-1 min-w-0 overflow-hidden",children:[i5.jsxDEV("div",{className:"flex items-baseline gap-3 flex-wrap",children:[i5.jsxDEV("span",{style:{fontSize:R,fontWeight:700,lineHeight:1},children:[_.temperature,"°C"]},void 0,!0,void 0,this),i5.jsxDEV("span",{style:{fontSize:M},className:"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-3 text-gray-400 font-mono",style:{fontSize:E},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:[S," ",_.moonPhase]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),C&&_.hourly.length>0&&i5.jsxDEV("div",{className:"flex gap-4 mt-1",children:_.hourly.slice(0,h).map((s,o)=>i5.jsxDEV("div",{className:"text-center shrink-0",children:[i5.jsxDEV("div",{style:{fontSize:E*0.85},className:"text-gray-500",children:s.time},void 0,!1,void 0,this),i5.jsxDEV("div",{style:{fontSize:E},className:"font-bold",children:[s.temp,"°"]},void 0,!0,void 0,this)]},o,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)};var I1=$0(i0(),1),yB=({label:B,percent:H,detail:W,rowH:_,barH:L,fontSize:K})=>I1.jsxDEV("div",{className:"flex items-center gap-2 font-mono shrink-0",style:{height:_,fontSize:K},children:[I1.jsxDEV("span",{className:"text-gray-400 shrink-0",style:{width:"3.2em"},children:B},void 0,!1,void 0,this),I1.jsxDEV("div",{className:"flex-1 min-w-0 bg-zinc-800 relative",style:{height:L},children:I1.jsxDEV("div",{className:"absolute inset-y-0 left-0 bg-white",style:{width:`${H}%`}},void 0,!1,void 0,this)},void 0,!1,void 0,this),I1.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=e2(),{w:H,h:W,ref:_}=Z2(),{data:L}=$1({queryKey:["system"],queryFn:()=>fetch("/api/system").then((o)=>o.json()),refetchInterval:B?60000:2000});if(!L)return I1.jsxDEV("div",{ref:_,className:"w-full h-full"},void 0,!1,void 0,this);let K=W||120,F=H||300,w=K>55,C=K>95,j=w&&(K>120||F>450),R=K>150&&F>380,M=2+(C?1:0),E=w?Math.min(K*0.22,32):0,f=K-E-(M-1)*5,h=Math.max(14,Math.min(f/M,52)),b=Math.max(10,h*0.52),S=Math.max(2,h*0.22),s=Math.max(12,Math.min(K*0.14,28));return I1.jsxDEV("div",{ref:_,className:"w-full h-full flex flex-col justify-center overflow-hidden",style:{gap:5},children:[w&&I1.jsxDEV("div",{className:"flex justify-between items-baseline shrink-0",style:{height:E},children:[I1.jsxDEV("span",{className:"font-bold truncate",style:{fontSize:s},children:L.hostname},void 0,!1,void 0,this),j&&I1.jsxDEV("span",{className:"text-gray-500 font-mono shrink-0 ml-2",style:{fontSize:s*0.65},children:["up ",L.uptime]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),I1.jsxDEV(yB,{label:"CPU",percent:L.cpu.percent,detail:R?L.cpu.load.join(" "):`${L.cpu.percent}%`,rowH:h,barH:S,fontSize:b},void 0,!1,void 0,this),I1.jsxDEV(yB,{label:"MEM",percent:L.memory.percent,detail:`${L.memory.usedGb}/${L.memory.totalGb}G`,rowH:h,barH:S,fontSize:b},void 0,!1,void 0,this),C&&I1.jsxDEV(yB,{label:"DISK",percent:L.disk.percent,detail:`${L.disk.usedGb}/${L.disk.totalGb}G`,rowH:h,barH:S,fontSize:b},void 0,!1,void 0,this)]},void 0,!0,void 0,this)};var a5=$0(i0(),1),dB=(B)=>fetch(B).then((H)=>H.json()),ZT=["footer-1","footer-2","footer-3"],JT=["sl","sbb"],FQ=()=>{let{data:B}=$1({queryKey:["config"],queryFn:()=>dB("/api/config")}),H=!!B?.alwaysOn,W=B?.layout??{},_=(Y0)=>Object.values(W).includes(Y0),[,L]=wY.useReducer((Y0)=>Y0+1,0);wY.useEffect(()=>{if(!H)return;let Y0,e=new Date,$5=(60-e.getSeconds())*1000-e.getMilliseconds(),p=setTimeout(()=>{L(),Y0=setInterval(L,60000)},$5);return()=>{clearTimeout(p),clearInterval(Y0)}},[H]);let{data:K,isLoading:F}=$1({queryKey:["sl-departures",B?.sl?.stationId],queryFn:()=>dB(`/api/sl/departures/${B.sl.stationId}`),enabled:_("sl")&&!!B?.sl?.stationId,refetchInterval:H?60000:B?.refreshRate??30000}),{data:w,isLoading:C}=$1({queryKey:["sbb-departures",B?.sbb?.stationId],queryFn:()=>dB(`/api/sbb/departures/${B.sbb.stationId}`),enabled:_("sbb")&&!!B?.sbb?.stationId,refetchInterval:H?60000:B?.refreshRate??30000}),j=K?.departures[0]?.stop_area?.name||B?.sl?.stationName||"SL",R=B?.sbb?.stationName||"SBB",M=(Y0)=>{if(!Y0||Y0==="spacer")return null;switch(Y0){case"clock":return a5.jsxDEV(JQ,{},void 0,!1,void 0,this);case"weather":return a5.jsxDEV(wQ,{},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:F,stationName:j},void 0,!1,void 0,this);case"sbb":return a5.jsxDEV(LQ,{departures:w?.stationboard??[],loading:C,stationName:R},void 0,!1,void 0,this)}},E=W["header-left"],f=W["header-right"],h=W["main-1"],b=W["main-2"],S=ZT.map((Y0)=>W[Y0]).filter((Y0)=>Y0!=null),s=!!(E||f),o=!!(h&&h!=="spacer")||!!(b&&b!=="spacer"),t=S.some((Y0)=>Y0!=="spacer"),v0=S.some((Y0)=>JT.includes(Y0)),T0="h-full min-h-0 min-w-0 overflow-hidden",e0=!o?{flex:"1 1 0",minHeight:0}:v0?{flex:"0 0 40%",minHeight:0}:{flex:"0 0 20%",minHeight:"120px"};return a5.jsxDEV(hB.Provider,{value:H,children:a5.jsxDEV("div",{className:"flex flex-col h-screen w-screen p-6 gap-4 overflow-hidden",children:[s&&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 ${T0}`,children:M(E)},void 0,!1,void 0,this),f&&a5.jsxDEV("div",{className:`flex-shrink-0 ml-8 ${T0}`,children:M(f)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),o&&a5.jsxDEV("div",{className:h&&b?"grid grid-cols-2 gap-6":"flex",style:{flex:"1 1 0",minHeight:0},children:[h&&a5.jsxDEV("div",{className:`${!b?"flex-1":""} ${T0}`,children:M(h)},void 0,!1,void 0,this),b&&a5.jsxDEV("div",{className:T0,children:M(b)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),t&&a5.jsxDEV("div",{className:"border-t border-white pt-4 grid gap-6",style:{...e0,gridTemplateColumns:`repeat(${S.length}, 1fr)`},children:S.map((Y0,e)=>a5.jsxDEV("div",{className:T0,children:M(Y0)},`${Y0}-${e}`,!1,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)};var T6=$0(Z5(),1);var SG=$0(Z5(),1);var E4=$0(i0(),1),uB=({onSelect:B,endpoint:H,placeholder:W="Search for a station..."})=>{let[_,L]=SG.useState(""),[K,F]=SG.useState("");SG.useEffect(()=>{let R=setTimeout(()=>F(_.trim()),350);return()=>clearTimeout(R)},[_]);let{data:w,isFetching:C}=$1({queryKey:["search",H,K],queryFn:()=>fetch(`${H}?q=${encodeURIComponent(K)}`).then((R)=>R.json()),enabled:K.length>0,staleTime:60000}),j=w?.StopLocation??[];return E4.jsxDEV("div",{className:"w-full",children:[E4.jsxDEV("input",{type:"text",value:_,onChange:(R)=>L(R.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),E4.jsxDEV("div",{className:"mt-2 flex flex-col",children:[C&&E4.jsxDEV("p",{className:"text-gray-500 py-2",children:"Searching..."},void 0,!1,void 0,this),!C&&j.map((R)=>E4.jsxDEV("div",{onClick:()=>B(R),className:"flex justify-between items-center py-3 border-b border-zinc-700 cursor-pointer text-lg",children:[E4.jsxDEV("span",{children:R.name},void 0,!1,void 0,this),E4.jsxDEV("span",{className:"text-gray-500 text-sm",children:R.id},void 0,!1,void 0,this)]},R.id,!0,void 0,this)),!C&&K&&j.length===0&&E4.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=$0(i0(),1),BT=["clock","weather","sl","sbb","spotify","system","spacer"],RQ={clock:"Clock",weather:"Weather",sl:"SL Departures",sbb:"SBB Departures",spotify:"Spotify",system:"System",spacer:"Spacer"},UT={"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"},HT={"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"}},zT=["header-left","header-right","main-1","main-2","footer-1","footer-2","footer-3"],WT=({layout:B,onChange:H})=>{let[W,_]=T6.useState(null),L=new Set(Object.values(B).filter(Boolean)),K=BT.filter((R)=>R==="spacer"||!L.has(R)),F=(R,M,E)=>{R.dataTransfer.setData("widgetId",M),R.dataTransfer.setData("fromZone",E)},w=(R,M)=>{R.preventDefault(),_(null);let E=R.dataTransfer.getData("widgetId"),f=R.dataTransfer.getData("fromZone");if(!E)return;let h={...B},b=h[M];if(f!=="palette")if(b)h[f]=b;else delete h[f];h[M]=E,H(h)},C=(R)=>{R.preventDefault(),_(null);let M=R.dataTransfer.getData("fromZone");if(M==="palette")return;let E={...B};delete E[M],H(E)},j=(R)=>{let M={...B};delete M[R],H(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:zT.map((R)=>{let M=B[R],E=W===R;return Z0.jsxDEV("div",{style:HT[R],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(),_(R)},onDragLeave:()=>_(null),onDrop:(f)=>w(f,R),children:[Z0.jsxDEV("span",{className:"text-[10px] text-gray-600 uppercase tracking-wider leading-none",children:UT[R]},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)=>F(f,M,R),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:RQ[M]},void 0,!1,void 0,this),Z0.jsxDEV("button",{onClick:()=>j(R),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)]},R,!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:(R)=>{R.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((R)=>Z0.jsxDEV("span",{draggable:!0,onDragStart:(M)=>F(M,R,"palette"),className:`text-sm font-bold cursor-grab px-3 py-1 select-none ${R==="spacer"?"border border-dashed border-zinc-600 text-zinc-500":"border border-zinc-500"}`,children:RQ[R]},R,!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)},_T=({enabled:B,onChange:H})=>Z0.jsxDEV("button",{onClick:()=>H(!B),className:"border border-white px-4 py-1 text-lg font-bold",children:B?"ON":"OFF"},void 0,!1,void 0,this),u7=({title:B,children:H,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),H]},void 0,!0,void 0,this),TQ=({label:B,value:H,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:H,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=w8(),{data:H}=$1({queryKey:["config"],queryFn:()=>fetch("/api/config").then((S)=>S.json())}),{data:W,refetch:_}=$1({queryKey:["spotify-status"],queryFn:()=>fetch("/api/spotify/status").then((S)=>S.json())}),{mutate:L}=QB({mutationFn:(S)=>fetch("/api/config",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(S)}),onMutate:(S)=>B.setQueryData(["config"],S)}),[K,F]=T6.useState({});T6.useEffect(()=>{if(H)F(H.layout??{})},[H]);let[w,C]=T6.useState(""),[j,R]=T6.useState(""),[M,E]=T6.useState("");if(!H)return Z0.jsxDEV("div",{className:"p-8 text-gray-500",children:"Loading..."},void 0,!1,void 0,this);let f=()=>{L({...H,spotify:{clientId:w||H.spotify.clientId,clientSecret:j||H.spotify.clientSecret}})},h=async()=>{await fetch("/api/spotify/disconnect"),_()},b=(S)=>{F(S),L({...H,layout:S})};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(xG,{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(u7,{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(_T,{enabled:H.alwaysOn??!1,onChange:(S)=>L({...H,alwaysOn:S})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Z0.jsxDEV(u7,{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(WT,{layout:K,onChange:b},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(u7,{title:"SL Departures",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-3",children:H.sl.stationName||"No station selected"},void 0,!1,void 0,this),Z0.jsxDEV(uB,{endpoint:"/api/sl/search",placeholder:"Search SL station...",onSelect:(S)=>L({...H,sl:{stationId:S.id,stationName:S.name}})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(u7,{title:"SBB Departures",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-3",children:H.sbb.stationName||"No station selected"},void 0,!1,void 0,this),Z0.jsxDEV(uB,{endpoint:"/api/sbb/search",placeholder:"Search SBB station...",onSelect:(S)=>L({...H,sbb:{stationId:S.id,stationName:S.name}})},void 0,!1,void 0,this)]},void 0,!0,void 0,this),Z0.jsxDEV(u7,{title:"Weather (Meteoswiss)",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-3",children:H.weather.plz?`PLZ ${H.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||H.weather.plz,onChange:(S)=>E(S.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({...H,weather:{plz:M||H.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(u7,{title:"Spotify Now Playing",children:[Z0.jsxDEV("p",{className:"text-gray-400 mb-4",children:W?.connected?"Connected":H.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(TQ,{label:"Client ID",value:w,onChange:C,placeholder:H.spotify.clientId?"(saved)":""},void 0,!1,void 0,this),Z0.jsxDEV(TQ,{label:"Client Secret",value:j,onChange:R,type:"password",placeholder:H.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),H.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:h,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 P8=$0(i0(),1),PQ=()=>{return P8.jsxDEV(mB,{children:P8.jsxDEV(SB,{children:[P8.jsxDEV(CG,{path:"/",element:P8.jsxDEV(FQ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),P8.jsxDEV(CG,{path:"/settings",element:P8.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=$0(i0(),1),AT=new WB,VQ=document.getElementById("root");if(VQ)OQ.createRoot(VQ).render(pB.jsxDEV(LB,{client:AT,children:pB.jsxDEV(PQ,{},void 0,!1,void 0,this)},void 0,!1,void 0,this));
|