@velkayolanda/app_subjects 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,975 @@
1
+ var Dynamic=(function(v1){"use strict";function dM(a,i){for(var c=0;c<i.length;c++){const s=i[c];if(typeof s!="string"&&!Array.isArray(s)){for(const h in s)if(h!=="default"&&!(h in a)){const p=Object.getOwnPropertyDescriptor(s,h);p&&Object.defineProperty(a,h,p.get?p:{enumerable:!0,get:()=>s[h]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}function H0(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var V0={exports:{}},cy={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var dx;function hM(){if(dx)return cy;dx=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(s,h,p){var y=null;if(p!==void 0&&(y=""+p),h.key!==void 0&&(y=""+h.key),"key"in h){p={};for(var v in h)v!=="key"&&(p[v]=h[v])}else p=h;return h=p.ref,{$$typeof:a,type:s,key:y,ref:h!==void 0?h:null,props:p}}return cy.Fragment=i,cy.jsx=c,cy.jsxs=c,cy}var sy={},q0={exports:{}},At={};/**
10
+ * @license React
11
+ * react.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var hx;function pM(){if(hx)return At;hx=1;var a=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),p=Symbol.for("react.consumer"),y=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),A=Symbol.iterator;function D(j){return j===null||typeof j!="object"?null:(j=A&&j[A]||j["@@iterator"],typeof j=="function"?j:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},H=Object.assign,L={};function q(j,J,ue){this.props=j,this.context=J,this.refs=L,this.updater=ue||N}q.prototype.isReactComponent={},q.prototype.setState=function(j,J){if(typeof j!="object"&&typeof j!="function"&&j!=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,j,J,"setState")},q.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function I(){}I.prototype=q.prototype;function F(j,J,ue){this.props=j,this.context=J,this.refs=L,this.updater=ue||N}var W=F.prototype=new I;W.constructor=F,H(W,q.prototype),W.isPureReactComponent=!0;var Y=Array.isArray;function ne(){}var ae={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function Se(j,J,ue){var re=ue.ref;return{$$typeof:a,type:j,key:J,ref:re!==void 0?re:null,props:ue}}function me(j,J){return Se(j.type,J,j.props)}function Ne(j){return typeof j=="object"&&j!==null&&j.$$typeof===a}function xe(j){var J={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(ue){return J[ue]})}var Ye=/\/+/g;function $e(j,J){return typeof j=="object"&&j!==null&&j.key!=null?xe(""+j.key):J.toString(36)}function et(j){switch(j.status){case"fulfilled":return j.value;case"rejected":throw j.reason;default:switch(typeof j.status=="string"?j.then(ne,ne):(j.status="pending",j.then(function(J){j.status==="pending"&&(j.status="fulfilled",j.value=J)},function(J){j.status==="pending"&&(j.status="rejected",j.reason=J)})),j.status){case"fulfilled":return j.value;case"rejected":throw j.reason}}throw j}function k(j,J,ue,re,De){var Ue=typeof j;(Ue==="undefined"||Ue==="boolean")&&(j=null);var Me=!1;if(j===null)Me=!0;else switch(Ue){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(j.$$typeof){case a:case i:Me=!0;break;case R:return Me=j._init,k(Me(j._payload),J,ue,re,De)}}if(Me)return De=De(j),Me=re===""?"."+$e(j,0):re,Y(De)?(ue="",Me!=null&&(ue=Me.replace(Ye,"$&/")+"/"),k(De,J,ue,"",function(ot){return ot})):De!=null&&(Ne(De)&&(De=me(De,ue+(De.key==null||j&&j.key===De.key?"":(""+De.key).replace(Ye,"$&/")+"/")+Me)),J.push(De)),1;Me=0;var We=re===""?".":re+":";if(Y(j))for(var Qe=0;Qe<j.length;Qe++)re=j[Qe],Ue=We+$e(re,Qe),Me+=k(re,J,ue,Ue,De);else if(Qe=D(j),typeof Qe=="function")for(j=Qe.call(j),Qe=0;!(re=j.next()).done;)re=re.value,Ue=We+$e(re,Qe++),Me+=k(re,J,ue,Ue,De);else if(Ue==="object"){if(typeof j.then=="function")return k(et(j),J,ue,re,De);throw J=String(j),Error("Objects are not valid as a React child (found: "+(J==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":J)+"). If you meant to render a collection of children, use an array instead.")}return Me}function ce(j,J,ue){if(j==null)return j;var re=[],De=0;return k(j,re,"","",function(Ue){return J.call(ue,Ue,De++)}),re}function Ee(j){if(j._status===-1){var J=j._result;J=J(),J.then(function(ue){(j._status===0||j._status===-1)&&(j._status=1,j._result=ue)},function(ue){(j._status===0||j._status===-1)&&(j._status=2,j._result=ue)}),j._status===-1&&(j._status=0,j._result=J)}if(j._status===1)return j._result.default;throw j._result}var ze=typeof reportError=="function"?reportError:function(j){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var J=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof j=="object"&&j!==null&&typeof j.message=="string"?String(j.message):String(j),error:j});if(!window.dispatchEvent(J))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",j);return}console.error(j)},se={map:ce,forEach:function(j,J,ue){ce(j,function(){J.apply(this,arguments)},ue)},count:function(j){var J=0;return ce(j,function(){J++}),J},toArray:function(j){return ce(j,function(J){return J})||[]},only:function(j){if(!Ne(j))throw Error("React.Children.only expected to receive a single React element child.");return j}};return At.Activity=x,At.Children=se,At.Component=q,At.Fragment=c,At.Profiler=h,At.PureComponent=F,At.StrictMode=s,At.Suspense=T,At.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ae,At.__COMPILER_RUNTIME={__proto__:null,c:function(j){return ae.H.useMemoCache(j)}},At.cache=function(j){return function(){return j.apply(null,arguments)}},At.cacheSignal=function(){return null},At.cloneElement=function(j,J,ue){if(j==null)throw Error("The argument must be a React element, but you passed "+j+".");var re=H({},j.props),De=j.key;if(J!=null)for(Ue in J.key!==void 0&&(De=""+J.key),J)!V.call(J,Ue)||Ue==="key"||Ue==="__self"||Ue==="__source"||Ue==="ref"&&J.ref===void 0||(re[Ue]=J[Ue]);var Ue=arguments.length-2;if(Ue===1)re.children=ue;else if(1<Ue){for(var Me=Array(Ue),We=0;We<Ue;We++)Me[We]=arguments[We+2];re.children=Me}return Se(j.type,De,re)},At.createContext=function(j){return j={$$typeof:y,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null},j.Provider=j,j.Consumer={$$typeof:p,_context:j},j},At.createElement=function(j,J,ue){var re,De={},Ue=null;if(J!=null)for(re in J.key!==void 0&&(Ue=""+J.key),J)V.call(J,re)&&re!=="key"&&re!=="__self"&&re!=="__source"&&(De[re]=J[re]);var Me=arguments.length-2;if(Me===1)De.children=ue;else if(1<Me){for(var We=Array(Me),Qe=0;Qe<Me;Qe++)We[Qe]=arguments[Qe+2];De.children=We}if(j&&j.defaultProps)for(re in Me=j.defaultProps,Me)De[re]===void 0&&(De[re]=Me[re]);return Se(j,Ue,De)},At.createRef=function(){return{current:null}},At.forwardRef=function(j){return{$$typeof:v,render:j}},At.isValidElement=Ne,At.lazy=function(j){return{$$typeof:R,_payload:{_status:-1,_result:j},_init:Ee}},At.memo=function(j,J){return{$$typeof:E,type:j,compare:J===void 0?null:J}},At.startTransition=function(j){var J=ae.T,ue={};ae.T=ue;try{var re=j(),De=ae.S;De!==null&&De(ue,re),typeof re=="object"&&re!==null&&typeof re.then=="function"&&re.then(ne,ze)}catch(Ue){ze(Ue)}finally{J!==null&&ue.types!==null&&(J.types=ue.types),ae.T=J}},At.unstable_useCacheRefresh=function(){return ae.H.useCacheRefresh()},At.use=function(j){return ae.H.use(j)},At.useActionState=function(j,J,ue){return ae.H.useActionState(j,J,ue)},At.useCallback=function(j,J){return ae.H.useCallback(j,J)},At.useContext=function(j){return ae.H.useContext(j)},At.useDebugValue=function(){},At.useDeferredValue=function(j,J){return ae.H.useDeferredValue(j,J)},At.useEffect=function(j,J){return ae.H.useEffect(j,J)},At.useEffectEvent=function(j){return ae.H.useEffectEvent(j)},At.useId=function(){return ae.H.useId()},At.useImperativeHandle=function(j,J,ue){return ae.H.useImperativeHandle(j,J,ue)},At.useInsertionEffect=function(j,J){return ae.H.useInsertionEffect(j,J)},At.useLayoutEffect=function(j,J){return ae.H.useLayoutEffect(j,J)},At.useMemo=function(j,J){return ae.H.useMemo(j,J)},At.useOptimistic=function(j,J){return ae.H.useOptimistic(j,J)},At.useReducer=function(j,J,ue){return ae.H.useReducer(j,J,ue)},At.useRef=function(j){return ae.H.useRef(j)},At.useState=function(j){return ae.H.useState(j)},At.useSyncExternalStore=function(j,J,ue){return ae.H.useSyncExternalStore(j,J,ue)},At.useTransition=function(){return ae.H.useTransition()},At.version="19.2.4",At}var fy={exports:{}};/**
18
+ * @license React
19
+ * react.development.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */fy.exports;var px;function mM(){return px||(px=1,(function(a,i){process.env.NODE_ENV!=="production"&&(function(){function c(U,ie){Object.defineProperty(p.prototype,U,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",ie[0],ie[1])}})}function s(U){return U===null||typeof U!="object"?null:(U=Ve&&U[Ve]||U["@@iterator"],typeof U=="function"?U:null)}function h(U,ie){U=(U=U.constructor)&&(U.displayName||U.name)||"ReactClass";var we=U+"."+ie;Ct[we]||(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.",ie,U),Ct[we]=!0)}function p(U,ie,we){this.props=U,this.context=ie,this.refs=qt,this.updater=we||tn}function y(){}function v(U,ie,we){this.props=U,this.context=ie,this.refs=qt,this.updater=we||tn}function T(){}function E(U){return""+U}function R(U){try{E(U);var ie=!1}catch{ie=!0}if(ie){ie=console;var we=ie.error,Be=typeof Symbol=="function"&&Symbol.toStringTag&&U[Symbol.toStringTag]||U.constructor.name||"Object";return we.call(ie,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Be),E(U)}}function x(U){if(U==null)return null;if(typeof U=="function")return U.$$typeof===To?null:U.displayName||U.name||null;if(typeof U=="string")return U;switch(U){case j:return"Fragment";case ue:return"Profiler";case J:return"StrictMode";case Me:return"Suspense";case We:return"SuspenseList";case Le:return"Activity"}if(typeof U=="object")switch(typeof U.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),U.$$typeof){case se:return"Portal";case De:return U.displayName||"Context";case re:return(U._context.displayName||"Context")+".Consumer";case Ue:var ie=U.render;return U=U.displayName,U||(U=ie.displayName||ie.name||"",U=U!==""?"ForwardRef("+U+")":"ForwardRef"),U;case Qe:return ie=U.displayName||null,ie!==null?ie:x(U.type)||"Memo";case ot:ie=U._payload,U=U._init;try{return x(U(ie))}catch{}}return null}function A(U){if(U===j)return"<>";if(typeof U=="object"&&U!==null&&U.$$typeof===ot)return"<...>";try{var ie=x(U);return ie?"<"+ie+">":"<...>"}catch{return"<...>"}}function D(){var U=Je.A;return U===null?null:U.getOwner()}function N(){return Error("react-stack-top-frame")}function H(U){if(Er.call(U,"key")){var ie=Object.getOwnPropertyDescriptor(U,"key").get;if(ie&&ie.isReactWarning)return!1}return U.key!==void 0}function L(U,ie){function we(){Qr||(Qr=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",ie))}we.isReactWarning=!0,Object.defineProperty(U,"key",{get:we,configurable:!0})}function q(){var U=x(this.type);return zl[U]||(zl[U]=!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.")),U=this.props.ref,U!==void 0?U:null}function I(U,ie,we,Be,Fe,ct){var tt=we.ref;return U={$$typeof:ze,type:U,key:ie,props:we,_owner:Be},(tt!==void 0?tt:null)!==null?Object.defineProperty(U,"ref",{enumerable:!1,get:q}):Object.defineProperty(U,"ref",{enumerable:!1,value:null}),U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(U,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(U,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Fe}),Object.defineProperty(U,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ct}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U}function F(U,ie){return ie=I(U.type,ie,U.props,U._owner,U._debugStack,U._debugTask),U._store&&(ie._store.validated=U._store.validated),ie}function W(U){Y(U)?U._store&&(U._store.validated=1):typeof U=="object"&&U!==null&&U.$$typeof===ot&&(U._payload.status==="fulfilled"?Y(U._payload.value)&&U._payload.value._store&&(U._payload.value._store.validated=1):U._store&&(U._store.validated=1))}function Y(U){return typeof U=="object"&&U!==null&&U.$$typeof===ze}function ne(U){var ie={"=":"=0",":":"=2"};return"$"+U.replace(/[=:]/g,function(we){return ie[we]})}function ae(U,ie){return typeof U=="object"&&U!==null&&U.key!=null?(R(U.key),ne(""+U.key)):ie.toString(36)}function V(U){switch(U.status){case"fulfilled":return U.value;case"rejected":throw U.reason;default:switch(typeof U.status=="string"?U.then(T,T):(U.status="pending",U.then(function(ie){U.status==="pending"&&(U.status="fulfilled",U.value=ie)},function(ie){U.status==="pending"&&(U.status="rejected",U.reason=ie)})),U.status){case"fulfilled":return U.value;case"rejected":throw U.reason}}throw U}function Se(U,ie,we,Be,Fe){var ct=typeof U;(ct==="undefined"||ct==="boolean")&&(U=null);var tt=!1;if(U===null)tt=!0;else switch(ct){case"bigint":case"string":case"number":tt=!0;break;case"object":switch(U.$$typeof){case ze:case se:tt=!0;break;case ot:return tt=U._init,Se(tt(U._payload),ie,we,Be,Fe)}}if(tt){tt=U,Fe=Fe(tt);var Dt=Be===""?"."+ae(tt,0):Be;return $r(Fe)?(we="",Dt!=null&&(we=Dt.replace(Ul,"$&/")+"/"),Se(Fe,ie,we,"",function(ga){return ga})):Fe!=null&&(Y(Fe)&&(Fe.key!=null&&(tt&&tt.key===Fe.key||R(Fe.key)),we=F(Fe,we+(Fe.key==null||tt&&tt.key===Fe.key?"":(""+Fe.key).replace(Ul,"$&/")+"/")+Dt),Be!==""&&tt!=null&&Y(tt)&&tt.key==null&&tt._store&&!tt._store.validated&&(we._store.validated=2),Fe=we),ie.push(Fe)),1}if(tt=0,Dt=Be===""?".":Be+":",$r(U))for(var bt=0;bt<U.length;bt++)Be=U[bt],ct=Dt+ae(Be,bt),tt+=Se(Be,ie,we,ct,Fe);else if(bt=s(U),typeof bt=="function")for(bt===U.entries&&(Aa||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Aa=!0),U=bt.call(U),bt=0;!(Be=U.next()).done;)Be=Be.value,ct=Dt+ae(Be,bt++),tt+=Se(Be,ie,we,ct,Fe);else if(ct==="object"){if(typeof U.then=="function")return Se(V(U),ie,we,Be,Fe);throw ie=String(U),Error("Objects are not valid as a React child (found: "+(ie==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":ie)+"). If you meant to render a collection of children, use an array instead.")}return tt}function me(U,ie,we){if(U==null)return U;var Be=[],Fe=0;return Se(U,Be,"","",function(ct){return ie.call(we,ct,Fe++)}),Be}function Ne(U){if(U._status===-1){var ie=U._ioInfo;ie!=null&&(ie.start=ie.end=performance.now()),ie=U._result;var we=ie();if(we.then(function(Fe){if(U._status===0||U._status===-1){U._status=1,U._result=Fe;var ct=U._ioInfo;ct!=null&&(ct.end=performance.now()),we.status===void 0&&(we.status="fulfilled",we.value=Fe)}},function(Fe){if(U._status===0||U._status===-1){U._status=2,U._result=Fe;var ct=U._ioInfo;ct!=null&&(ct.end=performance.now()),we.status===void 0&&(we.status="rejected",we.reason=Fe)}}),ie=U._ioInfo,ie!=null){ie.value=we;var Be=we.displayName;typeof Be=="string"&&(ie.name=Be)}U._status===-1&&(U._status=0,U._result=we)}if(U._status===1)return ie=U._result,ie===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
26
+
27
+ Your code should look like:
28
+ const MyComponent = lazy(() => import('./MyComponent'))
29
+
30
+ Did you accidentally put curly braces around the import?`,ie),"default"in ie||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
31
+
32
+ Your code should look like:
33
+ const MyComponent = lazy(() => import('./MyComponent'))`,ie),ie.default;throw U._result}function xe(){var U=Je.H;return U===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:
34
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
35
+ 2. You might be breaking the Rules of Hooks
36
+ 3. You might have more than one copy of React in the same app
37
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),U}function Ye(){Je.asyncTransitions--}function $e(U){if(_o===null)try{var ie=("require"+Math.random()).slice(0,7);_o=(a&&a[ie]).call(a,"timers").setImmediate}catch{_o=function(Be){lu===!1&&(lu=!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 Fe=new MessageChannel;Fe.port1.onmessage=Be,Fe.port2.postMessage(void 0)}}return _o(U)}function et(U){return 1<U.length&&typeof AggregateError=="function"?new AggregateError(U):U[0]}function k(U,ie){ie!==el-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. "),el=ie}function ce(U,ie,we){var Be=Je.actQueue;if(Be!==null)if(Be.length!==0)try{Ee(Be),$e(function(){return ce(U,ie,we)});return}catch(Fe){Je.thrownErrors.push(Fe)}else Je.actQueue=null;0<Je.thrownErrors.length?(Be=et(Je.thrownErrors),Je.thrownErrors.length=0,we(Be)):ie(U)}function Ee(U){if(!Yn){Yn=!0;var ie=0;try{for(;ie<U.length;ie++){var we=U[ie];do{Je.didUsePromise=!1;var Be=we(!1);if(Be!==null){if(Je.didUsePromise){U[ie]=we,U.splice(0,ie);return}we=Be}else break}while(!0)}U.length=0}catch(Fe){U.splice(0,ie+1),Je.thrownErrors.push(Fe)}finally{Yn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ze=Symbol.for("react.transitional.element"),se=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),re=Symbol.for("react.consumer"),De=Symbol.for("react.context"),Ue=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),We=Symbol.for("react.suspense_list"),Qe=Symbol.for("react.memo"),ot=Symbol.for("react.lazy"),Le=Symbol.for("react.activity"),Ve=Symbol.iterator,Ct={},tn={isMounted:function(){return!1},enqueueForceUpdate:function(U){h(U,"forceUpdate")},enqueueReplaceState:function(U){h(U,"replaceState")},enqueueSetState:function(U){h(U,"setState")}},Mt=Object.assign,qt={};Object.freeze(qt),p.prototype.isReactComponent={},p.prototype.setState=function(U,ie){if(typeof U!="object"&&typeof U!="function"&&U!=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,U,ie,"setState")},p.prototype.forceUpdate=function(U){this.updater.enqueueForceUpdate(this,U,"forceUpdate")};var cn={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(Xr in cn)cn.hasOwnProperty(Xr)&&c(Xr,cn[Xr]);y.prototype=p.prototype,cn=v.prototype=new y,cn.constructor=v,Mt(cn,p.prototype),cn.isPureReactComponent=!0;var $r=Array.isArray,To=Symbol.for("react.client.reference"),Je={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Er=Object.prototype.hasOwnProperty,jl=console.createTask?console.createTask:function(){return null};cn={react_stack_bottom_frame:function(U){return U()}};var Qr,Mn,zl={},xt=cn.react_stack_bottom_frame.bind(cn,N)(),Wa=jl(A(N)),Aa=!1,Ul=/\/+/g,Pa=typeof reportError=="function"?reportError:function(U){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ie=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof U=="object"&&U!==null&&typeof U.message=="string"?String(U.message):String(U),error:U});if(!window.dispatchEvent(ie))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",U);return}console.error(U)},lu=!1,_o=null,el=0,Wn=!1,Yn=!1,Pn=typeof queueMicrotask=="function"?function(U){queueMicrotask(function(){return queueMicrotask(U)})}:$e;cn=Object.freeze({__proto__:null,c:function(U){return xe().useMemoCache(U)}});var Xr={map:me,forEach:function(U,ie,we){me(U,function(){ie.apply(this,arguments)},we)},count:function(U){var ie=0;return me(U,function(){ie++}),ie},toArray:function(U){return me(U,function(ie){return ie})||[]},only:function(U){if(!Y(U))throw Error("React.Children.only expected to receive a single React element child.");return U}};i.Activity=Le,i.Children=Xr,i.Component=p,i.Fragment=j,i.Profiler=ue,i.PureComponent=v,i.StrictMode=J,i.Suspense=Me,i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Je,i.__COMPILER_RUNTIME=cn,i.act=function(U){var ie=Je.actQueue,we=el;el++;var Be=Je.actQueue=ie!==null?ie:[],Fe=!1;try{var ct=U()}catch(bt){Je.thrownErrors.push(bt)}if(0<Je.thrownErrors.length)throw k(ie,we),U=et(Je.thrownErrors),Je.thrownErrors.length=0,U;if(ct!==null&&typeof ct=="object"&&typeof ct.then=="function"){var tt=ct;return Pn(function(){Fe||Wn||(Wn=!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(bt,ga){Fe=!0,tt.then(function($a){if(k(ie,we),we===0){try{Ee(Be),$e(function(){return ce($a,bt,ga)})}catch(Oo){Je.thrownErrors.push(Oo)}if(0<Je.thrownErrors.length){var Fl=et(Je.thrownErrors);Je.thrownErrors.length=0,ga(Fl)}}else bt($a)},function($a){k(ie,we),0<Je.thrownErrors.length&&($a=et(Je.thrownErrors),Je.thrownErrors.length=0),ga($a)})}}}var Dt=ct;if(k(ie,we),we===0&&(Ee(Be),Be.length!==0&&Pn(function(){Fe||Wn||(Wn=!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(() => ...)"))}),Je.actQueue=null),0<Je.thrownErrors.length)throw U=et(Je.thrownErrors),Je.thrownErrors.length=0,U;return{then:function(bt,ga){Fe=!0,we===0?(Je.actQueue=Be,$e(function(){return ce(Dt,bt,ga)})):bt(Dt)}}},i.cache=function(U){return function(){return U.apply(null,arguments)}},i.cacheSignal=function(){return null},i.captureOwnerStack=function(){var U=Je.getCurrentStack;return U===null?null:U()},i.cloneElement=function(U,ie,we){if(U==null)throw Error("The argument must be a React element, but you passed "+U+".");var Be=Mt({},U.props),Fe=U.key,ct=U._owner;if(ie!=null){var tt;e:{if(Er.call(ie,"ref")&&(tt=Object.getOwnPropertyDescriptor(ie,"ref").get)&&tt.isReactWarning){tt=!1;break e}tt=ie.ref!==void 0}tt&&(ct=D()),H(ie)&&(R(ie.key),Fe=""+ie.key);for(Dt in ie)!Er.call(ie,Dt)||Dt==="key"||Dt==="__self"||Dt==="__source"||Dt==="ref"&&ie.ref===void 0||(Be[Dt]=ie[Dt])}var Dt=arguments.length-2;if(Dt===1)Be.children=we;else if(1<Dt){tt=Array(Dt);for(var bt=0;bt<Dt;bt++)tt[bt]=arguments[bt+2];Be.children=tt}for(Be=I(U.type,Fe,Be,ct,U._debugStack,U._debugTask),Fe=2;Fe<arguments.length;Fe++)W(arguments[Fe]);return Be},i.createContext=function(U){return U={$$typeof:De,_currentValue:U,_currentValue2:U,_threadCount:0,Provider:null,Consumer:null},U.Provider=U,U.Consumer={$$typeof:re,_context:U},U._currentRenderer=null,U._currentRenderer2=null,U},i.createElement=function(U,ie,we){for(var Be=2;Be<arguments.length;Be++)W(arguments[Be]);Be={};var Fe=null;if(ie!=null)for(bt in Mn||!("__self"in ie)||"key"in ie||(Mn=!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")),H(ie)&&(R(ie.key),Fe=""+ie.key),ie)Er.call(ie,bt)&&bt!=="key"&&bt!=="__self"&&bt!=="__source"&&(Be[bt]=ie[bt]);var ct=arguments.length-2;if(ct===1)Be.children=we;else if(1<ct){for(var tt=Array(ct),Dt=0;Dt<ct;Dt++)tt[Dt]=arguments[Dt+2];Object.freeze&&Object.freeze(tt),Be.children=tt}if(U&&U.defaultProps)for(bt in ct=U.defaultProps,ct)Be[bt]===void 0&&(Be[bt]=ct[bt]);Fe&&L(Be,typeof U=="function"?U.displayName||U.name||"Unknown":U);var bt=1e4>Je.recentlyCreatedOwnerStacks++;return I(U,Fe,Be,D(),bt?Error("react-stack-top-frame"):xt,bt?jl(A(U)):Wa)},i.createRef=function(){var U={current:null};return Object.seal(U),U},i.forwardRef=function(U){U!=null&&U.$$typeof===Qe?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof U!="function"?console.error("forwardRef requires a render function but was given %s.",U===null?"null":typeof U):U.length!==0&&U.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",U.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),U!=null&&U.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var ie={$$typeof:Ue,render:U},we;return Object.defineProperty(ie,"displayName",{enumerable:!1,configurable:!0,get:function(){return we},set:function(Be){we=Be,U.name||U.displayName||(Object.defineProperty(U,"name",{value:Be}),U.displayName=Be)}}),ie},i.isValidElement=Y,i.lazy=function(U){U={_status:-1,_result:U};var ie={$$typeof:ot,_payload:U,_init:Ne},we={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return U._ioInfo=we,ie._debugInfo=[{awaited:we}],ie},i.memo=function(U,ie){U==null&&console.error("memo: The first argument must be a component. Instead received: %s",U===null?"null":typeof U),ie={$$typeof:Qe,type:U,compare:ie===void 0?null:ie};var we;return Object.defineProperty(ie,"displayName",{enumerable:!1,configurable:!0,get:function(){return we},set:function(Be){we=Be,U.name||U.displayName||(Object.defineProperty(U,"name",{value:Be}),U.displayName=Be)}}),ie},i.startTransition=function(U){var ie=Je.T,we={};we._updatedFibers=new Set,Je.T=we;try{var Be=U(),Fe=Je.S;Fe!==null&&Fe(we,Be),typeof Be=="object"&&Be!==null&&typeof Be.then=="function"&&(Je.asyncTransitions++,Be.then(Ye,Ye),Be.then(T,Pa))}catch(ct){Pa(ct)}finally{ie===null&&we._updatedFibers&&(U=we._updatedFibers.size,we._updatedFibers.clear(),10<U&&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.")),ie!==null&&we.types!==null&&(ie.types!==null&&ie.types!==we.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."),ie.types=we.types),Je.T=ie}},i.unstable_useCacheRefresh=function(){return xe().useCacheRefresh()},i.use=function(U){return xe().use(U)},i.useActionState=function(U,ie,we){return xe().useActionState(U,ie,we)},i.useCallback=function(U,ie){return xe().useCallback(U,ie)},i.useContext=function(U){var ie=xe();return U.$$typeof===re&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),ie.useContext(U)},i.useDebugValue=function(U,ie){return xe().useDebugValue(U,ie)},i.useDeferredValue=function(U,ie){return xe().useDeferredValue(U,ie)},i.useEffect=function(U,ie){return U==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),xe().useEffect(U,ie)},i.useEffectEvent=function(U){return xe().useEffectEvent(U)},i.useId=function(){return xe().useId()},i.useImperativeHandle=function(U,ie,we){return xe().useImperativeHandle(U,ie,we)},i.useInsertionEffect=function(U,ie){return U==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),xe().useInsertionEffect(U,ie)},i.useLayoutEffect=function(U,ie){return U==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),xe().useLayoutEffect(U,ie)},i.useMemo=function(U,ie){return xe().useMemo(U,ie)},i.useOptimistic=function(U,ie){return xe().useOptimistic(U,ie)},i.useReducer=function(U,ie,we){return xe().useReducer(U,ie,we)},i.useRef=function(U){return xe().useRef(U)},i.useState=function(U){return xe().useState(U)},i.useSyncExternalStore=function(U,ie,we){return xe().useSyncExternalStore(U,ie,we)},i.useTransition=function(){return xe().useTransition()},i.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(fy,fy.exports)),fy.exports}var mx;function as(){return mx||(mx=1,process.env.NODE_ENV==="production"?q0.exports=pM():q0.exports=mM()),q0.exports}/**
38
+ * @license React
39
+ * react-jsx-runtime.development.js
40
+ *
41
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
42
+ *
43
+ * This source code is licensed under the MIT license found in the
44
+ * LICENSE file in the root directory of this source tree.
45
+ */var yx;function yM(){return yx||(yx=1,process.env.NODE_ENV!=="production"&&(function(){function a(j){if(j==null)return null;if(typeof j=="function")return j.$$typeof===Ne?null:j.displayName||j.name||null;if(typeof j=="string")return j;switch(j){case L:return"Fragment";case I:return"Profiler";case q:return"StrictMode";case ne:return"Suspense";case ae:return"SuspenseList";case me:return"Activity"}if(typeof j=="object")switch(typeof j.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),j.$$typeof){case H:return"Portal";case W:return j.displayName||"Context";case F:return(j._context.displayName||"Context")+".Consumer";case Y:var J=j.render;return j=j.displayName,j||(j=J.displayName||J.name||"",j=j!==""?"ForwardRef("+j+")":"ForwardRef"),j;case V:return J=j.displayName||null,J!==null?J:a(j.type)||"Memo";case Se:J=j._payload,j=j._init;try{return a(j(J))}catch{}}return null}function i(j){return""+j}function c(j){try{i(j);var J=!1}catch{J=!0}if(J){J=console;var ue=J.error,re=typeof Symbol=="function"&&Symbol.toStringTag&&j[Symbol.toStringTag]||j.constructor.name||"Object";return ue.call(J,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",re),i(j)}}function s(j){if(j===L)return"<>";if(typeof j=="object"&&j!==null&&j.$$typeof===Se)return"<...>";try{var J=a(j);return J?"<"+J+">":"<...>"}catch{return"<...>"}}function h(){var j=xe.A;return j===null?null:j.getOwner()}function p(){return Error("react-stack-top-frame")}function y(j){if(Ye.call(j,"key")){var J=Object.getOwnPropertyDescriptor(j,"key").get;if(J&&J.isReactWarning)return!1}return j.key!==void 0}function v(j,J){function ue(){k||(k=!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)",J))}ue.isReactWarning=!0,Object.defineProperty(j,"key",{get:ue,configurable:!0})}function T(){var j=a(this.type);return ce[j]||(ce[j]=!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.")),j=this.props.ref,j!==void 0?j:null}function E(j,J,ue,re,De,Ue){var Me=ue.ref;return j={$$typeof:N,type:j,key:J,props:ue,_owner:re},(Me!==void 0?Me:null)!==null?Object.defineProperty(j,"ref",{enumerable:!1,get:T}):Object.defineProperty(j,"ref",{enumerable:!1,value:null}),j._store={},Object.defineProperty(j._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(j,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(j,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:De}),Object.defineProperty(j,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ue}),Object.freeze&&(Object.freeze(j.props),Object.freeze(j)),j}function R(j,J,ue,re,De,Ue){var Me=J.children;if(Me!==void 0)if(re)if($e(Me)){for(re=0;re<Me.length;re++)x(Me[re]);Object.freeze&&Object.freeze(Me)}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 x(Me);if(Ye.call(J,"key")){Me=a(j);var We=Object.keys(J).filter(function(ot){return ot!=="key"});re=0<We.length?"{key: someKey, "+We.join(": ..., ")+": ...}":"{key: someKey}",se[Me+re]||(We=0<We.length?"{"+We.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
46
+ let props = %s;
47
+ <%s {...props} />
48
+ React keys must be passed directly to JSX without using spread:
49
+ let props = %s;
50
+ <%s key={someKey} {...props} />`,re,Me,We,Me),se[Me+re]=!0)}if(Me=null,ue!==void 0&&(c(ue),Me=""+ue),y(J)&&(c(J.key),Me=""+J.key),"key"in J){ue={};for(var Qe in J)Qe!=="key"&&(ue[Qe]=J[Qe])}else ue=J;return Me&&v(ue,typeof j=="function"?j.displayName||j.name||"Unknown":j),E(j,Me,ue,h(),De,Ue)}function x(j){A(j)?j._store&&(j._store.validated=1):typeof j=="object"&&j!==null&&j.$$typeof===Se&&(j._payload.status==="fulfilled"?A(j._payload.value)&&j._payload.value._store&&(j._payload.value._store.validated=1):j._store&&(j._store.validated=1))}function A(j){return typeof j=="object"&&j!==null&&j.$$typeof===N}var D=as(),N=Symbol.for("react.transitional.element"),H=Symbol.for("react.portal"),L=Symbol.for("react.fragment"),q=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),F=Symbol.for("react.consumer"),W=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),ae=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),me=Symbol.for("react.activity"),Ne=Symbol.for("react.client.reference"),xe=D.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ye=Object.prototype.hasOwnProperty,$e=Array.isArray,et=console.createTask?console.createTask:function(){return null};D={react_stack_bottom_frame:function(j){return j()}};var k,ce={},Ee=D.react_stack_bottom_frame.bind(D,p)(),ze=et(s(p)),se={};sy.Fragment=L,sy.jsx=function(j,J,ue){var re=1e4>xe.recentlyCreatedOwnerStacks++;return R(j,J,ue,!1,re?Error("react-stack-top-frame"):Ee,re?et(s(j)):ze)},sy.jsxs=function(j,J,ue){var re=1e4>xe.recentlyCreatedOwnerStacks++;return R(j,J,ue,!0,re?Error("react-stack-top-frame"):Ee,re?et(s(j)):ze)}})()),sy}var gx;function gM(){return gx||(gx=1,process.env.NODE_ENV==="production"?V0.exports=hM():V0.exports=yM()),V0.exports}var _=gM(),Y0={exports:{}},dy={},k0={exports:{}},b1={};/**
51
+ * @license React
52
+ * scheduler.production.js
53
+ *
54
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
55
+ *
56
+ * This source code is licensed under the MIT license found in the
57
+ * LICENSE file in the root directory of this source tree.
58
+ */var vx;function vM(){return vx||(vx=1,(function(a){function i(k,ce){var Ee=k.length;k.push(ce);e:for(;0<Ee;){var ze=Ee-1>>>1,se=k[ze];if(0<h(se,ce))k[ze]=ce,k[Ee]=se,Ee=ze;else break e}}function c(k){return k.length===0?null:k[0]}function s(k){if(k.length===0)return null;var ce=k[0],Ee=k.pop();if(Ee!==ce){k[0]=Ee;e:for(var ze=0,se=k.length,j=se>>>1;ze<j;){var J=2*(ze+1)-1,ue=k[J],re=J+1,De=k[re];if(0>h(ue,Ee))re<se&&0>h(De,ue)?(k[ze]=De,k[re]=Ee,ze=re):(k[ze]=ue,k[J]=Ee,ze=J);else if(re<se&&0>h(De,Ee))k[ze]=De,k[re]=Ee,ze=re;else break e}}return ce}function h(k,ce){var Ee=k.sortIndex-ce.sortIndex;return Ee!==0?Ee:k.id-ce.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var p=performance;a.unstable_now=function(){return p.now()}}else{var y=Date,v=y.now();a.unstable_now=function(){return y.now()-v}}var T=[],E=[],R=1,x=null,A=3,D=!1,N=!1,H=!1,L=!1,q=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;function W(k){for(var ce=c(E);ce!==null;){if(ce.callback===null)s(E);else if(ce.startTime<=k)s(E),ce.sortIndex=ce.expirationTime,i(T,ce);else break;ce=c(E)}}function Y(k){if(H=!1,W(k),!N)if(c(T)!==null)N=!0,ne||(ne=!0,xe());else{var ce=c(E);ce!==null&&et(Y,ce.startTime-k)}}var ne=!1,ae=-1,V=5,Se=-1;function me(){return L?!0:!(a.unstable_now()-Se<V)}function Ne(){if(L=!1,ne){var k=a.unstable_now();Se=k;var ce=!0;try{e:{N=!1,H&&(H=!1,I(ae),ae=-1),D=!0;var Ee=A;try{t:{for(W(k),x=c(T);x!==null&&!(x.expirationTime>k&&me());){var ze=x.callback;if(typeof ze=="function"){x.callback=null,A=x.priorityLevel;var se=ze(x.expirationTime<=k);if(k=a.unstable_now(),typeof se=="function"){x.callback=se,W(k),ce=!0;break t}x===c(T)&&s(T),W(k)}else s(T);x=c(T)}if(x!==null)ce=!0;else{var j=c(E);j!==null&&et(Y,j.startTime-k),ce=!1}}break e}finally{x=null,A=Ee,D=!1}ce=void 0}}finally{ce?xe():ne=!1}}}var xe;if(typeof F=="function")xe=function(){F(Ne)};else if(typeof MessageChannel<"u"){var Ye=new MessageChannel,$e=Ye.port2;Ye.port1.onmessage=Ne,xe=function(){$e.postMessage(null)}}else xe=function(){q(Ne,0)};function et(k,ce){ae=q(function(){k(a.unstable_now())},ce)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(k){k.callback=null},a.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<k?Math.floor(1e3/k):5},a.unstable_getCurrentPriorityLevel=function(){return A},a.unstable_next=function(k){switch(A){case 1:case 2:case 3:var ce=3;break;default:ce=A}var Ee=A;A=ce;try{return k()}finally{A=Ee}},a.unstable_requestPaint=function(){L=!0},a.unstable_runWithPriority=function(k,ce){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var Ee=A;A=k;try{return ce()}finally{A=Ee}},a.unstable_scheduleCallback=function(k,ce,Ee){var ze=a.unstable_now();switch(typeof Ee=="object"&&Ee!==null?(Ee=Ee.delay,Ee=typeof Ee=="number"&&0<Ee?ze+Ee:ze):Ee=ze,k){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=Ee+se,k={id:R++,callback:ce,priorityLevel:k,startTime:Ee,expirationTime:se,sortIndex:-1},Ee>ze?(k.sortIndex=Ee,i(E,k),c(T)===null&&k===c(E)&&(H?(I(ae),ae=-1):H=!0,et(Y,Ee-ze))):(k.sortIndex=se,i(T,k),N||D||(N=!0,ne||(ne=!0,xe()))),k},a.unstable_shouldYield=me,a.unstable_wrapCallback=function(k){var ce=A;return function(){var Ee=A;A=ce;try{return k.apply(this,arguments)}finally{A=Ee}}}})(b1)),b1}var E1={};/**
59
+ * @license React
60
+ * scheduler.development.js
61
+ *
62
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
63
+ *
64
+ * This source code is licensed under the MIT license found in the
65
+ * LICENSE file in the root directory of this source tree.
66
+ */var bx;function bM(){return bx||(bx=1,(function(a){process.env.NODE_ENV!=="production"&&(function(){function i(){if(Y=!1,Se){var k=a.unstable_now();xe=k;var ce=!0;try{e:{F=!1,W&&(W=!1,ae(me),me=-1),I=!0;var Ee=q;try{t:{for(y(k),L=s(D);L!==null&&!(L.expirationTime>k&&T());){var ze=L.callback;if(typeof ze=="function"){L.callback=null,q=L.priorityLevel;var se=ze(L.expirationTime<=k);if(k=a.unstable_now(),typeof se=="function"){L.callback=se,y(k),ce=!0;break t}L===s(D)&&h(D),y(k)}else h(D);L=s(D)}if(L!==null)ce=!0;else{var j=s(N);j!==null&&E(v,j.startTime-k),ce=!1}}break e}finally{L=null,q=Ee,I=!1}ce=void 0}}finally{ce?Ye():Se=!1}}}function c(k,ce){var Ee=k.length;k.push(ce);e:for(;0<Ee;){var ze=Ee-1>>>1,se=k[ze];if(0<p(se,ce))k[ze]=ce,k[Ee]=se,Ee=ze;else break e}}function s(k){return k.length===0?null:k[0]}function h(k){if(k.length===0)return null;var ce=k[0],Ee=k.pop();if(Ee!==ce){k[0]=Ee;e:for(var ze=0,se=k.length,j=se>>>1;ze<j;){var J=2*(ze+1)-1,ue=k[J],re=J+1,De=k[re];if(0>p(ue,Ee))re<se&&0>p(De,ue)?(k[ze]=De,k[re]=Ee,ze=re):(k[ze]=ue,k[J]=Ee,ze=J);else if(re<se&&0>p(De,Ee))k[ze]=De,k[re]=Ee,ze=re;else break e}}return ce}function p(k,ce){var Ee=k.sortIndex-ce.sortIndex;return Ee!==0?Ee:k.id-ce.id}function y(k){for(var ce=s(N);ce!==null;){if(ce.callback===null)h(N);else if(ce.startTime<=k)h(N),ce.sortIndex=ce.expirationTime,c(D,ce);else break;ce=s(N)}}function v(k){if(W=!1,y(k),!F)if(s(D)!==null)F=!0,Se||(Se=!0,Ye());else{var ce=s(N);ce!==null&&E(v,ce.startTime-k)}}function T(){return Y?!0:!(a.unstable_now()-xe<Ne)}function E(k,ce){me=ne(function(){k(a.unstable_now())},ce)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var R=performance;a.unstable_now=function(){return R.now()}}else{var x=Date,A=x.now();a.unstable_now=function(){return x.now()-A}}var D=[],N=[],H=1,L=null,q=3,I=!1,F=!1,W=!1,Y=!1,ne=typeof setTimeout=="function"?setTimeout:null,ae=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null,Se=!1,me=-1,Ne=5,xe=-1;if(typeof V=="function")var Ye=function(){V(i)};else if(typeof MessageChannel<"u"){var $e=new MessageChannel,et=$e.port2;$e.port1.onmessage=i,Ye=function(){et.postMessage(null)}}else Ye=function(){ne(i,0)};a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(k){k.callback=null},a.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ne=0<k?Math.floor(1e3/k):5},a.unstable_getCurrentPriorityLevel=function(){return q},a.unstable_next=function(k){switch(q){case 1:case 2:case 3:var ce=3;break;default:ce=q}var Ee=q;q=ce;try{return k()}finally{q=Ee}},a.unstable_requestPaint=function(){Y=!0},a.unstable_runWithPriority=function(k,ce){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var Ee=q;q=k;try{return ce()}finally{q=Ee}},a.unstable_scheduleCallback=function(k,ce,Ee){var ze=a.unstable_now();switch(typeof Ee=="object"&&Ee!==null?(Ee=Ee.delay,Ee=typeof Ee=="number"&&0<Ee?ze+Ee:ze):Ee=ze,k){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=Ee+se,k={id:H++,callback:ce,priorityLevel:k,startTime:Ee,expirationTime:se,sortIndex:-1},Ee>ze?(k.sortIndex=Ee,c(N,k),s(D)===null&&k===s(N)&&(W?(ae(me),me=-1):W=!0,E(v,Ee-ze))):(k.sortIndex=se,c(D,k),F||I||(F=!0,Se||(Se=!0,Ye()))),k},a.unstable_shouldYield=T,a.unstable_wrapCallback=function(k){var ce=q;return function(){var Ee=q;q=ce;try{return k.apply(this,arguments)}finally{q=Ee}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(E1)),E1}var Ex;function Sx(){return Ex||(Ex=1,process.env.NODE_ENV==="production"?k0.exports=vM():k0.exports=bM()),k0.exports}var G0={exports:{}},Dl={};/**
67
+ * @license React
68
+ * react-dom.production.js
69
+ *
70
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
71
+ *
72
+ * This source code is licensed under the MIT license found in the
73
+ * LICENSE file in the root directory of this source tree.
74
+ */var Tx;function EM(){if(Tx)return Dl;Tx=1;var a=as();function i(T){var E="https://react.dev/errors/"+T;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var R=2;R<arguments.length;R++)E+="&args[]="+encodeURIComponent(arguments[R])}return"Minified React error #"+T+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var s={d:{f:c,r:function(){throw Error(i(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},h=Symbol.for("react.portal");function p(T,E,R){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:x==null?null:""+x,children:T,containerInfo:E,implementation:R}}var y=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(T,E){if(T==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return Dl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Dl.createPortal=function(T,E){var R=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(i(299));return p(T,E,null,R)},Dl.flushSync=function(T){var E=y.T,R=s.p;try{if(y.T=null,s.p=2,T)return T()}finally{y.T=E,s.p=R,s.d.f()}},Dl.preconnect=function(T,E){typeof T=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,s.d.C(T,E))},Dl.prefetchDNS=function(T){typeof T=="string"&&s.d.D(T)},Dl.preinit=function(T,E){if(typeof T=="string"&&E&&typeof E.as=="string"){var R=E.as,x=v(R,E.crossOrigin),A=typeof E.integrity=="string"?E.integrity:void 0,D=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;R==="style"?s.d.S(T,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:x,integrity:A,fetchPriority:D}):R==="script"&&s.d.X(T,{crossOrigin:x,integrity:A,fetchPriority:D,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},Dl.preinitModule=function(T,E){if(typeof T=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var R=v(E.as,E.crossOrigin);s.d.M(T,{crossOrigin:R,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&s.d.M(T)},Dl.preload=function(T,E){if(typeof T=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var R=E.as,x=v(R,E.crossOrigin);s.d.L(T,R,{crossOrigin:x,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},Dl.preloadModule=function(T,E){if(typeof T=="string")if(E){var R=v(E.as,E.crossOrigin);s.d.m(T,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:R,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else s.d.m(T)},Dl.requestFormReset=function(T){s.d.r(T)},Dl.unstable_batchedUpdates=function(T,E){return T(E)},Dl.useFormState=function(T,E,R){return y.H.useFormState(T,E,R)},Dl.useFormStatus=function(){return y.H.useHostTransitionStatus()},Dl.version="19.2.4",Dl}var wl={};/**
75
+ * @license React
76
+ * react-dom.development.js
77
+ *
78
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
79
+ *
80
+ * This source code is licensed under the MIT license found in the
81
+ * LICENSE file in the root directory of this source tree.
82
+ */var _x;function SM(){return _x||(_x=1,process.env.NODE_ENV!=="production"&&(function(){function a(){}function i(x){return""+x}function c(x,A,D){var N=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{i(N);var H=!1}catch{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&&N[Symbol.toStringTag]||N.constructor.name||"Object"),i(N)),{$$typeof:E,key:N==null?null:""+N,children:x,containerInfo:A,implementation:D}}function s(x,A){if(x==="font")return"";if(typeof A=="string")return A==="use-credentials"?A:""}function h(x){return x===null?"`null`":x===void 0?"`undefined`":x===""?"an empty string":'something with type "'+typeof x+'"'}function p(x){return x===null?"`null`":x===void 0?"`undefined`":x===""?"an empty string":typeof x=="string"?JSON.stringify(x):typeof x=="number"?"`"+x+"`":'something with type "'+typeof x+'"'}function y(){var x=R.H;return x===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:
83
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
84
+ 2. You might be breaking the Rules of Hooks
85
+ 3. You might have more than one copy of React in the same app
86
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),x}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var v=as(),T={d:{f:a,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},E=Symbol.for("react.portal"),R=v.__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"),wl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,wl.createPortal=function(x,A){var D=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!A||A.nodeType!==1&&A.nodeType!==9&&A.nodeType!==11)throw Error("Target container is not a DOM element.");return c(x,A,null,D)},wl.flushSync=function(x){var A=R.T,D=T.p;try{if(R.T=null,T.p=2,x)return x()}finally{R.T=A,T.p=D,T.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.")}},wl.preconnect=function(x,A){typeof x=="string"&&x?A!=null&&typeof A!="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.",p(A)):A!=null&&typeof A.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",h(A.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(x)),typeof x=="string"&&(A?(A=A.crossOrigin,A=typeof A=="string"?A==="use-credentials"?A:"":void 0):A=null,T.d.C(x,A))},wl.prefetchDNS=function(x){if(typeof x!="string"||!x)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(x));else if(1<arguments.length){var A=arguments[1];typeof A=="object"&&A.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`.",p(A)):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`.",p(A))}typeof x=="string"&&T.d.D(x)},wl.preinit=function(x,A){if(typeof x=="string"&&x?A==null||typeof A!="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.",p(A)):A.as!=="style"&&A.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".',p(A.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(x)),typeof x=="string"&&A&&typeof A.as=="string"){var D=A.as,N=s(D,A.crossOrigin),H=typeof A.integrity=="string"?A.integrity:void 0,L=typeof A.fetchPriority=="string"?A.fetchPriority:void 0;D==="style"?T.d.S(x,typeof A.precedence=="string"?A.precedence:void 0,{crossOrigin:N,integrity:H,fetchPriority:L}):D==="script"&&T.d.X(x,{crossOrigin:N,integrity:H,fetchPriority:L,nonce:typeof A.nonce=="string"?A.nonce:void 0})}},wl.preinitModule=function(x,A){var D="";if(typeof x=="string"&&x||(D+=" The `href` argument encountered was "+h(x)+"."),A!==void 0&&typeof A!="object"?D+=" The `options` argument encountered was "+h(A)+".":A&&"as"in A&&A.as!=="script"&&(D+=" The `as` option encountered was "+p(A.as)+"."),D)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",D);else switch(D=A&&typeof A.as=="string"?A.as:"script",D){case"script":break;default:D=p(D),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)',D,x)}typeof x=="string"&&(typeof A=="object"&&A!==null?(A.as==null||A.as==="script")&&(D=s(A.as,A.crossOrigin),T.d.M(x,{crossOrigin:D,integrity:typeof A.integrity=="string"?A.integrity:void 0,nonce:typeof A.nonce=="string"?A.nonce:void 0})):A==null&&T.d.M(x))},wl.preload=function(x,A){var D="";if(typeof x=="string"&&x||(D+=" The `href` argument encountered was "+h(x)+"."),A==null||typeof A!="object"?D+=" The `options` argument encountered was "+h(A)+".":typeof A.as=="string"&&A.as||(D+=" The `as` option encountered was "+h(A.as)+"."),D&&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',D),typeof x=="string"&&typeof A=="object"&&A!==null&&typeof A.as=="string"){D=A.as;var N=s(D,A.crossOrigin);T.d.L(x,D,{crossOrigin:N,integrity:typeof A.integrity=="string"?A.integrity:void 0,nonce:typeof A.nonce=="string"?A.nonce:void 0,type:typeof A.type=="string"?A.type:void 0,fetchPriority:typeof A.fetchPriority=="string"?A.fetchPriority:void 0,referrerPolicy:typeof A.referrerPolicy=="string"?A.referrerPolicy:void 0,imageSrcSet:typeof A.imageSrcSet=="string"?A.imageSrcSet:void 0,imageSizes:typeof A.imageSizes=="string"?A.imageSizes:void 0,media:typeof A.media=="string"?A.media:void 0})}},wl.preloadModule=function(x,A){var D="";typeof x=="string"&&x||(D+=" The `href` argument encountered was "+h(x)+"."),A!==void 0&&typeof A!="object"?D+=" The `options` argument encountered was "+h(A)+".":A&&"as"in A&&typeof A.as!="string"&&(D+=" The `as` option encountered was "+h(A.as)+"."),D&&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',D),typeof x=="string"&&(A?(D=s(A.as,A.crossOrigin),T.d.m(x,{as:typeof A.as=="string"&&A.as!=="script"?A.as:void 0,crossOrigin:D,integrity:typeof A.integrity=="string"?A.integrity:void 0})):T.d.m(x))},wl.requestFormReset=function(x){T.d.r(x)},wl.unstable_batchedUpdates=function(x,A){return x(A)},wl.useFormState=function(x,A,D){return y().useFormState(x,A,D)},wl.useFormStatus=function(){return y().useHostTransitionStatus()},wl.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),wl}var Ox;function S1(){if(Ox)return G0.exports;Ox=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}}return process.env.NODE_ENV==="production"?(a(),G0.exports=EM()):G0.exports=SM(),G0.exports}/**
87
+ * @license React
88
+ * react-dom-client.production.js
89
+ *
90
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
91
+ *
92
+ * This source code is licensed under the MIT license found in the
93
+ * LICENSE file in the root directory of this source tree.
94
+ */var xx;function TM(){if(xx)return dy;xx=1;var a=Sx(),i=as(),c=S1();function s(n){var r="https://react.dev/errors/"+n;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function p(n){var r=n,o=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,(r.flags&4098)!==0&&(o=r.return),n=r.return;while(n)}return r.tag===3?o:null}function y(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function v(n){if(n.tag===31){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function T(n){if(p(n)!==n)throw Error(s(188))}function E(n){var r=n.alternate;if(!r){if(r=p(n),r===null)throw Error(s(188));return r!==n?null:n}for(var o=n,f=r;;){var g=o.return;if(g===null)break;var b=g.alternate;if(b===null){if(f=g.return,f!==null){o=f;continue}break}if(g.child===b.child){for(b=g.child;b;){if(b===o)return T(g),n;if(b===f)return T(g),r;b=b.sibling}throw Error(s(188))}if(o.return!==f.return)o=g,f=b;else{for(var C=!1,B=g.child;B;){if(B===o){C=!0,o=g,f=b;break}if(B===f){C=!0,f=g,o=b;break}B=B.sibling}if(!C){for(B=b.child;B;){if(B===o){C=!0,o=b,f=g;break}if(B===f){C=!0,f=b,o=g;break}B=B.sibling}if(!C)throw Error(s(189))}}if(o.alternate!==f)throw Error(s(190))}if(o.tag!==3)throw Error(s(188));return o.stateNode.current===o?n:r}function R(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n;for(n=n.child;n!==null;){if(r=R(n),r!==null)return r;n=n.sibling}return null}var x=Object.assign,A=Symbol.for("react.element"),D=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),F=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),ne=Symbol.for("react.suspense_list"),ae=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),Se=Symbol.for("react.activity"),me=Symbol.for("react.memo_cache_sentinel"),Ne=Symbol.iterator;function xe(n){return n===null||typeof n!="object"?null:(n=Ne&&n[Ne]||n["@@iterator"],typeof n=="function"?n:null)}var Ye=Symbol.for("react.client.reference");function $e(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Ye?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case H:return"Fragment";case q:return"Profiler";case L:return"StrictMode";case Y:return"Suspense";case ne:return"SuspenseList";case Se:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case N:return"Portal";case F:return n.displayName||"Context";case I:return(n._context.displayName||"Context")+".Consumer";case W:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ae:return r=n.displayName||null,r!==null?r:$e(n.type)||"Memo";case V:r=n._payload,n=n._init;try{return $e(n(r))}catch{}}return null}var et=Array.isArray,k=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ce=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ee={pending:!1,data:null,method:null,action:null},ze=[],se=-1;function j(n){return{current:n}}function J(n){0>se||(n.current=ze[se],ze[se]=null,se--)}function ue(n,r){se++,ze[se]=n.current,n.current=r}var re=j(null),De=j(null),Ue=j(null),Me=j(null);function We(n,r){switch(ue(Ue,r),ue(De,n),ue(re,null),r.nodeType){case 9:case 11:n=(n=r.documentElement)&&(n=n.namespaceURI)?cS(n):0;break;default:if(n=r.tagName,r=r.namespaceURI)r=cS(r),n=Nv(r,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}J(re),ue(re,n)}function Qe(){J(re),J(De),J(Ue)}function ot(n){n.memoizedState!==null&&ue(Me,n);var r=re.current,o=Nv(r,n.type);r!==o&&(ue(De,n),ue(re,o))}function Le(n){De.current===n&&(J(re),J(De)),Me.current===n&&(J(Me),rh._currentValue=Ee)}var Ve,Ct;function tn(n){if(Ve===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);Ve=r&&r[1]||"",Ct=-1<o.stack.indexOf(`
95
+ at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
96
+ `+Ve+n+Ct}var Mt=!1;function qt(n,r){if(!n||Mt)return"";Mt=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(r){var Re=function(){throw Error()};if(Object.defineProperty(Re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Re,[])}catch(be){var he=be}Reflect.construct(n,[],Re)}else{try{Re.call()}catch(be){he=be}n.call(Re.prototype)}}else{try{throw Error()}catch(be){he=be}(Re=n())&&typeof Re.catch=="function"&&Re.catch(function(){})}}catch(be){if(be&&he&&typeof be.stack=="string")return[be.stack,he.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var b=f.DetermineComponentFrameRoot(),C=b[0],B=b[1];if(C&&B){var Z=C.split(`
97
+ `),de=B.split(`
98
+ `);for(g=f=0;f<Z.length&&!Z[f].includes("DetermineComponentFrameRoot");)f++;for(;g<de.length&&!de[g].includes("DetermineComponentFrameRoot");)g++;if(f===Z.length||g===de.length)for(f=Z.length-1,g=de.length-1;1<=f&&0<=g&&Z[f]!==de[g];)g--;for(;1<=f&&0<=g;f--,g--)if(Z[f]!==de[g]){if(f!==1||g!==1)do if(f--,g--,0>g||Z[f]!==de[g]){var Te=`
99
+ `+Z[f].replace(" at new "," at ");return n.displayName&&Te.includes("<anonymous>")&&(Te=Te.replace("<anonymous>",n.displayName)),Te}while(1<=f&&0<=g);break}}}finally{Mt=!1,Error.prepareStackTrace=o}return(o=n?n.displayName||n.name:"")?tn(o):""}function cn(n,r){switch(n.tag){case 26:case 27:case 5:return tn(n.type);case 16:return tn("Lazy");case 13:return n.child!==r&&r!==null?tn("Suspense Fallback"):tn("Suspense");case 19:return tn("SuspenseList");case 0:case 15:return qt(n.type,!1);case 11:return qt(n.type.render,!1);case 1:return qt(n.type,!0);case 31:return tn("Activity");default:return""}}function $r(n){try{var r="",o=null;do r+=cn(n,o),o=n,n=n.return;while(n);return r}catch(f){return`
100
+ Error generating stack: `+f.message+`
101
+ `+f.stack}}var To=Object.prototype.hasOwnProperty,Je=a.unstable_scheduleCallback,Er=a.unstable_cancelCallback,jl=a.unstable_shouldYield,Qr=a.unstable_requestPaint,Mn=a.unstable_now,zl=a.unstable_getCurrentPriorityLevel,xt=a.unstable_ImmediatePriority,Wa=a.unstable_UserBlockingPriority,Aa=a.unstable_NormalPriority,Ul=a.unstable_LowPriority,Pa=a.unstable_IdlePriority,lu=a.log,_o=a.unstable_setDisableYieldValue,el=null,Wn=null;function Yn(n){if(typeof lu=="function"&&_o(n),Wn&&typeof Wn.setStrictMode=="function")try{Wn.setStrictMode(el,n)}catch{}}var Pn=Math.clz32?Math.clz32:ie,Xr=Math.log,U=Math.LN2;function ie(n){return n>>>=0,n===0?32:31-(Xr(n)/U|0)|0}var we=256,Be=262144,Fe=4194304;function ct(n){var r=n&42;if(r!==0)return r;switch(n&-n){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 n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function tt(n,r,o){var f=n.pendingLanes;if(f===0)return 0;var g=0,b=n.suspendedLanes,C=n.pingedLanes;n=n.warmLanes;var B=f&134217727;return B!==0?(f=B&~b,f!==0?g=ct(f):(C&=B,C!==0?g=ct(C):o||(o=B&~n,o!==0&&(g=ct(o))))):(B=f&~b,B!==0?g=ct(B):C!==0?g=ct(C):o||(o=f&~n,o!==0&&(g=ct(o)))),g===0?0:r!==0&&r!==g&&(r&b)===0&&(b=g&-g,o=r&-r,b>=o||b===32&&(o&4194048)!==0)?r:g}function Dt(n,r){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&r)===0}function bt(n,r){switch(n){case 1:case 2:case 4:case 8:case 64:return r+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 r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ga(){var n=Fe;return Fe<<=1,(Fe&62914560)===0&&(Fe=4194304),n}function $a(n){for(var r=[],o=0;31>o;o++)r.push(n);return r}function Fl(n,r){n.pendingLanes|=r,r!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function Oo(n,r,o,f,g,b){var C=n.pendingLanes;n.pendingLanes=o,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=o,n.entangledLanes&=o,n.errorRecoveryDisabledLanes&=o,n.shellSuspendCounter=0;var B=n.entanglements,Z=n.expirationTimes,de=n.hiddenUpdates;for(o=C&~o;0<o;){var Te=31-Pn(o),Re=1<<Te;B[Te]=0,Z[Te]=-1;var he=de[Te];if(he!==null)for(de[Te]=null,Te=0;Te<he.length;Te++){var be=he[Te];be!==null&&(be.lane&=-536870913)}o&=~Re}f!==0&&Ku(n,f,0),b!==0&&g===0&&n.tag!==0&&(n.suspendedLanes|=b&~(C&~r))}function Ku(n,r,o){n.pendingLanes|=r,n.suspendedLanes&=~r;var f=31-Pn(r);n.entangledLanes|=r,n.entanglements[f]=n.entanglements[f]|1073741824|o&261930}function Sr(n,r){var o=n.entangledLanes|=r;for(n=n.entanglements;o;){var f=31-Pn(o),g=1<<f;g&r|n[f]&r&&(n[f]|=r),o&=~g}}function $(n,r){var o=r&-r;return o=(o&42)!==0?1:le(o),(o&(n.suspendedLanes|r))!==0?0:o}function le(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function ye(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function je(){var n=ce.p;return n!==0?n:(n=window.event,n===void 0?32:ih(n.type))}function He(n,r){var o=ce.p;try{return ce.p=n,r()}finally{ce.p=o}}var Ke=Math.random().toString(36).slice(2),qe="__reactFiber$"+Ke,Xe="__reactProps$"+Ke,Ze="__reactContainer$"+Ke,rt="__reactEvents$"+Ke,mt="__reactListeners$"+Ke,lt="__reactHandles$"+Ke,wt="__reactResources$"+Ke,_t="__reactMarker$"+Ke;function yn(n){delete n[qe],delete n[Xe],delete n[rt],delete n[mt],delete n[lt]}function On(n){var r=n[qe];if(r)return r;for(var o=n.parentNode;o;){if(r=o[Ze]||o[qe]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(n=mi(n);n!==null;){if(o=n[qe])return o;n=mi(n)}return r}n=o,o=n.parentNode}return null}function kn(n){if(n=n[qe]||n[Ze]){var r=n.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return n}return null}function Jt(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n.stateNode;throw Error(s(33))}function ca(n){var r=n[wt];return r||(r=n[wt]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Gt(n){n[_t]=!0}var Kl=new Set,Qa={};function va(n,r){Ll(n,r),Ll(n+"Capture",r)}function Ll(n,r){for(Qa[n]=r,n=0;n<r.length;n++)Kl.add(r[n])}var Ai=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]*$"),Tr={},Zr={};function Ir(n){return To.call(Zr,n)?!0:To.call(Tr,n)?!1:Ai.test(n)?Zr[n]=!0:(Tr[n]=!0,!1)}function Ut(n,r,o){if(Ir(r))if(o===null)n.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":n.removeAttribute(r);return;case"boolean":var f=r.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){n.removeAttribute(r);return}}n.setAttribute(r,""+o)}}function ea(n,r,o){if(o===null)n.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttribute(r,""+o)}}function tl(n,r,o,f){if(f===null)n.removeAttribute(o);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(o);return}n.setAttributeNS(r,o,""+f)}}function ta(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function _n(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function ru(n,r,o){var f=Object.getOwnPropertyDescriptor(n.constructor.prototype,r);if(!n.hasOwnProperty(r)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var g=f.get,b=f.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return g.call(this)},set:function(C){o=""+C,b.call(this,C)}}),Object.defineProperty(n,r,{enumerable:f.enumerable}),{getValue:function(){return o},setValue:function(C){o=""+C},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Wu(n){if(!n._valueTracker){var r=_n(n)?"checked":"value";n._valueTracker=ru(n,r,""+n[r])}}function Zf(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var o=r.getValue(),f="";return n&&(f=_n(n)?n.checked?"true":"false":n.value),n=f,n!==o?(r.setValue(n),!0):!1}function If(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var Y_=/[\n"\\]/g;function Wl(n){return n.replace(Y_,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function Jf(n,r,o,f,g,b,C,B){n.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?n.type=C:n.removeAttribute("type"),r!=null?C==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=""+ta(r)):n.value!==""+ta(r)&&(n.value=""+ta(r)):C!=="submit"&&C!=="reset"||n.removeAttribute("value"),r!=null?Pu(n,C,ta(r)):o!=null?Pu(n,C,ta(o)):f!=null&&n.removeAttribute("value"),g==null&&b!=null&&(n.defaultChecked=!!b),g!=null&&(n.checked=g&&typeof g!="function"&&typeof g!="symbol"),B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?n.name=""+ta(B):n.removeAttribute("name")}function Ff(n,r,o,f,g,b,C,B){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(n.type=b),r!=null||o!=null){if(!(b!=="submit"&&b!=="reset"||r!=null)){Wu(n);return}o=o!=null?""+ta(o):"",r=r!=null?""+ta(r):o,B||r===n.value||(n.value=r),n.defaultValue=r}f=f??g,f=typeof f!="function"&&typeof f!="symbol"&&!!f,n.checked=B?n.checked:!!f,n.defaultChecked=!!f,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(n.name=C),Wu(n)}function Pu(n,r,o){r==="number"&&If(n.ownerDocument)===n||n.defaultValue===""+o||(n.defaultValue=""+o)}function ds(n,r,o,f){if(n=n.options,r){r={};for(var g=0;g<o.length;g++)r["$"+o[g]]=!0;for(o=0;o<n.length;o++)g=r.hasOwnProperty("$"+n[o].value),n[o].selected!==g&&(n[o].selected=g),g&&f&&(n[o].defaultSelected=!0)}else{for(o=""+ta(o),r=null,g=0;g<n.length;g++){if(n[g].value===o){n[g].selected=!0,f&&(n[g].defaultSelected=!0);return}r!==null||n[g].disabled||(r=n[g])}r!==null&&(r.selected=!0)}}function Iy(n,r,o){if(r!=null&&(r=""+ta(r),r!==n.value&&(n.value=r),o==null)){n.defaultValue!==r&&(n.defaultValue=r);return}n.defaultValue=o!=null?""+ta(o):""}function Jy(n,r,o,f){if(r==null){if(f!=null){if(o!=null)throw Error(s(92));if(et(f)){if(1<f.length)throw Error(s(93));f=f[0]}o=f}o==null&&(o=""),r=o}o=ta(r),n.defaultValue=o,f=n.textContent,f===o&&f!==""&&f!==null&&(n.value=f),Wu(n)}function Ci(n,r){if(r){var o=n.firstChild;if(o&&o===n.lastChild&&o.nodeType===3){o.nodeValue=r;return}}n.textContent=r}var Wb=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(" "));function Pb(n,r,o){var f=r.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?f?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="":f?n.setProperty(r,o):typeof o!="number"||o===0||Wb.has(r)?r==="float"?n.cssFloat=o:n[r]=(""+o).trim():n[r]=o+"px"}function eE(n,r,o){if(r!=null&&typeof r!="object")throw Error(s(62));if(n=n.style,o!=null){for(var f in o)!o.hasOwnProperty(f)||r!=null&&r.hasOwnProperty(f)||(f.indexOf("--")===0?n.setProperty(f,""):f==="float"?n.cssFloat="":n[f]="");for(var g in r)f=r[g],r.hasOwnProperty(g)&&o[g]!==f&&Pb(n,g,f)}else for(var b in r)r.hasOwnProperty(b)&&Pb(n,b,r[b])}function Fy(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var k_=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"]]),Kf=/^[\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;function _r(n){return Kf.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Jr(){}var Ph=null;function ep(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Di=null,ec=null;function Wf(n){var r=kn(n);if(r&&(n=r.stateNode)){var o=n[Xe]||null;e:switch(n=r.stateNode,r.type){case"input":if(Jf(n,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),r=o.name,o.type==="radio"&&r!=null){for(o=n;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Wl(""+r)+'"][type="radio"]'),r=0;r<o.length;r++){var f=o[r];if(f!==n&&f.form===n.form){var g=f[Xe]||null;if(!g)throw Error(s(90));Jf(f,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(r=0;r<o.length;r++)f=o[r],f.form===n.form&&Zf(f)}break e;case"textarea":Iy(n,o.value,o.defaultValue);break e;case"select":r=o.value,r!=null&&ds(n,!!o.multiple,r,!1)}}}var hs=!1;function Ky(n,r,o){if(hs)return n(r,o);hs=!0;try{var f=n(r);return f}finally{if(hs=!1,(Di!==null||ec!==null)&&(Js(),Di&&(r=Di,n=ec,ec=Di=null,Wf(r),n)))for(r=0;r<n.length;r++)Wf(n[r])}}function Ca(n,r){var o=n.stateNode;if(o===null)return null;var f=o[Xe]||null;if(f===null)return null;o=f[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break e;default:n=!1}if(n)return null;if(o&&typeof o!="function")throw Error(s(231,r,typeof o));return o}var xo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pf=!1;if(xo)try{var ps={};Object.defineProperty(ps,"passive",{get:function(){Pf=!0}}),window.addEventListener("test",ps,ps),window.removeEventListener("test",ps,ps)}catch{Pf=!1}var Ro=null,Wy=null,tp=null;function Py(){if(tp)return tp;var n,r=Wy,o=r.length,f,g="value"in Ro?Ro.value:Ro.textContent,b=g.length;for(n=0;n<o&&r[n]===g[n];n++);var C=o-n;for(f=1;f<=C&&r[o-f]===g[b-f];f++);return tp=g.slice(n,1<f?1-f:void 0)}function np(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function ed(){return!0}function tE(){return!1}function Xa(n){function r(o,f,g,b,C){this._reactName=o,this._targetInst=g,this.type=f,this.nativeEvent=b,this.target=C,this.currentTarget=null;for(var B in n)n.hasOwnProperty(B)&&(o=n[B],this[B]=o?o(b):b[B]);return this.isDefaultPrevented=(b.defaultPrevented!=null?b.defaultPrevented:b.returnValue===!1)?ed:tE,this.isPropagationStopped=tE,this}return x(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=ed)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=ed)},persist:function(){},isPersistent:ed}),r}var iu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=Xa(iu),ms=x({},iu,{view:0,detail:0}),G_=Xa(ms),eg,tg,nd,ap=x({},ms,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Or,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==nd&&(nd&&n.type==="mousemove"?(eg=n.screenX-nd.screenX,tg=n.screenY-nd.screenY):tg=eg=0,nd=n),eg)},movementY:function(n){return"movementY"in n?n.movementY:tg}}),ys=Xa(ap),nE=x({},ap,{dataTransfer:0}),aE=Xa(nE),lE=x({},ms,{relatedTarget:0}),lp=Xa(lE),ng=x({},iu,{animationName:0,elapsedTime:0,pseudoElement:0}),rE=Xa(ng),tc=x({},iu,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),nc=Xa(tc),Fr=x({},iu,{data:0}),iE=Xa(Fr),ag={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wi={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"},oE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Kr(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=oE[n])?!!r[n]:!1}function Or(){return Kr}var rp=x({},ms,{key:function(n){if(n.key){var r=ag[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=np(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?wi[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Or,charCode:function(n){return n.type==="keypress"?np(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?np(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),ip=Xa(rp),lg=x({},ap,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wr=Xa(lg),$_=x({},ms,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Or}),uE=Xa($_),cE=x({},iu,{propertyName:0,elapsedTime:0,pseudoElement:0}),Q_=Xa(cE),rg=x({},ap,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),X_=Xa(rg),sE=x({},iu,{newState:0,oldState:0}),ig=Xa(sE),op=[9,13,27,32],gs=xo&&"CompositionEvent"in window,ac=null;xo&&"documentMode"in document&&(ac=document.documentMode);var nl=xo&&"TextEvent"in window&&!ac,og=xo&&(!gs||ac&&8<ac&&11>=ac),ad=" ",ou=!1;function up(n,r){switch(n){case"keyup":return op.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ug(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var lc=!1;function fE(n,r){switch(n){case"compositionend":return ug(r);case"keypress":return r.which!==32?null:(ou=!0,ad);case"textInput":return n=r.data,n===ad&&ou?null:n;default:return null}}function Z_(n,r){if(lc)return n==="compositionend"||!gs&&up(n,r)?(n=Py(),tp=Wy=Ro=null,lc=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return og&&r.locale!=="ko"?null:r.data;default:return null}}var cg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Mi(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!cg[n.type]:r==="textarea"}function sg(n,r,o,f){Di?ec?ec.push(f):ec=[f]:Di=f,r=Pd(r,"onChange"),0<r.length&&(o=new td("onChange","change",null,o,f),n.push({event:o,listeners:r}))}var rc=null,uu=null;function ic(n){iS(n,0)}function vs(n){var r=Jt(n);if(Zf(r))return n}function fg(n,r){if(n==="change")return r}var cp=!1;if(xo){var hl;if(xo){var Pr="oninput"in document;if(!Pr){var dg=document.createElement("div");dg.setAttribute("oninput","return;"),Pr=typeof dg.oninput=="function"}hl=Pr}else hl=!1;cp=hl&&(!document.documentMode||9<document.documentMode)}function sp(){rc&&(rc.detachEvent("onpropertychange",fp),uu=rc=null)}function fp(n){if(n.propertyName==="value"&&vs(uu)){var r=[];sg(r,uu,n,ep(n)),Ky(ic,r)}}function dE(n,r,o){n==="focusin"?(sp(),rc=r,uu=o,rc.attachEvent("onpropertychange",fp)):n==="focusout"&&sp()}function hE(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return vs(uu)}function cu(n,r){if(n==="click")return vs(r)}function oc(n,r){if(n==="input"||n==="change")return vs(r)}function pE(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var al=typeof Object.is=="function"?Object.is:pE;function xr(n,r){if(al(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var o=Object.keys(n),f=Object.keys(r);if(o.length!==f.length)return!1;for(f=0;f<o.length;f++){var g=o[f];if(!To.call(r,g)||!al(n[g],r[g]))return!1}return!0}function hg(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function pg(n,r){var o=hg(n);n=0;for(var f;o;){if(o.nodeType===3){if(f=n+o.textContent.length,n<=r&&f>=r)return{node:o,offset:r-n};n=f}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=hg(o)}}function uc(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?uc(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function su(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var r=If(n.document);r instanceof n.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)n=r.contentWindow;else break;r=If(n.document)}return r}function ld(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}var rd=xo&&"documentMode"in document&&11>=document.documentMode,fu=null,bs=null,Rr=null,ei=!1;function dp(n,r,o){var f=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;ei||fu==null||fu!==If(f)||(f=fu,"selectionStart"in f&&ld(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Rr&&xr(Rr,f)||(Rr=f,f=Pd(bs,"onSelect"),0<f.length&&(r=new td("onSelect","select",null,r,o),n.push({event:r,listeners:f}),r.target=fu)))}function Ao(n,r){var o={};return o[n.toLowerCase()]=r.toLowerCase(),o["Webkit"+n]="webkit"+r,o["Moz"+n]="moz"+r,o}var ti={animationend:Ao("Animation","AnimationEnd"),animationiteration:Ao("Animation","AnimationIteration"),animationstart:Ao("Animation","AnimationStart"),transitionrun:Ao("Transition","TransitionRun"),transitionstart:Ao("Transition","TransitionStart"),transitioncancel:Ao("Transition","TransitionCancel"),transitionend:Ao("Transition","TransitionEnd")},Es={},du={};xo&&(du=document.createElement("div").style,"AnimationEvent"in window||(delete ti.animationend.animation,delete ti.animationiteration.animation,delete ti.animationstart.animation),"TransitionEvent"in window||delete ti.transitionend.transition);function ln(n){if(Es[n])return Es[n];if(!ti[n])return n;var r=ti[n],o;for(o in r)if(r.hasOwnProperty(o)&&o in du)return Es[n]=r[o];return n}var id=ln("animationend"),mg=ln("animationiteration"),hp=ln("animationstart"),cc=ln("transitionrun"),od=ln("transitionstart"),Ni=ln("transitioncancel"),mE=ln("transitionend"),ji=new Map,Ss="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(" ");Ss.push("scrollEnd");function pl(n,r){ji.set(n,r),va(r,[n])}var sc=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},zn=[],Da=0,Ar=0;function Pl(){for(var n=Da,r=Ar=Da=0;r<n;){var o=zn[r];zn[r++]=null;var f=zn[r];zn[r++]=null;var g=zn[r];zn[r++]=null;var b=zn[r];if(zn[r++]=null,f!==null&&g!==null){var C=f.pending;C===null?g.next=g:(g.next=C.next,C.next=g),f.pending=g}b!==0&&pp(o,g,b)}}function er(n,r,o,f){zn[Da++]=n,zn[Da++]=r,zn[Da++]=o,zn[Da++]=f,Ar|=f,n.lanes|=f,n=n.alternate,n!==null&&(n.lanes|=f)}function Cr(n,r,o,f){return er(n,r,o,f),ud(n)}function Co(n,r){return er(n,null,null,r),ud(n)}function pp(n,r,o){n.lanes|=o;var f=n.alternate;f!==null&&(f.lanes|=o);for(var g=!1,b=n.return;b!==null;)b.childLanes|=o,f=b.alternate,f!==null&&(f.childLanes|=o),b.tag===22&&(n=b.stateNode,n===null||n._visibility&1||(g=!0)),n=b,b=b.return;return n.tag===3?(b=n.stateNode,g&&r!==null&&(g=31-Pn(o),n=b.hiddenUpdates,f=n[g],f===null?n[g]=[r]:f.push(r),r.lane=o|536870912),b):null}function ud(n){if(50<Is)throw Is=0,$d=null,Error(s(185));for(var r=n.return;r!==null;)n=r,r=n.return;return n.tag===3?n.stateNode:null}var ml={};function yE(n,r,o,f){this.tag=n,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Zn(n,r,o,f){return new yE(n,r,o,f)}function fc(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Do(n,r){var o=n.alternate;return o===null?(o=Zn(n.tag,r,n.key,n.mode),o.elementType=n.elementType,o.type=n.type,o.stateNode=n.stateNode,o.alternate=n,n.alternate=o):(o.pendingProps=r,o.type=n.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=n.flags&65011712,o.childLanes=n.childLanes,o.lanes=n.lanes,o.child=n.child,o.memoizedProps=n.memoizedProps,o.memoizedState=n.memoizedState,o.updateQueue=n.updateQueue,r=n.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=n.sibling,o.index=n.index,o.ref=n.ref,o.refCleanup=n.refCleanup,o}function yg(n,r){n.flags&=65011714;var o=n.alternate;return o===null?(n.childLanes=0,n.lanes=r,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=o.childLanes,n.lanes=o.lanes,n.child=o.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=o.memoizedProps,n.memoizedState=o.memoizedState,n.updateQueue=o.updateQueue,n.type=o.type,r=o.dependencies,n.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),n}function mp(n,r,o,f,g,b){var C=0;if(f=n,typeof n=="function")fc(n)&&(C=1);else if(typeof n=="string")C=Vv(n,o,re.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case Se:return n=Zn(31,o,r,g),n.elementType=Se,n.lanes=b,n;case H:return wo(o.children,g,b,r);case L:C=8,g|=24;break;case q:return n=Zn(12,o,r,g|2),n.elementType=q,n.lanes=b,n;case Y:return n=Zn(13,o,r,g),n.elementType=Y,n.lanes=b,n;case ne:return n=Zn(19,o,r,g),n.elementType=ne,n.lanes=b,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case F:C=10;break e;case I:C=9;break e;case W:C=11;break e;case ae:C=14;break e;case V:C=16,f=null;break e}C=29,o=Error(s(130,n===null?"null":typeof n,"")),f=null}return r=Zn(C,o,r,g),r.elementType=n,r.type=f,r.lanes=b,r}function wo(n,r,o,f){return n=Zn(7,n,f,r),n.lanes=o,n}function Ts(n,r,o){return n=Zn(6,n,null,r),n.lanes=o,n}function gg(n){var r=Zn(18,null,null,0);return r.stateNode=n,r}function yp(n,r,o){return r=Zn(4,n.children!==null?n.children:[],n.key,r),r.lanes=o,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}var vg=new WeakMap;function tr(n,r){if(typeof n=="object"&&n!==null){var o=vg.get(n);return o!==void 0?o:(r={value:n,source:r,stack:$r(r)},vg.set(n,r),r)}return{value:n,source:r,stack:$r(r)}}var nr=[],dc=0,cd=null,na=0,Bl=[],yl=0,ni=null,Hl=1,ai="";function Dr(n,r){nr[dc++]=na,nr[dc++]=cd,cd=n,na=r}function bg(n,r,o){Bl[yl++]=Hl,Bl[yl++]=ai,Bl[yl++]=ni,ni=n;var f=Hl;n=ai;var g=32-Pn(f)-1;f&=~(1<<g),o+=1;var b=32-Pn(r)+g;if(30<b){var C=g-g%5;b=(f&(1<<C)-1).toString(32),f>>=C,g-=C,Hl=1<<32-Pn(r)+g|o<<g|f,ai=b+n}else Hl=1<<b|o<<g|f,ai=n}function _s(n){n.return!==null&&(Dr(n,1),bg(n,1,0))}function gp(n){for(;n===cd;)cd=nr[--dc],nr[dc]=null,na=nr[--dc],nr[dc]=null;for(;n===ni;)ni=Bl[--yl],Bl[yl]=null,ai=Bl[--yl],Bl[yl]=null,Hl=Bl[--yl],Bl[yl]=null}function sd(n,r){Bl[yl++]=Hl,Bl[yl++]=ai,Bl[yl++]=ni,Hl=r.id,ai=r.overflow,ni=n}var wa=null,xn=null,Qt=!1,zi=null,ba=!1,Ui=Error(s(519));function wr(n){var r=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw xs(tr(r,n)),Ui}function fd(n){var r=n.stateNode,o=n.type,f=n.memoizedProps;switch(r[qe]=n,r[Xe]=f,o){case"dialog":$t("cancel",r),$t("close",r);break;case"iframe":case"object":case"embed":$t("load",r);break;case"video":case"audio":for(o=0;o<ef.length;o++)$t(ef[o],r);break;case"source":$t("error",r);break;case"img":case"image":case"link":$t("error",r),$t("load",r);break;case"details":$t("toggle",r);break;case"input":$t("invalid",r),Ff(r,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"select":$t("invalid",r);break;case"textarea":$t("invalid",r),Jy(r,f.value,f.defaultValue,f.children)}o=f.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||r.textContent===""+o||f.suppressHydrationWarning===!0||Cv(r.textContent,o)?(f.popover!=null&&($t("beforetoggle",r),$t("toggle",r)),f.onScroll!=null&&$t("scroll",r),f.onScrollEnd!=null&&$t("scrollend",r),f.onClick!=null&&(r.onclick=Jr),r=!0):r=!1,r||wr(n,!0)}function Os(n){for(wa=n.return;wa;)switch(wa.tag){case 5:case 31:case 13:ba=!1;return;case 27:case 3:ba=!0;return;default:wa=wa.return}}function Li(n){if(n!==wa)return!1;if(!Qt)return Os(n),Qt=!0,!1;var r=n.tag,o;if((o=r!==3&&r!==27)&&((o=r===5)&&(o=n.type,o=!(o!=="form"&&o!=="button")||nf(n.type,n.memoizedProps)),o=!o),o&&xn&&wr(n),Os(n),r===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));xn=Em(n)}else if(r===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));xn=Em(n)}else r===27?(r=xn,pi(n.type)?(n=nh,nh=null,xn=n):xn=r):xn=wa?Rl(n.stateNode.nextSibling):null;return!0}function hu(){xn=wa=null,Qt=!1}function Eg(){var n=zi;return n!==null&&(Qn===null?Qn=n:Qn.push.apply(Qn,n),zi=null),n}function xs(n){zi===null?zi=[n]:zi.push(n)}var vp=j(null),Mo=null,li=null;function gl(n,r,o){ue(vp,r._currentValue),r._currentValue=o}function ri(n){n._currentValue=vp.current,J(vp)}function bp(n,r,o){for(;n!==null;){var f=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,f!==null&&(f.childLanes|=r)):f!==null&&(f.childLanes&r)!==r&&(f.childLanes|=r),n===o)break;n=n.return}}function Bi(n,r,o,f){var g=n.child;for(g!==null&&(g.return=n);g!==null;){var b=g.dependencies;if(b!==null){var C=g.child;b=b.firstContext;e:for(;b!==null;){var B=b;b=g;for(var Z=0;Z<r.length;Z++)if(B.context===r[Z]){b.lanes|=o,B=b.alternate,B!==null&&(B.lanes|=o),bp(b.return,o,n),f||(C=null);break e}b=B.next}}else if(g.tag===18){if(C=g.return,C===null)throw Error(s(341));C.lanes|=o,b=C.alternate,b!==null&&(b.lanes|=o),bp(C,o,n),C=null}else C=g.child;if(C!==null)C.return=g;else for(C=g;C!==null;){if(C===n){C=null;break}if(g=C.sibling,g!==null){g.return=C.return,C=g;break}C=C.return}g=C}}function Ma(n,r,o,f){n=null;for(var g=r,b=!1;g!==null;){if(!b){if((g.flags&524288)!==0)b=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var C=g.alternate;if(C===null)throw Error(s(387));if(C=C.memoizedProps,C!==null){var B=g.type;al(g.pendingProps.value,C.value)||(n!==null?n.push(B):n=[B])}}else if(g===Me.current){if(C=g.alternate,C===null)throw Error(s(387));C.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(n!==null?n.push(rh):n=[rh])}g=g.return}n!==null&&Bi(r,n,o,f),r.flags|=262144}function hc(n){for(n=n.firstContext;n!==null;){if(!al(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Et(n){Mo=n,li=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Ce(n){return dd(Mo,n)}function No(n,r){return Mo===null&&Et(n),dd(n,r)}function dd(n,r){var o=r._currentValue;if(r={context:r,memoizedValue:o,next:null},li===null){if(n===null)throw Error(s(308));li=r,n.dependencies={lanes:0,firstContext:r},n.flags|=524288}else li=li.next=r;return o}var In=typeof AbortController<"u"?AbortController:function(){var n=[],r=this.signal={aborted:!1,addEventListener:function(o,f){n.push(f)}};this.abort=function(){r.aborted=!0,n.forEach(function(o){return o()})}},Sg=a.unstable_scheduleCallback,Tg=a.unstable_NormalPriority,aa={$$typeof:F,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function hd(){return{controller:new In,data:new Map,refCount:0}}function pd(n){n.refCount--,n.refCount===0&&Sg(Tg,function(){n.controller.abort()})}var pc=null,md=0,pu=0,sa=null;function sn(n,r){if(pc===null){var o=pc=[];md=0,pu=dm(),sa={status:"pending",value:void 0,then:function(f){o.push(f)}}}return md++,r.then(yd,yd),r}function yd(){if(--md===0&&pc!==null){sa!==null&&(sa.status="fulfilled");var n=pc;pc=null,pu=0,sa=null;for(var r=0;r<n.length;r++)(0,n[r])()}}function gd(n,r){var o=[],f={status:"pending",value:null,reason:null,then:function(g){o.push(g)}};return n.then(function(){f.status="fulfilled",f.value=r;for(var g=0;g<o.length;g++)(0,o[g])(r)},function(g){for(f.status="rejected",f.reason=g,g=0;g<o.length;g++)(0,o[g])(void 0)}),f}var jo=k.S;k.S=function(n,r){mv=Mn(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&sn(n,r),jo!==null&&jo(n,r)};var ar=j(null);function lr(){var n=ar.current;return n!==null?n:vn.pooledCache}function Rs(n,r){r===null?ue(ar,ar.current):ue(ar,r.pool)}function mc(){var n=lr();return n===null?null:{parent:aa._currentValue,pool:n}}var mu=Error(s(460)),yc=Error(s(474)),As=Error(s(542)),gc={then:function(){}};function _g(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Og(n,r,o){switch(o=n[o],o===void 0?n.push(r):o!==r&&(r.then(Jr,Jr),r=o),r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,Ep(n),n;default:if(typeof r.status=="string")r.then(Jr,Jr);else{if(n=vn,n!==null&&100<n.shellSuspendCounter)throw Error(s(482));n=r,n.status="pending",n.then(function(f){if(r.status==="pending"){var g=r;g.status="fulfilled",g.value=f}},function(f){if(r.status==="pending"){var g=r;g.status="rejected",g.reason=f}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,Ep(n),n}throw gu=r,mu}}function yu(n){try{var r=n._init;return r(n._payload)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(gu=o,mu):o}}var gu=null;function xg(){if(gu===null)throw Error(s(459));var n=gu;return gu=null,n}function Ep(n){if(n===mu||n===As)throw Error(s(483))}var vu=null,vc=0;function vd(n){var r=vc;return vc+=1,vu===null&&(vu=[]),Og(vu,n,r)}function Cs(n,r){r=r.props.ref,n.ref=r!==void 0?r:null}function bd(n,r){throw r.$$typeof===A?Error(s(525)):(n=Object.prototype.toString.call(r),Error(s(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n)))}function gE(n){function r(oe,ee){if(n){var fe=oe.deletions;fe===null?(oe.deletions=[ee],oe.flags|=16):fe.push(ee)}}function o(oe,ee){if(!n)return null;for(;ee!==null;)r(oe,ee),ee=ee.sibling;return null}function f(oe){for(var ee=new Map;oe!==null;)oe.key!==null?ee.set(oe.key,oe):ee.set(oe.index,oe),oe=oe.sibling;return ee}function g(oe,ee){return oe=Do(oe,ee),oe.index=0,oe.sibling=null,oe}function b(oe,ee,fe){return oe.index=fe,n?(fe=oe.alternate,fe!==null?(fe=fe.index,fe<ee?(oe.flags|=67108866,ee):fe):(oe.flags|=67108866,ee)):(oe.flags|=1048576,ee)}function C(oe){return n&&oe.alternate===null&&(oe.flags|=67108866),oe}function B(oe,ee,fe,Oe){return ee===null||ee.tag!==6?(ee=Ts(fe,oe.mode,Oe),ee.return=oe,ee):(ee=g(ee,fe),ee.return=oe,ee)}function Z(oe,ee,fe,Oe){var it=fe.type;return it===H?Te(oe,ee,fe.props.children,Oe,fe.key):ee!==null&&(ee.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===V&&yu(it)===ee.type)?(ee=g(ee,fe.props),Cs(ee,fe),ee.return=oe,ee):(ee=mp(fe.type,fe.key,fe.props,null,oe.mode,Oe),Cs(ee,fe),ee.return=oe,ee)}function de(oe,ee,fe,Oe){return ee===null||ee.tag!==4||ee.stateNode.containerInfo!==fe.containerInfo||ee.stateNode.implementation!==fe.implementation?(ee=yp(fe,oe.mode,Oe),ee.return=oe,ee):(ee=g(ee,fe.children||[]),ee.return=oe,ee)}function Te(oe,ee,fe,Oe,it){return ee===null||ee.tag!==7?(ee=wo(fe,oe.mode,Oe,it),ee.return=oe,ee):(ee=g(ee,fe),ee.return=oe,ee)}function Re(oe,ee,fe){if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return ee=Ts(""+ee,oe.mode,fe),ee.return=oe,ee;if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case D:return fe=mp(ee.type,ee.key,ee.props,null,oe.mode,fe),Cs(fe,ee),fe.return=oe,fe;case N:return ee=yp(ee,oe.mode,fe),ee.return=oe,ee;case V:return ee=yu(ee),Re(oe,ee,fe)}if(et(ee)||xe(ee))return ee=wo(ee,oe.mode,fe,null),ee.return=oe,ee;if(typeof ee.then=="function")return Re(oe,vd(ee),fe);if(ee.$$typeof===F)return Re(oe,No(oe,ee),fe);bd(oe,ee)}return null}function he(oe,ee,fe,Oe){var it=ee!==null?ee.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint")return it!==null?null:B(oe,ee,""+fe,Oe);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case D:return fe.key===it?Z(oe,ee,fe,Oe):null;case N:return fe.key===it?de(oe,ee,fe,Oe):null;case V:return fe=yu(fe),he(oe,ee,fe,Oe)}if(et(fe)||xe(fe))return it!==null?null:Te(oe,ee,fe,Oe,null);if(typeof fe.then=="function")return he(oe,ee,vd(fe),Oe);if(fe.$$typeof===F)return he(oe,ee,No(oe,fe),Oe);bd(oe,fe)}return null}function be(oe,ee,fe,Oe,it){if(typeof Oe=="string"&&Oe!==""||typeof Oe=="number"||typeof Oe=="bigint")return oe=oe.get(fe)||null,B(ee,oe,""+Oe,it);if(typeof Oe=="object"&&Oe!==null){switch(Oe.$$typeof){case D:return oe=oe.get(Oe.key===null?fe:Oe.key)||null,Z(ee,oe,Oe,it);case N:return oe=oe.get(Oe.key===null?fe:Oe.key)||null,de(ee,oe,Oe,it);case V:return Oe=yu(Oe),be(oe,ee,fe,Oe,it)}if(et(Oe)||xe(Oe))return oe=oe.get(fe)||null,Te(ee,oe,Oe,it,null);if(typeof Oe.then=="function")return be(oe,ee,fe,vd(Oe),it);if(Oe.$$typeof===F)return be(oe,ee,fe,No(ee,Oe),it);bd(ee,Oe)}return null}function Pe(oe,ee,fe,Oe){for(var it=null,Pt=null,nt=ee,Ot=ee=0,jt=null;nt!==null&&Ot<fe.length;Ot++){nt.index>Ot?(jt=nt,nt=null):jt=nt.sibling;var an=he(oe,nt,fe[Ot],Oe);if(an===null){nt===null&&(nt=jt);break}n&&nt&&an.alternate===null&&r(oe,nt),ee=b(an,ee,Ot),Pt===null?it=an:Pt.sibling=an,Pt=an,nt=jt}if(Ot===fe.length)return o(oe,nt),Qt&&Dr(oe,Ot),it;if(nt===null){for(;Ot<fe.length;Ot++)nt=Re(oe,fe[Ot],Oe),nt!==null&&(ee=b(nt,ee,Ot),Pt===null?it=nt:Pt.sibling=nt,Pt=nt);return Qt&&Dr(oe,Ot),it}for(nt=f(nt);Ot<fe.length;Ot++)jt=be(nt,oe,Ot,fe[Ot],Oe),jt!==null&&(n&&jt.alternate!==null&&nt.delete(jt.key===null?Ot:jt.key),ee=b(jt,ee,Ot),Pt===null?it=jt:Pt.sibling=jt,Pt=jt);return n&&nt.forEach(function(gi){return r(oe,gi)}),Qt&&Dr(oe,Ot),it}function ht(oe,ee,fe,Oe){if(fe==null)throw Error(s(151));for(var it=null,Pt=null,nt=ee,Ot=ee=0,jt=null,an=fe.next();nt!==null&&!an.done;Ot++,an=fe.next()){nt.index>Ot?(jt=nt,nt=null):jt=nt.sibling;var gi=he(oe,nt,an.value,Oe);if(gi===null){nt===null&&(nt=jt);break}n&&nt&&gi.alternate===null&&r(oe,nt),ee=b(gi,ee,Ot),Pt===null?it=gi:Pt.sibling=gi,Pt=gi,nt=jt}if(an.done)return o(oe,nt),Qt&&Dr(oe,Ot),it;if(nt===null){for(;!an.done;Ot++,an=fe.next())an=Re(oe,an.value,Oe),an!==null&&(ee=b(an,ee,Ot),Pt===null?it=an:Pt.sibling=an,Pt=an);return Qt&&Dr(oe,Ot),it}for(nt=f(nt);!an.done;Ot++,an=fe.next())an=be(nt,oe,Ot,an.value,Oe),an!==null&&(n&&an.alternate!==null&&nt.delete(an.key===null?Ot:an.key),ee=b(an,ee,Ot),Pt===null?it=an:Pt.sibling=an,Pt=an);return n&&nt.forEach(function(SS){return r(oe,SS)}),Qt&&Dr(oe,Ot),it}function En(oe,ee,fe,Oe){if(typeof fe=="object"&&fe!==null&&fe.type===H&&fe.key===null&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case D:e:{for(var it=fe.key;ee!==null;){if(ee.key===it){if(it=fe.type,it===H){if(ee.tag===7){o(oe,ee.sibling),Oe=g(ee,fe.props.children),Oe.return=oe,oe=Oe;break e}}else if(ee.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===V&&yu(it)===ee.type){o(oe,ee.sibling),Oe=g(ee,fe.props),Cs(Oe,fe),Oe.return=oe,oe=Oe;break e}o(oe,ee);break}else r(oe,ee);ee=ee.sibling}fe.type===H?(Oe=wo(fe.props.children,oe.mode,Oe,fe.key),Oe.return=oe,oe=Oe):(Oe=mp(fe.type,fe.key,fe.props,null,oe.mode,Oe),Cs(Oe,fe),Oe.return=oe,oe=Oe)}return C(oe);case N:e:{for(it=fe.key;ee!==null;){if(ee.key===it)if(ee.tag===4&&ee.stateNode.containerInfo===fe.containerInfo&&ee.stateNode.implementation===fe.implementation){o(oe,ee.sibling),Oe=g(ee,fe.children||[]),Oe.return=oe,oe=Oe;break e}else{o(oe,ee);break}else r(oe,ee);ee=ee.sibling}Oe=yp(fe,oe.mode,Oe),Oe.return=oe,oe=Oe}return C(oe);case V:return fe=yu(fe),En(oe,ee,fe,Oe)}if(et(fe))return Pe(oe,ee,fe,Oe);if(xe(fe)){if(it=xe(fe),typeof it!="function")throw Error(s(150));return fe=it.call(fe),ht(oe,ee,fe,Oe)}if(typeof fe.then=="function")return En(oe,ee,vd(fe),Oe);if(fe.$$typeof===F)return En(oe,ee,No(oe,fe),Oe);bd(oe,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint"?(fe=""+fe,ee!==null&&ee.tag===6?(o(oe,ee.sibling),Oe=g(ee,fe),Oe.return=oe,oe=Oe):(o(oe,ee),Oe=Ts(fe,oe.mode,Oe),Oe.return=oe,oe=Oe),C(oe)):o(oe,ee)}return function(oe,ee,fe,Oe){try{vc=0;var it=En(oe,ee,fe,Oe);return vu=null,it}catch(nt){if(nt===mu||nt===As)throw nt;var Pt=Zn(29,nt,null,oe.mode);return Pt.lanes=Oe,Pt.return=oe,Pt}finally{}}}var bu=gE(!0),Rg=gE(!1),zo=!1;function Ed(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Sp(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Uo(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function rr(n,r,o){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,(nn&2)!==0){var g=f.pending;return g===null?r.next=r:(r.next=g.next,g.next=r),f.pending=r,r=ud(n),pp(n,null,o),r}return er(n,f,r,o),ud(n)}function Eu(n,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194048)!==0)){var f=r.lanes;f&=n.pendingLanes,o|=f,r.lanes=o,Sr(n,o)}}function Tp(n,r){var o=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,o===f)){var g=null,b=null;if(o=o.firstBaseUpdate,o!==null){do{var C={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};b===null?g=b=C:b=b.next=C,o=o.next}while(o!==null);b===null?g=b=r:b=b.next=r}else g=b=r;o={baseState:f.baseState,firstBaseUpdate:g,lastBaseUpdate:b,shared:f.shared,callbacks:f.callbacks},n.updateQueue=o;return}n=o.lastBaseUpdate,n===null?o.firstBaseUpdate=r:n.next=r,o.lastBaseUpdate=r}var Ag=!1;function Su(){if(Ag){var n=sa;if(n!==null)throw n}}function Hi(n,r,o,f){Ag=!1;var g=n.updateQueue;zo=!1;var b=g.firstBaseUpdate,C=g.lastBaseUpdate,B=g.shared.pending;if(B!==null){g.shared.pending=null;var Z=B,de=Z.next;Z.next=null,C===null?b=de:C.next=de,C=Z;var Te=n.alternate;Te!==null&&(Te=Te.updateQueue,B=Te.lastBaseUpdate,B!==C&&(B===null?Te.firstBaseUpdate=de:B.next=de,Te.lastBaseUpdate=Z))}if(b!==null){var Re=g.baseState;C=0,Te=de=Z=null,B=b;do{var he=B.lane&-536870913,be=he!==B.lane;if(be?(Yt&he)===he:(f&he)===he){he!==0&&he===pu&&(Ag=!0),Te!==null&&(Te=Te.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});e:{var Pe=n,ht=B;he=r;var En=o;switch(ht.tag){case 1:if(Pe=ht.payload,typeof Pe=="function"){Re=Pe.call(En,Re,he);break e}Re=Pe;break e;case 3:Pe.flags=Pe.flags&-65537|128;case 0:if(Pe=ht.payload,he=typeof Pe=="function"?Pe.call(En,Re,he):Pe,he==null)break e;Re=x({},Re,he);break e;case 2:zo=!0}}he=B.callback,he!==null&&(n.flags|=64,be&&(n.flags|=8192),be=g.callbacks,be===null?g.callbacks=[he]:be.push(he))}else be={lane:he,tag:B.tag,payload:B.payload,callback:B.callback,next:null},Te===null?(de=Te=be,Z=Re):Te=Te.next=be,C|=he;if(B=B.next,B===null){if(B=g.shared.pending,B===null)break;be=B,B=be.next,be.next=null,g.lastBaseUpdate=be,g.shared.pending=null}}while(!0);Te===null&&(Z=Re),g.baseState=Z,g.firstBaseUpdate=de,g.lastBaseUpdate=Te,b===null&&(g.shared.lanes=0),di|=C,n.lanes=C,n.memoizedState=Re}}function _p(n,r){if(typeof n!="function")throw Error(s(191,n));n.call(r)}function Tu(n,r){var o=n.callbacks;if(o!==null)for(n.callbacks=null,n=0;n<o.length;n++)_p(o[n],r)}var Ea=j(null),bc=j(0);function vE(n,r){n=fi,ue(bc,n),ue(Ea,r),fi=n|r.baseLanes}function Sd(){ue(bc,fi),ue(Ea,Ea.current)}function Ds(){fi=bc.current,J(Ea),J(bc)}var vl=j(null),ir=null;function Vi(n){var r=n.alternate;ue(Un,Un.current&1),ue(vl,n),ir===null&&(r===null||Ea.current!==null||r.memoizedState!==null)&&(ir=n)}function ws(n){ue(Un,Un.current),ue(vl,n),ir===null&&(ir=n)}function Op(n){n.tag===22?(ue(Un,Un.current),ue(vl,n),ir===null&&(ir=n)):ii()}function ii(){ue(Un,Un.current),ue(vl,vl.current)}function bl(n){J(vl),ir===n&&(ir=null),J(Un)}var Un=j(0);function Ms(n){for(var r=n;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||zr(o)||zu(o)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var qi=0,Rt=null,fn=null,la=null,Ec=!1,Sc=!1,Lo=!1,Td=0,Ns=0,_u=null,bE=0;function Gn(){throw Error(s(321))}function Bo(n,r){if(r===null)return!1;for(var o=0;o<r.length&&o<n.length;o++)if(!al(n[o],r[o]))return!1;return!0}function _d(n,r,o,f,g,b){return qi=b,Rt=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,k.H=n===null||n.memoizedState===null?AE:Yp,Lo=!1,b=o(f,g),Lo=!1,Sc&&(b=EE(r,o,f,g)),xp(n),b}function xp(n){k.H=Nd;var r=fn!==null&&fn.next!==null;if(qi=0,la=fn=Rt=null,Ec=!1,Ns=0,_u=null,r)throw Error(s(300));n===null||ra||(n=n.dependencies,n!==null&&hc(n)&&(ra=!0))}function EE(n,r,o,f){Rt=n;var g=0;do{if(Sc&&(_u=null),Ns=0,Sc=!1,25<=g)throw Error(s(301));if(g+=1,la=fn=null,n.updateQueue!=null){var b=n.updateQueue;b.lastEffect=null,b.events=null,b.stores=null,b.memoCache!=null&&(b.memoCache.index=0)}k.H=CE,b=r(o,f)}while(Sc);return b}function I_(){var n=k.H,r=n.useState()[0];return r=typeof r.then=="function"?_c(r):r,n=n.useState()[0],(fn!==null?fn.memoizedState:null)!==n&&(Rt.flags|=1024),r}function Rp(){var n=Td!==0;return Td=0,n}function Tc(n,r,o){r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~o}function Od(n){if(Ec){for(n=n.memoizedState;n!==null;){var r=n.queue;r!==null&&(r.pending=null),n=n.next}Ec=!1}qi=0,la=fn=Rt=null,Sc=!1,Ns=Td=0,_u=null}function Na(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return la===null?Rt.memoizedState=la=n:la=la.next=n,la}function Jn(){if(fn===null){var n=Rt.alternate;n=n!==null?n.memoizedState:null}else n=fn.next;var r=la===null?Rt.memoizedState:la.next;if(r!==null)la=r,fn=n;else{if(n===null)throw Rt.alternate===null?Error(s(467)):Error(s(310));fn=n,n={memoizedState:fn.memoizedState,baseState:fn.baseState,baseQueue:fn.baseQueue,queue:fn.queue,next:null},la===null?Rt.memoizedState=la=n:la=la.next=n}return la}function xd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function _c(n){var r=Ns;return Ns+=1,_u===null&&(_u=[]),n=Og(_u,n,r),r=Rt,(la===null?r.memoizedState:la.next)===null&&(r=r.alternate,k.H=r===null||r.memoizedState===null?AE:Yp),n}function js(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return _c(n);if(n.$$typeof===F)return Ce(n)}throw Error(s(438,String(n)))}function Ap(n){var r=null,o=Rt.updateQueue;if(o!==null&&(r=o.memoCache),r==null){var f=Rt.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(r={data:f.data.map(function(g){return g.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),o===null&&(o=xd(),Rt.updateQueue=o),o.memoCache=r,o=r.data[r.index],o===void 0)for(o=r.data[r.index]=Array(n),f=0;f<n;f++)o[f]=me;return r.index++,o}function Yi(n,r){return typeof r=="function"?r(n):r}function ki(n){var r=Jn();return Cp(r,fn,n)}function Cp(n,r,o){var f=n.queue;if(f===null)throw Error(s(311));f.lastRenderedReducer=o;var g=n.baseQueue,b=f.pending;if(b!==null){if(g!==null){var C=g.next;g.next=b.next,b.next=C}r.baseQueue=g=b,f.pending=null}if(b=n.baseState,g===null)n.memoizedState=b;else{r=g.next;var B=C=null,Z=null,de=r,Te=!1;do{var Re=de.lane&-536870913;if(Re!==de.lane?(Yt&Re)===Re:(qi&Re)===Re){var he=de.revertLane;if(he===0)Z!==null&&(Z=Z.next={lane:0,revertLane:0,gesture:null,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null}),Re===pu&&(Te=!0);else if((qi&he)===he){de=de.next,he===pu&&(Te=!0);continue}else Re={lane:0,revertLane:de.revertLane,gesture:null,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},Z===null?(B=Z=Re,C=b):Z=Z.next=Re,Rt.lanes|=he,di|=he;Re=de.action,Lo&&o(b,Re),b=de.hasEagerState?de.eagerState:o(b,Re)}else he={lane:Re,revertLane:de.revertLane,gesture:de.gesture,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},Z===null?(B=Z=he,C=b):Z=Z.next=he,Rt.lanes|=Re,di|=Re;de=de.next}while(de!==null&&de!==r);if(Z===null?C=b:Z.next=B,!al(b,n.memoizedState)&&(ra=!0,Te&&(o=sa,o!==null)))throw o;n.memoizedState=b,n.baseState=C,n.baseQueue=Z,f.lastRenderedState=b}return g===null&&(f.lanes=0),[n.memoizedState,f.dispatch]}function Dp(n){var r=Jn(),o=r.queue;if(o===null)throw Error(s(311));o.lastRenderedReducer=n;var f=o.dispatch,g=o.pending,b=r.memoizedState;if(g!==null){o.pending=null;var C=g=g.next;do b=n(b,C.action),C=C.next;while(C!==g);al(b,r.memoizedState)||(ra=!0),r.memoizedState=b,r.baseQueue===null&&(r.baseState=b),o.lastRenderedState=b}return[b,f]}function Cg(n,r,o){var f=Rt,g=Jn(),b=Qt;if(b){if(o===void 0)throw Error(s(407));o=o()}else o=r();var C=!al((fn||g).memoizedState,o);if(C&&(g.memoizedState=o,ra=!0),g=g.queue,zp(wp.bind(null,f,g,n),[n]),g.getSnapshot!==r||C||la!==null&&la.memoizedState.tag&1){if(f.flags|=2048,xc(9,{destroy:void 0},Dg.bind(null,f,g,o,r),null),vn===null)throw Error(s(349));b||(qi&127)!==0||Rd(f,r,o)}return o}function Rd(n,r,o){n.flags|=16384,n={getSnapshot:r,value:o},r=Rt.updateQueue,r===null?(r=xd(),Rt.updateQueue=r,r.stores=[n]):(o=r.stores,o===null?r.stores=[n]:o.push(n))}function Dg(n,r,o,f){r.value=o,r.getSnapshot=f,Mp(r)&&Np(n)}function wp(n,r,o){return o(function(){Mp(r)&&Np(n)})}function Mp(n){var r=n.getSnapshot;n=n.value;try{var o=r();return!al(n,o)}catch{return!0}}function Np(n){var r=Co(n,2);r!==null&&xl(r,n,2)}function wg(n){var r=Na();if(typeof n=="function"){var o=n;if(n=o(),Lo){Yn(!0);try{o()}finally{Yn(!1)}}}return r.memoizedState=r.baseState=n,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yi,lastRenderedState:n},r}function ja(n,r,o,f){return n.baseState=o,Cp(n,fn,typeof f=="function"?f:Yi)}function SE(n,r,o,f,g){if(Md(n))throw Error(s(485));if(n=r.action,n!==null){var b={payload:g,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(C){b.listeners.push(C)}};k.T!==null?o(!0):b.isTransition=!1,f(b),o=r.pending,o===null?(b.next=r.pending=b,Mg(r,b)):(b.next=o.next,r.pending=o.next=b)}}function Mg(n,r){var o=r.action,f=r.payload,g=n.state;if(r.isTransition){var b=k.T,C={};k.T=C;try{var B=o(g,f),Z=k.S;Z!==null&&Z(C,B),Ng(n,r,B)}catch(de){Oc(n,r,de)}finally{b!==null&&C.types!==null&&(b.types=C.types),k.T=b}}else try{b=o(g,f),Ng(n,r,b)}catch(de){Oc(n,r,de)}}function Ng(n,r,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(f){jg(n,r,f)},function(f){return Oc(n,r,f)}):jg(n,r,o)}function jg(n,r,o){r.status="fulfilled",r.value=o,zg(r),n.state=o,r=n.pending,r!==null&&(o=r.next,o===r?n.pending=null:(o=o.next,r.next=o,Mg(n,o)))}function Oc(n,r,o){var f=n.pending;if(n.pending=null,f!==null){f=f.next;do r.status="rejected",r.reason=o,zg(r),r=r.next;while(r!==f)}n.action=null}function zg(n){n=n.listeners;for(var r=0;r<n.length;r++)(0,n[r])()}function Ad(n,r){return r}function Ug(n,r){if(Qt){var o=vn.formState;if(o!==null){e:{var f=Rt;if(Qt){if(xn){t:{for(var g=xn,b=ba;g.nodeType!==8;){if(!b){g=null;break t}if(g=Rl(g.nextSibling),g===null){g=null;break t}}b=g.data,g=b==="F!"||b==="F"?g:null}if(g){xn=Rl(g.nextSibling),f=g.data==="F!";break e}}wr(f)}f=!1}f&&(r=o[0])}}return o=Na(),o.memoizedState=o.baseState=r,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ad,lastRenderedState:r},o.queue=f,o=Vp.bind(null,Rt,f),f.dispatch=o,f=wg(!1),b=Ou.bind(null,Rt,!1,f.queue),f=Na(),g={state:r,dispatch:null,action:n,pending:null},f.queue=g,o=SE.bind(null,Rt,g,b,o),g.dispatch=o,f.memoizedState=n,[r,o,!1]}function TE(n){var r=Jn();return Cd(r,fn,n)}function Cd(n,r,o){if(r=Cp(n,r,Ad)[0],n=ki(Yi)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var f=_c(r)}catch(C){throw C===mu?As:C}else f=r;r=Jn();var g=r.queue,b=g.dispatch;return o!==r.memoizedState&&(Rt.flags|=2048,xc(9,{destroy:void 0},Lg.bind(null,g,o),null)),[f,b,n]}function Lg(n,r){n.action=r}function Bg(n){var r=Jn(),o=fn;if(o!==null)return Cd(r,o,n);Jn(),r=r.memoizedState,o=Jn();var f=o.queue.dispatch;return o.memoizedState=n,[r,f,!1]}function xc(n,r,o,f){return n={tag:n,create:o,deps:f,inst:r,next:null},r=Rt.updateQueue,r===null&&(r=xd(),Rt.updateQueue=r),o=r.lastEffect,o===null?r.lastEffect=n.next=n:(f=o.next,o.next=n,n.next=f,r.lastEffect=n),n}function Hg(){return Jn().memoizedState}function zs(n,r,o,f){var g=Na();Rt.flags|=n,g.memoizedState=xc(1|r,{destroy:void 0},o,f===void 0?null:f)}function Us(n,r,o,f){var g=Jn();f=f===void 0?null:f;var b=g.memoizedState.inst;fn!==null&&f!==null&&Bo(f,fn.memoizedState.deps)?g.memoizedState=xc(r,b,o,f):(Rt.flags|=n,g.memoizedState=xc(1|r,b,o,f))}function jp(n,r){zs(8390656,8,n,r)}function zp(n,r){Us(2048,8,n,r)}function Vg(n){Rt.flags|=4;var r=Rt.updateQueue;if(r===null)r=xd(),Rt.updateQueue=r,r.events=[n];else{var o=r.events;o===null?r.events=[n]:o.push(n)}}function Dd(n){var r=Jn().memoizedState;return Vg({ref:r,nextImpl:n}),function(){if((nn&2)!==0)throw Error(s(440));return r.impl.apply(void 0,arguments)}}function Up(n,r){return Us(4,2,n,r)}function qg(n,r){return Us(4,4,n,r)}function Lp(n,r){if(typeof r=="function"){n=n();var o=r(n);return function(){typeof o=="function"?o():r(null)}}if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function Yg(n,r,o){o=o!=null?o.concat([n]):null,Us(4,4,Lp.bind(null,r,n),o)}function oi(){}function Bp(n,r){var o=Jn();r=r===void 0?null:r;var f=o.memoizedState;return r!==null&&Bo(r,f[1])?f[0]:(o.memoizedState=[n,r],n)}function _E(n,r){var o=Jn();r=r===void 0?null:r;var f=o.memoizedState;if(r!==null&&Bo(r,f[1]))return f[0];if(f=n(),Lo){Yn(!0);try{n()}finally{Yn(!1)}}return o.memoizedState=[f,r],f}function wd(n,r,o){return o===void 0||(qi&1073741824)!==0&&(Yt&261930)===0?n.memoizedState=r:(n.memoizedState=o,n=HE(),Rt.lanes|=n,di|=n,o)}function Gi(n,r,o,f){return al(o,r)?o:Ea.current!==null?(n=wd(n,o,f),al(n,r)||(ra=!0),n):(qi&42)===0||(qi&1073741824)!==0&&(Yt&261930)===0?(ra=!0,n.memoizedState=o):(n=HE(),Rt.lanes|=n,di|=n,r)}function Hp(n,r,o,f,g){var b=ce.p;ce.p=b!==0&&8>b?b:8;var C=k.T,B={};k.T=B,Ou(n,!1,r,o);try{var Z=g(),de=k.S;if(de!==null&&de(B,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var Te=gd(Z,f);Ho(n,r,Te,kl(n))}else Ho(n,r,f,kl(n))}catch(Re){Ho(n,r,{then:function(){},status:"rejected",reason:Re},kl())}finally{ce.p=b,C!==null&&B.types!==null&&(C.types=B.types),k.T=C}}function OE(){}function Ls(n,r,o,f){if(n.tag!==5)throw Error(s(476));var g=Bs(n).queue;Hp(n,g,r,Ee,o===null?OE:function(){return gn(n),o(f)})}function Bs(n){var r=n.memoizedState;if(r!==null)return r;r={memoizedState:Ee,baseState:Ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yi,lastRenderedState:Ee},next:null};var o={};return r.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yi,lastRenderedState:o},next:null},n.memoizedState=r,n=n.alternate,n!==null&&(n.memoizedState=r),r}function gn(n){var r=Bs(n);r.next===null&&(r=n.alternate.memoizedState),Ho(n,r.next.queue,{},kl())}function kg(){return Ce(rh)}function xE(){return Jn().memoizedState}function Gg(){return Jn().memoizedState}function $i(n){for(var r=n.return;r!==null;){switch(r.tag){case 24:case 3:var o=kl();n=Uo(o);var f=rr(r,n,o);f!==null&&(xl(f,r,o),Eu(f,r,o)),r={cache:hd()},n.payload=r;return}r=r.return}}function RE(n,r,o){var f=kl();o={lane:f,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},Md(n)?qp(r,o):(o=Cr(n,r,o,f),o!==null&&(xl(o,n,f),$g(o,r,f)))}function Vp(n,r,o){var f=kl();Ho(n,r,o,f)}function Ho(n,r,o,f){var g={lane:f,revertLane:0,gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null};if(Md(n))qp(r,g);else{var b=n.alternate;if(n.lanes===0&&(b===null||b.lanes===0)&&(b=r.lastRenderedReducer,b!==null))try{var C=r.lastRenderedState,B=b(C,o);if(g.hasEagerState=!0,g.eagerState=B,al(B,C))return er(n,r,g,0),vn===null&&Pl(),!1}catch{}finally{}if(o=Cr(n,r,g,f),o!==null)return xl(o,n,f),$g(o,r,f),!0}return!1}function Ou(n,r,o,f){if(f={lane:2,revertLane:dm(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},Md(n)){if(r)throw Error(s(479))}else r=Cr(n,o,f,2),r!==null&&xl(r,n,2)}function Md(n){var r=n.alternate;return n===Rt||r!==null&&r===Rt}function qp(n,r){Sc=Ec=!0;var o=n.pending;o===null?r.next=r:(r.next=o.next,o.next=r),n.pending=r}function $g(n,r,o){if((o&4194048)!==0){var f=r.lanes;f&=n.pendingLanes,o|=f,r.lanes=o,Sr(n,o)}}var Nd={readContext:Ce,use:js,useCallback:Gn,useContext:Gn,useEffect:Gn,useImperativeHandle:Gn,useLayoutEffect:Gn,useInsertionEffect:Gn,useMemo:Gn,useReducer:Gn,useRef:Gn,useState:Gn,useDebugValue:Gn,useDeferredValue:Gn,useTransition:Gn,useSyncExternalStore:Gn,useId:Gn,useHostTransitionStatus:Gn,useFormState:Gn,useActionState:Gn,useOptimistic:Gn,useMemoCache:Gn,useCacheRefresh:Gn};Nd.useEffectEvent=Gn;var AE={readContext:Ce,use:js,useCallback:function(n,r){return Na().memoizedState=[n,r===void 0?null:r],n},useContext:Ce,useEffect:jp,useImperativeHandle:function(n,r,o){o=o!=null?o.concat([n]):null,zs(4194308,4,Lp.bind(null,r,n),o)},useLayoutEffect:function(n,r){return zs(4194308,4,n,r)},useInsertionEffect:function(n,r){zs(4,2,n,r)},useMemo:function(n,r){var o=Na();r=r===void 0?null:r;var f=n();if(Lo){Yn(!0);try{n()}finally{Yn(!1)}}return o.memoizedState=[f,r],f},useReducer:function(n,r,o){var f=Na();if(o!==void 0){var g=o(r);if(Lo){Yn(!0);try{o(r)}finally{Yn(!1)}}}else g=r;return f.memoizedState=f.baseState=g,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:g},f.queue=n,n=n.dispatch=RE.bind(null,Rt,n),[f.memoizedState,n]},useRef:function(n){var r=Na();return n={current:n},r.memoizedState=n},useState:function(n){n=wg(n);var r=n.queue,o=Vp.bind(null,Rt,r);return r.dispatch=o,[n.memoizedState,o]},useDebugValue:oi,useDeferredValue:function(n,r){var o=Na();return wd(o,n,r)},useTransition:function(){var n=wg(!1);return n=Hp.bind(null,Rt,n.queue,!0,!1),Na().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,r,o){var f=Rt,g=Na();if(Qt){if(o===void 0)throw Error(s(407));o=o()}else{if(o=r(),vn===null)throw Error(s(349));(Yt&127)!==0||Rd(f,r,o)}g.memoizedState=o;var b={value:o,getSnapshot:r};return g.queue=b,jp(wp.bind(null,f,b,n),[n]),f.flags|=2048,xc(9,{destroy:void 0},Dg.bind(null,f,b,o,r),null),o},useId:function(){var n=Na(),r=vn.identifierPrefix;if(Qt){var o=ai,f=Hl;o=(f&~(1<<32-Pn(f)-1)).toString(32)+o,r="_"+r+"R_"+o,o=Td++,0<o&&(r+="H"+o.toString(32)),r+="_"}else o=bE++,r="_"+r+"r_"+o.toString(32)+"_";return n.memoizedState=r},useHostTransitionStatus:kg,useFormState:Ug,useActionState:Ug,useOptimistic:function(n){var r=Na();r.memoizedState=r.baseState=n;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=o,r=Ou.bind(null,Rt,!0,o),o.dispatch=r,[n,r]},useMemoCache:Ap,useCacheRefresh:function(){return Na().memoizedState=$i.bind(null,Rt)},useEffectEvent:function(n){var r=Na(),o={impl:n};return r.memoizedState=o,function(){if((nn&2)!==0)throw Error(s(440));return o.impl.apply(void 0,arguments)}}},Yp={readContext:Ce,use:js,useCallback:Bp,useContext:Ce,useEffect:zp,useImperativeHandle:Yg,useInsertionEffect:Up,useLayoutEffect:qg,useMemo:_E,useReducer:ki,useRef:Hg,useState:function(){return ki(Yi)},useDebugValue:oi,useDeferredValue:function(n,r){var o=Jn();return Gi(o,fn.memoizedState,n,r)},useTransition:function(){var n=ki(Yi)[0],r=Jn().memoizedState;return[typeof n=="boolean"?n:_c(n),r]},useSyncExternalStore:Cg,useId:xE,useHostTransitionStatus:kg,useFormState:TE,useActionState:TE,useOptimistic:function(n,r){var o=Jn();return ja(o,fn,n,r)},useMemoCache:Ap,useCacheRefresh:Gg};Yp.useEffectEvent=Dd;var CE={readContext:Ce,use:js,useCallback:Bp,useContext:Ce,useEffect:zp,useImperativeHandle:Yg,useInsertionEffect:Up,useLayoutEffect:qg,useMemo:_E,useReducer:Dp,useRef:Hg,useState:function(){return Dp(Yi)},useDebugValue:oi,useDeferredValue:function(n,r){var o=Jn();return fn===null?wd(o,n,r):Gi(o,fn.memoizedState,n,r)},useTransition:function(){var n=Dp(Yi)[0],r=Jn().memoizedState;return[typeof n=="boolean"?n:_c(n),r]},useSyncExternalStore:Cg,useId:xE,useHostTransitionStatus:kg,useFormState:Bg,useActionState:Bg,useOptimistic:function(n,r){var o=Jn();return fn!==null?ja(o,fn,n,r):(o.baseState=n,[n,o.queue.dispatch])},useMemoCache:Ap,useCacheRefresh:Gg};CE.useEffectEvent=Dd;function Rc(n,r,o,f){r=n.memoizedState,o=o(f,r),o=o==null?r:x({},r,o),n.memoizedState=o,n.lanes===0&&(n.updateQueue.baseState=o)}var Mr={enqueueSetState:function(n,r,o){n=n._reactInternals;var f=kl(),g=Uo(f);g.payload=r,o!=null&&(g.callback=o),r=rr(n,g,f),r!==null&&(xl(r,n,f),Eu(r,n,f))},enqueueReplaceState:function(n,r,o){n=n._reactInternals;var f=kl(),g=Uo(f);g.tag=1,g.payload=r,o!=null&&(g.callback=o),r=rr(n,g,f),r!==null&&(xl(r,n,f),Eu(r,n,f))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var o=kl(),f=Uo(o);f.tag=2,r!=null&&(f.callback=r),r=rr(n,f,o),r!==null&&(xl(r,n,o),Eu(r,n,o))}};function Qg(n,r,o,f,g,b,C){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,b,C):r.prototype&&r.prototype.isPureReactComponent?!xr(o,f)||!xr(g,b):!0}function DE(n,r,o,f){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,f),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,f),r.state!==n&&Mr.enqueueReplaceState(r,r.state,null)}function xu(n,r){var o=r;if("ref"in r){o={};for(var f in r)f!=="ref"&&(o[f]=r[f])}if(n=n.defaultProps){o===r&&(o=x({},o));for(var g in n)o[g]===void 0&&(o[g]=n[g])}return o}function kp(n){sc(n)}function Xg(n){console.error(n)}function Gp(n){sc(n)}function Hs(n,r){try{var o=n.onUncaughtError;o(r.value,{componentStack:r.stack})}catch(f){setTimeout(function(){throw f})}}function jd(n,r,o){try{var f=n.onCaughtError;f(o.value,{componentStack:o.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function Zg(n,r,o){return o=Uo(o),o.tag=3,o.payload={element:null},o.callback=function(){Hs(n,r)},o}function Ig(n){return n=Uo(n),n.tag=3,n}function Jg(n,r,o,f){var g=o.type.getDerivedStateFromError;if(typeof g=="function"){var b=f.value;n.payload=function(){return g(b)},n.callback=function(){jd(r,o,f)}}var C=o.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(n.callback=function(){jd(r,o,f),typeof g!="function"&&(Ln===null?Ln=new Set([this]):Ln.add(this));var B=f.stack;this.componentDidCatch(f.value,{componentStack:B!==null?B:""})})}function J_(n,r,o,f,g){if(o.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(r=o.alternate,r!==null&&Ma(r,o,g,!0),o=vl.current,o!==null){switch(o.tag){case 31:case 13:return ir===null?um():o.alternate===null&&An===0&&(An=3),o.flags&=-257,o.flags|=65536,o.lanes=g,f===gc?o.flags|=16384:(r=o.updateQueue,r===null?o.updateQueue=new Set([f]):r.add(f),Zd(n,f,g)),!1;case 22:return o.flags|=65536,f===gc?o.flags|=16384:(r=o.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([f])},o.updateQueue=r):(o=r.retryQueue,o===null?r.retryQueue=new Set([f]):o.add(f)),Zd(n,f,g)),!1}throw Error(s(435,o.tag))}return Zd(n,f,g),um(),!1}if(Qt)return r=vl.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=g,f!==Ui&&(n=Error(s(422),{cause:f}),xs(tr(n,o)))):(f!==Ui&&(r=Error(s(423),{cause:f}),xs(tr(r,o))),n=n.current.alternate,n.flags|=65536,g&=-g,n.lanes|=g,f=tr(f,o),g=Zg(n.stateNode,f,g),Tp(n,g),An!==4&&(An=2)),!1;var b=Error(s(520),{cause:f});if(b=tr(b,o),Gd===null?Gd=[b]:Gd.push(b),An!==4&&(An=2),r===null)return!0;f=tr(f,o),o=r;do{switch(o.tag){case 3:return o.flags|=65536,n=g&-g,o.lanes|=n,n=Zg(o.stateNode,f,n),Tp(o,n),!1;case 1:if(r=o.type,b=o.stateNode,(o.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||b!==null&&typeof b.componentDidCatch=="function"&&(Ln===null||!Ln.has(b))))return o.flags|=65536,g&=-g,o.lanes|=g,g=Ig(g),Jg(g,n,o,f),Tp(o,g),!1}o=o.return}while(o!==null);return!1}var $p=Error(s(461)),ra=!1;function Nn(n,r,o,f){r.child=n===null?Rg(r,null,o,f):bu(r,n.child,o,f)}function Fg(n,r,o,f,g){o=o.render;var b=r.ref;if("ref"in f){var C={};for(var B in f)B!=="ref"&&(C[B]=f[B])}else C=f;return Et(r),f=_d(n,r,o,C,b,g),B=Rp(),n!==null&&!ra?(Tc(n,r,g),cr(n,r,g)):(Qt&&B&&_s(r),r.flags|=1,Nn(n,r,f,g),r.child)}function Kg(n,r,o,f,g){if(n===null){var b=o.type;return typeof b=="function"&&!fc(b)&&b.defaultProps===void 0&&o.compare===null?(r.tag=15,r.type=b,Wg(n,r,b,f,g)):(n=mp(o.type,null,f,r,r.mode,g),n.ref=r.ref,n.return=r,r.child=n)}if(b=n.child,!Zp(n,g)){var C=b.memoizedProps;if(o=o.compare,o=o!==null?o:xr,o(C,f)&&n.ref===r.ref)return cr(n,r,g)}return r.flags|=1,n=Do(b,f),n.ref=r.ref,n.return=r,r.child=n}function Wg(n,r,o,f,g){if(n!==null){var b=n.memoizedProps;if(xr(b,f)&&n.ref===r.ref)if(ra=!1,r.pendingProps=f=b,Zp(n,g))(n.flags&131072)!==0&&(ra=!0);else return r.lanes=n.lanes,cr(n,r,g)}return Qp(n,r,o,f,g)}function wE(n,r,o,f){var g=f.children,b=n!==null?n.memoizedState:null;if(n===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((r.flags&128)!==0){if(b=b!==null?b.baseLanes|o:o,n!==null){for(f=r.child=n.child,g=0;f!==null;)g=g|f.lanes|f.childLanes,f=f.sibling;f=g&~b}else f=0,r.child=null;return El(n,r,b,o,f)}if((o&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},n!==null&&Rs(r,b!==null?b.cachePool:null),b!==null?vE(r,b):Sd(),Op(r);else return f=r.lanes=536870912,El(n,r,b!==null?b.baseLanes|o:o,o,f)}else b!==null?(Rs(r,b.cachePool),vE(r,b),ii(),r.memoizedState=null):(n!==null&&Rs(r,null),Sd(),ii());return Nn(n,r,g,o),r.child}function Ru(n,r){return n!==null&&n.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function El(n,r,o,f,g){var b=lr();return b=b===null?null:{parent:aa._currentValue,pool:b},r.memoizedState={baseLanes:o,cachePool:b},n!==null&&Rs(r,null),Sd(),Op(r),n!==null&&Ma(n,r,f,!0),r.childLanes=g,null}function zd(n,r){return r=Bd({mode:r.mode,children:r.children},n.mode),r.ref=n.ref,n.child=r,r.return=n,r}function Sl(n,r,o){return bu(r,n.child,null,o),n=zd(r,r.pendingProps),n.flags|=2,bl(r),r.memoizedState=null,n}function ME(n,r,o){var f=r.pendingProps,g=(r.flags&128)!==0;if(r.flags&=-129,n===null){if(Qt){if(f.mode==="hidden")return n=zd(r,f),r.lanes=536870912,Ru(null,n);if(ws(r),(n=xn)?(n=dS(n,ba),n=n!==null&&n.data==="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:ni!==null?{id:Hl,overflow:ai}:null,retryLane:536870912,hydrationErrors:null},o=gg(n),o.return=r,r.child=o,wa=r,xn=null)):n=null,n===null)throw wr(r);return r.lanes=536870912,null}return zd(r,f)}var b=n.memoizedState;if(b!==null){var C=b.dehydrated;if(ws(r),g)if(r.flags&256)r.flags&=-257,r=Sl(n,r,o);else if(r.memoizedState!==null)r.child=n.child,r.flags|=128,r=null;else throw Error(s(558));else if(ra||Ma(n,r,o,!1),g=(o&n.childLanes)!==0,ra||g){if(f=vn,f!==null&&(C=$(f,o),C!==0&&C!==b.retryLane))throw b.retryLane=C,Co(n,C),xl(f,n,C),$p;um(),r=Sl(n,r,o)}else n=b.treeContext,xn=Rl(C.nextSibling),wa=r,Qt=!0,zi=null,ba=!1,n!==null&&sd(r,n),r=zd(r,f),r.flags|=4096;return r}return n=Do(n.child,{mode:f.mode,children:f.children}),n.ref=r.ref,r.child=n,n.return=r,n}function or(n,r){var o=r.ref;if(o===null)n!==null&&n.ref!==null&&(r.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(s(284));(n===null||n.ref!==o)&&(r.flags|=4194816)}}function Qp(n,r,o,f,g){return Et(r),o=_d(n,r,o,f,void 0,g),f=Rp(),n!==null&&!ra?(Tc(n,r,g),cr(n,r,g)):(Qt&&f&&_s(r),r.flags|=1,Nn(n,r,o,g),r.child)}function Au(n,r,o,f,g,b){return Et(r),r.updateQueue=null,o=EE(r,f,o,g),xp(n),f=Rp(),n!==null&&!ra?(Tc(n,r,b),cr(n,r,b)):(Qt&&f&&_s(r),r.flags|=1,Nn(n,r,o,b),r.child)}function Pg(n,r,o,f,g){if(Et(r),r.stateNode===null){var b=ml,C=o.contextType;typeof C=="object"&&C!==null&&(b=Ce(C)),b=new o(f,b),r.memoizedState=b.state!==null&&b.state!==void 0?b.state:null,b.updater=Mr,r.stateNode=b,b._reactInternals=r,b=r.stateNode,b.props=f,b.state=r.memoizedState,b.refs={},Ed(r),C=o.contextType,b.context=typeof C=="object"&&C!==null?Ce(C):ml,b.state=r.memoizedState,C=o.getDerivedStateFromProps,typeof C=="function"&&(Rc(r,o,C,f),b.state=r.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof b.getSnapshotBeforeUpdate=="function"||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(C=b.state,typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount(),C!==b.state&&Mr.enqueueReplaceState(b,b.state,null),Hi(r,f,b,g),Su(),b.state=r.memoizedState),typeof b.componentDidMount=="function"&&(r.flags|=4194308),f=!0}else if(n===null){b=r.stateNode;var B=r.memoizedProps,Z=xu(o,B);b.props=Z;var de=b.context,Te=o.contextType;C=ml,typeof Te=="object"&&Te!==null&&(C=Ce(Te));var Re=o.getDerivedStateFromProps;Te=typeof Re=="function"||typeof b.getSnapshotBeforeUpdate=="function",B=r.pendingProps!==B,Te||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(B||de!==C)&&DE(r,b,f,C),zo=!1;var he=r.memoizedState;b.state=he,Hi(r,f,b,g),Su(),de=r.memoizedState,B||he!==de||zo?(typeof Re=="function"&&(Rc(r,o,Re,f),de=r.memoizedState),(Z=zo||Qg(r,o,Z,f,he,de,C))?(Te||typeof b.UNSAFE_componentWillMount!="function"&&typeof b.componentWillMount!="function"||(typeof b.componentWillMount=="function"&&b.componentWillMount(),typeof b.UNSAFE_componentWillMount=="function"&&b.UNSAFE_componentWillMount()),typeof b.componentDidMount=="function"&&(r.flags|=4194308)):(typeof b.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=f,r.memoizedState=de),b.props=f,b.state=de,b.context=C,f=Z):(typeof b.componentDidMount=="function"&&(r.flags|=4194308),f=!1)}else{b=r.stateNode,Sp(n,r),C=r.memoizedProps,Te=xu(o,C),b.props=Te,Re=r.pendingProps,he=b.context,de=o.contextType,Z=ml,typeof de=="object"&&de!==null&&(Z=Ce(de)),B=o.getDerivedStateFromProps,(de=typeof B=="function"||typeof b.getSnapshotBeforeUpdate=="function")||typeof b.UNSAFE_componentWillReceiveProps!="function"&&typeof b.componentWillReceiveProps!="function"||(C!==Re||he!==Z)&&DE(r,b,f,Z),zo=!1,he=r.memoizedState,b.state=he,Hi(r,f,b,g),Su();var be=r.memoizedState;C!==Re||he!==be||zo||n!==null&&n.dependencies!==null&&hc(n.dependencies)?(typeof B=="function"&&(Rc(r,o,B,f),be=r.memoizedState),(Te=zo||Qg(r,o,Te,f,he,be,Z)||n!==null&&n.dependencies!==null&&hc(n.dependencies))?(de||typeof b.UNSAFE_componentWillUpdate!="function"&&typeof b.componentWillUpdate!="function"||(typeof b.componentWillUpdate=="function"&&b.componentWillUpdate(f,be,Z),typeof b.UNSAFE_componentWillUpdate=="function"&&b.UNSAFE_componentWillUpdate(f,be,Z)),typeof b.componentDidUpdate=="function"&&(r.flags|=4),typeof b.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof b.componentDidUpdate!="function"||C===n.memoizedProps&&he===n.memoizedState||(r.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&he===n.memoizedState||(r.flags|=1024),r.memoizedProps=f,r.memoizedState=be),b.props=f,b.state=be,b.context=Z,f=Te):(typeof b.componentDidUpdate!="function"||C===n.memoizedProps&&he===n.memoizedState||(r.flags|=4),typeof b.getSnapshotBeforeUpdate!="function"||C===n.memoizedProps&&he===n.memoizedState||(r.flags|=1024),f=!1)}return b=f,or(n,r),f=(r.flags&128)!==0,b||f?(b=r.stateNode,o=f&&typeof o.getDerivedStateFromError!="function"?null:b.render(),r.flags|=1,n!==null&&f?(r.child=bu(r,n.child,null,g),r.child=bu(r,null,o,g)):Nn(n,r,o,g),r.memoizedState=b.state,n=r.child):n=cr(n,r,g),n}function ui(n,r,o,f){return hu(),r.flags|=256,Nn(n,r,o,f),r.child}var Ud={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Ld(n){return{baseLanes:n,cachePool:mc()}}function ur(n,r,o){return n=n!==null?n.childLanes&~o:0,r&&(n|=Ol),n}function ev(n,r,o){var f=r.pendingProps,g=!1,b=(r.flags&128)!==0,C;if((C=b)||(C=n!==null&&n.memoizedState===null?!1:(Un.current&2)!==0),C&&(g=!0,r.flags&=-129),C=(r.flags&32)!==0,r.flags&=-33,n===null){if(Qt){if(g?Vi(r):ii(),(n=xn)?(n=dS(n,ba),n=n!==null&&n.data!=="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:ni!==null?{id:Hl,overflow:ai}:null,retryLane:536870912,hydrationErrors:null},o=gg(n),o.return=r,r.child=o,wa=r,xn=null)):n=null,n===null)throw wr(r);return zu(n)?r.lanes=32:r.lanes=536870912,null}var B=f.children;return f=f.fallback,g?(ii(),g=r.mode,B=Bd({mode:"hidden",children:B},g),f=wo(f,g,o,null),B.return=r,f.return=r,B.sibling=f,r.child=B,f=r.child,f.memoizedState=Ld(o),f.childLanes=ur(n,C,o),r.memoizedState=Ud,Ru(null,f)):(Vi(r),Cu(r,B))}var Z=n.memoizedState;if(Z!==null&&(B=Z.dehydrated,B!==null)){if(b)r.flags&256?(Vi(r),r.flags&=-257,r=Ac(n,r,o)):r.memoizedState!==null?(ii(),r.child=n.child,r.flags|=128,r=null):(ii(),B=f.fallback,g=r.mode,f=Bd({mode:"visible",children:f.children},g),B=wo(B,g,o,null),B.flags|=2,f.return=r,B.return=r,f.sibling=B,r.child=f,bu(r,n.child,null,o),f=r.child,f.memoizedState=Ld(o),f.childLanes=ur(n,C,o),r.memoizedState=Ud,r=Ru(null,f));else if(Vi(r),zu(B)){if(C=B.nextSibling&&B.nextSibling.dataset,C)var de=C.dgst;C=de,f=Error(s(419)),f.stack="",f.digest=C,xs({value:f,source:null,stack:null}),r=Ac(n,r,o)}else if(ra||Ma(n,r,o,!1),C=(o&n.childLanes)!==0,ra||C){if(C=vn,C!==null&&(f=$(C,o),f!==0&&f!==Z.retryLane))throw Z.retryLane=f,Co(n,f),xl(C,n,f),$p;zr(B)||um(),r=Ac(n,r,o)}else zr(B)?(r.flags|=192,r.child=n.child,r=null):(n=Z.treeContext,xn=Rl(B.nextSibling),wa=r,Qt=!0,zi=null,ba=!1,n!==null&&sd(r,n),r=Cu(r,f.children),r.flags|=4096);return r}return g?(ii(),B=f.fallback,g=r.mode,Z=n.child,de=Z.sibling,f=Do(Z,{mode:"hidden",children:f.children}),f.subtreeFlags=Z.subtreeFlags&65011712,de!==null?B=Do(de,B):(B=wo(B,g,o,null),B.flags|=2),B.return=r,f.return=r,f.sibling=B,r.child=f,Ru(null,f),f=r.child,B=n.child.memoizedState,B===null?B=Ld(o):(g=B.cachePool,g!==null?(Z=aa._currentValue,g=g.parent!==Z?{parent:Z,pool:Z}:g):g=mc(),B={baseLanes:B.baseLanes|o,cachePool:g}),f.memoizedState=B,f.childLanes=ur(n,C,o),r.memoizedState=Ud,Ru(n.child,f)):(Vi(r),o=n.child,n=o.sibling,o=Do(o,{mode:"visible",children:f.children}),o.return=r,o.sibling=null,n!==null&&(C=r.deletions,C===null?(r.deletions=[n],r.flags|=16):C.push(n)),r.child=o,r.memoizedState=null,o)}function Cu(n,r){return r=Bd({mode:"visible",children:r},n.mode),r.return=n,n.child=r}function Bd(n,r){return n=Zn(22,n,null,r),n.lanes=0,n}function Ac(n,r,o){return bu(r,n.child,null,o),n=Cu(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Cc(n,r,o){n.lanes|=r;var f=n.alternate;f!==null&&(f.lanes|=r),bp(n.return,r,o)}function Xp(n,r,o,f,g,b){var C=n.memoizedState;C===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:f,tail:o,tailMode:g,treeForkCount:b}:(C.isBackwards=r,C.rendering=null,C.renderingStartTime=0,C.last=f,C.tail=o,C.tailMode=g,C.treeForkCount=b)}function tv(n,r,o){var f=r.pendingProps,g=f.revealOrder,b=f.tail;f=f.children;var C=Un.current,B=(C&2)!==0;if(B?(C=C&1|2,r.flags|=128):C&=1,ue(Un,C),Nn(n,r,f,o),f=Qt?na:0,!B&&n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Cc(n,o,r);else if(n.tag===19)Cc(n,o,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(g){case"forwards":for(o=r.child,g=null;o!==null;)n=o.alternate,n!==null&&Ms(n)===null&&(g=o),o=o.sibling;o=g,o===null?(g=r.child,r.child=null):(g=o.sibling,o.sibling=null),Xp(r,!1,g,o,b,f);break;case"backwards":case"unstable_legacy-backwards":for(o=null,g=r.child,r.child=null;g!==null;){if(n=g.alternate,n!==null&&Ms(n)===null){r.child=g;break}n=g.sibling,g.sibling=o,o=g,g=n}Xp(r,!0,o,null,b,f);break;case"together":Xp(r,!1,null,null,void 0,f);break;default:r.memoizedState=null}return r.child}function cr(n,r,o){if(n!==null&&(r.dependencies=n.dependencies),di|=r.lanes,(o&r.childLanes)===0)if(n!==null){if(Ma(n,r,o,!1),(o&r.childLanes)===0)return null}else return null;if(n!==null&&r.child!==n.child)throw Error(s(153));if(r.child!==null){for(n=r.child,o=Do(n,n.pendingProps),r.child=o,o.return=r;n.sibling!==null;)n=n.sibling,o=o.sibling=Do(n,n.pendingProps),o.return=r;o.sibling=null}return r.child}function Zp(n,r){return(n.lanes&r)!==0?!0:(n=n.dependencies,!!(n!==null&&hc(n)))}function Ip(n,r,o){switch(r.tag){case 3:We(r,r.stateNode.containerInfo),gl(r,aa,n.memoizedState.cache),hu();break;case 27:case 5:ot(r);break;case 4:We(r,r.stateNode.containerInfo);break;case 10:gl(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,ws(r),null;break;case 13:var f=r.memoizedState;if(f!==null)return f.dehydrated!==null?(Vi(r),r.flags|=128,null):(o&r.child.childLanes)!==0?ev(n,r,o):(Vi(r),n=cr(n,r,o),n!==null?n.sibling:null);Vi(r);break;case 19:var g=(n.flags&128)!==0;if(f=(o&r.childLanes)!==0,f||(Ma(n,r,o,!1),f=(o&r.childLanes)!==0),g){if(f)return tv(n,r,o);r.flags|=128}if(g=r.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),ue(Un,Un.current),f)break;return null;case 22:return r.lanes=0,wE(n,r,o,r.pendingProps);case 24:gl(r,aa,n.memoizedState.cache)}return cr(n,r,o)}function nv(n,r,o){if(n!==null)if(n.memoizedProps!==r.pendingProps)ra=!0;else{if(!Zp(n,o)&&(r.flags&128)===0)return ra=!1,Ip(n,r,o);ra=(n.flags&131072)!==0}else ra=!1,Qt&&(r.flags&1048576)!==0&&bg(r,na,r.index);switch(r.lanes=0,r.tag){case 16:e:{var f=r.pendingProps;if(n=yu(r.elementType),r.type=n,typeof n=="function")fc(n)?(f=xu(n,f),r.tag=1,r=Pg(null,r,n,f,o)):(r.tag=0,r=Qp(null,r,n,f,o));else{if(n!=null){var g=n.$$typeof;if(g===W){r.tag=11,r=Fg(null,r,n,f,o);break e}else if(g===ae){r.tag=14,r=Kg(null,r,n,f,o);break e}}throw r=$e(n)||n,Error(s(306,r,""))}}return r;case 0:return Qp(n,r,r.type,r.pendingProps,o);case 1:return f=r.type,g=xu(f,r.pendingProps),Pg(n,r,f,g,o);case 3:e:{if(We(r,r.stateNode.containerInfo),n===null)throw Error(s(387));f=r.pendingProps;var b=r.memoizedState;g=b.element,Sp(n,r),Hi(r,f,null,o);var C=r.memoizedState;if(f=C.cache,gl(r,aa,f),f!==b.cache&&Bi(r,[aa],o,!0),Su(),f=C.element,b.isDehydrated)if(b={element:f,isDehydrated:!1,cache:C.cache},r.updateQueue.baseState=b,r.memoizedState=b,r.flags&256){r=ui(n,r,f,o);break e}else if(f!==g){g=tr(Error(s(424)),r),xs(g),r=ui(n,r,f,o);break e}else{switch(n=r.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(xn=Rl(n.firstChild),wa=r,Qt=!0,zi=null,ba=!0,o=Rg(r,null,f,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(hu(),f===g){r=cr(n,r,o);break e}Nn(n,r,f,o)}r=r.child}return r;case 26:return or(n,r),n===null?(o=of(r.type,null,r.pendingProps,null))?r.memoizedState=o:Qt||(o=r.type,n=r.pendingProps,f=ju(Ue.current).createElement(o),f[qe]=r,f[Xe]=n,Za(f,o,n),Gt(f),r.stateNode=f):r.memoizedState=of(r.type,n.memoizedProps,r.pendingProps,n.memoizedState),null;case 27:return ot(r),n===null&&Qt&&(f=r.stateNode=lf(r.type,r.pendingProps,Ue.current),wa=r,ba=!0,g=xn,pi(r.type)?(nh=g,xn=Rl(f.firstChild)):xn=g),Nn(n,r,r.pendingProps.children,o),or(n,r),n===null&&(r.flags|=4194304),r.child;case 5:return n===null&&Qt&&((g=f=xn)&&(f=W_(f,r.type,r.pendingProps,ba),f!==null?(r.stateNode=f,wa=r,xn=Rl(f.firstChild),ba=!1,g=!0):g=!1),g||wr(r)),ot(r),g=r.type,b=r.pendingProps,C=n!==null?n.memoizedProps:null,f=b.children,nf(g,b)?f=null:C!==null&&nf(g,C)&&(r.flags|=32),r.memoizedState!==null&&(g=_d(n,r,I_,null,null,o),rh._currentValue=g),or(n,r),Nn(n,r,f,o),r.child;case 6:return n===null&&Qt&&((n=o=xn)&&(o=Lt(o,r.pendingProps,ba),o!==null?(r.stateNode=o,wa=r,xn=null,n=!0):n=!1),n||wr(r)),null;case 13:return ev(n,r,o);case 4:return We(r,r.stateNode.containerInfo),f=r.pendingProps,n===null?r.child=bu(r,null,f,o):Nn(n,r,f,o),r.child;case 11:return Fg(n,r,r.type,r.pendingProps,o);case 7:return Nn(n,r,r.pendingProps,o),r.child;case 8:return Nn(n,r,r.pendingProps.children,o),r.child;case 12:return Nn(n,r,r.pendingProps.children,o),r.child;case 10:return f=r.pendingProps,gl(r,r.type,f.value),Nn(n,r,f.children,o),r.child;case 9:return g=r.type._context,f=r.pendingProps.children,Et(r),g=Ce(g),f=f(g),r.flags|=1,Nn(n,r,f,o),r.child;case 14:return Kg(n,r,r.type,r.pendingProps,o);case 15:return Wg(n,r,r.type,r.pendingProps,o);case 19:return tv(n,r,o);case 31:return ME(n,r,o);case 22:return wE(n,r,o,r.pendingProps);case 24:return Et(r),f=Ce(aa),n===null?(g=lr(),g===null&&(g=vn,b=hd(),g.pooledCache=b,b.refCount++,b!==null&&(g.pooledCacheLanes|=o),g=b),r.memoizedState={parent:f,cache:g},Ed(r),gl(r,aa,g)):((n.lanes&o)!==0&&(Sp(n,r),Hi(r,null,null,o),Su()),g=n.memoizedState,b=r.memoizedState,g.parent!==f?(g={parent:f,cache:f},r.memoizedState=g,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=g),gl(r,aa,f)):(f=b.cache,gl(r,aa,f),f!==g.cache&&Bi(r,[aa],o,!0))),Nn(n,r,r.pendingProps.children,o),r.child;case 29:throw r.pendingProps}throw Error(s(156,r.tag))}function Qi(n){n.flags|=4}function av(n,r,o,f,g){if((r=(n.mode&32)!==0)&&(r=!1),r){if(n.flags|=16777216,(g&335544128)===g)if(n.stateNode.complete)n.flags|=8192;else if(YE())n.flags|=8192;else throw gu=gc,yc}else n.flags&=-16777217}function lv(n,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!$l(r))if(YE())n.flags|=8192;else throw gu=gc,yc}function ll(n,r){r!==null&&(n.flags|=4),n.flags&16384&&(r=n.tag!==22?ga():536870912,n.lanes|=r,$n|=r)}function Vs(n,r){if(!Qt)switch(n.tailMode){case"hidden":r=n.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?n.tail=null:o.sibling=null;break;case"collapsed":o=n.tail;for(var f=null;o!==null;)o.alternate!==null&&(f=o),o=o.sibling;f===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}function vt(n){var r=n.alternate!==null&&n.alternate.child===n.child,o=0,f=0;if(r)for(var g=n.child;g!==null;)o|=g.lanes|g.childLanes,f|=g.subtreeFlags&65011712,f|=g.flags&65011712,g.return=n,g=g.sibling;else for(g=n.child;g!==null;)o|=g.lanes|g.childLanes,f|=g.subtreeFlags,f|=g.flags,g.return=n,g=g.sibling;return n.subtreeFlags|=f,n.childLanes=o,r}function NE(n,r,o){var f=r.pendingProps;switch(gp(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(r),null;case 1:return vt(r),null;case 3:return o=r.stateNode,f=null,n!==null&&(f=n.memoizedState.cache),r.memoizedState.cache!==f&&(r.flags|=2048),ri(aa),Qe(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(n===null||n.child===null)&&(Li(r)?Qi(r):n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,Eg())),vt(r),null;case 26:var g=r.type,b=r.memoizedState;return n===null?(Qi(r),b!==null?(vt(r),lv(r,b)):(vt(r),av(r,g,null,f,o))):b?b!==n.memoizedState?(Qi(r),vt(r),lv(r,b)):(vt(r),r.flags&=-16777217):(n=n.memoizedProps,n!==f&&Qi(r),vt(r),av(r,g,n,f,o)),null;case 27:if(Le(r),o=Ue.current,g=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==f&&Qi(r);else{if(!f){if(r.stateNode===null)throw Error(s(166));return vt(r),null}n=re.current,Li(r)?fd(r):(n=lf(g,f,o),r.stateNode=n,Qi(r))}return vt(r),null;case 5:if(Le(r),g=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==f&&Qi(r);else{if(!f){if(r.stateNode===null)throw Error(s(166));return vt(r),null}if(b=re.current,Li(r))fd(r);else{var C=ju(Ue.current);switch(b){case 1:b=C.createElementNS("http://www.w3.org/2000/svg",g);break;case 2:b=C.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;default:switch(g){case"svg":b=C.createElementNS("http://www.w3.org/2000/svg",g);break;case"math":b=C.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;case"script":b=C.createElement("div"),b.innerHTML="<script><\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof f.is=="string"?C.createElement("select",{is:f.is}):C.createElement("select"),f.multiple?b.multiple=!0:f.size&&(b.size=f.size);break;default:b=typeof f.is=="string"?C.createElement(g,{is:f.is}):C.createElement(g)}}b[qe]=r,b[Xe]=f;e:for(C=r.child;C!==null;){if(C.tag===5||C.tag===6)b.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===r)break e;for(;C.sibling===null;){if(C.return===null||C.return===r)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}r.stateNode=b;e:switch(Za(b,g,f),g){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}f&&Qi(r)}}return vt(r),av(r,r.type,n===null?null:n.memoizedProps,r.pendingProps,o),null;case 6:if(n&&r.stateNode!=null)n.memoizedProps!==f&&Qi(r);else{if(typeof f!="string"&&r.stateNode===null)throw Error(s(166));if(n=Ue.current,Li(r)){if(n=r.stateNode,o=r.memoizedProps,f=null,g=wa,g!==null)switch(g.tag){case 27:case 5:f=g.memoizedProps}n[qe]=r,n=!!(n.nodeValue===o||f!==null&&f.suppressHydrationWarning===!0||Cv(n.nodeValue,o)),n||wr(r,!0)}else n=ju(n).createTextNode(f),n[qe]=r,r.stateNode=n}return vt(r),null;case 31:if(o=r.memoizedState,n===null||n.memoizedState!==null){if(f=Li(r),o!==null){if(n===null){if(!f)throw Error(s(318));if(n=r.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(557));n[qe]=r}else hu(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;vt(r),n=!1}else o=Eg(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=o),n=!0;if(!n)return r.flags&256?(bl(r),r):(bl(r),null);if((r.flags&128)!==0)throw Error(s(558))}return vt(r),null;case 13:if(f=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(g=Li(r),f!==null&&f.dehydrated!==null){if(n===null){if(!g)throw Error(s(318));if(g=r.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(s(317));g[qe]=r}else hu(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;vt(r),g=!1}else g=Eg(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=g),g=!0;if(!g)return r.flags&256?(bl(r),r):(bl(r),null)}return bl(r),(r.flags&128)!==0?(r.lanes=o,r):(o=f!==null,n=n!==null&&n.memoizedState!==null,o&&(f=r.child,g=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(g=f.alternate.memoizedState.cachePool.pool),b=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(b=f.memoizedState.cachePool.pool),b!==g&&(f.flags|=2048)),o!==n&&o&&(r.child.flags|=8192),ll(r,r.updateQueue),vt(r),null);case 4:return Qe(),n===null&&tf(r.stateNode.containerInfo),vt(r),null;case 10:return ri(r.type),vt(r),null;case 19:if(J(Un),f=r.memoizedState,f===null)return vt(r),null;if(g=(r.flags&128)!==0,b=f.rendering,b===null)if(g)Vs(f,!1);else{if(An!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(b=Ms(n),b!==null){for(r.flags|=128,Vs(f,!1),n=b.updateQueue,r.updateQueue=n,ll(r,n),r.subtreeFlags=0,n=o,o=r.child;o!==null;)yg(o,n),o=o.sibling;return ue(Un,Un.current&1|2),Qt&&Dr(r,f.treeForkCount),r.child}n=n.sibling}f.tail!==null&&Mn()>rn&&(r.flags|=128,g=!0,Vs(f,!1),r.lanes=4194304)}else{if(!g)if(n=Ms(b),n!==null){if(r.flags|=128,g=!0,n=n.updateQueue,r.updateQueue=n,ll(r,n),Vs(f,!0),f.tail===null&&f.tailMode==="hidden"&&!b.alternate&&!Qt)return vt(r),null}else 2*Mn()-f.renderingStartTime>rn&&o!==536870912&&(r.flags|=128,g=!0,Vs(f,!1),r.lanes=4194304);f.isBackwards?(b.sibling=r.child,r.child=b):(n=f.last,n!==null?n.sibling=b:r.child=b,f.last=b)}return f.tail!==null?(n=f.tail,f.rendering=n,f.tail=n.sibling,f.renderingStartTime=Mn(),n.sibling=null,o=Un.current,ue(Un,g?o&1|2:o&1),Qt&&Dr(r,f.treeForkCount),n):(vt(r),null);case 22:case 23:return bl(r),Ds(),f=r.memoizedState!==null,n!==null?n.memoizedState!==null!==f&&(r.flags|=8192):f&&(r.flags|=8192),f?(o&536870912)!==0&&(r.flags&128)===0&&(vt(r),r.subtreeFlags&6&&(r.flags|=8192)):vt(r),o=r.updateQueue,o!==null&&ll(r,o.retryQueue),o=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),f=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(f=r.memoizedState.cachePool.pool),f!==o&&(r.flags|=2048),n!==null&&J(ar),null;case 24:return o=null,n!==null&&(o=n.memoizedState.cache),r.memoizedState.cache!==o&&(r.flags|=2048),ri(aa),vt(r),null;case 25:return null;case 30:return null}throw Error(s(156,r.tag))}function jE(n,r){switch(gp(r),r.tag){case 1:return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return ri(aa),Qe(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 26:case 27:case 5:return Le(r),null;case 31:if(r.memoizedState!==null){if(bl(r),r.alternate===null)throw Error(s(340));hu()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 13:if(bl(r),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(s(340));hu()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return J(Un),null;case 4:return Qe(),null;case 10:return ri(r.type),null;case 22:case 23:return bl(r),Ds(),n!==null&&J(ar),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 24:return ri(aa),null;case 25:return null;default:return null}}function zE(n,r){switch(gp(r),r.tag){case 3:ri(aa),Qe();break;case 26:case 27:case 5:Le(r);break;case 4:Qe();break;case 31:r.memoizedState!==null&&bl(r);break;case 13:bl(r);break;case 19:J(Un);break;case 10:ri(r.type);break;case 22:case 23:bl(r),Ds(),n!==null&&J(ar);break;case 24:ri(aa)}}function Nr(n,r){try{var o=r.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var g=f.next;o=g;do{if((o.tag&n)===n){f=void 0;var b=o.create,C=o.inst;f=b(),C.destroy=f}o=o.next}while(o!==g)}}catch(B){hn(r,r.return,B)}}function sr(n,r,o){try{var f=r.updateQueue,g=f!==null?f.lastEffect:null;if(g!==null){var b=g.next;f=b;do{if((f.tag&n)===n){var C=f.inst,B=C.destroy;if(B!==void 0){C.destroy=void 0,g=r;var Z=o,de=B;try{de()}catch(Te){hn(g,Z,Te)}}}f=f.next}while(f!==b)}}catch(Te){hn(r,r.return,Te)}}function Jp(n){var r=n.updateQueue;if(r!==null){var o=n.stateNode;try{Tu(r,o)}catch(f){hn(n,n.return,f)}}}function Du(n,r,o){o.props=xu(n.type,n.memoizedProps),o.state=n.memoizedState;try{o.componentWillUnmount()}catch(f){hn(n,r,f)}}function Xi(n,r){try{var o=n.ref;if(o!==null){switch(n.tag){case 26:case 27:case 5:var f=n.stateNode;break;case 30:f=n.stateNode;break;default:f=n.stateNode}typeof o=="function"?n.refCleanup=o(f):o.current=f}}catch(g){hn(n,r,g)}}function ci(n,r){var o=n.ref,f=n.refCleanup;if(o!==null)if(typeof f=="function")try{f()}catch(g){hn(n,r,g)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(g){hn(n,r,g)}else o.current=null}function rv(n){var r=n.type,o=n.memoizedProps,f=n.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":o.autoFocus&&f.focus();break e;case"img":o.src?f.src=o.src:o.srcSet&&(f.srcset=o.srcSet)}}catch(g){hn(n,n.return,g)}}function Fp(n,r,o){try{var f=n.stateNode;wv(f,n.type,o,r),f[Xe]=r}catch(g){hn(n,n.return,g)}}function iv(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&pi(n.type)||n.tag===4}function qs(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||iv(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&pi(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Ys(n,r,o){var f=n.tag;if(f===5||f===6)n=n.stateNode,r?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(n,r):(r=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,r.appendChild(n),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=Jr));else if(f!==4&&(f===27&&pi(n.type)&&(o=n.stateNode,r=null),n=n.child,n!==null))for(Ys(n,r,o),n=n.sibling;n!==null;)Ys(n,r,o),n=n.sibling}function ks(n,r,o){var f=n.tag;if(f===5||f===6)n=n.stateNode,r?o.insertBefore(n,r):o.appendChild(n);else if(f!==4&&(f===27&&pi(n.type)&&(o=n.stateNode),n=n.child,n!==null))for(ks(n,r,o),n=n.sibling;n!==null;)ks(n,r,o),n=n.sibling}function ov(n){var r=n.stateNode,o=n.memoizedProps;try{for(var f=n.type,g=r.attributes;g.length;)r.removeAttributeNode(g[0]);Za(r,f,o),r[qe]=n,r[Xe]=o}catch(b){hn(n,n.return,b)}}var Vo=!1,fa=!1,Kp=!1,uv=typeof WeakSet=="function"?WeakSet:Set,za=null;function Gs(n,r){if(n=n.containerInfo,gm=Ta,n=su(n),ld(n)){if("selectionStart"in n)var o={start:n.selectionStart,end:n.selectionEnd};else e:{o=(o=n.ownerDocument)&&o.defaultView||window;var f=o.getSelection&&o.getSelection();if(f&&f.rangeCount!==0){o=f.anchorNode;var g=f.anchorOffset,b=f.focusNode;f=f.focusOffset;try{o.nodeType,b.nodeType}catch{o=null;break e}var C=0,B=-1,Z=-1,de=0,Te=0,Re=n,he=null;t:for(;;){for(var be;Re!==o||g!==0&&Re.nodeType!==3||(B=C+g),Re!==b||f!==0&&Re.nodeType!==3||(Z=C+f),Re.nodeType===3&&(C+=Re.nodeValue.length),(be=Re.firstChild)!==null;)he=Re,Re=be;for(;;){if(Re===n)break t;if(he===o&&++de===g&&(B=C),he===b&&++Te===f&&(Z=C),(be=Re.nextSibling)!==null)break;Re=he,he=Re.parentNode}Re=be}o=B===-1||Z===-1?null:{start:B,end:Z}}else o=null}o=o||{start:0,end:0}}else o=null;for(vm={focusedElem:n,selectionRange:o},Ta=!1,za=r;za!==null;)if(r=za,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,za=n;else for(;za!==null;){switch(r=za,b=r.alternate,n=r.flags,r.tag){case 0:if((n&4)!==0&&(n=r.updateQueue,n=n!==null?n.events:null,n!==null))for(o=0;o<n.length;o++)g=n[o],g.ref.impl=g.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&b!==null){n=void 0,o=r,g=b.memoizedProps,b=b.memoizedState,f=o.stateNode;try{var Pe=xu(o.type,g);n=f.getSnapshotBeforeUpdate(Pe,b),f.__reactInternalSnapshotBeforeUpdate=n}catch(ht){hn(o,o.return,ht)}}break;case 3:if((n&1024)!==0){if(n=r.stateNode.containerInfo,o=n.nodeType,o===9)th(n);else if(o===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":th(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(s(163))}if(n=r.sibling,n!==null){n.return=r.return,za=n;break}za=r.return}}function Hd(n,r,o){var f=o.flags;switch(o.tag){case 0:case 11:case 15:qo(n,o),f&4&&Nr(5,o);break;case 1:if(qo(n,o),f&4)if(n=o.stateNode,r===null)try{n.componentDidMount()}catch(C){hn(o,o.return,C)}else{var g=xu(o.type,r.memoizedProps);r=r.memoizedState;try{n.componentDidUpdate(g,r,n.__reactInternalSnapshotBeforeUpdate)}catch(C){hn(o,o.return,C)}}f&64&&Jp(o),f&512&&Xi(o,o.return);break;case 3:if(qo(n,o),f&64&&(n=o.updateQueue,n!==null)){if(r=null,o.child!==null)switch(o.child.tag){case 27:case 5:r=o.child.stateNode;break;case 1:r=o.child.stateNode}try{Tu(n,r)}catch(C){hn(o,o.return,C)}}break;case 27:r===null&&f&4&&ov(o);case 26:case 5:qo(n,o),r===null&&f&4&&rv(o),f&512&&Xi(o,o.return);break;case 12:qo(n,o);break;case 31:qo(n,o),f&4&&UE(n,o);break;case 13:qo(n,o),f&4&&fv(n,o),f&64&&(n=o.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(o=fr.bind(null,o),af(n,o))));break;case 22:if(f=o.memoizedState!==null||Vo,!f){r=r!==null&&r.memoizedState!==null||fa,g=Vo;var b=fa;Vo=f,(fa=r)&&!b?si(n,o,(o.subtreeFlags&8772)!==0):qo(n,o),Vo=g,fa=b}break;case 30:break;default:qo(n,o)}}function cv(n){var r=n.alternate;r!==null&&(n.alternate=null,cv(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&yn(r)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Rn=null,Tl=!1;function Zi(n,r,o){for(o=o.child;o!==null;)sv(n,r,o),o=o.sibling}function sv(n,r,o){if(Wn&&typeof Wn.onCommitFiberUnmount=="function")try{Wn.onCommitFiberUnmount(el,o)}catch{}switch(o.tag){case 26:fa||ci(o,r),Zi(n,r,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:fa||ci(o,r);var f=Rn,g=Tl;pi(o.type)&&(Rn=o.stateNode,Tl=!1),Zi(n,r,o),Lc(o.stateNode),Rn=f,Tl=g;break;case 5:fa||ci(o,r);case 6:if(f=Rn,g=Tl,Rn=null,Zi(n,r,o),Rn=f,Tl=g,Rn!==null)if(Tl)try{(Rn.nodeType===9?Rn.body:Rn.nodeName==="HTML"?Rn.ownerDocument.body:Rn).removeChild(o.stateNode)}catch(b){hn(o,r,b)}else try{Rn.removeChild(o.stateNode)}catch(b){hn(o,r,b)}break;case 18:Rn!==null&&(Tl?(n=Rn,zv(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,o.stateNode),mf(n)):zv(Rn,o.stateNode));break;case 4:f=Rn,g=Tl,Rn=o.stateNode.containerInfo,Tl=!0,Zi(n,r,o),Rn=f,Tl=g;break;case 0:case 11:case 14:case 15:sr(2,o,r),fa||sr(4,o,r),Zi(n,r,o);break;case 1:fa||(ci(o,r),f=o.stateNode,typeof f.componentWillUnmount=="function"&&Du(o,r,f)),Zi(n,r,o);break;case 21:Zi(n,r,o);break;case 22:fa=(f=fa)||o.memoizedState!==null,Zi(n,r,o),fa=f;break;default:Zi(n,r,o)}}function UE(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{mf(n)}catch(o){hn(r,r.return,o)}}}function fv(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{mf(n)}catch(o){hn(r,r.return,o)}}function Vd(n){switch(n.tag){case 31:case 13:case 19:var r=n.stateNode;return r===null&&(r=n.stateNode=new uv),r;case 22:return n=n.stateNode,r=n._retryCache,r===null&&(r=n._retryCache=new uv),r;default:throw Error(s(435,n.tag))}}function qd(n,r){var o=Vd(n);r.forEach(function(f){if(!o.has(f)){o.add(f);var g=nS.bind(null,n,f);f.then(g,g)}})}function _l(n,r){var o=r.deletions;if(o!==null)for(var f=0;f<o.length;f++){var g=o[f],b=n,C=r,B=C;e:for(;B!==null;){switch(B.tag){case 27:if(pi(B.type)){Rn=B.stateNode,Tl=!1;break e}break;case 5:Rn=B.stateNode,Tl=!1;break e;case 3:case 4:Rn=B.stateNode.containerInfo,Tl=!0;break e}B=B.return}if(Rn===null)throw Error(s(160));sv(b,C,g),Rn=null,Tl=!1,b=g.alternate,b!==null&&(b.return=null),g.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)Wp(r,n),r=r.sibling}var Nt=null;function Wp(n,r){var o=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:_l(r,n),Vl(n),f&4&&(sr(3,n,n.return),Nr(3,n),sr(5,n,n.return));break;case 1:_l(r,n),Vl(n),f&512&&(fa||o===null||ci(o,o.return)),f&64&&Vo&&(n=n.updateQueue,n!==null&&(f=n.callbacks,f!==null&&(o=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=o===null?f:o.concat(f))));break;case 26:var g=Nt;if(_l(r,n),Vl(n),f&512&&(fa||o===null||ci(o,o.return)),f&4){var b=o!==null?o.memoizedState:null;if(f=n.memoizedState,o===null)if(f===null)if(n.stateNode===null){e:{f=n.type,o=n.memoizedProps,g=g.ownerDocument||g;t:switch(f){case"title":b=g.getElementsByTagName("title")[0],(!b||b[_t]||b[qe]||b.namespaceURI==="http://www.w3.org/2000/svg"||b.hasAttribute("itemprop"))&&(b=g.createElement(f),g.head.insertBefore(b,g.querySelector("head > title"))),Za(b,f,o),b[qe]=n,Gt(b),f=b;break e;case"link":var C=Hv("link","href",g).get(f+(o.href||""));if(C){for(var B=0;B<C.length;B++)if(b=C[B],b.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&b.getAttribute("rel")===(o.rel==null?null:o.rel)&&b.getAttribute("title")===(o.title==null?null:o.title)&&b.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){C.splice(B,1);break t}}b=g.createElement(f),Za(b,f,o),g.head.appendChild(b);break;case"meta":if(C=Hv("meta","content",g).get(f+(o.content||""))){for(B=0;B<C.length;B++)if(b=C[B],b.getAttribute("content")===(o.content==null?null:""+o.content)&&b.getAttribute("name")===(o.name==null?null:o.name)&&b.getAttribute("property")===(o.property==null?null:o.property)&&b.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&b.getAttribute("charset")===(o.charSet==null?null:o.charSet)){C.splice(B,1);break t}}b=g.createElement(f),Za(b,f,o),g.head.appendChild(b);break;default:throw Error(s(468,f))}b[qe]=n,Gt(b),f=b}n.stateNode=f}else _m(g,n.type,n.stateNode);else n.stateNode=Bv(g,f,n.memoizedProps);else b!==f?(b===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):b.count--,f===null?_m(g,n.type,n.stateNode):Bv(g,f,n.memoizedProps)):f===null&&n.stateNode!==null&&Fp(n,n.memoizedProps,o.memoizedProps)}break;case 27:_l(r,n),Vl(n),f&512&&(fa||o===null||ci(o,o.return)),o!==null&&f&4&&Fp(n,n.memoizedProps,o.memoizedProps);break;case 5:if(_l(r,n),Vl(n),f&512&&(fa||o===null||ci(o,o.return)),n.flags&32){g=n.stateNode;try{Ci(g,"")}catch(Pe){hn(n,n.return,Pe)}}f&4&&n.stateNode!=null&&(g=n.memoizedProps,Fp(n,g,o!==null?o.memoizedProps:g)),f&1024&&(Kp=!0);break;case 6:if(_l(r,n),Vl(n),f&4){if(n.stateNode===null)throw Error(s(162));f=n.memoizedProps,o=n.stateNode;try{o.nodeValue=f}catch(Pe){hn(n,n.return,Pe)}}break;case 3:if(sf=null,g=Nt,Nt=rl(r.containerInfo),_l(r,n),Nt=g,Vl(n),f&4&&o!==null&&o.memoizedState.isDehydrated)try{mf(r.containerInfo)}catch(Pe){hn(n,n.return,Pe)}Kp&&(Kp=!1,dv(n));break;case 4:f=Nt,Nt=rl(n.stateNode.containerInfo),_l(r,n),Vl(n),Nt=f;break;case 12:_l(r,n),Vl(n);break;case 31:_l(r,n),Vl(n),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,qd(n,f)));break;case 13:_l(r,n),Vl(n),n.child.flags&8192&&n.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(hi=Mn()),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,qd(n,f)));break;case 22:g=n.memoizedState!==null;var Z=o!==null&&o.memoizedState!==null,de=Vo,Te=fa;if(Vo=de||g,fa=Te||Z,_l(r,n),fa=Te,Vo=de,Vl(n),f&8192)e:for(r=n.stateNode,r._visibility=g?r._visibility&-2:r._visibility|1,g&&(o===null||Z||Vo||fa||Dc(n)),o=null,r=n;;){if(r.tag===5||r.tag===26){if(o===null){Z=o=r;try{if(b=Z.stateNode,g)C=b.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{B=Z.stateNode;var Re=Z.memoizedProps.style,he=Re!=null&&Re.hasOwnProperty("display")?Re.display:null;B.style.display=he==null||typeof he=="boolean"?"":(""+he).trim()}}catch(Pe){hn(Z,Z.return,Pe)}}}else if(r.tag===6){if(o===null){Z=r;try{Z.stateNode.nodeValue=g?"":Z.memoizedProps}catch(Pe){hn(Z,Z.return,Pe)}}}else if(r.tag===18){if(o===null){Z=r;try{var be=Z.stateNode;g?ia(be,!0):ia(Z.stateNode,!1)}catch(Pe){hn(Z,Z.return,Pe)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===n)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;o===r&&(o=null),r=r.return}o===r&&(o=null),r.sibling.return=r.return,r=r.sibling}f&4&&(f=n.updateQueue,f!==null&&(o=f.retryQueue,o!==null&&(f.retryQueue=null,qd(n,o))));break;case 19:_l(r,n),Vl(n),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,qd(n,f)));break;case 30:break;case 21:break;default:_l(r,n),Vl(n)}}function Vl(n){var r=n.flags;if(r&2){try{for(var o,f=n.return;f!==null;){if(iv(f)){o=f;break}f=f.return}if(o==null)throw Error(s(160));switch(o.tag){case 27:var g=o.stateNode,b=qs(n);ks(n,b,g);break;case 5:var C=o.stateNode;o.flags&32&&(Ci(C,""),o.flags&=-33);var B=qs(n);ks(n,B,C);break;case 3:case 4:var Z=o.stateNode.containerInfo,de=qs(n);Ys(n,de,Z);break;default:throw Error(s(161))}}catch(Te){hn(n,n.return,Te)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function dv(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var r=n;dv(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),n=n.sibling}}function qo(n,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)Hd(n,r.alternate,r),r=r.sibling}function Dc(n){for(n=n.child;n!==null;){var r=n;switch(r.tag){case 0:case 11:case 14:case 15:sr(4,r,r.return),Dc(r);break;case 1:ci(r,r.return);var o=r.stateNode;typeof o.componentWillUnmount=="function"&&Du(r,r.return,o),Dc(r);break;case 27:Lc(r.stateNode);case 26:case 5:ci(r,r.return),Dc(r);break;case 22:r.memoizedState===null&&Dc(r);break;case 30:Dc(r);break;default:Dc(r)}n=n.sibling}}function si(n,r,o){for(o=o&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var f=r.alternate,g=n,b=r,C=b.flags;switch(b.tag){case 0:case 11:case 15:si(g,b,o),Nr(4,b);break;case 1:if(si(g,b,o),f=b,g=f.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(de){hn(f,f.return,de)}if(f=b,g=f.updateQueue,g!==null){var B=f.stateNode;try{var Z=g.shared.hiddenCallbacks;if(Z!==null)for(g.shared.hiddenCallbacks=null,g=0;g<Z.length;g++)_p(Z[g],B)}catch(de){hn(f,f.return,de)}}o&&C&64&&Jp(b),Xi(b,b.return);break;case 27:ov(b);case 26:case 5:si(g,b,o),o&&f===null&&C&4&&rv(b),Xi(b,b.return);break;case 12:si(g,b,o);break;case 31:si(g,b,o),o&&C&4&&UE(g,b);break;case 13:si(g,b,o),o&&C&4&&fv(g,b);break;case 22:b.memoizedState===null&&si(g,b,o),Xi(b,b.return);break;case 30:break;default:si(g,b,o)}r=r.sibling}}function Pp(n,r){var o=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(o=n.memoizedState.cachePool.pool),n=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(n=r.memoizedState.cachePool.pool),n!==o&&(n!=null&&n.refCount++,o!=null&&pd(o))}function em(n,r){n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&pd(n))}function jr(n,r,o,f){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)$s(n,r,o,f),r=r.sibling}function $s(n,r,o,f){var g=r.flags;switch(r.tag){case 0:case 11:case 15:jr(n,r,o,f),g&2048&&Nr(9,r);break;case 1:jr(n,r,o,f);break;case 3:jr(n,r,o,f),g&2048&&(n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&pd(n)));break;case 12:if(g&2048){jr(n,r,o,f),n=r.stateNode;try{var b=r.memoizedProps,C=b.id,B=b.onPostCommit;typeof B=="function"&&B(C,r.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(Z){hn(r,r.return,Z)}}else jr(n,r,o,f);break;case 31:jr(n,r,o,f);break;case 13:jr(n,r,o,f);break;case 23:break;case 22:b=r.stateNode,C=r.alternate,r.memoizedState!==null?b._visibility&2?jr(n,r,o,f):Yd(n,r):b._visibility&2?jr(n,r,o,f):(b._visibility|=2,Qs(n,r,o,f,(r.subtreeFlags&10256)!==0||!1)),g&2048&&Pp(C,r);break;case 24:jr(n,r,o,f),g&2048&&em(r.alternate,r);break;default:jr(n,r,o,f)}}function Qs(n,r,o,f,g){for(g=g&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var b=n,C=r,B=o,Z=f,de=C.flags;switch(C.tag){case 0:case 11:case 15:Qs(b,C,B,Z,g),Nr(8,C);break;case 23:break;case 22:var Te=C.stateNode;C.memoizedState!==null?Te._visibility&2?Qs(b,C,B,Z,g):Yd(b,C):(Te._visibility|=2,Qs(b,C,B,Z,g)),g&&de&2048&&Pp(C.alternate,C);break;case 24:Qs(b,C,B,Z,g),g&&de&2048&&em(C.alternate,C);break;default:Qs(b,C,B,Z,g)}r=r.sibling}}function Yd(n,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var o=n,f=r,g=f.flags;switch(f.tag){case 22:Yd(o,f),g&2048&&Pp(f.alternate,f);break;case 24:Yd(o,f),g&2048&&em(f.alternate,f);break;default:Yd(o,f)}r=r.sibling}}var ql=8192;function Ii(n,r,o){if(n.subtreeFlags&ql)for(n=n.child;n!==null;)LE(n,r,o),n=n.sibling}function LE(n,r,o){switch(n.tag){case 26:Ii(n,r,o),n.flags&ql&&n.memoizedState!==null&&Pi(o,Nt,n.memoizedState,n.memoizedProps);break;case 5:Ii(n,r,o);break;case 3:case 4:var f=Nt;Nt=rl(n.stateNode.containerInfo),Ii(n,r,o),Nt=f;break;case 22:n.memoizedState===null&&(f=n.alternate,f!==null&&f.memoizedState!==null?(f=ql,ql=16777216,Ii(n,r,o),ql=f):Ii(n,r,o));break;default:Ii(n,r,o)}}function tm(n){var r=n.alternate;if(r!==null&&(n=r.child,n!==null)){r.child=null;do r=n.sibling,n.sibling=null,n=r;while(n!==null)}}function Xs(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var o=0;o<r.length;o++){var f=r[o];za=f,nm(f,n)}tm(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)hv(n),n=n.sibling}function hv(n){switch(n.tag){case 0:case 11:case 15:Xs(n),n.flags&2048&&sr(9,n,n.return);break;case 3:Xs(n);break;case 12:Xs(n);break;case 22:var r=n.stateNode;n.memoizedState!==null&&r._visibility&2&&(n.return===null||n.return.tag!==13)?(r._visibility&=-3,kd(n)):Xs(n);break;default:Xs(n)}}function kd(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var o=0;o<r.length;o++){var f=r[o];za=f,nm(f,n)}tm(n)}for(n=n.child;n!==null;){switch(r=n,r.tag){case 0:case 11:case 15:sr(8,r,r.return),kd(r);break;case 22:o=r.stateNode,o._visibility&2&&(o._visibility&=-3,kd(r));break;default:kd(r)}n=n.sibling}}function nm(n,r){for(;za!==null;){var o=za;switch(o.tag){case 0:case 11:case 15:sr(8,o,r);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var f=o.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:pd(o.memoizedState.cache)}if(f=o.child,f!==null)f.return=o,za=f;else e:for(o=n;za!==null;){f=za;var g=f.sibling,b=f.return;if(cv(f),f===o){za=null;break e}if(g!==null){g.return=b,za=g;break e}za=b}}}var BE={getCacheForType:function(n){var r=Ce(aa),o=r.data.get(n);return o===void 0&&(o=n(),r.data.set(n,o)),o},cacheSignal:function(){return Ce(aa).controller.signal}},pv=typeof WeakMap=="function"?WeakMap:Map,nn=0,vn=null,Xt=null,Yt=0,dn=0,yt=null,Ji=!1,wu=!1,am=!1,fi=0,An=0,di=0,wc=0,lm=0,Ol=0,$n=0,Gd=null,Qn=null,rm=!1,hi=0,mv=0,rn=1/0,Zs=null,Ln=null,Sa=0,Yo=null,Mu=null,Fi=0,Yl=0,im=null,om=null,Is=0,$d=null;function kl(){return(nn&2)!==0&&Yt!==0?Yt&-Yt:k.T!==null?dm():je()}function HE(){if(Ol===0)if((Yt&536870912)===0||Qt){var n=Be;Be<<=1,(Be&3932160)===0&&(Be=262144),Ol=n}else Ol=536870912;return n=vl.current,n!==null&&(n.flags|=32),Ol}function xl(n,r,o){(n===vn&&(dn===2||dn===9)||n.cancelPendingCommit!==null)&&(Ki(n,0),ko(n,Yt,Ol,!1)),Fl(n,o),((nn&2)===0||n!==vn)&&(n===vn&&((nn&2)===0&&(wc|=o),An===4&&ko(n,Yt,Ol,!1)),Wi(n))}function VE(n,r,o){if((nn&6)!==0)throw Error(s(327));var f=!o&&(r&127)===0&&(r&n.expiredLanes)===0||Dt(n,r),g=f?$E(n,r):cm(n,r,!0),b=f;do{if(g===0){wu&&!f&&ko(n,r,0,!1);break}else{if(o=n.current.alternate,b&&!qE(o)){g=cm(n,r,!1),b=!1;continue}if(g===2){if(b=r,n.errorRecoveryDisabledLanes&b)var C=0;else C=n.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){r=C;e:{var B=n;g=Gd;var Z=B.current.memoizedState.isDehydrated;if(Z&&(Ki(B,C).flags|=256),C=cm(B,C,!1),C!==2){if(am&&!Z){B.errorRecoveryDisabledLanes|=b,wc|=b,g=4;break e}b=Qn,Qn=g,b!==null&&(Qn===null?Qn=b:Qn.push.apply(Qn,b))}g=C}if(b=!1,g!==2)continue}}if(g===1){Ki(n,0),ko(n,r,0,!0);break}e:{switch(f=n,b=g,b){case 0:case 1:throw Error(s(345));case 4:if((r&4194048)!==r)break;case 6:ko(f,r,Ol,!Ji);break e;case 2:Qn=null;break;case 3:case 5:break;default:throw Error(s(329))}if((r&62914560)===r&&(g=hi+300-Mn(),10<g)){if(ko(f,r,Ol,!Ji),tt(f,0,!0)!==0)break e;Fi=r,f.timeoutHandle=eh(Qd.bind(null,f,o,Qn,Zs,rm,r,Ol,wc,$n,Ji,b,"Throttled",-0,0),g);break e}Qd(f,o,Qn,Zs,rm,r,Ol,wc,$n,Ji,b,null,-0,0)}}break}while(!0);Wi(n)}function Qd(n,r,o,f,g,b,C,B,Z,de,Te,Re,he,be){if(n.timeoutHandle=-1,Re=r.subtreeFlags,Re&8192||(Re&16785408)===16785408){Re={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Jr},LE(r,b,Re);var Pe=(b&62914560)===b?hi-Mn():(b&4194048)===b?mv-Mn():0;if(Pe=qv(Re,Pe),Pe!==null){Fi=b,n.cancelPendingCommit=Pe(IE.bind(null,n,r,b,o,f,g,C,B,Z,Te,Re,null,he,be)),ko(n,b,C,!de);return}}IE(n,r,b,o,f,g,C,B,Z)}function qE(n){for(var r=n;;){var o=r.tag;if((o===0||o===11||o===15)&&r.flags&16384&&(o=r.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var f=0;f<o.length;f++){var g=o[f],b=g.getSnapshot;g=g.value;try{if(!al(b(),g))return!1}catch{return!1}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function ko(n,r,o,f){r&=~lm,r&=~wc,n.suspendedLanes|=r,n.pingedLanes&=~r,f&&(n.warmLanes|=r),f=n.expirationTimes;for(var g=r;0<g;){var b=31-Pn(g),C=1<<b;f[b]=-1,g&=~C}o!==0&&Ku(n,o,r)}function Js(){return(nn&6)===0?($o(0),!1):!0}function yv(){if(Xt!==null){if(dn===0)var n=Xt.return;else n=Xt,li=Mo=null,Od(n),vu=null,vc=0,n=Xt;for(;n!==null;)zE(n.alternate,n),n=n.return;Xt=null}}function Ki(n,r){var o=n.timeoutHandle;o!==-1&&(n.timeoutHandle=-1,sS(o)),o=n.cancelPendingCommit,o!==null&&(n.cancelPendingCommit=null,o()),Fi=0,yv(),vn=n,Xt=o=Do(n.current,null),Yt=r,dn=0,yt=null,Ji=!1,wu=Dt(n,r),am=!1,$n=Ol=lm=wc=di=An=0,Qn=Gd=null,rm=!1,(r&8)!==0&&(r|=r&32);var f=n.entangledLanes;if(f!==0)for(n=n.entanglements,f&=r;0<f;){var g=31-Pn(f),b=1<<g;r|=n[g],f&=~b}return fi=r,Pl(),o}function Fs(n,r){Rt=null,k.H=Nd,r===mu||r===As?(r=xg(),dn=3):r===yc?(r=xg(),dn=4):dn=r===$p?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,yt=r,Xt===null&&(An=1,Hs(n,tr(r,n.current)))}function YE(){var n=vl.current;return n===null?!0:(Yt&4194048)===Yt?ir===null:(Yt&62914560)===Yt||(Yt&536870912)!==0?n===ir:!1}function kE(){var n=k.H;return k.H=Nd,n===null?Nd:n}function GE(){var n=k.A;return k.A=BE,n}function um(){An=4,Ji||(Yt&4194048)!==Yt&&vl.current!==null||(wu=!0),(di&134217727)===0&&(wc&134217727)===0||vn===null||ko(vn,Yt,Ol,!1)}function cm(n,r,o){var f=nn;nn|=2;var g=kE(),b=GE();(vn!==n||Yt!==r)&&(Zs=null,Ki(n,r)),r=!1;var C=An;e:do try{if(dn!==0&&Xt!==null){var B=Xt,Z=yt;switch(dn){case 8:yv(),C=6;break e;case 3:case 2:case 9:case 6:vl.current===null&&(r=!0);var de=dn;if(dn=0,yt=null,Mc(n,B,Z,de),o&&wu){C=0;break e}break;default:de=dn,dn=0,yt=null,Mc(n,B,Z,de)}}F_(),C=An;break}catch(Te){Fs(n,Te)}while(!0);return r&&n.shellSuspendCounter++,li=Mo=null,nn=f,k.H=g,k.A=b,Xt===null&&(vn=null,Yt=0,Pl()),C}function F_(){for(;Xt!==null;)QE(Xt)}function $E(n,r){var o=nn;nn|=2;var f=kE(),g=GE();vn!==n||Yt!==r?(Zs=null,rn=Mn()+500,Ki(n,r)):wu=Dt(n,r);e:do try{if(dn!==0&&Xt!==null){r=Xt;var b=yt;t:switch(dn){case 1:dn=0,yt=null,Mc(n,r,b,1);break;case 2:case 9:if(_g(b)){dn=0,yt=null,XE(r);break}r=function(){dn!==2&&dn!==9||vn!==n||(dn=7),Wi(n)},b.then(r,r);break e;case 3:dn=7;break e;case 4:dn=5;break e;case 7:_g(b)?(dn=0,yt=null,XE(r)):(dn=0,yt=null,Mc(n,r,b,7));break;case 5:var C=null;switch(Xt.tag){case 26:C=Xt.memoizedState;case 5:case 27:var B=Xt;if(C?$l(C):B.stateNode.complete){dn=0,yt=null;var Z=B.sibling;if(Z!==null)Xt=Z;else{var de=B.return;de!==null?(Xt=de,Xd(de)):Xt=null}break t}}dn=0,yt=null,Mc(n,r,b,5);break;case 6:dn=0,yt=null,Mc(n,r,b,6);break;case 8:yv(),An=6;break e;default:throw Error(s(462))}}Nu();break}catch(Te){Fs(n,Te)}while(!0);return li=Mo=null,k.H=f,k.A=g,nn=o,Xt!==null?0:(vn=null,Yt=0,Pl(),An)}function Nu(){for(;Xt!==null&&!jl();)QE(Xt)}function QE(n){var r=nv(n.alternate,n,fi);n.memoizedProps=n.pendingProps,r===null?Xd(n):Xt=r}function XE(n){var r=n,o=r.alternate;switch(r.tag){case 15:case 0:r=Au(o,r,r.pendingProps,r.type,void 0,Yt);break;case 11:r=Au(o,r,r.pendingProps,r.type.render,r.ref,Yt);break;case 5:Od(r);default:zE(o,r),r=Xt=yg(r,fi),r=nv(o,r,fi)}n.memoizedProps=n.pendingProps,r===null?Xd(n):Xt=r}function Mc(n,r,o,f){li=Mo=null,Od(r),vu=null,vc=0;var g=r.return;try{if(J_(n,g,r,o,Yt)){An=1,Hs(n,tr(o,n.current)),Xt=null;return}}catch(b){if(g!==null)throw Xt=g,b;An=1,Hs(n,tr(o,n.current)),Xt=null;return}r.flags&32768?(Qt||f===1?n=!0:wu||(Yt&536870912)!==0?n=!1:(Ji=n=!0,(f===2||f===9||f===3||f===6)&&(f=vl.current,f!==null&&f.tag===13&&(f.flags|=16384))),ZE(r,n)):Xd(r)}function Xd(n){var r=n;do{if((r.flags&32768)!==0){ZE(r,Ji);return}n=r.return;var o=NE(r.alternate,r,fi);if(o!==null){Xt=o;return}if(r=r.sibling,r!==null){Xt=r;return}Xt=r=n}while(r!==null);An===0&&(An=5)}function ZE(n,r){do{var o=jE(n.alternate,n);if(o!==null){o.flags&=32767,Xt=o;return}if(o=n.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!r&&(n=n.sibling,n!==null)){Xt=n;return}Xt=n=o}while(n!==null);An=6,Xt=null}function IE(n,r,o,f,g,b,C,B,Z){n.cancelPendingCommit=null;do Ks();while(Sa!==0);if((nn&6)!==0)throw Error(s(327));if(r!==null){if(r===n.current)throw Error(s(177));if(b=r.lanes|r.childLanes,b|=Ar,Oo(n,o,b,C,B,Z),n===vn&&(Xt=vn=null,Yt=0),Mu=r,Yo=n,Fi=o,Yl=b,im=g,om=f,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,aS(Aa,function(){return PE(),null})):(n.callbackNode=null,n.callbackPriority=0),f=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||f){f=k.T,k.T=null,g=ce.p,ce.p=2,C=nn,nn|=4;try{Gs(n,r,o)}finally{nn=C,ce.p=g,k.T=f}}Sa=1,JE(),FE(),KE()}}function JE(){if(Sa===1){Sa=0;var n=Yo,r=Mu,o=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||o){o=k.T,k.T=null;var f=ce.p;ce.p=2;var g=nn;nn|=4;try{Wp(r,n);var b=vm,C=su(n.containerInfo),B=b.focusedElem,Z=b.selectionRange;if(C!==B&&B&&B.ownerDocument&&uc(B.ownerDocument.documentElement,B)){if(Z!==null&&ld(B)){var de=Z.start,Te=Z.end;if(Te===void 0&&(Te=de),"selectionStart"in B)B.selectionStart=de,B.selectionEnd=Math.min(Te,B.value.length);else{var Re=B.ownerDocument||document,he=Re&&Re.defaultView||window;if(he.getSelection){var be=he.getSelection(),Pe=B.textContent.length,ht=Math.min(Z.start,Pe),En=Z.end===void 0?ht:Math.min(Z.end,Pe);!be.extend&&ht>En&&(C=En,En=ht,ht=C);var oe=pg(B,ht),ee=pg(B,En);if(oe&&ee&&(be.rangeCount!==1||be.anchorNode!==oe.node||be.anchorOffset!==oe.offset||be.focusNode!==ee.node||be.focusOffset!==ee.offset)){var fe=Re.createRange();fe.setStart(oe.node,oe.offset),be.removeAllRanges(),ht>En?(be.addRange(fe),be.extend(ee.node,ee.offset)):(fe.setEnd(ee.node,ee.offset),be.addRange(fe))}}}}for(Re=[],be=B;be=be.parentNode;)be.nodeType===1&&Re.push({element:be,left:be.scrollLeft,top:be.scrollTop});for(typeof B.focus=="function"&&B.focus(),B=0;B<Re.length;B++){var Oe=Re[B];Oe.element.scrollLeft=Oe.left,Oe.element.scrollTop=Oe.top}}Ta=!!gm,vm=gm=null}finally{nn=g,ce.p=f,k.T=o}}n.current=r,Sa=2}}function FE(){if(Sa===2){Sa=0;var n=Yo,r=Mu,o=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||o){o=k.T,k.T=null;var f=ce.p;ce.p=2;var g=nn;nn|=4;try{Hd(n,r.alternate,r)}finally{nn=g,ce.p=f,k.T=o}}Sa=3}}function KE(){if(Sa===4||Sa===3){Sa=0,Qr();var n=Yo,r=Mu,o=Fi,f=om;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Sa=5:(Sa=0,Mu=Yo=null,WE(n,n.pendingLanes));var g=n.pendingLanes;if(g===0&&(Ln=null),ye(o),r=r.stateNode,Wn&&typeof Wn.onCommitFiberRoot=="function")try{Wn.onCommitFiberRoot(el,r,void 0,(r.current.flags&128)===128)}catch{}if(f!==null){r=k.T,g=ce.p,ce.p=2,k.T=null;try{for(var b=n.onRecoverableError,C=0;C<f.length;C++){var B=f[C];b(B.value,{componentStack:B.stack})}}finally{k.T=r,ce.p=g}}(Fi&3)!==0&&Ks(),Wi(n),g=n.pendingLanes,(o&261930)!==0&&(g&42)!==0?n===$d?Is++:(Is=0,$d=n):Is=0,$o(0)}}function WE(n,r){(n.pooledCacheLanes&=r)===0&&(r=n.pooledCache,r!=null&&(n.pooledCache=null,pd(r)))}function Ks(){return JE(),FE(),KE(),PE()}function PE(){if(Sa!==5)return!1;var n=Yo,r=Yl;Yl=0;var o=ye(Fi),f=k.T,g=ce.p;try{ce.p=32>o?32:o,k.T=null,o=im,im=null;var b=Yo,C=Fi;if(Sa=0,Mu=Yo=null,Fi=0,(nn&6)!==0)throw Error(s(331));var B=nn;if(nn|=4,hv(b.current),$s(b,b.current,C,o),nn=B,$o(0,!1),Wn&&typeof Wn.onPostCommitFiberRoot=="function")try{Wn.onPostCommitFiberRoot(el,b)}catch{}return!0}finally{ce.p=g,k.T=f,WE(n,r)}}function eS(n,r,o){r=tr(o,r),r=Zg(n.stateNode,r,2),n=rr(n,r,2),n!==null&&(Fl(n,2),Wi(n))}function hn(n,r,o){if(n.tag===3)eS(n,n,o);else for(;r!==null;){if(r.tag===3){eS(r,n,o);break}else if(r.tag===1){var f=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Ln===null||!Ln.has(f))){n=tr(o,n),o=Ig(2),f=rr(r,o,2),f!==null&&(Jg(o,f,r,n),Fl(f,2),Wi(f));break}}r=r.return}}function Zd(n,r,o){var f=n.pingCache;if(f===null){f=n.pingCache=new pv;var g=new Set;f.set(r,g)}else g=f.get(r),g===void 0&&(g=new Set,f.set(r,g));g.has(o)||(am=!0,g.add(o),n=gv.bind(null,n,r,o),r.then(n,n))}function gv(n,r,o){var f=n.pingCache;f!==null&&f.delete(r),n.pingedLanes|=n.suspendedLanes&o,n.warmLanes&=~o,vn===n&&(Yt&o)===o&&(An===4||An===3&&(Yt&62914560)===Yt&&300>Mn()-hi?(nn&2)===0&&Ki(n,0):lm|=o,$n===Yt&&($n=0)),Wi(n)}function tS(n,r){r===0&&(r=ga()),n=Co(n,r),n!==null&&(Fl(n,r),Wi(n))}function fr(n){var r=n.memoizedState,o=0;r!==null&&(o=r.retryLane),tS(n,o)}function nS(n,r){var o=0;switch(n.tag){case 31:case 13:var f=n.stateNode,g=n.memoizedState;g!==null&&(o=g.retryLane);break;case 19:f=n.stateNode;break;case 22:f=n.stateNode._retryCache;break;default:throw Error(s(314))}f!==null&&f.delete(r),tS(n,o)}function aS(n,r){return Je(n,r)}var Ws=null,Nc=null,vv=!1,sm=!1,bv=!1,Go=0;function Wi(n){n!==Nc&&n.next===null&&(Nc===null?Ws=Nc=n:Nc=Nc.next=n),sm=!0,vv||(vv=!0,Jd())}function $o(n,r){if(!bv&&sm){bv=!0;do for(var o=!1,f=Ws;f!==null;){if(n!==0){var g=f.pendingLanes;if(g===0)var b=0;else{var C=f.suspendedLanes,B=f.pingedLanes;b=(1<<31-Pn(42|n)+1)-1,b&=g&~(C&~B),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(o=!0,jc(f,b))}else b=Yt,b=tt(f,f===vn?b:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(b&3)===0||Dt(f,b)||(o=!0,jc(f,b));f=f.next}while(o);bv=!1}}function fm(){Ev()}function Ev(){sm=vv=!1;var n=0;Go!==0&&K_()&&(n=Go);for(var r=Mn(),o=null,f=Ws;f!==null;){var g=f.next,b=Sv(f,r);b===0?(f.next=null,o===null?Ws=g:o.next=g,g===null&&(Nc=o)):(o=f,(n!==0||(b&3)!==0)&&(sm=!0)),f=g}Sa!==0&&Sa!==5||$o(n),Go!==0&&(Go=0)}function Sv(n,r){for(var o=n.suspendedLanes,f=n.pingedLanes,g=n.expirationTimes,b=n.pendingLanes&-62914561;0<b;){var C=31-Pn(b),B=1<<C,Z=g[C];Z===-1?((B&o)===0||(B&f)!==0)&&(g[C]=bt(B,r)):Z<=r&&(n.expiredLanes|=B),b&=~B}if(r=vn,o=Yt,o=tt(n,n===r?o:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f=n.callbackNode,o===0||n===r&&(dn===2||dn===9)||n.cancelPendingCommit!==null)return f!==null&&f!==null&&Er(f),n.callbackNode=null,n.callbackPriority=0;if((o&3)===0||Dt(n,o)){if(r=o&-o,r===n.callbackPriority)return r;switch(f!==null&&Er(f),ye(o)){case 2:case 8:o=Wa;break;case 32:o=Aa;break;case 268435456:o=Pa;break;default:o=Aa}return f=Id.bind(null,n),o=Je(o,f),n.callbackPriority=r,n.callbackNode=o,r}return f!==null&&f!==null&&Er(f),n.callbackPriority=2,n.callbackNode=null,2}function Id(n,r){if(Sa!==0&&Sa!==5)return n.callbackNode=null,n.callbackPriority=0,null;var o=n.callbackNode;if(Ks()&&n.callbackNode!==o)return null;var f=Yt;return f=tt(n,n===vn?f:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f===0?null:(VE(n,f,r),Sv(n,Mn()),n.callbackNode!=null&&n.callbackNode===o?Id.bind(null,n):null)}function jc(n,r){if(Ks())return null;VE(n,r,!0)}function Jd(){fS(function(){(nn&6)!==0?Je(xt,fm):Ev()})}function dm(){if(Go===0){var n=pu;n===0&&(n=we,we<<=1,(we&261888)===0&&(we=256)),Go=n}return Go}function lS(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:_r(""+n)}function zc(n,r){var o=r.ownerDocument.createElement("input");return o.name=r.name,o.value=r.value,n.id&&o.setAttribute("form",n.id),r.parentNode.insertBefore(o,r),n=new FormData(n),o.parentNode.removeChild(o),n}function Fd(n,r,o,f,g){if(r==="submit"&&o&&o.stateNode===g){var b=lS((g[Xe]||null).action),C=f.submitter;C&&(r=(r=C[Xe]||null)?lS(r.formAction):C.getAttribute("formAction"),r!==null&&(b=r,C=null));var B=new td("action","action",null,f,g);n.push({event:B,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(Go!==0){var Z=C?zc(g,C):new FormData(g);Ls(o,{pending:!0,data:Z,method:g.method,action:b},null,Z)}}else typeof b=="function"&&(B.preventDefault(),Z=C?zc(g,C):new FormData(g),Ls(o,{pending:!0,data:Z,method:g.method,action:b},b,Z))},currentTarget:g}]})}}for(var hm=0;hm<Ss.length;hm++){var Ps=Ss[hm],Tv=Ps.toLowerCase(),_v=Ps[0].toUpperCase()+Ps.slice(1);pl(Tv,"on"+_v)}pl(id,"onAnimationEnd"),pl(mg,"onAnimationIteration"),pl(hp,"onAnimationStart"),pl("dblclick","onDoubleClick"),pl("focusin","onFocus"),pl("focusout","onBlur"),pl(cc,"onTransitionRun"),pl(od,"onTransitionStart"),pl(Ni,"onTransitionCancel"),pl(mE,"onTransitionEnd"),Ll("onMouseEnter",["mouseout","mouseover"]),Ll("onMouseLeave",["mouseout","mouseover"]),Ll("onPointerEnter",["pointerout","pointerover"]),Ll("onPointerLeave",["pointerout","pointerover"]),va("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),va("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),va("onBeforeInput",["compositionend","keypress","textInput","paste"]),va("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),va("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),va("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ef="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(" "),rS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ef));function iS(n,r){r=(r&4)!==0;for(var o=0;o<n.length;o++){var f=n[o],g=f.event;f=f.listeners;e:{var b=void 0;if(r)for(var C=f.length-1;0<=C;C--){var B=f[C],Z=B.instance,de=B.currentTarget;if(B=B.listener,Z!==b&&g.isPropagationStopped())break e;b=B,g.currentTarget=de;try{b(g)}catch(Te){sc(Te)}g.currentTarget=null,b=Z}else for(C=0;C<f.length;C++){if(B=f[C],Z=B.instance,de=B.currentTarget,B=B.listener,Z!==b&&g.isPropagationStopped())break e;b=B,g.currentTarget=de;try{b(g)}catch(Te){sc(Te)}g.currentTarget=null,b=Z}}}}function $t(n,r){var o=r[rt];o===void 0&&(o=r[rt]=new Set);var f=n+"__bubble";o.has(f)||(Kd(r,n,2,!1),o.add(f))}function Ov(n,r,o){var f=0;r&&(f|=4),Kd(o,n,f,r)}var pm="_reactListening"+Math.random().toString(36).slice(2);function tf(n){if(!n[pm]){n[pm]=!0,Kl.forEach(function(o){o!=="selectionchange"&&(rS.has(o)||Ov(o,!1,n),Ov(o,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[pm]||(r[pm]=!0,Ov("selectionchange",!1,r))}}function Kd(n,r,o,f){switch(ih(r)){case 2:var g=eo;break;case 8:g=to;break;default:g=Ia}o=g.bind(null,r,o,n),g=void 0,!Pf||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(g=!0),f?g!==void 0?n.addEventListener(r,o,{capture:!0,passive:g}):n.addEventListener(r,o,!0):g!==void 0?n.addEventListener(r,o,{passive:g}):n.addEventListener(r,o,!1)}function xv(n,r,o,f,g){var b=f;if((r&1)===0&&(r&2)===0&&f!==null)e:for(;;){if(f===null)return;var C=f.tag;if(C===3||C===4){var B=f.stateNode.containerInfo;if(B===g)break;if(C===4)for(C=f.return;C!==null;){var Z=C.tag;if((Z===3||Z===4)&&C.stateNode.containerInfo===g)return;C=C.return}for(;B!==null;){if(C=On(B),C===null)return;if(Z=C.tag,Z===5||Z===6||Z===26||Z===27){f=b=C;continue e}B=B.parentNode}}f=f.return}Ky(function(){var de=b,Te=ep(o),Re=[];e:{var he=ji.get(n);if(he!==void 0){var be=td,Pe=n;switch(n){case"keypress":if(np(o)===0)break e;case"keydown":case"keyup":be=ip;break;case"focusin":Pe="focus",be=lp;break;case"focusout":Pe="blur",be=lp;break;case"beforeblur":case"afterblur":be=lp;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":be=ys;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":be=aE;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":be=uE;break;case id:case mg:case hp:be=rE;break;case mE:be=Q_;break;case"scroll":case"scrollend":be=G_;break;case"wheel":be=X_;break;case"copy":case"cut":case"paste":be=nc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":be=Wr;break;case"toggle":case"beforetoggle":be=ig}var ht=(r&4)!==0,En=!ht&&(n==="scroll"||n==="scrollend"),oe=ht?he!==null?he+"Capture":null:he;ht=[];for(var ee=de,fe;ee!==null;){var Oe=ee;if(fe=Oe.stateNode,Oe=Oe.tag,Oe!==5&&Oe!==26&&Oe!==27||fe===null||oe===null||(Oe=Ca(ee,oe),Oe!=null&&ht.push(Wd(ee,Oe,fe))),En)break;ee=ee.return}0<ht.length&&(he=new be(he,Pe,null,o,Te),Re.push({event:he,listeners:ht}))}}if((r&7)===0){e:{if(he=n==="mouseover"||n==="pointerover",be=n==="mouseout"||n==="pointerout",he&&o!==Ph&&(Pe=o.relatedTarget||o.fromElement)&&(On(Pe)||Pe[Ze]))break e;if((be||he)&&(he=Te.window===Te?Te:(he=Te.ownerDocument)?he.defaultView||he.parentWindow:window,be?(Pe=o.relatedTarget||o.toElement,be=de,Pe=Pe?On(Pe):null,Pe!==null&&(En=p(Pe),ht=Pe.tag,Pe!==En||ht!==5&&ht!==27&&ht!==6)&&(Pe=null)):(be=null,Pe=de),be!==Pe)){if(ht=ys,Oe="onMouseLeave",oe="onMouseEnter",ee="mouse",(n==="pointerout"||n==="pointerover")&&(ht=Wr,Oe="onPointerLeave",oe="onPointerEnter",ee="pointer"),En=be==null?he:Jt(be),fe=Pe==null?he:Jt(Pe),he=new ht(Oe,ee+"leave",be,o,Te),he.target=En,he.relatedTarget=fe,Oe=null,On(Te)===de&&(ht=new ht(oe,ee+"enter",Pe,o,Te),ht.target=fe,ht.relatedTarget=En,Oe=ht),En=Oe,be&&Pe)t:{for(ht=oS,oe=be,ee=Pe,fe=0,Oe=oe;Oe;Oe=ht(Oe))fe++;Oe=0;for(var it=ee;it;it=ht(it))Oe++;for(;0<fe-Oe;)oe=ht(oe),fe--;for(;0<Oe-fe;)ee=ht(ee),Oe--;for(;fe--;){if(oe===ee||ee!==null&&oe===ee.alternate){ht=oe;break t}oe=ht(oe),ee=ht(ee)}ht=null}else ht=null;be!==null&&mm(Re,he,be,ht,!1),Pe!==null&&En!==null&&mm(Re,En,Pe,ht,!0)}}e:{if(he=de?Jt(de):window,be=he.nodeName&&he.nodeName.toLowerCase(),be==="select"||be==="input"&&he.type==="file")var Pt=fg;else if(Mi(he))if(cp)Pt=oc;else{Pt=hE;var nt=dE}else be=he.nodeName,!be||be.toLowerCase()!=="input"||he.type!=="checkbox"&&he.type!=="radio"?de&&Fy(de.elementType)&&(Pt=fg):Pt=cu;if(Pt&&(Pt=Pt(n,de))){sg(Re,Pt,o,Te);break e}nt&&nt(n,he,de),n==="focusout"&&de&&he.type==="number"&&de.memoizedProps.value!=null&&Pu(he,"number",he.value)}switch(nt=de?Jt(de):window,n){case"focusin":(Mi(nt)||nt.contentEditable==="true")&&(fu=nt,bs=de,Rr=null);break;case"focusout":Rr=bs=fu=null;break;case"mousedown":ei=!0;break;case"contextmenu":case"mouseup":case"dragend":ei=!1,dp(Re,o,Te);break;case"selectionchange":if(rd)break;case"keydown":case"keyup":dp(Re,o,Te)}var Ot;if(gs)e:{switch(n){case"compositionstart":var jt="onCompositionStart";break e;case"compositionend":jt="onCompositionEnd";break e;case"compositionupdate":jt="onCompositionUpdate";break e}jt=void 0}else lc?up(n,o)&&(jt="onCompositionEnd"):n==="keydown"&&o.keyCode===229&&(jt="onCompositionStart");jt&&(og&&o.locale!=="ko"&&(lc||jt!=="onCompositionStart"?jt==="onCompositionEnd"&&lc&&(Ot=Py()):(Ro=Te,Wy="value"in Ro?Ro.value:Ro.textContent,lc=!0)),nt=Pd(de,jt),0<nt.length&&(jt=new iE(jt,n,null,o,Te),Re.push({event:jt,listeners:nt}),Ot?jt.data=Ot:(Ot=ug(o),Ot!==null&&(jt.data=Ot)))),(Ot=nl?fE(n,o):Z_(n,o))&&(jt=Pd(de,"onBeforeInput"),0<jt.length&&(nt=new iE("onBeforeInput","beforeinput",null,o,Te),Re.push({event:nt,listeners:jt}),nt.data=Ot)),Fd(Re,n,de,o,Te)}iS(Re,r)})}function Wd(n,r,o){return{instance:n,listener:r,currentTarget:o}}function Pd(n,r){for(var o=r+"Capture",f=[];n!==null;){var g=n,b=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||b===null||(g=Ca(n,o),g!=null&&f.unshift(Wd(n,g,b)),g=Ca(n,r),g!=null&&f.push(Wd(n,g,b))),n.tag===3)return f;n=n.return}return[]}function oS(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function mm(n,r,o,f,g){for(var b=r._reactName,C=[];o!==null&&o!==f;){var B=o,Z=B.alternate,de=B.stateNode;if(B=B.tag,Z!==null&&Z===f)break;B!==5&&B!==26&&B!==27||de===null||(Z=de,g?(de=Ca(o,b),de!=null&&C.unshift(Wd(o,de,Z))):g||(de=Ca(o,b),de!=null&&C.push(Wd(o,de,Z)))),o=o.return}C.length!==0&&n.push({event:r,listeners:C})}var uS=/\r\n?/g,Rv=/\u0000|\uFFFD/g;function Av(n){return(typeof n=="string"?n:""+n).replace(uS,`
102
+ `).replace(Rv,"")}function Cv(n,r){return r=Av(r),Av(n)===r}function bn(n,r,o,f,g,b){switch(o){case"children":typeof f=="string"?r==="body"||r==="textarea"&&f===""||Ci(n,f):(typeof f=="number"||typeof f=="bigint")&&r!=="body"&&Ci(n,""+f);break;case"className":ea(n,"class",f);break;case"tabIndex":ea(n,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":ea(n,o,f);break;case"style":eE(n,f,b);break;case"data":if(r!=="object"){ea(n,"data",f);break}case"src":case"href":if(f===""&&(r!=="a"||o!=="href")){n.removeAttribute(o);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(o);break}f=_r(""+f),n.setAttribute(o,f);break;case"action":case"formAction":if(typeof f=="function"){n.setAttribute(o,"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 b=="function"&&(o==="formAction"?(r!=="input"&&bn(n,r,"name",g.name,g,null),bn(n,r,"formEncType",g.formEncType,g,null),bn(n,r,"formMethod",g.formMethod,g,null),bn(n,r,"formTarget",g.formTarget,g,null)):(bn(n,r,"encType",g.encType,g,null),bn(n,r,"method",g.method,g,null),bn(n,r,"target",g.target,g,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(o);break}f=_r(""+f),n.setAttribute(o,f);break;case"onClick":f!=null&&(n.onclick=Jr);break;case"onScroll":f!=null&&$t("scroll",n);break;case"onScrollEnd":f!=null&&$t("scrollend",n);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(s(61));if(o=f.__html,o!=null){if(g.children!=null)throw Error(s(60));n.innerHTML=o}}break;case"multiple":n.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":n.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){n.removeAttribute("xlink:href");break}o=_r(""+f),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(o,""+f):n.removeAttribute(o);break;case"inert":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":f&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(o,""):n.removeAttribute(o);break;case"capture":case"download":f===!0?n.setAttribute(o,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(o,f):n.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?n.setAttribute(o,f):n.removeAttribute(o);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?n.removeAttribute(o):n.setAttribute(o,f);break;case"popover":$t("beforetoggle",n),$t("toggle",n),Ut(n,"popover",f);break;case"xlinkActuate":tl(n,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":tl(n,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":tl(n,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":tl(n,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":tl(n,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":tl(n,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":tl(n,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":tl(n,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":tl(n,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":Ut(n,"is",f);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=k_.get(o)||o,Ut(n,o,f))}}function Dv(n,r,o,f,g,b){switch(o){case"style":eE(n,f,b);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(s(61));if(o=f.__html,o!=null){if(g.children!=null)throw Error(s(60));n.innerHTML=o}}break;case"children":typeof f=="string"?Ci(n,f):(typeof f=="number"||typeof f=="bigint")&&Ci(n,""+f);break;case"onScroll":f!=null&&$t("scroll",n);break;case"onScrollEnd":f!=null&&$t("scrollend",n);break;case"onClick":f!=null&&(n.onclick=Jr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Qa.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(g=o.endsWith("Capture"),r=o.slice(2,g?o.length-7:void 0),b=n[Xe]||null,b=b!=null?b[o]:null,typeof b=="function"&&n.removeEventListener(r,b,g),typeof f=="function")){typeof b!="function"&&b!==null&&(o in n?n[o]=null:n.hasAttribute(o)&&n.removeAttribute(o)),n.addEventListener(r,f,g);break e}o in n?n[o]=f:f===!0?n.setAttribute(o,""):Ut(n,o,f)}}}function Za(n,r,o){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":$t("error",n),$t("load",n);var f=!1,g=!1,b;for(b in o)if(o.hasOwnProperty(b)){var C=o[b];if(C!=null)switch(b){case"src":f=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,r));default:bn(n,r,b,C,o,null)}}g&&bn(n,r,"srcSet",o.srcSet,o,null),f&&bn(n,r,"src",o.src,o,null);return;case"input":$t("invalid",n);var B=b=C=g=null,Z=null,de=null;for(f in o)if(o.hasOwnProperty(f)){var Te=o[f];if(Te!=null)switch(f){case"name":g=Te;break;case"type":C=Te;break;case"checked":Z=Te;break;case"defaultChecked":de=Te;break;case"value":b=Te;break;case"defaultValue":B=Te;break;case"children":case"dangerouslySetInnerHTML":if(Te!=null)throw Error(s(137,r));break;default:bn(n,r,f,Te,o,null)}}Ff(n,b,B,Z,de,C,g,!1);return;case"select":$t("invalid",n),f=C=b=null;for(g in o)if(o.hasOwnProperty(g)&&(B=o[g],B!=null))switch(g){case"value":b=B;break;case"defaultValue":C=B;break;case"multiple":f=B;default:bn(n,r,g,B,o,null)}r=b,o=C,n.multiple=!!f,r!=null?ds(n,!!f,r,!1):o!=null&&ds(n,!!f,o,!0);return;case"textarea":$t("invalid",n),b=g=f=null;for(C in o)if(o.hasOwnProperty(C)&&(B=o[C],B!=null))switch(C){case"value":f=B;break;case"defaultValue":g=B;break;case"children":b=B;break;case"dangerouslySetInnerHTML":if(B!=null)throw Error(s(91));break;default:bn(n,r,C,B,o,null)}Jy(n,f,g,b);return;case"option":for(Z in o)if(o.hasOwnProperty(Z)&&(f=o[Z],f!=null))switch(Z){case"selected":n.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:bn(n,r,Z,f,o,null)}return;case"dialog":$t("beforetoggle",n),$t("toggle",n),$t("cancel",n),$t("close",n);break;case"iframe":case"object":$t("load",n);break;case"video":case"audio":for(f=0;f<ef.length;f++)$t(ef[f],n);break;case"image":$t("error",n),$t("load",n);break;case"details":$t("toggle",n);break;case"embed":case"source":case"link":$t("error",n),$t("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(de in o)if(o.hasOwnProperty(de)&&(f=o[de],f!=null))switch(de){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,r));default:bn(n,r,de,f,o,null)}return;default:if(Fy(r)){for(Te in o)o.hasOwnProperty(Te)&&(f=o[Te],f!==void 0&&Dv(n,r,Te,f,o,void 0));return}}for(B in o)o.hasOwnProperty(B)&&(f=o[B],f!=null&&bn(n,r,B,f,o,null))}function wv(n,r,o,f){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,b=null,C=null,B=null,Z=null,de=null,Te=null;for(be in o){var Re=o[be];if(o.hasOwnProperty(be)&&Re!=null)switch(be){case"checked":break;case"value":break;case"defaultValue":Z=Re;default:f.hasOwnProperty(be)||bn(n,r,be,null,f,Re)}}for(var he in f){var be=f[he];if(Re=o[he],f.hasOwnProperty(he)&&(be!=null||Re!=null))switch(he){case"type":b=be;break;case"name":g=be;break;case"checked":de=be;break;case"defaultChecked":Te=be;break;case"value":C=be;break;case"defaultValue":B=be;break;case"children":case"dangerouslySetInnerHTML":if(be!=null)throw Error(s(137,r));break;default:be!==Re&&bn(n,r,he,be,f,Re)}}Jf(n,C,B,Z,de,Te,b,g);return;case"select":be=C=B=he=null;for(b in o)if(Z=o[b],o.hasOwnProperty(b)&&Z!=null)switch(b){case"value":break;case"multiple":be=Z;default:f.hasOwnProperty(b)||bn(n,r,b,null,f,Z)}for(g in f)if(b=f[g],Z=o[g],f.hasOwnProperty(g)&&(b!=null||Z!=null))switch(g){case"value":he=b;break;case"defaultValue":B=b;break;case"multiple":C=b;default:b!==Z&&bn(n,r,g,b,f,Z)}r=B,o=C,f=be,he!=null?ds(n,!!o,he,!1):!!f!=!!o&&(r!=null?ds(n,!!o,r,!0):ds(n,!!o,o?[]:"",!1));return;case"textarea":be=he=null;for(B in o)if(g=o[B],o.hasOwnProperty(B)&&g!=null&&!f.hasOwnProperty(B))switch(B){case"value":break;case"children":break;default:bn(n,r,B,null,f,g)}for(C in f)if(g=f[C],b=o[C],f.hasOwnProperty(C)&&(g!=null||b!=null))switch(C){case"value":he=g;break;case"defaultValue":be=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(s(91));break;default:g!==b&&bn(n,r,C,g,f,b)}Iy(n,he,be);return;case"option":for(var Pe in o)if(he=o[Pe],o.hasOwnProperty(Pe)&&he!=null&&!f.hasOwnProperty(Pe))switch(Pe){case"selected":n.selected=!1;break;default:bn(n,r,Pe,null,f,he)}for(Z in f)if(he=f[Z],be=o[Z],f.hasOwnProperty(Z)&&he!==be&&(he!=null||be!=null))switch(Z){case"selected":n.selected=he&&typeof he!="function"&&typeof he!="symbol";break;default:bn(n,r,Z,he,f,be)}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 ht in o)he=o[ht],o.hasOwnProperty(ht)&&he!=null&&!f.hasOwnProperty(ht)&&bn(n,r,ht,null,f,he);for(de in f)if(he=f[de],be=o[de],f.hasOwnProperty(de)&&he!==be&&(he!=null||be!=null))switch(de){case"children":case"dangerouslySetInnerHTML":if(he!=null)throw Error(s(137,r));break;default:bn(n,r,de,he,f,be)}return;default:if(Fy(r)){for(var En in o)he=o[En],o.hasOwnProperty(En)&&he!==void 0&&!f.hasOwnProperty(En)&&Dv(n,r,En,void 0,f,he);for(Te in f)he=f[Te],be=o[Te],!f.hasOwnProperty(Te)||he===be||he===void 0&&be===void 0||Dv(n,r,Te,he,f,be);return}}for(var oe in o)he=o[oe],o.hasOwnProperty(oe)&&he!=null&&!f.hasOwnProperty(oe)&&bn(n,r,oe,null,f,he);for(Re in f)he=f[Re],be=o[Re],!f.hasOwnProperty(Re)||he===be||he==null&&be==null||bn(n,r,Re,he,f,be)}function ym(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Mv(){if(typeof performance.getEntriesByType=="function"){for(var n=0,r=0,o=performance.getEntriesByType("resource"),f=0;f<o.length;f++){var g=o[f],b=g.transferSize,C=g.initiatorType,B=g.duration;if(b&&B&&ym(C)){for(C=0,B=g.responseEnd,f+=1;f<o.length;f++){var Z=o[f],de=Z.startTime;if(de>B)break;var Te=Z.transferSize,Re=Z.initiatorType;Te&&ym(Re)&&(Z=Z.responseEnd,C+=Te*(Z<B?1:(B-de)/(Z-de)))}if(--f,r+=8*(b+C)/(g.duration/1e3),n++,10<n)break}}if(0<n)return r/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var gm=null,vm=null;function ju(n){return n.nodeType===9?n:n.ownerDocument}function cS(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Nv(n,r){if(n===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&r==="foreignObject"?0:n}function nf(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var bm=null;function K_(){var n=window.event;return n&&n.type==="popstate"?n===bm?!1:(bm=n,!0):(bm=null,!1)}var eh=typeof setTimeout=="function"?setTimeout:void 0,sS=typeof clearTimeout=="function"?clearTimeout:void 0,Uc=typeof Promise=="function"?Promise:void 0,fS=typeof queueMicrotask=="function"?queueMicrotask:typeof Uc<"u"?function(n){return Uc.resolve(null).then(n).catch(jv)}:eh;function jv(n){setTimeout(function(){throw n})}function pi(n){return n==="head"}function zv(n,r){var o=r,f=0;do{var g=o.nextSibling;if(n.removeChild(o),g&&g.nodeType===8)if(o=g.data,o==="/$"||o==="/&"){if(f===0){n.removeChild(g),mf(r);return}f--}else if(o==="$"||o==="$?"||o==="$~"||o==="$!"||o==="&")f++;else if(o==="html")Lc(n.ownerDocument.documentElement);else if(o==="head"){o=n.ownerDocument.head,Lc(o);for(var b=o.firstChild;b;){var C=b.nextSibling,B=b.nodeName;b[_t]||B==="SCRIPT"||B==="STYLE"||B==="LINK"&&b.rel.toLowerCase()==="stylesheet"||o.removeChild(b),b=C}}else o==="body"&&Lc(n.ownerDocument.body);o=g}while(o);mf(r)}function ia(n,r){var o=n;n=0;do{var f=o.nextSibling;if(o.nodeType===1?r?(o._stashedDisplay=o.style.display,o.style.display="none"):(o.style.display=o._stashedDisplay||"",o.getAttribute("style")===""&&o.removeAttribute("style")):o.nodeType===3&&(r?(o._stashedText=o.nodeValue,o.nodeValue=""):o.nodeValue=o._stashedText||""),f&&f.nodeType===8)if(o=f.data,o==="/$"){if(n===0)break;n--}else o!=="$"&&o!=="$?"&&o!=="$~"&&o!=="$!"||n++;o=f}while(o)}function th(n){var r=n.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var o=r;switch(r=r.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":th(o),yn(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}n.removeChild(o)}}function W_(n,r,o,f){for(;n.nodeType===1;){var g=o;if(n.nodeName.toLowerCase()!==r.toLowerCase()){if(!f&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(f){if(!n[_t])switch(r){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(b=n.getAttribute("rel"),b==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(b!==g.rel||n.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||n.getAttribute("title")!==(g.title==null?null:g.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(b=n.getAttribute("src"),(b!==(g.src==null?null:g.src)||n.getAttribute("type")!==(g.type==null?null:g.type)||n.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&b&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(r==="input"&&n.type==="hidden"){var b=g.name==null?null:""+g.name;if(g.type==="hidden"&&n.getAttribute("name")===b)return n}else return n;if(n=Rl(n.nextSibling),n===null)break}return null}function Lt(n,r,o){if(r==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!o||(n=Rl(n.nextSibling),n===null))return null;return n}function dS(n,r){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=Rl(n.nextSibling),n===null))return null;return n}function zr(n){return n.data==="$?"||n.data==="$~"}function zu(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function af(n,r){var o=n.ownerDocument;if(n.data==="$~")n._reactRetry=r;else if(n.data!=="$?"||o.readyState!=="loading")r();else{var f=function(){r(),o.removeEventListener("DOMContentLoaded",f)};o.addEventListener("DOMContentLoaded",f),n._reactRetry=f}}function Rl(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return n}var nh=null;function Em(n){n=n.nextSibling;for(var r=0;n;){if(n.nodeType===8){var o=n.data;if(o==="/$"||o==="/&"){if(r===0)return Rl(n.nextSibling);r--}else o!=="$"&&o!=="$!"&&o!=="$?"&&o!=="$~"&&o!=="&"||r++}n=n.nextSibling}return null}function mi(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var o=n.data;if(o==="$"||o==="$!"||o==="$?"||o==="$~"||o==="&"){if(r===0)return n;r--}else o!=="/$"&&o!=="/&"||r++}n=n.previousSibling}return null}function lf(n,r,o){switch(r=ju(o),n){case"html":if(n=r.documentElement,!n)throw Error(s(452));return n;case"head":if(n=r.head,!n)throw Error(s(453));return n;case"body":if(n=r.body,!n)throw Error(s(454));return n;default:throw Error(s(451))}}function Lc(n){for(var r=n.attributes;r.length;)n.removeAttributeNode(r[0]);yn(n)}var Gl=new Map,ah=new Set;function rl(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var yi=ce.d;ce.d={f:P_,r:hS,D:ve,C:on,L:eO,m:Uv,X:Qo,S:Lv,M:Uu};function P_(){var n=yi.f(),r=Js();return n||r}function hS(n){var r=kn(n);r!==null&&r.tag===5&&r.type==="form"?gn(r):yi.r(n)}var rf=typeof document>"u"?null:document;function da(n,r,o){var f=rf;if(f&&typeof r=="string"&&r){var g=Wl(r);g='link[rel="'+n+'"][href="'+g+'"]',typeof o=="string"&&(g+='[crossorigin="'+o+'"]'),ah.has(g)||(ah.add(g),n={rel:n,crossOrigin:o,href:r},f.querySelector(g)===null&&(r=f.createElement("link"),Za(r,"link",n),Gt(r),f.head.appendChild(r)))}}function ve(n){yi.D(n),da("dns-prefetch",n,null)}function on(n,r){yi.C(n,r),da("preconnect",n,r)}function eO(n,r,o){yi.L(n,r,o);var f=rf;if(f&&n&&r){var g='link[rel="preload"][as="'+Wl(r)+'"]';r==="image"&&o&&o.imageSrcSet?(g+='[imagesrcset="'+Wl(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(g+='[imagesizes="'+Wl(o.imageSizes)+'"]')):g+='[href="'+Wl(n)+'"]';var b=g;switch(r){case"style":b=dr(n);break;case"script":b=Bc(n)}Gl.has(b)||(n=x({rel:"preload",href:r==="image"&&o&&o.imageSrcSet?void 0:n,as:r},o),Gl.set(b,n),f.querySelector(g)!==null||r==="style"&&f.querySelector(Lu(b))||r==="script"&&f.querySelector(cf(b))||(r=f.createElement("link"),Za(r,"link",n),Gt(r),f.head.appendChild(r)))}}function Uv(n,r){yi.m(n,r);var o=rf;if(o&&n){var f=r&&typeof r.as=="string"?r.as:"script",g='link[rel="modulepreload"][as="'+Wl(f)+'"][href="'+Wl(n)+'"]',b=g;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=Bc(n)}if(!Gl.has(b)&&(n=x({rel:"modulepreload",href:n},r),Gl.set(b,n),o.querySelector(g)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(cf(b)))return}f=o.createElement("link"),Za(f,"link",n),Gt(f),o.head.appendChild(f)}}}function Lv(n,r,o){yi.S(n,r,o);var f=rf;if(f&&n){var g=ca(f).hoistableStyles,b=dr(n);r=r||"default";var C=g.get(b);if(!C){var B={loading:0,preload:null};if(C=f.querySelector(Lu(b)))B.loading=5;else{n=x({rel:"stylesheet",href:n,"data-precedence":r},o),(o=Gl.get(b))&&Sm(n,o);var Z=C=f.createElement("link");Gt(Z),Za(Z,"link",n),Z._p=new Promise(function(de,Te){Z.onload=de,Z.onerror=Te}),Z.addEventListener("load",function(){B.loading|=1}),Z.addEventListener("error",function(){B.loading|=2}),B.loading|=4,lh(C,r,f)}C={type:"stylesheet",instance:C,count:1,state:B},g.set(b,C)}}}function Qo(n,r){yi.X(n,r);var o=rf;if(o&&n){var f=ca(o).hoistableScripts,g=Bc(n),b=f.get(g);b||(b=o.querySelector(cf(g)),b||(n=x({src:n,async:!0},r),(r=Gl.get(g))&&Tm(n,r),b=o.createElement("script"),Gt(b),Za(b,"link",n),o.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},f.set(g,b))}}function Uu(n,r){yi.M(n,r);var o=rf;if(o&&n){var f=ca(o).hoistableScripts,g=Bc(n),b=f.get(g);b||(b=o.querySelector(cf(g)),b||(n=x({src:n,async:!0,type:"module"},r),(r=Gl.get(g))&&Tm(n,r),b=o.createElement("script"),Gt(b),Za(b,"link",n),o.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},f.set(g,b))}}function of(n,r,o,f){var g=(g=Ue.current)?rl(g):null;if(!g)throw Error(s(446));switch(n){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(r=dr(o.href),o=ca(g).hoistableStyles,f=o.get(r),f||(f={type:"style",instance:null,count:0,state:null},o.set(r,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){n=dr(o.href);var b=ca(g).hoistableStyles,C=b.get(n);if(C||(g=g.ownerDocument||g,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(n,C),(b=g.querySelector(Lu(n)))&&!b._p&&(C.instance=b,C.state.loading=5),Gl.has(n)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},Gl.set(n,o),b||pS(g,n,o,C.state))),r&&f===null)throw Error(s(528,""));return C}if(r&&f!==null)throw Error(s(529,""));return null;case"script":return r=o.async,o=o.src,typeof o=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Bc(o),o=ca(g).hoistableScripts,f=o.get(r),f||(f={type:"script",instance:null,count:0,state:null},o.set(r,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,n))}}function dr(n){return'href="'+Wl(n)+'"'}function Lu(n){return'link[rel="stylesheet"]['+n+"]"}function uf(n){return x({},n,{"data-precedence":n.precedence,precedence:null})}function pS(n,r,o,f){n.querySelector('link[rel="preload"][as="style"]['+r+"]")?f.loading=1:(r=n.createElement("link"),f.preload=r,r.addEventListener("load",function(){return f.loading|=1}),r.addEventListener("error",function(){return f.loading|=2}),Za(r,"link",o),Gt(r),n.head.appendChild(r))}function Bc(n){return'[src="'+Wl(n)+'"]'}function cf(n){return"script[async]"+n}function Bv(n,r,o){if(r.count++,r.instance===null)switch(r.type){case"style":var f=n.querySelector('style[data-href~="'+Wl(o.href)+'"]');if(f)return r.instance=f,Gt(f),f;var g=x({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return f=(n.ownerDocument||n).createElement("style"),Gt(f),Za(f,"style",g),lh(f,o.precedence,n),r.instance=f;case"stylesheet":g=dr(o.href);var b=n.querySelector(Lu(g));if(b)return r.state.loading|=4,r.instance=b,Gt(b),b;f=uf(o),(g=Gl.get(g))&&Sm(f,g),b=(n.ownerDocument||n).createElement("link"),Gt(b);var C=b;return C._p=new Promise(function(B,Z){C.onload=B,C.onerror=Z}),Za(b,"link",f),r.state.loading|=4,lh(b,o.precedence,n),r.instance=b;case"script":return b=Bc(o.src),(g=n.querySelector(cf(b)))?(r.instance=g,Gt(g),g):(f=o,(g=Gl.get(b))&&(f=x({},o),Tm(f,g)),n=n.ownerDocument||n,g=n.createElement("script"),Gt(g),Za(g,"link",f),n.head.appendChild(g),r.instance=g);case"void":return null;default:throw Error(s(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(f=r.instance,r.state.loading|=4,lh(f,o.precedence,n));return r.instance}function lh(n,r,o){for(var f=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=f.length?f[f.length-1]:null,b=g,C=0;C<f.length;C++){var B=f[C];if(B.dataset.precedence===r)b=B;else if(b!==g)break}b?b.parentNode.insertBefore(n,b.nextSibling):(r=o.nodeType===9?o.head:o,r.insertBefore(n,r.firstChild))}function Sm(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.title==null&&(n.title=r.title)}function Tm(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.integrity==null&&(n.integrity=r.integrity)}var sf=null;function Hv(n,r,o){if(sf===null){var f=new Map,g=sf=new Map;g.set(o,f)}else g=sf,f=g.get(o),f||(f=new Map,g.set(o,f));if(f.has(n))return f;for(f.set(n,null),o=o.getElementsByTagName(n),g=0;g<o.length;g++){var b=o[g];if(!(b[_t]||b[qe]||n==="link"&&b.getAttribute("rel")==="stylesheet")&&b.namespaceURI!=="http://www.w3.org/2000/svg"){var C=b.getAttribute(r)||"";C=n+C;var B=f.get(C);B?B.push(b):f.set(C,[b])}}return f}function _m(n,r,o){n=n.ownerDocument||n,n.head.insertBefore(o,r==="title"?n.querySelector("head > title"):null)}function Vv(n,r,o){if(o===1||r.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return n=r.disabled,typeof r.precedence=="string"&&n==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function $l(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function Pi(n,r,o,f){if(o.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(o.state.loading&4)===0){if(o.instance===null){var g=dr(f.href),b=r.querySelector(Lu(g));if(b){r=b._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(n.count++,n=Om.bind(n),r.then(n,n)),o.state.loading|=4,o.instance=b,Gt(b);return}b=r.ownerDocument||r,f=uf(f),(g=Gl.get(g))&&Sm(f,g),b=b.createElement("link"),Gt(b);var C=b;C._p=new Promise(function(B,Z){C.onload=B,C.onerror=Z}),Za(b,"link",f),o.instance=b}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(o,r),(r=o.state.preload)&&(o.state.loading&3)===0&&(n.count++,o=Om.bind(n),r.addEventListener("load",o),r.addEventListener("error",o))}}var hr=0;function qv(n,r){return n.stylesheets&&n.count===0&&Rm(n,n.stylesheets),0<n.count||0<n.imgCount?function(o){var f=setTimeout(function(){if(n.stylesheets&&Rm(n,n.stylesheets),n.unsuspend){var b=n.unsuspend;n.unsuspend=null,b()}},6e4+r);0<n.imgBytes&&hr===0&&(hr=62500*Mv());var g=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Rm(n,n.stylesheets),n.unsuspend)){var b=n.unsuspend;n.unsuspend=null,b()}},(n.imgBytes>hr?50:800)+r);return n.unsuspend=o,function(){n.unsuspend=null,clearTimeout(f),clearTimeout(g)}}:null}function Om(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Rm(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var xm=null;function Rm(n,r){n.stylesheets=null,n.unsuspend!==null&&(n.count++,xm=new Map,r.forEach(Ua,n),xm=null,Om.call(n))}function Ua(n,r){if(!(r.state.loading&4)){var o=xm.get(n);if(o)var f=o.get(null);else{o=new Map,xm.set(n,o);for(var g=n.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b<g.length;b++){var C=g[b];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(o.set(C.dataset.precedence,C),f=C)}f&&o.set(null,f)}g=r.instance,C=g.getAttribute("data-precedence"),b=o.get(C)||f,b===f&&o.set(null,g),o.set(C,g),this.count++,f=Om.bind(this),g.addEventListener("load",f),g.addEventListener("error",f),b?b.parentNode.insertBefore(g,b.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(g,n.firstChild)),r.state.loading|=4}}var rh={$$typeof:F,Provider:null,Consumer:null,_currentValue:Ee,_currentValue2:Ee,_threadCount:0};function Yv(n,r,o,f,g,b,C,B,Z){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=$a(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$a(0),this.hiddenUpdates=$a(null),this.identifierPrefix=f,this.onUncaughtError=g,this.onCaughtError=b,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Z,this.incompleteTransitions=new Map}function Am(n,r,o,f,g,b,C,B,Z,de,Te,Re){return n=new Yv(n,r,o,C,Z,de,Te,Re,B),r=1,b===!0&&(r|=24),b=Zn(3,null,null,r),n.current=b,b.stateNode=n,r=hd(),r.refCount++,n.pooledCache=r,r.refCount++,b.memoizedState={element:f,isDehydrated:o,cache:r},Ed(b),n}function Hc(n){return n?(n=ml,n):ml}function mS(n,r,o,f,g,b){g=Hc(g),f.context===null?f.context=g:f.pendingContext=g,f=Uo(r),f.payload={element:o},b=b===void 0?null:b,b!==null&&(f.callback=b),o=rr(n,f,r),o!==null&&(xl(o,n,r),Eu(o,n,r))}function Cm(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var o=n.retryLane;n.retryLane=o!==0&&o<r?o:r}}function kv(n,r){Cm(n,r),(n=n.alternate)&&Cm(n,r)}function yS(n){if(n.tag===13||n.tag===31){var r=Co(n,67108864);r!==null&&xl(r,n,67108864),kv(n,67108864)}}function Vc(n){if(n.tag===13||n.tag===31){var r=kl();r=le(r);var o=Co(n,r);o!==null&&xl(o,n,r),kv(n,r)}}var Ta=!0;function eo(n,r,o,f){var g=k.T;k.T=null;var b=ce.p;try{ce.p=2,Ia(n,r,o,f)}finally{ce.p=b,k.T=g}}function to(n,r,o,f){var g=k.T;k.T=null;var b=ce.p;try{ce.p=8,Ia(n,r,o,f)}finally{ce.p=b,k.T=g}}function Ia(n,r,o,f){if(Ta){var g=Gv(f);if(g===null)xv(n,r,f,Dm,o),Xo(n,f);else if(tO(g,n,r,o,f))f.stopPropagation();else if(Xo(n,f),r&4&&-1<Al.indexOf(n)){for(;g!==null;){var b=kn(g);if(b!==null)switch(b.tag){case 3:if(b=b.stateNode,b.current.memoizedState.isDehydrated){var C=ct(b.pendingLanes);if(C!==0){var B=b;for(B.pendingLanes|=2,B.entangledLanes|=2;C;){var Z=1<<31-Pn(C);B.entanglements[1]|=Z,C&=~Z}Wi(b),(nn&6)===0&&(rn=Mn()+500,$o(0))}}break;case 31:case 13:B=Co(b,2),B!==null&&xl(B,b,2),Js(),kv(b,2)}if(b=Gv(f),b===null&&xv(n,r,f,Dm,o),b===g)break;g=b}g!==null&&f.stopPropagation()}else xv(n,r,f,null,o)}}function Gv(n){return n=ep(n),ff(n)}var Dm=null;function ff(n){if(Dm=null,n=On(n),n!==null){var r=p(n);if(r===null)n=null;else{var o=r.tag;if(o===13){if(n=y(r),n!==null)return n;n=null}else if(o===31){if(n=v(r),n!==null)return n;n=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null)}}return Dm=n,null}function ih(n){switch(n){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 2;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 8;case"message":switch(zl()){case xt:return 2;case Wa:return 8;case Aa:case Ul:return 32;case Pa:return 268435456;default:return 32}default:return 32}}var df=!1,_a=null,Ja=null,il=null,Bu=new Map,Ur=new Map,Bn=[],Al="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(" ");function Xo(n,r){switch(n){case"focusin":case"focusout":_a=null;break;case"dragenter":case"dragleave":Ja=null;break;case"mouseover":case"mouseout":il=null;break;case"pointerover":case"pointerout":Bu.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ur.delete(r.pointerId)}}function qc(n,r,o,f,g,b){return n===null||n.nativeEvent!==b?(n={blockedOn:r,domEventName:o,eventSystemFlags:f,nativeEvent:b,targetContainers:[g]},r!==null&&(r=kn(r),r!==null&&yS(r)),n):(n.eventSystemFlags|=f,r=n.targetContainers,g!==null&&r.indexOf(g)===-1&&r.push(g),n)}function tO(n,r,o,f,g){switch(r){case"focusin":return _a=qc(_a,n,r,o,f,g),!0;case"dragenter":return Ja=qc(Ja,n,r,o,f,g),!0;case"mouseover":return il=qc(il,n,r,o,f,g),!0;case"pointerover":var b=g.pointerId;return Bu.set(b,qc(Bu.get(b)||null,n,r,o,f,g)),!0;case"gotpointercapture":return b=g.pointerId,Ur.set(b,qc(Ur.get(b)||null,n,r,o,f,g)),!0}return!1}function gS(n){var r=On(n.target);if(r!==null){var o=p(r);if(o!==null){if(r=o.tag,r===13){if(r=y(o),r!==null){n.blockedOn=r,He(n.priority,function(){Vc(o)});return}}else if(r===31){if(r=v(o),r!==null){n.blockedOn=r,He(n.priority,function(){Vc(o)});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){n.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}n.blockedOn=null}function oh(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var o=Gv(n.nativeEvent);if(o===null){o=n.nativeEvent;var f=new o.constructor(o.type,o);Ph=f,o.target.dispatchEvent(f),Ph=null}else return r=kn(o),r!==null&&yS(r),n.blockedOn=o,!1;r.shift()}return!0}function hf(n,r,o){oh(n)&&o.delete(r)}function vS(){df=!1,_a!==null&&oh(_a)&&(_a=null),Ja!==null&&oh(Ja)&&(Ja=null),il!==null&&oh(il)&&(il=null),Bu.forEach(hf),Ur.forEach(hf)}function no(n,r){n.blockedOn===r&&(n.blockedOn=null,df||(df=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,vS)))}var pf=null;function bS(n){pf!==n&&(pf=n,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){pf===n&&(pf=null);for(var r=0;r<n.length;r+=3){var o=n[r],f=n[r+1],g=n[r+2];if(typeof f!="function"){if(ff(f||o)===null)continue;break}var b=kn(o);b!==null&&(n.splice(r,3),r-=3,Ls(b,{pending:!0,data:g,method:o.method,action:f},f,g))}}))}function mf(n){function r(Z){return no(Z,n)}_a!==null&&no(_a,n),Ja!==null&&no(Ja,n),il!==null&&no(il,n),Bu.forEach(r),Ur.forEach(r);for(var o=0;o<Bn.length;o++){var f=Bn[o];f.blockedOn===n&&(f.blockedOn=null)}for(;0<Bn.length&&(o=Bn[0],o.blockedOn===null);)gS(o),o.blockedOn===null&&Bn.shift();if(o=(n.ownerDocument||n).$$reactFormReplay,o!=null)for(f=0;f<o.length;f+=3){var g=o[f],b=o[f+1],C=g[Xe]||null;if(typeof b=="function")C||bS(o);else if(C){var B=null;if(b&&b.hasAttribute("formAction")){if(g=b,C=b[Xe]||null)B=C.formAction;else if(ff(g)!==null)continue}else B=C.action;typeof B=="function"?o[f+1]=B:(o.splice(f,3),f-=3),bS(o)}}}function $v(){function n(b){b.canIntercept&&b.info==="react-transition"&&b.intercept({handler:function(){return new Promise(function(C){return g=C})},focusReset:"manual",scroll:"manual"})}function r(){g!==null&&(g(),g=null),f||setTimeout(o,20)}function o(){if(!f&&!navigation.transition){var b=navigation.currentEntry;b&&b.url!=null&&navigation.navigate(b.url,{state:b.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,g=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(o,100),function(){f=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),g!==null&&(g(),g=null)}}}function wm(n){this._internalRoot=n}Mm.prototype.render=wm.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(s(409));var o=r.current,f=kl();mS(o,f,n,r,null,null)},Mm.prototype.unmount=wm.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;mS(n.current,2,null,n,null,null),Js(),r[Ze]=null}};function Mm(n){this._internalRoot=n}Mm.prototype.unstable_scheduleHydration=function(n){if(n){var r=je();n={blockedOn:null,target:n,priority:r};for(var o=0;o<Bn.length&&r!==0&&r<Bn[o].priority;o++);Bn.splice(o,0,n),o===0&&gS(n)}};var Qv=i.version;if(Qv!=="19.2.4")throw Error(s(527,Qv,"19.2.4"));ce.findDOMNode=function(n){var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(s(188)):(n=Object.keys(n).join(","),Error(s(268,n)));return n=E(r),n=n!==null?R(n):null,n=n===null?null:n.stateNode,n};var ES={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:k,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var uh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uh.isDisabled&&uh.supportsFiber)try{el=uh.inject(ES),Wn=uh}catch{}}return dy.createRoot=function(n,r){if(!h(n))throw Error(s(299));var o=!1,f="",g=kp,b=Xg,C=Gp;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(f=r.identifierPrefix),r.onUncaughtError!==void 0&&(g=r.onUncaughtError),r.onCaughtError!==void 0&&(b=r.onCaughtError),r.onRecoverableError!==void 0&&(C=r.onRecoverableError)),r=Am(n,1,!1,null,null,o,f,null,g,b,C,$v),n[Ze]=r.current,tf(n),new wm(r)},dy.hydrateRoot=function(n,r,o){if(!h(n))throw Error(s(299));var f=!1,g="",b=kp,C=Xg,B=Gp,Z=null;return o!=null&&(o.unstable_strictMode===!0&&(f=!0),o.identifierPrefix!==void 0&&(g=o.identifierPrefix),o.onUncaughtError!==void 0&&(b=o.onUncaughtError),o.onCaughtError!==void 0&&(C=o.onCaughtError),o.onRecoverableError!==void 0&&(B=o.onRecoverableError),o.formState!==void 0&&(Z=o.formState)),r=Am(n,1,!0,r,o??null,f,g,Z,b,C,B,$v),r.context=Hc(null),o=r.current,f=kl(),f=le(f),g=Uo(f),g.callback=null,rr(o,g,f),o=f,r.current.lanes=o,Fl(r,o),Wi(r),n[Ze]=r.current,tf(n),new Mm(r)},dy.version="19.2.4",dy}var hy={};/**
103
+ * @license React
104
+ * react-dom-client.development.js
105
+ *
106
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
107
+ *
108
+ * This source code is licensed under the MIT license found in the
109
+ * LICENSE file in the root directory of this source tree.
110
+ */var Rx;function _M(){return Rx||(Rx=1,process.env.NODE_ENV!=="production"&&(function(){function a(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function i(e,t,l,u){if(l>=t.length)return u;var d=t[l],m=da(e)?e.slice():Lt({},e);return m[d]=i(e[d],t,l+1,u),m}function c(e,t,l){if(t.length!==l.length)console.warn("copyWithRename() expects paths of the same length");else{for(var u=0;u<l.length-1;u++)if(t[u]!==l[u]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,t,l,0)}}function s(e,t,l,u){var d=t[u],m=da(e)?e.slice():Lt({},e);return u+1===t.length?(m[l[u]]=m[d],da(m)?m.splice(d,1):delete m[d]):m[d]=s(e[d],t,l,u+1),m}function h(e,t,l){var u=t[l],d=da(e)?e.slice():Lt({},e);return l+1===t.length?(da(d)?d.splice(u,1):delete d[u],d):(d[u]=h(e[u],t,l+1),d)}function p(){return!1}function y(){return null}function v(){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 T(){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 E(){}function R(){}function x(e){var t=[];return e.forEach(function(l){t.push(l)}),t.sort().join(", ")}function A(e,t,l,u){return new Z_(e,t,l,u)}function D(e,t){e.context===bf&&(mm(e.current,2,t,e,null,null),sr())}function N(e,t){if(ro!==null){var l=t.staleFamilies;t=t.updatedFamilies,Vd(),fE(e.current,t,l),sr()}}function H(e){ro=e}function L(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function q(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function I(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function F(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function W(e){if(q(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Y(e){var t=e.alternate;if(!t){if(t=q(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var l=e,u=t;;){var d=l.return;if(d===null)break;var m=d.alternate;if(m===null){if(u=d.return,u!==null){l=u;continue}break}if(d.child===m.child){for(m=d.child;m;){if(m===l)return W(d),e;if(m===u)return W(d),t;m=m.sibling}throw Error("Unable to find node on an unmounted component.")}if(l.return!==u.return)l=d,u=m;else{for(var S=!1,O=d.child;O;){if(O===l){S=!0,l=d,u=m;break}if(O===u){S=!0,u=d,l=m;break}O=O.sibling}if(!S){for(O=m.child;O;){if(O===l){S=!0,l=m,u=d;break}if(O===u){S=!0,u=m,l=d;break}O=O.sibling}if(!S)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(l.alternate!==u)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(l.tag!==3)throw Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:t}function ne(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ne(e),t!==null)return t;e=e.sibling}return null}function ae(e){return e===null||typeof e!="object"?null:(e=hS&&e[hS]||e["@@iterator"],typeof e=="function"?e:null)}function V(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===rf?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case af:return"Fragment";case nh:return"Profiler";case Rl:return"StrictMode";case Lc:return"Suspense";case Gl:return"SuspenseList";case yi:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case zu:return"Portal";case mi:return e.displayName||"Context";case Em:return(e._context.displayName||"Context")+".Consumer";case lf:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ah:return t=e.displayName||null,t!==null?t:V(e.type)||"Memo";case rl:t=e._payload,e=e._init;try{return V(e(t))}catch{}}return null}function Se(e){return typeof e.tag=="number"?me(e):typeof e.name=="string"?e.name:null}function me(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return t.displayName||"Context";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===Rl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var l=t.length-1;0<=l;l--)if(typeof t[l].name=="string")return t[l].name}if(e.return!==null)return me(e.return)}return null}function Ne(e){return{current:e}}function xe(e,t){0>Qo?console.error("Unexpected pop."):(t!==Lv[Qo]&&console.error("Unexpected Fiber popped."),e.current=Uv[Qo],Uv[Qo]=null,Lv[Qo]=null,Qo--)}function Ye(e,t,l){Qo++,Uv[Qo]=e.current,Lv[Qo]=l,e.current=t}function $e(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function et(e,t){Ye(dr,t,e),Ye(of,e,e),Ye(Uu,null,e);var l=t.nodeType;switch(l){case 9:case 11:l=l===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?qE(t):es;break;default:if(l=t.tagName,t=t.namespaceURI)t=qE(t),t=ko(t,l);else switch(l){case"svg":t=oy;break;case"math":t=f1;break;default:t=es}}l=l.toLowerCase(),l=Zf(null,l),l={context:t,ancestorInfo:l},xe(Uu,e),Ye(Uu,l,e)}function k(e){xe(Uu,e),xe(of,e),xe(dr,e)}function ce(){return $e(Uu.current)}function Ee(e){e.memoizedState!==null&&Ye(Lu,e,e);var t=$e(Uu.current),l=e.type,u=ko(t.context,l);l=Zf(t.ancestorInfo,l),u={context:u,ancestorInfo:l},t!==u&&(Ye(of,e,e),Ye(Uu,u,e))}function ze(e){of.current===e&&(xe(Uu,e),xe(of,e)),Lu.current===e&&(xe(Lu,e),z0._currentValue=Mh)}function se(){}function j(){if(uf===0){pS=console.log,Bc=console.info,cf=console.warn,Bv=console.error,lh=console.group,Sm=console.groupCollapsed,Tm=console.groupEnd;var e={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}uf++}function J(){if(uf--,uf===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},e,{value:pS}),info:Lt({},e,{value:Bc}),warn:Lt({},e,{value:cf}),error:Lt({},e,{value:Bv}),group:Lt({},e,{value:lh}),groupCollapsed:Lt({},e,{value:Sm}),groupEnd:Lt({},e,{value:Tm})})}0>uf&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function ue(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
111
+ `)&&(e=e.slice(29)),t=e.indexOf(`
112
+ `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
113
+ `,t)),t!==-1)e=e.slice(0,t);else return"";return e}function re(e){if(sf===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);sf=t&&t[1]||"",Hv=-1<l.stack.indexOf(`
114
+ at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
115
+ `+sf+e+Hv}function De(e,t){if(!e||_m)return"";var l=Vv.get(e);if(l!==void 0)return l;_m=!0,l=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var u=null;u=ve.H,ve.H=null,j();try{var d={DetermineComponentFrameRoot:function(){try{if(t){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(ke){var pe=ke}Reflect.construct(e,[],Q)}else{try{Q.call()}catch(ke){pe=ke}e.call(Q.prototype)}}else{try{throw Error()}catch(ke){pe=ke}(Q=e())&&typeof Q.catch=="function"&&Q.catch(function(){})}}catch(ke){if(ke&&pe&&typeof ke.stack=="string")return[ke.stack,pe.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var S=d.DetermineComponentFrameRoot(),O=S[0],M=S[1];if(O&&M){var z=O.split(`
116
+ `),P=M.split(`
117
+ `);for(S=m=0;m<z.length&&!z[m].includes("DetermineComponentFrameRoot");)m++;for(;S<P.length&&!P[S].includes("DetermineComponentFrameRoot");)S++;if(m===z.length||S===P.length)for(m=z.length-1,S=P.length-1;1<=m&&0<=S&&z[m]!==P[S];)S--;for(;1<=m&&0<=S;m--,S--)if(z[m]!==P[S]){if(m!==1||S!==1)do if(m--,S--,0>S||z[m]!==P[S]){var te=`
118
+ `+z[m].replace(" at new "," at ");return e.displayName&&te.includes("<anonymous>")&&(te=te.replace("<anonymous>",e.displayName)),typeof e=="function"&&Vv.set(e,te),te}while(1<=m&&0<=S);break}}}finally{_m=!1,ve.H=u,J(),Error.prepareStackTrace=l}return z=(z=e?e.displayName||e.name:"")?re(z):"",typeof e=="function"&&Vv.set(e,z),z}function Ue(e,t){switch(e.tag){case 26:case 27:case 5:return re(e.type);case 16:return re("Lazy");case 13:return e.child!==t&&t!==null?re("Suspense Fallback"):re("Suspense");case 19:return re("SuspenseList");case 0:case 15:return De(e.type,!1);case 11:return De(e.type.render,!1);case 1:return De(e.type,!0);case 31:return re("Activity");default:return""}}function Me(e){try{var t="",l=null;do{t+=Ue(e,l);var u=e._debugInfo;if(u)for(var d=u.length-1;0<=d;d--){var m=u[d];if(typeof m.name=="string"){var S=t;e:{var O=m.name,M=m.env,z=m.debugLocation;if(z!=null){var P=ue(z),te=P.lastIndexOf(`
119
+ `),Q=te===-1?P:P.slice(te+1);if(Q.indexOf(O)!==-1){var pe=`
120
+ `+Q;break e}}pe=re(O+(M?" ["+M+"]":""))}t=S+pe}}l=e,e=e.return}while(e);return t}catch(ke){return`
121
+ Error generating stack: `+ke.message+`
122
+ `+ke.stack}}function We(e){return(e=e?e.displayName||e.name:"")?re(e):""}function Qe(){if($l===null)return null;var e=$l._debugOwner;return e!=null?Se(e):null}function ot(){if($l===null)return"";var e=$l;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=re(e.type);break;case 13:t+=re("Suspense");break;case 19:t+=re("SuspenseList");break;case 31:t+=re("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=We(e.type));break;case 11:e._debugOwner||t!==""||(t+=We(e.type.render))}for(;e;)if(typeof e.tag=="number"){var l=e;e=l._debugOwner;var u=l._debugStack;if(e&&u){var d=ue(u);d!==""&&(t+=`
123
+ `+d)}}else if(e.debugStack!=null){var m=e.debugStack;(e=e.owner)&&m&&(t+=`
124
+ `+ue(m))}else break;var S=t}catch(O){S=`
125
+ Error generating stack: `+O.message+`
126
+ `+O.stack}return S}function Le(e,t,l,u,d,m,S){var O=$l;Ve(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,l,u,d,m,S)):t(l,u,d,m,S)}finally{Ve(O)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Ve(e){ve.getCurrentStack=e===null?null:ot,Pi=!1,$l=e}function Ct(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function tn(e){try{return Mt(e),!1}catch{return!0}}function Mt(e){return""+e}function qt(e,t){if(tn(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ct(e)),Mt(e)}function cn(e,t){if(tn(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ct(e)),Mt(e)}function $r(e){if(tn(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Ct(e)),Mt(e)}function To(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Vc=t.inject(e),Ta=t}catch(l){console.error("React instrumentation encountered an error: %o.",l)}return!!t.checkDCE}function Je(e){if(typeof kv=="function"&&yS(e),Ta&&typeof Ta.setStrictMode=="function")try{Ta.setStrictMode(Vc,e)}catch(t){eo||(eo=!0,console.error("React instrumentation encountered an error: %o",t))}}function Er(e){return e>>>=0,e===0?32:31-(Gv(e)/Dm|0)|0}function jl(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Qr(e,t,l){var u=e.pendingLanes;if(u===0)return 0;var d=0,m=e.suspendedLanes,S=e.pingedLanes;e=e.warmLanes;var O=u&134217727;return O!==0?(u=O&~m,u!==0?d=jl(u):(S&=O,S!==0?d=jl(S):l||(l=O&~e,l!==0&&(d=jl(l))))):(O=u&~m,O!==0?d=jl(O):S!==0?d=jl(S):l||(l=u&~e,l!==0&&(d=jl(l)))),d===0?0:t!==0&&t!==d&&(t&m)===0&&(m=d&-d,l=t&-t,m>=l||m===32&&(l&4194048)!==0)?t:d}function Mn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function zl(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function xt(){var e=df;return df<<=1,(df&62914560)===0&&(df=4194304),e}function Wa(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Aa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ul(e,t,l,u,d,m){var S=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var O=e.entanglements,M=e.expirationTimes,z=e.hiddenUpdates;for(l=S&~l;0<l;){var P=31-Ia(l),te=1<<P;O[P]=0,M[P]=-1;var Q=z[P];if(Q!==null)for(z[P]=null,P=0;P<Q.length;P++){var pe=Q[P];pe!==null&&(pe.lane&=-536870913)}l&=~te}u!==0&&Pa(e,u,0),m!==0&&d===0&&e.tag!==0&&(e.suspendedLanes|=m&~(S&~t))}function Pa(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var u=31-Ia(t);e.entangledLanes|=t,e.entanglements[u]=e.entanglements[u]|1073741824|l&261930}function lu(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var u=31-Ia(l),d=1<<u;d&t|e[u]&t&&(e[u]|=t),l&=~d}}function _o(e,t){var l=t&-t;return l=(l&42)!==0?1:el(l),(l&(e.suspendedLanes|t))!==0?0:l}function el(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Wn(e,t,l){if(to)for(e=e.pendingUpdatersLaneMap;0<l;){var u=31-Ia(l),d=1<<u;e[u].add(t),l&=~d}}function Yn(e,t){if(to)for(var l=e.pendingUpdatersLaneMap,u=e.memoizedUpdaters;0<t;){var d=31-Ia(t);e=1<<d,d=l[d],0<d.size&&(d.forEach(function(m){var S=m.alternate;S!==null&&u.has(S)||u.add(m)}),d.clear()),t&=~e}}function Pn(e){return e&=-e,_a<e?Ja<e?(e&134217727)!==0?il:Bu:Ja:_a}function Xr(){var e=on.p;return e!==0?e:(e=window.event,e===void 0?il:gm(e.type))}function U(e,t){var l=on.p;try{return on.p=e,t()}finally{on.p=l}}function ie(e){delete e[Bn],delete e[Al],delete e[qc],delete e[tO],delete e[gS]}function we(e){var t=e[Bn];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Xo]||l[Bn]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=Nc(e);e!==null;){if(l=e[Bn])return l;e=Nc(e)}return t}e=l,l=e.parentNode}return null}function Be(e){if(e=e[Bn]||e[Xo]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Fe(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function ct(e){var t=e[oh];return t||(t=e[oh]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tt(e){e[hf]=!0}function Dt(e,t){bt(e,t),bt(e+"Capture",t)}function bt(e,t){no[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),no[e]=t;var l=e.toLowerCase();for(pf[l]=e,e==="onDoubleClick"&&(pf.ondblclick=e),e=0;e<t.length;e++)vS.add(t[e])}function ga(e,t){bS[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function $a(e){return hr.call(wm,e)?!0:hr.call($v,e)?!1:mf.test(e)?wm[e]=!0:($v[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function Fl(e,t,l){if($a(t)){if(!e.hasAttribute(t)){switch(typeof l){case"symbol":case"object":return l;case"function":return l;case"boolean":if(l===!1)return l}return l===void 0?void 0:null}return e=e.getAttribute(t),e===""&&l===!0?!0:(qt(l,t),e===""+l?l:e)}}function Oo(e,t,l){if($a(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var u=t.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(t);return}}qt(l,t),e.setAttribute(t,""+l)}}function Ku(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}qt(l,t),e.setAttribute(t,""+l)}}function Sr(e,t,l,u){if(u===null)e.removeAttribute(l);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}qt(u,l),e.setAttributeNS(t,l,""+u)}}function $(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return $r(e),e;default:return""}}function le(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ye(e,t,l){var u=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var d=u.get,m=u.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return d.call(this)},set:function(S){$r(S),l=""+S,m.call(this,S)}}),Object.defineProperty(e,t,{enumerable:u.enumerable}),{getValue:function(){return l},setValue:function(S){$r(S),l=""+S},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function je(e){if(!e._valueTracker){var t=le(e)?"checked":"value";e._valueTracker=ye(e,t,""+e[t])}}function He(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),u="";return e&&(u=le(e)?e.checked?"true":"false":e.value),e=u,e!==l?(t.setValue(e),!0):!1}function Ke(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function qe(e){return e.replace(Mm,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Xe(e,t){t.checked===void 0||t.defaultChecked===void 0||ES||(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",Qe()||"A component",t.type),ES=!0),t.value===void 0||t.defaultValue===void 0||Qv||(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",Qe()||"A component",t.type),Qv=!0)}function Ze(e,t,l,u,d,m,S,O){e.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?(qt(S,"type"),e.type=S):e.removeAttribute("type"),t!=null?S==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+$(t)):e.value!==""+$(t)&&(e.value=""+$(t)):S!=="submit"&&S!=="reset"||e.removeAttribute("value"),t!=null?mt(e,S,$(t)):l!=null?mt(e,S,$(l)):u!=null&&e.removeAttribute("value"),d==null&&m!=null&&(e.defaultChecked=!!m),d!=null&&(e.checked=d&&typeof d!="function"&&typeof d!="symbol"),O!=null&&typeof O!="function"&&typeof O!="symbol"&&typeof O!="boolean"?(qt(O,"name"),e.name=""+$(O)):e.removeAttribute("name")}function rt(e,t,l,u,d,m,S,O){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(qt(m,"type"),e.type=m),t!=null||l!=null){if(!(m!=="submit"&&m!=="reset"||t!=null)){je(e);return}l=l!=null?""+$(l):"",t=t!=null?""+$(t):l,O||t===e.value||(e.value=t),e.defaultValue=t}u=u??d,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=O?e.checked:!!u,e.defaultChecked=!!u,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(qt(S,"name"),e.name=S),je(e)}function mt(e,t,l){t==="number"&&Ke(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function lt(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?th.Children.forEach(t.children,function(l){l==null||typeof l=="string"||typeof l=="number"||typeof l=="bigint"||n||(n=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||r||(r=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||uh||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),uh=!0)}function wt(){var e=Qe();return e?`
127
+
128
+ Check the render method of \``+e+"`.":""}function _t(e,t,l,u){if(e=e.options,t){t={};for(var d=0;d<l.length;d++)t["$"+l[d]]=!0;for(l=0;l<e.length;l++)d=t.hasOwnProperty("$"+e[l].value),e[l].selected!==d&&(e[l].selected=d),d&&u&&(e[l].defaultSelected=!0)}else{for(l=""+$(l),t=null,d=0;d<e.length;d++){if(e[d].value===l){e[d].selected=!0,u&&(e[d].defaultSelected=!0);return}t!==null||e[d].disabled||(t=e[d])}t!==null&&(t.selected=!0)}}function yn(e,t){for(e=0;e<f.length;e++){var l=f[e];if(t[l]!=null){var u=da(t[l]);t.multiple&&!u?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,wt()):!t.multiple&&u&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,wt())}}t.value===void 0||t.defaultValue===void 0||o||(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"),o=!0)}function On(e,t){t.value===void 0||t.defaultValue===void 0||g||(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",Qe()||"A component"),g=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function kn(e,t,l){if(t!=null&&(t=""+$(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+$(l):""}function Jt(e,t,l,u){if(t==null){if(u!=null){if(l!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(da(u)){if(1<u.length)throw Error("<textarea> can only have at most one child.");u=u[0]}l=u}l==null&&(l=""),t=l}l=$(t),e.defaultValue=l,u=e.textContent,u===l&&u!==""&&u!==null&&(e.value=u),je(e)}function ca(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?ca(e.children[0],t):e}function Gt(e){return" "+" ".repeat(e)}function Kl(e){return"+ "+" ".repeat(e)}function Qa(e){return"- "+" ".repeat(e)}function va(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function Ll(e,t){return b.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function Ai(e,t,l){var u=120-2*l;if(t===null)return Kl(l)+Ll(e,u)+`
129
+ `;if(typeof t=="string"){for(var d=0;d<t.length&&d<e.length&&t.charCodeAt(d)===e.charCodeAt(d);d++);return d>u-8&&10<d&&(e="..."+e.slice(d-8),t="..."+t.slice(d-8)),Kl(l)+Ll(e,u)+`
130
+ `+Qa(l)+Ll(t,u)+`
131
+ `}return Gt(l)+Ll(e,u)+`
132
+ `}function Tr(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,l){return l})}function Zr(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(da(e))return"[...]";if(e.$$typeof===zr)return(t=V(e.type))?"<"+t+">":"<...>";var l=Tr(e);if(l==="Object"){l="",t-=2;for(var u in e)if(e.hasOwnProperty(u)){var d=JSON.stringify(u);if(d!=='"'+u+'"'&&(u=d),t-=u.length-2,d=Zr(e[u],15>t?t:15),t-=d.length,0>t){l+=l===""?"...":", ...";break}l+=(l===""?"":",")+u+":"+d}return"{"+l+"}"}return l;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Ir(e,t){return typeof e!="string"||b.test(e)?"{"+Zr(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Ut(e,t,l){var u=120-l.length-e.length,d=[],m;for(m in t)if(t.hasOwnProperty(m)&&m!=="children"){var S=Ir(t[m],120-l.length-m.length-1);u-=m.length+S.length+2,d.push(m+"="+S)}return d.length===0?l+"<"+e+`>
133
+ `:0<u?l+"<"+e+" "+d.join(" ")+`>
134
+ `:l+"<"+e+`
135
+ `+l+" "+d.join(`
136
+ `+l+" ")+`
137
+ `+l+`>
138
+ `}function ea(e,t,l){var u="",d=Lt({},t),m;for(m in e)if(e.hasOwnProperty(m)){delete d[m];var S=120-2*l-m.length-2,O=Zr(e[m],S);t.hasOwnProperty(m)?(S=Zr(t[m],S),u+=Kl(l)+m+": "+O+`
139
+ `,u+=Qa(l)+m+": "+S+`
140
+ `):u+=Kl(l)+m+": "+O+`
141
+ `}for(var M in d)d.hasOwnProperty(M)&&(e=Zr(d[M],120-2*l-M.length-2),u+=Qa(l)+M+": "+e+`
142
+ `);return u}function tl(e,t,l,u){var d="",m=new Map;for(z in l)l.hasOwnProperty(z)&&m.set(z.toLowerCase(),z);if(m.size===1&&m.has("children"))d+=Ut(e,t,Gt(u));else{for(var S in t)if(t.hasOwnProperty(S)&&S!=="children"){var O=120-2*(u+1)-S.length-1,M=m.get(S.toLowerCase());if(M!==void 0){m.delete(S.toLowerCase());var z=t[S];M=l[M];var P=Ir(z,O);O=Ir(M,O),typeof z=="object"&&z!==null&&typeof M=="object"&&M!==null&&Tr(z)==="Object"&&Tr(M)==="Object"&&(2<Object.keys(z).length||2<Object.keys(M).length||-1<P.indexOf("...")||-1<O.indexOf("..."))?d+=Gt(u+1)+S+`={{
143
+ `+ea(z,M,u+2)+Gt(u+1)+`}}
144
+ `:(d+=Kl(u+1)+S+"="+P+`
145
+ `,d+=Qa(u+1)+S+"="+O+`
146
+ `)}else d+=Gt(u+1)+S+"="+Ir(t[S],O)+`
147
+ `}m.forEach(function(te){if(te!=="children"){var Q=120-2*(u+1)-te.length-1;d+=Qa(u+1)+te+"="+Ir(l[te],Q)+`
148
+ `}}),d=d===""?Gt(u)+"<"+e+`>
149
+ `:Gt(u)+"<"+e+`
150
+ `+d+Gt(u)+`>
151
+ `}return e=l.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(m="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(m=""+t),d+=Ai(m,""+e,u+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(d=e==null?d+Ai(""+t,null,u+1):d+Ai(""+t,void 0,u+1)),d}function ta(e,t){var l=va(e);if(l===null){for(l="",e=e.child;e;)l+=ta(e,t),e=e.sibling;return l}return Gt(t)+"<"+l+`>
152
+ `}function _n(e,t){var l=ca(e,t);if(l!==e&&(e.children.length!==1||e.children[0]!==l))return Gt(t)+`...
153
+ `+_n(l,t+1);l="";var u=e.fiber._debugInfo;if(u)for(var d=0;d<u.length;d++){var m=u[d].name;typeof m=="string"&&(l+=Gt(t)+"<"+m+`>
154
+ `,t++)}if(u="",d=e.fiber.pendingProps,e.fiber.tag===6)u=Ai(d,e.serverProps,t),t++;else if(m=va(e.fiber),m!==null)if(e.serverProps===void 0){u=t;var S=120-2*u-m.length-2,O="";for(z in d)if(d.hasOwnProperty(z)&&z!=="children"){var M=Ir(d[z],15);if(S-=z.length+M.length+2,0>S){O+=" ...";break}O+=" "+z+"="+M}u=Gt(u)+"<"+m+O+`>
155
+ `,t++}else e.serverProps===null?(u=Ut(m,d,Kl(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(u=tl(m,d,e.serverProps,t),t++);var z="";for(d=e.fiber.child,m=0;d&&m<e.children.length;)S=e.children[m],S.fiber===d?(z+=_n(S,t),m++):z+=ta(d,t),d=d.sibling;for(d&&0<e.children.length&&(z+=Gt(t)+`...
156
+ `),d=e.serverTail,e.serverProps===null&&t--,e=0;e<d.length;e++)m=d[e],z=typeof m=="string"?z+(Qa(t)+Ll(m,120-2*t)+`
157
+ `):z+Ut(m.type,m.props,Qa(t));return l+u+z}function ru(e){try{return`
158
+
159
+ `+_n(e,0)}catch{return""}}function Wu(e,t,l){for(var u=t,d=null,m=0;u;)u===e&&(m=0),d={fiber:u,children:d!==null?[d]:[],serverProps:u===t?l:u===e?null:void 0,serverTail:[],distanceFromLeaf:m},m++,u=u.return;return d!==null?ru(d).replaceAll(/^[+-]/gm,">"):""}function Zf(e,t){var l=Lt({},e||Te),u={tag:t};return B.indexOf(t)!==-1&&(l.aTagInScope=null,l.buttonTagInScope=null,l.nobrTagInScope=null),Z.indexOf(t)!==-1&&(l.pTagInButtonScope=null),C.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(l.listItemTagAutoclosing=null,l.dlItemTagAutoclosing=null),l.current=u,t==="form"&&(l.formTag=u),t==="a"&&(l.aTagInScope=u),t==="button"&&(l.buttonTagInScope=u),t==="nobr"&&(l.nobrTagInScope=u),t==="p"&&(l.pTagInButtonScope=u),t==="li"&&(l.listItemTagAutoclosing=u),(t==="dd"||t==="dt")&&(l.dlItemTagAutoclosing=u),t==="#document"||t==="html"?l.containerTagInScope=null:l.containerTagInScope||(l.containerTagInScope=u),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?l.implicitRootScope===!0&&(l.implicitRootScope=!1):l.implicitRootScope=!0,l}function If(e,t,l){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(l)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!l)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return de.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return l||t===null;case"html":return l&&t==="#document"||t===null;case"body":return l&&(t==="#document"||t==="html")||t===null}return!0}function Y_(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Wl(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function Jf(e,t){t=t||Te;var l=t.current;if(t=(l=If(e,l&&l.tag,t.implicitRootScope)?null:l)?null:Y_(e,t),t=l||t,!t)return!0;var u=t.tag;if(t=String(!!l)+"|"+e+"|"+u,Re[t])return!1;Re[t]=!0;var d=(t=$l)?Wl(t.return,u):null,m=t!==null&&d!==null?Wu(d,t,null):"",S="<"+e+">";return l?(l="",u==="table"&&e==="tr"&&(l+=" 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
160
+ This will cause a hydration error.%s`,S,u,l,m)):console.error(`In HTML, %s cannot be a descendant of <%s>.
161
+ This will cause a hydration error.%s`,S,u,m),t&&(e=t.return,d===null||e===null||d===e&&e._debugOwner===t._debugOwner||Le(d,function(){console.error(`<%s> cannot contain a nested %s.
162
+ See this log for the ancestor stack trace.`,u,S)})),!1}function Ff(e,t,l){if(l||If("#text",t,!1))return!0;if(l="#text|"+t,Re[l])return!1;Re[l]=!0;var u=(l=$l)?Wl(l,t):null;return l=l!==null&&u!==null?Wu(u,l,l.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
163
+ This will cause a hydration error.%s`,t,l):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.
164
+ This will cause a hydration error.%s`,t,l),!1}function Pu(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}function ds(e){return e.replace(oe,function(t,l){return l.toUpperCase()})}function Iy(e,t,l){var u=t.indexOf("--")===0;u||(-1<t.indexOf("-")?fe.hasOwnProperty(t)&&fe[t]||(fe[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,ds(t.replace(En,"ms-")))):ht.test(t)?fe.hasOwnProperty(t)&&fe[t]||(fe[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!ee.test(l)||Oe.hasOwnProperty(l)&&Oe[l]||(Oe[l]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,l.replace(ee,""))),typeof l=="number"&&(isNaN(l)?it||(it=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(l)||Pt||(Pt=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),l==null||typeof l=="boolean"||l===""?u?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":u?e.setProperty(t,l):typeof l!="number"||l===0||nt.has(t)?t==="float"?e.cssFloat=l:(cn(l,t),e[t]=(""+l).trim()):e[t]=l+"px"}function Jy(e,t,l){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,l!=null){if(t){var u={};if(l){for(var d in l)if(l.hasOwnProperty(d)&&!t.hasOwnProperty(d))for(var m=he[d]||[d],S=0;S<m.length;S++)u[m[S]]=d}for(var O in t)if(t.hasOwnProperty(O)&&(!l||l[O]!==t[O]))for(d=he[O]||[O],m=0;m<d.length;m++)u[d[m]]=O;O={};for(var M in t)for(d=he[M]||[M],m=0;m<d.length;m++)O[d[m]]=M;M={};for(var z in u)if(d=u[z],(m=O[z])&&d!==m&&(S=d+","+m,!M[S])){M[S]=!0,S=console;var P=t[d];S.error.call(S,"%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.",P==null||typeof P=="boolean"||P===""?"Removing":"Updating",d,m)}}for(var te in l)!l.hasOwnProperty(te)||t!=null&&t.hasOwnProperty(te)||(te.indexOf("--")===0?e.setProperty(te,""):te==="float"?e.cssFloat="":e[te]="");for(var Q in t)z=t[Q],t.hasOwnProperty(Q)&&l[Q]!==z&&Iy(e,Q,z)}else for(u in t)t.hasOwnProperty(u)&&Iy(e,u,t[u])}function Ci(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Wb(e){return an.get(e)||e}function Pb(e,t){if(hr.call(Nm,t)&&Nm[t])return!0;if(WB.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=SS.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Nm[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Nm[t]=!0}if(KB.test(t)){if(e=t.toLowerCase(),e=SS.hasOwnProperty(e)?e:null,e==null)return Nm[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Nm[t]=!0)}return!0}function eE(e,t){var l=[],u;for(u in t)Pb(e,u)||l.push(u);t=l.map(function(d){return"`"+d+"`"}).join(", "),l.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<l.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Fy(e,t,l,u){if(hr.call(pr,t)&&pr[t])return!0;var d=t.toLowerCase();if(d==="onfocusin"||d==="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."),pr[t]=!0;if(typeof l=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(u!=null){if(e=u.possibleRegistrationNames,u.registrationNameDependencies.hasOwnProperty(t))return!0;if(u=e.hasOwnProperty(d)?e[d]:null,u!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,u),pr[t]=!0;if(aw.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),pr[t]=!0}else if(aw.test(t))return PB.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),pr[t]=!0;if(e8.test(t)||t8.test(t))return!0;if(d==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),pr[t]=!0;if(d==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),pr[t]=!0;if(d==="is"&&l!==null&&l!==void 0&&typeof l!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),pr[t]=!0;if(typeof l=="number"&&isNaN(l))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),pr[t]=!0;if(gi.hasOwnProperty(d)){if(d=gi[d],d!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,d),pr[t]=!0}else if(t!==d)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,d),pr[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof l){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return d=t.toLowerCase().slice(0,5),d==="data-"||d==="aria-"?!0:(l?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()}.',l,t,t,l,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',l,t,t,l,t,t,t),pr[t]=!0)}case"function":case"symbol":return pr[t]=!0,!1;case"string":if(l==="false"||l==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,t,l==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,l),pr[t]=!0}}return!0}function k_(e,t,l){var u=[],d;for(d in t)Fy(e,d,t[d],l)||u.push(d);t=u.map(function(m){return"`"+m+"`"}).join(", "),u.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<u.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Kf(e){return n8.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function _r(){}function Jr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Ph(e){var t=Be(e);if(t&&(e=t.stateNode)){var l=e[Al]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ze(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(qt(t,"name"),l=l.querySelectorAll('input[name="'+qe(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var u=l[t];if(u!==e&&u.form===e.form){var d=u[Al]||null;if(!d)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ze(u,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(t=0;t<l.length;t++)u=l[t],u.form===e.form&&He(u)}break e;case"textarea":kn(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&_t(e,!!l.multiple,t,!1)}}}function ep(e,t,l){if(nO)return e(t,l);nO=!0;try{var u=e(t);return u}finally{if(nO=!1,(jm!==null||zm!==null)&&(sr(),jm&&(t=jm,e=zm,zm=jm=null,Ph(t),e)))for(t=0;t<e.length;t++)Ph(e[t])}}function Di(e,t){var l=e.stateNode;if(l===null)return null;var u=l[Al]||null;if(u===null)return null;l=u[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof l+"` type.");return l}function ec(){if(TS)return TS;var e,t=lO,l=t.length,u,d="value"in yf?yf.value:yf.textContent,m=d.length;for(e=0;e<l&&t[e]===d[e];e++);var S=l-e;for(u=1;u<=S&&t[l-u]===d[m-u];u++);return TS=d.slice(e,1<u?1-u:void 0)}function Wf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function hs(){return!0}function Ky(){return!1}function Ca(e){function t(l,u,d,m,S){this._reactName=l,this._targetInst=d,this.type=u,this.nativeEvent=m,this.target=S,this.currentTarget=null;for(var O in e)e.hasOwnProperty(O)&&(l=e[O],this[O]=l?l(m):m[O]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?hs:Ky,this.isPropagationStopped=Ky,this}return Lt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=hs)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=hs)},persist:function(){},isPersistent:hs}),t}function xo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=m8[e])?!!t[e]:!1}function Pf(){return xo}function ps(e,t){switch(e){case"keyup":return A8.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==ow;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ro(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Wy(e,t){switch(e){case"compositionend":return Ro(t);case"keypress":return t.which!==cw?null:(fw=!0,sw);case"textInput":return e=t.data,e===sw&&fw?null:e;default:return null}}function tp(e,t){if(Um)return e==="compositionend"||!uO&&ps(e,t)?(e=ec(),TS=lO=yf=null,Um=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return uw&&t.locale!=="ko"?null:t.data;default:return null}}function Py(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!D8[e.type]:t==="textarea"}function np(e){if(!Hu)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function ed(e,t,l,u){jm?zm?zm.push(u):zm=[u]:jm=u,t=di(t,"onChange"),0<t.length&&(l=new _S("onChange","change",null,l,u),e.push({event:l,listeners:t}))}function tE(e){dn(e,0)}function Xa(e){var t=Fe(e);if(He(t))return e}function iu(e,t){if(e==="change")return t}function td(){Kv&&(Kv.detachEvent("onpropertychange",ms),Wv=Kv=null)}function ms(e){if(e.propertyName==="value"&&Xa(Wv)){var t=[];ed(t,Wv,e,Jr(e)),ep(tE,t)}}function G_(e,t,l){e==="focusin"?(td(),Kv=t,Wv=l,Kv.attachEvent("onpropertychange",ms)):e==="focusout"&&td()}function eg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xa(Wv)}function tg(e,t){if(e==="click")return Xa(t)}function nd(e,t){if(e==="input"||e==="change")return Xa(t)}function ap(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function ys(e,t){if(mr(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),u=Object.keys(t);if(l.length!==u.length)return!1;for(u=0;u<l.length;u++){var d=l[u];if(!hr.call(t,d)||!mr(e[d],t[d]))return!1}return!0}function nE(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function aE(e,t){var l=nE(e);e=0;for(var u;l;){if(l.nodeType===3){if(u=e+l.textContent.length,e<=t&&u>=t)return{node:l,offset:t-e};e=u}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=nE(l)}}function lE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ke(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Ke(e.document)}return t}function ng(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function rE(e,t,l){var u=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;sO||Lm==null||Lm!==Ke(u)||(u=Lm,"selectionStart"in u&&ng(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Pv&&ys(Pv,u)||(Pv=u,u=di(cO,"onSelect"),0<u.length&&(t=new _S("onSelect","select",null,t,l),e.push({event:t,listeners:u}),t.target=Lm)))}function tc(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}function nc(e){if(fO[e])return fO[e];if(!Bm[e])return e;var t=Bm[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in hw)return fO[e]=t[l];return e}function Fr(e,t){vw.set(e,t),Dt(t,[e])}function iE(e){for(var t=xS,l=0;l<e.length;l++){var u=e[l];if(typeof u=="object"&&u!==null)if(da(u)&&u.length===2&&typeof u[0]=="string"){if(t!==xS&&t!==yO)return pO;t=yO}else return pO;else{if(typeof u=="function"||typeof u=="string"&&50<u.length||t!==xS&&t!==mO)return pO;t=mO}}return t}function ag(e,t,l,u){for(var d in e)hr.call(e,d)&&d[0]!=="_"&&wi(d,e[d],t,l,u)}function wi(e,t,l,u,d){switch(typeof t){case"object":if(t===null){t="null";break}else{if(t.$$typeof===zr){var m=V(t.type)||"…",S=t.key;t=t.props;var O=Object.keys(t),M=O.length;if(S==null&&M===0){t="<"+m+" />";break}if(3>u||M===1&&O[0]==="children"&&S==null){t="<"+m+" … />";break}l.push([d+"  ".repeat(u)+e,"<"+m]),S!==null&&wi("key",S,l,u+1,d),e=!1;for(var z in t)z==="children"?t.children!=null&&(!da(t.children)||0<t.children.length)&&(e=!0):hr.call(t,z)&&z[0]!=="_"&&wi(z,t[z],l,u+1,d);l.push(["",e?">…</"+m+">":"/>"]);return}if(m=Object.prototype.toString.call(t),m=m.slice(8,m.length-1),m==="Array"){if(z=iE(t),z===mO||z===xS){t=JSON.stringify(t);break}else if(z===yO){for(l.push([d+"  ".repeat(u)+e,""]),e=0;e<t.length;e++)m=t[e],wi(m[0],m[1],l,u+1,d);return}}if(m==="Promise"){if(t.status==="fulfilled"){if(m=l.length,wi(e,t.value,l,u,d),l.length>m){l=l[m],l[1]="Promise<"+(l[1]||"Object")+">";return}}else if(t.status==="rejected"&&(m=l.length,wi(e,t.reason,l,u,d),l.length>m)){l=l[m],l[1]="Rejected Promise<"+l[1]+">";return}l.push(["  ".repeat(u)+e,"Promise"]);return}m==="Object"&&(z=Object.getPrototypeOf(t))&&typeof z.constructor=="function"&&(m=z.constructor.name),l.push([d+"  ".repeat(u)+e,m==="Object"?3>u?"":"…":m]),3>u&&ag(t,l,u+1,d);return}case"function":t=t.name===""?"() => {}":t.name+"() {}";break;case"string":t=t===L8?"…":JSON.stringify(t);break;case"undefined":t="undefined";break;case"boolean":t=t?"true":"false";break;default:t=String(t)}l.push([d+"  ".repeat(u)+e,t])}function oE(e,t,l,u){var d=!0;for(S in e)S in t||(l.push([RS+"  ".repeat(u)+S,"…"]),d=!1);for(var m in t)if(m in e){var S=e[m],O=t[m];if(S!==O){if(u===0&&m==="children")d="  ".repeat(u)+m,l.push([RS+d,"…"],[AS+d,"…"]);else{if(!(3<=u)){if(typeof S=="object"&&typeof O=="object"&&S!==null&&O!==null&&S.$$typeof===O.$$typeof)if(O.$$typeof===zr){if(S.type===O.type&&S.key===O.key){S=V(O.type)||"…",d="  ".repeat(u)+m,S="<"+S+" … />",l.push([RS+d,S],[AS+d,S]),d=!1;continue}}else{var M=Object.prototype.toString.call(S),z=Object.prototype.toString.call(O);if(M===z&&(z==="[object Object]"||z==="[object Array]")){M=[Sw+"  ".repeat(u)+m,z==="[object Array]"?"Array":""],l.push(M),z=l.length,oE(S,O,l,u+1)?z===l.length&&(M[1]="Referentially unequal but deeply equal objects. Consider memoization."):d=!1;continue}}else if(typeof S=="function"&&typeof O=="function"&&S.name===O.name&&S.length===O.length&&(M=Function.prototype.toString.call(S),z=Function.prototype.toString.call(O),M===z)){S=O.name===""?"() => {}":O.name+"() {}",l.push([Sw+"  ".repeat(u)+m,S+" Referentially unequal function closure. Consider memoization."]);continue}}wi(m,S,l,u,RS),wi(m,O,l,u,AS)}d=!1}}else l.push([AS+"  ".repeat(u)+m,"…"]),d=!1;return d}function Kr(e){Wt=e&63?"Blocking":e&64?"Gesture":e&4194176?"Transition":e&62914560?"Suspense":e&2080374784?"Idle":"Other"}function Or(e,t,l,u){Hn&&(vf.start=t,vf.end=l,Yc.color="warning",Yc.tooltipText=u,Yc.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,u,vf)):performance.measure(u,vf))}function rp(e,t,l){Or(e,t,l,"Reconnect")}function ip(e,t,l,u,d){var m=me(e);if(m!==null&&Hn){var S=e.alternate,O=e.actualDuration;if(S===null||S.child!==e.child)for(var M=e.child;M!==null;M=M.sibling)O-=M.actualDuration;u=.5>O?u?"tertiary-light":"primary-light":10>O?u?"tertiary":"primary":100>O?u?"tertiary-dark":"primary-dark":"error";var z=e.memoizedProps;O=e._debugTask,z!==null&&S!==null&&S.memoizedProps!==z?(M=[B8],z=oE(S.memoizedProps,z,M,0),1<M.length&&(z&&!gf&&(S.lanes&d)===0&&100<e.actualDuration?(gf=!0,M[0]=H8,Yc.color="warning",Yc.tooltipText=Tw):(Yc.color=u,Yc.tooltipText=m),Yc.properties=M,vf.start=t,vf.end=l,O!=null?O.run(performance.measure.bind(performance,"​"+m,vf)):performance.measure("​"+m,vf))):O!=null?O.run(console.timeStamp.bind(console,m,t,l,ao,void 0,u)):console.timeStamp(m,t,l,ao,void 0,u)}}function lg(e,t,l,u){if(Hn){var d=me(e);if(d!==null){for(var m=null,S=[],O=0;O<u.length;O++){var M=u[O];m==null&&M.source!==null&&(m=M.source._debugTask),M=M.value,S.push(["Error",typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M)])}e.key!==null&&wi("key",e.key,S,0,""),e.memoizedProps!==null&&ag(e.memoizedProps,S,0,""),m==null&&(m=e._debugTask),e={start:t,end:l,detail:{devtools:{color:"error",track:ao,tooltipText:e.tag===13?"Hydration failed":"Error boundary caught an error",properties:S}}},m?m.run(performance.measure.bind(performance,"​"+d,e)):performance.measure("​"+d,e)}}}function Wr(e,t,l,u,d){if(d!==null){if(Hn){var m=me(e);if(m!==null){u=[];for(var S=0;S<d.length;S++){var O=d[S].value;u.push(["Error",typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O)])}e.key!==null&&wi("key",e.key,u,0,""),e.memoizedProps!==null&&ag(e.memoizedProps,u,0,""),t={start:t,end:l,detail:{devtools:{color:"error",track:ao,tooltipText:"A lifecycle or effect errored",properties:u}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,"​"+m,t)):performance.measure("​"+m,t)}}}else m=me(e),m!==null&&Hn&&(d=1>u?"secondary-light":100>u?"secondary":500>u?"secondary-dark":"error",(e=e._debugTask)?e.run(console.timeStamp.bind(console,m,t,l,ao,void 0,d)):console.timeStamp(m,t,l,ao,void 0,d))}function $_(e,t,l,u){if(Hn&&!(t<=e)){var d=(l&738197653)===l?"tertiary-dark":"primary-dark";l=(l&536870912)===l?"Prepared":(l&201326741)===l?"Hydrated":"Render",u?u.run(console.timeStamp.bind(console,l,e,t,Wt,Ft,d)):console.timeStamp(l,e,t,Wt,Ft,d)}}function uE(e,t,l,u){!Hn||t<=e||(l=(l&738197653)===l?"tertiary-dark":"primary-dark",u?u.run(console.timeStamp.bind(console,"Prewarm",e,t,Wt,Ft,l)):console.timeStamp("Prewarm",e,t,Wt,Ft,l))}function cE(e,t,l,u){!Hn||t<=e||(l=(l&738197653)===l?"tertiary-dark":"primary-dark",u?u.run(console.timeStamp.bind(console,"Suspended",e,t,Wt,Ft,l)):console.timeStamp("Suspended",e,t,Wt,Ft,l))}function Q_(e,t,l,u,d,m){if(Hn&&!(t<=e)){l=[];for(var S=0;S<u.length;S++){var O=u[S].value;l.push(["Recoverable Error",typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O)])}e={start:e,end:t,detail:{devtools:{color:"primary-dark",track:Wt,trackGroup:Ft,tooltipText:d?"Hydration Failed":"Recovered after Error",properties:l}}},m?m.run(performance.measure.bind(performance,"Recovered",e)):performance.measure("Recovered",e)}}function rg(e,t,l,u){!Hn||t<=e||(u?u.run(console.timeStamp.bind(console,"Errored",e,t,Wt,Ft,"error")):console.timeStamp("Errored",e,t,Wt,Ft,"error"))}function X_(e,t,l,u){!Hn||t<=e||(u?u.run(console.timeStamp.bind(console,l,e,t,Wt,Ft,"secondary-light")):console.timeStamp(l,e,t,Wt,Ft,"secondary-light"))}function sE(e,t,l,u,d){if(Hn&&!(t<=e)){for(var m=[],S=0;S<l.length;S++){var O=l[S].value;m.push(["Error",typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O)])}e={start:e,end:t,detail:{devtools:{color:"error",track:Wt,trackGroup:Ft,tooltipText:u?"Remaining Effects Errored":"Commit Errored",properties:m}}},d?d.run(performance.measure.bind(performance,"Errored",e)):performance.measure("Errored",e)}}function ig(e,t,l){!Hn||t<=e||console.timeStamp("Animating",e,t,Wt,Ft,"secondary-dark")}function op(){for(var e=Hm,t=gO=Hm=0;t<e;){var l=lo[t];lo[t++]=null;var u=lo[t];lo[t++]=null;var d=lo[t];lo[t++]=null;var m=lo[t];if(lo[t++]=null,u!==null&&d!==null){var S=u.pending;S===null?d.next=d:(d.next=S.next,S.next=d),u.pending=d}m!==0&&og(l,d,m)}}function gs(e,t,l,u){lo[Hm++]=e,lo[Hm++]=t,lo[Hm++]=l,lo[Hm++]=u,gO|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function ac(e,t,l,u){return gs(e,t,l,u),ad(e)}function nl(e,t){return gs(e,null,null,t),ad(e)}function og(e,t,l){e.lanes|=l;var u=e.alternate;u!==null&&(u.lanes|=l);for(var d=!1,m=e.return;m!==null;)m.childLanes|=l,u=m.alternate,u!==null&&(u.childLanes|=l),m.tag===22&&(e=m.stateNode,e===null||e._visibility&e0||(d=!0)),e=m,m=m.return;return e.tag===3?(m=e.stateNode,d&&t!==null&&(d=31-Ia(l),e=m.hiddenUpdates,u=e[d],u===null?e[d]=[t]:u.push(t),t.lane=l|536870912),m):null}function ad(e){if(A0>eH)throw xh=A0=0,C0=FO=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.");xh>tH&&(xh=0,C0=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&jr(e);for(var t=e,l=t.return;l!==null;)t.alternate===null&&(t.flags&4098)!==0&&jr(e),t=l,l=t.return;return t.tag===3?t.stateNode:null}function ou(e){if(ro===null)return e;var t=ro(e);return t===void 0?e:t.current}function up(e){if(ro===null)return e;var t=ro(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=ou(e.render),e.render!==t)?(t={$$typeof:lf,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function ug(e,t){if(ro===null)return!1;var l=e.elementType;t=t.type;var u=!1,d=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(u=!0);break;case 0:(typeof t=="function"||d===rl)&&(u=!0);break;case 11:(d===lf||d===rl)&&(u=!0);break;case 14:case 15:(d===ah||d===rl)&&(u=!0);break;default:return!1}return!!(u&&(e=ro(l),e!==void 0&&e===ro(t)))}function lc(e){ro!==null&&typeof WeakSet=="function"&&(Vm===null&&(Vm=new WeakSet),Vm.add(e))}function fE(e,t,l){do{var u=e,d=u.alternate,m=u.child,S=u.sibling,O=u.tag;u=u.type;var M=null;switch(O){case 0:case 15:case 1:M=u;break;case 11:M=u.render}if(ro===null)throw Error("Expected resolveFamily to be set during hot reload.");var z=!1;if(u=!1,M!==null&&(M=ro(M),M!==void 0&&(l.has(M)?u=!0:t.has(M)&&(O===1?u=!0:z=!0))),Vm!==null&&(Vm.has(e)||d!==null&&Vm.has(d))&&(u=!0),u&&(e._debugNeedsRemount=!0),(u||z)&&(d=nl(e,2),d!==null&&vt(d,e,2)),m===null||u||fE(m,t,l),S===null)break;e=S}while(!0)}function Z_(e,t,l,u){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,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,_w||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function cg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Mi(e,t){var l=e.alternate;switch(l===null?(l=A(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l._debugOwner=e._debugOwner,l._debugStack=e._debugStack,l._debugTask=e._debugTask,l._debugHookTypes=e._debugHookTypes,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null,l.actualDuration=-0,l.actualStartTime=-1.1),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l.selfBaseDuration=e.selfBaseDuration,l.treeBaseDuration=e.treeBaseDuration,l._debugInfo=e._debugInfo,l._debugNeedsRemount=e._debugNeedsRemount,l.tag){case 0:case 15:l.type=ou(e.type);break;case 1:l.type=ou(e.type);break;case 11:l.type=up(e.type)}return l}function sg(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=l.selfBaseDuration,e.treeBaseDuration=l.treeBaseDuration),e}function rc(e,t,l,u,d,m){var S=0,O=e;if(typeof e=="function")cg(e)&&(S=1),O=ou(O);else if(typeof e=="string")S=ce(),S=iS(e,l,S)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case yi:return t=A(31,l,t,d),t.elementType=yi,t.lanes=m,t;case af:return ic(l.children,d,m,t);case Rl:S=8,d|=Ql,d|=Zo;break;case nh:return e=l,u=d,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=A(12,e,t,u|Bt),t.elementType=nh,t.lanes=m,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Lc:return t=A(13,l,t,d),t.elementType=Lc,t.lanes=m,t;case Gl:return t=A(19,l,t,d),t.elementType=Gl,t.lanes=m,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case mi:S=10;break e;case Em:S=9;break e;case lf:S=11,O=up(O);break e;case ah:S=14;break e;case rl:S=16,O=null;break e}O="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(O+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?l="null":da(e)?l="array":e!==void 0&&e.$$typeof===zr?(l="<"+(V(e.type)||"Unknown")+" />",O=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,(S=u?Se(u):null)&&(O+=`
165
+
166
+ Check the render method of \``+S+"`."),S=29,l=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(l+"."+O)),O=null}return t=A(S,l,t,d),t.elementType=e,t.type=O,t.lanes=m,t._debugOwner=u,t}function uu(e,t,l){return t=rc(e.type,e.key,e.props,e._owner,t,l),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function ic(e,t,l,u){return e=A(7,e,u,t),e.lanes=l,e}function vs(e,t,l){return e=A(6,e,null,t),e.lanes=l,e}function fg(e){var t=A(18,null,null,gt);return t.stateNode=e,t}function cp(e,t,l){return t=A(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function hl(e,t){if(typeof e=="object"&&e!==null){var l=vO.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Me(t)},vO.set(e,t),t)}return{value:e,source:t,stack:Me(t)}}function Pr(e,t){cu(),qm[Ym++]=t0,qm[Ym++]=CS,CS=e,t0=t}function dg(e,t,l){cu(),io[oo++]=Gc,io[oo++]=$c,io[oo++]=sh,sh=e;var u=Gc;e=$c;var d=32-Ia(u)-1;u&=~(1<<d),l+=1;var m=32-Ia(t)+d;if(30<m){var S=d-d%5;m=(u&(1<<S)-1).toString(32),u>>=S,d-=S,Gc=1<<32-Ia(t)+d|l<<d|u,$c=m+e}else Gc=1<<m|l<<d|u,$c=e}function sp(e){cu(),e.return!==null&&(Pr(e,1),dg(e,1,0))}function fp(e){for(;e===CS;)CS=qm[--Ym],qm[Ym]=null,t0=qm[--Ym],qm[Ym]=null;for(;e===sh;)sh=io[--oo],io[oo]=null,$c=io[--oo],io[oo]=null,Gc=io[--oo],io[oo]=null}function dE(){return cu(),sh!==null?{id:Gc,overflow:$c}:null}function hE(e,t){cu(),io[oo++]=Gc,io[oo++]=$c,io[oo++]=sh,Gc=t.id,$c=t.overflow,sh=e}function cu(){It||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function oc(e,t){if(e.return===null){if(vi===null)vi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(vi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");vi.distanceFromLeaf>t&&(vi.distanceFromLeaf=t)}return vi}var l=oc(e.return,t+1).children;return 0<l.length&&l[l.length-1].fiber===e?(l=l[l.length-1],l.distanceFromLeaf>t&&(l.distanceFromLeaf=t),l):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},l.push(t),t)}function pE(){It&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function al(e,t){Vu||(e=oc(e,0),e.serverProps=null,t!==null&&(t=nS(t),e.serverTail.push(t)))}function xr(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,l="",u=vi;throw u!==null&&(vi=null,l=ru(u)),rd(hl(Error("Hydration failed because the server rendered "+(t?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
167
+
168
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
169
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
170
+ - Date formatting in a user's locale which doesn't match the server.
171
+ - External changing data without sending a snapshot of it along with the HTML.
172
+ - Invalid HTML tag nesting.
173
+
174
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
175
+
176
+ https://react.dev/link/hydration-mismatch`+l),e)),bO}function hg(e){var t=e.stateNode,l=e.type,u=e.memoizedProps;switch(t[Bn]=e,t[Al]=u,Ol(l,u),l){case"dialog":yt("cancel",t),yt("close",t);break;case"iframe":case"object":case"embed":yt("load",t);break;case"video":case"audio":for(l=0;l<D0.length;l++)yt(D0[l],t);break;case"source":yt("error",t);break;case"img":case"image":case"link":yt("error",t),yt("load",t);break;case"details":yt("toggle",t);break;case"input":ga("input",u),yt("invalid",t),Xe(t,u),rt(t,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"option":lt(t,u);break;case"select":ga("select",u),yt("invalid",t),yn(t,u);break;case"textarea":ga("textarea",u),yt("invalid",t),On(t,u),Jt(t,u.value,u.defaultValue,u.children)}l=u.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||u.suppressHydrationWarning===!0||mv(t.textContent,l)?(u.popover!=null&&(yt("beforetoggle",t),yt("toggle",t)),u.onScroll!=null&&yt("scroll",t),u.onScrollEnd!=null&&yt("scrollend",t),u.onClick!=null&&(t.onclick=_r),t=!0):t=!1,t||xr(e,!0)}function pg(e){for(Cl=e.return;Cl;)switch(Cl.tag){case 5:case 31:case 13:uo=!1;return;case 27:case 3:uo=!0;return;default:Cl=Cl.return}}function uc(e){if(e!==Cl)return!1;if(!It)return pg(e),It=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Js(e.type,e.memoizedProps)),l=!l),l&&Vn){for(l=Vn;l;){var u=oc(e,0),d=nS(l);u.serverTail.push(d),l=d.type==="Suspense"?Ws(l):fr(l.nextSibling)}xr(e)}if(pg(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Vn=Ws(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Vn=Ws(e)}else t===27?(t=Vn,Nu(e.type)?(e=ux,ux=null,Vn=e):Vn=t):Vn=Cl?fr(e.stateNode.nextSibling):null;return!0}function su(){Vn=Cl=null,Vu=It=!1}function ld(){var e=Ef;return e!==null&&(br===null?br=e:br.push.apply(br,e),Ef=null),e}function rd(e){Ef===null?Ef=[e]:Ef.push(e)}function fu(){var e=vi;if(e!==null){vi=null;for(var t=ru(e);0<e.children.length;)e=e.children[0];Le(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
177
+
178
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
179
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
180
+ - Date formatting in a user's locale which doesn't match the server.
181
+ - External changing data without sending a snapshot of it along with the HTML.
182
+ - Invalid HTML tag nesting.
183
+
184
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
185
+
186
+ %s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function bs(){km=DS=null,Gm=!1}function Rr(e,t,l){Ye(EO,t._currentValue,e),t._currentValue=l,Ye(SO,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==xw&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=xw}function ei(e,t){e._currentValue=EO.current;var l=SO.current;xe(SO,t),e._currentRenderer=l,xe(EO,t)}function dp(e,t,l){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===l)break;e=e.return}e!==l&&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 Ao(e,t,l,u){var d=e.child;for(d!==null&&(d.return=e);d!==null;){var m=d.dependencies;if(m!==null){var S=d.child;m=m.firstContext;e:for(;m!==null;){var O=m;m=d;for(var M=0;M<t.length;M++)if(O.context===t[M]){m.lanes|=l,O=m.alternate,O!==null&&(O.lanes|=l),dp(m.return,l,e),u||(S=null);break e}m=O.next}}else if(d.tag===18){if(S=d.return,S===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");S.lanes|=l,m=S.alternate,m!==null&&(m.lanes|=l),dp(S,l,e),S=null}else S=d.child;if(S!==null)S.return=d;else for(S=d;S!==null;){if(S===e){S=null;break}if(d=S.sibling,d!==null){d.return=S.return,S=d;break}S=S.return}d=S}}function ti(e,t,l,u){e=null;for(var d=t,m=!1;d!==null;){if(!m){if((d.flags&524288)!==0)m=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var S=d.alternate;if(S===null)throw Error("Should have a current fiber. This is a bug in React.");if(S=S.memoizedProps,S!==null){var O=d.type;mr(d.pendingProps.value,S.value)||(e!==null?e.push(O):e=[O])}}else if(d===Lu.current){if(S=d.alternate,S===null)throw Error("Should have a current fiber. This is a bug in React.");S.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(e!==null?e.push(z0):e=[z0])}d=d.return}e!==null&&Ao(t,e,l,u),t.flags|=262144}function Es(e){for(e=e.firstContext;e!==null;){if(!mr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function du(e){DS=e,km=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ln(e){return Gm&&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()."),mg(DS,e)}function id(e,t){return DS===null&&du(e),mg(e,t)}function mg(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},km===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");km=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else km=km.next=t;return l}function hp(){return{controller:new Y8,data:new Map,refCount:0}}function cc(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function od(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&k8(G8,function(){e.controller.abort()})}function Ni(e,t,l){(e&127)!==0?0>qu&&(qu=Ba(),a0=wS(t),TO=t,l!=null&&(_O=me(l)),(en&(Ka|Si))!==cl&&(oa=!0,Tf=n0),e=Fs(),t=Ki(),e!==$m||t!==l0?$m=-1.1:t!==null&&(Tf=n0),hh=e,l0=t):(e&4194048)!==0&&0>co&&(co=Ba(),r0=wS(t),Rw=t,l!=null&&(Aw=me(l)),0>Ic)&&(e=Fs(),t=Ki(),(e!==Of||t!==ph)&&(Of=-1.1),_f=e,ph=t)}function mE(e){if(0>qu){qu=Ba(),a0=e._debugTask!=null?e._debugTask:null,(en&(Ka|Si))!==cl&&(Tf=n0);var t=Fs(),l=Ki();t!==$m||l!==l0?$m=-1.1:l!==null&&(Tf=n0),hh=t,l0=l}0>co&&(co=Ba(),r0=e._debugTask!=null?e._debugTask:null,0>Ic)&&(e=Fs(),t=Ki(),(e!==Of||t!==ph)&&(Of=-1.1),_f=e,ph=t)}function ji(){var e=fh;return fh=0,e}function Ss(e){var t=fh;return fh=e,t}function pl(e){var t=fh;return fh+=e,t}function sc(){pt=st=-1.1}function zn(){var e=st;return st=-1.1,e}function Da(e){0<=e&&(st=e)}function Ar(){var e=Fn;return Fn=-0,e}function Pl(e){0<=e&&(Fn=e)}function er(){var e=Xn;return Xn=null,e}function Cr(){var e=oa;return oa=!1,e}function Co(e){yr=Ba(),0>e.actualStartTime&&(e.actualStartTime=yr)}function pp(e){if(0<=yr){var t=Ba()-yr;e.actualDuration+=t,e.selfBaseDuration=t,yr=-1}}function ud(e){if(0<=yr){var t=Ba()-yr;e.actualDuration+=t,yr=-1}}function ml(){if(0<=yr){var e=Ba(),t=e-yr;yr=-1,fh+=t,Fn+=t,pt=e}}function yE(e){Xn===null&&(Xn=[]),Xn.push(e),Xc===null&&(Xc=[]),Xc.push(e)}function Zn(){yr=Ba(),0>st&&(st=yr)}function fc(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Do(e,t){if(o0===null){var l=o0=[];xO=0,mh=pv(),Qm={status:"pending",value:void 0,then:function(u){l.push(u)}}}return xO++,t.then(yg,yg),t}function yg(){if(--xO===0&&(-1<co||(Ic=-1.1),o0!==null)){Qm!==null&&(Qm.status="fulfilled");var e=o0;o0=null,mh=0,Qm=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function mp(e,t){var l=[],u={status:"pending",value:null,reason:null,then:function(d){l.push(d)}};return e.then(function(){u.status="fulfilled",u.value=t;for(var d=0;d<l.length;d++)(0,l[d])(t)},function(d){for(u.status="rejected",u.reason=d,d=0;d<l.length;d++)(0,l[d])(void 0)}),u}function wo(){var e=yh.current;return e!==null?e:Dn.pooledCache}function Ts(e,t){t===null?Ye(yh,yh.current,e):Ye(yh,t.pool,e)}function gg(){var e=wo();return e===null?null:{parent:La._currentValue,pool:e}}function yp(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function vg(e){return e=e.status,e==="fulfilled"||e==="rejected"}function tr(e,t,l){ve.actQueue!==null&&(ve.didUsePromise=!0);var u=e.thenables;if(l=u[l],l===void 0?u.push(t):l!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(_r,_r),t=l),t._debugInfo===void 0){e=performance.now(),u=t.displayName;var d={name:typeof u=="string"?u:"Promise",start:e,end:e,value:t};t._debugInfo=[{awaited:d}],t.status!=="fulfilled"&&t.status!=="rejected"&&(e=function(){d.end=performance.now()},t.then(e,e))}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cd(e),e;default:if(typeof t.status=="string")t.then(_r,_r);else{if(e=Dn,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(m){if(t.status==="pending"){var S=t;S.status="fulfilled",S.value=m}},function(m){if(t.status==="pending"){var S=t;S.status="rejected",S.reason=m}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cd(e),e}throw vh=t,p0=!0,Xm}}function nr(e){try{return I8(e)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(vh=t,p0=!0,Xm):t}}function dc(){if(vh===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=vh;return vh=null,p0=!1,e}function cd(e){if(e===Xm||e===HS)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 na(e){var t=Ht;return e!=null&&(Ht=t===null?e:t.concat(e)),t}function Bl(){var e=Ht;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var l=e[t].debugTask;if(l!=null)return l}}return null}function yl(e,t,l){for(var u=Object.keys(e.props),d=0;d<u.length;d++){var m=u[d];if(m!=="children"&&m!=="key"){t===null&&(t=uu(e,l.mode,0),t._debugInfo=Ht,t.return=l),Le(t,function(S){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S)},m);break}}}function ni(e){var t=m0;return m0+=1,Zm===null&&(Zm=yp()),tr(Zm,e,t)}function Hl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ai(e,t){throw t.$$typeof===dS?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
187
+ - Multiple copies of the "react" package is used.
188
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
189
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Dr(e,t){var l=Bl();l!==null?l.run(ai.bind(null,e,t)):ai(e,t)}function bg(e,t){var l=me(e)||"Component";Zw[l]||(Zw[l]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
190
+ root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
191
+ <%s>{%s}</%s>`,t,t,l,t,l))}function _s(e,t){var l=Bl();l!==null?l.run(bg.bind(null,e,t)):bg(e,t)}function gp(e,t){var l=me(e)||"Component";Iw[l]||(Iw[l]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
192
+ root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
193
+ <%s>%s</%s>`,l,t,l))}function sd(e,t){var l=Bl();l!==null?l.run(gp.bind(null,e,t)):gp(e,t)}function wa(e){function t(G,X){if(e){var K=G.deletions;K===null?(G.deletions=[X],G.flags|=16):K.push(X)}}function l(G,X){if(!e)return null;for(;X!==null;)t(G,X),X=X.sibling;return null}function u(G){for(var X=new Map;G!==null;)G.key!==null?X.set(G.key,G):X.set(G.index,G),G=G.sibling;return X}function d(G,X){return G=Mi(G,X),G.index=0,G.sibling=null,G}function m(G,X,K){return G.index=K,e?(K=G.alternate,K!==null?(K=K.index,K<X?(G.flags|=67108866,X):K):(G.flags|=67108866,X)):(G.flags|=1048576,X)}function S(G){return e&&G.alternate===null&&(G.flags|=67108866),G}function O(G,X,K,_e){return X===null||X.tag!==6?(X=vs(K,G.mode,_e),X.return=G,X._debugOwner=G,X._debugTask=G._debugTask,X._debugInfo=Ht,X):(X=d(X,K),X.return=G,X._debugInfo=Ht,X)}function M(G,X,K,_e){var Ge=K.type;return Ge===af?(X=P(G,X,K.props.children,_e,K.key),yl(K,X,G),X):X!==null&&(X.elementType===Ge||ug(X,K)||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===rl&&nr(Ge)===X.type)?(X=d(X,K.props),Hl(X,K),X.return=G,X._debugOwner=K._owner,X._debugInfo=Ht,X):(X=uu(K,G.mode,_e),Hl(X,K),X.return=G,X._debugInfo=Ht,X)}function z(G,X,K,_e){return X===null||X.tag!==4||X.stateNode.containerInfo!==K.containerInfo||X.stateNode.implementation!==K.implementation?(X=cp(K,G.mode,_e),X.return=G,X._debugInfo=Ht,X):(X=d(X,K.children||[]),X.return=G,X._debugInfo=Ht,X)}function P(G,X,K,_e,Ge){return X===null||X.tag!==7?(X=ic(K,G.mode,_e,Ge),X.return=G,X._debugOwner=G,X._debugTask=G._debugTask,X._debugInfo=Ht,X):(X=d(X,K),X.return=G,X._debugInfo=Ht,X)}function te(G,X,K){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return X=vs(""+X,G.mode,K),X.return=G,X._debugOwner=G,X._debugTask=G._debugTask,X._debugInfo=Ht,X;if(typeof X=="object"&&X!==null){switch(X.$$typeof){case zr:return K=uu(X,G.mode,K),Hl(K,X),K.return=G,G=na(X._debugInfo),K._debugInfo=Ht,Ht=G,K;case zu:return X=cp(X,G.mode,K),X.return=G,X._debugInfo=Ht,X;case rl:var _e=na(X._debugInfo);return X=nr(X),G=te(G,X,K),Ht=_e,G}if(da(X)||ae(X))return K=ic(X,G.mode,K,null),K.return=G,K._debugOwner=G,K._debugTask=G._debugTask,G=na(X._debugInfo),K._debugInfo=Ht,Ht=G,K;if(typeof X.then=="function")return _e=na(X._debugInfo),G=te(G,ni(X),K),Ht=_e,G;if(X.$$typeof===mi)return te(G,id(G,X),K);Dr(G,X)}return typeof X=="function"&&_s(G,X),typeof X=="symbol"&&sd(G,X),null}function Q(G,X,K,_e){var Ge=X!==null?X.key:null;if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return Ge!==null?null:O(G,X,""+K,_e);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case zr:return K.key===Ge?(Ge=na(K._debugInfo),G=M(G,X,K,_e),Ht=Ge,G):null;case zu:return K.key===Ge?z(G,X,K,_e):null;case rl:return Ge=na(K._debugInfo),K=nr(K),G=Q(G,X,K,_e),Ht=Ge,G}if(da(K)||ae(K))return Ge!==null?null:(Ge=na(K._debugInfo),G=P(G,X,K,_e,null),Ht=Ge,G);if(typeof K.then=="function")return Ge=na(K._debugInfo),G=Q(G,X,ni(K),_e),Ht=Ge,G;if(K.$$typeof===mi)return Q(G,X,id(G,K),_e);Dr(G,K)}return typeof K=="function"&&_s(G,K),typeof K=="symbol"&&sd(G,K),null}function pe(G,X,K,_e,Ge){if(typeof _e=="string"&&_e!==""||typeof _e=="number"||typeof _e=="bigint")return G=G.get(K)||null,O(X,G,""+_e,Ge);if(typeof _e=="object"&&_e!==null){switch(_e.$$typeof){case zr:return K=G.get(_e.key===null?K:_e.key)||null,G=na(_e._debugInfo),X=M(X,K,_e,Ge),Ht=G,X;case zu:return G=G.get(_e.key===null?K:_e.key)||null,z(X,G,_e,Ge);case rl:var Tt=na(_e._debugInfo);return _e=nr(_e),X=pe(G,X,K,_e,Ge),Ht=Tt,X}if(da(_e)||ae(_e))return K=G.get(K)||null,G=na(_e._debugInfo),X=P(X,K,_e,Ge,null),Ht=G,X;if(typeof _e.then=="function")return Tt=na(_e._debugInfo),X=pe(G,X,K,ni(_e),Ge),Ht=Tt,X;if(_e.$$typeof===mi)return pe(G,X,K,id(X,_e),Ge);Dr(X,_e)}return typeof _e=="function"&&_s(X,_e),typeof _e=="symbol"&&sd(X,_e),null}function ke(G,X,K,_e){if(typeof K!="object"||K===null)return _e;switch(K.$$typeof){case zr:case zu:R(G,X,K);var Ge=K.key;if(typeof Ge!="string")break;if(_e===null){_e=new Set,_e.add(Ge);break}if(!_e.has(Ge)){_e.add(Ge);break}Le(X,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.",Ge)});break;case rl:K=nr(K),ke(G,X,K,_e)}return _e}function Ie(G,X,K,_e){for(var Ge=null,Tt=null,ut=null,at=X,zt=X=0,qn=null;at!==null&&zt<K.length;zt++){at.index>zt?(qn=at,at=null):qn=at.sibling;var xa=Q(G,at,K[zt],_e);if(xa===null){at===null&&(at=qn);break}Ge=ke(G,xa,K[zt],Ge),e&&at&&xa.alternate===null&&t(G,at),X=m(xa,X,zt),ut===null?Tt=xa:ut.sibling=xa,ut=xa,at=qn}if(zt===K.length)return l(G,at),It&&Pr(G,zt),Tt;if(at===null){for(;zt<K.length;zt++)at=te(G,K[zt],_e),at!==null&&(Ge=ke(G,at,K[zt],Ge),X=m(at,X,zt),ut===null?Tt=at:ut.sibling=at,ut=at);return It&&Pr(G,zt),Tt}for(at=u(at);zt<K.length;zt++)qn=pe(at,G,zt,K[zt],_e),qn!==null&&(Ge=ke(G,qn,K[zt],Ge),e&&qn.alternate!==null&&at.delete(qn.key===null?zt:qn.key),X=m(qn,X,zt),ut===null?Tt=qn:ut.sibling=qn,ut=qn);return e&&at.forEach(function(ns){return t(G,ns)}),It&&Pr(G,zt),Tt}function jn(G,X,K,_e){if(K==null)throw Error("An iterable object provided no iterator.");for(var Ge=null,Tt=null,ut=X,at=X=0,zt=null,qn=null,xa=K.next();ut!==null&&!xa.done;at++,xa=K.next()){ut.index>at?(zt=ut,ut=null):zt=ut.sibling;var ns=Q(G,ut,xa.value,_e);if(ns===null){ut===null&&(ut=zt);break}qn=ke(G,ns,xa.value,qn),e&&ut&&ns.alternate===null&&t(G,ut),X=m(ns,X,at),Tt===null?Ge=ns:Tt.sibling=ns,Tt=ns,ut=zt}if(xa.done)return l(G,ut),It&&Pr(G,at),Ge;if(ut===null){for(;!xa.done;at++,xa=K.next())ut=te(G,xa.value,_e),ut!==null&&(qn=ke(G,ut,xa.value,qn),X=m(ut,X,at),Tt===null?Ge=ut:Tt.sibling=ut,Tt=ut);return It&&Pr(G,at),Ge}for(ut=u(ut);!xa.done;at++,xa=K.next())zt=pe(ut,G,at,xa.value,_e),zt!==null&&(qn=ke(G,zt,xa.value,qn),e&&zt.alternate!==null&&ut.delete(zt.key===null?at:zt.key),X=m(zt,X,at),Tt===null?Ge=zt:Tt.sibling=zt,Tt=zt);return e&&ut.forEach(function(vH){return t(G,vH)}),It&&Pr(G,at),Ge}function Kt(G,X,K,_e){if(typeof K=="object"&&K!==null&&K.type===af&&K.key===null&&(yl(K,null,G),K=K.props.children),typeof K=="object"&&K!==null){switch(K.$$typeof){case zr:var Ge=na(K._debugInfo);e:{for(var Tt=K.key;X!==null;){if(X.key===Tt){if(Tt=K.type,Tt===af){if(X.tag===7){l(G,X.sibling),_e=d(X,K.props.children),_e.return=G,_e._debugOwner=K._owner,_e._debugInfo=Ht,yl(K,_e,G),G=_e;break e}}else if(X.elementType===Tt||ug(X,K)||typeof Tt=="object"&&Tt!==null&&Tt.$$typeof===rl&&nr(Tt)===X.type){l(G,X.sibling),_e=d(X,K.props),Hl(_e,K),_e.return=G,_e._debugOwner=K._owner,_e._debugInfo=Ht,G=_e;break e}l(G,X);break}else t(G,X);X=X.sibling}K.type===af?(_e=ic(K.props.children,G.mode,_e,K.key),_e.return=G,_e._debugOwner=G,_e._debugTask=G._debugTask,_e._debugInfo=Ht,yl(K,_e,G),G=_e):(_e=uu(K,G.mode,_e),Hl(_e,K),_e.return=G,_e._debugInfo=Ht,G=_e)}return G=S(G),Ht=Ge,G;case zu:e:{for(Ge=K,K=Ge.key;X!==null;){if(X.key===K)if(X.tag===4&&X.stateNode.containerInfo===Ge.containerInfo&&X.stateNode.implementation===Ge.implementation){l(G,X.sibling),_e=d(X,Ge.children||[]),_e.return=G,G=_e;break e}else{l(G,X);break}else t(G,X);X=X.sibling}_e=cp(Ge,G.mode,_e),_e.return=G,G=_e}return S(G);case rl:return Ge=na(K._debugInfo),K=nr(K),G=Kt(G,X,K,_e),Ht=Ge,G}if(da(K))return Ge=na(K._debugInfo),G=Ie(G,X,K,_e),Ht=Ge,G;if(ae(K)){if(Ge=na(K._debugInfo),Tt=ae(K),typeof Tt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var ut=Tt.call(K);return ut===K?(G.tag!==0||Object.prototype.toString.call(G.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(ut)!=="[object Generator]")&&(Qw||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."),Qw=!0):K.entries!==Tt||DO||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),DO=!0),G=jn(G,X,ut,_e),Ht=Ge,G}if(typeof K.then=="function")return Ge=na(K._debugInfo),G=Kt(G,X,ni(K),_e),Ht=Ge,G;if(K.$$typeof===mi)return Kt(G,X,id(G,K),_e);Dr(G,K)}return typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint"?(Ge=""+K,X!==null&&X.tag===6?(l(G,X.sibling),_e=d(X,Ge),_e.return=G,G=_e):(l(G,X),_e=vs(Ge,G.mode,_e),_e.return=G,_e._debugOwner=G,_e._debugTask=G._debugTask,_e._debugInfo=Ht,G=_e),S(G)):(typeof K=="function"&&_s(G,K),typeof K=="symbol"&&sd(G,K),l(G,X))}return function(G,X,K,_e){var Ge=Ht;Ht=null;try{m0=0;var Tt=Kt(G,X,K,_e);return Zm=null,Tt}catch(qn){if(qn===Xm||qn===HS)throw qn;var ut=A(29,qn,null,G.mode);ut.lanes=_e,ut.return=G;var at=ut._debugInfo=Ht;if(ut._debugOwner=G._debugOwner,ut._debugTask=G._debugTask,at!=null){for(var zt=at.length-1;0<=zt;zt--)if(typeof at[zt].stack=="string"){ut._debugOwner=at[zt],ut._debugTask=at[zt].debugTask;break}}return ut}finally{Ht=Ge}}}function xn(e,t){var l=da(e);return e=!l&&typeof ae(e)=="function",l||e?(l=l?"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>",l,t,l),!1):!0}function Qt(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function zi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ba(e){return{lane:e,tag:Fw,payload:null,callback:null,next:null}}function Ui(e,t,l){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,MO===u&&!Pw){var d=me(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
194
+
195
+ Please update the following component: %s`,d),Pw=!0}return(en&Ka)!==cl?(d=u.pending,d===null?t.next=t:(t.next=d.next,d.next=t),u.pending=t,t=ad(e),og(e,null,l),t):(gs(e,u,t,l),ad(e))}function wr(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var u=t.lanes;u&=e.pendingLanes,l|=u,t.lanes=l,lu(e,l)}}function fd(e,t){var l=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,l===u)){var d=null,m=null;if(l=l.firstBaseUpdate,l!==null){do{var S={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};m===null?d=m=S:m=m.next=S,l=l.next}while(l!==null);m===null?d=m=t:m=m.next=t}else d=m=t;l={baseState:u.baseState,firstBaseUpdate:d,lastBaseUpdate:m,shared:u.shared,callbacks:u.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}function Os(){if(NO){var e=Qm;if(e!==null)throw e}}function Li(e,t,l,u){NO=!1;var d=e.updateQueue;xf=!1,MO=d.shared;var m=d.firstBaseUpdate,S=d.lastBaseUpdate,O=d.shared.pending;if(O!==null){d.shared.pending=null;var M=O,z=M.next;M.next=null,S===null?m=z:S.next=z,S=M;var P=e.alternate;P!==null&&(P=P.updateQueue,O=P.lastBaseUpdate,O!==S&&(O===null?P.firstBaseUpdate=z:O.next=z,P.lastBaseUpdate=M))}if(m!==null){var te=d.baseState;S=0,P=z=M=null,O=m;do{var Q=O.lane&-536870913,pe=Q!==O.lane;if(pe?(Vt&Q)===Q:(u&Q)===Q){Q!==0&&Q===mh&&(NO=!0),P!==null&&(P=P.next={lane:0,tag:O.tag,payload:O.payload,callback:null,next:null});e:{Q=e;var ke=O,Ie=t,jn=l;switch(ke.tag){case Kw:if(ke=ke.payload,typeof ke=="function"){Gm=!0;var Kt=ke.call(jn,te,Ie);if(Q.mode&Ql){Je(!0);try{ke.call(jn,te,Ie)}finally{Je(!1)}}Gm=!1,te=Kt;break e}te=ke;break e;case wO:Q.flags=Q.flags&-65537|128;case Fw:if(Kt=ke.payload,typeof Kt=="function"){if(Gm=!0,ke=Kt.call(jn,te,Ie),Q.mode&Ql){Je(!0);try{Kt.call(jn,te,Ie)}finally{Je(!1)}}Gm=!1}else ke=Kt;if(ke==null)break e;te=Lt({},te,ke);break e;case Ww:xf=!0}}Q=O.callback,Q!==null&&(e.flags|=64,pe&&(e.flags|=8192),pe=d.callbacks,pe===null?d.callbacks=[Q]:pe.push(Q))}else pe={lane:Q,tag:O.tag,payload:O.payload,callback:O.callback,next:null},P===null?(z=P=pe,M=te):P=P.next=pe,S|=Q;if(O=O.next,O===null){if(O=d.shared.pending,O===null)break;pe=O,O=pe.next,pe.next=null,d.lastBaseUpdate=pe,d.shared.pending=null}}while(!0);P===null&&(M=te),d.baseState=M,d.firstBaseUpdate=z,d.lastBaseUpdate=P,m===null&&(d.shared.lanes=0),Cf|=S,e.lanes=S,e.memoizedState=te}MO=null}function hu(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Eg(e,t){var l=e.shared.hiddenCallbacks;if(l!==null)for(e.shared.hiddenCallbacks=null,e=0;e<l.length;e++)hu(l[e],t)}function xs(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)hu(l[e],t)}function vp(e,t){var l=ku;Ye(qS,l,e),Ye(Im,t,e),ku=l|t.baseLanes}function Mo(e){Ye(qS,ku,e),Ye(Im,Im.current,e)}function li(e){ku=qS.current,xe(Im,e),xe(qS,e)}function gl(e){var t=e.alternate;Ye(Oa,Oa.current&Jm,e),Ye(bi,e,e),so===null&&(t===null||Im.current!==null||t.memoizedState!==null)&&(so=e)}function ri(e){Ye(Oa,Oa.current,e),Ye(bi,e,e),so===null&&(so=e)}function bp(e){e.tag===22?(Ye(Oa,Oa.current,e),Ye(bi,e,e),so===null&&(so=e)):Bi(e)}function Bi(e){Ye(Oa,Oa.current,e),Ye(bi,bi.current,e)}function Ma(e){xe(bi,e),so===e&&(so=null),xe(Oa,e)}function hc(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Zd(l)||gv(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Et(){var e=ge;ho===null?ho=[e]:ho.push(e)}function Ce(){var e=ge;if(ho!==null&&(Kc++,ho[Kc]!==e)){var t=me(St);if(!e2.has(t)&&(e2.add(t),ho!==null)){for(var l="",u=0;u<=Kc;u++){var d=ho[u],m=u===Kc?e:d;for(d=u+1+". "+d;30>d.length;)d+=" ";d+=m+`
196
+ `,l+=d}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
197
+
198
+ Previous render Next render
199
+ ------------------------------------------------------
200
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
201
+ `,t,l)}}}function No(e){e==null||da(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ge,typeof e)}function dd(){var e=me(St);n2.has(e)||(n2.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function In(){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:
202
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
203
+ 2. You might be breaking the Rules of Hooks
204
+ 3. You might have more than one copy of React in the same app
205
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Sg(e,t){if(v0)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ge),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
206
+
207
+ Previous: %s
208
+ Incoming: %s`,ge,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var l=0;l<t.length&&l<e.length;l++)if(!mr(e[l],t[l]))return!1;return!0}function Tg(e,t,l,u,d,m){Jc=m,St=t,ho=e!==null?e._debugHookTypes:null,Kc=-1,v0=e!==null&&e.type!==t.type,(Object.prototype.toString.call(l)==="[object AsyncFunction]"||Object.prototype.toString.call(l)==="[object AsyncGeneratorFunction]")&&(m=me(St),jO.has(m)||(jO.add(m),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.",m===null?"An unknown Component":"<"+m+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,ve.H=e!==null&&e.memoizedState!==null?UO:ho!==null?a2:zO,Eh=m=(t.mode&Ql)!==gt;var S=RO(l,u,d);if(Eh=!1,Km&&(S=hd(t,l,u,d)),m){Je(!0);try{S=hd(t,l,u,d)}finally{Je(!1)}}return aa(e,t),S}function aa(e,t){t._debugHookTypes=ho,t.dependencies===null?Fc!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Fc}):t.dependencies._debugThenableState=Fc,ve.H=b0;var l=Cn!==null&&Cn.next!==null;if(Jc=0,ho=ge=Ha=Cn=St=null,Kc=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),kS=!1,g0=0,Fc=null,l)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Va||(e=e.dependencies,e!==null&&Es(e)&&(Va=!0)),p0?(p0=!1,e=!0):e=!1,e&&(t=me(t)||"Unknown",t2.has(t)||jO.has(t)||(t2.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function hd(e,t,l,u){St=e;var d=0;do{if(Km&&(Fc=null),g0=0,Km=!1,d>=F8)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(d+=1,v0=!1,Ha=Cn=null,e.updateQueue!=null){var m=e.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}Kc=-1,ve.H=l2,m=RO(t,l,u)}while(Km);return m}function pd(){var e=ve.H,t=e.useState()[0];return t=typeof t.then=="function"?gd(t):t,e=e.useState()[0],(Cn!==null?Cn.memoizedState:null)!==e&&(St.flags|=1024),t}function pc(){var e=GS!==0;return GS=0,e}function md(e,t,l){t.updateQueue=e.updateQueue,t.flags=(t.mode&Zo)!==gt?t.flags&-402655237:t.flags&-2053,e.lanes&=~l}function pu(e){if(kS){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}kS=!1}Jc=0,ho=Ha=Cn=St=null,Kc=-1,ge=null,Km=!1,g0=GS=0,Fc=null}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ha===null?St.memoizedState=Ha=e:Ha=Ha.next=e,Ha}function sn(){if(Cn===null){var e=St.alternate;e=e!==null?e.memoizedState:null}else e=Cn.next;var t=Ha===null?St.memoizedState:Ha.next;if(t!==null)Ha=t,Cn=e;else{if(e===null)throw St.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Cn=e,e={memoizedState:Cn.memoizedState,baseState:Cn.baseState,baseQueue:Cn.baseQueue,queue:Cn.queue,next:null},Ha===null?St.memoizedState=Ha=e:Ha=Ha.next=e}return Ha}function yd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gd(e){var t=g0;return g0+=1,Fc===null&&(Fc=yp()),e=tr(Fc,e,t),t=St,(Ha===null?t.memoizedState:Ha.next)===null&&(t=t.alternate,ve.H=t!==null&&t.memoizedState!==null?UO:zO),e}function jo(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return gd(e);if(e.$$typeof===mi)return ln(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function ar(e){var t=null,l=St.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var u=St.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(t={data:u.data.map(function(d){return d.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=yd(),St.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0||v0)for(l=t.data[t.index]=Array(e),u=0;u<e;u++)l[u]=P_;else l.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",l.length,e);return t.index++,l}function lr(e,t){return typeof t=="function"?t(e):t}function Rs(e,t,l){var u=sa();if(l!==void 0){var d=l(t);if(Eh){Je(!0);try{l(t)}finally{Je(!1)}}}else d=t;return u.memoizedState=u.baseState=d,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:d},u.queue=e,e=e.dispatch=I_.bind(null,St,e),[u.memoizedState,e]}function mc(e){var t=sn();return mu(t,Cn,e)}function mu(e,t,l){var u=e.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=l;var d=e.baseQueue,m=u.pending;if(m!==null){if(d!==null){var S=d.next;d.next=m.next,m.next=S}t.baseQueue!==d&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=d=m,u.pending=null}if(m=e.baseState,d===null)e.memoizedState=m;else{t=d.next;var O=S=null,M=null,z=t,P=!1;do{var te=z.lane&-536870913;if(te!==z.lane?(Vt&te)===te:(Jc&te)===te){var Q=z.revertLane;if(Q===0)M!==null&&(M=M.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),te===mh&&(P=!0);else if((Jc&Q)===Q){z=z.next,Q===mh&&(P=!0);continue}else te={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},M===null?(O=M=te,S=m):M=M.next=te,St.lanes|=Q,Cf|=Q;te=z.action,Eh&&l(m,te),m=z.hasEagerState?z.eagerState:l(m,te)}else Q={lane:te,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},M===null?(O=M=Q,S=m):M=M.next=Q,St.lanes|=te,Cf|=te;z=z.next}while(z!==null&&z!==t);if(M===null?S=m:M.next=O,!mr(m,e.memoizedState)&&(Va=!0,P&&(l=Qm,l!==null)))throw l;e.memoizedState=m,e.baseState=S,e.baseQueue=M,u.lastRenderedState=m}return d===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function yc(e){var t=sn(),l=t.queue;if(l===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");l.lastRenderedReducer=e;var u=l.dispatch,d=l.pending,m=t.memoizedState;if(d!==null){l.pending=null;var S=d=d.next;do m=e(m,S.action),S=S.next;while(S!==d);mr(m,t.memoizedState)||(Va=!0),t.memoizedState=m,t.baseQueue===null&&(t.baseState=m),l.lastRenderedState=m}return[m,u]}function As(e,t,l){var u=St,d=sa();if(It){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var m=l();Fm||m===l()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Fm=!0)}else{if(m=t(),Fm||(l=t(),mr(m,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Fm=!0)),Dn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Vt&127)!==0||_g(u,t,m)}return d.memoizedState=m,l={value:m,getSnapshot:t},d.queue=l,bc(yu.bind(null,u,l,e),[e]),u.flags|=2048,Hi(fo|vr,{destroy:void 0},Og.bind(null,u,l,m,t),null),m}function gc(e,t,l){var u=St,d=sn(),m=It;if(m){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");l=l()}else if(l=t(),!Fm){var S=t();mr(l,S)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Fm=!0)}(S=!mr((Cn||d).memoizedState,l))&&(d.memoizedState=l,Va=!0),d=d.queue;var O=yu.bind(null,u,d,e);if(Ea(2048,vr,O,[e]),d.getSnapshot!==t||S||Ha!==null&&Ha.memoizedState.tag&fo){if(u.flags|=2048,Hi(fo|vr,{destroy:void 0},Og.bind(null,u,d,l,t),null),Dn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");m||(Jc&127)!==0||_g(u,t,l)}return l}function _g(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=St.updateQueue,t===null?(t=yd(),St.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function Og(e,t,l,u){t.value=l,t.getSnapshot=u,gu(t)&&xg(e)}function yu(e,t,l){return l(function(){gu(t)&&(Ni(2,"updateSyncExternalStore()",e),xg(e))})}function gu(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!mr(e,l)}catch{return!0}}function xg(e){var t=nl(e,2);t!==null&&vt(t,e,2)}function Ep(e){var t=sa();if(typeof e=="function"){var l=e;if(e=l(),Eh){Je(!0);try{l()}finally{Je(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lr,lastRenderedState:e},t}function vu(e){e=Ep(e);var t=e.queue,l=Rp.bind(null,St,t);return t.dispatch=l,[e.memoizedState,l]}function vc(e){var t=sa();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=Od.bind(null,St,!0,l),l.dispatch=t,[e,t]}function vd(e,t){var l=sn();return Cs(l,Cn,e,t)}function Cs(e,t,l,u){return e.baseState=l,mu(e,Cn,typeof u=="function"?u:lr)}function bd(e,t){var l=sn();return Cn!==null?Cs(l,Cn,e,t):(l.baseState=e,[e,l.queue.dispatch])}function gE(e,t,l,u,d){if(Na(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var m={payload:d,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){m.listeners.push(S)}};ve.T!==null?l(!0):m.isTransition=!1,u(m),l=t.pending,l===null?(m.next=t.pending=m,bu(t,m)):(m.next=l.next,t.pending=l.next=m)}}function bu(e,t){var l=t.action,u=t.payload,d=e.state;if(t.isTransition){var m=ve.T,S={};S._updatedFibers=new Set,ve.T=S;try{var O=l(d,u),M=ve.S;M!==null&&M(S,O),Rg(e,t,O)}catch(z){Ed(e,t,z)}finally{m!==null&&S.types!==null&&(m.types!==null&&m.types!==S.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."),m.types=S.types),ve.T=m,m===null&&S._updatedFibers&&(e=S._updatedFibers.size,S._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{S=l(d,u),Rg(e,t,S)}catch(z){Ed(e,t,z)}}function Rg(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?(ve.asyncTransitions++,l.then(Ec,Ec),l.then(function(u){zo(e,t,u)},function(u){return Ed(e,t,u)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):zo(e,t,l)}function zo(e,t,l){t.status="fulfilled",t.value=l,Sp(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,bu(e,l)))}function Ed(e,t,l){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do t.status="rejected",t.reason=l,Sp(t),t=t.next;while(t!==u)}e.action=null}function Sp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Uo(e,t){return t}function rr(e,t){if(It){var l=Dn.formState;if(l!==null){e:{var u=St;if(It){if(Vn){t:{for(var d=Vn,m=uo;d.nodeType!==8;){if(!m){d=null;break t}if(d=fr(d.nextSibling),d===null){d=null;break t}}m=d.data,d=m===lx||m===G2?d:null}if(d){Vn=fr(d.nextSibling),u=d.data===lx;break e}}xr(u)}u=!1}u&&(t=l[0])}}return l=sa(),l.memoizedState=l.baseState=t,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:t},l.queue=u,l=Rp.bind(null,St,u),u.dispatch=l,u=Ep(!1),m=Od.bind(null,St,!1,u.queue),u=sa(),d={state:t,dispatch:null,action:e,pending:null},u.queue=d,l=gE.bind(null,St,d,m,l),d.dispatch=l,u.memoizedState=e,[t,l,!1]}function Eu(e){var t=sn();return Tp(t,Cn,e)}function Tp(e,t,l){if(t=mu(e,t,Uo)[0],e=mc(lr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var u=gd(t)}catch(S){throw S===Xm?HS:S}else u=t;t=sn();var d=t.queue,m=d.dispatch;return l!==t.memoizedState&&(St.flags|=2048,Hi(fo|vr,{destroy:void 0},Ag.bind(null,d,l),null)),[u,m,e]}function Ag(e,t){e.action=t}function Su(e){var t=sn(),l=Cn;if(l!==null)return Tp(t,l,e);sn(),t=t.memoizedState,l=sn();var u=l.queue.dispatch;return l.memoizedState=e,[t,u,!1]}function Hi(e,t,l,u){return e={tag:e,create:l,deps:u,inst:t,next:null},t=St.updateQueue,t===null&&(t=yd(),St.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(u=l.next,l.next=e,e.next=u,t.lastEffect=e),e}function _p(e){var t=sa();return e={current:e},t.memoizedState=e}function Tu(e,t,l,u){var d=sa();St.flags|=e,d.memoizedState=Hi(fo|t,{destroy:void 0},l,u===void 0?null:u)}function Ea(e,t,l,u){var d=sn();u=u===void 0?null:u;var m=d.memoizedState.inst;Cn!==null&&u!==null&&Sg(u,Cn.memoizedState.deps)?d.memoizedState=Hi(t,m,l,u):(St.flags|=e,d.memoizedState=Hi(fo|t,m,l,u))}function bc(e,t){(St.mode&Zo)!==gt?Tu(276826112,vr,e,t):Tu(8390656,vr,e,t)}function vE(e){St.flags|=4;var t=St.updateQueue;if(t===null)t=yd(),St.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Sd(e){var t=sa(),l={impl:e};return t.memoizedState=l,function(){if((en&Ka)!==cl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return l.impl.apply(void 0,arguments)}}function Ds(e){var t=sn().memoizedState;return vE({ref:t,nextImpl:e}),function(){if((en&Ka)!==cl)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return t.impl.apply(void 0,arguments)}}function vl(e,t){var l=4194308;return(St.mode&Zo)!==gt&&(l|=134217728),Tu(l,Ei,e,t)}function ir(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Vi(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null;var u=4194308;(St.mode&Zo)!==gt&&(u|=134217728),Tu(u,Ei,ir.bind(null,t,e),l)}function ws(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null,Ea(4,Ei,ir.bind(null,t,e),l)}function Op(e,t){return sa().memoizedState=[e,t===void 0?null:t],e}function ii(e,t){var l=sn();t=t===void 0?null:t;var u=l.memoizedState;return t!==null&&Sg(t,u[1])?u[0]:(l.memoizedState=[e,t],e)}function bl(e,t){var l=sa();t=t===void 0?null:t;var u=e();if(Eh){Je(!0);try{e()}finally{Je(!1)}}return l.memoizedState=[u,t],u}function Un(e,t){var l=sn();t=t===void 0?null:t;var u=l.memoizedState;if(t!==null&&Sg(t,u[1]))return u[0];if(u=e(),Eh){Je(!0);try{e()}finally{Je(!1)}}return l.memoizedState=[u,t],u}function Ms(e,t){var l=sa();return fn(l,e,t)}function qi(e,t){var l=sn();return la(l,Cn.memoizedState,e,t)}function Rt(e,t){var l=sn();return Cn===null?fn(l,e,t):la(l,Cn.memoizedState,e,t)}function fn(e,t,l){return l===void 0||(Jc&1073741824)!==0&&(Vt&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Vs(),St.lanes|=e,Cf|=e,l)}function la(e,t,l,u){return mr(l,t)?l:Im.current!==null?(e=fn(e,l,u),mr(e,t)||(Va=!0),e):(Jc&42)===0||(Jc&1073741824)!==0&&(Vt&261930)===0?(Va=!0,e.memoizedState=l):(e=Vs(),St.lanes|=e,Cf|=e,t)}function Ec(){ve.asyncTransitions--}function Sc(e,t,l,u,d){var m=on.p;on.p=m!==0&&m<Ja?m:Ja;var S=ve.T,O={};O._updatedFibers=new Set,ve.T=O,Od(e,!1,t,l);try{var M=d(),z=ve.S;if(z!==null&&z(O,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){ve.asyncTransitions++,M.then(Ec,Ec);var P=mp(M,u);Tc(e,t,P,ll(e))}else Tc(e,t,u,ll(e))}catch(te){Tc(e,t,{then:function(){},status:"rejected",reason:te},ll(e))}finally{on.p=m,S!==null&&O.types!==null&&(S.types!==null&&S.types!==O.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),S.types=O.types),ve.T=S,S===null&&O._updatedFibers&&(e=O._updatedFibers.size,O._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Lo(e,t,l,u){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var d=Td(e).queue;mE(e),Sc(e,d,t,Mh,l===null?E:function(){return Ns(e),l(u)})}function Td(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Mh,baseState:Mh,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lr,lastRenderedState:Mh},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:lr,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ns(e){ve.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Td(e);t.next===null&&(t=e.alternate.memoizedState),Tc(e,t.next.queue,{},ll(e))}function _u(){var e=Ep(!1);return e=Sc.bind(null,St,e.queue,!0,!1),sa().memoizedState=e,[!1,e]}function bE(){var e=mc(lr)[0],t=sn().memoizedState;return[typeof e=="boolean"?e:gd(e),t]}function Gn(){var e=yc(lr)[0],t=sn().memoizedState;return[typeof e=="boolean"?e:gd(e),t]}function Bo(){return ln(z0)}function _d(){var e=sa(),t=Dn.identifierPrefix;if(It){var l=$c,u=Gc;l=(u&~(1<<32-Ia(u)-1)).toString(32)+l,t="_"+t+"R_"+l,l=GS++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=J8++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t}function xp(){return sa().memoizedState=EE.bind(null,St)}function EE(e,t){for(var l=e.return;l!==null;){switch(l.tag){case 24:case 3:var u=ll(l),d=ba(u),m=Ui(l,d,u);m!==null&&(Ni(u,"refresh()",e),vt(m,l,u),wr(m,l,u)),e=hp(),t!=null&&m!==null&&console.error("The seed argument is not enabled outside experimental channels."),d.payload={cache:e};return}l=l.return}}function I_(e,t,l){var u=arguments;typeof u[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()."),u=ll(e);var d={lane:u,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};Na(e)?Jn(t,d):(d=ac(e,t,d,u),d!==null&&(Ni(u,"dispatch()",e),vt(d,e,u),xd(d,t,u)))}function Rp(e,t,l){var u=arguments;typeof u[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()."),u=ll(e),Tc(e,t,l,u)&&Ni(u,"setState()",e)}function Tc(e,t,l,u){var d={lane:u,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Na(e))Jn(t,d);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=t.lastRenderedReducer,m!==null)){var S=ve.H;ve.H=Jo;try{var O=t.lastRenderedState,M=m(O,l);if(d.hasEagerState=!0,d.eagerState=M,mr(M,O))return gs(e,t,d,0),Dn===null&&op(),!1}catch{}finally{ve.H=S}}if(l=ac(e,t,d,u),l!==null)return vt(l,e,u),xd(l,t,u),!0}return!1}function Od(e,t,l,u){if(ve.T===null&&mh===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."),u={lane:2,revertLane:pv(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Na(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=ac(e,l,u,2),t!==null&&(Ni(2,"setOptimistic()",e),vt(t,e,2))}function Na(e){var t=e.alternate;return e===St||t!==null&&t===St}function Jn(e,t){Km=kS=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function xd(e,t,l){if((l&4194048)!==0){var u=t.lanes;u&=e.pendingLanes,l|=u,t.lanes=l,lu(e,l)}}function _c(e){if(e!==null&&typeof e!="function"){var t=String(e);m2.has(t)||(m2.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function js(e,t,l,u){var d=e.memoizedState,m=l(u,d);if(e.mode&Ql){Je(!0);try{m=l(u,d)}finally{Je(!1)}}m===void 0&&(t=V(t)||"Component",f2.has(t)||(f2.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),d=m==null?d:Lt({},d,m),e.memoizedState=d,e.lanes===0&&(e.updateQueue.baseState=d)}function Ap(e,t,l,u,d,m,S){var O=e.stateNode;if(typeof O.shouldComponentUpdate=="function"){if(l=O.shouldComponentUpdate(u,m,S),e.mode&Ql){Je(!0);try{l=O.shouldComponentUpdate(u,m,S)}finally{Je(!1)}}return l===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",V(t)||"Component"),l}return t.prototype&&t.prototype.isPureReactComponent?!ys(l,u)||!ys(d,m):!0}function Yi(e,t,l,u){var d=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,u),t.state!==d&&(e=me(e)||"Component",i2.has(e)||(i2.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),LO.enqueueReplaceState(t,t.state,null))}function ki(e,t){var l=t;if("ref"in t){l={};for(var u in t)u!=="ref"&&(l[u]=t[u])}if(e=e.defaultProps){l===t&&(l=Lt({},l));for(var d in e)l[d]===void 0&&(l[d]=e[d])}return l}function Cp(e){hO(e),console.warn(`%s
209
+
210
+ %s
211
+ `,Wm?"An error occurred in the <"+Wm+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
212
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Dp(e){var t=Wm?"The above error occurred in the <"+Wm+"> component.":"The above error occurred in one of your React components.",l="React will try to recreate this component tree from scratch using the error boundary you provided, "+((BO||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var u=e.environmentName;e=[`%o
213
+
214
+ %s
215
+
216
+ %s
217
+ `,e,t,l].slice(0),typeof e[0]=="string"?e.splice(0,1,K2+" "+e[0],W2,p1+u+p1,P2):e.splice(0,0,K2,W2,p1+u+p1,P2),e.unshift(console),u=yH.apply(console.error,e),u()}else console.error(`%o
218
+
219
+ %s
220
+
221
+ %s
222
+ `,e,t,l)}function Cg(e){hO(e)}function Rd(e,t){try{Wm=t.source?me(t.source):null,BO=null;var l=t.value;if(ve.actQueue!==null)ve.thrownErrors.push(l);else{var u=e.onUncaughtError;u(l,{componentStack:t.stack})}}catch(d){setTimeout(function(){throw d})}}function Dg(e,t,l){try{Wm=l.source?me(l.source):null,BO=me(t);var u=e.onCaughtError;u(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function wp(e,t,l){return l=ba(l),l.tag=wO,l.payload={element:null},l.callback=function(){Le(t.source,Rd,e,t)},l}function Mp(e){return e=ba(e),e.tag=wO,e}function Np(e,t,l,u){var d=l.type.getDerivedStateFromError;if(typeof d=="function"){var m=u.value;e.payload=function(){return d(m)},e.callback=function(){lc(l),Le(u.source,Dg,t,l,u)}}var S=l.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(e.callback=function(){lc(l),Le(u.source,Dg,t,l,u),typeof d!="function"&&(wf===null?wf=new Set([this]):wf.add(this)),Q8(this,u),typeof d=="function"||(l.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.",me(l)||"Unknown")})}function wg(e,t,l,u,d){if(l.flags|=32768,to&&$s(e,d),u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=l.alternate,t!==null&&ti(t,l,d,!0),It&&(Vu=!0),l=bi.current,l!==null){switch(l.tag){case 31:case 13:return so===null?Ys():l.alternate===null&&Kn===Pc&&(Kn=XS),l.flags&=-257,l.flags|=65536,l.lanes=d,u===VS?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([u]):t.add(u),Wp(e,u,d)),!1;case 22:return l.flags|=65536,u===VS?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([u]):l.add(u)),Wp(e,u,d)),!1}throw Error("Unexpected Suspense handler tag ("+l.tag+"). This is a bug in React.")}return Wp(e,u,d),Ys(),!1}if(It)return Vu=!0,t=bi.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=d,u!==bO&&rd(hl(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:u}),l))):(u!==bO&&rd(hl(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:u}),l)),e=e.current.alternate,e.flags|=65536,d&=-d,e.lanes|=d,u=hl(u,l),d=wp(e.stateNode,u,d),fd(e,d),Kn!==Rf&&(Kn=Sh)),!1;var m=hl(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:u}),l);if(x0===null?x0=[m]:x0.push(m),Kn!==Rf&&(Kn=Sh),t===null)return!0;u=hl(u,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=d&-d,l.lanes|=e,e=wp(l.stateNode,u,e),fd(l,e),!1;case 1:if(t=l.type,m=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(wf===null||!wf.has(m))))return l.flags|=65536,d&=-d,l.lanes|=d,d=Mp(d),Np(d,e,l,u),fd(l,d),!1}l=l.return}while(l!==null);return!1}function ja(e,t,l,u){t.child=e===null?Jw(t,null,l,u):bh(t,e.child,l,u)}function SE(e,t,l,u,d){l=l.render;var m=t.ref;if("ref"in u){var S={};for(var O in u)O!=="ref"&&(S[O]=u[O])}else S=u;return du(t),u=Tg(e,t,l,S,m,d),O=pc(),e!==null&&!Va?(md(e,t,d),oi(e,t,d)):(It&&O&&sp(t),t.flags|=1,ja(e,t,u,d),t.child)}function Mg(e,t,l,u,d){if(e===null){var m=l.type;return typeof m=="function"&&!cg(m)&&m.defaultProps===void 0&&l.compare===null?(l=ou(m),t.tag=15,t.type=l,zs(t,m),Ng(e,t,l,u,d)):(e=rc(l.type,null,u,t,t.mode,d),e.ref=t.ref,e.return=t,t.child=e)}if(m=e.child,!Bp(e,d)){var S=m.memoizedProps;if(l=l.compare,l=l!==null?l:ys,l(S,u)&&e.ref===t.ref)return oi(e,t,d)}return t.flags|=1,e=Mi(m,u),e.ref=t.ref,e.return=t,t.child=e}function Ng(e,t,l,u,d){if(e!==null){var m=e.memoizedProps;if(ys(m,u)&&e.ref===t.ref&&t.type===e.type)if(Va=!1,t.pendingProps=u=m,Bp(e,d))(e.flags&131072)!==0&&(Va=!0);else return t.lanes=e.lanes,oi(e,t,d)}return Lg(e,t,l,u,d)}function jg(e,t,l,u){var d=u.children,m=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:e0,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((t.flags&128)!==0){if(m=m!==null?m.baseLanes|l:l,e!==null){for(u=t.child=e.child,d=0;u!==null;)d=d|u.lanes|u.childLanes,u=u.sibling;u=d&~m}else u=0,t.child=null;return zg(e,t,m,l,u)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ts(t,m!==null?m.cachePool:null),m!==null?vp(t,m):Mo(t),bp(t);else return u=t.lanes=536870912,zg(e,t,m!==null?m.baseLanes|l:l,l,u)}else m!==null?(Ts(t,m.cachePool),vp(t,m),Bi(t),t.memoizedState=null):(e!==null&&Ts(t,null),Mo(t),Bi(t));return ja(e,t,d,l),t.child}function Oc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:e0,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function zg(e,t,l,u,d){var m=wo();return m=m===null?null:{parent:La._currentValue,pool:m},t.memoizedState={baseLanes:l,cachePool:m},e!==null&&Ts(t,null),Mo(t),bp(t),e!==null&&ti(e,t,u,!0),t.childLanes=d,null}function Ad(e,t){var l=t.hidden;return l!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
223
+ - <Activity %s>
224
+ + <Activity %s>`,l===!0?"hidden":l===!1?"hidden={false}":"hidden={...}",l?'mode="hidden"':'mode="visible"'),t=Dd({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Ug(e,t,l){return bh(t,e.child,null,l),e=Ad(t,t.pendingProps),e.flags|=2,Ma(t),t.memoizedState=null,e}function TE(e,t,l){var u=t.pendingProps,d=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(It){if(u.mode==="hidden")return e=Ad(t,u),t.lanes=536870912,Oc(null,e);if(ri(t),(e=Vn)?(l=hn(e,uo),l=l!==null&&l.data===Ah?l:null,l!==null&&(u={dehydrated:l,treeContext:dE(),retryLane:536870912,hydrationErrors:null},t.memoizedState=u,u=fg(l),u.return=t,t.child=u,Cl=t,Vn=null)):l=null,l===null)throw al(t,e),xr(t);return t.lanes=536870912,null}return Ad(t,u)}var m=e.memoizedState;if(m!==null){var S=m.dehydrated;if(ri(t),d)if(t.flags&256)t.flags&=-257,t=Ug(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(pE(),(l&536870912)!==0&&qs(t),Va||ti(e,t,l,!1),d=(l&e.childLanes)!==0,Va||d){if(u=Dn,u!==null&&(S=_o(u,l),S!==0&&S!==m.retryLane))throw m.retryLane=S,nl(e,S),vt(u,e,S),HO;Ys(),t=Ug(e,t,l)}else e=m.treeContext,Vn=fr(S.nextSibling),Cl=t,It=!0,Ef=null,Vu=!1,vi=null,uo=!1,e!==null&&hE(t,e),t=Ad(t,u),t.flags|=4096;return t}return m=e.child,u={mode:u.mode,children:u.children},(l&536870912)!==0&&(l&e.lanes)!==0&&qs(t),e=Mi(m,u),e.ref=t.ref,t.child=e,e.return=t,e}function Cd(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Lg(e,t,l,u,d){if(l.prototype&&typeof l.prototype.render=="function"){var m=V(l)||"Unknown";y2[m]||(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.",m,m),y2[m]=!0)}return t.mode&Ql&&Io.recordLegacyContextWarning(t,null),e===null&&(zs(t,t.type),l.contextTypes&&(m=V(l)||"Unknown",v2[m]||(v2[m]=!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)",m)))),du(t),l=Tg(e,t,l,u,void 0,d),u=pc(),e!==null&&!Va?(md(e,t,d),oi(e,t,d)):(It&&u&&sp(t),t.flags|=1,ja(e,t,l,d),t.child)}function Bg(e,t,l,u,d,m){return du(t),Kc=-1,v0=e!==null&&e.type!==t.type,t.updateQueue=null,l=hd(t,u,l,d),aa(e,t),u=pc(),e!==null&&!Va?(md(e,t,m),oi(e,t,m)):(It&&u&&sp(t),t.flags|=1,ja(e,t,l,m),t.child)}function xc(e,t,l,u,d){switch(y(t)){case!1:var m=t.stateNode,S=new t.type(t.memoizedProps,m.context).state;m.updater.enqueueSetState(m,S,null);break;case!0:t.flags|=128,t.flags|=65536,m=Error("Simulated error coming from DevTools");var O=d&-d;if(t.lanes|=O,S=Dn,S===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");O=Mp(O),Np(O,S,t,hl(m,t)),fd(t,O)}if(du(t),t.stateNode===null){if(S=bf,m=l.contextType,"contextType"in l&&m!==null&&(m===void 0||m.$$typeof!==mi)&&!p2.has(l)&&(p2.add(l),O=m===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 m!="object"?" However, it is set to a "+typeof m+".":m.$$typeof===Em?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(m).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",V(l)||"Component",O)),typeof m=="object"&&m!==null&&(S=ln(m)),m=new l(u,S),t.mode&Ql){Je(!0);try{m=new l(u,S)}finally{Je(!1)}}if(S=t.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=LO,t.stateNode=m,m._reactInternals=t,m._reactInternalInstance=r2,typeof l.getDerivedStateFromProps=="function"&&S===null&&(S=V(l)||"Component",o2.has(S)||(o2.add(S),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.",S,m.state===null?"null":"undefined",S))),typeof l.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"){var M=O=S=null;if(typeof m.componentWillMount=="function"&&m.componentWillMount.__suppressDeprecationWarning!==!0?S="componentWillMount":typeof m.UNSAFE_componentWillMount=="function"&&(S="UNSAFE_componentWillMount"),typeof m.componentWillReceiveProps=="function"&&m.componentWillReceiveProps.__suppressDeprecationWarning!==!0?O="componentWillReceiveProps":typeof m.UNSAFE_componentWillReceiveProps=="function"&&(O="UNSAFE_componentWillReceiveProps"),typeof m.componentWillUpdate=="function"&&m.componentWillUpdate.__suppressDeprecationWarning!==!0?M="componentWillUpdate":typeof m.UNSAFE_componentWillUpdate=="function"&&(M="UNSAFE_componentWillUpdate"),S!==null||O!==null||M!==null){m=V(l)||"Component";var z=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";c2.has(m)||(c2.add(m),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
225
+
226
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
227
+
228
+ The above lifecycles should be removed. Learn more about this warning here:
229
+ https://react.dev/link/unsafe-component-lifecycles`,m,z,S!==null?`
230
+ `+S:"",O!==null?`
231
+ `+O:"",M!==null?`
232
+ `+M:""))}}m=t.stateNode,S=V(l)||"Component",m.render||(l.prototype&&typeof l.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",S):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",S)),!m.getInitialState||m.getInitialState.isReactClassApproved||m.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?",S),m.getDefaultProps&&!m.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.",S),m.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",S),l.childContextTypes&&!h2.has(l)&&(h2.add(l),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",S)),l.contextTypes&&!d2.has(l)&&(d2.add(l),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)",S)),typeof m.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.",S),l.prototype&&l.prototype.isPureReactComponent&&typeof m.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.",V(l)||"A pure component"),typeof m.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",S),typeof m.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().",S),typeof m.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",S),typeof m.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",S),O=m.props!==u,m.props!==void 0&&O&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S),m.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.",S,S),typeof m.getSnapshotBeforeUpdate!="function"||typeof m.componentDidUpdate=="function"||u2.has(l)||(u2.add(l),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",V(l))),typeof m.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof m.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof l.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",S),(O=m.state)&&(typeof O!="object"||da(O))&&console.error("%s.state: must be set to an object or null",S),typeof m.getChildContext=="function"&&typeof l.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",S),m=t.stateNode,m.props=u,m.state=t.memoizedState,m.refs={},Qt(t),S=l.contextType,m.context=typeof S=="object"&&S!==null?ln(S):bf,m.state===u&&(S=V(l)||"Component",s2.has(S)||(s2.add(S),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.",S))),t.mode&Ql&&Io.recordLegacyContextWarning(t,m),Io.recordUnsafeLifecycleWarnings(t,m),m.state=t.memoizedState,S=l.getDerivedStateFromProps,typeof S=="function"&&(js(t,l,S,u),m.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(S=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),S!==m.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",me(t)||"Component"),LO.enqueueReplaceState(m,m.state,null)),Li(t,u,m,d),Os(),m.state=t.memoizedState),typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Zo)!==gt&&(t.flags|=134217728),m=!0}else if(e===null){m=t.stateNode;var P=t.memoizedProps;O=ki(l,P),m.props=O;var te=m.context;M=l.contextType,S=bf,typeof M=="object"&&M!==null&&(S=ln(M)),z=l.getDerivedStateFromProps,M=typeof z=="function"||typeof m.getSnapshotBeforeUpdate=="function",P=t.pendingProps!==P,M||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(P||te!==S)&&Yi(t,m,u,S),xf=!1;var Q=t.memoizedState;m.state=Q,Li(t,u,m,d),Os(),te=t.memoizedState,P||Q!==te||xf?(typeof z=="function"&&(js(t,l,z,u),te=t.memoizedState),(O=xf||Ap(t,l,O,u,Q,te,S))?(M||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Zo)!==gt&&(t.flags|=134217728)):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Zo)!==gt&&(t.flags|=134217728),t.memoizedProps=u,t.memoizedState=te),m.props=u,m.state=te,m.context=S,m=O):(typeof m.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Zo)!==gt&&(t.flags|=134217728),m=!1)}else{m=t.stateNode,zi(e,t),S=t.memoizedProps,M=ki(l,S),m.props=M,z=t.pendingProps,Q=m.context,te=l.contextType,O=bf,typeof te=="object"&&te!==null&&(O=ln(te)),P=l.getDerivedStateFromProps,(te=typeof P=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(S!==z||Q!==O)&&Yi(t,m,u,O),xf=!1,Q=t.memoizedState,m.state=Q,Li(t,u,m,d),Os();var pe=t.memoizedState;S!==z||Q!==pe||xf||e!==null&&e.dependencies!==null&&Es(e.dependencies)?(typeof P=="function"&&(js(t,l,P,u),pe=t.memoizedState),(M=xf||Ap(t,l,M,u,Q,pe,O)||e!==null&&e.dependencies!==null&&Es(e.dependencies))?(te||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(u,pe,O),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(u,pe,O)),typeof m.componentDidUpdate=="function"&&(t.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof m.componentDidUpdate!="function"||S===e.memoizedProps&&Q===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&Q===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=pe),m.props=u,m.state=pe,m.context=O,m=M):(typeof m.componentDidUpdate!="function"||S===e.memoizedProps&&Q===e.memoizedState||(t.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&Q===e.memoizedState||(t.flags|=1024),m=!1)}if(O=m,Cd(e,t),S=(t.flags&128)!==0,O||S){if(O=t.stateNode,Ve(t),S&&typeof l.getDerivedStateFromError!="function")l=null,yr=-1;else if(l=Uw(O),t.mode&Ql){Je(!0);try{Uw(O)}finally{Je(!1)}}t.flags|=1,e!==null&&S?(t.child=bh(t,e.child,null,d),t.child=bh(t,null,l,d)):ja(e,t,l,d),t.memoizedState=O.state,e=t.child}else e=oi(e,t,d);return d=t.stateNode,m&&d.props!==u&&(Pm||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",me(t)||"a component"),Pm=!0),e}function Hg(e,t,l,u){return su(),t.flags|=256,ja(e,t,l,u),t.child}function zs(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
233
+ %s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=V(t)||"Unknown",b2[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),b2[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=V(t)||"Unknown",g2[t]||(console.error("%s: Function components do not support contextType.",t),g2[t]=!0))}function Us(e){return{baseLanes:e,cachePool:gg()}}function jp(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Hr),e}function zp(e,t,l){var u,d=t.pendingProps;p(t)&&(t.flags|=128);var m=!1,S=(t.flags&128)!==0;if((u=S)||(u=e!==null&&e.memoizedState===null?!1:(Oa.current&y0)!==0),u&&(m=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(It){if(m?gl(t):Bi(t),(e=Vn)?(l=hn(e,uo),l=l!==null&&l.data!==Ah?l:null,l!==null&&(u={dehydrated:l,treeContext:dE(),retryLane:536870912,hydrationErrors:null},t.memoizedState=u,u=fg(l),u.return=t,t.child=u,Cl=t,Vn=null)):l=null,l===null)throw al(t,e),xr(t);return gv(l)?t.lanes=32:t.lanes=536870912,null}var O=d.children;if(d=d.fallback,m){Bi(t);var M=t.mode;return O=Dd({mode:"hidden",children:O},M),d=ic(d,M,l,null),O.return=t,d.return=t,O.sibling=d,t.child=O,d=t.child,d.memoizedState=Us(l),d.childLanes=jp(e,u,l),t.memoizedState=VO,Oc(null,d)}return gl(t),Vg(t,O)}var z=e.memoizedState;if(z!==null){var P=z.dehydrated;if(P!==null){if(S)t.flags&256?(gl(t),t.flags&=-257,t=Up(e,t,l)):t.memoizedState!==null?(Bi(t),t.child=e.child,t.flags|=128,t=null):(Bi(t),O=d.fallback,M=t.mode,d=Dd({mode:"visible",children:d.children},M),O=ic(O,M,l,null),O.flags|=2,d.return=t,O.return=t,d.sibling=O,t.child=d,bh(t,e.child,null,l),d=t.child,d.memoizedState=Us(l),d.childLanes=jp(e,u,l),t.memoizedState=VO,t=Oc(null,d));else if(gl(t),pE(),(l&536870912)!==0&&qs(t),gv(P)){if(u=P.nextSibling&&P.nextSibling.dataset,u){O=u.dgst;var te=u.msg;M=u.stck;var Q=u.cstck}m=te,u=O,d=M,P=Q,O=m,M=P,O=Error(O||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),O.stack=d||"",O.digest=u,u=M===void 0?null:M,d={value:O,source:null,stack:u},typeof u=="string"&&vO.set(O,d),rd(d),t=Up(e,t,l)}else if(Va||ti(e,t,l,!1),u=(l&e.childLanes)!==0,Va||u){if(u=Dn,u!==null&&(d=_o(u,l),d!==0&&d!==z.retryLane))throw z.retryLane=d,nl(e,d),vt(u,e,d),HO;Zd(P)||Ys(),t=Up(e,t,l)}else Zd(P)?(t.flags|=192,t.child=e.child,t=null):(e=z.treeContext,Vn=fr(P.nextSibling),Cl=t,It=!0,Ef=null,Vu=!1,vi=null,uo=!1,e!==null&&hE(t,e),t=Vg(t,d.children),t.flags|=4096);return t}}return m?(Bi(t),O=d.fallback,M=t.mode,Q=e.child,P=Q.sibling,d=Mi(Q,{mode:"hidden",children:d.children}),d.subtreeFlags=Q.subtreeFlags&65011712,P!==null?O=Mi(P,O):(O=ic(O,M,l,null),O.flags|=2),O.return=t,d.return=t,d.sibling=O,t.child=d,Oc(null,d),d=t.child,O=e.child.memoizedState,O===null?O=Us(l):(M=O.cachePool,M!==null?(Q=La._currentValue,M=M.parent!==Q?{parent:Q,pool:Q}:M):M=gg(),O={baseLanes:O.baseLanes|l,cachePool:M}),d.memoizedState=O,d.childLanes=jp(e,u,l),t.memoizedState=VO,Oc(e.child,d)):(z!==null&&(l&62914560)===l&&(l&e.lanes)!==0&&qs(t),gl(t),l=e.child,e=l.sibling,l=Mi(l,{mode:"visible",children:d.children}),l.return=t,l.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=l,t.memoizedState=null,l)}function Vg(e,t){return t=Dd({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Dd(e,t){return e=A(22,e,null,t),e.lanes=0,e}function Up(e,t,l){return bh(t,e.child,null,l),e=Vg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function qg(e,t,l){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),dp(e.return,t,l)}function Lp(e,t,l,u,d,m){var S=e.memoizedState;S===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:l,tailMode:d,treeForkCount:m}:(S.isBackwards=t,S.rendering=null,S.renderingStartTime=0,S.last=u,S.tail=l,S.tailMode=d,S.treeForkCount=m)}function Yg(e,t,l){var u=t.pendingProps,d=u.revealOrder,m=u.tail,S=u.children,O=Oa.current;if((u=(O&y0)!==0)?(O=O&Jm|y0,t.flags|=128):O&=Jm,Ye(Oa,O,t),O=d??"null",d!=="forwards"&&d!=="unstable_legacy-backwards"&&d!=="together"&&d!=="independent"&&!E2[O])if(E2[O]=!0,d==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(d==="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 d=="string")switch(d.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.',d,d.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.',d,d.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',d);O=m??"null",QS[O]||(m==null?(d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&(QS[O]=!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".')):m!=="visible"&&m!=="collapsed"&&m!=="hidden"?(QS[O]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',m)):d!=="forwards"&&d!=="backwards"&&d!=="unstable_legacy-backwards"&&(QS[O]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',m)));e:if((d==="forwards"||d==="backwards"||d==="unstable_legacy-backwards")&&S!==void 0&&S!==null&&S!==!1)if(da(S)){for(O=0;O<S.length;O++)if(!xn(S[O],O))break e}else if(O=ae(S),typeof O=="function"){if(O=O.call(S))for(var M=O.next(),z=0;!M.done;M=O.next()){if(!xn(M.value,z))break e;z++}}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?',d);if(ja(e,t,S,l),It?(cu(),S=t0):S=0,!u&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&qg(e,l,t);else if(e.tag===19)qg(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(d){case"forwards":for(l=t.child,d=null;l!==null;)e=l.alternate,e!==null&&hc(e)===null&&(d=l),l=l.sibling;l=d,l===null?(d=t.child,t.child=null):(d=l.sibling,l.sibling=null),Lp(t,!1,d,l,m,S);break;case"backwards":case"unstable_legacy-backwards":for(l=null,d=t.child,t.child=null;d!==null;){if(e=d.alternate,e!==null&&hc(e)===null){t.child=d;break}e=d.sibling,d.sibling=l,l=d,d=e}Lp(t,!0,l,null,m,S);break;case"together":Lp(t,!1,null,null,void 0,S);break;default:t.memoizedState=null}return t.child}function oi(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),yr=-1,Cf|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(ti(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,l=Mi(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Mi(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Bp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Es(e)))}function _E(e,t,l){switch(t.tag){case 3:et(t,t.stateNode.containerInfo),Rr(t,La,e.memoizedState.cache),su();break;case 27:case 5:Ee(t);break;case 4:et(t,t.stateNode.containerInfo);break;case 10:Rr(t,t.type,t.memoizedProps.value);break;case 12:(l&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var u=t.stateNode;u.effectDuration=-0,u.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,ri(t),null;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(gl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?zp(e,t,l):(gl(t),e=oi(e,t,l),e!==null?e.sibling:null);gl(t);break;case 19:var d=(e.flags&128)!==0;if(u=(l&t.childLanes)!==0,u||(ti(e,t,l,!1),u=(l&t.childLanes)!==0),d){if(u)return Yg(e,t,l);t.flags|=128}if(d=t.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Ye(Oa,Oa.current,t),u)break;return null;case 22:return t.lanes=0,jg(e,t,l,t.pendingProps);case 24:Rr(t,La,e.memoizedState.cache)}return oi(e,t,l)}function wd(e,t,l){if(t._debugNeedsRemount&&e!==null){l=rc(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),l._debugStack=t._debugStack,l._debugTask=t._debugTask;var u=t.return;if(u===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,l.index=t.index,l.sibling=t.sibling,l.return=t.return,l.ref=t.ref,l._debugInfo=t._debugInfo,t===u.child)u.child=l;else{var d=u.child;if(d===null)throw Error("Expected parent to have a child.");for(;d.sibling!==t;)if(d=d.sibling,d===null)throw Error("Expected to find the previous sibling.");d.sibling=l}return t=u.deletions,t===null?(u.deletions=[e],u.flags|=16):t.push(e),l.flags|=2,l}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Va=!0;else{if(!Bp(e,l)&&(t.flags&128)===0)return Va=!1,_E(e,t,l);Va=(e.flags&131072)!==0}else Va=!1,(u=It)&&(cu(),u=(t.flags&1048576)!==0),u&&(u=t.index,cu(),dg(t,t0,u));switch(t.lanes=0,t.tag){case 16:e:if(u=t.pendingProps,e=nr(t.elementType),t.type=e,typeof e=="function")cg(e)?(u=ki(e,u),t.tag=1,t.type=e=ou(e),t=xc(null,t,e,u,l)):(t.tag=0,zs(t,e),t.type=e=ou(e),t=Lg(null,t,e,u,l));else{if(e!=null){if(d=e.$$typeof,d===lf){t.tag=11,t.type=e=up(e),t=SE(null,t,e,u,l);break e}else if(d===ah){t.tag=14,t=Mg(null,t,e,u,l);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===rl&&(t=" Did you wrap a component in React.lazy() more than once?"),l=V(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+l+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Lg(e,t,t.type,t.pendingProps,l);case 1:return u=t.type,d=ki(u,t.pendingProps),xc(e,t,u,d,l);case 3:e:{if(et(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");u=t.pendingProps;var m=t.memoizedState;d=m.element,zi(e,t),Li(t,u,null,l);var S=t.memoizedState;if(u=S.cache,Rr(t,La,u),u!==m.cache&&Ao(t,[La],l,!0),Os(),u=S.element,m.isDehydrated)if(m={element:u,isDehydrated:!1,cache:S.cache},t.updateQueue.baseState=m,t.memoizedState=m,t.flags&256){t=Hg(e,t,u,l);break e}else if(u!==d){d=hl(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),rd(d),t=Hg(e,t,u,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Vn=fr(e.firstChild),Cl=t,It=!0,Ef=null,Vu=!1,vi=null,uo=!0,l=Jw(t,null,u,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(su(),u===d){t=oi(e,t,l);break e}ja(e,t,u,l)}t=t.child}return t;case 26:return Cd(e,t),e===null?(l=Sv(t.type,null,t.pendingProps,null))?t.memoizedState=l:It||(l=t.type,e=t.pendingProps,u=$e(dr.current),u=Qd(u).createElement(l),u[Bn]=t,u[Al]=e,Ln(u,l,e),tt(u),t.stateNode=u):t.memoizedState=Sv(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ee(t),e===null&&It&&(u=$e(dr.current),d=ce(),u=t.stateNode=Go(t.type,t.pendingProps,u,d,!1),Vu||(d=kl(u,t.type,t.pendingProps,d),d!==null&&(oc(t,0).serverProps=d)),Cl=t,uo=!0,d=Vn,Nu(t.type)?(ux=d,Vn=fr(u.firstChild)):Vn=d),ja(e,t,t.pendingProps.children,l),Cd(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&It&&(m=ce(),u=Jf(t.type,m.ancestorInfo),d=Vn,(S=!d)||(S=PE(d,t.type,t.pendingProps,uo),S!==null?(t.stateNode=S,Vu||(m=kl(S,t.type,t.pendingProps,m),m!==null&&(oc(t,0).serverProps=m)),Cl=t,Vn=fr(S.firstChild),uo=!1,m=!0):m=!1,S=!m),S&&(u&&al(t,d),xr(t))),Ee(t),d=t.type,m=t.pendingProps,S=e!==null?e.memoizedProps:null,u=m.children,Js(d,m)?u=null:S!==null&&Js(d,S)&&(t.flags|=32),t.memoizedState!==null&&(d=Tg(e,t,pd,null,null,l),z0._currentValue=d),Cd(e,t),ja(e,t,u,l),t.child;case 6:return e===null&&It&&(l=t.pendingProps,e=ce(),u=e.ancestorInfo.current,l=u!=null?Ff(l,u.tag,e.ancestorInfo.implicitRootScope):!0,e=Vn,(u=!e)||(u=eS(e,t.pendingProps,uo),u!==null?(t.stateNode=u,Cl=t,Vn=null,u=!0):u=!1,u=!u),u&&(l&&al(t,e),xr(t))),null;case 13:return zp(e,t,l);case 4:return et(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=bh(t,null,u,l):ja(e,t,u,l),t.child;case 11:return SE(e,t,t.type,t.pendingProps,l);case 7:return ja(e,t,t.pendingProps,l),t.child;case 8:return ja(e,t,t.pendingProps.children,l),t.child;case 12:return t.flags|=4,t.flags|=2048,u=t.stateNode,u.effectDuration=-0,u.passiveEffectDuration=-0,ja(e,t,t.pendingProps.children,l),t.child;case 10:return u=t.type,d=t.pendingProps,m=d.value,"value"in d||S2||(S2=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Rr(t,u,m),ja(e,t,d.children,l),t.child;case 9:return d=t.type._context,u=t.pendingProps.children,typeof u!="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."),du(t),d=ln(d),u=RO(u,d,void 0),t.flags|=1,ja(e,t,u,l),t.child;case 14:return Mg(e,t,t.type,t.pendingProps,l);case 15:return Ng(e,t,t.type,t.pendingProps,l);case 19:return Yg(e,t,l);case 31:return TE(e,t,l);case 22:return jg(e,t,l,t.pendingProps);case 24:return du(t),u=ln(La),e===null?(d=wo(),d===null&&(d=Dn,m=hp(),d.pooledCache=m,cc(m),m!==null&&(d.pooledCacheLanes|=l),d=m),t.memoizedState={parent:u,cache:d},Qt(t),Rr(t,La,d)):((e.lanes&l)!==0&&(zi(e,t),Li(t,null,null,l),Os()),d=e.memoizedState,m=t.memoizedState,d.parent!==u?(d={parent:u,cache:u},t.memoizedState=d,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=d),Rr(t,La,u)):(u=m.cache,Rr(t,La,u),u!==d.cache&&Ao(t,[La],l,!0))),ja(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Gi(e){e.flags|=4}function Hp(e,t,l,u,d){if((t=(e.mode&q8)!==gt)&&(t=!1),t){if(e.flags|=16777216,(d&335544128)===d)if(e.stateNode.complete)e.flags|=8192;else if(rv())e.flags|=8192;else throw vh=VS,CO}else e.flags&=-16777217}function OE(e,t){if(t.type!=="stylesheet"||(t.state.loading&po)!==wh)e.flags&=-16777217;else if(e.flags|=16777216,!$t(t))if(rv())e.flags|=8192;else throw vh=VS,CO}function Ls(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?xt():536870912,e.lanes|=t,Oh|=t)}function Bs(e,t){if(!It)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function gn(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,u=0;if(t)if((e.mode&Bt)!==gt){for(var d=e.selfBaseDuration,m=e.child;m!==null;)l|=m.lanes|m.childLanes,u|=m.subtreeFlags&65011712,u|=m.flags&65011712,d+=m.treeBaseDuration,m=m.sibling;e.treeBaseDuration=d}else for(d=e.child;d!==null;)l|=d.lanes|d.childLanes,u|=d.subtreeFlags&65011712,u|=d.flags&65011712,d.return=e,d=d.sibling;else if((e.mode&Bt)!==gt){d=e.actualDuration,m=e.selfBaseDuration;for(var S=e.child;S!==null;)l|=S.lanes|S.childLanes,u|=S.subtreeFlags,u|=S.flags,d+=S.actualDuration,m+=S.treeBaseDuration,S=S.sibling;e.actualDuration=d,e.treeBaseDuration=m}else for(d=e.child;d!==null;)l|=d.lanes|d.childLanes,u|=d.subtreeFlags,u|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=u,e.childLanes=l,t}function kg(e,t,l){var u=t.pendingProps;switch(fp(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gn(t),null;case 1:return gn(t),null;case 3:return l=t.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),ei(La,t),k(t),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(uc(t)?(fu(),Gi(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ld())),gn(t),null;case 26:var d=t.type,m=t.memoizedState;return e===null?(Gi(t),m!==null?(gn(t),OE(t,m)):(gn(t),Hp(t,d,null,u,l))):m?m!==e.memoizedState?(Gi(t),gn(t),OE(t,m)):(gn(t),t.flags&=-16777217):(e=e.memoizedProps,e!==u&&Gi(t),gn(t),Hp(t,d,e,u,l)),null;case 27:if(ze(t),l=$e(dr.current),d=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Gi(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return gn(t),null}e=ce(),uc(t)?hg(t):(e=Go(d,u,l,e,!0),t.stateNode=e,Gi(t))}return gn(t),null;case 5:if(ze(t),d=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==u&&Gi(t);else{if(!u){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return gn(t),null}var S=ce();if(uc(t))hg(t);else{switch(m=$e(dr.current),Jf(d,S.ancestorInfo),S=S.context,m=Qd(m),S){case oy:m=m.createElementNS(jt,d);break;case f1:m=m.createElementNS(Ot,d);break;default:switch(d){case"svg":m=m.createElementNS(jt,d);break;case"math":m=m.createElementNS(Ot,d);break;case"script":m=m.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof u.is=="string"?m.createElement("select",{is:u.is}):m.createElement("select"),u.multiple?m.multiple=!0:u.size&&(m.size=u.size);break;default:m=typeof u.is=="string"?m.createElement(d,{is:u.is}):m.createElement(d),d.indexOf("-")===-1&&(d!==d.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",d),Object.prototype.toString.call(m)!=="[object HTMLUnknownElement]"||hr.call(Q2,d)||(Q2[d]=!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.",d)))}}m[Bn]=t,m[Al]=u;e:for(S=t.child;S!==null;){if(S.tag===5||S.tag===6)m.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===t)break e;for(;S.sibling===null;){if(S.return===null||S.return===t)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}t.stateNode=m;e:switch(Ln(m,d,u),d){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&Gi(t)}}return gn(t),Hp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==u&&Gi(t);else{if(typeof u!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=$e(dr.current),l=ce(),uc(t)){if(e=t.stateNode,l=t.memoizedProps,d=!Vu,u=null,m=Cl,m!==null)switch(m.tag){case 3:d&&(d=aS(e,l,u),d!==null&&(oc(t,0).serverProps=d));break;case 27:case 5:u=m.memoizedProps,d&&(d=aS(e,l,u),d!==null&&(oc(t,0).serverProps=d))}e[Bn]=t,e=!!(e.nodeValue===l||u!==null&&u.suppressHydrationWarning===!0||mv(e.nodeValue,l)),e||xr(t,!0)}else d=l.ancestorInfo.current,d!=null&&Ff(u,d.tag,l.ancestorInfo.implicitRootScope),e=Qd(e).createTextNode(u),e[Bn]=t,t.stateNode=e}return gn(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(u=uc(t),l!==null){if(e===null){if(!u)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");e[Bn]=t,gn(t),(t.mode&Bt)!==gt&&l!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else fu(),su(),(t.flags&128)===0&&(l=t.memoizedState=null),t.flags|=4,gn(t),(t.mode&Bt)!==gt&&l!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else l=ld(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(Ma(t),t):(Ma(t),null);if((t.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return gn(t),null;case 13:if(u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(d=u,m=uc(t),d!==null&&d.dehydrated!==null){if(e===null){if(!m)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(m=t.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");m[Bn]=t,gn(t),(t.mode&Bt)!==gt&&d!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration))}else fu(),su(),(t.flags&128)===0&&(d=t.memoizedState=null),t.flags|=4,gn(t),(t.mode&Bt)!==gt&&d!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration));d=!1}else d=ld(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=d),d=!0;if(!d)return t.flags&256?(Ma(t),t):(Ma(t),null)}return Ma(t),(t.flags&128)!==0?(t.lanes=l,(t.mode&Bt)!==gt&&fc(t),t):(l=u!==null,e=e!==null&&e.memoizedState!==null,l&&(u=t.child,d=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(d=u.alternate.memoizedState.cachePool.pool),m=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(m=u.memoizedState.cachePool.pool),m!==d&&(u.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),Ls(t,t.updateQueue),gn(t),(t.mode&Bt)!==gt&&l&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return k(t),e===null&&wu(t.stateNode.containerInfo),gn(t),null;case 10:return ei(t.type,t),gn(t),null;case 19:if(xe(Oa,t),u=t.memoizedState,u===null)return gn(t),null;if(d=(t.flags&128)!==0,m=u.rendering,m===null)if(d)Bs(u,!1);else{if(Kn!==Pc||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(m=hc(e),m!==null){for(t.flags|=128,Bs(u,!1),e=m.updateQueue,t.updateQueue=e,Ls(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)sg(l,e),l=l.sibling;return Ye(Oa,Oa.current&Jm|y0,t),It&&Pr(t,u.treeForkCount),t.child}e=e.sibling}u.tail!==null&&Ua()>WS&&(t.flags|=128,d=!0,Bs(u,!1),t.lanes=4194304)}else{if(!d)if(e=hc(m),e!==null){if(t.flags|=128,d=!0,e=e.updateQueue,t.updateQueue=e,Ls(t,e),Bs(u,!0),u.tail===null&&u.tailMode==="hidden"&&!m.alternate&&!It)return gn(t),null}else 2*Ua()-u.renderingStartTime>WS&&l!==536870912&&(t.flags|=128,d=!0,Bs(u,!1),t.lanes=4194304);u.isBackwards?(m.sibling=t.child,t.child=m):(e=u.last,e!==null?e.sibling=m:t.child=m,u.last=m)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=Ua(),e.sibling=null,l=Oa.current,l=d?l&Jm|y0:l&Jm,Ye(Oa,l,t),It&&Pr(t,u.treeForkCount),e):(gn(t),null);case 22:case 23:return Ma(t),li(t),u=t.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(t.flags|=8192):u&&(t.flags|=8192),u?(l&536870912)!==0&&(t.flags&128)===0&&(gn(t),t.subtreeFlags&6&&(t.flags|=8192)):gn(t),l=t.updateQueue,l!==null&&Ls(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),u=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(u=t.memoizedState.cachePool.pool),u!==l&&(t.flags|=2048),e!==null&&xe(yh,t),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),ei(La,t),gn(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function xE(e,t){switch(fp(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Bt)!==gt&&fc(t),t):null;case 3:return ei(La,t),k(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ze(t),null;case 31:if(t.memoizedState!==null){if(Ma(t),t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");su()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Bt)!==gt&&fc(t),t):null;case 13:if(Ma(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");su()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Bt)!==gt&&fc(t),t):null;case 19:return xe(Oa,t),null;case 4:return k(t),null;case 10:return ei(t.type,t),null;case 22:case 23:return Ma(t),li(t),e!==null&&xe(yh,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Bt)!==gt&&fc(t),t):null;case 24:return ei(La,t),null;case 25:return null;default:return null}}function Gg(e,t){switch(fp(t),t.tag){case 3:ei(La,t),k(t);break;case 26:case 27:case 5:ze(t);break;case 4:k(t);break;case 31:t.memoizedState!==null&&Ma(t);break;case 13:Ma(t);break;case 19:xe(Oa,t);break;case 10:ei(t.type,t);break;case 22:case 23:Ma(t),li(t),e!==null&&xe(yh,t);break;case 24:ei(La,t)}}function $i(e){return(e.mode&Bt)!==gt}function RE(e,t){$i(e)?(Zn(),Ho(t,e),ml()):Ho(t,e)}function Vp(e,t,l){$i(e)?(Zn(),Ou(l,e,t),ml()):Ou(l,e,t)}function Ho(e,t){try{var l=t.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var d=u.next;l=d;do{if((l.tag&e)===e&&(u=void 0,(e&gr)!==YS&&(ly=!0),u=Le(t,X8,l),(e&gr)!==YS&&(ly=!1),u!==void 0&&typeof u!="function")){var m=void 0;m=(l.tag&Ei)!==0?"useLayoutEffect":(l.tag&gr)!==0?"useInsertionEffect":"useEffect";var S=void 0;S=u===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof u.then=="function"?`
234
+
235
+ It looks like you wrote `+m+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
236
+
237
+ `+m+`(() => {
238
+ async function fetchData() {
239
+ // You can await here
240
+ const response = await MyAPI.getData(someId);
241
+ // ...
242
+ }
243
+ fetchData();
244
+ }, [someId]); // Or [] if effect doesn't need props or state
245
+
246
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+u,Le(t,function(O,M){console.error("%s must not return anything besides a function, which is used for clean-up.%s",O,M)},m,S)}l=l.next}while(l!==d)}}catch(O){Nt(t,t.return,O)}}function Ou(e,t,l){try{var u=t.updateQueue,d=u!==null?u.lastEffect:null;if(d!==null){var m=d.next;u=m;do{if((u.tag&e)===e){var S=u.inst,O=S.destroy;O!==void 0&&(S.destroy=void 0,(e&gr)!==YS&&(ly=!0),d=t,Le(d,Z8,d,l,O),(e&gr)!==YS&&(ly=!1))}u=u.next}while(u!==m)}}catch(M){Nt(t,t.return,M)}}function Md(e,t){$i(e)?(Zn(),Ho(t,e),ml()):Ho(t,e)}function qp(e,t,l){$i(e)?(Zn(),Ou(l,e,t),ml()):Ou(l,e,t)}function $g(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Pm||(l.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",me(e)||"instance"),l.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",me(e)||"instance"));try{Le(e,xs,t,l)}catch(u){Nt(e,e.return,u)}}}function Nd(e,t,l){return e.getSnapshotBeforeUpdate(t,l)}function AE(e,t){var l=t.memoizedProps,u=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Pm||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",me(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",me(e)||"instance"));try{var d=ki(e.type,l),m=Le(e,Nd,t,d,u);l=T2,m!==void 0||l.has(e.type)||(l.add(e.type),Le(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",me(e))})),t.__reactInternalSnapshotBeforeUpdate=m}catch(S){Nt(e,e.return,S)}}function Yp(e,t,l){l.props=ki(e.type,e.memoizedProps),l.state=e.memoizedState,$i(e)?(Zn(),Le(e,Yw,e,t,l),ml()):Le(e,Yw,e,t,l)}function CE(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}if(typeof t=="function")if($i(e))try{Zn(),e.refCleanup=t(l)}finally{ml()}else e.refCleanup=t(l);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",me(e)),t.current=l}}function Rc(e,t){try{Le(e,CE,e)}catch(l){Nt(e,t,l)}}function Mr(e,t){var l=e.ref,u=e.refCleanup;if(l!==null)if(typeof u=="function")try{if($i(e))try{Zn(),Le(e,u)}finally{ml(e)}else Le(e,u)}catch(d){Nt(e,t,d)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{if($i(e))try{Zn(),Le(e,l,null)}finally{ml(e)}else Le(e,l,null)}catch(d){Nt(e,t,d)}else l.current=null}function Qg(e,t,l,u){var d=e.memoizedProps,m=d.id,S=d.onCommit;d=d.onRender,t=t===null?"mount":"update",US&&(t="nested-update"),typeof d=="function"&&d(m,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,l),typeof S=="function"&&S(m,t,u,l)}function DE(e,t,l,u){var d=e.memoizedProps;e=d.id,d=d.onPostCommit,t=t===null?"mount":"update",US&&(t="nested-update"),typeof d=="function"&&d(e,t,u,l)}function xu(e){var t=e.type,l=e.memoizedProps,u=e.stateNode;try{Le(e,kE,u,t,l,e)}catch(d){Nt(e,e.return,d)}}function kp(e,t,l){try{Le(e,um,e.stateNode,e.type,l,t,e)}catch(u){Nt(e,e.return,u)}}function Xg(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Nu(e.type)||e.tag===4}function Gp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Nu(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Hs(e,t,l){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?($E(l),(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t)):($E(l),t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=_r));else if(u!==4&&(u===27&&Nu(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Hs(e,t,l),e=e.sibling;e!==null;)Hs(e,t,l),e=e.sibling}function jd(e,t,l){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(u!==4&&(u===27&&Nu(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(jd(e,t,l),e=e.sibling;e!==null;)jd(e,t,l),e=e.sibling}function Zg(e){for(var t,l=e.return;l!==null;){if(Xg(l)){t=l;break}l=l.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,l=Gp(e),jd(e,l,t);break;case 5:l=t.stateNode,t.flags&32&&(cm(l),t.flags&=-33),t=Gp(e),jd(e,t,l);break;case 3:case 4:t=t.stateNode.containerInfo,l=Gp(e),Hs(e,l,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Ig(e){var t=e.stateNode,l=e.memoizedProps;try{Le(e,Wi,e.type,l,t,e)}catch(u){Nt(e,e.return,u)}}function Jg(e,t){return t.tag===31?(t=t.memoizedState,e.memoizedState!==null&&t===null):t.tag===13?(e=e.memoizedState,t=t.memoizedState,e!==null&&e.dehydrated!==null&&(t===null||t.dehydrated===null)):t.tag===3?e.memoizedState.isDehydrated&&(t.flags&256)===0:!1}function J_(e,t){if(e=e.containerInfo,rx=m1,e=lp(e),ng(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var u=l.getSelection&&l.getSelection();if(u&&u.rangeCount!==0){l=u.anchorNode;var d=u.anchorOffset,m=u.focusNode;u=u.focusOffset;try{l.nodeType,m.nodeType}catch{l=null;break e}var S=0,O=-1,M=-1,z=0,P=0,te=e,Q=null;t:for(;;){for(var pe;te!==l||d!==0&&te.nodeType!==3||(O=S+d),te!==m||u!==0&&te.nodeType!==3||(M=S+u),te.nodeType===3&&(S+=te.nodeValue.length),(pe=te.firstChild)!==null;)Q=te,te=pe;for(;;){if(te===e)break t;if(Q===l&&++z===d&&(O=S),Q===m&&++P===u&&(M=S),(pe=te.nextSibling)!==null)break;te=Q,Q=te.parentNode}te=pe}l=O===-1||M===-1?null:{start:O,end:M}}else l=null}l=l||{start:0,end:0}}else l=null;for(ix={focusedElem:e,selectionRange:l},m1=!1,ul=t;ul!==null;)if(t=ul,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ul=e;else for(;ul!==null;){switch(e=t=ul,l=e.alternate,d=e.flags,e.tag){case 0:if((d&4)!==0&&(e=e.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)d=e[l],d.ref.impl=d.nextImpl;break;case 11:case 15:break;case 1:(d&1024)!==0&&l!==null&&AE(e,l);break;case 3:if((d&1024)!==0){if(e=e.stateNode.containerInfo,l=e.nodeType,l===9)Ks(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ks(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((d&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,ul=e;break}ul=t.return}}function $p(e,t,l){var u=zn(),d=Ar(),m=er(),S=Cr(),O=l.flags;switch(l.tag){case 0:case 11:case 15:or(e,l),O&4&&RE(l,Ei|fo);break;case 1:if(or(e,l),O&4)if(e=l.stateNode,t===null)l.type.defaultProps||"ref"in l.memoizedProps||Pm||(e.props!==l.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.",me(l)||"instance"),e.state!==l.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.",me(l)||"instance")),$i(l)?(Zn(),Le(l,AO,l,e),ml()):Le(l,AO,l,e);else{var M=ki(l.type,t.memoizedProps);t=t.memoizedState,l.type.defaultProps||"ref"in l.memoizedProps||Pm||(e.props!==l.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.",me(l)||"instance"),e.state!==l.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.",me(l)||"instance")),$i(l)?(Zn(),Le(l,Hw,l,e,M,t,e.__reactInternalSnapshotBeforeUpdate),ml()):Le(l,Hw,l,e,M,t,e.__reactInternalSnapshotBeforeUpdate)}O&64&&$g(l),O&512&&Rc(l,l.return);break;case 3:if(t=ji(),or(e,l),O&64&&(O=l.updateQueue,O!==null)){if(M=null,l.child!==null)switch(l.child.tag){case 27:case 5:M=l.child.stateNode;break;case 1:M=l.child.stateNode}try{Le(l,xs,O,M)}catch(P){Nt(l,l.return,P)}}e.effectDuration+=Ss(t);break;case 27:t===null&&O&4&&Ig(l);case 26:case 5:if(or(e,l),t===null){if(O&4)xu(l);else if(O&64){e=l.type,t=l.memoizedProps,M=l.stateNode;try{Le(l,GE,M,e,t,l)}catch(P){Nt(l,l.return,P)}}}O&512&&Rc(l,l.return);break;case 12:if(O&4){O=ji(),or(e,l),e=l.stateNode,e.effectDuration+=pl(O);try{Le(l,Qg,l,t,Sf,e.effectDuration)}catch(P){Nt(l,l.return,P)}}else or(e,l);break;case 31:or(e,l),O&4&&Kg(e,l);break;case 13:or(e,l),O&4&&Wg(e,l),O&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(O=qo.bind(null,l),tS(e,O))));break;case 22:if(O=l.memoizedState!==null||Wc,!O){t=t!==null&&t.memoizedState!==null||qa,M=Wc;var z=qa;Wc=O,(qa=t)&&!z?(ui(e,l,(l.subtreeFlags&8772)!==0),(l.mode&Bt)!==gt&&0<=st&&0<=pt&&.05<pt-st&&rp(l,st,pt)):or(e,l),Wc=M,qa=z}break;case 30:break;default:or(e,l)}(l.mode&Bt)!==gt&&0<=st&&0<=pt&&((oa||.05<Fn)&&Wr(l,st,pt,Fn,Xn),l.alternate===null&&l.return!==null&&l.return.alternate!==null&&.05<pt-st&&(Jg(l.return.alternate,l.return)||Or(l,st,pt,"Mount"))),Da(u),Pl(d),Xn=m,oa=S}function ra(e){var t=e.alternate;t!==null&&(e.alternate=null,ra(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ie(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Nn(e,t,l){for(l=l.child;l!==null;)Fg(e,t,l),l=l.sibling}function Fg(e,t,l){if(Ta&&typeof Ta.onCommitFiberUnmount=="function")try{Ta.onCommitFiberUnmount(Vc,l)}catch(z){eo||(eo=!0,console.error("React instrumentation encountered an error: %o",z))}var u=zn(),d=Ar(),m=er(),S=Cr();switch(l.tag){case 26:qa||Mr(l,t),Nn(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(e=l.stateNode,e.parentNode.removeChild(e));break;case 27:qa||Mr(l,t);var O=Ya,M=Lr;Nu(l.type)&&(Ya=l.stateNode,Lr=!1),Nn(e,t,l),Le(l,$o,l.stateNode),Ya=O,Lr=M;break;case 5:qa||Mr(l,t);case 6:if(O=Ya,M=Lr,Ya=null,Nn(e,t,l),Ya=O,Lr=M,Ya!==null)if(Lr)try{Le(l,XE,Ya,l.stateNode)}catch(z){Nt(l,t,z)}else try{Le(l,QE,Ya,l.stateNode)}catch(z){Nt(l,t,z)}break;case 18:Ya!==null&&(Lr?(e=Ya,Mc(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Uc(e)):Mc(Ya,l.stateNode));break;case 4:O=Ya,M=Lr,Ya=l.stateNode.containerInfo,Lr=!0,Nn(e,t,l),Ya=O,Lr=M;break;case 0:case 11:case 14:case 15:Ou(gr,l,t),qa||Vp(l,t,Ei),Nn(e,t,l);break;case 1:qa||(Mr(l,t),O=l.stateNode,typeof O.componentWillUnmount=="function"&&Yp(l,t,O)),Nn(e,t,l);break;case 21:Nn(e,t,l);break;case 22:qa=(O=qa)||l.memoizedState!==null,Nn(e,t,l),qa=O;break;default:Nn(e,t,l)}(l.mode&Bt)!==gt&&0<=st&&0<=pt&&(oa||.05<Fn)&&Wr(l,st,pt,Fn,Xn),Da(u),Pl(d),Xn=m,oa=S}function Kg(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Le(t,sm,e)}catch(l){Nt(t,t.return,l)}}}function Wg(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Le(t,bv,e)}catch(l){Nt(t,t.return,l)}}function wE(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new _2),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new _2),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Ru(e,t){var l=wE(e);t.forEach(function(u){if(!l.has(u)){if(l.add(u),to)if(ey!==null&&ty!==null)$s(ty,ey);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var d=Dc.bind(null,e,u);u.then(d,d)}})}function El(e,t){var l=t.deletions;if(l!==null)for(var u=0;u<l.length;u++){var d=e,m=t,S=l[u],O=zn(),M=m;e:for(;M!==null;){switch(M.tag){case 27:if(Nu(M.type)){Ya=M.stateNode,Lr=!1;break e}break;case 5:Ya=M.stateNode,Lr=!1;break e;case 3:case 4:Ya=M.stateNode.containerInfo,Lr=!0;break e}M=M.return}if(Ya===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Fg(d,m,S),Ya=null,Lr=!1,(S.mode&Bt)!==gt&&0<=st&&0<=pt&&.05<pt-st&&Or(S,st,pt,"Unmount"),Da(O),d=S,m=d.alternate,m!==null&&(m.return=null),d.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)zd(t,e),t=t.sibling}function zd(e,t){var l=zn(),u=Ar(),d=er(),m=Cr(),S=e.alternate,O=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:El(t,e),Sl(e),O&4&&(Ou(gr|fo,e,e.return),Ho(gr|fo,e),Vp(e,e.return,Ei|fo));break;case 1:if(El(t,e),Sl(e),O&512&&(qa||S===null||Mr(S,S.return)),O&64&&Wc&&(O=e.updateQueue,O!==null&&(S=O.callbacks,S!==null))){var M=O.shared.hiddenCallbacks;O.shared.hiddenCallbacks=M===null?S:M.concat(S)}break;case 26:if(M=Fo,El(t,e),Sl(e),O&512&&(qa||S===null||Mr(S,S.return)),O&4){var z=S!==null?S.memoizedState:null;if(O=e.memoizedState,S===null)if(O===null)if(e.stateNode===null){e:{O=e.type,S=e.memoizedProps,M=M.ownerDocument||M;t:switch(O){case"title":z=M.getElementsByTagName("title")[0],(!z||z[hf]||z[Bn]||z.namespaceURI===jt||z.hasAttribute("itemprop"))&&(z=M.createElement(O),M.head.insertBefore(z,M.querySelector("head > title"))),Ln(z,O,S),z[Bn]=e,tt(z),O=z;break e;case"link":var P=ef("link","href",M).get(O+(S.href||""));if(P){for(var te=0;te<P.length;te++)if(z=P[te],z.getAttribute("href")===(S.href==null||S.href===""?null:S.href)&&z.getAttribute("rel")===(S.rel==null?null:S.rel)&&z.getAttribute("title")===(S.title==null?null:S.title)&&z.getAttribute("crossorigin")===(S.crossOrigin==null?null:S.crossOrigin)){P.splice(te,1);break t}}z=M.createElement(O),Ln(z,O,S),M.head.appendChild(z);break;case"meta":if(P=ef("meta","content",M).get(O+(S.content||""))){for(te=0;te<P.length;te++)if(z=P[te],qt(S.content,"content"),z.getAttribute("content")===(S.content==null?null:""+S.content)&&z.getAttribute("name")===(S.name==null?null:S.name)&&z.getAttribute("property")===(S.property==null?null:S.property)&&z.getAttribute("http-equiv")===(S.httpEquiv==null?null:S.httpEquiv)&&z.getAttribute("charset")===(S.charSet==null?null:S.charSet)){P.splice(te,1);break t}}z=M.createElement(O),Ln(z,O,S),M.head.appendChild(z);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+O+'". This is a bug in React.')}z[Bn]=e,tt(z),O=z}e.stateNode=O}else rS(M,e.type,e.stateNode);else e.stateNode=hm(M,O,e.memoizedProps);else z!==O?(z===null?S.stateNode!==null&&(S=S.stateNode,S.parentNode.removeChild(S)):z.count--,O===null?rS(M,e.type,e.stateNode):hm(M,O,e.memoizedProps)):O===null&&e.stateNode!==null&&kp(e,e.memoizedProps,S.memoizedProps)}break;case 27:El(t,e),Sl(e),O&512&&(qa||S===null||Mr(S,S.return)),S!==null&&O&4&&kp(e,e.memoizedProps,S.memoizedProps);break;case 5:if(El(t,e),Sl(e),O&512&&(qa||S===null||Mr(S,S.return)),e.flags&32){M=e.stateNode;try{Le(e,cm,M)}catch(Ie){Nt(e,e.return,Ie)}}O&4&&e.stateNode!=null&&(M=e.memoizedProps,kp(e,M,S!==null?S.memoizedProps:M)),O&1024&&(qO=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(El(t,e),Sl(e),O&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");O=e.memoizedProps,S=S!==null?S.memoizedProps:O,M=e.stateNode;try{Le(e,F_,M,S,O)}catch(Ie){Nt(e,e.return,Ie)}}break;case 3:if(M=ji(),d1=null,z=Fo,Fo=fm(t.containerInfo),El(t,e),Fo=z,Sl(e),O&4&&S!==null&&S.memoizedState.isDehydrated)try{Le(e,vv,t.containerInfo)}catch(Ie){Nt(e,e.return,Ie)}qO&&(qO=!1,ME(e)),t.effectDuration+=Ss(M);break;case 4:O=Fo,Fo=fm(e.stateNode.containerInfo),El(t,e),Sl(e),Fo=O;break;case 12:O=ji(),El(t,e),Sl(e),e.stateNode.effectDuration+=pl(O);break;case 31:El(t,e),Sl(e),O&4&&(O=e.updateQueue,O!==null&&(e.updateQueue=null,Ru(e,O)));break;case 13:El(t,e),Sl(e),e.child.flags&8192&&e.memoizedState!==null!=(S!==null&&S.memoizedState!==null)&&(KS=Ua()),O&4&&(O=e.updateQueue,O!==null&&(e.updateQueue=null,Ru(e,O)));break;case 22:M=e.memoizedState!==null;var Q=S!==null&&S.memoizedState!==null,pe=Wc,ke=qa;if(Wc=pe||M,qa=ke||Q,El(t,e),qa=ke,Wc=pe,Q&&!M&&!pe&&!ke&&(e.mode&Bt)!==gt&&0<=st&&0<=pt&&.05<pt-st&&rp(e,st,pt),Sl(e),O&8192)e:for(t=e.stateNode,t._visibility=M?t._visibility&~e0:t._visibility|e0,!M||S===null||Q||Wc||qa||(Au(e),(e.mode&Bt)!==gt&&0<=st&&0<=pt&&.05<pt-st&&Or(e,st,pt,"Disconnect")),S=null,t=e;;){if(t.tag===5||t.tag===26){if(S===null){Q=S=t;try{z=Q.stateNode,M?Le(Q,IE,z):Le(Q,KE,Q.stateNode,Q.memoizedProps)}catch(Ie){Nt(Q,Q.return,Ie)}}}else if(t.tag===6){if(S===null){Q=t;try{P=Q.stateNode,M?Le(Q,JE,P):Le(Q,WE,P,Q.memoizedProps)}catch(Ie){Nt(Q,Q.return,Ie)}}}else if(t.tag===18){if(S===null){Q=t;try{te=Q.stateNode,M?Le(Q,ZE,te):Le(Q,FE,Q.stateNode)}catch(Ie){Nt(Q,Q.return,Ie)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;S===t&&(S=null),t=t.return}S===t&&(S=null),t.sibling.return=t.return,t=t.sibling}O&4&&(O=e.updateQueue,O!==null&&(S=O.retryQueue,S!==null&&(O.retryQueue=null,Ru(e,S))));break;case 19:El(t,e),Sl(e),O&4&&(O=e.updateQueue,O!==null&&(e.updateQueue=null,Ru(e,O)));break;case 30:break;case 21:break;default:El(t,e),Sl(e)}(e.mode&Bt)!==gt&&0<=st&&0<=pt&&((oa||.05<Fn)&&Wr(e,st,pt,Fn,Xn),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<pt-st&&(Jg(e.return.alternate,e.return)||Or(e,st,pt,"Mount"))),Da(l),Pl(u),Xn=d,oa=m}function Sl(e){var t=e.flags;if(t&2){try{Le(e,Zg,e)}catch(l){Nt(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function ME(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;ME(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function or(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)$p(e,t.alternate,t),t=t.sibling}function Qp(e){var t=zn(),l=Ar(),u=er(),d=Cr();switch(e.tag){case 0:case 11:case 14:case 15:Vp(e,e.return,Ei),Au(e);break;case 1:Mr(e,e.return);var m=e.stateNode;typeof m.componentWillUnmount=="function"&&Yp(e,e.return,m),Au(e);break;case 27:Le(e,$o,e.stateNode);case 26:case 5:Mr(e,e.return),Au(e);break;case 22:e.memoizedState===null&&Au(e);break;case 30:Au(e);break;default:Au(e)}(e.mode&Bt)!==gt&&0<=st&&0<=pt&&(oa||.05<Fn)&&Wr(e,st,pt,Fn,Xn),Da(t),Pl(l),Xn=u,oa=d}function Au(e){for(e=e.child;e!==null;)Qp(e),e=e.sibling}function Pg(e,t,l,u){var d=zn(),m=Ar(),S=er(),O=Cr(),M=l.flags;switch(l.tag){case 0:case 11:case 15:ui(e,l,u),RE(l,Ei);break;case 1:if(ui(e,l,u),t=l.stateNode,typeof t.componentDidMount=="function"&&Le(l,AO,l,t),t=l.updateQueue,t!==null){e=l.stateNode;try{Le(l,Eg,t,e)}catch(z){Nt(l,l.return,z)}}u&&M&64&&$g(l),Rc(l,l.return);break;case 27:Ig(l);case 26:case 5:ui(e,l,u),u&&t===null&&M&4&&xu(l),Rc(l,l.return);break;case 12:if(u&&M&4){M=ji(),ui(e,l,u),u=l.stateNode,u.effectDuration+=pl(M);try{Le(l,Qg,l,t,Sf,u.effectDuration)}catch(z){Nt(l,l.return,z)}}else ui(e,l,u);break;case 31:ui(e,l,u),u&&M&4&&Kg(e,l);break;case 13:ui(e,l,u),u&&M&4&&Wg(e,l);break;case 22:l.memoizedState===null&&ui(e,l,u),Rc(l,l.return);break;case 30:break;default:ui(e,l,u)}(l.mode&Bt)!==gt&&0<=st&&0<=pt&&(oa||.05<Fn)&&Wr(l,st,pt,Fn,Xn),Da(d),Pl(m),Xn=S,oa=O}function ui(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Pg(e,t.alternate,t,l),t=t.sibling}function Ud(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&cc(e),l!=null&&od(l))}function Ld(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(cc(t),e!=null&&od(e))}function ur(e,t,l,u,d){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var m=t.sibling;ev(e,t,l,u,m!==null?m.actualStartTime:d),t=m}}function ev(e,t,l,u,d){var m=zn(),S=Ar(),O=er(),M=Cr(),z=gf,P=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&Bt)!==gt&&0<t.actualStartTime&&(t.flags&1)!==0&&ip(t,t.actualStartTime,d,Fa,l),ur(e,t,l,u,d),P&2048&&Md(t,vr|fo);break;case 1:(t.mode&Bt)!==gt&&0<t.actualStartTime&&((t.flags&128)!==0?lg(t,t.actualStartTime,d,[]):(t.flags&1)!==0&&ip(t,t.actualStartTime,d,Fa,l)),ur(e,t,l,u,d);break;case 3:var te=ji(),Q=Fa;Fa=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)===0,ur(e,t,l,u,d),Fa=Q,P&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),u=t.memoizedState.cache,u!==l&&(cc(u),l!=null&&od(l))),e.passiveEffectDuration+=Ss(te);break;case 12:if(P&2048){P=ji(),ur(e,t,l,u,d),e=t.stateNode,e.passiveEffectDuration+=pl(P);try{Le(t,DE,t,t.alternate,Sf,e.passiveEffectDuration)}catch(pe){Nt(t,t.return,pe)}}else ur(e,t,l,u,d);break;case 31:P=Fa,te=t.alternate!==null?t.alternate.memoizedState:null,Q=t.memoizedState,te!==null&&Q===null?(Q=t.deletions,Q!==null&&0<Q.length&&Q[0].tag===18?(Fa=!1,te=te.hydrationErrors,te!==null&&lg(t,t.actualStartTime,d,te)):Fa=!0):Fa=!1,ur(e,t,l,u,d),Fa=P;break;case 13:P=Fa,te=t.alternate!==null?t.alternate.memoizedState:null,Q=t.memoizedState,te===null||te.dehydrated===null||Q!==null&&Q.dehydrated!==null?Fa=!1:(Q=t.deletions,Q!==null&&0<Q.length&&Q[0].tag===18?(Fa=!1,te=te.hydrationErrors,te!==null&&lg(t,t.actualStartTime,d,te)):Fa=!0),ur(e,t,l,u,d),Fa=P;break;case 23:break;case 22:Q=t.stateNode,te=t.alternate,t.memoizedState!==null?Q._visibility&kc?ur(e,t,l,u,d):Ac(e,t,l,u,d):Q._visibility&kc?ur(e,t,l,u,d):(Q._visibility|=kc,Cu(e,t,l,u,(t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),d),(t.mode&Bt)===gt||Fa||(e=t.actualStartTime,0<=e&&.05<d-e&&rp(t,e,d),0<=st&&0<=pt&&.05<pt-st&&rp(t,st,pt))),P&2048&&Ud(te,t);break;case 24:ur(e,t,l,u,d),P&2048&&Ld(t.alternate,t);break;default:ur(e,t,l,u,d)}(t.mode&Bt)!==gt&&((e=!Fa&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(l=t.actualStartTime,0<=l&&.05<d-l&&Or(t,l,d,"Mount")),0<=st&&0<=pt&&((oa||.05<Fn)&&Wr(t,st,pt,Fn,Xn),e&&.05<pt-st&&Or(t,st,pt,"Mount"))),Da(m),Pl(S),Xn=O,oa=M,gf=z}function Cu(e,t,l,u,d,m){for(d=d&&((t.subtreeFlags&10256)!==0||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child)),t=t.child;t!==null;){var S=t.sibling;Bd(e,t,l,u,d,S!==null?S.actualStartTime:m),t=S}}function Bd(e,t,l,u,d,m){var S=zn(),O=Ar(),M=er(),z=Cr(),P=gf;d&&(t.mode&Bt)!==gt&&0<t.actualStartTime&&(t.flags&1)!==0&&ip(t,t.actualStartTime,m,Fa,l);var te=t.flags;switch(t.tag){case 0:case 11:case 15:Cu(e,t,l,u,d,m),Md(t,vr);break;case 23:break;case 22:var Q=t.stateNode;t.memoizedState!==null?Q._visibility&kc?Cu(e,t,l,u,d,m):Ac(e,t,l,u,m):(Q._visibility|=kc,Cu(e,t,l,u,d,m)),d&&te&2048&&Ud(t.alternate,t);break;case 24:Cu(e,t,l,u,d,m),d&&te&2048&&Ld(t.alternate,t);break;default:Cu(e,t,l,u,d,m)}(t.mode&Bt)!==gt&&0<=st&&0<=pt&&(oa||.05<Fn)&&Wr(t,st,pt,Fn,Xn),Da(S),Pl(O),Xn=M,oa=z,gf=P}function Ac(e,t,l,u,d){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var m=t.child;m!==null;){t=m.sibling;var S=e,O=l,M=u,z=t!==null?t.actualStartTime:d,P=gf;(m.mode&Bt)!==gt&&0<m.actualStartTime&&(m.flags&1)!==0&&ip(m,m.actualStartTime,z,Fa,O);var te=m.flags;switch(m.tag){case 22:Ac(S,m,O,M,z),te&2048&&Ud(m.alternate,m);break;case 24:Ac(S,m,O,M,z),te&2048&&Ld(m.alternate,m);break;default:Ac(S,m,O,M,z)}gf=P,m=t}}function Cc(e,t,l){if(e.subtreeFlags&E0)for(e=e.child;e!==null;)Xp(e,t,l),e=e.sibling}function Xp(e,t,l){switch(e.tag){case 26:Cc(e,t,l),e.flags&E0&&e.memoizedState!==null&&Ov(l,Fo,e.memoizedState,e.memoizedProps);break;case 5:Cc(e,t,l);break;case 3:case 4:var u=Fo;Fo=fm(e.stateNode.containerInfo),Cc(e,t,l),Fo=u;break;case 22:e.memoizedState===null&&(u=e.alternate,u!==null&&u.memoizedState!==null?(u=E0,E0=16777216,Cc(e,t,l),E0=u):Cc(e,t,l));break;default:Cc(e,t,l)}}function tv(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function cr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var u=t[l],d=zn();ul=u,Qi(u,e),(u.mode&Bt)!==gt&&0<=st&&0<=pt&&.05<pt-st&&Or(u,st,pt,"Unmount"),Da(d)}tv(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Zp(e),e=e.sibling}function Zp(e){var t=zn(),l=Ar(),u=er(),d=Cr();switch(e.tag){case 0:case 11:case 15:cr(e),e.flags&2048&&qp(e,e.return,vr|fo);break;case 3:var m=ji();cr(e),e.stateNode.passiveEffectDuration+=Ss(m);break;case 12:m=ji(),cr(e),e.stateNode.passiveEffectDuration+=pl(m);break;case 22:m=e.stateNode,e.memoizedState!==null&&m._visibility&kc&&(e.return===null||e.return.tag!==13)?(m._visibility&=~kc,Ip(e),(e.mode&Bt)!==gt&&0<=st&&0<=pt&&.05<pt-st&&Or(e,st,pt,"Disconnect")):cr(e);break;default:cr(e)}(e.mode&Bt)!==gt&&0<=st&&0<=pt&&(oa||.05<Fn)&&Wr(e,st,pt,Fn,Xn),Da(t),Pl(l),oa=d,Xn=u}function Ip(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var u=t[l],d=zn();ul=u,Qi(u,e),(u.mode&Bt)!==gt&&0<=st&&0<=pt&&.05<pt-st&&Or(u,st,pt,"Unmount"),Da(d)}tv(e)}for(e=e.child;e!==null;)nv(e),e=e.sibling}function nv(e){var t=zn(),l=Ar(),u=er(),d=Cr();switch(e.tag){case 0:case 11:case 15:qp(e,e.return,vr),Ip(e);break;case 22:var m=e.stateNode;m._visibility&kc&&(m._visibility&=~kc,Ip(e));break;default:Ip(e)}(e.mode&Bt)!==gt&&0<=st&&0<=pt&&(oa||.05<Fn)&&Wr(e,st,pt,Fn,Xn),Da(t),Pl(l),oa=d,Xn=u}function Qi(e,t){for(;ul!==null;){var l=ul,u=l,d=t,m=zn(),S=Ar(),O=er(),M=Cr();switch(u.tag){case 0:case 11:case 15:qp(u,d,vr);break;case 23:case 22:u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(d=u.memoizedState.cachePool.pool,d!=null&&cc(d));break;case 24:od(u.memoizedState.cache)}if((u.mode&Bt)!==gt&&0<=st&&0<=pt&&(oa||.05<Fn)&&Wr(u,st,pt,Fn,Xn),Da(m),Pl(S),oa=M,Xn=O,u=l.child,u!==null)u.return=l,ul=u;else e:for(l=e;ul!==null;){if(u=ul,m=u.sibling,S=u.return,ra(u),u===l){ul=null;break e}if(m!==null){m.return=S,ul=m;break e}ul=S}}}function av(){W8.forEach(function(e){return e()})}function lv(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||ve.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ll(e){if((en&Ka)!==cl&&Vt!==0)return Vt&-Vt;var t=ve.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),pv()):Xr()}function Vs(){if(Hr===0)if((Vt&536870912)===0||It){var e=ih;ih<<=1,(ih&3932160)===0&&(ih=262144),Hr=e}else Hr=536870912;return e=bi.current,e!==null&&(e.flags|=32),Hr}function vt(e,t,l){if(ly&&console.error("useInsertionEffect must not schedule updates."),KO&&(t1=!0),(e===Dn&&(Sn===Th||Sn===_h)||e.cancelPendingCommit!==null)&&(Xi(e,0),Nr(e,Vt,Hr,!1)),Aa(e,l),(en&Ka)!==cl&&e===Dn){if(Pi)switch(t.tag){case 0:case 11:case 15:e=kt&&me(kt)||"Unknown",H2.has(e)||(H2.add(e),t=me(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:B2||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),B2=!0)}}else to&&Wn(e,t,l),Yd(t),e===Dn&&((en&Ka)===cl&&(Df|=l),Kn===Rf&&Nr(e,Vt,Hr,!1)),ql(e)}function NE(e,t,l){if((en&(Ka|Si))!==cl)throw Error("Should not already be working.");if(Vt!==0&&kt!==null){var u=kt,d=Ua();switch(ww){case _0:case Th:var m=i0;Hn&&((u=u._debugTask)?u.run(console.timeStamp.bind(console,"Suspended",m,d,ao,void 0,"primary-light")):console.timeStamp("Suspended",m,d,ao,void 0,"primary-light"));break;case _h:m=i0,Hn&&((u=u._debugTask)?u.run(console.timeStamp.bind(console,"Action",m,d,ao,void 0,"primary-light")):console.timeStamp("Action",m,d,ao,void 0,"primary-light"));break;default:Hn&&(u=d-i0,3>u||console.timeStamp("Blocked",i0,d,ao,void 0,5>u?"primary-light":10>u?"primary":100>u?"primary-dark":"error"))}}m=(l=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Mn(e,t))?Vo(e,t):ks(e,t,!0);var S=l;do{if(m===Pc){ny&&!l&&Nr(e,t,0,!1),t=Sn,i0=Ba(),ww=t;break}else{if(u=Ua(),d=e.current.alternate,S&&!zE(d)){Kr(t),d=ol,m=u,!Hn||m<=d||(ha?ha.run(console.timeStamp.bind(console,"Teared Render",d,m,Wt,Ft,"error")):console.timeStamp("Teared Render",d,m,Wt,Ft,"error")),Du(t,u),m=ks(e,t,!1),S=!1;continue}if(m===Sh){if(S=t,e.errorRecoveryDisabledLanes&S)var O=0;else O=e.pendingLanes&-536870913,O=O!==0?O:O&536870912?536870912:0;if(O!==0){Kr(t),rg(ol,u,t,ha),Du(t,u),t=O;e:{u=e,m=S,S=x0;var M=u.current.memoizedState.isDehydrated;if(M&&(Xi(u,O).flags|=256),O=ks(u,O,!1),O!==Sh){if(GO&&!M){u.errorRecoveryDisabledLanes|=m,Df|=m,m=Rf;break e}u=br,br=S,u!==null&&(br===null?br=u:br.push.apply(br,u))}m=O}if(S=!1,m!==Sh)continue;u=Ua()}}if(m===T0){Kr(t),rg(ol,u,t,ha),Du(t,u),Xi(e,0),Nr(e,t,0,!0);break}e:{switch(l=e,m){case Pc:case T0:throw Error("Root did not complete. This is a bug in React.");case Rf:if((t&4194048)!==t)break;case ZS:Kr(t),uE(ol,u,t,ha),Du(t,u),d=t,(d&127)!==0?NS=u:(d&4194048)!==0&&(jS=u),Nr(l,t,Hr,!Af);break e;case Sh:br=null;break;case XS:case O2:break;default:throw Error("Unknown root exit status.")}if(ve.actQueue!==null)Rn(l,d,t,br,R0,FS,Hr,Df,Oh,m,null,null,ol,u);else{if((t&62914560)===t&&(S=KS+A2-Ua(),10<S)){if(Nr(l,t,Hr,!Af),Qr(l,0,!0)!==0)break e;Ko=t,l.timeoutHandle=X2(jE.bind(null,l,d,br,R0,FS,t,Hr,Df,Oh,Af,m,"Throttled",ol,u),S);break e}jE(l,d,br,R0,FS,t,Hr,Df,Oh,Af,m,null,ol,u)}}}break}while(!0);ql(e)}function jE(e,t,l,u,d,m,S,O,M,z,P,te,Q,pe){e.timeoutHandle=Dh;var ke=t.subtreeFlags,Ie=null;if((ke&8192||(ke&16785408)===16785408)&&(Ie={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:_r},Xp(t,m,Ie),ke=(m&62914560)===m?KS-Ua():(m&4194048)===m?R2-Ua():0,ke=pm(Ie,ke),ke!==null)){Ko=m,e.cancelPendingCommit=ke(Rn.bind(null,e,t,m,l,u,d,S,O,M,P,Ie,Ie.waitingForViewTransition?"Waiting for the previous Animation":0<Ie.count?0<Ie.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Ie.imgCount===1?"Suspended on an Image":0<Ie.imgCount?"Suspended on Images":null,Q,pe)),Nr(e,m,S,!z);return}Rn(e,t,m,l,u,d,S,O,M,P,Ie,te,Q,pe)}function zE(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var u=0;u<l.length;u++){var d=l[u],m=d.getSnapshot;d=d.value;try{if(!mr(m(),d))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Nr(e,t,l,u){t&=~$O,t&=~Df,e.suspendedLanes|=t,e.pingedLanes&=~t,u&&(e.warmLanes|=t),u=e.expirationTimes;for(var d=t;0<d;){var m=31-Ia(d),S=1<<m;u[m]=-1,d&=~S}l!==0&&Pa(e,l,t)}function sr(){return(en&(Ka|Si))===cl?(Ii(0),!1):!0}function Jp(){if(kt!==null){if(Sn===Br)var e=kt.return;else e=kt,bs(),pu(e),Zm=null,m0=0,e=kt;for(;e!==null;)Gg(e.alternate,e),e=e.return;kt=null}}function Du(e,t){(e&127)!==0&&(dh=t),(e&4194048)!==0&&(Zc=t),(e&62914560)!==0&&(Cw=t),(e&2080374784)!==0&&(Dw=t)}function Xi(e,t){Hn&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Ft,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Ft,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Ft,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Ft,"primary-light"));var l=ol;if(ol=Ba(),Vt!==0&&0<l){if(Kr(Vt),Kn===XS||Kn===Rf)uE(l,ol,t,ha);else{var u=ol,d=ha;if(Hn&&!(u<=l)){var m=(t&738197653)===t?"tertiary-dark":"primary-dark",S=(t&536870912)===t?"Prewarm":(t&201326741)===t?"Interrupted Hydration":"Interrupted Render";d?d.run(console.timeStamp.bind(console,S,l,u,Wt,Ft,m)):console.timeStamp(S,l,u,Wt,Ft,m)}}Du(Vt,ol)}if(l=ha,ha=null,(t&127)!==0){ha=a0,d=0<=qu&&qu<dh?dh:qu,u=0<=hh&&hh<dh?dh:hh,m=0<=u?u:0<=d?d:ol,0<=NS?(Kr(2),cE(NS,m,t,l)):zS&127,l=d;var O=u,M=l0,z=0<$m,P=Tf===n0,te=Tf===MS;if(d=ol,u=a0,m=TO,S=_O,Hn){if(Wt="Blocking",0<l?l>d&&(l=d):l=d,0<O?O>l&&(O=l):O=l,M!==null&&l>O){var Q=z?"secondary-light":"warning";u?u.run(console.timeStamp.bind(console,z?"Consecutive":"Event: "+M,O,l,Wt,Ft,Q)):console.timeStamp(z?"Consecutive":"Event: "+M,O,l,Wt,Ft,Q)}d>l&&(O=P?"error":(t&738197653)===t?"tertiary-light":"primary-light",P=te?"Promise Resolved":P?"Cascading Update":5<d-l?"Update Blocked":"Update",te=[],S!=null&&te.push(["Component name",S]),m!=null&&te.push(["Method name",m]),l={start:l,end:d,detail:{devtools:{properties:te,track:Wt,trackGroup:Ft,color:O}}},u?u.run(performance.measure.bind(performance,P,l)):performance.measure(P,l))}qu=-1.1,Tf=0,_O=TO=null,NS=-1.1,$m=hh,hh=-1.1,dh=Ba()}if((t&4194048)!==0&&(ha=r0,d=0<=Ic&&Ic<Zc?Zc:Ic,l=0<=co&&co<Zc?Zc:co,u=0<=_f&&_f<Zc?Zc:_f,m=0<=u?u:0<=l?l:ol,0<=jS?(Kr(256),cE(jS,m,t,ha)):zS&4194048,te=u,O=ph,M=0<Of,z=OO===MS,m=ol,u=r0,S=Rw,P=Aw,Hn&&(Wt="Transition",0<l?l>m&&(l=m):l=m,0<d?d>l&&(d=l):d=l,0<te?te>d&&(te=d):te=d,d>te&&O!==null&&(Q=M?"secondary-light":"warning",u?u.run(console.timeStamp.bind(console,M?"Consecutive":"Event: "+O,te,d,Wt,Ft,Q)):console.timeStamp(M?"Consecutive":"Event: "+O,te,d,Wt,Ft,Q)),l>d&&(u?u.run(console.timeStamp.bind(console,"Action",d,l,Wt,Ft,"primary-dark")):console.timeStamp("Action",d,l,Wt,Ft,"primary-dark")),m>l&&(d=z?"Promise Resolved":5<m-l?"Update Blocked":"Update",te=[],P!=null&&te.push(["Component name",P]),S!=null&&te.push(["Method name",S]),l={start:l,end:m,detail:{devtools:{properties:te,track:Wt,trackGroup:Ft,color:"primary-light"}}},u?u.run(performance.measure.bind(performance,d,l)):performance.measure(d,l))),co=Ic=-1.1,OO=0,jS=-1.1,Of=_f,_f=-1.1,Zc=Ba()),(t&62914560)!==0&&(zS&62914560)!==0&&(Kr(4194304),ig(Cw,ol)),(t&2080374784)!==0&&(zS&2080374784)!==0&&(Kr(268435456),ig(Dw,ol)),l=e.timeoutHandle,l!==Dh&&(e.timeoutHandle=Dh,fH(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Ko=0,Jp(),Dn=e,kt=l=Mi(e.current,null),Vt=t,Sn=Br,Ti=null,Af=!1,ny=Mn(e,t),GO=!1,Kn=Pc,Oh=Hr=$O=Df=Cf=0,br=x0=null,FS=!1,(t&8)!==0&&(t|=t&32),u=e.entangledLanes,u!==0)for(e=e.entanglements,u&=t;0<u;)d=31-Ia(u),m=1<<d,t|=e[d],u&=~m;return ku=t,op(),e=Ew(),1e3<e-bw&&(ve.recentlyCreatedOwnerStacks=0,bw=e),Io.discardPendingWarnings(),l}function ci(e,t){St=null,ve.H=b0,ve.getCurrentStack=null,Pi=!1,$l=null,t===Xm||t===HS?(t=dc(),Sn=_0):t===CO?(t=dc(),Sn=x2):Sn=t===HO?kO:t!==null&&typeof t=="object"&&typeof t.then=="function"?O0:IS,Ti=t;var l=kt;l===null?(Kn=T0,Rd(e,hl(t,e.current))):l.mode&Bt&&pp(l)}function rv(){var e=bi.current;return e===null?!0:(Vt&4194048)===Vt?so===null:(Vt&62914560)===Vt||(Vt&536870912)!==0?e===so:!1}function Fp(){var e=ve.H;return ve.H=b0,e===null?b0:e}function iv(){var e=ve.A;return ve.A=K8,e}function qs(e){ha===null&&(ha=e._debugTask==null?null:e._debugTask)}function Ys(){Kn=Rf,Af||(Vt&4194048)!==Vt&&bi.current!==null||(ny=!0),(Cf&134217727)===0&&(Df&134217727)===0||Dn===null||Nr(Dn,Vt,Hr,!1)}function ks(e,t,l){var u=en;en|=Ka;var d=Fp(),m=iv();if(Dn!==e||Vt!==t){if(to){var S=e.memoizedUpdaters;0<S.size&&($s(e,Vt),S.clear()),Yn(e,t)}R0=null,Xi(e,t)}t=!1,S=Kn;e:do try{if(Sn!==Br&&kt!==null){var O=kt,M=Ti;switch(Sn){case kO:Jp(),S=ZS;break e;case _0:case Th:case _h:case O0:bi.current===null&&(t=!0);var z=Sn;if(Sn=Br,Ti=null,Gs(e,O,M,z),l&&ny){S=Pc;break e}break;default:z=Sn,Sn=Br,Ti=null,Gs(e,O,M,z)}}ov(),S=Kn;break}catch(P){ci(e,P)}while(!0);return t&&e.shellSuspendCounter++,bs(),en=u,ve.H=d,ve.A=m,kt===null&&(Dn=null,Vt=0,op()),S}function ov(){for(;kt!==null;)Kp(kt)}function Vo(e,t){var l=en;en|=Ka;var u=Fp(),d=iv();if(Dn!==e||Vt!==t){if(to){var m=e.memoizedUpdaters;0<m.size&&($s(e,Vt),m.clear()),Yn(e,t)}R0=null,WS=Ua()+C2,Xi(e,t)}else ny=Mn(e,t);e:do try{if(Sn!==Br&&kt!==null)t:switch(t=kt,m=Ti,Sn){case IS:Sn=Br,Ti=null,Gs(e,t,m,IS);break;case Th:case _h:if(vg(m)){Sn=Br,Ti=null,uv(t);break}t=function(){Sn!==Th&&Sn!==_h||Dn!==e||(Sn=JS),ql(e)},m.then(t,t);break e;case _0:Sn=JS;break e;case x2:Sn=YO;break e;case JS:vg(m)?(Sn=Br,Ti=null,uv(t)):(Sn=Br,Ti=null,Gs(e,t,m,JS));break;case YO:var S=null;switch(kt.tag){case 26:S=kt.memoizedState;case 5:case 27:var O=kt;if(S?$t(S):O.stateNode.complete){Sn=Br,Ti=null;var M=O.sibling;if(M!==null)kt=M;else{var z=O.return;z!==null?(kt=z,Hd(z)):kt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Sn=Br,Ti=null,Gs(e,t,m,YO);break;case O0:Sn=Br,Ti=null,Gs(e,t,m,O0);break;case kO:Jp(),Kn=ZS;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}ve.actQueue!==null?ov():fa();break}catch(P){ci(e,P)}while(!0);return bs(),ve.H=u,ve.A=d,en=l,kt!==null?Pc:(Dn=null,Vt=0,op(),Kn)}function fa(){for(;kt!==null&&!xm();)Kp(kt)}function Kp(e){var t=e.alternate;(e.mode&Bt)!==gt?(Co(e),t=Le(e,wd,t,e,ku),pp(e)):t=Le(e,wd,t,e,ku),e.memoizedProps=e.pendingProps,t===null?Hd(e):kt=t}function uv(e){var t=Le(e,za,e);e.memoizedProps=e.pendingProps,t===null?Hd(e):kt=t}function za(e){var t=e.alternate,l=(e.mode&Bt)!==gt;switch(l&&Co(e),e.tag){case 15:case 0:t=Bg(t,e,e.pendingProps,e.type,void 0,Vt);break;case 11:t=Bg(t,e,e.pendingProps,e.type.render,e.ref,Vt);break;case 5:pu(e);default:Gg(t,e),e=kt=sg(e,ku),t=wd(t,e,ku)}return l&&pp(e),t}function Gs(e,t,l,u){bs(),pu(t),Zm=null,m0=0;var d=t.return;try{if(wg(e,d,t,l,Vt)){Kn=T0,Rd(e,hl(l,e.current)),kt=null;return}}catch(m){if(d!==null)throw kt=d,m;Kn=T0,Rd(e,hl(l,e.current)),kt=null;return}t.flags&32768?(It||u===IS?e=!0:ny||(Vt&536870912)!==0?e=!1:(Af=e=!0,(u===Th||u===_h||u===_0||u===O0)&&(u=bi.current,u!==null&&u.tag===13&&(u.flags|=16384))),cv(t,e)):Hd(t)}function Hd(e){var t=e;do{if((t.flags&32768)!==0){cv(t,Af);return}var l=t.alternate;if(e=t.return,Co(t),l=Le(t,kg,l,t,ku),(t.mode&Bt)!==gt&&ud(t),l!==null){kt=l;return}if(t=t.sibling,t!==null){kt=t;return}kt=t=e}while(t!==null);Kn===Pc&&(Kn=O2)}function cv(e,t){do{var l=xE(e.alternate,e);if(l!==null){l.flags&=32767,kt=l;return}if((e.mode&Bt)!==gt){ud(e),l=e.actualDuration;for(var u=e.child;u!==null;)l+=u.actualDuration,u=u.sibling;e.actualDuration=l}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){kt=e;return}kt=e=l}while(e!==null);Kn=ZS,kt=null}function Rn(e,t,l,u,d,m,S,O,M,z,P,te,Q,pe){e.cancelPendingCommit=null;do Vd();while(ka!==Mf);if(Io.flushLegacyContextWarning(),Io.flushPendingUnsafeLifecycleWarnings(),(en&(Ka|Si))!==cl)throw Error("Should not already be working.");if(Kr(l),z===Sh?rg(Q,pe,l,ha):u!==null?Q_(Q,pe,l,u,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&(t.flags&256)!==0,ha):$_(Q,pe,l,ha),t!==null){if(l===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(m=t.lanes|t.childLanes,m|=gO,Ul(e,l,m,S,O,M),e===Dn&&(kt=Dn=null,Vt=0),ay=t,Nf=e,Ko=l,ZO=m,JO=d,z2=u,IO=pe,U2=te,Wo=PS,L2=null,t.actualDuration!==0||(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Qs(Hc,function(){return N0=window.event,Wo===PS&&(Wo=XO),qd(),null})):(e.callbackNode=null,e.callbackPriority=0),Xc=null,Sf=Ba(),te!==null&&X_(pe,Sf,te,ha),u=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||u){u=ve.T,ve.T=null,d=on.p,on.p=_a,S=en,en|=Si;try{J_(e,t,l)}finally{en=S,on.p=d,ve.T=u}}ka=w2,Tl(),Zi(),sv()}}function Tl(){if(ka===w2){ka=Mf;var e=Nf,t=ay,l=Ko,u=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||u){u=ve.T,ve.T=null;var d=on.p;on.p=_a;var m=en;en|=Si;try{ey=l,ty=e,sc(),zd(t,e),ty=ey=null,l=ix;var S=lp(e.containerInfo),O=l.focusedElem,M=l.selectionRange;if(S!==O&&O&&O.ownerDocument&&lE(O.ownerDocument.documentElement,O)){if(M!==null&&ng(O)){var z=M.start,P=M.end;if(P===void 0&&(P=z),"selectionStart"in O)O.selectionStart=z,O.selectionEnd=Math.min(P,O.value.length);else{var te=O.ownerDocument||document,Q=te&&te.defaultView||window;if(Q.getSelection){var pe=Q.getSelection(),ke=O.textContent.length,Ie=Math.min(M.start,ke),jn=M.end===void 0?Ie:Math.min(M.end,ke);!pe.extend&&Ie>jn&&(S=jn,jn=Ie,Ie=S);var Kt=aE(O,Ie),G=aE(O,jn);if(Kt&&G&&(pe.rangeCount!==1||pe.anchorNode!==Kt.node||pe.anchorOffset!==Kt.offset||pe.focusNode!==G.node||pe.focusOffset!==G.offset)){var X=te.createRange();X.setStart(Kt.node,Kt.offset),pe.removeAllRanges(),Ie>jn?(pe.addRange(X),pe.extend(G.node,G.offset)):(X.setEnd(G.node,G.offset),pe.addRange(X))}}}}for(te=[],pe=O;pe=pe.parentNode;)pe.nodeType===1&&te.push({element:pe,left:pe.scrollLeft,top:pe.scrollTop});for(typeof O.focus=="function"&&O.focus(),O=0;O<te.length;O++){var K=te[O];K.element.scrollLeft=K.left,K.element.scrollTop=K.top}}m1=!!rx,ix=rx=null}finally{en=m,on.p=d,ve.T=u}}e.current=t,ka=M2}}function Zi(){if(ka===M2){ka=Mf;var e=L2;if(e!==null){Sf=Ba();var t=Qc,l=Sf;!Hn||l<=t||console.timeStamp(e,t,l,Wt,Ft,"secondary-light")}e=Nf,t=ay,l=Ko;var u=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||u){u=ve.T,ve.T=null;var d=on.p;on.p=_a;var m=en;en|=Si;try{ey=l,ty=e,sc(),$p(e,t.alternate,t),ty=ey=null}finally{en=m,on.p=d,ve.T=u}}e=IO,t=U2,Qc=Ba(),e=t===null?e:Sf,t=Qc,l=Wo===QO,u=ha,Xc!==null?sE(e,t,Xc,!1,u):!Hn||t<=e||(u?u.run(console.timeStamp.bind(console,l?"Commit Interrupted View Transition":"Commit",e,t,Wt,Ft,l?"error":"secondary-dark")):console.timeStamp(l?"Commit Interrupted View Transition":"Commit",e,t,Wt,Ft,l?"error":"secondary-dark")),ka=N2}}function sv(){if(ka===j2||ka===N2){if(ka===j2){var e=Qc;Qc=Ba();var t=Qc,l=Wo===QO;!Hn||t<=e||console.timeStamp(l?"Interrupted View Transition":"Starting Animation",e,t,Wt,Ft,l?" error":"secondary-light"),Wo!==QO&&(Wo=D2)}ka=Mf,Rm(),e=Nf;var u=ay;t=Ko,l=z2;var d=u.actualDuration!==0||(u.subtreeFlags&10256)!==0||(u.flags&10256)!==0;d?ka=e1:(ka=Mf,ay=Nf=null,fv(e,e.pendingLanes),xh=0,C0=null);var m=e.pendingLanes;if(m===0&&(wf=null),d||em(e),m=Pn(t),u=u.stateNode,Ta&&typeof Ta.onCommitFiberRoot=="function")try{var S=(u.current.flags&128)===128;switch(m){case _a:var O=Yv;break;case Ja:O=Am;break;case il:O=Hc;break;case Bu:O=Cm;break;default:O=Hc}Ta.onCommitFiberRoot(Vc,u,O,S)}catch(te){eo||(eo=!0,console.error("React instrumentation encountered an error: %o",te))}if(to&&e.memoizedUpdaters.clear(),av(),l!==null){S=ve.T,O=on.p,on.p=_a,ve.T=null;try{var M=e.onRecoverableError;for(u=0;u<l.length;u++){var z=l[u],P=UE(z.stack);Le(z.source,M,z.value,P)}}finally{ve.T=S,on.p=O}}(Ko&3)!==0&&Vd(),ql(e),m=e.pendingLanes,(t&261930)!==0&&(m&42)!==0?(LS=!0,e===FO?A0++:(A0=0,FO=e)):A0=0,d||Du(t,Qc),Ii(0)}}function UE(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function fv(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,od(t)))}function Vd(){return Tl(),Zi(),sv(),qd()}function qd(){if(ka!==e1)return!1;var e=Nf,t=ZO;ZO=0;var l=Pn(Ko),u=il>l?il:l;l=ve.T;var d=on.p;try{on.p=u,ve.T=null;var m=JO;JO=null,u=Nf;var S=Ko;if(ka=Mf,ay=Nf=null,Ko=0,(en&(Ka|Si))!==cl)throw Error("Cannot flush passive effects while already rendering.");Kr(S),KO=!0,t1=!1;var O=0;if(Xc=null,O=Ua(),Wo===D2)ig(Qc,O,$8);else{var M=Qc,z=O,P=Wo===XO;!Hn||z<=M||(ha?ha.run(console.timeStamp.bind(console,P?"Waiting for Paint":"Waiting",M,z,Wt,Ft,"secondary-light")):console.timeStamp(P?"Waiting for Paint":"Waiting",M,z,Wt,Ft,"secondary-light"))}M=en,en|=Si;var te=u.current;sc(),Zp(te);var Q=u.current;te=IO,sc(),ev(u,Q,S,m,te),em(u),en=M;var pe=Ua();if(Q=O,te=ha,Xc!==null?sE(Q,pe,Xc,!0,te):!Hn||pe<=Q||(te?te.run(console.timeStamp.bind(console,"Remaining Effects",Q,pe,Wt,Ft,"secondary-dark")):console.timeStamp("Remaining Effects",Q,pe,Wt,Ft,"secondary-dark")),Du(S,pe),Ii(0,!1),t1?u===C0?xh++:(xh=0,C0=u):xh=0,t1=KO=!1,Ta&&typeof Ta.onPostCommitFiberRoot=="function")try{Ta.onPostCommitFiberRoot(Vc,u)}catch(Ie){eo||(eo=!0,console.error("React instrumentation encountered an error: %o",Ie))}var ke=u.current.stateNode;return ke.effectDuration=0,ke.passiveEffectDuration=0,!0}finally{on.p=d,ve.T=l,fv(e,t)}}function _l(e,t,l){t=hl(l,t),yE(t),t=wp(e.stateNode,t,2),e=Ui(e,t,2),e!==null&&(Aa(e,2),ql(e))}function Nt(e,t,l){if(ly=!1,e.tag===3)_l(e,e,l);else{for(;t!==null;){if(t.tag===3){_l(t,e,l);return}if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(wf===null||!wf.has(u))){e=hl(l,e),yE(e),l=Mp(2),u=Ui(t,l,2),u!==null&&(Np(l,u,t,e),Aa(u,2),ql(u));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
247
+
248
+ Error message:
249
+
250
+ %s`,l)}}function Wp(e,t,l){var u=e.pingCache;if(u===null){u=e.pingCache=new P8;var d=new Set;u.set(t,d)}else d=u.get(t),d===void 0&&(d=new Set,u.set(t,d));d.has(l)||(GO=!0,d.add(l),u=Vl.bind(null,e,t,l),to&&$s(e,l),t.then(u,u))}function Vl(e,t,l){var u=e.pingCache;u!==null&&u.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,(l&127)!==0?0>qu&&(dh=qu=Ba(),a0=wS("Promise Resolved"),Tf=MS):(l&4194048)!==0&&0>co&&(Zc=co=Ba(),r0=wS("Promise Resolved"),OO=MS),lv()&&ve.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
251
+
252
+ When testing, code that resolves suspended data should be wrapped into act(...):
253
+
254
+ act(() => {
255
+ /* finish loading suspended data */
256
+ });
257
+ /* assert on the output */
258
+
259
+ 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`),Dn===e&&(Vt&l)===l&&(Kn===Rf||Kn===XS&&(Vt&62914560)===Vt&&Ua()-KS<A2?(en&Ka)===cl&&Xi(e,0):$O|=l,Oh===Vt&&(Oh=0)),ql(e)}function dv(e,t){t===0&&(t=xt()),e=nl(e,t),e!==null&&(Aa(e,t),ql(e))}function qo(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),dv(e,l)}function Dc(e,t){var l=0;switch(e.tag){case 31:case 13:var u=e.stateNode,d=e.memoizedState;d!==null&&(l=d.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}u!==null&&u.delete(t),dv(e,l)}function si(e,t,l){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var u=e,d=t,m=d.type===Rl;m=l||m,d.tag!==22?d.flags&67108864?m&&Le(d,Pp,u,d):si(u,d,m):d.memoizedState===null&&(m&&d.flags&8192?Le(d,Pp,u,d):d.subtreeFlags&67108864&&Le(d,si,u,d,m)),t=t.sibling}}function Pp(e,t){Je(!0);try{Qp(t),nv(t),Pg(e,t.alternate,t,!1),Bd(e,t,0,null,!1,0)}finally{Je(!1)}}function em(e){var t=!0;e.current.mode&(Ql|Zo)||(t=!1),si(e,e.current,t)}function jr(e){if((en&Ka)===cl){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=me(e)||"ReactComponent",n1!==null){if(n1.has(t))return;n1.add(t)}else n1=new Set([t]);Le(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function $s(e,t){to&&e.memoizedUpdaters.forEach(function(l){Wn(e,l,t)})}function Qs(e,t){var l=ve.actQueue;return l!==null?(l.push(t),nH):qv(e,t)}function Yd(e){lv()&&ve.actQueue===null&&Le(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
260
+
261
+ When testing, code that causes React state updates should be wrapped into act(...):
262
+
263
+ act(() => {
264
+ /* fire events that update state */
265
+ });
266
+ /* assert on the output */
267
+
268
+ 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`,me(e))})}function ql(e){e!==ry&&e.next===null&&(ry===null?a1=ry=e:ry=ry.next=e),l1=!0,ve.actQueue!==null?PO||(PO=!0,BE()):WO||(WO=!0,BE())}function Ii(e,t){if(!ex&&l1){ex=!0;do for(var l=!1,u=a1;u!==null;){if(e!==0){var d=u.pendingLanes;if(d===0)var m=0;else{var S=u.suspendedLanes,O=u.pingedLanes;m=(1<<31-Ia(42|e)+1)-1,m&=d&~(S&~O),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(l=!0,kd(u,m))}else m=Vt,m=Qr(u,u===Dn?m:0,u.cancelPendingCommit!==null||u.timeoutHandle!==Dh),(m&3)===0||Mn(u,m)||(l=!0,kd(u,m));u=u.next}while(l);ex=!1}}function LE(){N0=window.event,tm()}function tm(){l1=PO=WO=!1;var e=0;jf!==0&&yv()&&(e=jf);for(var t=Ua(),l=null,u=a1;u!==null;){var d=u.next,m=Xs(u,t);m===0?(u.next=null,l===null?a1=d:l.next=d,d===null&&(ry=l)):(l=u,(e!==0||(m&3)!==0)&&(l1=!0)),u=d}ka!==Mf&&ka!==e1||Ii(e),jf!==0&&(jf=0)}function Xs(e,t){for(var l=e.suspendedLanes,u=e.pingedLanes,d=e.expirationTimes,m=e.pendingLanes&-62914561;0<m;){var S=31-Ia(m),O=1<<S,M=d[S];M===-1?((O&l)===0||(O&u)!==0)&&(d[S]=zl(O,t)):M<=t&&(e.expiredLanes|=O),m&=~O}if(t=Dn,l=Vt,l=Qr(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Dh),u=e.callbackNode,l===0||e===t&&(Sn===Th||Sn===_h)||e.cancelPendingCommit!==null)return u!==null&&nm(u),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Mn(e,l)){if(t=l&-l,t!==e.callbackPriority||ve.actQueue!==null&&u!==tx)nm(u);else return t;switch(Pn(l)){case _a:case Ja:l=Am;break;case il:l=Hc;break;case Bu:l=Cm;break;default:l=Hc}return u=hv.bind(null,e),ve.actQueue!==null?(ve.actQueue.push(u),l=tx):l=qv(l,u),e.callbackPriority=t,e.callbackNode=l,t}return u!==null&&nm(u),e.callbackPriority=2,e.callbackNode=null,2}function hv(e,t){if(LS=US=!1,N0=window.event,ka!==Mf&&ka!==e1)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(Wo===PS&&(Wo=XO),Vd()&&e.callbackNode!==l)return null;var u=Vt;return u=Qr(e,e===Dn?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Dh),u===0?null:(NE(e,u,t),Xs(e,Ua()),e.callbackNode!=null&&e.callbackNode===l?hv.bind(null,e):null)}function kd(e,t){if(Vd())return null;US=LS,LS=!1,NE(e,t,!0)}function nm(e){e!==tx&&e!==null&&Om(e)}function BE(){ve.actQueue!==null&&ve.actQueue.push(function(){return tm(),null}),dH(function(){(en&(Ka|Si))!==cl?qv(Yv,LE):tm()})}function pv(){if(jf===0){var e=mh;e===0&&(e=ff,ff<<=1,(ff&261888)===0&&(ff=256)),jf=e}return jf}function nn(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(qt(e,"action"),Kf(""+e))}function vn(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function Xt(e,t,l,u,d){if(t==="submit"&&l&&l.stateNode===d){var m=nn((d[Al]||null).action),S=u.submitter;S&&(t=(t=S[Al]||null)?nn(t.formAction):S.getAttribute("formAction"),t!==null&&(m=t,S=null));var O=new _S("action","action",null,u,d);e.push({event:O,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(jf!==0){var M=S?vn(d,S):new FormData(d),z={pending:!0,data:M,method:d.method,action:m};Object.freeze(z),Lo(l,z,null,M)}}else typeof m=="function"&&(O.preventDefault(),M=S?vn(d,S):new FormData(d),z={pending:!0,data:M,method:d.method,action:m},Object.freeze(z),Lo(l,z,m,M))},currentTarget:d}]})}}function Yt(e,t,l){e.currentTarget=l;try{t(e)}catch(u){hO(u)}e.currentTarget=null}function dn(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var u=e[l];e:{var d=void 0,m=u.event;if(u=u.listeners,t)for(var S=u.length-1;0<=S;S--){var O=u[S],M=O.instance,z=O.currentTarget;if(O=O.listener,M!==d&&m.isPropagationStopped())break e;M!==null?Le(M,Yt,m,O,z):Yt(m,O,z),d=M}else for(S=0;S<u.length;S++){if(O=u[S],M=O.instance,z=O.currentTarget,O=O.listener,M!==d&&m.isPropagationStopped())break e;M!==null?Le(M,Yt,m,O,z):Yt(m,O,z),d=M}}}}function yt(e,t){nx.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var l=t[qc];l===void 0&&(l=t[qc]=new Set);var u=e+"__bubble";l.has(u)||(am(t,e,2,!1),l.add(u))}function Ji(e,t,l){nx.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var u=0;t&&(u|=4),am(l,e,u,t)}function wu(e){if(!e[r1]){e[r1]=!0,vS.forEach(function(l){l!=="selectionchange"&&(nx.has(l)||Ji(l,!1,e),Ji(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[r1]||(t[r1]=!0,Ji("selectionchange",!1,t))}}function am(e,t,l,u){switch(gm(t)){case _a:var d=Dv;break;case Ja:d=Za;break;default:d=wv}l=d.bind(null,t,l,e),d=void 0,!aO||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(d=!0),u?d!==void 0?e.addEventListener(t,l,{capture:!0,passive:d}):e.addEventListener(t,l,!0):d!==void 0?e.addEventListener(t,l,{passive:d}):e.addEventListener(t,l,!1)}function fi(e,t,l,u,d){var m=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var S=u.tag;if(S===3||S===4){var O=u.stateNode.containerInfo;if(O===d)break;if(S===4)for(S=u.return;S!==null;){var M=S.tag;if((M===3||M===4)&&S.stateNode.containerInfo===d)return;S=S.return}for(;O!==null;){if(S=we(O),S===null)return;if(M=S.tag,M===5||M===6||M===26||M===27){u=m=S;continue e}O=O.parentNode}}u=u.return}ep(function(){var z=m,P=Jr(l),te=[];e:{var Q=vw.get(e);if(Q!==void 0){var pe=_S,ke=e;switch(e){case"keypress":if(Wf(l)===0)break e;case"keydown":case"keyup":pe=g8;break;case"focusin":ke="focus",pe=oO;break;case"focusout":ke="blur",pe=oO;break;case"beforeblur":case"afterblur":pe=oO;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":pe=lw;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":pe=r8;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":pe=E8;break;case pw:case mw:case yw:pe=u8;break;case gw:pe=T8;break;case"scroll":case"scrollend":pe=a8;break;case"wheel":pe=O8;break;case"copy":case"cut":case"paste":pe=s8;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":pe=iw;break;case"toggle":case"beforetoggle":pe=R8}var Ie=(t&4)!==0,jn=!Ie&&(e==="scroll"||e==="scrollend"),Kt=Ie?Q!==null?Q+"Capture":null:Q;Ie=[];for(var G=z,X;G!==null;){var K=G;if(X=K.stateNode,K=K.tag,K!==5&&K!==26&&K!==27||X===null||Kt===null||(K=Di(G,Kt),K!=null&&Ie.push(An(G,K,X))),jn)break;G=G.return}0<Ie.length&&(Q=new pe(Q,ke,null,l,P),te.push({event:Q,listeners:Ie}))}}if((t&7)===0){e:{if(Q=e==="mouseover"||e==="pointerover",pe=e==="mouseout"||e==="pointerout",Q&&l!==Xv&&(ke=l.relatedTarget||l.fromElement)&&(we(ke)||ke[Xo]))break e;if((pe||Q)&&(Q=P.window===P?P:(Q=P.ownerDocument)?Q.defaultView||Q.parentWindow:window,pe?(ke=l.relatedTarget||l.toElement,pe=z,ke=ke?we(ke):null,ke!==null&&(jn=q(ke),Ie=ke.tag,ke!==jn||Ie!==5&&Ie!==27&&Ie!==6)&&(ke=null)):(pe=null,ke=z),pe!==ke)){if(Ie=lw,K="onMouseLeave",Kt="onMouseEnter",G="mouse",(e==="pointerout"||e==="pointerover")&&(Ie=iw,K="onPointerLeave",Kt="onPointerEnter",G="pointer"),jn=pe==null?Q:Fe(pe),X=ke==null?Q:Fe(ke),Q=new Ie(K,G+"leave",pe,l,P),Q.target=jn,Q.relatedTarget=X,K=null,we(P)===z&&(Ie=new Ie(Kt,G+"enter",ke,l,P),Ie.target=X,Ie.relatedTarget=jn,K=Ie),jn=K,pe&&ke)t:{for(Ie=wc,Kt=pe,G=ke,X=0,K=Kt;K;K=Ie(K))X++;K=0;for(var _e=G;_e;_e=Ie(_e))K++;for(;0<X-K;)Kt=Ie(Kt),X--;for(;0<K-X;)G=Ie(G),K--;for(;X--;){if(Kt===G||G!==null&&Kt===G.alternate){Ie=Kt;break t}Kt=Ie(Kt),G=Ie(G)}Ie=null}else Ie=null;pe!==null&&lm(te,Q,pe,Ie,!1),ke!==null&&jn!==null&&lm(te,jn,ke,Ie,!0)}}e:{if(Q=z?Fe(z):window,pe=Q.nodeName&&Q.nodeName.toLowerCase(),pe==="select"||pe==="input"&&Q.type==="file")var Ge=iu;else if(Py(Q))if(dw)Ge=nd;else{Ge=eg;var Tt=G_}else pe=Q.nodeName,!pe||pe.toLowerCase()!=="input"||Q.type!=="checkbox"&&Q.type!=="radio"?z&&Ci(z.elementType)&&(Ge=iu):Ge=tg;if(Ge&&(Ge=Ge(e,z))){ed(te,Ge,l,P);break e}Tt&&Tt(e,Q,z),e==="focusout"&&z&&Q.type==="number"&&z.memoizedProps.value!=null&&mt(Q,"number",Q.value)}switch(Tt=z?Fe(z):window,e){case"focusin":(Py(Tt)||Tt.contentEditable==="true")&&(Lm=Tt,cO=z,Pv=null);break;case"focusout":Pv=cO=Lm=null;break;case"mousedown":sO=!0;break;case"contextmenu":case"mouseup":case"dragend":sO=!1,rE(te,l,P);break;case"selectionchange":if(w8)break;case"keydown":case"keyup":rE(te,l,P)}var ut;if(uO)e:{switch(e){case"compositionstart":var at="onCompositionStart";break e;case"compositionend":at="onCompositionEnd";break e;case"compositionupdate":at="onCompositionUpdate";break e}at=void 0}else Um?ps(e,l)&&(at="onCompositionEnd"):e==="keydown"&&l.keyCode===ow&&(at="onCompositionStart");at&&(uw&&l.locale!=="ko"&&(Um||at!=="onCompositionStart"?at==="onCompositionEnd"&&Um&&(ut=ec()):(yf=P,lO="value"in yf?yf.value:yf.textContent,Um=!0)),Tt=di(z,at),0<Tt.length&&(at=new rw(at,e,null,l,P),te.push({event:at,listeners:Tt}),ut?at.data=ut:(ut=Ro(l),ut!==null&&(at.data=ut)))),(ut=C8?Wy(e,l):tp(e,l))&&(at=di(z,"onBeforeInput"),0<at.length&&(Tt=new d8("onBeforeInput","beforeinput",null,l,P),te.push({event:Tt,listeners:at}),Tt.data=ut)),Xt(te,e,z,l,P)}dn(te,t)})}function An(e,t,l){return{instance:e,listener:t,currentTarget:l}}function di(e,t){for(var l=t+"Capture",u=[];e!==null;){var d=e,m=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||m===null||(d=Di(e,l),d!=null&&u.unshift(An(e,d,m)),d=Di(e,t),d!=null&&u.push(An(e,d,m))),e.tag===3)return u;e=e.return}return[]}function wc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function lm(e,t,l,u,d){for(var m=t._reactName,S=[];l!==null&&l!==u;){var O=l,M=O.alternate,z=O.stateNode;if(O=O.tag,M!==null&&M===u)break;O!==5&&O!==26&&O!==27||z===null||(M=z,d?(z=Di(l,m),z!=null&&S.unshift(An(l,z,M))):d||(z=Di(l,m),z!=null&&S.push(An(l,z,M)))),l=l.return}S.length!==0&&e.push({event:t,listeners:S})}function Ol(e,t){eE(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||nw||(nw=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var l={registrationNameDependencies:no,possibleRegistrationNames:pf};Ci(e)||typeof t.is=="string"||k_(e,t,l),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function $n(e,t,l,u){t!==l&&(l=hi(l),hi(t)!==l&&(u[e]=t))}function Gd(e,t,l){t.forEach(function(u){l[Yo(u)]=u==="style"?Mu(e):e.getAttribute(u)})}function Qn(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function rm(e,t){return e=e.namespaceURI===Ot||e.namespaceURI===jt?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function hi(e){return tn(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Ct(e)),Mt(e)),(typeof e=="string"?e:""+e).replace(aH,`
269
+ `).replace(lH,"")}function mv(e,t){return t=hi(t),hi(e)===t}function rn(e,t,l,u,d,m){switch(l){case"children":typeof u=="string"?(Ff(u,t,!1),t==="body"||t==="textarea"&&u===""||Pu(e,u)):(typeof u=="number"||typeof u=="bigint")&&(Ff(""+u,t,!1),t!=="body"&&Pu(e,""+u));break;case"className":Ku(e,"class",u);break;case"tabIndex":Ku(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":Ku(e,l,u);break;case"style":Jy(e,u,m);break;case"data":if(t!=="object"){Ku(e,"data",u);break}case"src":case"href":if(u===""&&(t!=="a"||l!=="href")){console.error(l==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',l,l),e.removeAttribute(l);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(l);break}qt(u,l),u=Kf(""+u),e.setAttribute(l,u);break;case"action":case"formAction":if(u!=null&&(t==="form"?l==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof u=="function"&&(d.encType==null&&d.method==null||u1||(u1=!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.")),d.target==null||o1||(o1=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?l==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||d.type==="submit"||d.type==="image"||i1?t!=="button"||d.type==null||d.type==="submit"||i1?typeof u=="function"&&(d.name==null||Y2||(Y2=!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.')),d.formEncType==null&&d.formMethod==null||u1||(u1=!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.")),d.formTarget==null||o1||(o1=!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."))):(i1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(i1=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(l==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof u=="function"){e.setAttribute(l,"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 m=="function"&&(l==="formAction"?(t!=="input"&&rn(e,t,"name",d.name,d,null),rn(e,t,"formEncType",d.formEncType,d,null),rn(e,t,"formMethod",d.formMethod,d,null),rn(e,t,"formTarget",d.formTarget,d,null)):(rn(e,t,"encType",d.encType,d,null),rn(e,t,"method",d.method,d,null),rn(e,t,"target",d.target,d,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(l);break}qt(u,l),u=Kf(""+u),e.setAttribute(l,u);break;case"onClick":u!=null&&(typeof u!="function"&&Qn(l,u),e.onclick=_r);break;case"onScroll":u!=null&&(typeof u!="function"&&Qn(l,u),yt("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Qn(l,u),yt("scrollend",e));break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=u.__html,l!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}qt(u,l),l=Kf(""+u),e.setAttributeNS(Rh,"xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?(qt(u,l),e.setAttribute(l,""+u)):e.removeAttribute(l);break;case"inert":u!==""||c1[l]||(c1[l]=!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.",l));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":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":u===!0?e.setAttribute(l,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?(qt(u,l),e.setAttribute(l,u)):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?(qt(u,l),e.setAttribute(l,u)):e.removeAttribute(l);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(l):(qt(u,l),e.setAttribute(l,u));break;case"popover":yt("beforetoggle",e),yt("toggle",e),Oo(e,"popover",u);break;case"xlinkActuate":Sr(e,Rh,"xlink:actuate",u);break;case"xlinkArcrole":Sr(e,Rh,"xlink:arcrole",u);break;case"xlinkRole":Sr(e,Rh,"xlink:role",u);break;case"xlinkShow":Sr(e,Rh,"xlink:show",u);break;case"xlinkTitle":Sr(e,Rh,"xlink:title",u);break;case"xlinkType":Sr(e,Rh,"xlink:type",u);break;case"xmlBase":Sr(e,ax,"xml:base",u);break;case"xmlLang":Sr(e,ax,"xml:lang",u);break;case"xmlSpace":Sr(e,ax,"xml:space",u);break;case"is":m!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Oo(e,"is",u);break;case"innerText":case"textContent":break;case"popoverTarget":k2||u==null||typeof u!="object"||(k2=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",u));default:!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"?(l=Wb(l),Oo(e,l,u)):no.hasOwnProperty(l)&&u!=null&&typeof u!="function"&&Qn(l,u)}}function Zs(e,t,l,u,d,m){switch(l){case"style":Jy(e,u,m);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=u.__html,l!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"children":typeof u=="string"?Pu(e,u):(typeof u=="number"||typeof u=="bigint")&&Pu(e,""+u);break;case"onScroll":u!=null&&(typeof u!="function"&&Qn(l,u),yt("scroll",e));break;case"onScrollEnd":u!=null&&(typeof u!="function"&&Qn(l,u),yt("scrollend",e));break;case"onClick":u!=null&&(typeof u!="function"&&Qn(l,u),e.onclick=_r);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(no.hasOwnProperty(l))u!=null&&typeof u!="function"&&Qn(l,u);else e:{if(l[0]==="o"&&l[1]==="n"&&(d=l.endsWith("Capture"),t=l.slice(2,d?l.length-7:void 0),m=e[Al]||null,m=m!=null?m[l]:null,typeof m=="function"&&e.removeEventListener(t,m,d),typeof u=="function")){typeof m!="function"&&m!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,u,d);break e}l in e?e[l]=u:u===!0?e.setAttribute(l,""):Oo(e,l,u)}}}function Ln(e,t,l){switch(Ol(t,l),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":yt("error",e),yt("load",e);var u=!1,d=!1,m;for(m in l)if(l.hasOwnProperty(m)){var S=l[m];if(S!=null)switch(m){case"src":u=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:rn(e,t,m,S,l,null)}}d&&rn(e,t,"srcSet",l.srcSet,l,null),u&&rn(e,t,"src",l.src,l,null);return;case"input":ga("input",l),yt("invalid",e);var O=m=S=d=null,M=null,z=null;for(u in l)if(l.hasOwnProperty(u)){var P=l[u];if(P!=null)switch(u){case"name":d=P;break;case"type":S=P;break;case"checked":M=P;break;case"defaultChecked":z=P;break;case"value":m=P;break;case"defaultValue":O=P;break;case"children":case"dangerouslySetInnerHTML":if(P!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:rn(e,t,u,P,l,null)}}Xe(e,l),rt(e,m,O,M,z,S,d,!1);return;case"select":ga("select",l),yt("invalid",e),u=S=m=null;for(d in l)if(l.hasOwnProperty(d)&&(O=l[d],O!=null))switch(d){case"value":m=O;break;case"defaultValue":S=O;break;case"multiple":u=O;default:rn(e,t,d,O,l,null)}yn(e,l),t=m,l=S,e.multiple=!!u,t!=null?_t(e,!!u,t,!1):l!=null&&_t(e,!!u,l,!0);return;case"textarea":ga("textarea",l),yt("invalid",e),m=d=u=null;for(S in l)if(l.hasOwnProperty(S)&&(O=l[S],O!=null))switch(S){case"value":u=O;break;case"defaultValue":d=O;break;case"children":m=O;break;case"dangerouslySetInnerHTML":if(O!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:rn(e,t,S,O,l,null)}On(e,l),Jt(e,u,d,m);return;case"option":lt(e,l);for(M in l)if(l.hasOwnProperty(M)&&(u=l[M],u!=null))switch(M){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:rn(e,t,M,u,l,null)}return;case"dialog":yt("beforetoggle",e),yt("toggle",e),yt("cancel",e),yt("close",e);break;case"iframe":case"object":yt("load",e);break;case"video":case"audio":for(u=0;u<D0.length;u++)yt(D0[u],e);break;case"image":yt("error",e),yt("load",e);break;case"details":yt("toggle",e);break;case"embed":case"source":case"link":yt("error",e),yt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in l)if(l.hasOwnProperty(z)&&(u=l[z],u!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:rn(e,t,z,u,l,null)}return;default:if(Ci(t)){for(P in l)l.hasOwnProperty(P)&&(u=l[P],u!==void 0&&Zs(e,t,P,u,l,void 0));return}}for(O in l)l.hasOwnProperty(O)&&(u=l[O],u!=null&&rn(e,t,O,u,l,null))}function Sa(e,t,l,u){switch(Ol(t,u),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,m=null,S=null,O=null,M=null,z=null,P=null;for(pe in l){var te=l[pe];if(l.hasOwnProperty(pe)&&te!=null)switch(pe){case"checked":break;case"value":break;case"defaultValue":M=te;default:u.hasOwnProperty(pe)||rn(e,t,pe,null,u,te)}}for(var Q in u){var pe=u[Q];if(te=l[Q],u.hasOwnProperty(Q)&&(pe!=null||te!=null))switch(Q){case"type":m=pe;break;case"name":d=pe;break;case"checked":z=pe;break;case"defaultChecked":P=pe;break;case"value":S=pe;break;case"defaultValue":O=pe;break;case"children":case"dangerouslySetInnerHTML":if(pe!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:pe!==te&&rn(e,t,Q,pe,u,te)}}t=l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null,u=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,t||!u||q2||(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"),q2=!0),!t||u||V2||(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"),V2=!0),Ze(e,S,O,M,z,P,m,d);return;case"select":pe=S=O=Q=null;for(m in l)if(M=l[m],l.hasOwnProperty(m)&&M!=null)switch(m){case"value":break;case"multiple":pe=M;default:u.hasOwnProperty(m)||rn(e,t,m,null,u,M)}for(d in u)if(m=u[d],M=l[d],u.hasOwnProperty(d)&&(m!=null||M!=null))switch(d){case"value":Q=m;break;case"defaultValue":O=m;break;case"multiple":S=m;default:m!==M&&rn(e,t,d,m,u,M)}u=O,t=S,l=pe,Q!=null?_t(e,!!t,Q,!1):!!l!=!!t&&(u!=null?_t(e,!!t,u,!0):_t(e,!!t,t?[]:"",!1));return;case"textarea":pe=Q=null;for(O in l)if(d=l[O],l.hasOwnProperty(O)&&d!=null&&!u.hasOwnProperty(O))switch(O){case"value":break;case"children":break;default:rn(e,t,O,null,u,d)}for(S in u)if(d=u[S],m=l[S],u.hasOwnProperty(S)&&(d!=null||m!=null))switch(S){case"value":Q=d;break;case"defaultValue":pe=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:d!==m&&rn(e,t,S,d,u,m)}kn(e,Q,pe);return;case"option":for(var ke in l)if(Q=l[ke],l.hasOwnProperty(ke)&&Q!=null&&!u.hasOwnProperty(ke))switch(ke){case"selected":e.selected=!1;break;default:rn(e,t,ke,null,u,Q)}for(M in u)if(Q=u[M],pe=l[M],u.hasOwnProperty(M)&&Q!==pe&&(Q!=null||pe!=null))switch(M){case"selected":e.selected=Q&&typeof Q!="function"&&typeof Q!="symbol";break;default:rn(e,t,M,Q,u,pe)}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 Ie in l)Q=l[Ie],l.hasOwnProperty(Ie)&&Q!=null&&!u.hasOwnProperty(Ie)&&rn(e,t,Ie,null,u,Q);for(z in u)if(Q=u[z],pe=l[z],u.hasOwnProperty(z)&&Q!==pe&&(Q!=null||pe!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:rn(e,t,z,Q,u,pe)}return;default:if(Ci(t)){for(var jn in l)Q=l[jn],l.hasOwnProperty(jn)&&Q!==void 0&&!u.hasOwnProperty(jn)&&Zs(e,t,jn,void 0,u,Q);for(P in u)Q=u[P],pe=l[P],!u.hasOwnProperty(P)||Q===pe||Q===void 0&&pe===void 0||Zs(e,t,P,Q,u,pe);return}}for(var Kt in l)Q=l[Kt],l.hasOwnProperty(Kt)&&Q!=null&&!u.hasOwnProperty(Kt)&&rn(e,t,Kt,null,u,Q);for(te in u)Q=u[te],pe=l[te],!u.hasOwnProperty(te)||Q===pe||Q==null&&pe==null||rn(e,t,te,Q,u,pe)}function Yo(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Mu(e){var t={};e=e.style;for(var l=0;l<e.length;l++){var u=e[l];t[u]=e.getPropertyValue(u)}return t}function Fi(e,t,l){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var u,d=u="",m;for(m in t)if(t.hasOwnProperty(m)){var S=t[m];S!=null&&typeof S!="boolean"&&S!==""&&(m.indexOf("--")===0?(cn(S,m),u+=d+m+":"+(""+S).trim()):typeof S!="number"||S===0||nt.has(m)?(cn(S,m),u+=d+m.replace(be,"-$1").toLowerCase().replace(Pe,"-ms-")+":"+(""+S).trim()):u+=d+m.replace(be,"-$1").toLowerCase().replace(Pe,"-ms-")+":"+S+"px",d=";")}u=u||null,t=e.getAttribute("style"),t!==u&&(u=hi(u),hi(t)!==u&&(l.style=Mu(e)))}}function Yl(e,t,l,u,d,m){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(qt(u,t),e===""+u)return}$n(t,e,u,m)}function im(e,t,l,u,d,m){if(d.delete(l),e=e.getAttribute(l),e===null){switch(typeof u){case"function":case"symbol":return}if(!u)return}else switch(typeof u){case"function":case"symbol":break;default:if(u)return}$n(t,e,u,m)}function om(e,t,l,u,d,m){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof u){case"undefined":case"function":case"symbol":return}else if(u!=null)switch(typeof u){case"function":case"symbol":break;default:if(qt(u,l),e===""+u)return}$n(t,e,u,m)}function Is(e,t,l,u,d,m){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(u))return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(!isNaN(u)&&(qt(u,t),e===""+u))return}$n(t,e,u,m)}function $d(e,t,l,u,d,m){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":return}else if(u!=null)switch(typeof u){case"function":case"symbol":case"boolean":break;default:if(qt(u,t),l=Kf(""+u),e===l)return}$n(t,e,u,m)}function kl(e,t,l,u){for(var d={},m=new Set,S=e.attributes,O=0;O<S.length;O++)switch(S[O].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:m.add(S[O].name)}if(Ci(t)){for(var M in l)if(l.hasOwnProperty(M)){var z=l[M];if(z!=null){if(no.hasOwnProperty(M))typeof z!="function"&&Qn(M,z);else if(l.suppressHydrationWarning!==!0)switch(M){case"children":typeof z!="string"&&typeof z!="number"||$n("children",e.textContent,z,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=e.innerHTML,z=z?z.__html:void 0,z!=null&&(z=rm(e,z),$n(M,S,z,d));continue;case"style":m.delete(M),Fi(e,z,d);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":m.delete(M.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",M);continue;case"className":m.delete("class"),S=Fl(e,"class",z),$n("className",S,z,d);continue;default:u.context===es&&t!=="svg"&&t!=="math"?m.delete(M.toLowerCase()):m.delete(M),S=Fl(e,M,z),$n(M,S,z,d)}}}}else for(z in l)if(l.hasOwnProperty(z)&&(M=l[z],M!=null)){if(no.hasOwnProperty(z))typeof M!="function"&&Qn(z,M);else if(l.suppressHydrationWarning!==!0)switch(z){case"children":typeof M!="string"&&typeof M!="number"||$n("children",e.textContent,M,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=e.innerHTML,M=M?M.__html:void 0,M!=null&&(M=rm(e,M),S!==M&&(d[z]={__html:S}));continue;case"className":Yl(e,z,"class",M,m,d);continue;case"tabIndex":Yl(e,z,"tabindex",M,m,d);continue;case"style":m.delete(z),Fi(e,M,d);continue;case"multiple":m.delete(z),$n(z,e.multiple,M,d);continue;case"muted":m.delete(z),$n(z,e.muted,M,d);continue;case"autoFocus":m.delete("autofocus"),$n(z,e.autofocus,M,d);continue;case"data":if(t!=="object"){m.delete(z),S=e.getAttribute("data"),$n(z,S,M,d);continue}case"src":case"href":if(!(M!==""||t==="a"&&z==="href"||t==="object"&&z==="data")){console.error(z==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',z,z);continue}$d(e,z,z,M,m,d);continue;case"action":case"formAction":if(S=e.getAttribute(z),typeof M=="function"){m.delete(z.toLowerCase()),z==="formAction"?(m.delete("name"),m.delete("formenctype"),m.delete("formmethod"),m.delete("formtarget")):(m.delete("enctype"),m.delete("method"),m.delete("target"));continue}else if(S===rH){m.delete(z.toLowerCase()),$n(z,"function",M,d);continue}$d(e,z,z.toLowerCase(),M,m,d);continue;case"xlinkHref":$d(e,z,"xlink:href",M,m,d);continue;case"contentEditable":om(e,z,"contenteditable",M,m,d);continue;case"spellCheck":om(e,z,"spellcheck",M,m,d);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":om(e,z,z,M,m,d);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":im(e,z,z.toLowerCase(),M,m,d);continue;case"capture":case"download":e:{O=e;var P=S=z,te=d;if(m.delete(P),O=O.getAttribute(P),O===null)switch(typeof M){case"undefined":case"function":case"symbol":break e;default:if(M===!1)break e}else if(M!=null)switch(typeof M){case"function":case"symbol":break;case"boolean":if(M===!0&&O==="")break e;break;default:if(qt(M,S),O===""+M)break e}$n(S,O,M,te)}continue;case"cols":case"rows":case"size":case"span":e:{if(O=e,P=S=z,te=d,m.delete(P),O=O.getAttribute(P),O===null)switch(typeof M){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(M)||1>M)break e}else if(M!=null)switch(typeof M){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(M)||1>M)&&(qt(M,S),O===""+M))break e}$n(S,O,M,te)}continue;case"rowSpan":Is(e,z,"rowspan",M,m,d);continue;case"start":Is(e,z,z,M,m,d);continue;case"xHeight":Yl(e,z,"x-height",M,m,d);continue;case"xlinkActuate":Yl(e,z,"xlink:actuate",M,m,d);continue;case"xlinkArcrole":Yl(e,z,"xlink:arcrole",M,m,d);continue;case"xlinkRole":Yl(e,z,"xlink:role",M,m,d);continue;case"xlinkShow":Yl(e,z,"xlink:show",M,m,d);continue;case"xlinkTitle":Yl(e,z,"xlink:title",M,m,d);continue;case"xlinkType":Yl(e,z,"xlink:type",M,m,d);continue;case"xmlBase":Yl(e,z,"xml:base",M,m,d);continue;case"xmlLang":Yl(e,z,"xml:lang",M,m,d);continue;case"xmlSpace":Yl(e,z,"xml:space",M,m,d);continue;case"inert":M!==""||c1[z]||(c1[z]=!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.",z)),im(e,z,z,M,m,d);continue;default:if(!(2<z.length)||z[0]!=="o"&&z[0]!=="O"||z[1]!=="n"&&z[1]!=="N"){O=Wb(z),S=!1,u.context===es&&t!=="svg"&&t!=="math"?m.delete(O.toLowerCase()):(P=z.toLowerCase(),P=gi.hasOwnProperty(P)&&gi[P]||null,P!==null&&P!==z&&(S=!0,m.delete(P)),m.delete(O));e:if(P=e,te=O,O=M,$a(te))if(P.hasAttribute(te))P=P.getAttribute(te),qt(O,te),O=P===""+O?O:P;else{switch(typeof O){case"function":case"symbol":break e;case"boolean":if(P=te.toLowerCase().slice(0,5),P!=="data-"&&P!=="aria-")break e}O=O===void 0?void 0:null}else O=void 0;S||$n(z,O,M,d)}}}return 0<m.size&&l.suppressHydrationWarning!==!0&&Gd(e,m,d),Object.keys(d).length===0?null:d}function HE(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function xl(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function VE(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),u=0;u<l.length;u++){var d=l[u],m=d.transferSize,S=d.initiatorType,O=d.duration;if(m&&O&&xl(S)){for(S=0,O=d.responseEnd,u+=1;u<l.length;u++){var M=l[u],z=M.startTime;if(z>O)break;var P=M.transferSize,te=M.initiatorType;P&&xl(te)&&(M=M.responseEnd,S+=P*(M<O?1:(O-z)/(M-z)))}if(--u,t+=8*(m+S)/(d.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}function Qd(e){return e.nodeType===9?e:e.ownerDocument}function qE(e){switch(e){case jt:return oy;case Ot:return f1;default:return es}}function ko(e,t){if(e===es)switch(t){case"svg":return oy;case"math":return f1;default:return es}return e===oy&&t==="foreignObject"?es:e}function Js(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function yv(){var e=window.event;return e&&e.type==="popstate"?e===ox?!1:(ox=e,!0):(ox=null,!1)}function Ki(){var e=window.event;return e&&e!==N0?e.type:null}function Fs(){var e=window.event;return e&&e!==N0?e.timeStamp:-1.1}function YE(e){setTimeout(function(){throw e})}function kE(e,t,l){switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&e.focus();break;case"img":l.src?e.src=l.src:l.srcSet&&(e.srcset=l.srcSet)}}function GE(){}function um(e,t,l,u){Sa(e,t,l,u),e[Al]=u}function cm(e){Pu(e,"")}function F_(e,t,l){e.nodeValue=l}function $E(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Al]||null;if(t!==null){var l=Be(e);l!==null&&(typeof t.children=="string"||typeof t.children=="number"?(e.__reactWarnedAboutChildrenConflict=!0,Le(l,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,Le(l,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 Nu(e){return e==="head"}function QE(e,t){e.removeChild(t)}function XE(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function Mc(e,t){var l=t,u=0;do{var d=l.nextSibling;if(e.removeChild(l),d&&d.nodeType===8)if(l=d.data,l===M0||l===s1){if(u===0){e.removeChild(d),Uc(t);return}u--}else if(l===w0||l===zf||l===Ch||l===iy||l===Ah)u++;else if(l===oH)$o(e.ownerDocument.documentElement);else if(l===cH){l=e.ownerDocument.head,$o(l);for(var m=l.firstChild;m;){var S=m.nextSibling,O=m.nodeName;m[hf]||O==="SCRIPT"||O==="STYLE"||O==="LINK"&&m.rel.toLowerCase()==="stylesheet"||l.removeChild(m),m=S}}else l===uH&&$o(e.ownerDocument.body);l=d}while(l);Uc(t)}function Xd(e,t){var l=e;e=0;do{var u=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),u&&u.nodeType===8)if(l=u.data,l===M0){if(e===0)break;e--}else l!==w0&&l!==zf&&l!==Ch&&l!==iy||e++;l=u}while(l)}function ZE(e){Xd(e,!0)}function IE(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function JE(e){e.nodeValue=""}function FE(e){Xd(e,!1)}function KE(e,t){t=t[sH],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function WE(e,t){e.nodeValue=t}function Ks(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Ks(l),ie(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function PE(e,t,l,u){for(;e.nodeType===1;){var d=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[hf])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(m=e.getAttribute("rel"),m==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(m!==d.rel||e.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||e.getAttribute("title")!==(d.title==null?null:d.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(m=e.getAttribute("src"),(m!==(d.src==null?null:d.src)||e.getAttribute("type")!==(d.type==null?null:d.type)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&m&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){qt(d.name,"name");var m=d.name==null?null:""+d.name;if(d.type==="hidden"&&e.getAttribute("name")===m)return e}else return e;if(e=fr(e.nextSibling),e===null)break}return null}function eS(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=fr(e.nextSibling),e===null))return null;return e}function hn(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=fr(e.nextSibling),e===null))return null;return e}function Zd(e){return e.data===zf||e.data===Ch}function gv(e){return e.data===iy||e.data===zf&&e.ownerDocument.readyState!==$2}function tS(e,t){var l=e.ownerDocument;if(e.data===Ch)e._reactRetry=t;else if(e.data!==zf||l.readyState!==$2)t();else{var u=function(){t(),l.removeEventListener("DOMContentLoaded",u)};l.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function fr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===w0||t===iy||t===zf||t===Ch||t===Ah||t===lx||t===G2)break;if(t===M0||t===s1)return null}}return e}function nS(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),l={},u=e.attributes,d=0;d<u.length;d++){var m=u[d];l[Yo(m.name)]=m.name.toLowerCase()==="style"?Mu(e):m.value}return{type:t,props:l}}return e.nodeType===8?e.data===Ah?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:e.nodeValue}function aS(e,t,l){return l===null||l[iH]!==!0?(e.nodeValue===t?e=null:(t=hi(t),e=hi(e.nodeValue)===t?null:e.nodeValue),e):null}function Ws(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===M0||l===s1){if(t===0)return fr(e.nextSibling);t--}else l!==w0&&l!==iy&&l!==zf&&l!==Ch&&l!==Ah||t++}e=e.nextSibling}return null}function Nc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===w0||l===iy||l===zf||l===Ch||l===Ah){if(t===0)return e;t--}else l!==M0&&l!==s1||t++}e=e.previousSibling}return null}function vv(e){Uc(e)}function sm(e){Uc(e)}function bv(e){Uc(e)}function Go(e,t,l,u,d){switch(d&&Jf(e,u.ancestorInfo),t=Qd(l),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Wi(e,t,l,u){if(!l[Xo]&&Be(l)){var d=l.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.",d,d,d)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(d=l.attributes;d.length;)l.removeAttributeNode(d[0]);Ln(l,e,t),l[Bn]=u,l[Al]=t}function $o(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ie(e)}function fm(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Ev(e,t,l){var u=uy;if(u&&typeof t=="string"&&t){var d=qe(t);d='link[rel="'+e+'"][href="'+d+'"]',typeof l=="string"&&(d+='[crossorigin="'+l+'"]'),F2.has(d)||(F2.add(d),e={rel:e,crossOrigin:l,href:t},u.querySelector(d)===null&&(t=u.createElement("link"),Ln(t,"link",e),tt(t),u.head.appendChild(t)))}}function Sv(e,t,l,u){var d=(d=dr.current)?fm(d):null;if(!d)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=jc(l.href),t=ct(d).hoistableStyles,u=t.get(l),u||(u={type:"style",instance:null,count:0,state:null},t.set(l,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=jc(l.href);var m=ct(d).hoistableStyles,S=m.get(e);if(!S&&(d=d.ownerDocument||d,S={type:"stylesheet",instance:null,count:0,state:{loading:wh,preload:null}},m.set(e,S),(m=d.querySelector(Jd(e)))&&!m._p&&(S.instance=m,S.state.loading=j0|po),!mo.has(e))){var O={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy};mo.set(e,O),m||lS(d,e,O,S.state)}if(t&&u===null)throw l=`
270
+
271
+ - `+Id(t)+`
272
+ + `+Id(l),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."+l);return S}if(t&&u!==null)throw l=`
273
+
274
+ - `+Id(t)+`
275
+ + `+Id(l),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."+l);return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(l=zc(l),t=ct(d).hoistableScripts,u=t.get(l),u||(u={type:"script",instance:null,count:0,state:null},t.set(l,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Id(e){var t=0,l="<link";return typeof e.rel=="string"?(t++,l+=' rel="'+e.rel+'"'):hr.call(e,"rel")&&(t++,l+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,l+=' href="'+e.href+'"'):hr.call(e,"href")&&(t++,l+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,l+=' precedence="'+e.precedence+'"'):hr.call(e,"precedence")&&(t++,l+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(l+=" ..."),l+" />"}function jc(e){return'href="'+qe(e)+'"'}function Jd(e){return'link[rel="stylesheet"]['+e+"]"}function dm(e){return Lt({},e,{"data-precedence":e.precedence,precedence:null})}function lS(e,t,l,u){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?u.loading=j0:(t=e.createElement("link"),u.preload=t,t.addEventListener("load",function(){return u.loading|=j0}),t.addEventListener("error",function(){return u.loading|=I2}),Ln(t,"link",l),tt(t),e.head.appendChild(t))}function zc(e){return'[src="'+qe(e)+'"]'}function Fd(e){return"script[async]"+e}function hm(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var u=e.querySelector('style[data-href~="'+qe(l.href)+'"]');if(u)return t.instance=u,tt(u),u;var d=Lt({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),tt(u),Ln(u,"style",d),Ps(u,l.precedence,e),t.instance=u;case"stylesheet":d=jc(l.href);var m=e.querySelector(Jd(d));if(m)return t.state.loading|=po,t.instance=m,tt(m),m;u=dm(l),(d=mo.get(d))&&Tv(u,d),m=(e.ownerDocument||e).createElement("link"),tt(m);var S=m;return S._p=new Promise(function(O,M){S.onload=O,S.onerror=M}),Ln(m,"link",u),t.state.loading|=po,Ps(m,l.precedence,e),t.instance=m;case"script":return m=zc(l.src),(d=e.querySelector(Fd(m)))?(t.instance=d,tt(d),d):(u=l,(d=mo.get(m))&&(u=Lt({},l),_v(u,d)),e=e.ownerDocument||e,d=e.createElement("script"),tt(d),Ln(d,"link",u),e.head.appendChild(d),t.instance=d);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&po)===wh&&(u=t.instance,t.state.loading|=po,Ps(u,l.precedence,e));return t.instance}function Ps(e,t,l){for(var u=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=u.length?u[u.length-1]:null,m=d,S=0;S<u.length;S++){var O=u[S];if(O.dataset.precedence===t)m=O;else if(m!==d)break}m?m.parentNode.insertBefore(e,m.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Tv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function _v(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function ef(e,t,l){if(d1===null){var u=new Map,d=d1=new Map;d.set(l,u)}else d=d1,u=d.get(l),u||(u=new Map,d.set(l,u));if(u.has(e))return u;for(u.set(e,null),l=l.getElementsByTagName(e),d=0;d<l.length;d++){var m=l[d];if(!(m[hf]||m[Bn]||e==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!==jt){var S=m.getAttribute(t)||"";S=e+S;var O=u.get(S);O?O.push(m):u.set(S,[m])}}return u}function rS(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function iS(e,t,l){var u=!l.ancestorInfo.containerTagInScope;if(l.context===oy||t.itemProp!=null)return!u||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){u&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var d=t.onError,m=t.disabled;l=[],t.onLoad&&l.push("`onLoad`"),d&&l.push("`onError`"),m!=null&&l.push("`disabled`"),d=HE(l,"and"),d+=l.length===1?" prop":" props",m=l.length===1?"an "+d:"the "+d,l.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,m,d)}u&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&u&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){u&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":u&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function $t(e){return!(e.type==="stylesheet"&&(e.state.loading&J2)===wh)}function Ov(e,t,l,u){if(l.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(l.state.loading&po)===wh){if(l.instance===null){var d=jc(u.href),m=t.querySelector(Jd(d));if(m){t=m._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=tf.bind(e),t.then(e,e)),l.state.loading|=po,l.instance=m,tt(m);return}m=t.ownerDocument||t,u=dm(u),(d=mo.get(d))&&Tv(u,d),m=m.createElement("link"),tt(m);var S=m;S._p=new Promise(function(O,M){S.onload=O,S.onerror=M}),Ln(m,"link",u),l.instance=m}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&J2)===wh&&(e.count++,l=tf.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}function pm(e,t){return e.stylesheets&&e.count===0&&Kd(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var u=setTimeout(function(){if(e.stylesheets&&Kd(e,e.stylesheets),e.unsuspend){var m=e.unsuspend;e.unsuspend=null,m()}},hH+t);0<e.imgBytes&&cx===0&&(cx=125*VE()*mH);var d=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Kd(e,e.stylesheets),e.unsuspend)){var m=e.unsuspend;e.unsuspend=null,m()}},(e.imgBytes>cx?50:pH)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(u),clearTimeout(d)}}:null}function tf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Kd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Kd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,h1=new Map,t.forEach(xv,e),h1=null,tf.call(e))}function xv(e,t){if(!(t.state.loading&po)){var l=h1.get(e);if(l)var u=l.get(sx);else{l=new Map,h1.set(e,l);for(var d=e.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<d.length;m++){var S=d[m];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(l.set(S.dataset.precedence,S),u=S)}u&&l.set(sx,u)}d=t.instance,S=d.getAttribute("data-precedence"),m=l.get(S)||u,m===u&&l.set(sx,d),l.set(S,d),this.count++,u=tf.bind(this),d.addEventListener("load",u),d.addEventListener("error",u),m?m.parentNode.insertBefore(d,m.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(d,e.firstChild)),t.state.loading|=po}}function Wd(e,t,l,u,d,m,S,O,M){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Dh,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Wa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wa(0),this.hiddenUpdates=Wa(null),this.identifierPrefix=u,this.onUncaughtError=d,this.onCaughtError=m,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=l?"hydrateRoot()":"createRoot()"}function Pd(e,t,l,u,d,m,S,O,M,z,P,te){return e=new Wd(e,t,l,S,M,z,P,te,O),t=V8,m===!0&&(t|=Ql|Zo),t|=Bt,m=A(3,null,null,t),e.current=m,m.stateNode=e,t=hp(),cc(t),e.pooledCache=t,cc(t),m.memoizedState={element:u,isDehydrated:l,cache:t},Qt(m),e}function oS(e){return e?(e=bf,e):bf}function mm(e,t,l,u,d,m){if(Ta&&typeof Ta.onScheduleFiberRoot=="function")try{Ta.onScheduleFiberRoot(Vc,u,l)}catch(S){eo||(eo=!0,console.error("React instrumentation encountered an error: %o",S))}d=oS(d),u.context===null?u.context=d:u.pendingContext=d,Pi&&$l!==null&&!eM&&(eM=!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.
276
+
277
+ Check the render method of %s.`,me($l)||"Unknown")),u=ba(t),u.payload={element:l},m=m===void 0?null:m,m!==null&&(typeof m!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",m),u.callback=m),l=Ui(e,u,t),l!==null&&(Ni(t,"root.render()",null),vt(l,e,t),wr(l,e,t))}function uS(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Rv(e,t){uS(e,t),(e=e.alternate)&&uS(e,t)}function Av(e){if(e.tag===13||e.tag===31){var t=nl(e,67108864);t!==null&&vt(t,e,67108864),Rv(e,67108864)}}function Cv(e){if(e.tag===13||e.tag===31){var t=ll(e);t=el(t);var l=nl(e,t);l!==null&&vt(l,e,t),Rv(e,t)}}function bn(){return $l}function Dv(e,t,l,u){var d=ve.T;ve.T=null;var m=on.p;try{on.p=_a,wv(e,t,l,u)}finally{on.p=m,ve.T=d}}function Za(e,t,l,u){var d=ve.T;ve.T=null;var m=on.p;try{on.p=Ja,wv(e,t,l,u)}finally{on.p=m,ve.T=d}}function wv(e,t,l,u){if(m1){var d=ym(u);if(d===null)fi(e,t,u,y1,l),vm(e,u);else if(cS(d,e,t,l,u))u.stopPropagation();else if(vm(e,u),t&4&&-1<gH.indexOf(e)){for(;d!==null;){var m=Be(d);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var S=jl(m.pendingLanes);if(S!==0){var O=m;for(O.pendingLanes|=2,O.entangledLanes|=2;S;){var M=1<<31-Ia(S);O.entanglements[1]|=M,S&=~M}ql(m),(en&(Ka|Si))===cl&&(WS=Ua()+C2,Ii(0))}}break;case 31:case 13:O=nl(m,2),O!==null&&vt(O,m,2),sr(),Rv(m,2)}if(m=ym(u),m===null&&fi(e,t,u,y1,l),m===d)break;d=m}d!==null&&u.stopPropagation()}else fi(e,t,u,null,l)}}function ym(e){return e=Jr(e),Mv(e)}function Mv(e){if(y1=null,e=we(e),e!==null){var t=q(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=I(t),e!==null)return e;e=null}else if(l===31){if(e=F(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return y1=e,null}function gm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return _a;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 Ja;case"message":switch(rh()){case Yv:return _a;case Am:return Ja;case Hc:case mS:return il;case Cm:return Bu;default:return il}default:return il}}function vm(e,t){switch(e){case"focusin":case"focusout":Uf=null;break;case"dragenter":case"dragleave":Lf=null;break;case"mouseover":case"mouseout":Bf=null;break;case"pointerover":case"pointerout":U0.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":L0.delete(t.pointerId)}}function ju(e,t,l,u,d,m){return e===null||e.nativeEvent!==m?(e={blockedOn:t,domEventName:l,eventSystemFlags:u,nativeEvent:m,targetContainers:[d]},t!==null&&(t=Be(t),t!==null&&Av(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,d!==null&&t.indexOf(d)===-1&&t.push(d),e)}function cS(e,t,l,u,d){switch(t){case"focusin":return Uf=ju(Uf,e,t,l,u,d),!0;case"dragenter":return Lf=ju(Lf,e,t,l,u,d),!0;case"mouseover":return Bf=ju(Bf,e,t,l,u,d),!0;case"pointerover":var m=d.pointerId;return U0.set(m,ju(U0.get(m)||null,e,t,l,u,d)),!0;case"gotpointercapture":return m=d.pointerId,L0.set(m,ju(L0.get(m)||null,e,t,l,u,d)),!0}return!1}function Nv(e){var t=we(e.target);if(t!==null){var l=q(t);if(l!==null){if(t=l.tag,t===13){if(t=I(l),t!==null){e.blockedOn=t,U(e.priority,function(){Cv(l)});return}}else if(t===31){if(t=F(l),t!==null){e.blockedOn=t,U(e.priority,function(){Cv(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function nf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=ym(e.nativeEvent);if(l===null){l=e.nativeEvent;var u=new l.constructor(l.type,l),d=u;Xv!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Xv=d,l.target.dispatchEvent(u),Xv===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."),Xv=null}else return t=Be(l),t!==null&&Av(t),e.blockedOn=l,!1;t.shift()}return!0}function bm(e,t,l){nf(e)&&l.delete(t)}function K_(){fx=!1,Uf!==null&&nf(Uf)&&(Uf=null),Lf!==null&&nf(Lf)&&(Lf=null),Bf!==null&&nf(Bf)&&(Bf=null),U0.forEach(bm),L0.forEach(bm)}function eh(e,t){e.blockedOn===t&&(e.blockedOn=null,fx||(fx=!0,ia.unstable_scheduleCallback(ia.unstable_NormalPriority,K_)))}function sS(e){g1!==e&&(g1=e,ia.unstable_scheduleCallback(ia.unstable_NormalPriority,function(){g1===e&&(g1=null);for(var t=0;t<e.length;t+=3){var l=e[t],u=e[t+1],d=e[t+2];if(typeof u!="function"){if(Mv(u||l)===null)continue;break}var m=Be(l);m!==null&&(e.splice(t,3),t-=3,l={pending:!0,data:d,method:l.method,action:u},Object.freeze(l),Lo(m,l,u,d))}}))}function Uc(e){function t(M){return eh(M,e)}Uf!==null&&eh(Uf,e),Lf!==null&&eh(Lf,e),Bf!==null&&eh(Bf,e),U0.forEach(t),L0.forEach(t);for(var l=0;l<Hf.length;l++){var u=Hf[l];u.blockedOn===e&&(u.blockedOn=null)}for(;0<Hf.length&&(l=Hf[0],l.blockedOn===null);)Nv(l),l.blockedOn===null&&Hf.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(u=0;u<l.length;u+=3){var d=l[u],m=l[u+1],S=d[Al]||null;if(typeof m=="function")S||sS(l);else if(S){var O=null;if(m&&m.hasAttribute("formAction")){if(d=m,S=m[Al]||null)O=S.formAction;else if(Mv(d)!==null)continue}else O=S.action;typeof O=="function"?l[u+1]=O:(l.splice(u,3),u-=3),sS(l)}}}function fS(){function e(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(S){return d=S})},focusReset:"manual",scroll:"manual"})}function t(){d!==null&&(d(),d=null),u||setTimeout(l,20)}function l(){if(!u&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,d=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){u=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),d!==null&&(d(),d=null)}}}function jv(e){this._internalRoot=e}function pi(e){this._internalRoot=e}function zv(e){e[Xo]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ia=Sx(),th=as(),W_=S1(),Lt=Object.assign,dS=Symbol.for("react.element"),zr=Symbol.for("react.transitional.element"),zu=Symbol.for("react.portal"),af=Symbol.for("react.fragment"),Rl=Symbol.for("react.strict_mode"),nh=Symbol.for("react.profiler"),Em=Symbol.for("react.consumer"),mi=Symbol.for("react.context"),lf=Symbol.for("react.forward_ref"),Lc=Symbol.for("react.suspense"),Gl=Symbol.for("react.suspense_list"),ah=Symbol.for("react.memo"),rl=Symbol.for("react.lazy"),yi=Symbol.for("react.activity"),P_=Symbol.for("react.memo_cache_sentinel"),hS=Symbol.iterator,rf=Symbol.for("react.client.reference"),da=Array.isArray,ve=th.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,on=W_.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,eO=Object.freeze({pending:!1,data:null,method:null,action:null}),Uv=[],Lv=[],Qo=-1,Uu=Ne(null),of=Ne(null),dr=Ne(null),Lu=Ne(null),uf=0,pS,Bc,cf,Bv,lh,Sm,Tm;se.__reactDisabledLog=!0;var sf,Hv,_m=!1,Vv=new(typeof WeakMap=="function"?WeakMap:Map),$l=null,Pi=!1,hr=Object.prototype.hasOwnProperty,qv=ia.unstable_scheduleCallback,Om=ia.unstable_cancelCallback,xm=ia.unstable_shouldYield,Rm=ia.unstable_requestPaint,Ua=ia.unstable_now,rh=ia.unstable_getCurrentPriorityLevel,Yv=ia.unstable_ImmediatePriority,Am=ia.unstable_UserBlockingPriority,Hc=ia.unstable_NormalPriority,mS=ia.unstable_LowPriority,Cm=ia.unstable_IdlePriority,kv=ia.log,yS=ia.unstable_setDisableYieldValue,Vc=null,Ta=null,eo=!1,to=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ia=Math.clz32?Math.clz32:Er,Gv=Math.log,Dm=Math.LN2,ff=256,ih=262144,df=4194304,_a=2,Ja=8,il=32,Bu=268435456,Ur=Math.random().toString(36).slice(2),Bn="__reactFiber$"+Ur,Al="__reactProps$"+Ur,Xo="__reactContainer$"+Ur,qc="__reactEvents$"+Ur,tO="__reactListeners$"+Ur,gS="__reactHandles$"+Ur,oh="__reactResources$"+Ur,hf="__reactMarker$"+Ur,vS=new Set,no={},pf={},bS={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},mf=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]*$"),$v={},wm={},Mm=/[\n"\\]/g,Qv=!1,ES=!1,uh=!1,n=!1,r=!1,o=!1,f=["value","defaultValue"],g=!1,b=/["'&<>\n\t]|^\s|\s$/,C="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(" "),B="applet caption html table td th marquee object template foreignObject desc title".split(" "),Z=B.concat(["button"]),de="dd dt li option optgroup p rp rt".split(" "),Te={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Re={},he={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"]},be=/([A-Z])/g,Pe=/^ms-/,ht=/^(?:webkit|moz|o)[A-Z]/,En=/^-ms-/,oe=/-(.)/g,ee=/;\s*$/,fe={},Oe={},it=!1,Pt=!1,nt=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(" ")),Ot="http://www.w3.org/1998/Math/MathML",jt="http://www.w3.org/2000/svg",an=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"]]),gi={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"},SS={"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},Nm={},KB=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]*$"),WB=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]*$"),nw=!1,pr={},aw=/^on./,PB=/^on[^A-Z]/,e8=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]*$"),t8=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]*$"),n8=/^[\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,Xv=null,jm=null,zm=null,nO=!1,Hu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),aO=!1;if(Hu)try{var Zv={};Object.defineProperty(Zv,"passive",{get:function(){aO=!0}}),window.addEventListener("test",Zv,Zv),window.removeEventListener("test",Zv,Zv)}catch{aO=!1}var yf=null,lO=null,TS=null,ch={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_S=Ca(ch),Iv=Lt({},ch,{view:0,detail:0}),a8=Ca(Iv),rO,iO,Jv,OS=Lt({},Iv,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Jv&&(Jv&&e.type==="mousemove"?(rO=e.screenX-Jv.screenX,iO=e.screenY-Jv.screenY):iO=rO=0,Jv=e),rO)},movementY:function(e){return"movementY"in e?e.movementY:iO}}),lw=Ca(OS),l8=Lt({},OS,{dataTransfer:0}),r8=Ca(l8),i8=Lt({},Iv,{relatedTarget:0}),oO=Ca(i8),o8=Lt({},ch,{animationName:0,elapsedTime:0,pseudoElement:0}),u8=Ca(o8),c8=Lt({},ch,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),s8=Ca(c8),f8=Lt({},ch,{data:0}),rw=Ca(f8),d8=rw,h8={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},p8={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"},m8={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},y8=Lt({},Iv,{key:function(e){if(e.key){var t=h8[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Wf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?p8[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pf,charCode:function(e){return e.type==="keypress"?Wf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Wf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),g8=Ca(y8),v8=Lt({},OS,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),iw=Ca(v8),b8=Lt({},Iv,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pf}),E8=Ca(b8),S8=Lt({},ch,{propertyName:0,elapsedTime:0,pseudoElement:0}),T8=Ca(S8),_8=Lt({},OS,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),O8=Ca(_8),x8=Lt({},ch,{newState:0,oldState:0}),R8=Ca(x8),A8=[9,13,27,32],ow=229,uO=Hu&&"CompositionEvent"in window,Fv=null;Hu&&"documentMode"in document&&(Fv=document.documentMode);var C8=Hu&&"TextEvent"in window&&!Fv,uw=Hu&&(!uO||Fv&&8<Fv&&11>=Fv),cw=32,sw=String.fromCharCode(cw),fw=!1,Um=!1,D8={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},Kv=null,Wv=null,dw=!1;Hu&&(dw=np("input")&&(!document.documentMode||9<document.documentMode));var mr=typeof Object.is=="function"?Object.is:ap,w8=Hu&&"documentMode"in document&&11>=document.documentMode,Lm=null,cO=null,Pv=null,sO=!1,Bm={animationend:tc("Animation","AnimationEnd"),animationiteration:tc("Animation","AnimationIteration"),animationstart:tc("Animation","AnimationStart"),transitionrun:tc("Transition","TransitionRun"),transitionstart:tc("Transition","TransitionStart"),transitioncancel:tc("Transition","TransitionCancel"),transitionend:tc("Transition","TransitionEnd")},fO={},hw={};Hu&&(hw=document.createElement("div").style,"AnimationEvent"in window||(delete Bm.animationend.animation,delete Bm.animationiteration.animation,delete Bm.animationstart.animation),"TransitionEvent"in window||delete Bm.transitionend.transition);var pw=nc("animationend"),mw=nc("animationiteration"),yw=nc("animationstart"),M8=nc("transitionrun"),N8=nc("transitionstart"),j8=nc("transitioncancel"),gw=nc("transitionend"),vw=new Map,dO="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(" ");dO.push("scrollEnd");var bw=0;if(typeof performance=="object"&&typeof performance.now=="function")var z8=performance,Ew=function(){return z8.now()};else{var U8=Date;Ew=function(){return U8.now()}}var hO=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},L8="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.",xS=0,pO=1,mO=2,yO=3,RS="– ",AS="+ ",Sw="  ",Hn=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",ao="Components ⚛",Ft="Scheduler ⚛",Wt="Blocking",gf=!1,Yc={color:"primary",properties:null,tooltipText:"",track:ao},vf={start:-0,end:-0,detail:{devtools:Yc}},B8=["Changed Props",""],Tw="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",H8=["Changed Props",Tw],e0=1,kc=2,lo=[],Hm=0,gO=0,bf={};Object.freeze(bf);var ro=null,Vm=null,gt=0,V8=1,Bt=2,Ql=8,Zo=16,q8=32,_w=!1;try{var Ow=Object.preventExtensions({})}catch{_w=!0}var vO=new WeakMap,qm=[],Ym=0,CS=null,t0=0,io=[],oo=0,sh=null,Gc=1,$c="",Cl=null,Vn=null,It=!1,Vu=!1,vi=null,Ef=null,uo=!1,bO=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."),EO=Ne(null),SO=Ne(null),xw={},DS=null,km=null,Gm=!1,Y8=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,u){e.push(u)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},k8=ia.unstable_scheduleCallback,G8=ia.unstable_NormalPriority,La={$$typeof:mi,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ba=ia.unstable_now,wS=console.createTask?console.createTask:function(){return null},n0=1,MS=2,ol=-0,Sf=-0,Qc=-0,Xc=null,yr=-1.1,fh=-0,Fn=-0,st=-1.1,pt=-1.1,Xn=null,oa=!1,dh=-0,qu=-1.1,a0=null,Tf=0,TO=null,_O=null,hh=-1.1,l0=null,$m=-1.1,NS=-1.1,Zc=-0,Ic=-1.1,co=-1.1,OO=0,r0=null,Rw=null,Aw=null,_f=-1.1,ph=null,Of=-1.1,jS=-1.1,Cw=-0,Dw=-0,zS=0,$8=null,ww=0,i0=-1.1,US=!1,LS=!1,o0=null,xO=0,mh=0,Qm=null,Mw=ve.S;ve.S=function(e,t){if(R2=Ua(),typeof t=="object"&&t!==null&&typeof t.then=="function"){if(0>Ic&&0>co){Ic=Ba();var l=Fs(),u=Ki();(l!==Of||u!==ph)&&(Of=-1.1),_f=l,ph=u}Do(e,t)}Mw!==null&&Mw(e,t)};var yh=Ne(null),Io={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},u0=[],c0=[],s0=[],f0=[],d0=[],h0=[],gh=new Set;Io.recordUnsafeLifecycleWarnings=function(e,t){gh.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&u0.push(e),e.mode&Ql&&typeof t.UNSAFE_componentWillMount=="function"&&c0.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&s0.push(e),e.mode&Ql&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&f0.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&d0.push(e),e.mode&Ql&&typeof t.UNSAFE_componentWillUpdate=="function"&&h0.push(e))},Io.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<u0.length&&(u0.forEach(function(O){e.add(me(O)||"Component"),gh.add(O.type)}),u0=[]);var t=new Set;0<c0.length&&(c0.forEach(function(O){t.add(me(O)||"Component"),gh.add(O.type)}),c0=[]);var l=new Set;0<s0.length&&(s0.forEach(function(O){l.add(me(O)||"Component"),gh.add(O.type)}),s0=[]);var u=new Set;0<f0.length&&(f0.forEach(function(O){u.add(me(O)||"Component"),gh.add(O.type)}),f0=[]);var d=new Set;0<d0.length&&(d0.forEach(function(O){d.add(me(O)||"Component"),gh.add(O.type)}),d0=[]);var m=new Set;if(0<h0.length&&(h0.forEach(function(O){m.add(me(O)||"Component"),gh.add(O.type)}),h0=[]),0<t.size){var S=x(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
278
+
279
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
280
+
281
+ Please update the following components: %s`,S)}0<u.size&&(S=x(u),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.
282
+
283
+ * Move data fetching code or side effects to componentDidUpdate.
284
+ * 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
285
+
286
+ Please update the following components: %s`,S)),0<m.size&&(S=x(m),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.
287
+
288
+ * Move data fetching code or side effects to componentDidUpdate.
289
+
290
+ Please update the following components: %s`,S)),0<e.size&&(S=x(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
291
+
292
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
293
+ * 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.
294
+
295
+ Please update the following components: %s`,S)),0<l.size&&(S=x(l),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
296
+
297
+ * Move data fetching code or side effects to componentDidUpdate.
298
+ * 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
299
+ * 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.
300
+
301
+ Please update the following components: %s`,S)),0<d.size&&(S=x(d),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
302
+
303
+ * Move data fetching code or side effects to componentDidUpdate.
304
+ * 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.
305
+
306
+ Please update the following components: %s`,S))};var BS=new Map,Nw=new Set;Io.recordLegacyContextWarning=function(e,t){for(var l=null,u=e;u!==null;)u.mode&Ql&&(l=u),u=u.return;l===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."):!Nw.has(e.type)&&(u=BS.get(l),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(u===void 0&&(u=[],BS.set(l,u)),u.push(e))},Io.flushLegacyContextWarning=function(){BS.forEach(function(e){if(e.length!==0){var t=e[0],l=new Set;e.forEach(function(d){l.add(me(d)||"Component"),Nw.add(d.type)});var u=x(l);Le(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
307
+
308
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
309
+
310
+ Please update the following components: %s
311
+
312
+ Learn more about this warning here: https://react.dev/link/legacy-context`,u)})}})},Io.discardPendingWarnings=function(){u0=[],c0=[],s0=[],f0=[],d0=[],h0=[],BS=new Map};var jw={react_stack_bottom_frame:function(e,t,l){var u=Pi;Pi=!0;try{return e(t,l)}finally{Pi=u}}},RO=jw.react_stack_bottom_frame.bind(jw),zw={react_stack_bottom_frame:function(e){var t=Pi;Pi=!0;try{return e.render()}finally{Pi=t}}},Uw=zw.react_stack_bottom_frame.bind(zw),Lw={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(l){Nt(e,e.return,l)}}},AO=Lw.react_stack_bottom_frame.bind(Lw),Bw={react_stack_bottom_frame:function(e,t,l,u,d){try{t.componentDidUpdate(l,u,d)}catch(m){Nt(e,e.return,m)}}},Hw=Bw.react_stack_bottom_frame.bind(Bw),Vw={react_stack_bottom_frame:function(e,t){var l=t.stack;e.componentDidCatch(t.value,{componentStack:l!==null?l:""})}},Q8=Vw.react_stack_bottom_frame.bind(Vw),qw={react_stack_bottom_frame:function(e,t,l){try{l.componentWillUnmount()}catch(u){Nt(e,t,u)}}},Yw=qw.react_stack_bottom_frame.bind(qw),kw={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},X8=kw.react_stack_bottom_frame.bind(kw),Gw={react_stack_bottom_frame:function(e,t,l){try{l()}catch(u){Nt(e,t,u)}}},Z8=Gw.react_stack_bottom_frame.bind(Gw),$w={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},I8=$w.react_stack_bottom_frame.bind($w),Xm=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`."),CO=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."),HS=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."),VS={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.')}},vh=null,p0=!1,Zm=null,m0=0,Ht=null,DO,Qw=DO=!1,Xw={},Zw={},Iw={};R=function(e,t,l){if(l!==null&&typeof l=="object"&&l._store&&(!l._store.validated&&l.key==null||l._store.validated===2)){if(typeof l._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.");l._store.validated=1;var u=me(e),d=u||"null";if(!Xw[d]){Xw[d]=!0,l=l._owner,e=e._debugOwner;var m="";e&&typeof e.tag=="number"&&(d=me(e))&&(m=`
313
+
314
+ Check the render method of \``+d+"`."),m||u&&(m=`
315
+
316
+ Check the top-level render call using <`+u+">.");var S="";l!=null&&e!==l&&(u=null,typeof l.tag=="number"?u=me(l):typeof l.name=="string"&&(u=l.name),u&&(S=" It was passed a child from "+u+".")),Le(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',m,S)})}}};var bh=wa(!0),Jw=wa(!1),Fw=0,Kw=1,Ww=2,wO=3,xf=!1,Pw=!1,MO=null,NO=!1,Im=Ne(null),qS=Ne(0),bi=Ne(null),so=null,Jm=1,y0=2,Oa=Ne(0),YS=0,fo=1,gr=2,Ei=4,vr=8,Fm,e2=new Set,t2=new Set,jO=new Set,n2=new Set,Jc=0,St=null,Cn=null,Ha=null,kS=!1,Km=!1,Eh=!1,GS=0,g0=0,Fc=null,J8=0,F8=25,ge=null,ho=null,Kc=-1,v0=!1,b0={readContext:ln,use:jo,useCallback:In,useContext:In,useEffect:In,useImperativeHandle:In,useLayoutEffect:In,useInsertionEffect:In,useMemo:In,useReducer:In,useRef:In,useState:In,useDebugValue:In,useDeferredValue:In,useTransition:In,useSyncExternalStore:In,useId:In,useHostTransitionStatus:In,useFormState:In,useActionState:In,useOptimistic:In,useMemoCache:In,useCacheRefresh:In};b0.useEffectEvent=In;var zO=null,a2=null,UO=null,l2=null,Yu=null,Jo=null,$S=null;zO={readContext:function(e){return ln(e)},use:jo,useCallback:function(e,t){return ge="useCallback",Et(),No(t),Op(e,t)},useContext:function(e){return ge="useContext",Et(),ln(e)},useEffect:function(e,t){return ge="useEffect",Et(),No(t),bc(e,t)},useImperativeHandle:function(e,t,l){return ge="useImperativeHandle",Et(),No(l),Vi(e,t,l)},useInsertionEffect:function(e,t){ge="useInsertionEffect",Et(),No(t),Tu(4,gr,e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Et(),No(t),vl(e,t)},useMemo:function(e,t){ge="useMemo",Et(),No(t);var l=ve.H;ve.H=Yu;try{return bl(e,t)}finally{ve.H=l}},useReducer:function(e,t,l){ge="useReducer",Et();var u=ve.H;ve.H=Yu;try{return Rs(e,t,l)}finally{ve.H=u}},useRef:function(e){return ge="useRef",Et(),_p(e)},useState:function(e){ge="useState",Et();var t=ve.H;ve.H=Yu;try{return vu(e)}finally{ve.H=t}},useDebugValue:function(){ge="useDebugValue",Et()},useDeferredValue:function(e,t){return ge="useDeferredValue",Et(),Ms(e,t)},useTransition:function(){return ge="useTransition",Et(),_u()},useSyncExternalStore:function(e,t,l){return ge="useSyncExternalStore",Et(),As(e,t,l)},useId:function(){return ge="useId",Et(),_d()},useFormState:function(e,t){return ge="useFormState",Et(),dd(),rr(e,t)},useActionState:function(e,t){return ge="useActionState",Et(),rr(e,t)},useOptimistic:function(e){return ge="useOptimistic",Et(),vc(e)},useHostTransitionStatus:Bo,useMemoCache:ar,useCacheRefresh:function(){return ge="useCacheRefresh",Et(),xp()},useEffectEvent:function(e){return ge="useEffectEvent",Et(),Sd(e)}},a2={readContext:function(e){return ln(e)},use:jo,useCallback:function(e,t){return ge="useCallback",Ce(),Op(e,t)},useContext:function(e){return ge="useContext",Ce(),ln(e)},useEffect:function(e,t){return ge="useEffect",Ce(),bc(e,t)},useImperativeHandle:function(e,t,l){return ge="useImperativeHandle",Ce(),Vi(e,t,l)},useInsertionEffect:function(e,t){ge="useInsertionEffect",Ce(),Tu(4,gr,e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Ce(),vl(e,t)},useMemo:function(e,t){ge="useMemo",Ce();var l=ve.H;ve.H=Yu;try{return bl(e,t)}finally{ve.H=l}},useReducer:function(e,t,l){ge="useReducer",Ce();var u=ve.H;ve.H=Yu;try{return Rs(e,t,l)}finally{ve.H=u}},useRef:function(e){return ge="useRef",Ce(),_p(e)},useState:function(e){ge="useState",Ce();var t=ve.H;ve.H=Yu;try{return vu(e)}finally{ve.H=t}},useDebugValue:function(){ge="useDebugValue",Ce()},useDeferredValue:function(e,t){return ge="useDeferredValue",Ce(),Ms(e,t)},useTransition:function(){return ge="useTransition",Ce(),_u()},useSyncExternalStore:function(e,t,l){return ge="useSyncExternalStore",Ce(),As(e,t,l)},useId:function(){return ge="useId",Ce(),_d()},useActionState:function(e,t){return ge="useActionState",Ce(),rr(e,t)},useFormState:function(e,t){return ge="useFormState",Ce(),dd(),rr(e,t)},useOptimistic:function(e){return ge="useOptimistic",Ce(),vc(e)},useHostTransitionStatus:Bo,useMemoCache:ar,useCacheRefresh:function(){return ge="useCacheRefresh",Ce(),xp()},useEffectEvent:function(e){return ge="useEffectEvent",Ce(),Sd(e)}},UO={readContext:function(e){return ln(e)},use:jo,useCallback:function(e,t){return ge="useCallback",Ce(),ii(e,t)},useContext:function(e){return ge="useContext",Ce(),ln(e)},useEffect:function(e,t){ge="useEffect",Ce(),Ea(2048,vr,e,t)},useImperativeHandle:function(e,t,l){return ge="useImperativeHandle",Ce(),ws(e,t,l)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Ce(),Ea(4,gr,e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Ce(),Ea(4,Ei,e,t)},useMemo:function(e,t){ge="useMemo",Ce();var l=ve.H;ve.H=Jo;try{return Un(e,t)}finally{ve.H=l}},useReducer:function(e,t,l){ge="useReducer",Ce();var u=ve.H;ve.H=Jo;try{return mc(e,t,l)}finally{ve.H=u}},useRef:function(){return ge="useRef",Ce(),sn().memoizedState},useState:function(){ge="useState",Ce();var e=ve.H;ve.H=Jo;try{return mc(lr)}finally{ve.H=e}},useDebugValue:function(){ge="useDebugValue",Ce()},useDeferredValue:function(e,t){return ge="useDeferredValue",Ce(),qi(e,t)},useTransition:function(){return ge="useTransition",Ce(),bE()},useSyncExternalStore:function(e,t,l){return ge="useSyncExternalStore",Ce(),gc(e,t,l)},useId:function(){return ge="useId",Ce(),sn().memoizedState},useFormState:function(e){return ge="useFormState",Ce(),dd(),Eu(e)},useActionState:function(e){return ge="useActionState",Ce(),Eu(e)},useOptimistic:function(e,t){return ge="useOptimistic",Ce(),vd(e,t)},useHostTransitionStatus:Bo,useMemoCache:ar,useCacheRefresh:function(){return ge="useCacheRefresh",Ce(),sn().memoizedState},useEffectEvent:function(e){return ge="useEffectEvent",Ce(),Ds(e)}},l2={readContext:function(e){return ln(e)},use:jo,useCallback:function(e,t){return ge="useCallback",Ce(),ii(e,t)},useContext:function(e){return ge="useContext",Ce(),ln(e)},useEffect:function(e,t){ge="useEffect",Ce(),Ea(2048,vr,e,t)},useImperativeHandle:function(e,t,l){return ge="useImperativeHandle",Ce(),ws(e,t,l)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",Ce(),Ea(4,gr,e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",Ce(),Ea(4,Ei,e,t)},useMemo:function(e,t){ge="useMemo",Ce();var l=ve.H;ve.H=$S;try{return Un(e,t)}finally{ve.H=l}},useReducer:function(e,t,l){ge="useReducer",Ce();var u=ve.H;ve.H=$S;try{return yc(e,t,l)}finally{ve.H=u}},useRef:function(){return ge="useRef",Ce(),sn().memoizedState},useState:function(){ge="useState",Ce();var e=ve.H;ve.H=$S;try{return yc(lr)}finally{ve.H=e}},useDebugValue:function(){ge="useDebugValue",Ce()},useDeferredValue:function(e,t){return ge="useDeferredValue",Ce(),Rt(e,t)},useTransition:function(){return ge="useTransition",Ce(),Gn()},useSyncExternalStore:function(e,t,l){return ge="useSyncExternalStore",Ce(),gc(e,t,l)},useId:function(){return ge="useId",Ce(),sn().memoizedState},useFormState:function(e){return ge="useFormState",Ce(),dd(),Su(e)},useActionState:function(e){return ge="useActionState",Ce(),Su(e)},useOptimistic:function(e,t){return ge="useOptimistic",Ce(),bd(e,t)},useHostTransitionStatus:Bo,useMemoCache:ar,useCacheRefresh:function(){return ge="useCacheRefresh",Ce(),sn().memoizedState},useEffectEvent:function(e){return ge="useEffectEvent",Ce(),Ds(e)}},Yu={readContext:function(e){return T(),ln(e)},use:function(e){return v(),jo(e)},useCallback:function(e,t){return ge="useCallback",v(),Et(),Op(e,t)},useContext:function(e){return ge="useContext",v(),Et(),ln(e)},useEffect:function(e,t){return ge="useEffect",v(),Et(),bc(e,t)},useImperativeHandle:function(e,t,l){return ge="useImperativeHandle",v(),Et(),Vi(e,t,l)},useInsertionEffect:function(e,t){ge="useInsertionEffect",v(),Et(),Tu(4,gr,e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",v(),Et(),vl(e,t)},useMemo:function(e,t){ge="useMemo",v(),Et();var l=ve.H;ve.H=Yu;try{return bl(e,t)}finally{ve.H=l}},useReducer:function(e,t,l){ge="useReducer",v(),Et();var u=ve.H;ve.H=Yu;try{return Rs(e,t,l)}finally{ve.H=u}},useRef:function(e){return ge="useRef",v(),Et(),_p(e)},useState:function(e){ge="useState",v(),Et();var t=ve.H;ve.H=Yu;try{return vu(e)}finally{ve.H=t}},useDebugValue:function(){ge="useDebugValue",v(),Et()},useDeferredValue:function(e,t){return ge="useDeferredValue",v(),Et(),Ms(e,t)},useTransition:function(){return ge="useTransition",v(),Et(),_u()},useSyncExternalStore:function(e,t,l){return ge="useSyncExternalStore",v(),Et(),As(e,t,l)},useId:function(){return ge="useId",v(),Et(),_d()},useFormState:function(e,t){return ge="useFormState",v(),Et(),rr(e,t)},useActionState:function(e,t){return ge="useActionState",v(),Et(),rr(e,t)},useOptimistic:function(e){return ge="useOptimistic",v(),Et(),vc(e)},useMemoCache:function(e){return v(),ar(e)},useHostTransitionStatus:Bo,useCacheRefresh:function(){return ge="useCacheRefresh",Et(),xp()},useEffectEvent:function(e){return ge="useEffectEvent",v(),Et(),Sd(e)}},Jo={readContext:function(e){return T(),ln(e)},use:function(e){return v(),jo(e)},useCallback:function(e,t){return ge="useCallback",v(),Ce(),ii(e,t)},useContext:function(e){return ge="useContext",v(),Ce(),ln(e)},useEffect:function(e,t){ge="useEffect",v(),Ce(),Ea(2048,vr,e,t)},useImperativeHandle:function(e,t,l){return ge="useImperativeHandle",v(),Ce(),ws(e,t,l)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",v(),Ce(),Ea(4,gr,e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",v(),Ce(),Ea(4,Ei,e,t)},useMemo:function(e,t){ge="useMemo",v(),Ce();var l=ve.H;ve.H=Jo;try{return Un(e,t)}finally{ve.H=l}},useReducer:function(e,t,l){ge="useReducer",v(),Ce();var u=ve.H;ve.H=Jo;try{return mc(e,t,l)}finally{ve.H=u}},useRef:function(){return ge="useRef",v(),Ce(),sn().memoizedState},useState:function(){ge="useState",v(),Ce();var e=ve.H;ve.H=Jo;try{return mc(lr)}finally{ve.H=e}},useDebugValue:function(){ge="useDebugValue",v(),Ce()},useDeferredValue:function(e,t){return ge="useDeferredValue",v(),Ce(),qi(e,t)},useTransition:function(){return ge="useTransition",v(),Ce(),bE()},useSyncExternalStore:function(e,t,l){return ge="useSyncExternalStore",v(),Ce(),gc(e,t,l)},useId:function(){return ge="useId",v(),Ce(),sn().memoizedState},useFormState:function(e){return ge="useFormState",v(),Ce(),Eu(e)},useActionState:function(e){return ge="useActionState",v(),Ce(),Eu(e)},useOptimistic:function(e,t){return ge="useOptimistic",v(),Ce(),vd(e,t)},useMemoCache:function(e){return v(),ar(e)},useHostTransitionStatus:Bo,useCacheRefresh:function(){return ge="useCacheRefresh",Ce(),sn().memoizedState},useEffectEvent:function(e){return ge="useEffectEvent",v(),Ce(),Ds(e)}},$S={readContext:function(e){return T(),ln(e)},use:function(e){return v(),jo(e)},useCallback:function(e,t){return ge="useCallback",v(),Ce(),ii(e,t)},useContext:function(e){return ge="useContext",v(),Ce(),ln(e)},useEffect:function(e,t){ge="useEffect",v(),Ce(),Ea(2048,vr,e,t)},useImperativeHandle:function(e,t,l){return ge="useImperativeHandle",v(),Ce(),ws(e,t,l)},useInsertionEffect:function(e,t){return ge="useInsertionEffect",v(),Ce(),Ea(4,gr,e,t)},useLayoutEffect:function(e,t){return ge="useLayoutEffect",v(),Ce(),Ea(4,Ei,e,t)},useMemo:function(e,t){ge="useMemo",v(),Ce();var l=ve.H;ve.H=Jo;try{return Un(e,t)}finally{ve.H=l}},useReducer:function(e,t,l){ge="useReducer",v(),Ce();var u=ve.H;ve.H=Jo;try{return yc(e,t,l)}finally{ve.H=u}},useRef:function(){return ge="useRef",v(),Ce(),sn().memoizedState},useState:function(){ge="useState",v(),Ce();var e=ve.H;ve.H=Jo;try{return yc(lr)}finally{ve.H=e}},useDebugValue:function(){ge="useDebugValue",v(),Ce()},useDeferredValue:function(e,t){return ge="useDeferredValue",v(),Ce(),Rt(e,t)},useTransition:function(){return ge="useTransition",v(),Ce(),Gn()},useSyncExternalStore:function(e,t,l){return ge="useSyncExternalStore",v(),Ce(),gc(e,t,l)},useId:function(){return ge="useId",v(),Ce(),sn().memoizedState},useFormState:function(e){return ge="useFormState",v(),Ce(),Su(e)},useActionState:function(e){return ge="useActionState",v(),Ce(),Su(e)},useOptimistic:function(e,t){return ge="useOptimistic",v(),Ce(),bd(e,t)},useMemoCache:function(e){return v(),ar(e)},useHostTransitionStatus:Bo,useCacheRefresh:function(){return ge="useCacheRefresh",Ce(),sn().memoizedState},useEffectEvent:function(e){return ge="useEffectEvent",v(),Ce(),Ds(e)}};var r2={},i2=new Set,o2=new Set,u2=new Set,c2=new Set,s2=new Set,f2=new Set,d2=new Set,h2=new Set,p2=new Set,m2=new Set;Object.freeze(r2);var LO={enqueueSetState:function(e,t,l){e=e._reactInternals;var u=ll(e),d=ba(u);d.payload=t,l!=null&&(_c(l),d.callback=l),t=Ui(e,d,u),t!==null&&(Ni(u,"this.setState()",e),vt(t,e,u),wr(t,e,u))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var u=ll(e),d=ba(u);d.tag=Kw,d.payload=t,l!=null&&(_c(l),d.callback=l),t=Ui(e,d,u),t!==null&&(Ni(u,"this.replaceState()",e),vt(t,e,u),wr(t,e,u))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=ll(e),u=ba(l);u.tag=Ww,t!=null&&(_c(t),u.callback=t),t=Ui(e,u,l),t!==null&&(Ni(l,"this.forceUpdate()",e),vt(t,e,l),wr(t,e,l))}},Wm=null,BO=null,HO=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."),Va=!1,y2={},g2={},v2={},b2={},Pm=!1,E2={},QS={},VO={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},S2=!1,T2=null;T2=new Set;var Wc=!1,qa=!1,qO=!1,_2=typeof WeakSet=="function"?WeakSet:Set,ul=null,ey=null,ty=null,Ya=null,Lr=!1,Fo=null,Fa=!1,E0=8192,K8={getCacheForType:function(e){var t=ln(La),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return ln(La).controller.signal},getOwner:function(){return $l}};if(typeof Symbol=="function"&&Symbol.for){var S0=Symbol.for;S0("selector.component"),S0("selector.has_pseudo_class"),S0("selector.role"),S0("selector.test_id"),S0("selector.text")}var W8=[],P8=typeof WeakMap=="function"?WeakMap:Map,cl=0,Ka=2,Si=4,Pc=0,T0=1,Sh=2,XS=3,Rf=4,ZS=6,O2=5,en=cl,Dn=null,kt=null,Vt=0,Br=0,IS=1,Th=2,_0=3,x2=4,YO=5,O0=6,JS=7,kO=8,_h=9,Sn=Br,Ti=null,Af=!1,ny=!1,GO=!1,ku=0,Kn=Pc,Cf=0,Df=0,$O=0,Hr=0,Oh=0,x0=null,br=null,FS=!1,KS=0,R2=0,A2=300,WS=1/0,C2=500,R0=null,ha=null,wf=null,PS=0,QO=1,XO=2,D2=3,Mf=0,w2=1,M2=2,N2=3,j2=4,e1=5,ka=0,Nf=null,ay=null,Ko=0,ZO=0,IO=-0,JO=null,z2=null,U2=null,Wo=PS,L2=null,eH=50,A0=0,FO=null,KO=!1,t1=!1,tH=50,xh=0,C0=null,ly=!1,n1=null,B2=!1,H2=new Set,nH={},a1=null,ry=null,WO=!1,PO=!1,l1=!1,ex=!1,jf=0,tx={};(function(){for(var e=0;e<dO.length;e++){var t=dO[e],l=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Fr(l,"on"+t)}Fr(pw,"onAnimationEnd"),Fr(mw,"onAnimationIteration"),Fr(yw,"onAnimationStart"),Fr("dblclick","onDoubleClick"),Fr("focusin","onFocus"),Fr("focusout","onBlur"),Fr(M8,"onTransitionRun"),Fr(N8,"onTransitionStart"),Fr(j8,"onTransitionCancel"),Fr(gw,"onTransitionEnd")})(),bt("onMouseEnter",["mouseout","mouseover"]),bt("onMouseLeave",["mouseout","mouseover"]),bt("onPointerEnter",["pointerout","pointerover"]),bt("onPointerLeave",["pointerout","pointerover"]),Dt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Dt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Dt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Dt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Dt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Dt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var D0="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(" "),nx=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(D0)),r1="_reactListening"+Math.random().toString(36).slice(2),V2=!1,q2=!1,i1=!1,Y2=!1,o1=!1,u1=!1,k2=!1,c1={},aH=/\r\n?/g,lH=/\u0000|\uFFFD/g,Rh="http://www.w3.org/1999/xlink",ax="http://www.w3.org/XML/1998/namespace",rH="javascript:throw new Error('React form unexpectedly submitted.')",iH="suppressHydrationWarning",Ah="&",s1="/&",w0="$",M0="/$",zf="$?",Ch="$~",iy="$!",oH="html",uH="body",cH="head",lx="F!",G2="F",$2="loading",sH="style",es=0,oy=1,f1=2,rx=null,ix=null,Q2={dialog:!0,webview:!0},ox=null,N0=void 0,X2=typeof setTimeout=="function"?setTimeout:void 0,fH=typeof clearTimeout=="function"?clearTimeout:void 0,Dh=-1,Z2=typeof Promise=="function"?Promise:void 0,dH=typeof queueMicrotask=="function"?queueMicrotask:typeof Z2<"u"?function(e){return Z2.resolve(null).then(e).catch(YE)}:X2,ux=null,wh=0,j0=1,I2=2,J2=3,po=4,mo=new Map,F2=new Set,ts=on.d;on.d={f:function(){var e=ts.f(),t=sr();return e||t},r:function(e){var t=Be(e);t!==null&&t.tag===5&&t.type==="form"?Ns(t):ts.r(e)},D:function(e){ts.D(e),Ev("dns-prefetch",e,null)},C:function(e,t){ts.C(e,t),Ev("preconnect",e,t)},L:function(e,t,l){ts.L(e,t,l);var u=uy;if(u&&e&&t){var d='link[rel="preload"][as="'+qe(t)+'"]';t==="image"&&l&&l.imageSrcSet?(d+='[imagesrcset="'+qe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(d+='[imagesizes="'+qe(l.imageSizes)+'"]')):d+='[href="'+qe(e)+'"]';var m=d;switch(t){case"style":m=jc(e);break;case"script":m=zc(e)}mo.has(m)||(e=Lt({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),mo.set(m,e),u.querySelector(d)!==null||t==="style"&&u.querySelector(Jd(m))||t==="script"&&u.querySelector(Fd(m))||(t=u.createElement("link"),Ln(t,"link",e),tt(t),u.head.appendChild(t)))}},m:function(e,t){ts.m(e,t);var l=uy;if(l&&e){var u=t&&typeof t.as=="string"?t.as:"script",d='link[rel="modulepreload"][as="'+qe(u)+'"][href="'+qe(e)+'"]',m=d;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=zc(e)}if(!mo.has(m)&&(e=Lt({rel:"modulepreload",href:e},t),mo.set(m,e),l.querySelector(d)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Fd(m)))return}u=l.createElement("link"),Ln(u,"link",e),tt(u),l.head.appendChild(u)}}},X:function(e,t){ts.X(e,t);var l=uy;if(l&&e){var u=ct(l).hoistableScripts,d=zc(e),m=u.get(d);m||(m=l.querySelector(Fd(d)),m||(e=Lt({src:e,async:!0},t),(t=mo.get(d))&&_v(e,t),m=l.createElement("script"),tt(m),Ln(m,"link",e),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(d,m))}},S:function(e,t,l){ts.S(e,t,l);var u=uy;if(u&&e){var d=ct(u).hoistableStyles,m=jc(e);t=t||"default";var S=d.get(m);if(!S){var O={loading:wh,preload:null};if(S=u.querySelector(Jd(m)))O.loading=j0|po;else{e=Lt({rel:"stylesheet",href:e,"data-precedence":t},l),(l=mo.get(m))&&Tv(e,l);var M=S=u.createElement("link");tt(M),Ln(M,"link",e),M._p=new Promise(function(z,P){M.onload=z,M.onerror=P}),M.addEventListener("load",function(){O.loading|=j0}),M.addEventListener("error",function(){O.loading|=I2}),O.loading|=po,Ps(S,t,u)}S={type:"stylesheet",instance:S,count:1,state:O},d.set(m,S)}}},M:function(e,t){ts.M(e,t);var l=uy;if(l&&e){var u=ct(l).hoistableScripts,d=zc(e),m=u.get(d);m||(m=l.querySelector(Fd(d)),m||(e=Lt({src:e,async:!0,type:"module"},t),(t=mo.get(d))&&_v(e,t),m=l.createElement("script"),tt(m),Ln(m,"link",e),l.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},u.set(d,m))}}};var uy=typeof document>"u"?null:document,d1=null,hH=6e4,pH=800,mH=500,cx=0,sx=null,h1=null,Mh=eO,z0={$$typeof:mi,Provider:null,Consumer:null,_currentValue:Mh,_currentValue2:Mh,_threadCount:0},K2="%c%s%c",W2="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",P2="",p1=" ",yH=Function.prototype.bind,eM=!1,tM=null,nM=null,aM=null,lM=null,rM=null,iM=null,oM=null,uM=null,cM=null,sM=null;tM=function(e,t,l,u){t=a(e,t),t!==null&&(l=i(t.memoizedState,l,0,u),t.memoizedState=l,t.baseState=l,e.memoizedProps=Lt({},e.memoizedProps),l=nl(e,2),l!==null&&vt(l,e,2))},nM=function(e,t,l){t=a(e,t),t!==null&&(l=h(t.memoizedState,l,0),t.memoizedState=l,t.baseState=l,e.memoizedProps=Lt({},e.memoizedProps),l=nl(e,2),l!==null&&vt(l,e,2))},aM=function(e,t,l,u){t=a(e,t),t!==null&&(l=c(t.memoizedState,l,u),t.memoizedState=l,t.baseState=l,e.memoizedProps=Lt({},e.memoizedProps),l=nl(e,2),l!==null&&vt(l,e,2))},lM=function(e,t,l){e.pendingProps=i(e.memoizedProps,t,0,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=nl(e,2),t!==null&&vt(t,e,2)},rM=function(e,t){e.pendingProps=h(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=nl(e,2),t!==null&&vt(t,e,2)},iM=function(e,t,l){e.pendingProps=c(e.memoizedProps,t,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=nl(e,2),t!==null&&vt(t,e,2)},oM=function(e){var t=nl(e,2);t!==null&&vt(t,e,2)},uM=function(e){var t=xt(),l=nl(e,t);l!==null&&vt(l,e,t)},cM=function(e){y=e},sM=function(e){p=e};var m1=!0,y1=null,fx=!1,Uf=null,Lf=null,Bf=null,U0=new Map,L0=new Map,Hf=[],gH="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(" "),g1=null;if(pi.prototype.render=jv.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var l=arguments;typeof l[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()."):L(l[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 l[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),l=e;var u=t.current,d=ll(u);mm(u,d,l,t,null,null)},pi.prototype.unmount=jv.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(en&(Ka|Si))!==cl&&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."),mm(e.current,2,null,e,null,null),sr(),t[Xo]=null}},pi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xr();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Hf.length&&t!==0&&t<Hf[l].priority;l++);Hf.splice(l,0,e),l===0&&Nv(e)}},(function(){var e=th.version;if(e!=="19.2.4")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
317
+ - react: `+(e+`
318
+ - react-dom: 19.2.4
319
+ 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"),on.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=Y(t),e=e!==null?ne(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:ve,reconcilerVersion:"19.2.4"};return e.overrideHookState=tM,e.overrideHookStateDeletePath=nM,e.overrideHookStateRenamePath=aM,e.overrideProps=lM,e.overridePropsDeletePath=rM,e.overridePropsRenamePath=iM,e.scheduleUpdate=oM,e.scheduleRetry=uM,e.setErrorHandler=cM,e.setSuspenseHandler=sM,e.scheduleRefresh=N,e.scheduleRoot=D,e.setRefreshHandler=H,e.getCurrentFiber=bn,To(e)})()&&Hu&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var fM=window.location.protocol;/^(https?|file):$/.test(fM)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(fM==="file:"?`
320
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}hy.createRoot=function(e,t){if(!L(e))throw Error("Target container is not a DOM element.");zv(e);var l=!1,u="",d=Cp,m=Dp,S=Cg;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===zr&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
321
+
322
+ let root = createRoot(domContainer);
323
+ root.render(<App />);`),t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(d=t.onUncaughtError),t.onCaughtError!==void 0&&(m=t.onCaughtError),t.onRecoverableError!==void 0&&(S=t.onRecoverableError)),t=Pd(e,1,!1,null,null,l,u,null,d,m,S,fS),e[Xo]=t.current,wu(e),new jv(t)},hy.hydrateRoot=function(e,t,l){if(!L(e))throw Error("Target container is not a DOM element.");zv(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var u=!1,d="",m=Cp,S=Dp,O=Cg,M=null;return l!=null&&(l.unstable_strictMode===!0&&(u=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onUncaughtError!==void 0&&(m=l.onUncaughtError),l.onCaughtError!==void 0&&(S=l.onCaughtError),l.onRecoverableError!==void 0&&(O=l.onRecoverableError),l.formState!==void 0&&(M=l.formState)),t=Pd(e,1,!0,t,l??null,u,d,M,m,S,O,fS),t.context=oS(null),l=t.current,u=ll(l),u=el(u),d=ba(u),d.callback=null,Ui(l,d,u),Ni(u,"hydrateRoot()",null),l=u,t.current.lanes=l,Aa(t,l),ql(t),e[Xo]=t.current,wu(e),new pi(t)},hy.version="19.2.4",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),hy}var Ax;function OM(){if(Ax)return Y0.exports;Ax=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(i){console.error(i)}}}return process.env.NODE_ENV==="production"?(a(),Y0.exports=TM()):Y0.exports=_M(),Y0.exports}var xM=OM(),w=as();const sl=H0(w),RM=dM({__proto__:null,default:sl},[w]);/**
324
+ * react-router v7.13.1
325
+ *
326
+ * Copyright (c) Remix Software Inc.
327
+ *
328
+ * This source code is licensed under the MIT license found in the
329
+ * LICENSE.md file in the root directory of this source tree.
330
+ *
331
+ * @license MIT
332
+ */var Cx=a=>{throw TypeError(a)},AM=(a,i,c)=>i.has(a)||Cx("Cannot "+c),T1=(a,i,c)=>(AM(a,i,"read from private field"),c?c.call(a):i.get(a)),CM=(a,i,c)=>i.has(a)?Cx("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(a):i.set(a,c),Dx="popstate";function wx(a){return typeof a=="object"&&a!=null&&"pathname"in a&&"search"in a&&"hash"in a&&"state"in a&&"key"in a}function DM(a={}){function i(s,h){var E;let p=(E=h.state)==null?void 0:E.masked,{pathname:y,search:v,hash:T}=p||s.location;return py("",{pathname:y,search:v,hash:T},h.state&&h.state.usr||null,h.state&&h.state.key||"default",p?{pathname:s.location.pathname,search:s.location.search,hash:s.location.hash}:void 0)}function c(s,h){return typeof h=="string"?h:Po(h)}return MM(i,c,null,a)}function Zt(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function pa(a,i){if(!a){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function wM(){return Math.random().toString(36).substring(2,10)}function Mx(a,i){return{usr:a.state,key:a.key,idx:i,masked:a.unstable_mask?{pathname:a.pathname,search:a.search,hash:a.hash}:void 0}}function py(a,i,c=null,s,h){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof i=="string"?Gu(i):i,state:c,key:i&&i.key||s||wM(),unstable_mask:h}}function Po({pathname:a="/",search:i="",hash:c=""}){return i&&i!=="?"&&(a+=i.charAt(0)==="?"?i:"?"+i),c&&c!=="#"&&(a+=c.charAt(0)==="#"?c:"#"+c),a}function Gu(a){let i={};if(a){let c=a.indexOf("#");c>=0&&(i.hash=a.substring(c),a=a.substring(0,c));let s=a.indexOf("?");s>=0&&(i.search=a.substring(s),a=a.substring(0,s)),a&&(i.pathname=a)}return i}function MM(a,i,c,s={}){let{window:h=document.defaultView,v5Compat:p=!1}=s,y=h.history,v="POP",T=null,E=R();E==null&&(E=0,y.replaceState({...y.state,idx:E},""));function R(){return(y.state||{idx:null}).idx}function x(){v="POP";let L=R(),q=L==null?null:L-E;E=L,T&&T({action:v,location:H.location,delta:q})}function A(L,q){v="PUSH";let I=wx(L)?L:py(H.location,L,q);E=R()+1;let F=Mx(I,E),W=H.createHref(I.unstable_mask||I);try{y.pushState(F,"",W)}catch(Y){if(Y instanceof DOMException&&Y.name==="DataCloneError")throw Y;h.location.assign(W)}p&&T&&T({action:v,location:H.location,delta:1})}function D(L,q){v="REPLACE";let I=wx(L)?L:py(H.location,L,q);E=R();let F=Mx(I,E),W=H.createHref(I.unstable_mask||I);y.replaceState(F,"",W),p&&T&&T({action:v,location:H.location,delta:0})}function N(L){return Nx(L)}let H={get action(){return v},get location(){return a(h,y)},listen(L){if(T)throw new Error("A history only accepts one active listener");return h.addEventListener(Dx,x),T=L,()=>{h.removeEventListener(Dx,x),T=null}},createHref(L){return i(h,L)},createURL:N,encodeLocation(L){let q=N(L);return{pathname:q.pathname,search:q.search,hash:q.hash}},push:A,replace:D,go(L){return y.go(L)}};return H}function Nx(a,i=!1){let c="http://localhost";typeof window<"u"&&(c=window.location.origin!=="null"?window.location.origin:window.location.href),Zt(c,"No window.location.(origin|href) available to create URL");let s=typeof a=="string"?a:Po(a);return s=s.replace(/ $/,"%20"),!i&&s.startsWith("//")&&(s=c+s),new URL(s,c)}var my,jx=class{constructor(a){if(CM(this,my,new Map),a)for(let[i,c]of a)this.set(i,c)}get(a){if(T1(this,my).has(a))return T1(this,my).get(a);if(a.defaultValue!==void 0)return a.defaultValue;throw new Error("No value found for context")}set(a,i){T1(this,my).set(a,i)}};my=new WeakMap;var NM=new Set(["lazy","caseSensitive","path","id","index","children"]);function jM(a){return NM.has(a)}var zM=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function UM(a){return zM.has(a)}function LM(a){return a.index===!0}function yy(a,i,c=[],s={},h=!1){return a.map((p,y)=>{let v=[...c,String(y)],T=typeof p.id=="string"?p.id:v.join("-");if(Zt(p.index!==!0||!p.children,"Cannot specify children on an index route"),Zt(h||!s[T],`Found a route id collision on id "${T}". Route id's must be globally unique within Data Router usages`),LM(p)){let E={...p,id:T};return s[T]=zx(E,i(E)),E}else{let E={...p,id:T,children:void 0};return s[T]=zx(E,i(E)),p.children&&(E.children=yy(p.children,i,v,s,h)),E}})}function zx(a,i){return Object.assign(a,{...i,...typeof i.lazy=="object"&&i.lazy!=null?{lazy:{...a.lazy,...i.lazy}}:{}})}function ls(a,i,c="/"){return gy(a,i,c,!1)}function gy(a,i,c,s){let h=typeof i=="string"?Gu(i):i,p=_i(h.pathname||"/",c);if(p==null)return null;let y=Ux(a);HM(y);let v=null;for(let T=0;v==null&&T<y.length;++T){let E=JM(p);v=ZM(y[T],E,s)}return v}function BM(a,i){let{route:c,pathname:s,params:h}=a;return{id:c.id,pathname:s,params:h,data:i[c.id],loaderData:i[c.id],handle:c.handle}}function Ux(a,i=[],c=[],s="",h=!1){let p=(y,v,T=h,E)=>{let R={relativePath:E===void 0?y.path||"":E,caseSensitive:y.caseSensitive===!0,childrenIndex:v,route:y};if(R.relativePath.startsWith("/")){if(!R.relativePath.startsWith(s)&&T)return;Zt(R.relativePath.startsWith(s),`Absolute route path "${R.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),R.relativePath=R.relativePath.slice(s.length)}let x=yo([s,R.relativePath]),A=c.concat(R);y.children&&y.children.length>0&&(Zt(y.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${x}".`),Ux(y.children,i,A,x,T)),!(y.path==null&&!y.index)&&i.push({path:x,score:QM(x,y.index),routesMeta:A})};return a.forEach((y,v)=>{var T;if(y.path===""||!((T=y.path)!=null&&T.includes("?")))p(y,v);else for(let E of Lx(y.path))p(y,v,!0,E)}),i}function Lx(a){let i=a.split("/");if(i.length===0)return[];let[c,...s]=i,h=c.endsWith("?"),p=c.replace(/\?$/,"");if(s.length===0)return h?[p,""]:[p];let y=Lx(s.join("/")),v=[];return v.push(...y.map(T=>T===""?p:[p,T].join("/"))),h&&v.push(...y),v.map(T=>a.startsWith("/")&&T===""?"/":T)}function HM(a){a.sort((i,c)=>i.score!==c.score?c.score-i.score:XM(i.routesMeta.map(s=>s.childrenIndex),c.routesMeta.map(s=>s.childrenIndex)))}var VM=/^:[\w-]+$/,qM=3,YM=2,kM=1,GM=10,$M=-2,Bx=a=>a==="*";function QM(a,i){let c=a.split("/"),s=c.length;return c.some(Bx)&&(s+=$M),i&&(s+=YM),c.filter(h=>!Bx(h)).reduce((h,p)=>h+(VM.test(p)?qM:p===""?kM:GM),s)}function XM(a,i){return a.length===i.length&&a.slice(0,-1).every((s,h)=>s===i[h])?a[a.length-1]-i[i.length-1]:0}function ZM(a,i,c=!1){let{routesMeta:s}=a,h={},p="/",y=[];for(let v=0;v<s.length;++v){let T=s[v],E=v===s.length-1,R=p==="/"?i:i.slice(p.length)||"/",x=$0({path:T.relativePath,caseSensitive:T.caseSensitive,end:E},R),A=T.route;if(!x&&E&&c&&!s[s.length-1].route.index&&(x=$0({path:T.relativePath,caseSensitive:T.caseSensitive,end:!1},R)),!x)return null;Object.assign(h,x.params),y.push({params:h,pathname:yo([p,x.pathname]),pathnameBase:WM(yo([p,x.pathnameBase])),route:A}),x.pathnameBase!=="/"&&(p=yo([p,x.pathnameBase]))}return y}function $0(a,i){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[c,s]=IM(a.path,a.caseSensitive,a.end),h=i.match(c);if(!h)return null;let p=h[0],y=p.replace(/(.)\/+$/,"$1"),v=h.slice(1);return{params:s.reduce((E,{paramName:R,isOptional:x},A)=>{if(R==="*"){let N=v[A]||"";y=p.slice(0,p.length-N.length).replace(/(.)\/+$/,"$1")}const D=v[A];return x&&!D?E[R]=void 0:E[R]=(D||"").replace(/%2F/g,"/"),E},{}),pathname:p,pathnameBase:y,pattern:a}}function IM(a,i=!1,c=!0){pa(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let s=[],h="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(y,v,T,E,R)=>{if(s.push({paramName:v,isOptional:T!=null}),T){let x=R.charAt(E+y.length);return x&&x!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return a.endsWith("*")?(s.push({paramName:"*"}),h+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):c?h+="\\/*$":a!==""&&a!=="/"&&(h+="(?:(?=\\/|$))"),[new RegExp(h,i?void 0:"i"),s]}function JM(a){try{return a.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return pa(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),a}}function _i(a,i){if(i==="/")return a;if(!a.toLowerCase().startsWith(i.toLowerCase()))return null;let c=i.endsWith("/")?i.length-1:i.length,s=a.charAt(c);return s&&s!=="/"?null:a.slice(c)||"/"}function FM({basename:a,pathname:i}){return i==="/"?a:yo([a,i])}var Hx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,_1=a=>Hx.test(a);function KM(a,i="/"){let{pathname:c,search:s="",hash:h=""}=typeof a=="string"?Gu(a):a,p;return c?(c=c.replace(/\/\/+/g,"/"),c.startsWith("/")?p=Vx(c.substring(1),"/"):p=Vx(c,i)):p=i,{pathname:p,search:PM(s),hash:eN(h)}}function Vx(a,i){let c=i.replace(/\/+$/,"").split("/");return a.split("/").forEach(h=>{h===".."?c.length>1&&c.pop():h!=="."&&c.push(h)}),c.length>1?c.join("/"):"/"}function O1(a,i,c,s){return`Cannot include a '${a}' character in a manually specified \`to.${i}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${c}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function qx(a){return a.filter((i,c)=>c===0||i.route.path&&i.route.path.length>0)}function x1(a){let i=qx(a);return i.map((c,s)=>s===i.length-1?c.pathname:c.pathnameBase)}function Q0(a,i,c,s=!1){let h;typeof a=="string"?h=Gu(a):(h={...a},Zt(!h.pathname||!h.pathname.includes("?"),O1("?","pathname","search",h)),Zt(!h.pathname||!h.pathname.includes("#"),O1("#","pathname","hash",h)),Zt(!h.search||!h.search.includes("#"),O1("#","search","hash",h)));let p=a===""||h.pathname==="",y=p?"/":h.pathname,v;if(y==null)v=c;else{let x=i.length-1;if(!s&&y.startsWith("..")){let A=y.split("/");for(;A[0]==="..";)A.shift(),x-=1;h.pathname=A.join("/")}v=x>=0?i[x]:"/"}let T=KM(h,v),E=y&&y!=="/"&&y.endsWith("/"),R=(p||y===".")&&c.endsWith("/");return!T.pathname.endsWith("/")&&(E||R)&&(T.pathname+="/"),T}var yo=a=>a.join("/").replace(/\/\/+/g,"/"),WM=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),PM=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,eN=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a,vy=class{constructor(a,i,c,s=!1){this.status=a,this.statusText=i||"",this.internal=s,c instanceof Error?(this.data=c.toString(),this.error=c):this.data=c}};function by(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}function Ey(a){return a.map(i=>i.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Yx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function kx(a,i){let c=a;if(typeof c!="string"||!Hx.test(c))return{absoluteURL:void 0,isExternal:!1,to:c};let s=c,h=!1;if(Yx)try{let p=new URL(window.location.href),y=c.startsWith("//")?new URL(p.protocol+c):new URL(c),v=_i(y.pathname,i);y.origin===p.origin&&v!=null?c=v+y.search+y.hash:h=!0}catch{pa(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:s,isExternal:h,to:c}}var rs=Symbol("Uninstrumented");function tN(a,i){let c={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};a.forEach(h=>h({id:i.id,index:i.index,path:i.path,instrument(p){let y=Object.keys(c);for(let v of y)p[v]&&c[v].push(p[v])}}));let s={};if(typeof i.lazy=="function"&&c.lazy.length>0){let h=Nh(c.lazy,i.lazy,()=>{});h&&(s.lazy=h)}if(typeof i.lazy=="object"){let h=i.lazy;["middleware","loader","action"].forEach(p=>{let y=h[p],v=c[`lazy.${p}`];if(typeof y=="function"&&v.length>0){let T=Nh(v,y,()=>{});T&&(s.lazy=Object.assign(s.lazy||{},{[p]:T}))}})}return["loader","action"].forEach(h=>{let p=i[h];if(typeof p=="function"&&c[h].length>0){let y=p[rs]??p,v=Nh(c[h],y,(...T)=>$x(T[0]));v&&(h==="loader"&&y.hydrate===!0&&(v.hydrate=!0),v[rs]=y,s[h]=v)}}),i.middleware&&i.middleware.length>0&&c.middleware.length>0&&(s.middleware=i.middleware.map(h=>{let p=h[rs]??h,y=Nh(c.middleware,p,(...v)=>$x(v[0]));return y?(y[rs]=p,y):h})),s}function nN(a,i){let c={navigate:[],fetch:[]};if(i.forEach(s=>s({instrument(h){let p=Object.keys(h);for(let y of p)h[y]&&c[y].push(h[y])}})),c.navigate.length>0){let s=a.navigate[rs]??a.navigate,h=Nh(c.navigate,s,(...p)=>{let[y,v]=p;return{to:typeof y=="number"||typeof y=="string"?y:y?Po(y):".",...Qx(a,v??{})}});h&&(h[rs]=s,a.navigate=h)}if(c.fetch.length>0){let s=a.fetch[rs]??a.fetch,h=Nh(c.fetch,s,(...p)=>{let[y,,v,T]=p;return{href:v??".",fetcherKey:y,...Qx(a,T??{})}});h&&(h[rs]=s,a.fetch=h)}return a}function Nh(a,i,c){return a.length===0?null:async(...s)=>{let h=await Gx(a,c(...s),()=>i(...s),a.length-1);if(h.type==="error")throw h.value;return h.value}}async function Gx(a,i,c,s){let h=a[s],p;if(h){let y,v=async()=>(y?console.error("You cannot call instrumented handlers more than once"):y=Gx(a,i,c,s-1),p=await y,Zt(p,"Expected a result"),p.type==="error"&&p.value instanceof Error?{status:"error",error:p.value}:{status:"success",error:void 0});try{await h(v,i)}catch(T){console.error("An instrumentation function threw an error:",T)}y||await v(),await y}else try{p={type:"success",value:await c()}}catch(y){p={type:"error",value:y}}return p||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function $x(a){let{request:i,context:c,params:s,unstable_pattern:h}=a;return{request:aN(i),params:{...s},unstable_pattern:h,context:lN(c)}}function Qx(a,i){return{currentUrl:Po(a.state.location),..."formMethod"in i?{formMethod:i.formMethod}:{},..."formEncType"in i?{formEncType:i.formEncType}:{},..."formData"in i?{formData:i.formData}:{},..."body"in i?{body:i.body}:{}}}function aN(a){return{method:a.method,url:a.url,headers:{get:(...i)=>a.headers.get(...i)}}}function lN(a){if(iN(a)){let i={...a};return Object.freeze(i),i}else return{get:i=>a.get(i)}}var rN=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function iN(a){if(a===null||typeof a!="object")return!1;const i=Object.getPrototypeOf(a);return i===Object.prototype||i===null||Object.getOwnPropertyNames(i).sort().join("\0")===rN}var Xx=["POST","PUT","PATCH","DELETE"],oN=new Set(Xx),uN=["GET",...Xx],cN=new Set(uN),Zx=new Set([301,302,303,307,308]),sN=new Set([307,308]),R1={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},fN={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Sy={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},dN=a=>({hasErrorBoundary:!!a.hasErrorBoundary}),Ix="remix-router-transitions",Jx=Symbol("ResetLoaderData");function hN(a){const i=a.window?a.window:typeof window<"u"?window:void 0,c=typeof i<"u"&&typeof i.document<"u"&&typeof i.document.createElement<"u";Zt(a.routes.length>0,"You must provide a non-empty routes array to createRouter");let s=a.hydrationRouteProperties||[],h=a.mapRouteProperties||dN,p=h;if(a.unstable_instrumentations){let $=a.unstable_instrumentations;p=le=>({...h(le),...tN($.map(ye=>ye.route).filter(Boolean),le)})}let y={},v=yy(a.routes,p,void 0,y),T,E=a.basename||"/";E.startsWith("/")||(E=`/${E}`);let R=a.dataStrategy||vN,x={...a.future},A=null,D=new Set,N=null,H=null,L=null,q=a.hydrationData!=null,I=ls(v,a.history.location,E),F=!1,W=null,Y,ne;if(I==null&&!a.patchRoutesOnNavigation){let $=Oi(404,{pathname:a.history.location.pathname}),{matches:le,route:ye}=X0(v);Y=!0,ne=!Y,I=le,W={[ye.id]:$}}else if(I&&!a.hydrationData&&$a(I,v,a.history.location.pathname).active&&(I=null),I)if(I.some($=>$.route.lazy))Y=!1,ne=!Y;else if(!I.some($=>C1($.route)))Y=!0,ne=!Y;else{let $=a.hydrationData?a.hydrationData.loaderData:null,le=a.hydrationData?a.hydrationData.errors:null,ye=I;if(le){let je=I.findIndex(He=>le[He.route.id]!==void 0);ye=ye.slice(0,je+1)}ne=!1,Y=ye.every(je=>{let He=Wx(je.route,$,le);return ne=ne||He.renderFallback,!He.shouldLoad})}else{Y=!1,ne=!Y,I=[];let $=$a(null,v,a.history.location.pathname);$.active&&$.matches&&(F=!0,I=$.matches)}let ae,V={historyAction:a.history.action,location:a.history.location,matches:I,initialized:Y,renderFallback:ne,navigation:R1,restoreScrollPosition:a.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:a.hydrationData&&a.hydrationData.loaderData||{},actionData:a.hydrationData&&a.hydrationData.actionData||null,errors:a.hydrationData&&a.hydrationData.errors||W,fetchers:new Map,blockers:new Map},Se="POP",me=null,Ne=!1,xe,Ye=!1,$e=new Map,et=null,k=!1,ce=!1,Ee=new Set,ze=new Map,se=0,j=-1,J=new Map,ue=new Set,re=new Map,De=new Map,Ue=new Set,Me=new Map,We,Qe=null;function ot(){if(A=a.history.listen(({action:$,location:le,delta:ye})=>{if(We){We(),We=void 0;return}pa(Me.size===0||ye!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let je=Fe({currentLocation:V.location,nextLocation:le,historyAction:$});if(je&&ye!=null){let He=new Promise(Ke=>{We=Ke});a.history.go(ye*-1),Be(je,{state:"blocked",location:le,proceed(){Be(je,{state:"proceeding",proceed:void 0,reset:void 0,location:le}),He.then(()=>a.history.go(ye))},reset(){let Ke=new Map(V.blockers);Ke.set(je,Sy),Ct({blockers:Ke})}}),me==null||me.resolve(),me=null;return}return cn($,le)}),c){LN(i,$e);let $=()=>BN(i,$e);i.addEventListener("pagehide",$),et=()=>i.removeEventListener("pagehide",$)}return V.initialized||cn("POP",V.location,{initialHydration:!0}),ae}function Le(){A&&A(),et&&et(),D.clear(),xe&&xe.abort(),V.fetchers.forEach(($,le)=>el(le)),V.blockers.forEach(($,le)=>we(le))}function Ve($){return D.add($),()=>D.delete($)}function Ct($,le={}){$.matches&&($.matches=$.matches.map(He=>{let Ke=y[He.route.id],qe=He.route;return qe.element!==Ke.element||qe.errorElement!==Ke.errorElement||qe.hydrateFallbackElement!==Ke.hydrateFallbackElement?{...He,route:Ke}:He})),V={...V,...$};let ye=[],je=[];V.fetchers.forEach((He,Ke)=>{He.state==="idle"&&(Ue.has(Ke)?ye.push(Ke):je.push(Ke))}),Ue.forEach(He=>{!V.fetchers.has(He)&&!ze.has(He)&&ye.push(He)}),[...D].forEach(He=>He(V,{deletedFetchers:ye,newErrors:$.errors??null,viewTransitionOpts:le.viewTransitionOpts,flushSync:le.flushSync===!0})),ye.forEach(He=>el(He)),je.forEach(He=>V.fetchers.delete(He))}function tn($,le,{flushSync:ye}={}){var mt,lt;let je=V.actionData!=null&&V.navigation.formMethod!=null&&Ml(V.navigation.formMethod)&&V.navigation.state==="loading"&&((mt=$.state)==null?void 0:mt._isRedirect)!==!0,He;le.actionData?Object.keys(le.actionData).length>0?He=le.actionData:He=null:je?He=V.actionData:He=null;let Ke=le.loaderData?fR(V.loaderData,le.loaderData,le.matches||[],le.errors):V.loaderData,qe=V.blockers;qe.size>0&&(qe=new Map(qe),qe.forEach((wt,_t)=>qe.set(_t,Sy)));let Xe=k?!1:ga($,le.matches||V.matches),Ze=Ne===!0||V.navigation.formMethod!=null&&Ml(V.navigation.formMethod)&&((lt=$.state)==null?void 0:lt._isRedirect)!==!0;T&&(v=T,T=void 0),k||Se==="POP"||(Se==="PUSH"?a.history.push($,$.state):Se==="REPLACE"&&a.history.replace($,$.state));let rt;if(Se==="POP"){let wt=$e.get(V.location.pathname);wt&&wt.has($.pathname)?rt={currentLocation:V.location,nextLocation:$}:$e.has($.pathname)&&(rt={currentLocation:$,nextLocation:V.location})}else if(Ye){let wt=$e.get(V.location.pathname);wt?wt.add($.pathname):(wt=new Set([$.pathname]),$e.set(V.location.pathname,wt)),rt={currentLocation:V.location,nextLocation:$}}Ct({...le,actionData:He,loaderData:Ke,historyAction:Se,location:$,initialized:!0,renderFallback:!1,navigation:R1,revalidation:"idle",restoreScrollPosition:Xe,preventScrollReset:Ze,blockers:qe},{viewTransitionOpts:rt,flushSync:ye===!0}),Se="POP",Ne=!1,Ye=!1,k=!1,ce=!1,me==null||me.resolve(),me=null,Qe==null||Qe.resolve(),Qe=null}async function Mt($,le){if(me==null||me.resolve(),me=null,typeof $=="number"){me||(me=yR());let yn=me.promise;return a.history.go($),yn}let ye=A1(V.location,V.matches,E,$,le==null?void 0:le.fromRouteId,le==null?void 0:le.relative),{path:je,submission:He,error:Ke}=Fx(!1,ye,le),qe;le!=null&&le.unstable_mask&&(qe={pathname:"",search:"",hash:"",...typeof le.unstable_mask=="string"?Gu(le.unstable_mask):{...V.location.unstable_mask,...le.unstable_mask}});let Xe=V.location,Ze=py(Xe,je,le&&le.state,void 0,qe);Ze={...Ze,...a.history.encodeLocation(Ze)};let rt=le&&le.replace!=null?le.replace:void 0,mt="PUSH";rt===!0?mt="REPLACE":rt===!1||He!=null&&Ml(He.formMethod)&&He.formAction===V.location.pathname+V.location.search&&(mt="REPLACE");let lt=le&&"preventScrollReset"in le?le.preventScrollReset===!0:void 0,wt=(le&&le.flushSync)===!0,_t=Fe({currentLocation:Xe,nextLocation:Ze,historyAction:mt});if(_t){Be(_t,{state:"blocked",location:Ze,proceed(){Be(_t,{state:"proceeding",proceed:void 0,reset:void 0,location:Ze}),Mt($,le)},reset(){let yn=new Map(V.blockers);yn.set(_t,Sy),Ct({blockers:yn})}});return}await cn(mt,Ze,{submission:He,pendingError:Ke,preventScrollReset:lt,replace:le&&le.replace,enableViewTransition:le&&le.viewTransition,flushSync:wt,callSiteDefaultShouldRevalidate:le&&le.unstable_defaultShouldRevalidate})}function qt(){Qe||(Qe=yR()),Aa(),Ct({revalidation:"loading"});let $=Qe.promise;return V.navigation.state==="submitting"?$:V.navigation.state==="idle"?(cn(V.historyAction,V.location,{startUninterruptedRevalidation:!0}),$):(cn(Se||V.historyAction,V.navigation.location,{overrideNavigation:V.navigation,enableViewTransition:Ye===!0}),$)}async function cn($,le,ye){xe&&xe.abort(),xe=null,Se=$,k=(ye&&ye.startUninterruptedRevalidation)===!0,bt(V.location,V.matches),Ne=(ye&&ye.preventScrollReset)===!0,Ye=(ye&&ye.enableViewTransition)===!0;let je=T||v,He=ye&&ye.overrideNavigation,Ke=ye!=null&&ye.initialHydration&&V.matches&&V.matches.length>0&&!F?V.matches:ls(je,le,E),qe=(ye&&ye.flushSync)===!0;if(Ke&&V.initialized&&!ce&&RN(V.location,le)&&!(ye&&ye.submission&&Ml(ye.submission.formMethod))){tn(le,{matches:Ke},{flushSync:qe});return}let Xe=$a(Ke,je,le.pathname);if(Xe.active&&Xe.matches&&(Ke=Xe.matches),!Ke){let{error:On,notFoundMatches:kn,route:Jt}=ct(le.pathname);tn(le,{matches:kn,loaderData:{},errors:{[Jt.id]:On}},{flushSync:qe});return}xe=new AbortController;let Ze=zh(a.history,le,xe.signal,ye&&ye.submission),rt=a.getContext?await a.getContext():new jx,mt;if(ye&&ye.pendingError)mt=[is(Ke).route.id,{type:"error",error:ye.pendingError}];else if(ye&&ye.submission&&Ml(ye.submission.formMethod)){let On=await $r(Ze,le,ye.submission,Ke,rt,Xe.active,ye&&ye.initialHydration===!0,{replace:ye.replace,flushSync:qe});if(On.shortCircuited)return;if(On.pendingActionResult){let[kn,Jt]=On.pendingActionResult;if(Vr(Jt)&&by(Jt.error)&&Jt.error.status===404){xe=null,tn(le,{matches:On.matches,loaderData:{},errors:{[kn]:Jt.error}});return}}Ke=On.matches||Ke,mt=On.pendingActionResult,He=j1(le,ye.submission),qe=!1,Xe.active=!1,Ze=zh(a.history,Ze.url,Ze.signal)}let{shortCircuited:lt,matches:wt,loaderData:_t,errors:yn}=await To(Ze,le,Ke,rt,Xe.active,He,ye&&ye.submission,ye&&ye.fetcherSubmission,ye&&ye.replace,ye&&ye.initialHydration===!0,qe,mt,ye&&ye.callSiteDefaultShouldRevalidate);lt||(xe=null,tn(le,{matches:wt||Ke,...dR(mt),loaderData:_t,errors:yn}))}async function $r($,le,ye,je,He,Ke,qe,Xe={}){Aa();let Ze=zN(le,ye);if(Ct({navigation:Ze},{flushSync:Xe.flushSync===!0}),Ke){let lt=await Fl(je,le.pathname,$.signal);if(lt.type==="aborted")return{shortCircuited:!0};if(lt.type==="error"){if(lt.partialMatches.length===0){let{matches:_t,route:yn}=X0(v);return{matches:_t,pendingActionResult:[yn.id,{type:"error",error:lt.error}]}}let wt=is(lt.partialMatches).route.id;return{matches:lt.partialMatches,pendingActionResult:[wt,{type:"error",error:lt.error}]}}else if(lt.matches)je=lt.matches;else{let{notFoundMatches:wt,error:_t,route:yn}=ct(le.pathname);return{matches:wt,pendingActionResult:[yn.id,{type:"error",error:_t}]}}}let rt,mt=I0(je,le);if(!mt.route.action&&!mt.route.lazy)rt={type:"error",error:Oi(405,{method:$.method,pathname:le.pathname,routeId:mt.route.id})};else{let lt=jh(p,y,$,je,mt,qe?[]:s,He),wt=await xt($,lt,He,null);if(rt=wt[mt.route.id],!rt){for(let _t of je)if(wt[_t.route.id]){rt=wt[_t.route.id];break}}if($.signal.aborted)return{shortCircuited:!0}}if(Vf(rt)){let lt;return Xe&&Xe.replace!=null?lt=Xe.replace:lt=uR(rt.response.headers.get("Location"),new URL($.url),E,a.history)===V.location.pathname+V.location.search,await zl($,rt,!0,{submission:ye,replace:lt}),{shortCircuited:!0}}if(Vr(rt)){let lt=is(je,mt.route.id);return(Xe&&Xe.replace)!==!0&&(Se="PUSH"),{matches:je,pendingActionResult:[lt.route.id,rt,mt.route.id]}}return{matches:je,pendingActionResult:[mt.route.id,rt]}}async function To($,le,ye,je,He,Ke,qe,Xe,Ze,rt,mt,lt,wt){let _t=Ke||j1(le,qe),yn=qe||Xe||mR(_t),On=!k&&!rt;if(He){if(On){let ea=Je(lt);Ct({navigation:_t,...ea!==void 0?{actionData:ea}:{}},{flushSync:mt})}let Ut=await Fl(ye,le.pathname,$.signal);if(Ut.type==="aborted")return{shortCircuited:!0};if(Ut.type==="error"){if(Ut.partialMatches.length===0){let{matches:tl,route:ta}=X0(v);return{matches:tl,loaderData:{},errors:{[ta.id]:Ut.error}}}let ea=is(Ut.partialMatches).route.id;return{matches:Ut.partialMatches,loaderData:{},errors:{[ea]:Ut.error}}}else if(Ut.matches)ye=Ut.matches;else{let{error:ea,notFoundMatches:tl,route:ta}=ct(le.pathname);return{matches:tl,loaderData:{},errors:{[ta.id]:ea}}}}let kn=T||v,{dsMatches:Jt,revalidatingFetchers:ca}=Kx($,je,p,y,a.history,V,ye,yn,le,rt?[]:s,rt===!0,ce,Ee,Ue,re,ue,kn,E,a.patchRoutesOnNavigation!=null,lt,wt);if(j=++se,!a.dataStrategy&&!Jt.some(Ut=>Ut.shouldLoad)&&!Jt.some(Ut=>Ut.route.middleware&&Ut.route.middleware.length>0)&&ca.length===0){let Ut=Xr();return tn(le,{matches:ye,loaderData:{},errors:lt&&Vr(lt[1])?{[lt[0]]:lt[1].error}:null,...dR(lt),...Ut?{fetchers:new Map(V.fetchers)}:{}},{flushSync:mt}),{shortCircuited:!0}}if(On){let Ut={};if(!He){Ut.navigation=_t;let ea=Je(lt);ea!==void 0&&(Ut.actionData=ea)}ca.length>0&&(Ut.fetchers=Er(ca)),Ct(Ut,{flushSync:mt})}ca.forEach(Ut=>{Yn(Ut.key),Ut.controller&&ze.set(Ut.key,Ut.controller)});let Gt=()=>ca.forEach(Ut=>Yn(Ut.key));xe&&xe.signal.addEventListener("abort",Gt);let{loaderResults:Kl,fetcherResults:Qa}=await Wa(Jt,ca,$,je);if($.signal.aborted)return{shortCircuited:!0};xe&&xe.signal.removeEventListener("abort",Gt),ca.forEach(Ut=>ze.delete(Ut.key));let va=Z0(Kl);if(va)return await zl($,va.result,!0,{replace:Ze}),{shortCircuited:!0};if(va=Z0(Qa),va)return ue.add(va.key),await zl($,va.result,!0,{replace:Ze}),{shortCircuited:!0};let{loaderData:Ll,errors:Ai}=sR(V,ye,Kl,lt,ca,Qa);rt&&V.errors&&(Ai={...V.errors,...Ai});let Tr=Xr(),Zr=U(j),Ir=Tr||Zr||ca.length>0;return{matches:ye,loaderData:Ll,errors:Ai,...Ir?{fetchers:new Map(V.fetchers)}:{}}}function Je($){if($&&!Vr($[1]))return{[$[0]]:$[1].data};if(V.actionData)return Object.keys(V.actionData).length===0?null:V.actionData}function Er($){return $.forEach(le=>{let ye=V.fetchers.get(le.key),je=_y(void 0,ye?ye.data:void 0);V.fetchers.set(le.key,je)}),new Map(V.fetchers)}async function jl($,le,ye,je){Yn($);let He=(je&&je.flushSync)===!0,Ke=T||v,qe=A1(V.location,V.matches,E,ye,le,je==null?void 0:je.relative),Xe=ls(Ke,qe,E),Ze=$a(Xe,Ke,qe);if(Ze.active&&Ze.matches&&(Xe=Ze.matches),!Xe){Pa($,le,Oi(404,{pathname:qe}),{flushSync:He});return}let{path:rt,submission:mt,error:lt}=Fx(!0,qe,je);if(lt){Pa($,le,lt,{flushSync:He});return}let wt=a.getContext?await a.getContext():new jx,_t=(je&&je.preventScrollReset)===!0;if(mt&&Ml(mt.formMethod)){await Qr($,le,rt,Xe,wt,Ze.active,He,_t,mt,je&&je.unstable_defaultShouldRevalidate);return}re.set($,{routeId:le,path:rt}),await Mn($,le,rt,Xe,wt,Ze.active,He,_t,mt)}async function Qr($,le,ye,je,He,Ke,qe,Xe,Ze,rt){Aa(),re.delete($);let mt=V.fetchers.get($);Ul($,UN(Ze,mt),{flushSync:qe});let lt=new AbortController,wt=zh(a.history,ye,lt.signal,Ze);if(Ke){let _n=await Fl(je,new URL(wt.url).pathname,wt.signal,$);if(_n.type==="aborted")return;if(_n.type==="error"){Pa($,le,_n.error,{flushSync:qe});return}else if(_n.matches)je=_n.matches;else{Pa($,le,Oi(404,{pathname:ye}),{flushSync:qe});return}}let _t=I0(je,ye);if(!_t.route.action&&!_t.route.lazy){let _n=Oi(405,{method:Ze.formMethod,pathname:ye,routeId:le});Pa($,le,_n,{flushSync:qe});return}ze.set($,lt);let yn=se,On=jh(p,y,wt,je,_t,s,He),kn=await xt(wt,On,He,$),Jt=kn[_t.route.id];if(!Jt){for(let _n of On)if(kn[_n.route.id]){Jt=kn[_n.route.id];break}}if(wt.signal.aborted){ze.get($)===lt&&ze.delete($);return}if(Ue.has($)){if(Vf(Jt)||Vr(Jt)){Ul($,$u(void 0));return}}else{if(Vf(Jt))if(ze.delete($),j>yn){Ul($,$u(void 0));return}else return ue.add($),Ul($,_y(Ze)),zl(wt,Jt,!1,{fetcherSubmission:Ze,preventScrollReset:Xe});if(Vr(Jt)){Pa($,le,Jt.error);return}}let ca=V.navigation.location||V.location,Gt=zh(a.history,ca,lt.signal),Kl=T||v,Qa=V.navigation.state!=="idle"?ls(Kl,V.navigation.location,E):V.matches;Zt(Qa,"Didn't find any matches after fetcher action");let va=++se;J.set($,va);let Ll=_y(Ze,Jt.data);V.fetchers.set($,Ll);let{dsMatches:Ai,revalidatingFetchers:Tr}=Kx(Gt,He,p,y,a.history,V,Qa,Ze,ca,s,!1,ce,Ee,Ue,re,ue,Kl,E,a.patchRoutesOnNavigation!=null,[_t.route.id,Jt],rt);Tr.filter(_n=>_n.key!==$).forEach(_n=>{let ru=_n.key,Wu=V.fetchers.get(ru),Zf=_y(void 0,Wu?Wu.data:void 0);V.fetchers.set(ru,Zf),Yn(ru),_n.controller&&ze.set(ru,_n.controller)}),Ct({fetchers:new Map(V.fetchers)});let Zr=()=>Tr.forEach(_n=>Yn(_n.key));lt.signal.addEventListener("abort",Zr);let{loaderResults:Ir,fetcherResults:Ut}=await Wa(Ai,Tr,Gt,He);if(lt.signal.aborted)return;if(lt.signal.removeEventListener("abort",Zr),J.delete($),ze.delete($),Tr.forEach(_n=>ze.delete(_n.key)),V.fetchers.has($)){let _n=$u(Jt.data);V.fetchers.set($,_n)}let ea=Z0(Ir);if(ea)return zl(Gt,ea.result,!1,{preventScrollReset:Xe});if(ea=Z0(Ut),ea)return ue.add(ea.key),zl(Gt,ea.result,!1,{preventScrollReset:Xe});let{loaderData:tl,errors:ta}=sR(V,Qa,Ir,void 0,Tr,Ut);U(va),V.navigation.state==="loading"&&va>j?(Zt(Se,"Expected pending action"),xe&&xe.abort(),tn(V.navigation.location,{matches:Qa,loaderData:tl,errors:ta,fetchers:new Map(V.fetchers)})):(Ct({errors:ta,loaderData:fR(V.loaderData,tl,Qa,ta),fetchers:new Map(V.fetchers)}),ce=!1)}async function Mn($,le,ye,je,He,Ke,qe,Xe,Ze){let rt=V.fetchers.get($);Ul($,_y(Ze,rt?rt.data:void 0),{flushSync:qe});let mt=new AbortController,lt=zh(a.history,ye,mt.signal);if(Ke){let Jt=await Fl(je,new URL(lt.url).pathname,lt.signal,$);if(Jt.type==="aborted")return;if(Jt.type==="error"){Pa($,le,Jt.error,{flushSync:qe});return}else if(Jt.matches)je=Jt.matches;else{Pa($,le,Oi(404,{pathname:ye}),{flushSync:qe});return}}let wt=I0(je,ye);ze.set($,mt);let _t=se,yn=jh(p,y,lt,je,wt,s,He),kn=(await xt(lt,yn,He,$))[wt.route.id];if(ze.get($)===mt&&ze.delete($),!lt.signal.aborted){if(Ue.has($)){Ul($,$u(void 0));return}if(Vf(kn))if(j>_t){Ul($,$u(void 0));return}else{ue.add($),await zl(lt,kn,!1,{preventScrollReset:Xe});return}if(Vr(kn)){Pa($,le,kn.error);return}Ul($,$u(kn.data))}}async function zl($,le,ye,{submission:je,fetcherSubmission:He,preventScrollReset:Ke,replace:qe}={}){ye||(me==null||me.resolve(),me=null),le.response.headers.has("X-Remix-Revalidate")&&(ce=!0);let Xe=le.response.headers.get("Location");Zt(Xe,"Expected a Location header on the redirect Response"),Xe=uR(Xe,new URL($.url),E,a.history);let Ze=py(V.location,Xe,{_isRedirect:!0});if(c){let yn=!1;if(le.response.headers.has("X-Remix-Reload-Document"))yn=!0;else if(_1(Xe)){const On=Nx(Xe,!0);yn=On.origin!==i.location.origin||_i(On.pathname,E)==null}if(yn){qe?i.location.replace(Xe):i.location.assign(Xe);return}}xe=null;let rt=qe===!0||le.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:mt,formAction:lt,formEncType:wt}=V.navigation;!je&&!He&&mt&&lt&&wt&&(je=mR(V.navigation));let _t=je||He;if(sN.has(le.response.status)&&_t&&Ml(_t.formMethod))await cn(rt,Ze,{submission:{..._t,formAction:Xe},preventScrollReset:Ke||Ne,enableViewTransition:ye?Ye:void 0});else{let yn=j1(Ze,je);await cn(rt,Ze,{overrideNavigation:yn,fetcherSubmission:He,preventScrollReset:Ke||Ne,enableViewTransition:ye?Ye:void 0})}}async function xt($,le,ye,je){var qe;let He,Ke={};try{He=await EN(R,$,le,je,ye,!1)}catch(Xe){return le.filter(Ze=>Ze.shouldLoad).forEach(Ze=>{Ke[Ze.route.id]={type:"error",error:Xe}}),Ke}if($.signal.aborted)return Ke;if(!Ml($.method))for(let Xe of le){if(((qe=He[Xe.route.id])==null?void 0:qe.type)==="error")break;!He.hasOwnProperty(Xe.route.id)&&!V.loaderData.hasOwnProperty(Xe.route.id)&&(!V.errors||!V.errors.hasOwnProperty(Xe.route.id))&&Xe.shouldCallHandler()&&(He[Xe.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${Xe.route.id}`)})}for(let[Xe,Ze]of Object.entries(He))if(wN(Ze)){let rt=Ze.result;Ke[Xe]={type:"redirect",response:ON(rt,$,Xe,le,E)}}else Ke[Xe]=await _N(Ze);return Ke}async function Wa($,le,ye,je){let He=xt(ye,$,je,null),Ke=Promise.all(le.map(async Ze=>{if(Ze.matches&&Ze.match&&Ze.request&&Ze.controller){let mt=(await xt(Ze.request,Ze.matches,je,Ze.key))[Ze.match.route.id];return{[Ze.key]:mt}}else return Promise.resolve({[Ze.key]:{type:"error",error:Oi(404,{pathname:Ze.path})}})})),qe=await He,Xe=(await Ke).reduce((Ze,rt)=>Object.assign(Ze,rt),{});return{loaderResults:qe,fetcherResults:Xe}}function Aa(){ce=!0,re.forEach(($,le)=>{ze.has(le)&&Ee.add(le),Yn(le)})}function Ul($,le,ye={}){V.fetchers.set($,le),Ct({fetchers:new Map(V.fetchers)},{flushSync:(ye&&ye.flushSync)===!0})}function Pa($,le,ye,je={}){let He=is(V.matches,le);el($),Ct({errors:{[He.route.id]:ye},fetchers:new Map(V.fetchers)},{flushSync:(je&&je.flushSync)===!0})}function lu($){return De.set($,(De.get($)||0)+1),Ue.has($)&&Ue.delete($),V.fetchers.get($)||fN}function _o($,le){Yn($,le==null?void 0:le.reason),Ul($,$u(null))}function el($){let le=V.fetchers.get($);ze.has($)&&!(le&&le.state==="loading"&&J.has($))&&Yn($),re.delete($),J.delete($),ue.delete($),Ue.delete($),Ee.delete($),V.fetchers.delete($)}function Wn($){let le=(De.get($)||0)-1;le<=0?(De.delete($),Ue.add($)):De.set($,le),Ct({fetchers:new Map(V.fetchers)})}function Yn($,le){let ye=ze.get($);ye&&(ye.abort(le),ze.delete($))}function Pn($){for(let le of $){let ye=lu(le),je=$u(ye.data);V.fetchers.set(le,je)}}function Xr(){let $=[],le=!1;for(let ye of ue){let je=V.fetchers.get(ye);Zt(je,`Expected fetcher: ${ye}`),je.state==="loading"&&(ue.delete(ye),$.push(ye),le=!0)}return Pn($),le}function U($){let le=[];for(let[ye,je]of J)if(je<$){let He=V.fetchers.get(ye);Zt(He,`Expected fetcher: ${ye}`),He.state==="loading"&&(Yn(ye),J.delete(ye),le.push(ye))}return Pn(le),le.length>0}function ie($,le){let ye=V.blockers.get($)||Sy;return Me.get($)!==le&&Me.set($,le),ye}function we($){V.blockers.delete($),Me.delete($)}function Be($,le){let ye=V.blockers.get($)||Sy;Zt(ye.state==="unblocked"&&le.state==="blocked"||ye.state==="blocked"&&le.state==="blocked"||ye.state==="blocked"&&le.state==="proceeding"||ye.state==="blocked"&&le.state==="unblocked"||ye.state==="proceeding"&&le.state==="unblocked",`Invalid blocker state transition: ${ye.state} -> ${le.state}`);let je=new Map(V.blockers);je.set($,le),Ct({blockers:je})}function Fe({currentLocation:$,nextLocation:le,historyAction:ye}){if(Me.size===0)return;Me.size>1&&pa(!1,"A router only supports one blocker at a time");let je=Array.from(Me.entries()),[He,Ke]=je[je.length-1],qe=V.blockers.get(He);if(!(qe&&qe.state==="proceeding")&&Ke({currentLocation:$,nextLocation:le,historyAction:ye}))return He}function ct($){let le=Oi(404,{pathname:$}),ye=T||v,{matches:je,route:He}=X0(ye);return{notFoundMatches:je,route:He,error:le}}function tt($,le,ye){if(N=$,L=le,H=ye||null,!q&&V.navigation===R1){q=!0;let je=ga(V.location,V.matches);je!=null&&Ct({restoreScrollPosition:je})}return()=>{N=null,L=null,H=null}}function Dt($,le){return H&&H($,le.map(je=>BM(je,V.loaderData)))||$.key}function bt($,le){if(N&&L){let ye=Dt($,le);N[ye]=L()}}function ga($,le){if(N){let ye=Dt($,le),je=N[ye];if(typeof je=="number")return je}return null}function $a($,le,ye){if(a.patchRoutesOnNavigation)if($){if(Object.keys($[0].params).length>0)return{active:!0,matches:gy(le,ye,E,!0)}}else return{active:!0,matches:gy(le,ye,E,!0)||[]};return{active:!1,matches:null}}async function Fl($,le,ye,je){if(!a.patchRoutesOnNavigation)return{type:"success",matches:$};let He=$;for(;;){let Ke=T==null,qe=T||v,Xe=y;try{await a.patchRoutesOnNavigation({signal:ye,path:le,matches:He,fetcherKey:je,patch:(mt,lt)=>{ye.aborted||Px(mt,lt,qe,Xe,p,!1)}})}catch(mt){return{type:"error",error:mt,partialMatches:He}}finally{Ke&&!ye.aborted&&(v=[...v])}if(ye.aborted)return{type:"aborted"};let Ze=ls(qe,le,E),rt=null;if(Ze){if(Object.keys(Ze[0].params).length===0)return{type:"success",matches:Ze};if(rt=gy(qe,le,E,!0),!(rt&&He.length<rt.length&&Oo(He,rt.slice(0,He.length))))return{type:"success",matches:Ze}}if(rt||(rt=gy(qe,le,E,!0)),!rt||Oo(He,rt))return{type:"success",matches:null};He=rt}}function Oo($,le){return $.length===le.length&&$.every((ye,je)=>ye.route.id===le[je].route.id)}function Ku($){y={},T=yy($,p,void 0,y)}function Sr($,le,ye=!1){let je=T==null;Px($,le,T||v,y,p,ye),je&&(v=[...v],Ct({}))}return ae={get basename(){return E},get future(){return x},get state(){return V},get routes(){return v},get window(){return i},initialize:ot,subscribe:Ve,enableScrollRestoration:tt,navigate:Mt,fetch:jl,revalidate:qt,createHref:$=>a.history.createHref($),encodeLocation:$=>a.history.encodeLocation($),getFetcher:lu,resetFetcher:_o,deleteFetcher:Wn,dispose:Le,getBlocker:ie,deleteBlocker:we,patchRoutes:Sr,_internalFetchControllers:ze,_internalSetRoutes:Ku,_internalSetStateDoNotUseOrYouWillBreakYourApp($){Ct($)}},a.unstable_instrumentations&&(ae=nN(ae,a.unstable_instrumentations.map($=>$.router).filter(Boolean))),ae}function pN(a){return a!=null&&("formData"in a&&a.formData!=null||"body"in a&&a.body!==void 0)}function A1(a,i,c,s,h,p){let y,v;if(h){y=[];for(let E of i)if(y.push(E),E.route.id===h){v=E;break}}else y=i,v=i[i.length-1];let T=Q0(s||".",x1(y),_i(a.pathname,c)||a.pathname,p==="path");if(s==null&&(T.search=a.search,T.hash=a.hash),(s==null||s===""||s===".")&&v){let E=N1(T.search);if(v.route.index&&!E)T.search=T.search?T.search.replace(/^\?/,"?index&"):"?index";else if(!v.route.index&&E){let R=new URLSearchParams(T.search),x=R.getAll("index");R.delete("index"),x.filter(D=>D).forEach(D=>R.append("index",D));let A=R.toString();T.search=A?`?${A}`:""}}return c!=="/"&&(T.pathname=FM({basename:c,pathname:T.pathname})),Po(T)}function Fx(a,i,c){if(!c||!pN(c))return{path:i};if(c.formMethod&&!jN(c.formMethod))return{path:i,error:Oi(405,{method:c.formMethod})};let s=()=>({path:i,error:Oi(400,{type:"invalid-body"})}),p=(c.formMethod||"get").toUpperCase(),y=hR(i);if(c.body!==void 0){if(c.formEncType==="text/plain"){if(!Ml(p))return s();let x=typeof c.body=="string"?c.body:c.body instanceof FormData||c.body instanceof URLSearchParams?Array.from(c.body.entries()).reduce((A,[D,N])=>`${A}${D}=${N}
333
+ `,""):String(c.body);return{path:i,submission:{formMethod:p,formAction:y,formEncType:c.formEncType,formData:void 0,json:void 0,text:x}}}else if(c.formEncType==="application/json"){if(!Ml(p))return s();try{let x=typeof c.body=="string"?JSON.parse(c.body):c.body;return{path:i,submission:{formMethod:p,formAction:y,formEncType:c.formEncType,formData:void 0,json:x,text:void 0}}}catch{return s()}}}Zt(typeof FormData=="function","FormData is not available in this environment");let v,T;if(c.formData)v=w1(c.formData),T=c.formData;else if(c.body instanceof FormData)v=w1(c.body),T=c.body;else if(c.body instanceof URLSearchParams)v=c.body,T=cR(v);else if(c.body==null)v=new URLSearchParams,T=new FormData;else try{v=new URLSearchParams(c.body),T=cR(v)}catch{return s()}let E={formMethod:p,formAction:y,formEncType:c&&c.formEncType||"application/x-www-form-urlencoded",formData:T,json:void 0,text:void 0};if(Ml(E.formMethod))return{path:i,submission:E};let R=Gu(i);return a&&R.search&&N1(R.search)&&v.append("index",""),R.search=`?${v}`,{path:Po(R),submission:E}}function Kx(a,i,c,s,h,p,y,v,T,E,R,x,A,D,N,H,L,q,I,F,W){var et;let Y=F?Vr(F[1])?F[1].error:F[1].data:void 0,ne=h.createURL(p.location),ae=h.createURL(T),V;if(R&&p.errors){let k=Object.keys(p.errors)[0];V=y.findIndex(ce=>ce.route.id===k)}else if(F&&Vr(F[1])){let k=F[0];V=y.findIndex(ce=>ce.route.id===k)-1}let Se=F?F[1].statusCode:void 0,me=Se&&Se>=400,Ne={currentUrl:ne,currentParams:((et=p.matches[0])==null?void 0:et.params)||{},nextUrl:ae,nextParams:y[0].params,...v,actionResult:Y,actionStatus:Se},xe=Ey(y),Ye=y.map((k,ce)=>{let{route:Ee}=k,ze=null;if(V!=null&&ce>V)ze=!1;else if(Ee.lazy)ze=!0;else if(!C1(Ee))ze=!1;else if(R){let{shouldLoad:ue}=Wx(Ee,p.loaderData,p.errors);ze=ue}else mN(p.loaderData,p.matches[ce],k)&&(ze=!0);if(ze!==null)return D1(c,s,a,xe,k,E,i,ze);let se=!1;typeof W=="boolean"?se=W:me?se=!1:(x||ne.pathname+ne.search===ae.pathname+ae.search||ne.search!==ae.search||yN(p.matches[ce],k))&&(se=!0);let j={...Ne,defaultShouldRevalidate:se},J=Ty(k,j);return D1(c,s,a,xe,k,E,i,J,j,W)}),$e=[];return N.forEach((k,ce)=>{if(R||!y.some(De=>De.route.id===k.routeId)||D.has(ce))return;let Ee=p.fetchers.get(ce),ze=Ee&&Ee.state!=="idle"&&Ee.data===void 0,se=ls(L,k.path,q);if(!se){if(I&&ze)return;$e.push({key:ce,routeId:k.routeId,path:k.path,matches:null,match:null,request:null,controller:null});return}if(H.has(ce))return;let j=I0(se,k.path),J=new AbortController,ue=zh(h,k.path,J.signal),re=null;if(A.has(ce))A.delete(ce),re=jh(c,s,ue,se,j,E,i);else if(ze)x&&(re=jh(c,s,ue,se,j,E,i));else{let De;typeof W=="boolean"?De=W:me?De=!1:De=x;let Ue={...Ne,defaultShouldRevalidate:De};Ty(j,Ue)&&(re=jh(c,s,ue,se,j,E,i,Ue))}re&&$e.push({key:ce,routeId:k.routeId,path:k.path,matches:re,match:j,request:ue,controller:J})}),{dsMatches:Ye,revalidatingFetchers:$e}}function C1(a){return a.loader!=null||a.middleware!=null&&a.middleware.length>0}function Wx(a,i,c){if(a.lazy)return{shouldLoad:!0,renderFallback:!0};if(!C1(a))return{shouldLoad:!1,renderFallback:!1};let s=i!=null&&a.id in i,h=c!=null&&c[a.id]!==void 0;if(!s&&h)return{shouldLoad:!1,renderFallback:!1};if(typeof a.loader=="function"&&a.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!s};let p=!s&&!h;return{shouldLoad:p,renderFallback:p}}function mN(a,i,c){let s=!i||c.route.id!==i.route.id,h=!a.hasOwnProperty(c.route.id);return s||h}function yN(a,i){let c=a.route.path;return a.pathname!==i.pathname||c!=null&&c.endsWith("*")&&a.params["*"]!==i.params["*"]}function Ty(a,i){if(a.route.shouldRevalidate){let c=a.route.shouldRevalidate(i);if(typeof c=="boolean")return c}return i.defaultShouldRevalidate}function Px(a,i,c,s,h,p){let y;if(a){let E=s[a];Zt(E,`No route found to patch children into: routeId = ${a}`),E.children||(E.children=[]),y=E.children}else y=c;let v=[],T=[];if(i.forEach(E=>{let R=y.find(x=>eR(E,x));R?T.push({existingRoute:R,newRoute:E}):v.push(E)}),v.length>0){let E=yy(v,h,[a||"_","patch",String((y==null?void 0:y.length)||"0")],s);y.push(...E)}if(p&&T.length>0)for(let E=0;E<T.length;E++){let{existingRoute:R,newRoute:x}=T[E],A=R,[D]=yy([x],h,[],{},!0);Object.assign(A,{element:D.element?D.element:A.element,errorElement:D.errorElement?D.errorElement:A.errorElement,hydrateFallbackElement:D.hydrateFallbackElement?D.hydrateFallbackElement:A.hydrateFallbackElement})}}function eR(a,i){var c;return"id"in a&&"id"in i&&a.id===i.id?!0:a.index===i.index&&a.path===i.path&&a.caseSensitive===i.caseSensitive?(!a.children||a.children.length===0)&&(!i.children||i.children.length===0)?!0:((c=a.children)==null?void 0:c.every((s,h)=>{var p;return(p=i.children)==null?void 0:p.some(y=>eR(s,y))}))??!1:!1}var tR=new WeakMap,nR=({key:a,route:i,manifest:c,mapRouteProperties:s})=>{let h=c[i.id];if(Zt(h,"No route found in manifest"),!h.lazy||typeof h.lazy!="object")return;let p=h.lazy[a];if(!p)return;let y=tR.get(h);y||(y={},tR.set(h,y));let v=y[a];if(v)return v;let T=(async()=>{let E=jM(a),x=h[a]!==void 0&&a!=="hasErrorBoundary";if(E)pa(!E,"Route property "+a+" is not a supported lazy route property. This property will be ignored."),y[a]=Promise.resolve();else if(x)pa(!1,`Route "${h.id}" has a static property "${a}" defined. The lazy property will be ignored.`);else{let A=await p();A!=null&&(Object.assign(h,{[a]:A}),Object.assign(h,s(h)))}typeof h.lazy=="object"&&(h.lazy[a]=void 0,Object.values(h.lazy).every(A=>A===void 0)&&(h.lazy=void 0))})();return y[a]=T,T},aR=new WeakMap;function gN(a,i,c,s,h){let p=c[a.id];if(Zt(p,"No route found in manifest"),!a.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof a.lazy=="function"){let R=aR.get(p);if(R)return{lazyRoutePromise:R,lazyHandlerPromise:R};let x=(async()=>{Zt(typeof a.lazy=="function","No lazy route function found");let A=await a.lazy(),D={};for(let N in A){let H=A[N];if(H===void 0)continue;let L=UM(N),I=p[N]!==void 0&&N!=="hasErrorBoundary";L?pa(!L,"Route property "+N+" is not a supported property to be returned from a lazy route function. This property will be ignored."):I?pa(!I,`Route "${p.id}" has a static property "${N}" defined but its lazy function is also returning a value for this property. The lazy route property "${N}" will be ignored.`):D[N]=H}Object.assign(p,D),Object.assign(p,{...s(p),lazy:void 0})})();return aR.set(p,x),x.catch(()=>{}),{lazyRoutePromise:x,lazyHandlerPromise:x}}let y=Object.keys(a.lazy),v=[],T;for(let R of y){if(h&&h.includes(R))continue;let x=nR({key:R,route:a,manifest:c,mapRouteProperties:s});x&&(v.push(x),R===i&&(T=x))}let E=v.length>0?Promise.all(v).then(()=>{}):void 0;return E==null||E.catch(()=>{}),T==null||T.catch(()=>{}),{lazyRoutePromise:E,lazyHandlerPromise:T}}async function lR(a){let i=a.matches.filter(h=>h.shouldLoad),c={};return(await Promise.all(i.map(h=>h.resolve()))).forEach((h,p)=>{c[i[p].route.id]=h}),c}async function vN(a){return a.matches.some(i=>i.route.middleware)?rR(a,()=>lR(a)):lR(a)}function rR(a,i){return bN(a,i,s=>{if(NN(s))throw s;return s},CN,c);function c(s,h,p){if(p)return Promise.resolve(Object.assign(p.value,{[h]:{type:"error",result:s}}));{let{matches:y}=a,v=Math.min(Math.max(y.findIndex(E=>E.route.id===h),0),Math.max(y.findIndex(E=>E.shouldCallHandler()),0)),T=is(y,y[v].route.id).route.id;return Promise.resolve({[T]:{type:"error",result:s}})}}}async function bN(a,i,c,s,h){let{matches:p,request:y,params:v,context:T,unstable_pattern:E}=a,R=p.flatMap(A=>A.route.middleware?A.route.middleware.map(D=>[A.route.id,D]):[]);return await iR({request:y,params:v,context:T,unstable_pattern:E},R,i,c,s,h)}async function iR(a,i,c,s,h,p,y=0){let{request:v}=a;if(v.signal.aborted)throw v.signal.reason??new Error(`Request aborted: ${v.method} ${v.url}`);let T=i[y];if(!T)return await c();let[E,R]=T,x,A=async()=>{if(x)throw new Error("You may only call `next()` once per middleware");try{return x={value:await iR(a,i,c,s,h,p,y+1)},x.value}catch(D){return x={value:await p(D,E,x)},x.value}};try{let D=await R(a,A),N=D!=null?s(D):void 0;return h(N)?N:x?N??x.value:(x={value:await A()},x.value)}catch(D){return await p(D,E,x)}}function oR(a,i,c,s,h){let p=nR({key:"middleware",route:s.route,manifest:i,mapRouteProperties:a}),y=gN(s.route,Ml(c.method)?"action":"loader",i,a,h);return{middleware:p,route:y.lazyRoutePromise,handler:y.lazyHandlerPromise}}function D1(a,i,c,s,h,p,y,v,T=null,E){let R=!1,x=oR(a,i,c,h,p);return{...h,_lazyPromises:x,shouldLoad:v,shouldRevalidateArgs:T,shouldCallHandler(A){return R=!0,T?typeof E=="boolean"?Ty(h,{...T,defaultShouldRevalidate:E}):typeof A=="boolean"?Ty(h,{...T,defaultShouldRevalidate:A}):Ty(h,T):v},resolve(A){let{lazy:D,loader:N,middleware:H}=h.route,L=R||v||A&&!Ml(c.method)&&(D||N),q=H&&H.length>0&&!N&&!D;return L&&(Ml(c.method)||!q)?SN({request:c,unstable_pattern:s,match:h,lazyHandlerPromise:x==null?void 0:x.handler,lazyRoutePromise:x==null?void 0:x.route,handlerOverride:A,scopedContext:y}):Promise.resolve({type:"data",result:void 0})}}}function jh(a,i,c,s,h,p,y,v=null){return s.map(T=>T.route.id!==h.route.id?{...T,shouldLoad:!1,shouldRevalidateArgs:v,shouldCallHandler:()=>!1,_lazyPromises:oR(a,i,c,T,p),resolve:()=>Promise.resolve({type:"data",result:void 0})}:D1(a,i,c,Ey(s),T,p,y,!0,v))}async function EN(a,i,c,s,h,p){c.some(E=>{var R;return(R=E._lazyPromises)==null?void 0:R.middleware})&&await Promise.all(c.map(E=>{var R;return(R=E._lazyPromises)==null?void 0:R.middleware}));let y={request:i,unstable_pattern:Ey(c),params:c[0].params,context:h,matches:c},T=await a({...y,fetcherKey:s,runClientMiddleware:E=>{let R=y;return rR(R,()=>E({...R,fetcherKey:s,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(c.flatMap(E=>{var R,x;return[(R=E._lazyPromises)==null?void 0:R.handler,(x=E._lazyPromises)==null?void 0:x.route]}))}catch{}return T}async function SN({request:a,unstable_pattern:i,match:c,lazyHandlerPromise:s,lazyRoutePromise:h,handlerOverride:p,scopedContext:y}){let v,T,E=Ml(a.method),R=E?"action":"loader",x=A=>{let D,N=new Promise((q,I)=>D=I);T=()=>D(),a.signal.addEventListener("abort",T);let H=q=>typeof A!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${R}" [routeId: ${c.route.id}]`)):A({request:a,unstable_pattern:i,params:c.params,context:y},...q!==void 0?[q]:[]),L=(async()=>{try{return{type:"data",result:await(p?p(I=>H(I)):H())}}catch(q){return{type:"error",result:q}}})();return Promise.race([L,N])};try{let A=E?c.route.action:c.route.loader;if(s||h)if(A){let D,[N]=await Promise.all([x(A).catch(H=>{D=H}),s,h]);if(D!==void 0)throw D;v=N}else{await s;let D=E?c.route.action:c.route.loader;if(D)[v]=await Promise.all([x(D),h]);else if(R==="action"){let N=new URL(a.url),H=N.pathname+N.search;throw Oi(405,{method:a.method,pathname:H,routeId:c.route.id})}else return{type:"data",result:void 0}}else if(A)v=await x(A);else{let D=new URL(a.url),N=D.pathname+D.search;throw Oi(404,{pathname:N})}}catch(A){return{type:"error",result:A}}finally{T&&a.signal.removeEventListener("abort",T)}return v}async function TN(a){let i=a.headers.get("Content-Type");return i&&/\bapplication\/json\b/.test(i)?a.body==null?null:a.json():a.text()}async function _N(a){var s,h,p,y,v;let{result:i,type:c}=a;if(M1(i)){let T;try{T=await TN(i)}catch(E){return{type:"error",error:E}}return c==="error"?{type:"error",error:new vy(i.status,i.statusText,T),statusCode:i.status,headers:i.headers}:{type:"data",data:T,statusCode:i.status,headers:i.headers}}return c==="error"?pR(i)?i.data instanceof Error?{type:"error",error:i.data,statusCode:(s=i.init)==null?void 0:s.status,headers:(h=i.init)!=null&&h.headers?new Headers(i.init.headers):void 0}:{type:"error",error:AN(i),statusCode:by(i)?i.status:void 0,headers:(p=i.init)!=null&&p.headers?new Headers(i.init.headers):void 0}:{type:"error",error:i,statusCode:by(i)?i.status:void 0}:pR(i)?{type:"data",data:i.data,statusCode:(y=i.init)==null?void 0:y.status,headers:(v=i.init)!=null&&v.headers?new Headers(i.init.headers):void 0}:{type:"data",data:i}}function ON(a,i,c,s,h){let p=a.headers.get("Location");if(Zt(p,"Redirects returned/thrown from loaders/actions must have a Location header"),!_1(p)){let y=s.slice(0,s.findIndex(v=>v.route.id===c)+1);p=A1(new URL(i.url),y,h,p),a.headers.set("Location",p)}return a}function uR(a,i,c,s){let h=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];if(_1(a)){let p=a,y=p.startsWith("//")?new URL(i.protocol+p):new URL(p);if(h.includes(y.protocol))throw new Error("Invalid redirect location");let v=_i(y.pathname,c)!=null;if(y.origin===i.origin&&v)return y.pathname+y.search+y.hash}try{let p=s.createURL(a);if(h.includes(p.protocol))throw new Error("Invalid redirect location")}catch{}return a}function zh(a,i,c,s){let h=a.createURL(hR(i)).toString(),p={signal:c};if(s&&Ml(s.formMethod)){let{formMethod:y,formEncType:v}=s;p.method=y.toUpperCase(),v==="application/json"?(p.headers=new Headers({"Content-Type":v}),p.body=JSON.stringify(s.json)):v==="text/plain"?p.body=s.text:v==="application/x-www-form-urlencoded"&&s.formData?p.body=w1(s.formData):p.body=s.formData}return new Request(h,p)}function w1(a){let i=new URLSearchParams;for(let[c,s]of a.entries())i.append(c,typeof s=="string"?s:s.name);return i}function cR(a){let i=new FormData;for(let[c,s]of a.entries())i.append(c,s);return i}function xN(a,i,c,s=!1,h=!1){let p={},y=null,v,T=!1,E={},R=c&&Vr(c[1])?c[1].error:void 0;return a.forEach(x=>{if(!(x.route.id in i))return;let A=x.route.id,D=i[A];if(Zt(!Vf(D),"Cannot handle redirect results in processLoaderData"),Vr(D)){let N=D.error;if(R!==void 0&&(N=R,R=void 0),y=y||{},h)y[A]=N;else{let H=is(a,A);y[H.route.id]==null&&(y[H.route.id]=N)}s||(p[A]=Jx),T||(T=!0,v=by(D.error)?D.error.status:500),D.headers&&(E[A]=D.headers)}else p[A]=D.data,D.statusCode&&D.statusCode!==200&&!T&&(v=D.statusCode),D.headers&&(E[A]=D.headers)}),R!==void 0&&c&&(y={[c[0]]:R},c[2]&&(p[c[2]]=void 0)),{loaderData:p,errors:y,statusCode:v||200,loaderHeaders:E}}function sR(a,i,c,s,h,p){let{loaderData:y,errors:v}=xN(i,c,s);return h.filter(T=>!T.matches||T.matches.some(E=>E.shouldLoad)).forEach(T=>{let{key:E,match:R,controller:x}=T;if(x&&x.signal.aborted)return;let A=p[E];if(Zt(A,"Did not find corresponding fetcher result"),Vr(A)){let D=is(a.matches,R==null?void 0:R.route.id);v&&v[D.route.id]||(v={...v,[D.route.id]:A.error}),a.fetchers.delete(E)}else if(Vf(A))Zt(!1,"Unhandled fetcher revalidation redirect");else{let D=$u(A.data);a.fetchers.set(E,D)}}),{loaderData:y,errors:v}}function fR(a,i,c,s){let h=Object.entries(i).filter(([,p])=>p!==Jx).reduce((p,[y,v])=>(p[y]=v,p),{});for(let p of c){let y=p.route.id;if(!i.hasOwnProperty(y)&&a.hasOwnProperty(y)&&p.route.loader&&(h[y]=a[y]),s&&s.hasOwnProperty(y))break}return h}function dR(a){return a?Vr(a[1])?{actionData:{}}:{actionData:{[a[0]]:a[1].data}}:{}}function is(a,i){return(i?a.slice(0,a.findIndex(s=>s.route.id===i)+1):[...a]).reverse().find(s=>s.route.hasErrorBoundary===!0)||a[0]}function X0(a){let i=a.length===1?a[0]:a.find(c=>c.index||!c.path||c.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:i}],route:i}}function Oi(a,{pathname:i,routeId:c,method:s,type:h,message:p}={}){let y="Unknown Server Error",v="Unknown @remix-run/router error";return a===400?(y="Bad Request",s&&i&&c?v=`You made a ${s} request to "${i}" but did not provide a \`loader\` for route "${c}", so there is no way to handle the request.`:h==="invalid-body"&&(v="Unable to encode submission body")):a===403?(y="Forbidden",v=`Route "${c}" does not match URL "${i}"`):a===404?(y="Not Found",v=`No route matches URL "${i}"`):a===405&&(y="Method Not Allowed",s&&i&&c?v=`You made a ${s.toUpperCase()} request to "${i}" but did not provide an \`action\` for route "${c}", so there is no way to handle the request.`:s&&(v=`Invalid request method "${s.toUpperCase()}"`)),new vy(a||500,y,new Error(v),!0)}function Z0(a){let i=Object.entries(a);for(let c=i.length-1;c>=0;c--){let[s,h]=i[c];if(Vf(h))return{key:s,result:h}}}function hR(a){let i=typeof a=="string"?Gu(a):a;return Po({...i,hash:""})}function RN(a,i){return a.pathname!==i.pathname||a.search!==i.search?!1:a.hash===""?i.hash!=="":a.hash===i.hash?!0:i.hash!==""}function AN(a){var i,c;return new vy(((i=a.init)==null?void 0:i.status)??500,((c=a.init)==null?void 0:c.statusText)??"Internal Server Error",a.data)}function CN(a){return a!=null&&typeof a=="object"&&Object.entries(a).every(([i,c])=>typeof i=="string"&&DN(c))}function DN(a){return a!=null&&typeof a=="object"&&"type"in a&&"result"in a&&(a.type==="data"||a.type==="error")}function wN(a){return M1(a.result)&&Zx.has(a.result.status)}function Vr(a){return a.type==="error"}function Vf(a){return(a&&a.type)==="redirect"}function pR(a){return typeof a=="object"&&a!=null&&"type"in a&&"data"in a&&"init"in a&&a.type==="DataWithResponseInit"}function M1(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.headers=="object"&&typeof a.body<"u"}function MN(a){return Zx.has(a)}function NN(a){return M1(a)&&MN(a.status)&&a.headers.has("Location")}function jN(a){return cN.has(a.toUpperCase())}function Ml(a){return oN.has(a.toUpperCase())}function N1(a){return new URLSearchParams(a).getAll("index").some(i=>i==="")}function I0(a,i){let c=typeof i=="string"?Gu(i).search:i.search;if(a[a.length-1].route.index&&N1(c||""))return a[a.length-1];let s=qx(a);return s[s.length-1]}function mR(a){let{formMethod:i,formAction:c,formEncType:s,text:h,formData:p,json:y}=a;if(!(!i||!c||!s)){if(h!=null)return{formMethod:i,formAction:c,formEncType:s,formData:void 0,json:void 0,text:h};if(p!=null)return{formMethod:i,formAction:c,formEncType:s,formData:p,json:void 0,text:void 0};if(y!==void 0)return{formMethod:i,formAction:c,formEncType:s,formData:void 0,json:y,text:void 0}}}function j1(a,i){return i?{state:"loading",location:a,formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}:{state:"loading",location:a,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function zN(a,i){return{state:"submitting",location:a,formMethod:i.formMethod,formAction:i.formAction,formEncType:i.formEncType,formData:i.formData,json:i.json,text:i.text}}function _y(a,i){return a?{state:"loading",formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text,data:i}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:i}}function UN(a,i){return{state:"submitting",formMethod:a.formMethod,formAction:a.formAction,formEncType:a.formEncType,formData:a.formData,json:a.json,text:a.text,data:i?i.data:void 0}}function $u(a){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:a}}function LN(a,i){try{let c=a.sessionStorage.getItem(Ix);if(c){let s=JSON.parse(c);for(let[h,p]of Object.entries(s||{}))p&&Array.isArray(p)&&i.set(h,new Set(p||[]))}}catch{}}function BN(a,i){if(i.size>0){let c={};for(let[s,h]of i)c[s]=[...h];try{a.sessionStorage.setItem(Ix,JSON.stringify(c))}catch(s){pa(!1,`Failed to save applied view transitions in sessionStorage (${s}).`)}}}function yR(){let a,i,c=new Promise((s,h)=>{a=async p=>{s(p);try{await c}catch{}},i=async p=>{h(p);try{await c}catch{}}});return{promise:c,resolve:a,reject:i}}var qf=w.createContext(null);qf.displayName="DataRouter";var Oy=w.createContext(null);Oy.displayName="DataRouterState";var gR=w.createContext(!1);function HN(){return w.useContext(gR)}var z1=w.createContext({isTransitioning:!1});z1.displayName="ViewTransition";var vR=w.createContext(new Map);vR.displayName="Fetchers";var VN=w.createContext(null);VN.displayName="Await";var xi=w.createContext(null);xi.displayName="Navigation";var J0=w.createContext(null);J0.displayName="Location";var go=w.createContext({outlet:null,matches:[],isDataRoute:!1});go.displayName="Route";var U1=w.createContext(null);U1.displayName="RouteError";var bR="REACT_ROUTER_ERROR",qN="REDIRECT",YN="ROUTE_ERROR_RESPONSE";function kN(a){if(a.startsWith(`${bR}:${qN}:{`))try{let i=JSON.parse(a.slice(28));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string"&&typeof i.location=="string"&&typeof i.reloadDocument=="boolean"&&typeof i.replace=="boolean")return i}catch{}}function GN(a){if(a.startsWith(`${bR}:${YN}:{`))try{let i=JSON.parse(a.slice(40));if(typeof i=="object"&&i&&typeof i.status=="number"&&typeof i.statusText=="string")return new vy(i.status,i.statusText,i.data)}catch{}}function $N(a,{relative:i}={}){Zt(xy(),"useHref() may be used only in the context of a <Router> component.");let{basename:c,navigator:s}=w.useContext(xi),{hash:h,pathname:p,search:y}=Uh(a,{relative:i}),v=p;return c!=="/"&&(v=p==="/"?c:yo([c,p])),s.createHref({pathname:v,search:y,hash:h})}function xy(){return w.useContext(J0)!=null}function eu(){return Zt(xy(),"useLocation() may be used only in the context of a <Router> component."),w.useContext(J0).location}var ER="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function SR(a){w.useContext(xi).static||w.useLayoutEffect(a)}function os(){let{isDataRoute:a}=w.useContext(go);return a?rj():QN()}function QN(){Zt(xy(),"useNavigate() may be used only in the context of a <Router> component.");let a=w.useContext(qf),{basename:i,navigator:c}=w.useContext(xi),{matches:s}=w.useContext(go),{pathname:h}=eu(),p=JSON.stringify(x1(s)),y=w.useRef(!1);return SR(()=>{y.current=!0}),w.useCallback((T,E={})=>{if(pa(y.current,ER),!y.current)return;if(typeof T=="number"){c.go(T);return}let R=Q0(T,JSON.parse(p),h,E.relative==="path");a==null&&i!=="/"&&(R.pathname=R.pathname==="/"?i:yo([i,R.pathname])),(E.replace?c.replace:c.push)(R,E.state,E)},[i,c,p,h,a])}var XN=w.createContext(null);function ZN(a){let i=w.useContext(go).outlet;return w.useMemo(()=>i&&w.createElement(XN.Provider,{value:a},i),[i,a])}function Yf(){let{matches:a}=w.useContext(go),i=a[a.length-1];return i?i.params:{}}function Uh(a,{relative:i}={}){let{matches:c}=w.useContext(go),{pathname:s}=eu(),h=JSON.stringify(x1(c));return w.useMemo(()=>Q0(a,JSON.parse(h),s,i==="path"),[a,h,s,i])}function IN(a,i,c){Zt(xy(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:s}=w.useContext(xi),{matches:h}=w.useContext(go),p=h[h.length-1],y=p?p.params:{},v=p?p.pathname:"/",T=p?p.pathnameBase:"/",E=p&&p.route;{let L=E&&E.path||"";OR(v,!E||L.endsWith("*")||L.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${v}" (under <Route path="${L}">) 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.
334
+
335
+ Please change the parent <Route path="${L}"> to <Route path="${L==="/"?"*":`${L}/*`}">.`)}let R=eu(),x;x=R;let A=x.pathname||"/",D=A;if(T!=="/"){let L=T.replace(/^\//,"").split("/");D="/"+A.replace(/^\//,"").split("/").slice(L.length).join("/")}let N=ls(a,{pathname:D});return pa(E||N!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),pa(N==null||N[N.length-1].route.element!==void 0||N[N.length-1].route.Component!==void 0||N[N.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.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.`),PN(N&&N.map(L=>Object.assign({},L,{params:Object.assign({},y,L.params),pathname:yo([T,s.encodeLocation?s.encodeLocation(L.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathname]),pathnameBase:L.pathnameBase==="/"?T:yo([T,s.encodeLocation?s.encodeLocation(L.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:L.pathnameBase])})),h,c)}function JN(){let a=lj(),i=by(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),c=a instanceof Error?a.stack:null,s="rgba(200,200,200, 0.5)",h={padding:"0.5rem",backgroundColor:s},p={padding:"2px 4px",backgroundColor:s},y=null;return console.error("Error handled by React Router default ErrorBoundary:",a),y=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:p},"ErrorBoundary")," or"," ",w.createElement("code",{style:p},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},i),c?w.createElement("pre",{style:h},c):null,y)}var FN=w.createElement(JN,null),TR=class extends w.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,i){return i.location!==a.location||i.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:i.error,location:i.location,revalidation:a.revalidation||i.revalidation}}componentDidCatch(a,i){this.props.onError?this.props.onError(a,i):console.error("React Router caught the following error during render",a)}render(){let a=this.state.error;if(this.context&&typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){const c=GN(a.digest);c&&(a=c)}let i=a!==void 0?w.createElement(go.Provider,{value:this.props.routeContext},w.createElement(U1.Provider,{value:a,children:this.props.component})):this.props.children;return this.context?w.createElement(KN,{error:a},i):i}};TR.contextType=gR;var L1=new WeakMap;function KN({children:a,error:i}){let{basename:c}=w.useContext(xi);if(typeof i=="object"&&i&&"digest"in i&&typeof i.digest=="string"){let s=kN(i.digest);if(s){let h=L1.get(i);if(h)throw h;let p=kx(s.location,c);if(Yx&&!L1.get(i))if(p.isExternal||s.reloadDocument)window.location.href=p.absoluteURL||p.to;else{const y=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(p.to,{replace:s.replace}));throw L1.set(i,y),y}return w.createElement("meta",{httpEquiv:"refresh",content:`0;url=${p.absoluteURL||p.to}`})}}return a}function WN({routeContext:a,match:i,children:c}){let s=w.useContext(qf);return s&&s.static&&s.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=i.route.id),w.createElement(go.Provider,{value:a},c)}function PN(a,i=[],c){let s=c==null?void 0:c.state;if(a==null){if(!s)return null;if(s.errors)a=s.matches;else if(i.length===0&&!s.initialized&&s.matches.length>0)a=s.matches;else return null}let h=a,p=s==null?void 0:s.errors;if(p!=null){let R=h.findIndex(x=>x.route.id&&(p==null?void 0:p[x.route.id])!==void 0);Zt(R>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(p).join(",")}`),h=h.slice(0,Math.min(h.length,R+1))}let y=!1,v=-1;if(c&&s){y=s.renderFallback;for(let R=0;R<h.length;R++){let x=h[R];if((x.route.HydrateFallback||x.route.hydrateFallbackElement)&&(v=R),x.route.id){let{loaderData:A,errors:D}=s,N=x.route.loader&&!A.hasOwnProperty(x.route.id)&&(!D||D[x.route.id]===void 0);if(x.route.lazy||N){c.isStatic&&(y=!0),v>=0?h=h.slice(0,v+1):h=[h[0]];break}}}}let T=c==null?void 0:c.onError,E=s&&T?(R,x)=>{var A,D;T(R,{location:s.location,params:((D=(A=s.matches)==null?void 0:A[0])==null?void 0:D.params)??{},unstable_pattern:Ey(s.matches),errorInfo:x})}:void 0;return h.reduceRight((R,x,A)=>{let D,N=!1,H=null,L=null;s&&(D=p&&x.route.id?p[x.route.id]:void 0,H=x.route.errorElement||FN,y&&(v<0&&A===0?(OR("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),N=!0,L=null):v===A&&(N=!0,L=x.route.hydrateFallbackElement||null)));let q=i.concat(h.slice(0,A+1)),I=()=>{let F;return D?F=H:N?F=L:x.route.Component?F=w.createElement(x.route.Component,null):x.route.element?F=x.route.element:F=R,w.createElement(WN,{match:x,routeContext:{outlet:R,matches:q,isDataRoute:s!=null},children:F})};return s&&(x.route.ErrorBoundary||x.route.errorElement||A===0)?w.createElement(TR,{location:s.location,revalidation:s.revalidation,component:H,error:D,children:I(),routeContext:{outlet:null,matches:q,isDataRoute:!0},onError:E}):I()},null)}function B1(a){return`${a} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function ej(a){let i=w.useContext(qf);return Zt(i,B1(a)),i}function tj(a){let i=w.useContext(Oy);return Zt(i,B1(a)),i}function nj(a){let i=w.useContext(go);return Zt(i,B1(a)),i}function H1(a){let i=nj(a),c=i.matches[i.matches.length-1];return Zt(c.route.id,`${a} can only be used on routes that contain a unique "id"`),c.route.id}function aj(){return H1("useRouteId")}function lj(){var s;let a=w.useContext(U1),i=tj("useRouteError"),c=H1("useRouteError");return a!==void 0?a:(s=i.errors)==null?void 0:s[c]}function rj(){let{router:a}=ej("useNavigate"),i=H1("useNavigate"),c=w.useRef(!1);return SR(()=>{c.current=!0}),w.useCallback(async(h,p={})=>{pa(c.current,ER),c.current&&(typeof h=="number"?await a.navigate(h):await a.navigate(h,{fromRouteId:i,...p}))},[a,i])}var _R={};function OR(a,i,c){!i&&!_R[a]&&(_R[a]=!0,pa(!1,c))}var xR={};function RR(a,i){!a&&!xR[i]&&(xR[i]=!0,console.warn(i))}var ij="useOptimistic",AR=RM[ij],oj=()=>{};function uj(a){return AR?AR(a):[a,oj]}function cj(a){let i={hasErrorBoundary:a.hasErrorBoundary||a.ErrorBoundary!=null||a.errorElement!=null};return a.Component&&(a.element&&pa(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(i,{element:w.createElement(a.Component),Component:void 0})),a.HydrateFallback&&(a.hydrateFallbackElement&&pa(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(i,{hydrateFallbackElement:w.createElement(a.HydrateFallback),HydrateFallback:void 0})),a.ErrorBoundary&&(a.errorElement&&pa(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(i,{errorElement:w.createElement(a.ErrorBoundary),ErrorBoundary:void 0})),i}var sj=["HydrateFallback","hydrateFallbackElement"],fj=class{constructor(){this.status="pending",this.promise=new Promise((a,i)=>{this.resolve=c=>{this.status==="pending"&&(this.status="resolved",a(c))},this.reject=c=>{this.status==="pending"&&(this.status="rejected",i(c))}})}};function dj({router:a,flushSync:i,onError:c,unstable_useTransitions:s}){s=HN()||s;let[p,y]=w.useState(a.state),[v,T]=uj(p),[E,R]=w.useState(),[x,A]=w.useState({isTransitioning:!1}),[D,N]=w.useState(),[H,L]=w.useState(),[q,I]=w.useState(),F=w.useRef(new Map),W=w.useCallback((V,{deletedFetchers:Se,newErrors:me,flushSync:Ne,viewTransitionOpts:xe})=>{me&&c&&Object.values(me).forEach($e=>{var et;return c($e,{location:V.location,params:((et=V.matches[0])==null?void 0:et.params)??{},unstable_pattern:Ey(V.matches)})}),V.fetchers.forEach(($e,et)=>{$e.data!==void 0&&F.current.set(et,$e.data)}),Se.forEach($e=>F.current.delete($e)),RR(Ne===!1||i!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let Ye=a.window!=null&&a.window.document!=null&&typeof a.window.document.startViewTransition=="function";if(RR(xe==null||Ye,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!xe||!Ye){i&&Ne?i(()=>y(V)):s===!1?y(V):w.startTransition(()=>{s===!0&&T($e=>CR($e,V)),y(V)});return}if(i&&Ne){i(()=>{H&&(D==null||D.resolve(),H.skipTransition()),A({isTransitioning:!0,flushSync:!0,currentLocation:xe.currentLocation,nextLocation:xe.nextLocation})});let $e=a.window.document.startViewTransition(()=>{i(()=>y(V))});$e.finished.finally(()=>{i(()=>{N(void 0),L(void 0),R(void 0),A({isTransitioning:!1})})}),i(()=>L($e));return}H?(D==null||D.resolve(),H.skipTransition(),I({state:V,currentLocation:xe.currentLocation,nextLocation:xe.nextLocation})):(R(V),A({isTransitioning:!0,flushSync:!1,currentLocation:xe.currentLocation,nextLocation:xe.nextLocation}))},[a.window,i,H,D,s,T,c]);w.useLayoutEffect(()=>a.subscribe(W),[a,W]),w.useEffect(()=>{x.isTransitioning&&!x.flushSync&&N(new fj)},[x]),w.useEffect(()=>{if(D&&E&&a.window){let V=E,Se=D.promise,me=a.window.document.startViewTransition(async()=>{s===!1?y(V):w.startTransition(()=>{s===!0&&T(Ne=>CR(Ne,V)),y(V)}),await Se});me.finished.finally(()=>{N(void 0),L(void 0),R(void 0),A({isTransitioning:!1})}),L(me)}},[E,D,a.window,s,T]),w.useEffect(()=>{D&&E&&v.location.key===E.location.key&&D.resolve()},[D,H,v.location,E]),w.useEffect(()=>{!x.isTransitioning&&q&&(R(q.state),A({isTransitioning:!0,flushSync:!1,currentLocation:q.currentLocation,nextLocation:q.nextLocation}),I(void 0))},[x.isTransitioning,q]);let Y=w.useMemo(()=>({createHref:a.createHref,encodeLocation:a.encodeLocation,go:V=>a.navigate(V),push:(V,Se,me)=>a.navigate(V,{state:Se,preventScrollReset:me==null?void 0:me.preventScrollReset}),replace:(V,Se,me)=>a.navigate(V,{replace:!0,state:Se,preventScrollReset:me==null?void 0:me.preventScrollReset})}),[a]),ne=a.basename||"/",ae=w.useMemo(()=>({router:a,navigator:Y,static:!1,basename:ne,onError:c}),[a,Y,ne,c]);return w.createElement(w.Fragment,null,w.createElement(qf.Provider,{value:ae},w.createElement(Oy.Provider,{value:v},w.createElement(vR.Provider,{value:F.current},w.createElement(z1.Provider,{value:x},w.createElement(yj,{basename:ne,location:v.location,navigationType:v.historyAction,navigator:Y,unstable_useTransitions:s},w.createElement(hj,{routes:a.routes,future:a.future,state:v,isStatic:!1,onError:c})))))),null)}function CR(a,i){return{...a,navigation:i.navigation.state!=="idle"?i.navigation:a.navigation,revalidation:i.revalidation!=="idle"?i.revalidation:a.revalidation,actionData:i.navigation.state!=="submitting"?i.actionData:a.actionData,fetchers:i.fetchers}}var hj=w.memo(pj);function pj({routes:a,future:i,state:c,isStatic:s,onError:h}){return IN(a,void 0,{state:c,isStatic:s,onError:h})}function mj(a){return ZN(a.context)}function yj({basename:a="/",children:i=null,location:c,navigationType:s="POP",navigator:h,static:p=!1,unstable_useTransitions:y}){Zt(!xy(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let v=a.replace(/^\/*/,"/"),T=w.useMemo(()=>({basename:v,navigator:h,static:p,unstable_useTransitions:y,future:{}}),[v,h,p,y]);typeof c=="string"&&(c=Gu(c));let{pathname:E="/",search:R="",hash:x="",state:A=null,key:D="default",unstable_mask:N}=c,H=w.useMemo(()=>{let L=_i(E,v);return L==null?null:{location:{pathname:L,search:R,hash:x,state:A,key:D,unstable_mask:N},navigationType:s}},[v,E,R,x,A,D,s,N]);return pa(H!=null,`<Router basename="${v}"> is not able to match the URL "${E}${R}${x}" because it does not start with the basename, so the <Router> won't render anything.`),H==null?null:w.createElement(xi.Provider,{value:T},w.createElement(J0.Provider,{children:i,value:H}))}var F0="get",K0="application/x-www-form-urlencoded";function W0(a){return typeof HTMLElement<"u"&&a instanceof HTMLElement}function gj(a){return W0(a)&&a.tagName.toLowerCase()==="button"}function vj(a){return W0(a)&&a.tagName.toLowerCase()==="form"}function bj(a){return W0(a)&&a.tagName.toLowerCase()==="input"}function Ej(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function Sj(a,i){return a.button===0&&(!i||i==="_self")&&!Ej(a)}function V1(a=""){return new URLSearchParams(typeof a=="string"||Array.isArray(a)||a instanceof URLSearchParams?a:Object.keys(a).reduce((i,c)=>{let s=a[c];return i.concat(Array.isArray(s)?s.map(h=>[c,h]):[[c,s]])},[]))}function Tj(a,i){let c=V1(a);return i&&i.forEach((s,h)=>{c.has(h)||i.getAll(h).forEach(p=>{c.append(h,p)})}),c}var P0=null;function _j(){if(P0===null)try{new FormData(document.createElement("form"),0),P0=!1}catch{P0=!0}return P0}var Oj=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function q1(a){return a!=null&&!Oj.has(a)?(pa(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${K0}"`),null):a}function xj(a,i){let c,s,h,p,y;if(vj(a)){let v=a.getAttribute("action");s=v?_i(v,i):null,c=a.getAttribute("method")||F0,h=q1(a.getAttribute("enctype"))||K0,p=new FormData(a)}else if(gj(a)||bj(a)&&(a.type==="submit"||a.type==="image")){let v=a.form;if(v==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let T=a.getAttribute("formaction")||v.getAttribute("action");if(s=T?_i(T,i):null,c=a.getAttribute("formmethod")||v.getAttribute("method")||F0,h=q1(a.getAttribute("formenctype"))||q1(v.getAttribute("enctype"))||K0,p=new FormData(v,a),!_j()){let{name:E,type:R,value:x}=a;if(R==="image"){let A=E?`${E}.`:"";p.append(`${A}x`,"0"),p.append(`${A}y`,"0")}else E&&p.append(E,x)}}else{if(W0(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');c=F0,s=null,h=K0,y=a}return p&&h==="text/plain"&&(y=p,p=void 0),{action:s,method:c.toLowerCase(),encType:h,formData:p,body:y}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Y1(a,i){if(a===!1||a===null||typeof a>"u")throw new Error(i)}function Rj(a,i,c,s){let h=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return c?h.pathname.endsWith("/")?h.pathname=`${h.pathname}_.${s}`:h.pathname=`${h.pathname}.${s}`:h.pathname==="/"?h.pathname=`_root.${s}`:i&&_i(h.pathname,i)==="/"?h.pathname=`${i.replace(/\/$/,"")}/_root.${s}`:h.pathname=`${h.pathname.replace(/\/$/,"")}.${s}`,h}async function Aj(a,i){if(a.id in i)return i[a.id];try{let c=await import(a.module);return i[a.id]=c,c}catch(c){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(c),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Cj(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function Dj(a,i,c){let s=await Promise.all(a.map(async h=>{let p=i.routes[h.route.id];if(p){let y=await Aj(p,c);return y.links?y.links():[]}return[]}));return jj(s.flat(1).filter(Cj).filter(h=>h.rel==="stylesheet"||h.rel==="preload").map(h=>h.rel==="stylesheet"?{...h,rel:"prefetch",as:"style"}:{...h,rel:"prefetch"}))}function DR(a,i,c,s,h,p){let y=(T,E)=>c[E]?T.route.id!==c[E].route.id:!0,v=(T,E)=>{var R;return c[E].pathname!==T.pathname||((R=c[E].route.path)==null?void 0:R.endsWith("*"))&&c[E].params["*"]!==T.params["*"]};return p==="assets"?i.filter((T,E)=>y(T,E)||v(T,E)):p==="data"?i.filter((T,E)=>{var x;let R=s.routes[T.route.id];if(!R||!R.hasLoader)return!1;if(y(T,E)||v(T,E))return!0;if(T.route.shouldRevalidate){let A=T.route.shouldRevalidate({currentUrl:new URL(h.pathname+h.search+h.hash,window.origin),currentParams:((x=c[0])==null?void 0:x.params)||{},nextUrl:new URL(a,window.origin),nextParams:T.params,defaultShouldRevalidate:!0});if(typeof A=="boolean")return A}return!0}):[]}function wj(a,i,{includeHydrateFallback:c}={}){return Mj(a.map(s=>{let h=i.routes[s.route.id];if(!h)return[];let p=[h.module];return h.clientActionModule&&(p=p.concat(h.clientActionModule)),h.clientLoaderModule&&(p=p.concat(h.clientLoaderModule)),c&&h.hydrateFallbackModule&&(p=p.concat(h.hydrateFallbackModule)),h.imports&&(p=p.concat(h.imports)),p}).flat(1))}function Mj(a){return[...new Set(a)]}function Nj(a){let i={},c=Object.keys(a).sort();for(let s of c)i[s]=a[s];return i}function jj(a,i){let c=new Set;return new Set(i),a.reduce((s,h)=>{let p=JSON.stringify(Nj(h));return c.has(p)||(c.add(p),s.push({key:p,link:h})),s},[])}function wR(){let a=w.useContext(qf);return Y1(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function zj(){let a=w.useContext(Oy);return Y1(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var k1=w.createContext(void 0);k1.displayName="FrameworkContext";function MR(){let a=w.useContext(k1);return Y1(a,"You must render this element inside a <HydratedRouter> element"),a}function Uj(a,i){let c=w.useContext(k1),[s,h]=w.useState(!1),[p,y]=w.useState(!1),{onFocus:v,onBlur:T,onMouseEnter:E,onMouseLeave:R,onTouchStart:x}=i,A=w.useRef(null);w.useEffect(()=>{if(a==="render"&&y(!0),a==="viewport"){let H=q=>{q.forEach(I=>{y(I.isIntersecting)})},L=new IntersectionObserver(H,{threshold:.5});return A.current&&L.observe(A.current),()=>{L.disconnect()}}},[a]),w.useEffect(()=>{if(s){let H=setTimeout(()=>{y(!0)},100);return()=>{clearTimeout(H)}}},[s]);let D=()=>{h(!0)},N=()=>{h(!1),y(!1)};return c?a!=="intent"?[p,A,{}]:[p,A,{onFocus:Ry(v,D),onBlur:Ry(T,N),onMouseEnter:Ry(E,D),onMouseLeave:Ry(R,N),onTouchStart:Ry(x,D)}]:[!1,A,{}]}function Ry(a,i){return c=>{a&&a(c),c.defaultPrevented||i(c)}}function Lj({page:a,...i}){let{router:c}=wR(),s=w.useMemo(()=>ls(c.routes,a,c.basename),[c.routes,a,c.basename]);return s?w.createElement(Hj,{page:a,matches:s,...i}):null}function Bj(a){let{manifest:i,routeModules:c}=MR(),[s,h]=w.useState([]);return w.useEffect(()=>{let p=!1;return Dj(a,i,c).then(y=>{p||h(y)}),()=>{p=!0}},[a,i,c]),s}function Hj({page:a,matches:i,...c}){let s=eu(),{future:h,manifest:p,routeModules:y}=MR(),{basename:v}=wR(),{loaderData:T,matches:E}=zj(),R=w.useMemo(()=>DR(a,i,E,p,s,"data"),[a,i,E,p,s]),x=w.useMemo(()=>DR(a,i,E,p,s,"assets"),[a,i,E,p,s]),A=w.useMemo(()=>{if(a===s.pathname+s.search+s.hash)return[];let H=new Set,L=!1;if(i.forEach(I=>{var W;let F=p.routes[I.route.id];!F||!F.hasLoader||(!R.some(Y=>Y.route.id===I.route.id)&&I.route.id in T&&((W=y[I.route.id])!=null&&W.shouldRevalidate)||F.hasClientLoader?L=!0:H.add(I.route.id))}),H.size===0)return[];let q=Rj(a,v,h.unstable_trailingSlashAwareDataRequests,"data");return L&&H.size>0&&q.searchParams.set("_routes",i.filter(I=>H.has(I.route.id)).map(I=>I.route.id).join(",")),[q.pathname+q.search]},[v,h.unstable_trailingSlashAwareDataRequests,T,s,p,R,i,a,y]),D=w.useMemo(()=>wj(x,p),[x,p]),N=Bj(x);return w.createElement(w.Fragment,null,A.map(H=>w.createElement("link",{key:H,rel:"prefetch",as:"fetch",href:H,...c})),D.map(H=>w.createElement("link",{key:H,rel:"modulepreload",href:H,...c})),N.map(({key:H,link:L})=>w.createElement("link",{key:H,nonce:c.nonce,...L,crossOrigin:L.crossOrigin??c.crossOrigin})))}function Vj(...a){return i=>{a.forEach(c=>{typeof c=="function"?c(i):c!=null&&(c.current=i)})}}var qj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{qj&&(window.__reactRouterVersion="7.13.1")}catch{}function Yj(a,i){return hN({basename:i==null?void 0:i.basename,getContext:i==null?void 0:i.getContext,future:i==null?void 0:i.future,history:DM({window:i==null?void 0:i.window}),hydrationData:kj(),routes:a,mapRouteProperties:cj,hydrationRouteProperties:sj,dataStrategy:i==null?void 0:i.dataStrategy,patchRoutesOnNavigation:i==null?void 0:i.patchRoutesOnNavigation,window:i==null?void 0:i.window,unstable_instrumentations:i==null?void 0:i.unstable_instrumentations}).initialize()}function kj(){let a=window==null?void 0:window.__staticRouterHydrationData;return a&&a.errors&&(a={...a,errors:Gj(a.errors)}),a}function Gj(a){if(!a)return null;let i=Object.entries(a),c={};for(let[s,h]of i)if(h&&h.__type==="RouteErrorResponse")c[s]=new vy(h.status,h.statusText,h.data,h.internal===!0);else if(h&&h.__type==="Error"){if(h.__subType){let p=window[h.__subType];if(typeof p=="function")try{let y=new p(h.message);y.stack="",c[s]=y}catch{}}if(c[s]==null){let p=new Error(h.message);p.stack="",c[s]=p}}else c[s]=h;return c}var NR=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,G1=w.forwardRef(function({onClick:i,discover:c="render",prefetch:s="none",relative:h,reloadDocument:p,replace:y,unstable_mask:v,state:T,target:E,to:R,preventScrollReset:x,viewTransition:A,unstable_defaultShouldRevalidate:D,...N},H){let{basename:L,navigator:q,unstable_useTransitions:I}=w.useContext(xi),F=typeof R=="string"&&NR.test(R),W=kx(R,L);R=W.to;let Y=$N(R,{relative:h}),ne=eu(),ae=null;if(v){let et=Q0(v,[],ne.unstable_mask?ne.unstable_mask.pathname:"/",!0);L!=="/"&&(et.pathname=et.pathname==="/"?L:yo([L,et.pathname])),ae=q.createHref(et)}let[V,Se,me]=Uj(s,N),Ne=Zj(R,{replace:y,unstable_mask:v,state:T,target:E,preventScrollReset:x,relative:h,viewTransition:A,unstable_defaultShouldRevalidate:D,unstable_useTransitions:I});function xe(et){i&&i(et),et.defaultPrevented||Ne(et)}let Ye=!(W.isExternal||p),$e=w.createElement("a",{...N,...me,href:(Ye?ae:void 0)||W.absoluteURL||Y,onClick:Ye?xe:i,ref:Vj(H,Se),target:E,"data-discover":!F&&c==="render"?"true":void 0});return V&&!F?w.createElement(w.Fragment,null,$e,w.createElement(Lj,{page:Y})):$e});G1.displayName="Link";var $j=w.forwardRef(function({"aria-current":i="page",caseSensitive:c=!1,className:s="",end:h=!1,style:p,to:y,viewTransition:v,children:T,...E},R){let x=Uh(y,{relative:E.relative}),A=eu(),D=w.useContext(Oy),{navigator:N,basename:H}=w.useContext(xi),L=D!=null&&Wj(x)&&v===!0,q=N.encodeLocation?N.encodeLocation(x).pathname:x.pathname,I=A.pathname,F=D&&D.navigation&&D.navigation.location?D.navigation.location.pathname:null;c||(I=I.toLowerCase(),F=F?F.toLowerCase():null,q=q.toLowerCase()),F&&H&&(F=_i(F,H)||F);const W=q!=="/"&&q.endsWith("/")?q.length-1:q.length;let Y=I===q||!h&&I.startsWith(q)&&I.charAt(W)==="/",ne=F!=null&&(F===q||!h&&F.startsWith(q)&&F.charAt(q.length)==="/"),ae={isActive:Y,isPending:ne,isTransitioning:L},V=Y?i:void 0,Se;typeof s=="function"?Se=s(ae):Se=[s,Y?"active":null,ne?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let me=typeof p=="function"?p(ae):p;return w.createElement(G1,{...E,"aria-current":V,className:Se,ref:R,style:me,to:y,viewTransition:v},typeof T=="function"?T(ae):T)});$j.displayName="NavLink";var Qj=w.forwardRef(({discover:a="render",fetcherKey:i,navigate:c,reloadDocument:s,replace:h,state:p,method:y=F0,action:v,onSubmit:T,relative:E,preventScrollReset:R,viewTransition:x,unstable_defaultShouldRevalidate:A,...D},N)=>{let{unstable_useTransitions:H}=w.useContext(xi),L=Fj(),q=Kj(v,{relative:E}),I=y.toLowerCase()==="get"?"get":"post",F=typeof v=="string"&&NR.test(v),W=Y=>{if(T&&T(Y),Y.defaultPrevented)return;Y.preventDefault();let ne=Y.nativeEvent.submitter,ae=(ne==null?void 0:ne.getAttribute("formmethod"))||y,V=()=>L(ne||Y.currentTarget,{fetcherKey:i,method:ae,navigate:c,replace:h,state:p,relative:E,preventScrollReset:R,viewTransition:x,unstable_defaultShouldRevalidate:A});H&&c!==!1?w.startTransition(()=>V()):V()};return w.createElement("form",{ref:N,method:I,action:q,onSubmit:s?T:W,...D,"data-discover":!F&&a==="render"?"true":void 0})});Qj.displayName="Form";function Xj(a){return`${a} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function jR(a){let i=w.useContext(qf);return Zt(i,Xj(a)),i}function Zj(a,{target:i,replace:c,unstable_mask:s,state:h,preventScrollReset:p,relative:y,viewTransition:v,unstable_defaultShouldRevalidate:T,unstable_useTransitions:E}={}){let R=os(),x=eu(),A=Uh(a,{relative:y});return w.useCallback(D=>{if(Sj(D,i)){D.preventDefault();let N=c!==void 0?c:Po(x)===Po(A),H=()=>R(a,{replace:N,unstable_mask:s,state:h,preventScrollReset:p,relative:y,viewTransition:v,unstable_defaultShouldRevalidate:T});E?w.startTransition(()=>H()):H()}},[x,R,A,c,s,h,i,a,p,y,v,T,E])}function $1(a){pa(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let i=w.useRef(V1(a)),c=w.useRef(!1),s=eu(),h=w.useMemo(()=>Tj(s.search,c.current?null:i.current),[s.search]),p=os(),y=w.useCallback((v,T)=>{const E=V1(typeof v=="function"?v(new URLSearchParams(h)):v);c.current=!0,p("?"+E,T)},[p,h]);return[h,y]}var Ij=0,Jj=()=>`__${String(++Ij)}__`;function Fj(){let{router:a}=jR("useSubmit"),{basename:i}=w.useContext(xi),c=aj(),s=a.fetch,h=a.navigate;return w.useCallback(async(p,y={})=>{let{action:v,method:T,encType:E,formData:R,body:x}=xj(p,i);if(y.navigate===!1){let A=y.fetcherKey||Jj();await s(A,c,y.action||v,{unstable_defaultShouldRevalidate:y.unstable_defaultShouldRevalidate,preventScrollReset:y.preventScrollReset,formData:R,body:x,formMethod:y.method||T,formEncType:y.encType||E,flushSync:y.flushSync})}else await h(y.action||v,{unstable_defaultShouldRevalidate:y.unstable_defaultShouldRevalidate,preventScrollReset:y.preventScrollReset,formData:R,body:x,formMethod:y.method||T,formEncType:y.encType||E,replace:y.replace,state:y.state,fromRouteId:c,flushSync:y.flushSync,viewTransition:y.viewTransition})},[s,h,i,c])}function Kj(a,{relative:i}={}){let{basename:c}=w.useContext(xi),s=w.useContext(go);Zt(s,"useFormAction must be used inside a RouteContext");let[h]=s.matches.slice(-1),p={...Uh(a||".",{relative:i})},y=eu();if(a==null){p.search=y.search;let v=new URLSearchParams(p.search),T=v.getAll("index");if(T.some(R=>R==="")){v.delete("index"),T.filter(x=>x).forEach(x=>v.append("index",x));let R=v.toString();p.search=R?`?${R}`:""}}return(!a||a===".")&&h.route.index&&(p.search=p.search?p.search.replace(/^\?/,"?index&"):"?index"),c!=="/"&&(p.pathname=p.pathname==="/"?c:yo([c,p.pathname])),Po(p)}function Wj(a,{relative:i}={}){let c=w.useContext(z1);Zt(c!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:s}=jR("useViewTransitionState"),h=Uh(a,{relative:i});if(!c.isTransitioning)return!1;let p=_i(c.currentLocation.pathname,s)||c.currentLocation.pathname,y=_i(c.nextLocation.pathname,s)||c.nextLocation.pathname;return $0(h.pathname,y)!=null||$0(h.pathname,p)!=null}var Q1=S1();const kf=H0(Q1);/**
336
+ * react-router v7.13.1
337
+ *
338
+ * Copyright (c) Remix Software Inc.
339
+ *
340
+ * This source code is licensed under the MIT license found in the
341
+ * LICENSE.md file in the root directory of this source tree.
342
+ *
343
+ * @license MIT
344
+ */function Pj(a){return w.createElement(dj,{flushSync:Q1.flushSync,...a})}var eb={exports:{}},X1={};/**
345
+ * @license React
346
+ * use-sync-external-store-with-selector.production.js
347
+ *
348
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
349
+ *
350
+ * This source code is licensed under the MIT license found in the
351
+ * LICENSE file in the root directory of this source tree.
352
+ */var zR;function ez(){if(zR)return X1;zR=1;var a=as();function i(T,E){return T===E&&(T!==0||1/T===1/E)||T!==T&&E!==E}var c=typeof Object.is=="function"?Object.is:i,s=a.useSyncExternalStore,h=a.useRef,p=a.useEffect,y=a.useMemo,v=a.useDebugValue;return X1.useSyncExternalStoreWithSelector=function(T,E,R,x,A){var D=h(null);if(D.current===null){var N={hasValue:!1,value:null};D.current=N}else N=D.current;D=y(function(){function L(Y){if(!q){if(q=!0,I=Y,Y=x(Y),A!==void 0&&N.hasValue){var ne=N.value;if(A(ne,Y))return F=ne}return F=Y}if(ne=F,c(I,Y))return ne;var ae=x(Y);return A!==void 0&&A(ne,ae)?(I=Y,ne):(I=Y,F=ae)}var q=!1,I,F,W=R===void 0?null:R;return[function(){return L(E())},W===null?void 0:function(){return L(W())}]},[E,R,x,A]);var H=s(T,D[0],D[1]);return p(function(){N.hasValue=!0,N.value=H},[H]),v(H),H},X1}var Z1={};/**
353
+ * @license React
354
+ * use-sync-external-store-with-selector.development.js
355
+ *
356
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
357
+ *
358
+ * This source code is licensed under the MIT license found in the
359
+ * LICENSE file in the root directory of this source tree.
360
+ */var UR;function tz(){return UR||(UR=1,process.env.NODE_ENV!=="production"&&(function(){function a(T,E){return T===E&&(T!==0||1/T===1/E)||T!==T&&E!==E}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=as(),c=typeof Object.is=="function"?Object.is:a,s=i.useSyncExternalStore,h=i.useRef,p=i.useEffect,y=i.useMemo,v=i.useDebugValue;Z1.useSyncExternalStoreWithSelector=function(T,E,R,x,A){var D=h(null);if(D.current===null){var N={hasValue:!1,value:null};D.current=N}else N=D.current;D=y(function(){function L(Y){if(!q){if(q=!0,I=Y,Y=x(Y),A!==void 0&&N.hasValue){var ne=N.value;if(A(ne,Y))return F=ne}return F=Y}if(ne=F,c(I,Y))return ne;var ae=x(Y);return A!==void 0&&A(ne,ae)?(I=Y,ne):(I=Y,F=ae)}var q=!1,I,F,W=R===void 0?null:R;return[function(){return L(E())},W===null?void 0:function(){return L(W())}]},[E,R,x,A]);var H=s(T,D[0],D[1]);return p(function(){N.hasValue=!0,N.value=H},[H]),v(H),H},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Z1}var LR;function nz(){return LR||(LR=1,process.env.NODE_ENV==="production"?eb.exports=ez():eb.exports=tz()),eb.exports}var az=nz(),qr=sl,BR=Symbol.for("react-redux-context"),HR=typeof globalThis<"u"?globalThis:{};function lz(){if(!qr.createContext)return{};const a=HR[BR]??(HR[BR]=new Map);let i=a.get(qr.createContext);return i||(i=qr.createContext(null),process.env.NODE_ENV!=="production"&&(i.displayName="ReactRedux"),a.set(qr.createContext,i)),i}var us=lz(),rz=()=>{throw new Error("uSES not initialized!")};function I1(a=us){return function(){const c=qr.useContext(a);if(process.env.NODE_ENV!=="production"&&!c)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return c}}var VR=I1(),qR=rz,iz=a=>{qR=a},oz=(a,i)=>a===i;function uz(a=us){const i=a===us?VR:I1(a),c=(s,h={})=>{const{equalityFn:p=oz,devModeChecks:y={}}=typeof h=="function"?{equalityFn:h}:h;if(process.env.NODE_ENV!=="production"){if(!s)throw new Error("You must pass a selector to useSelector");if(typeof s!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof p!="function")throw new Error("You must pass a function as an equality function to useSelector")}const{store:v,subscription:T,getServerState:E,stabilityCheck:R,identityFunctionCheck:x}=i(),A=qr.useRef(!0),D=qr.useCallback({[s.name](H){const L=s(H);if(process.env.NODE_ENV!=="production"){const{identityFunctionCheck:q,stabilityCheck:I}={stabilityCheck:R,identityFunctionCheck:x,...y};if(I==="always"||I==="once"&&A.current){const F=s(H);if(!p(L,F)){let W;try{throw new Error}catch(Y){({stack:W}=Y)}console.warn("Selector "+(s.name||"unknown")+` returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
361
+ Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization`,{state:H,selected:L,selected2:F,stack:W})}}if((q==="always"||q==="once"&&A.current)&&L===H){let F;try{throw new Error}catch(W){({stack:F}=W)}console.warn("Selector "+(s.name||"unknown")+` returned the root state when called. This can lead to unnecessary rerenders.
362
+ Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,{stack:F})}A.current&&(A.current=!1)}return L}}[s.name],[s,R,y.stabilityCheck]),N=qR(T.addNestedSub,v.getState,E||v.getState,D,p);return qr.useDebugValue(N),N};return Object.assign(c,{withTypes:()=>c}),c}var J1=uz();function cz(a){a()}function sz(){let a=null,i=null;return{clear(){a=null,i=null},notify(){cz(()=>{let c=a;for(;c;)c.callback(),c=c.next})},get(){const c=[];let s=a;for(;s;)c.push(s),s=s.next;return c},subscribe(c){let s=!0;const h=i={callback:c,next:null,prev:i};return h.prev?h.prev.next=h:a=h,function(){!s||a===null||(s=!1,h.next?h.next.prev=h.prev:i=h.prev,h.prev?h.prev.next=h.next:a=h.next)}}}}var YR={notify(){},get:()=>[]};function fz(a,i){let c,s=YR,h=0,p=!1;function y(H){R();const L=s.subscribe(H);let q=!1;return()=>{q||(q=!0,L(),x())}}function v(){s.notify()}function T(){N.onStateChange&&N.onStateChange()}function E(){return p}function R(){h++,c||(c=a.subscribe(T),s=sz())}function x(){h--,c&&h===0&&(c(),c=void 0,s.clear(),s=YR)}function A(){p||(p=!0,R())}function D(){p&&(p=!1,x())}const N={addNestedSub:y,notifyNestedSubs:v,handleChangeWrapper:T,isSubscribed:E,trySubscribe:A,tryUnsubscribe:D,getListeners:()=>s};return N}var dz=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",hz=typeof navigator<"u"&&navigator.product==="ReactNative",pz=dz||hz?qr.useLayoutEffect:qr.useEffect;function mz({store:a,context:i,children:c,serverState:s,stabilityCheck:h="once",identityFunctionCheck:p="once"}){const y=qr.useMemo(()=>{const E=fz(a);return{store:a,subscription:E,getServerState:s?()=>s:void 0,stabilityCheck:h,identityFunctionCheck:p}},[a,s,h,p]),v=qr.useMemo(()=>a.getState(),[a]);pz(()=>{const{subscription:E}=y;return E.onStateChange=E.notifyNestedSubs,E.trySubscribe(),v!==a.getState()&&E.notifyNestedSubs(),()=>{E.tryUnsubscribe(),E.onStateChange=void 0}},[y,v]);const T=i||us;return qr.createElement(T.Provider,{value:y},c)}var yz=mz;function kR(a=us){const i=a===us?VR:I1(a),c=()=>{const{store:s}=i();return s};return Object.assign(c,{withTypes:()=>c}),c}var gz=kR();function vz(a=us){const i=a===us?gz:kR(a),c=()=>i().dispatch;return Object.assign(c,{withTypes:()=>c}),c}var F1=vz();iz(az.useSyncExternalStoreWithSelector);function fl(a){return`Minified Redux error #${a}; visit https://redux.js.org/Errors?code=${a} for the full message or use the non-minified dev environment for full errors. `}var bz=typeof Symbol=="function"&&Symbol.observable||"@@observable",GR=bz,K1=()=>Math.random().toString(36).substring(7).split("").join("."),Ez={INIT:`@@redux/INIT${K1()}`,REPLACE:`@@redux/REPLACE${K1()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${K1()}`},Gf=Ez;function Ay(a){if(typeof a!="object"||a===null)return!1;let i=a;for(;Object.getPrototypeOf(i)!==null;)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(a)===i||Object.getPrototypeOf(a)===null}function Sz(a){if(a===void 0)return"undefined";if(a===null)return"null";const i=typeof a;switch(i){case"boolean":case"string":case"number":case"symbol":case"function":return i}if(Array.isArray(a))return"array";if(Oz(a))return"date";if(_z(a))return"error";const c=Tz(a);switch(c){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return c}return Object.prototype.toString.call(a).slice(8,-1).toLowerCase().replace(/\s/g,"")}function Tz(a){return typeof a.constructor=="function"?a.constructor.name:null}function _z(a){return a instanceof Error||typeof a.message=="string"&&a.constructor&&typeof a.constructor.stackTraceLimit=="number"}function Oz(a){return a instanceof Date?!0:typeof a.toDateString=="function"&&typeof a.getDate=="function"&&typeof a.setDate=="function"}function cs(a){let i=typeof a;return process.env.NODE_ENV!=="production"&&(i=Sz(a)),i}function $R(a,i,c){if(typeof a!="function")throw new Error(process.env.NODE_ENV==="production"?fl(2):`Expected the root reducer to be a function. Instead, received: '${cs(a)}'`);if(typeof i=="function"&&typeof c=="function"||typeof c=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?fl(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof i=="function"&&typeof c>"u"&&(c=i,i=void 0),typeof c<"u"){if(typeof c!="function")throw new Error(process.env.NODE_ENV==="production"?fl(1):`Expected the enhancer to be a function. Instead, received: '${cs(c)}'`);return c($R)(a,i)}let s=a,h=i,p=new Map,y=p,v=0,T=!1;function E(){y===p&&(y=new Map,p.forEach((L,q)=>{y.set(q,L)}))}function R(){if(T)throw new Error(process.env.NODE_ENV==="production"?fl(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return h}function x(L){if(typeof L!="function")throw new Error(process.env.NODE_ENV==="production"?fl(4):`Expected the listener to be a function. Instead, received: '${cs(L)}'`);if(T)throw new Error(process.env.NODE_ENV==="production"?fl(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let q=!0;E();const I=v++;return y.set(I,L),function(){if(q){if(T)throw new Error(process.env.NODE_ENV==="production"?fl(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");q=!1,E(),y.delete(I),p=null}}}function A(L){if(!Ay(L))throw new Error(process.env.NODE_ENV==="production"?fl(7):`Actions must be plain objects. Instead, the actual type was: '${cs(L)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof L.type>"u")throw new Error(process.env.NODE_ENV==="production"?fl(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof L.type!="string")throw new Error(process.env.NODE_ENV==="production"?fl(17):`Action "type" property must be a string. Instead, the actual type was: '${cs(L.type)}'. Value was: '${L.type}' (stringified)`);if(T)throw new Error(process.env.NODE_ENV==="production"?fl(9):"Reducers may not dispatch actions.");try{T=!0,h=s(h,L)}finally{T=!1}return(p=y).forEach(I=>{I()}),L}function D(L){if(typeof L!="function")throw new Error(process.env.NODE_ENV==="production"?fl(10):`Expected the nextReducer to be a function. Instead, received: '${cs(L)}`);s=L,A({type:Gf.REPLACE})}function N(){const L=x;return{subscribe(q){if(typeof q!="object"||q===null)throw new Error(process.env.NODE_ENV==="production"?fl(11):`Expected the observer to be an object. Instead, received: '${cs(q)}'`);function I(){const W=q;W.next&&W.next(R())}return I(),{unsubscribe:L(I)}},[GR](){return this}}}return A({type:Gf.INIT}),{dispatch:A,subscribe:x,getState:R,replaceReducer:D,[GR]:N}}function QR(a){typeof console<"u"&&typeof console.error=="function"&&console.error(a);try{throw new Error(a)}catch{}}function xz(a,i,c,s){const h=Object.keys(i),p=c&&c.type===Gf.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(h.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Ay(a))return`The ${p} has unexpected type of "${cs(a)}". Expected argument to be an object with the following keys: "${h.join('", "')}"`;const y=Object.keys(a).filter(v=>!i.hasOwnProperty(v)&&!s[v]);if(y.forEach(v=>{s[v]=!0}),!(c&&c.type===Gf.REPLACE)&&y.length>0)return`Unexpected ${y.length>1?"keys":"key"} "${y.join('", "')}" found in ${p}. Expected to find one of the known reducer keys instead: "${h.join('", "')}". Unexpected keys will be ignored.`}function Rz(a){Object.keys(a).forEach(i=>{const c=a[i];if(typeof c(void 0,{type:Gf.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?fl(12):`The slice reducer for key "${i}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof c(void 0,{type:Gf.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?fl(13):`The slice reducer for key "${i}" returned undefined when probed with a random type. Don't try to handle '${Gf.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function Az(a){const i=Object.keys(a),c={};for(let y=0;y<i.length;y++){const v=i[y];process.env.NODE_ENV!=="production"&&typeof a[v]>"u"&&QR(`No reducer provided for key "${v}"`),typeof a[v]=="function"&&(c[v]=a[v])}const s=Object.keys(c);let h;process.env.NODE_ENV!=="production"&&(h={});let p;try{Rz(c)}catch(y){p=y}return function(v={},T){if(p)throw p;if(process.env.NODE_ENV!=="production"){const x=xz(v,c,T,h);x&&QR(x)}let E=!1;const R={};for(let x=0;x<s.length;x++){const A=s[x],D=c[A],N=v[A],H=D(N,T);if(typeof H>"u"){const L=T&&T.type;throw new Error(process.env.NODE_ENV==="production"?fl(14):`When called with an action of type ${L?`"${String(L)}"`:"(unknown type)"}, the slice reducer for key "${A}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}R[A]=H,E=E||H!==N}return E=E||s.length!==Object.keys(v).length,E?R:v}}function tb(...a){return a.length===0?i=>i:a.length===1?a[0]:a.reduce((i,c)=>(...s)=>i(c(...s)))}function Cz(...a){return i=>(c,s)=>{const h=i(c,s);let p=()=>{throw new Error(process.env.NODE_ENV==="production"?fl(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const y={getState:h.getState,dispatch:(T,...E)=>p(T,...E)},v=a.map(T=>T(y));return p=tb(...v)(h.dispatch),{...h,dispatch:p}}}function W1(a){return Ay(a)&&"type"in a&&typeof a.type=="string"}var XR=Symbol.for("immer-nothing"),ZR=Symbol.for("immer-draftable"),Xl=Symbol.for("immer-state"),Dz=process.env.NODE_ENV!=="production"?[function(a){return`The plugin for '${a}' has not been loaded into Immer. To enable the plugin, import and call \`enable${a}()\` when initializing your application.`},function(a){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${a}'`},"This object has been frozen and should not be mutated",function(a){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+a},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(a){return`'current' expects a draft, got: ${a}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(a){return`'original' expects a draft, got: ${a}`}]:[];function Yr(a,...i){if(process.env.NODE_ENV!=="production"){const c=Dz[a],s=$f(c)?c.apply(null,i):c;throw new Error(`[Immer] ${s}`)}throw new Error(`[Immer] minified error nr: ${a}. Full error at: https://bit.ly/3cXEKWf`)}var kr=Object,Lh=kr.getPrototypeOf,nb="constructor",ab="prototype",P1="configurable",lb="enumerable",rb="writable",Cy="value",Ri=a=>!!a&&!!a[Xl];function vo(a){var i;return a?JR(a)||ob(a)||!!a[ZR]||!!((i=a[nb])!=null&&i[ZR])||ub(a)||cb(a):!1}var wz=kr[ab][nb].toString(),IR=new WeakMap;function JR(a){if(!a||!tT(a))return!1;const i=Lh(a);if(i===null||i===kr[ab])return!0;const c=kr.hasOwnProperty.call(i,nb)&&i[nb];if(c===Object)return!0;if(!$f(c))return!1;let s=IR.get(c);return s===void 0&&(s=Function.toString.call(c),IR.set(c,s)),s===wz}function Dy(a,i,c=!0){wy(a)===0?(c?Reflect.ownKeys(a):kr.keys(a)).forEach(h=>{i(h,a[h],a)}):a.forEach((s,h)=>i(h,s,a))}function wy(a){const i=a[Xl];return i?i.type_:ob(a)?1:ub(a)?2:cb(a)?3:0}var FR=(a,i,c=wy(a))=>c===2?a.has(i):kr[ab].hasOwnProperty.call(a,i),eT=(a,i,c=wy(a))=>c===2?a.get(i):a[i],ib=(a,i,c,s=wy(a))=>{s===2?a.set(i,c):s===3?a.add(c):a[i]=c};function Mz(a,i){return a===i?a!==0||1/a===1/i:a!==a&&i!==i}var ob=Array.isArray,ub=a=>a instanceof Map,cb=a=>a instanceof Set,tT=a=>typeof a=="object",$f=a=>typeof a=="function",nT=a=>typeof a=="boolean",Qu=a=>a.copy_||a.base_,aT=a=>a.modified_?a.copy_:a.base_;function lT(a,i){if(ub(a))return new Map(a);if(cb(a))return new Set(a);if(ob(a))return Array[ab].slice.call(a);const c=JR(a);if(i===!0||i==="class_only"&&!c){const s=kr.getOwnPropertyDescriptors(a);delete s[Xl];let h=Reflect.ownKeys(s);for(let p=0;p<h.length;p++){const y=h[p],v=s[y];v[rb]===!1&&(v[rb]=!0,v[P1]=!0),(v.get||v.set)&&(s[y]={[P1]:!0,[rb]:!0,[lb]:v[lb],[Cy]:a[y]})}return kr.create(Lh(a),s)}else{const s=Lh(a);if(s!==null&&c)return{...a};const h=kr.create(s);return kr.assign(h,a)}}function rT(a,i=!1){return fb(a)||Ri(a)||!vo(a)||(wy(a)>1&&kr.defineProperties(a,{set:sb,add:sb,clear:sb,delete:sb}),kr.freeze(a),i&&Dy(a,(c,s)=>{rT(s,!0)},!1)),a}function Nz(){Yr(2)}var sb={[Cy]:Nz};function fb(a){return a===null||!tT(a)?!0:kr.isFrozen(a)}var db="MapSet",iT="Patches",KR={};function Bh(a){const i=KR[a];return i||Yr(0,a),i}var jz=a=>!!KR[a],My,WR=()=>My,zz=(a,i)=>({drafts_:[],parent_:a,immer_:i,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:jz(db)?Bh(db):void 0});function PR(a,i){i&&(a.patchPlugin_=Bh(iT),a.patches_=[],a.inversePatches_=[],a.patchListener_=i)}function oT(a){uT(a),a.drafts_.forEach(Uz),a.drafts_=null}function uT(a){a===My&&(My=a.parent_)}var eA=a=>My=zz(My,a);function Uz(a){const i=a[Xl];i.type_===0||i.type_===1?i.revoke_():i.revoked_=!0}function tA(a,i){i.unfinalizedDrafts_=i.drafts_.length;const c=i.drafts_[0];if(a!==void 0&&a!==c){c[Xl].modified_&&(oT(i),Yr(4)),vo(a)&&(a=nA(i,a));const{patchPlugin_:h}=i;h&&h.generateReplacementPatches_(c[Xl].base_,a,i)}else a=nA(i,c);return Lz(i,a,!0),oT(i),i.patches_&&i.patchListener_(i.patches_,i.inversePatches_),a!==XR?a:void 0}function nA(a,i){if(fb(i))return i;const c=i[Xl];if(!c)return cT(i,a.handledSet_,a);if(!hb(c,a))return i;if(!c.modified_)return c.base_;if(!c.finalized_){const{callbacks_:s}=c;if(s)for(;s.length>0;)s.pop()(a);rA(c,a)}return c.copy_}function Lz(a,i,c=!1){!a.parent_&&a.immer_.autoFreeze_&&a.canAutoFreeze_&&rT(i,c)}function aA(a){a.finalized_=!0,a.scope_.unfinalizedDrafts_--}var hb=(a,i)=>a.scope_===i,Bz=[];function lA(a,i,c,s){const h=Qu(a),p=a.type_;if(s!==void 0&&eT(h,s,p)===i){ib(h,s,c,p);return}if(!a.draftLocations_){const v=a.draftLocations_=new Map;Dy(h,(T,E)=>{if(Ri(E)){const R=v.get(E)||[];R.push(T),v.set(E,R)}})}const y=a.draftLocations_.get(i)??Bz;for(const v of y)ib(h,v,c,p)}function Hz(a,i,c){a.callbacks_.push(function(h){var v;const p=i;if(!p||!hb(p,h))return;(v=h.mapSetPlugin_)==null||v.fixSetContents(p);const y=aT(p);lA(a,p.draft_??p,y,c),rA(p,h)})}function rA(a,i){var s;if(a.modified_&&!a.finalized_&&(a.type_===3||(((s=a.assigned_)==null?void 0:s.size)??0)>0)){const{patchPlugin_:h}=i;if(h){const p=h.getPath(a);p&&h.generatePatches_(a,p,i)}aA(a)}}function Vz(a,i,c){const{scope_:s}=a;if(Ri(c)){const h=c[Xl];hb(h,s)&&h.callbacks_.push(function(){pb(a);const y=aT(h);lA(a,c,y,i)})}else vo(c)&&a.callbacks_.push(function(){const p=Qu(a);eT(p,i,a.type_)===c&&s.drafts_.length>1&&(a.assigned_.get(i)??!1)===!0&&a.copy_&&cT(eT(a.copy_,i,a.type_),s.handledSet_,s)})}function cT(a,i,c){return!c.immer_.autoFreeze_&&c.unfinalizedDrafts_<1||Ri(a)||i.has(a)||!vo(a)||fb(a)||(i.add(a),Dy(a,(s,h)=>{if(Ri(h)){const p=h[Xl];if(hb(p,c)){const y=aT(p);ib(a,s,y,a.type_),aA(p)}}else vo(h)&&cT(h,i,c)})),a}function qz(a,i){const c=ob(a),s={type_:c?1:0,scope_:i?i.scope_:WR(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:i,base_:a,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0};let h=s,p=sT;c&&(h=[s],p=Ny);const{revoke:y,proxy:v}=Proxy.revocable(h,p);return s.draft_=v,s.revoke_=y,[v,s]}var sT={get(a,i){if(i===Xl)return a;const c=Qu(a);if(!FR(c,i,a.type_))return Yz(a,c,i);const s=c[i];if(a.finalized_||!vo(s))return s;if(s===fT(a.base_,i)){pb(a);const h=a.type_===1?+i:i,p=hT(a.scope_,s,a,h);return a.copy_[h]=p}return s},has(a,i){return i in Qu(a)},ownKeys(a){return Reflect.ownKeys(Qu(a))},set(a,i,c){const s=iA(Qu(a),i);if(s!=null&&s.set)return s.set.call(a.draft_,c),!0;if(!a.modified_){const h=fT(Qu(a),i),p=h==null?void 0:h[Xl];if(p&&p.base_===c)return a.copy_[i]=c,a.assigned_.set(i,!1),!0;if(Mz(c,h)&&(c!==void 0||FR(a.base_,i,a.type_)))return!0;pb(a),dT(a)}return a.copy_[i]===c&&(c!==void 0||i in a.copy_)||Number.isNaN(c)&&Number.isNaN(a.copy_[i])||(a.copy_[i]=c,a.assigned_.set(i,!0),Vz(a,i,c)),!0},deleteProperty(a,i){return pb(a),fT(a.base_,i)!==void 0||i in a.base_?(a.assigned_.set(i,!1),dT(a)):a.assigned_.delete(i),a.copy_&&delete a.copy_[i],!0},getOwnPropertyDescriptor(a,i){const c=Qu(a),s=Reflect.getOwnPropertyDescriptor(c,i);return s&&{[rb]:!0,[P1]:a.type_!==1||i!=="length",[lb]:s[lb],[Cy]:c[i]}},defineProperty(){Yr(11)},getPrototypeOf(a){return Lh(a.base_)},setPrototypeOf(){Yr(12)}},Ny={};Dy(sT,(a,i)=>{Ny[a]=function(){const c=arguments;return c[0]=c[0][0],i.apply(this,c)}}),Ny.deleteProperty=function(a,i){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(i))&&Yr(13),Ny.set.call(this,a,i,void 0)},Ny.set=function(a,i,c){return process.env.NODE_ENV!=="production"&&i!=="length"&&isNaN(parseInt(i))&&Yr(14),sT.set.call(this,a[0],i,c,a[0])};function fT(a,i){const c=a[Xl];return(c?Qu(c):a)[i]}function Yz(a,i,c){var h;const s=iA(i,c);return s?Cy in s?s[Cy]:(h=s.get)==null?void 0:h.call(a.draft_):void 0}function iA(a,i){if(!(i in a))return;let c=Lh(a);for(;c;){const s=Object.getOwnPropertyDescriptor(c,i);if(s)return s;c=Lh(c)}}function dT(a){a.modified_||(a.modified_=!0,a.parent_&&dT(a.parent_))}function pb(a){a.copy_||(a.assigned_=new Map,a.copy_=lT(a.base_,a.scope_.immer_.useStrictShallowCopy_))}var kz=class{constructor(a){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(i,c,s)=>{if($f(i)&&!$f(c)){const p=c;c=i;const y=this;return function(T=p,...E){return y.produce(T,R=>c.call(this,R,...E))}}$f(c)||Yr(6),s!==void 0&&!$f(s)&&Yr(7);let h;if(vo(i)){const p=eA(this),y=hT(p,i,void 0);let v=!0;try{h=c(y),v=!1}finally{v?oT(p):uT(p)}return PR(p,s),tA(h,p)}else if(!i||!tT(i)){if(h=c(i),h===void 0&&(h=i),h===XR&&(h=void 0),this.autoFreeze_&&rT(h,!0),s){const p=[],y=[];Bh(iT).generateReplacementPatches_(i,h,{patches_:p,inversePatches_:y}),s(p,y)}return h}else Yr(1,i)},this.produceWithPatches=(i,c)=>{if($f(i))return(y,...v)=>this.produceWithPatches(y,T=>i(T,...v));let s,h;return[this.produce(i,c,(y,v)=>{s=y,h=v}),s,h]},nT(a==null?void 0:a.autoFreeze)&&this.setAutoFreeze(a.autoFreeze),nT(a==null?void 0:a.useStrictShallowCopy)&&this.setUseStrictShallowCopy(a.useStrictShallowCopy),nT(a==null?void 0:a.useStrictIteration)&&this.setUseStrictIteration(a.useStrictIteration)}createDraft(a){vo(a)||Yr(8),Ri(a)&&(a=pT(a));const i=eA(this),c=hT(i,a,void 0);return c[Xl].isManual_=!0,uT(i),c}finishDraft(a,i){const c=a&&a[Xl];(!c||!c.isManual_)&&Yr(9);const{scope_:s}=c;return PR(s,i),tA(void 0,s)}setAutoFreeze(a){this.autoFreeze_=a}setUseStrictShallowCopy(a){this.useStrictShallowCopy_=a}setUseStrictIteration(a){this.useStrictIteration_=a}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(a,i){let c;for(c=i.length-1;c>=0;c--){const h=i[c];if(h.path.length===0&&h.op==="replace"){a=h.value;break}}c>-1&&(i=i.slice(c+1));const s=Bh(iT).applyPatches_;return Ri(a)?s(a,i):this.produce(a,h=>s(h,i))}};function hT(a,i,c,s){const[h,p]=ub(i)?Bh(db).proxyMap_(i,c):cb(i)?Bh(db).proxySet_(i,c):qz(i,c);return((c==null?void 0:c.scope_)??WR()).drafts_.push(h),p.callbacks_=(c==null?void 0:c.callbacks_)??[],p.key_=s,c&&s!==void 0?Hz(c,p,s):p.callbacks_.push(function(T){var R;(R=T.mapSetPlugin_)==null||R.fixSetContents(p);const{patchPlugin_:E}=T;p.modified_&&E&&E.generatePatches_(p,[],T)}),h}function pT(a){return Ri(a)||Yr(10,a),oA(a)}function oA(a){if(!vo(a)||fb(a))return a;const i=a[Xl];let c,s=!0;if(i){if(!i.modified_)return i.base_;i.finalized_=!0,c=lT(a,i.scope_.immer_.useStrictShallowCopy_),s=i.scope_.immer_.shouldUseStrictIteration()}else c=lT(a,!0);return Dy(c,(h,p)=>{ib(c,h,oA(p))},s),i&&(i.finalized_=!1),c}var Gz=new kz,mT=Gz.produce,$z=(a,i,c)=>{if(i.length===1&&i[0]===c){let s=!1;try{const h={};a(h)===h&&(s=!0)}catch{}if(s){let h;try{throw new Error}catch(p){({stack:h}=p)}console.warn(`The result function returned its own inputs without modification. e.g
363
+ \`createSelector([state => state.todos], todos => todos)\`
364
+ This could lead to inefficient memoization and unnecessary re-renders.
365
+ Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,{stack:h})}}},Qz=(a,i,c)=>{const{memoize:s,memoizeOptions:h}=i,{inputSelectorResults:p,inputSelectorResultsCopy:y}=a,v=s(()=>({}),...h);if(!(v.apply(null,p)===v.apply(null,y))){let E;try{throw new Error}catch(R){({stack:E}=R)}console.warn(`An input selector returned a different result when passed same arguments.
366
+ This means your output selector will likely run more frequently than intended.
367
+ Avoid returning a new reference inside your input selector, e.g.
368
+ \`createSelector([state => state.todos.map(todo => todo.id)], todoIds => todoIds.length)\``,{arguments:c,firstInputs:p,secondInputs:y,stack:E})}},Xz={inputStabilityCheck:"once",identityFunctionCheck:"once"};function Zz(a,i=`expected a function, instead received ${typeof a}`){if(typeof a!="function")throw new TypeError(i)}function Iz(a,i=`expected an object, instead received ${typeof a}`){if(typeof a!="object")throw new TypeError(i)}function Jz(a,i="expected all items to be functions, instead received the following types: "){if(!a.every(c=>typeof c=="function")){const c=a.map(s=>typeof s=="function"?`function ${s.name||"unnamed"}()`:typeof s).join(", ");throw new TypeError(`${i}[${c}]`)}}var uA=a=>Array.isArray(a)?a:[a];function Fz(a){const i=Array.isArray(a[0])?a[0]:a;return Jz(i,"createSelector expects all input-selectors to be functions, but received the following types: "),i}function cA(a,i){const c=[],{length:s}=a;for(let h=0;h<s;h++)c.push(a[h].apply(null,i));return c}var Kz=(a,i)=>{const{identityFunctionCheck:c,inputStabilityCheck:s}={...Xz,...i};return{identityFunctionCheck:{shouldRun:c==="always"||c==="once"&&a,run:$z},inputStabilityCheck:{shouldRun:s==="always"||s==="once"&&a,run:Qz}}},Wz=class{constructor(a){this.value=a}deref(){return this.value}},Pz=typeof WeakRef<"u"?WeakRef:Wz,eU=0,sA=1;function mb(){return{s:eU,v:void 0,o:null,p:null}}function yT(a,i={}){let c=mb();const{resultEqualityCheck:s}=i;let h,p=0;function y(){var x;let v=c;const{length:T}=arguments;for(let A=0,D=T;A<D;A++){const N=arguments[A];if(typeof N=="function"||typeof N=="object"&&N!==null){let H=v.o;H===null&&(v.o=H=new WeakMap);const L=H.get(N);L===void 0?(v=mb(),H.set(N,v)):v=L}else{let H=v.p;H===null&&(v.p=H=new Map);const L=H.get(N);L===void 0?(v=mb(),H.set(N,v)):v=L}}const E=v;let R;if(v.s===sA)R=v.v;else if(R=a.apply(null,arguments),p++,s){const A=((x=h==null?void 0:h.deref)==null?void 0:x.call(h))??h;A!=null&&s(A,R)&&(R=A,p!==0&&p--),h=typeof R=="object"&&R!==null||typeof R=="function"?new Pz(R):R}return E.s=sA,E.v=R,R}return y.clearCache=()=>{c=mb(),y.resetResultsCount()},y.resultsCount=()=>p,y.resetResultsCount=()=>{p=0},y}function fA(a,...i){const c=typeof a=="function"?{memoize:a,memoizeOptions:i}:a,s=(...h)=>{let p=0,y=0,v,T={},E=h.pop();typeof E=="object"&&(T=E,E=h.pop()),Zz(E,`createSelector expects an output function after the inputs, but received: [${typeof E}]`);const R={...c,...T},{memoize:x,memoizeOptions:A=[],argsMemoize:D=yT,argsMemoizeOptions:N=[],devModeChecks:H={}}=R,L=uA(A),q=uA(N),I=Fz(h),F=x(function(){return p++,E.apply(null,arguments)},...L);let W=!0;const Y=D(function(){y++;const ae=cA(I,arguments);if(v=F.apply(null,ae),process.env.NODE_ENV!=="production"){const{identityFunctionCheck:V,inputStabilityCheck:Se}=Kz(W,H);if(V.shouldRun&&V.run(E,ae,v),Se.shouldRun){const me=cA(I,arguments);Se.run({inputSelectorResults:ae,inputSelectorResultsCopy:me},{memoize:x,memoizeOptions:L},arguments)}W&&(W=!1)}return v},...q);return Object.assign(Y,{resultFunc:E,memoizedResultFunc:F,dependencies:I,dependencyRecomputations:()=>y,resetDependencyRecomputations:()=>{y=0},lastResult:()=>v,recomputations:()=>p,resetRecomputations:()=>{p=0},memoize:x,argsMemoize:D})};return Object.assign(s,{withTypes:()=>s}),s}var tU=fA(yT),nU=Object.assign((a,i=tU)=>{Iz(a,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof a}`);const c=Object.keys(a),s=c.map(p=>a[p]);return i(s,(...p)=>p.reduce((y,v,T)=>(y[c[T]]=v,y),{}))},{withTypes:()=>nU});function dA(a){return({dispatch:c,getState:s})=>h=>p=>typeof p=="function"?p(c,s,a):h(p)}var aU=dA(),lU=dA,rU=(...a)=>{const i=fA(...a),c=Object.assign((...s)=>{const h=i(...s),p=(y,...v)=>h(Ri(y)?pT(y):y,...v);return Object.assign(p,h),p},{withTypes:()=>c});return c},iU=rU(yT),oU=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?tb:tb.apply(null,arguments)},uU=a=>a&&typeof a.match=="function";function hA(a,i){function c(...s){if(i){let h=i(...s);if(!h)throw new Error(process.env.NODE_ENV==="production"?wn(0):"prepareAction did not return an object");return{type:a,payload:h.payload,..."meta"in h&&{meta:h.meta},..."error"in h&&{error:h.error}}}return{type:a,payload:s[0]}}return c.toString=()=>`${a}`,c.type=a,c.match=s=>W1(s)&&s.type===a,c}function cU(a){return typeof a=="function"&&"type"in a&&uU(a)}function sU(a){return W1(a)&&Object.keys(a).every(fU)}function fU(a){return["type","payload","error","meta"].indexOf(a)>-1}function dU(a){const i=a?`${a}`.split("/"):[],c=i[i.length-1]||"actionCreator";return`Detected an action creator with type "${a||"unknown"}" being dispatched.
369
+ Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${c}())\` instead of \`dispatch(${c})\`. This is necessary even if the action has no payload.`}function hU(a={}){if(process.env.NODE_ENV==="production")return()=>c=>s=>c(s);const{isActionCreator:i=cU}=a;return()=>c=>s=>(i(s)&&console.warn(dU(s.type)),c(s))}function pA(a,i){let c=0;return{measureTime(s){const h=Date.now();try{return s()}finally{const p=Date.now();c+=p-h}},warnIfExceeded(){c>a&&console.warn(`${i} took ${c}ms, which is more than the warning threshold of ${a}ms.
370
+ If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
371
+ It is disabled in production builds, so you don't need to worry about that.`)}}}var mA=class B0 extends Array{constructor(...i){super(...i),Object.setPrototypeOf(this,B0.prototype)}static get[Symbol.species](){return B0}concat(...i){return super.concat.apply(this,i)}prepend(...i){return i.length===1&&Array.isArray(i[0])?new B0(...i[0].concat(this)):new B0(...i.concat(this))}};function yA(a){return vo(a)?mT(a,()=>{}):a}function yb(a,i,c){return a.has(i)?a.get(i):a.set(i,c(i)).get(i)}function pU(a){return typeof a!="object"||a==null||Object.isFrozen(a)}function mU(a,i,c){const s=gA(a,i,c);return{detectMutations(){return vA(a,i,s,c)}}}function gA(a,i=[],c,s="",h=new Set){const p={value:c};if(!a(c)&&!h.has(c)){h.add(c),p.children={};const y=i.length>0;for(const v in c){const T=s?s+"."+v:v;y&&i.some(R=>R instanceof RegExp?R.test(T):T===R)||(p.children[v]=gA(a,i,c[v],T))}}return p}function vA(a,i=[],c,s,h=!1,p=""){const y=c?c.value:void 0,v=y===s;if(h&&!v&&!Number.isNaN(s))return{wasMutated:!0,path:p};if(a(y)||a(s))return{wasMutated:!1};const T={};for(let R in c.children)T[R]=!0;for(let R in s)T[R]=!0;const E=i.length>0;for(let R in T){const x=p?p+"."+R:R;if(E&&i.some(N=>N instanceof RegExp?N.test(x):x===N))continue;const A=vA(a,i,c.children[R],s[R],v,x);if(A.wasMutated)return A}return{wasMutated:!1}}function yU(a={}){if(process.env.NODE_ENV==="production")return()=>i=>c=>i(c);{let i=function(v,T,E,R){return JSON.stringify(v,c(T,R),E)},c=function(v,T){let E=[],R=[];return T||(T=function(x,A){return E[0]===A?"[Circular ~]":"[Circular ~."+R.slice(0,E.indexOf(A)).join(".")+"]"}),function(x,A){if(E.length>0){var D=E.indexOf(this);~D?E.splice(D+1):E.push(this),~D?R.splice(D,1/0,x):R.push(x),~E.indexOf(A)&&(A=T.call(this,x,A))}else E.push(A);return v==null?A:v.call(this,x,A)}},{isImmutable:s=pU,ignoredPaths:h,warnAfter:p=32}=a;const y=mU.bind(null,s,h);return({getState:v})=>{let T=v(),E=y(T),R;return x=>A=>{const D=pA(p,"ImmutableStateInvariantMiddleware");D.measureTime(()=>{if(T=v(),R=E.detectMutations(),E=y(T),R.wasMutated)throw new Error(process.env.NODE_ENV==="production"?wn(19):`A state mutation was detected between dispatches, in the path '${R.path||""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)});const N=x(A);return D.measureTime(()=>{if(T=v(),R=E.detectMutations(),E=y(T),R.wasMutated)throw new Error(process.env.NODE_ENV==="production"?wn(20):`A state mutation was detected inside a dispatch, in the path: ${R.path||""}. Take a look at the reducer(s) handling the action ${i(A)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`)}),D.warnIfExceeded(),N}}}}function bA(a){const i=typeof a;return a==null||i==="string"||i==="boolean"||i==="number"||Array.isArray(a)||Ay(a)}function gT(a,i="",c=bA,s,h=[],p){let y;if(!c(a))return{keyPath:i||"<root>",value:a};if(typeof a!="object"||a===null||p!=null&&p.has(a))return!1;const v=s!=null?s(a):Object.entries(a),T=h.length>0;for(const[E,R]of v){const x=i?i+"."+E:E;if(!(T&&h.some(D=>D instanceof RegExp?D.test(x):x===D))){if(!c(R))return{keyPath:x,value:R};if(typeof R=="object"&&(y=gT(R,x,c,s,h,p),y))return y}}return p&&EA(a)&&p.add(a),!1}function EA(a){if(!Object.isFrozen(a))return!1;for(const i of Object.values(a))if(!(typeof i!="object"||i===null)&&!EA(i))return!1;return!0}function gU(a={}){if(process.env.NODE_ENV==="production")return()=>i=>c=>i(c);{const{isSerializable:i=bA,getEntries:c,ignoredActions:s=[],ignoredActionPaths:h=["meta.arg","meta.baseQueryMeta"],ignoredPaths:p=[],warnAfter:y=32,ignoreState:v=!1,ignoreActions:T=!1,disableCache:E=!1}=a,R=!E&&WeakSet?new WeakSet:void 0;return x=>A=>D=>{if(!W1(D))return A(D);const N=A(D),H=pA(y,"SerializableStateInvariantMiddleware");return!T&&!(s.length&&s.indexOf(D.type)!==-1)&&H.measureTime(()=>{const L=gT(D,"",i,c,h,R);if(L){const{keyPath:q,value:I}=L;console.error(`A non-serializable value was detected in an action, in the path: \`${q}\`. Value:`,I,`
372
+ Take a look at the logic that dispatched this action: `,D,`
373
+ (See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
374
+ (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),v||(H.measureTime(()=>{const L=x.getState(),q=gT(L,"",i,c,p,R);if(q){const{keyPath:I,value:F}=q;console.error(`A non-serializable value was detected in the state, in the path: \`${I}\`. Value:`,F,`
375
+ Take a look at the reducer(s) handling this action type: ${D.type}.
376
+ (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),H.warnIfExceeded()),N}}}function gb(a){return typeof a=="boolean"}var vU=()=>function(i){const{thunk:c=!0,immutableCheck:s=!0,serializableCheck:h=!0,actionCreatorCheck:p=!0}=i??{};let y=new mA;if(c&&(gb(c)?y.push(aU):y.push(lU(c.extraArgument))),process.env.NODE_ENV!=="production"){if(s){let v={};gb(s)||(v=s),y.unshift(yU(v))}if(h){let v={};gb(h)||(v=h),y.push(gU(v))}if(p){let v={};gb(p)||(v=p),y.unshift(hU(v))}}return y},bU="RTK_autoBatch",SA=a=>i=>{setTimeout(i,a)},EU=(a={type:"raf"})=>i=>(...c)=>{const s=i(...c);let h=!0,p=!1,y=!1;const v=new Set,T=a.type==="tick"?queueMicrotask:a.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:SA(10):a.type==="callback"?a.queueNotification:SA(a.timeout),E=()=>{y=!1,p&&(p=!1,v.forEach(R=>R()))};return Object.assign({},s,{subscribe(R){const x=()=>h&&R(),A=s.subscribe(x);return v.add(R),()=>{A(),v.delete(R)}},dispatch(R){var x;try{return h=!((x=R==null?void 0:R.meta)!=null&&x[bU]),p=!h,p&&(y||(y=!0,T(E))),s.dispatch(R)}finally{h=!0}}})},SU=a=>function(c){const{autoBatch:s=!0}=c??{};let h=new mA(a);return s&&h.push(EU(typeof s=="object"?s:void 0)),h};function TU(a){const i=vU(),{reducer:c=void 0,middleware:s,devTools:h=!0,duplicateMiddlewareCheck:p=!0,preloadedState:y=void 0,enhancers:v=void 0}=a||{};let T;if(typeof c=="function")T=c;else if(Ay(c))T=Az(c);else throw new Error(process.env.NODE_ENV==="production"?wn(1):"`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");if(process.env.NODE_ENV!=="production"&&s&&typeof s!="function")throw new Error(process.env.NODE_ENV==="production"?wn(2):"`middleware` field must be a callback");let E;if(typeof s=="function"){if(E=s(i),process.env.NODE_ENV!=="production"&&!Array.isArray(E))throw new Error(process.env.NODE_ENV==="production"?wn(3):"when using a middleware builder function, an array of middleware must be returned")}else E=i();if(process.env.NODE_ENV!=="production"&&E.some(H=>typeof H!="function"))throw new Error(process.env.NODE_ENV==="production"?wn(4):"each middleware provided to configureStore must be a function");if(process.env.NODE_ENV!=="production"&&p){let H=new Set;E.forEach(L=>{if(H.has(L))throw new Error(process.env.NODE_ENV==="production"?wn(42):"Duplicate middleware references found when creating the store. Ensure that each middleware is only included once.");H.add(L)})}let R=tb;h&&(R=oU({trace:process.env.NODE_ENV!=="production",...typeof h=="object"&&h}));const x=Cz(...E),A=SU(x);if(process.env.NODE_ENV!=="production"&&v&&typeof v!="function")throw new Error(process.env.NODE_ENV==="production"?wn(5):"`enhancers` field must be a callback");let D=typeof v=="function"?v(A):A();if(process.env.NODE_ENV!=="production"&&!Array.isArray(D))throw new Error(process.env.NODE_ENV==="production"?wn(6):"`enhancers` callback must return an array");if(process.env.NODE_ENV!=="production"&&D.some(H=>typeof H!="function"))throw new Error(process.env.NODE_ENV==="production"?wn(7):"each enhancer provided to configureStore must be a function");process.env.NODE_ENV!=="production"&&E.length&&!D.includes(x)&&console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");const N=R(...D);return $R(T,y,N)}function TA(a){const i={},c=[];let s;const h={addCase(p,y){if(process.env.NODE_ENV!=="production"){if(c.length>0)throw new Error(process.env.NODE_ENV==="production"?wn(26):"`builder.addCase` should only be called before calling `builder.addMatcher`");if(s)throw new Error(process.env.NODE_ENV==="production"?wn(27):"`builder.addCase` should only be called before calling `builder.addDefaultCase`")}const v=typeof p=="string"?p:p.type;if(!v)throw new Error(process.env.NODE_ENV==="production"?wn(28):"`builder.addCase` cannot be called with an empty action type");if(v in i)throw new Error(process.env.NODE_ENV==="production"?wn(29):`\`builder.addCase\` cannot be called with two reducers for the same action type '${v}'`);return i[v]=y,h},addAsyncThunk(p,y){if(process.env.NODE_ENV!=="production"&&s)throw new Error(process.env.NODE_ENV==="production"?wn(43):"`builder.addAsyncThunk` should only be called before calling `builder.addDefaultCase`");return y.pending&&(i[p.pending.type]=y.pending),y.rejected&&(i[p.rejected.type]=y.rejected),y.fulfilled&&(i[p.fulfilled.type]=y.fulfilled),y.settled&&c.push({matcher:p.settled,reducer:y.settled}),h},addMatcher(p,y){if(process.env.NODE_ENV!=="production"&&s)throw new Error(process.env.NODE_ENV==="production"?wn(30):"`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return c.push({matcher:p,reducer:y}),h},addDefaultCase(p){if(process.env.NODE_ENV!=="production"&&s)throw new Error(process.env.NODE_ENV==="production"?wn(31):"`builder.addDefaultCase` can only be called once");return s=p,h}};return a(h),[i,c,s]}function _U(a){return typeof a=="function"}function OU(a,i){if(process.env.NODE_ENV!=="production"&&typeof i=="object")throw new Error(process.env.NODE_ENV==="production"?wn(8):"The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");let[c,s,h]=TA(i),p;if(_U(a))p=()=>yA(a());else{const v=yA(a);p=()=>v}function y(v=p(),T){let E=[c[T.type],...s.filter(({matcher:R})=>R(T)).map(({reducer:R})=>R)];return E.filter(R=>!!R).length===0&&(E=[h]),E.reduce((R,x)=>{if(x)if(Ri(R)){const D=x(R,T);return D===void 0?R:D}else{if(vo(R))return mT(R,A=>x(A,T));{const A=x(R,T);if(A===void 0){if(R===null)return R;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}}return R},v)}return y.getInitialState=p,y}var xU=Symbol.for("rtk-slice-createasyncthunk");function RU(a,i){return`${a}/${i}`}function AU({creators:a}={}){var c;const i=(c=a==null?void 0:a.asyncThunk)==null?void 0:c[xU];return function(h){const{name:p,reducerPath:y=p}=h;if(!p)throw new Error(process.env.NODE_ENV==="production"?wn(11):"`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&h.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");const v=(typeof h.reducers=="function"?h.reducers(DU()):h.reducers)||{},T=Object.keys(v),E={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},R={addCase(W,Y){const ne=typeof W=="string"?W:W.type;if(!ne)throw new Error(process.env.NODE_ENV==="production"?wn(12):"`context.addCase` cannot be called with an empty action type");if(ne in E.sliceCaseReducersByType)throw new Error(process.env.NODE_ENV==="production"?wn(13):"`context.addCase` cannot be called with two reducers for the same action type: "+ne);return E.sliceCaseReducersByType[ne]=Y,R},addMatcher(W,Y){return E.sliceMatchers.push({matcher:W,reducer:Y}),R},exposeAction(W,Y){return E.actionCreators[W]=Y,R},exposeCaseReducer(W,Y){return E.sliceCaseReducersByName[W]=Y,R}};T.forEach(W=>{const Y=v[W],ne={reducerName:W,type:RU(p,W),createNotation:typeof h.reducers=="function"};MU(Y)?jU(ne,Y,R,i):wU(ne,Y,R)});function x(){if(process.env.NODE_ENV!=="production"&&typeof h.extraReducers=="object")throw new Error(process.env.NODE_ENV==="production"?wn(14):"The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");const[W={},Y=[],ne=void 0]=typeof h.extraReducers=="function"?TA(h.extraReducers):[h.extraReducers],ae={...W,...E.sliceCaseReducersByType};return OU(h.initialState,V=>{for(let Se in ae)V.addCase(Se,ae[Se]);for(let Se of E.sliceMatchers)V.addMatcher(Se.matcher,Se.reducer);for(let Se of Y)V.addMatcher(Se.matcher,Se.reducer);ne&&V.addDefaultCase(ne)})}const A=W=>W,D=new Map,N=new WeakMap;let H;function L(W,Y){return H||(H=x()),H(W,Y)}function q(){return H||(H=x()),H.getInitialState()}function I(W,Y=!1){function ne(V){let Se=V[W];if(typeof Se>"u"){if(Y)Se=yb(N,ne,q);else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?wn(15):"selectSlice returned undefined for an uninjected slice reducer")}return Se}function ae(V=A){const Se=yb(D,Y,()=>new WeakMap);return yb(Se,V,()=>{const me={};for(const[Ne,xe]of Object.entries(h.selectors??{}))me[Ne]=CU(xe,V,()=>yb(N,V,q),Y);return me})}return{reducerPath:W,getSelectors:ae,get selectors(){return ae(ne)},selectSlice:ne}}const F={name:p,reducer:L,actions:E.actionCreators,caseReducers:E.sliceCaseReducersByName,getInitialState:q,...I(y),injectInto(W,{reducerPath:Y,...ne}={}){const ae=Y??y;return W.inject({reducerPath:ae,reducer:L},ne),{...F,...I(ae,!0)}}};return F}}function CU(a,i,c,s){function h(p,...y){let v=i(p);if(typeof v>"u"){if(s)v=c();else if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV==="production"?wn(16):"selectState returned undefined for an uninjected slice reducer")}return a(v,...y)}return h.unwrapped=a,h}var vT=AU();function DU(){function a(i,c){return{_reducerDefinitionType:"asyncThunk",payloadCreator:i,...c}}return a.withTypes=()=>a,{reducer(i){return Object.assign({[i.name](...c){return i(...c)}}[i.name],{_reducerDefinitionType:"reducer"})},preparedReducer(i,c){return{_reducerDefinitionType:"reducerWithPrepare",prepare:i,reducer:c}},asyncThunk:a}}function wU({type:a,reducerName:i,createNotation:c},s,h){let p,y;if("reducer"in s){if(c&&!NU(s))throw new Error(process.env.NODE_ENV==="production"?wn(17):"Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");p=s.reducer,y=s.prepare}else p=s;h.addCase(a,p).exposeCaseReducer(i,p).exposeAction(i,y?hA(a,y):hA(a))}function MU(a){return a._reducerDefinitionType==="asyncThunk"}function NU(a){return a._reducerDefinitionType==="reducerWithPrepare"}function jU({type:a,reducerName:i},c,s,h){if(!h)throw new Error(process.env.NODE_ENV==="production"?wn(18):"Cannot use `create.asyncThunk` in the built-in `createSlice`. Use `buildCreateSlice({ creators: { asyncThunk: asyncThunkCreator } })` to create a customised version of `createSlice`.");const{payloadCreator:p,fulfilled:y,pending:v,rejected:T,settled:E,options:R}=c,x=h(a,p,R);s.exposeAction(i,x),y&&s.addCase(x.fulfilled,y),v&&s.addCase(x.pending,v),T&&s.addCase(x.rejected,T),E&&s.addMatcher(x.settled,E),s.exposeCaseReducer(i,{fulfilled:y||vb,pending:v||vb,rejected:T||vb,settled:E||vb})}function vb(){}function zU(){return{ids:[],entities:{}}}function UU(a){function i(c={},s){const h=Object.assign(zU(),c);return s?a.setAll(h,s):h}return{getInitialState:i}}function LU(){function a(i,c={}){const{createSelector:s=iU}=c,h=x=>x.ids,p=x=>x.entities,y=s(h,p,(x,A)=>x.map(D=>A[D])),v=(x,A)=>A,T=(x,A)=>x[A],E=s(h,x=>x.length);if(!i)return{selectIds:h,selectEntities:p,selectAll:y,selectTotal:E,selectById:s(p,v,T)};const R=s(i,p);return{selectIds:s(i,h),selectEntities:R,selectAll:s(i,y),selectTotal:s(i,E),selectById:s(R,v,T)}}return{getSelectors:a}}var BU=Ri;function HU(a){const i=ma((c,s)=>a(s));return function(s){return i(s,void 0)}}function ma(a){return function(c,s){function h(y){return sU(y)}const p=y=>{h(s)?a(s.payload,y):a(s,y)};return BU(c)?(p(c),c):mT(c,p)}}function Hh(a,i){const c=i(a);return process.env.NODE_ENV!=="production"&&c===void 0&&console.warn("The entity passed to the `selectId` implementation returned undefined.","You should probably provide your own `selectId` implementation.","The entity that was passed:",a,"The `selectId` implementation:",i.toString()),c}function ss(a){return Array.isArray(a)||(a=Object.values(a)),a}function bb(a){return Ri(a)?pT(a):a}function _A(a,i,c){a=ss(a);const s=bb(c.ids),h=new Set(s),p=[],y=new Set([]),v=[];for(const T of a){const E=Hh(T,i);h.has(E)||y.has(E)?v.push({id:E,changes:T}):(y.add(E),p.push(T))}return[p,v,s]}function OA(a){function i(N,H){const L=Hh(N,a);L in H.entities||(H.ids.push(L),H.entities[L]=N)}function c(N,H){N=ss(N);for(const L of N)i(L,H)}function s(N,H){const L=Hh(N,a);L in H.entities||H.ids.push(L),H.entities[L]=N}function h(N,H){N=ss(N);for(const L of N)s(L,H)}function p(N,H){N=ss(N),H.ids=[],H.entities={},c(N,H)}function y(N,H){return v([N],H)}function v(N,H){let L=!1;N.forEach(q=>{q in H.entities&&(delete H.entities[q],L=!0)}),L&&(H.ids=H.ids.filter(q=>q in H.entities))}function T(N){Object.assign(N,{ids:[],entities:{}})}function E(N,H,L){const q=L.entities[H.id];if(q===void 0)return!1;const I=Object.assign({},q,H.changes),F=Hh(I,a),W=F!==H.id;return W&&(N[H.id]=F,delete L.entities[H.id]),L.entities[F]=I,W}function R(N,H){return x([N],H)}function x(N,H){const L={},q={};N.forEach(F=>{var W;F.id in H.entities&&(q[F.id]={id:F.id,changes:{...(W=q[F.id])==null?void 0:W.changes,...F.changes}})}),N=Object.values(q),N.length>0&&N.filter(W=>E(L,W,H)).length>0&&(H.ids=Object.values(H.entities).map(W=>Hh(W,a)))}function A(N,H){return D([N],H)}function D(N,H){const[L,q]=_A(N,a,H);c(L,H),x(q,H)}return{removeAll:HU(T),addOne:ma(i),addMany:ma(c),setOne:ma(s),setMany:ma(h),setAll:ma(p),updateOne:ma(R),updateMany:ma(x),upsertOne:ma(A),upsertMany:ma(D),removeOne:ma(y),removeMany:ma(v)}}function VU(a,i,c){let s=0,h=a.length;for(;s<h;){let p=s+h>>>1;const y=a[p];c(i,y)>=0?s=p+1:h=p}return s}function qU(a,i,c){const s=VU(a,i,c);return a.splice(s,0,i),a}function YU(a,i){const{removeOne:c,removeMany:s,removeAll:h}=OA(a);function p(L,q){return y([L],q)}function y(L,q,I){L=ss(L);const F=new Set(I??bb(q.ids)),W=new Set,Y=L.filter(ne=>{const ae=Hh(ne,a),V=!W.has(ae);return V&&W.add(ae),!F.has(ae)&&V});Y.length!==0&&H(q,Y)}function v(L,q){return T([L],q)}function T(L,q){let I={};if(L=ss(L),L.length!==0){for(const F of L){const W=a(F);I[W]=F,delete q.entities[W]}L=ss(I),H(q,L)}}function E(L,q){L=ss(L),q.entities={},q.ids=[],y(L,q,[])}function R(L,q){return x([L],q)}function x(L,q){let I=!1,F=!1;for(let W of L){const Y=q.entities[W.id];if(!Y)continue;I=!0,Object.assign(Y,W.changes);const ne=a(Y);if(W.id!==ne){F=!0,delete q.entities[W.id];const ae=q.ids.indexOf(W.id);q.ids[ae]=ne,q.entities[ne]=Y}}I&&H(q,[],I,F)}function A(L,q){return D([L],q)}function D(L,q){const[I,F,W]=_A(L,a,q);I.length&&y(I,q,W),F.length&&x(F,q)}function N(L,q){if(L.length!==q.length)return!1;for(let I=0;I<L.length;I++)if(L[I]!==q[I])return!1;return!0}const H=(L,q,I,F)=>{const W=bb(L.entities),Y=bb(L.ids),ne=L.entities;let ae=Y;F&&(ae=new Set(Y));let V=[];for(const Ne of ae){const xe=W[Ne];xe&&V.push(xe)}const Se=V.length===0;for(const Ne of q)ne[a(Ne)]=Ne,Se||qU(V,Ne,i);Se?V=q.slice().sort(i):I&&V.sort(i);const me=V.map(a);N(Y,me)||(L.ids=me)};return{removeOne:c,removeMany:s,removeAll:h,addOne:ma(p),updateOne:ma(R),upsertOne:ma(A),setOne:ma(v),setMany:ma(T),setAll:ma(E),addMany:ma(y),updateMany:ma(x),upsertMany:ma(D)}}function kU(a={}){const{selectId:i,sortComparer:c}={sortComparer:!1,selectId:y=>y.id,...a},s=c?YU(i,c):OA(i),h=UU(s),p=LU();return{selectId:i,sortComparer:c,...h,...p,...s}}function wn(a){return`Minified Redux Toolkit error #${a}; visit https://redux-toolkit.js.org/Errors?code=${a} for the full message or use the non-minified dev environment for full errors. `}const tu=kU({selectId:a=>a.id}),bT=()=>typeof crypto<"u"&&crypto.randomUUID?crypto.randomUUID():Math.random().toString(36).slice(2),GU=tu.getInitialState(),ET=(a,i)=>{const c=i.id||bT(),s=a.entities[c]||{},h={...s,...i,id:c,_updatedAt:Date.now(),_version:(s._version??0)+1};return tu.upsertOne(a,h),h},xA=a=>a?Array.isArray(a)?a:[a]:[],RA=vT({name:"items",initialState:GU,reducers:{item_add:(a,i)=>{const c=xA(i.payload);for(const s of c)ET(a,s)},item_replace:(a,i)=>{var p;const c=i.payload,s=c.id||bT(),h={...c,id:s,_updatedAt:Date.now(),_version:(((p=a.entities[s])==null?void 0:p._version)??0)+1};tu.setOne(a,h)},item_update:(a,i)=>{const c=xA(i.payload);if(c.length===0)return;const s=Date.now(),h=E=>{if(!E||typeof E!="object")return E;const R={};for(const[x,A]of Object.entries(E))A!==void 0&&(R[x]=A);return R};if(c.length>1){const E=[];for(const R of c){const x=R==null?void 0:R.id;if(!x)continue;const A=a.entities[x]||{},D=h(R);E.push({id:x,changes:{...D,_updatedAt:s,_version:(A._version??0)+1}})}E.length&&tu.updateMany(a,E);return}const p=c[0],y=p==null?void 0:p.id;if(!y)return;const v=a.entities[y]||{},T=h(p);tu.updateOne(a,{id:y,changes:{...T,_updatedAt:s,_version:(v._version??0)+1}})},item_delete:(a,i)=>{const c=i.payload,s=typeof c=="string"?c:c==null?void 0:c.id;s&&tu.removeOne(a,s)},item_updateAttributeScalar:(a,i)=>{const{item:c,scalarname:s}=i.payload||{};if(!c||!c.id||!s)return;const h=a.entities[c.id]||{},p=h[s]||{},y=c[s];tu.updateOne(a,{id:c.id,changes:{[s]:y&&typeof y=="object"?{...p,...y}:y,_updatedAt:Date.now(),_version:(h._version??0)+1}}),y&&typeof y=="object"&&y.__typename&&ET(a,y)},item_updateAttributeVector:(a,i)=>{const{item:c,vectorname:s}=i.payload||{};if(!c||!c.id||!s)return;const h=a.entities[c.id]||{},p=Array.isArray(h[s])?h[s]:[],y=Array.isArray(c[s])?c[s]:[],v={};for(const E of p)E&&E.id&&(v[E.id]=E);for(const E of y){if(!E)continue;const R=E.id||bT();E.__typename&&ET(a,{...E,id:R});const x=v[R]||{};v[R]={...x,...E,id:R}}const T=Object.values(v);tu.updateOne(a,{id:c.id,changes:{[s]:T,_updatedAt:Date.now(),_version:(h._version??0)+1}})},item_updateChildInMain:(a,i)=>{const{mainItem:c,childItem:s}=i.payload||{},h=c==null?void 0:c.id,p=s==null?void 0:s.id,y=s==null?void 0:s.__typename;if(!h||!p||!y)return;const v=a.entities[h];if(!v)return;const T=A=>A&&typeof A=="object"&&A.id===p&&A.__typename===y,E=A=>{if(!A)return A;if(Array.isArray(A)){let D=!1;const N=A.map(H=>{const L=E(H);return L!==H&&(D=!0),L});return D?N:A}if(typeof A=="object"){if(T(A))return{...A,...s};let D=!1;const N={...A};for(const[H,L]of Object.entries(A)){const q=E(L);q!==L&&(N[H]=q,D=!0)}return D?N:A}return A},R=E(v);if(R===v)return;const x=Date.now();tu.updateOne(a,{id:h,changes:{...R,_updatedAt:x,_version:(v._version??0)+1}})}}}),$U=RA.reducer,AA=RA.actions,jy=tu.getSelectors(a=>a.items),ST=jy.selectById;jy.selectAll,jy.selectEntities,jy.selectIds,jy.selectTotal;const QU=(a=>TU({reducer:{items:$U},preloadedState:a}))();class XU extends Error{constructor(i,c,s){super(i),this.name="GraphQLHttpError",this.response=c,this.body=s}}class CA extends Error{constructor(i,c,s){super(i),this.name="GraphQLResponseError",this.errors=c,this.response=s}}async function ZU(a,i,c={}){const{query:s,variables:h={},operationName:p}=i,{headers:y,...v}=c,T={method:"POST",body:JSON.stringify({query:s,variables:h}),signal:c.signal,credentials:c.credentials??"include",headers:{"Content-Type":"application/json",...y||{}},...v},E=await fetch(a,T);let R;try{R=await E.json()}catch{throw new CA(`GraphQL endpoint returned non-JSON response (${E.status})`,E,null)}if(!E.ok)throw new XU(`GraphQL HTTP error: ${E.status}`,E,R);return R}const DA=`
377
+ query IntrospectionQuery {
378
+ __schema {
379
+ queryType { name }
380
+ mutationType { name }
381
+ types {
382
+ name
383
+ description
384
+ kind
385
+ fields {
386
+ name
387
+ description
388
+ args {
389
+ name
390
+ description
391
+ type {
392
+ kind
393
+ name
394
+ ofType {
395
+ kind
396
+ name
397
+ ofType {
398
+ kind
399
+ name
400
+ ofType {
401
+ kind
402
+ name
403
+ }
404
+ }
405
+ }
406
+ }
407
+ }
408
+ type {
409
+ kind
410
+ name
411
+ ofType {
412
+ kind
413
+ name
414
+ ofType {
415
+ kind
416
+ name
417
+ ofType {
418
+ kind
419
+ name
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }
425
+ inputFields {
426
+ name
427
+ description
428
+ type {
429
+ kind
430
+ name
431
+ ofType {
432
+ kind
433
+ name
434
+ ofType {
435
+ kind
436
+ name
437
+ }
438
+ }
439
+ }
440
+ }
441
+ possibleTypes {
442
+ name
443
+ kind
444
+ }
445
+ }
446
+ }
447
+ }
448
+ `,IU="query __ApolloGetServiceDefinition__ { _service { sdl } }";function Eb(a){const{endpoint:i,getHeaders:c,onGraphQLErrors:s}=a,h=async(x,A={})=>{const D=c?await c():{},N=await ZU(i,x,{...A,headers:{...A.headers||{},...D}});if(N!=null&&N.errors&&N.errors.length)throw s&&s(N.errors,N),new CA("GraphQL returned errors",N.errors,N);return N},p=(x,A,D)=>h({query:x,variables:A},D),y=(x,A,D)=>h({query:x,variables:A},D);let v=null;const T=async()=>(v||(v=await h({query:DA})),v);let E=null;return{request:h,query:p,mutate:y,introspect:T,sdl:async()=>{var x;if(!E){const A=await h({query:IU});E=((x=A==null?void 0:A._service)==null?void 0:x.sdl)||null}return E}}}const wA=Eb({endpoint:"/api/gql"}),JU=({children:a,clientOptions:i})=>_.jsx(FU,{clientOptions:i,children:_.jsx(yz,{store:QU,children:a})}),MA=w.createContext(null),FU=({children:a,clientOptions:i={}})=>{const c=w.useMemo(()=>Eb(i),[]);return _.jsx(MA.Provider,{value:c,children:a})},Sb=()=>{const a=w.useContext(MA);if(!a)throw Error("useGQLClient not in GQLClientContext");return a},TT=(a,i=[],c)=>{if(!a||typeof a!="object")return i;if(Array.isArray(a)){for(const s of a)TT(s,i,c+1);return i}{if(c===1){if(a.__typename){if(((a==null?void 0:a.__typename)||"").endsWith("Error")){const h=Error(`Požadavek vrátil řízený chybový stav
449
+ ${JSON.stringify(a,null,2)}`);throw h.errors=a,h}}else if(a.id!=null)throw new Error(`GraphQL entity with id='${a.id}' is missing __typename. Add __typename to your query/fragment, otherwise normalizace nebude fungovat.`)}i.push(a)}for(const s of Object.values(a))TT(s,i,c+1);return i},NA=(a=AA.item_update)=>i=>async(c,s,h)=>{const p=i&&typeof i=="object"&&"data"in i&&i.data!=null?i.data:i;if(p&&typeof p=="object"){let y=[];try{y=TT(p,[],0)}catch(T){throw console.error("ItemsFromGraphQLResult: normalization failed",T),T}const v=Object.values(p).filter(Boolean);c(a(v))}return h(i)},jA=NA(),KU=NA(AA.item_add),zA=a=>a&&typeof a=="object"&&"data"in a&&a.data!=null?a.data:a,UA=(a,i)=>{if(!a||typeof a!="object")return null;if(i&&i in a)return a[i];const c=Object.values(a);return c.length>0?c[0]:null},_T=a=>{if(typeof a=="string"){const c=a;return s=>async(h,p,y)=>{const v=zA(s),T=UA(v,c);return y(T)}}const i=a;return async(c,s,h)=>{const p=zA(i),y=UA(p);return h(y)}};var OT={exports:{}};/*!
450
+ Copyright (c) 2018 Jed Watson.
451
+ Licensed under the MIT License (MIT), see
452
+ http://jedwatson.github.io/classnames
453
+ */var LA;function WU(){return LA||(LA=1,(function(a){(function(){var i={}.hasOwnProperty;function c(){for(var p="",y=0;y<arguments.length;y++){var v=arguments[y];v&&(p=h(p,s(v)))}return p}function s(p){if(typeof p=="string"||typeof p=="number")return p;if(typeof p!="object")return"";if(Array.isArray(p))return c.apply(null,p);if(p.toString!==Object.prototype.toString&&!p.toString.toString().includes("[native code]"))return p.toString();var y="";for(var v in p)i.call(p,v)&&p[v]&&(y=h(y,v));return y}function h(p,y){return y?p?p+" "+y:p+y:p}a.exports?(c.default=c,a.exports=c):window.classNames=c})()})(OT)),OT.exports}var PU=WU();const Tn=H0(PU);function xT(){return xT=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var c=arguments[i];for(var s in c)({}).hasOwnProperty.call(c,s)&&(a[s]=c[s])}return a},xT.apply(null,arguments)}function BA(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.indexOf(s)!==-1)continue;c[s]=a[s]}return c}function HA(a){return"default"+a.charAt(0).toUpperCase()+a.substr(1)}function e3(a){var i=t3(a,"string");return typeof i=="symbol"?i:String(i)}function t3(a,i){if(typeof a!="object"||a===null)return a;var c=a[Symbol.toPrimitive];if(c!==void 0){var s=c.call(a,i);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(a)}function n3(a,i,c){var s=w.useRef(a!==void 0),h=w.useState(i),p=h[0],y=h[1],v=a!==void 0,T=s.current;return s.current=v,!v&&T&&p!==i&&y(i),[v?a:p,w.useCallback(function(E){for(var R=arguments.length,x=new Array(R>1?R-1:0),A=1;A<R;A++)x[A-1]=arguments[A];c&&c.apply(void 0,[E].concat(x)),y(E)},[c])]}function VA(a,i){return Object.keys(i).reduce(function(c,s){var h,p=c,y=p[HA(s)],v=p[s],T=BA(p,[HA(s),s].map(e3)),E=i[s],R=n3(v,y,a[E]),x=R[0],A=R[1];return xT({},T,(h={},h[s]=x,h[E]=A,h))},a)}function RT(a,i){return RT=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,s){return c.__proto__=s,c},RT(a,i)}function a3(a,i){a.prototype=Object.create(i.prototype),a.prototype.constructor=a,RT(a,i)}const l3=["xxl","xl","lg","md","sm","xs"],zy=w.createContext({prefixes:{},breakpoints:l3,minBreakpoint:"xs"}),{Consumer:SH,Provider:TH}=zy;function ua(a,i){const{prefixes:c}=w.useContext(zy);return a||c[i]||i}function qA(){const{breakpoints:a}=w.useContext(zy);return a}function YA(){const{minBreakpoint:a}=w.useContext(zy);return a}function r3(){const{dir:a}=w.useContext(zy);return a==="rtl"}function Tb(a){return a&&a.ownerDocument||document}function i3(a){var i=Tb(a);return i&&i.defaultView||window}function o3(a,i){return i3(a).getComputedStyle(a,i)}var u3=/([A-Z])/g;function c3(a){return a.replace(u3,"-$1").toLowerCase()}var s3=/^ms-/;function _b(a){return c3(a).replace(s3,"-ms-")}var f3=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function d3(a){return!!(a&&f3.test(a))}function Xu(a,i){var c="",s="";if(typeof i=="string")return a.style.getPropertyValue(_b(i))||o3(a).getPropertyValue(_b(i));Object.keys(i).forEach(function(h){var p=i[h];!p&&p!==0?a.style.removeProperty(_b(h)):d3(h)?s+=h+"("+p+") ":c+=_b(h)+": "+p+";"}),s&&(c+="transform: "+s+";"),a.style.cssText+=";"+c}var Ob={exports:{}},xb={exports:{}},pn={};/** @license React v16.13.1
454
+ * react-is.production.min.js
455
+ *
456
+ * Copyright (c) Facebook, Inc. and its affiliates.
457
+ *
458
+ * This source code is licensed under the MIT license found in the
459
+ * LICENSE file in the root directory of this source tree.
460
+ */var kA;function h3(){if(kA)return pn;kA=1;var a=typeof Symbol=="function"&&Symbol.for,i=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,h=a?Symbol.for("react.strict_mode"):60108,p=a?Symbol.for("react.profiler"):60114,y=a?Symbol.for("react.provider"):60109,v=a?Symbol.for("react.context"):60110,T=a?Symbol.for("react.async_mode"):60111,E=a?Symbol.for("react.concurrent_mode"):60111,R=a?Symbol.for("react.forward_ref"):60112,x=a?Symbol.for("react.suspense"):60113,A=a?Symbol.for("react.suspense_list"):60120,D=a?Symbol.for("react.memo"):60115,N=a?Symbol.for("react.lazy"):60116,H=a?Symbol.for("react.block"):60121,L=a?Symbol.for("react.fundamental"):60117,q=a?Symbol.for("react.responder"):60118,I=a?Symbol.for("react.scope"):60119;function F(Y){if(typeof Y=="object"&&Y!==null){var ne=Y.$$typeof;switch(ne){case i:switch(Y=Y.type,Y){case T:case E:case s:case p:case h:case x:return Y;default:switch(Y=Y&&Y.$$typeof,Y){case v:case R:case N:case D:case y:return Y;default:return ne}}case c:return ne}}}function W(Y){return F(Y)===E}return pn.AsyncMode=T,pn.ConcurrentMode=E,pn.ContextConsumer=v,pn.ContextProvider=y,pn.Element=i,pn.ForwardRef=R,pn.Fragment=s,pn.Lazy=N,pn.Memo=D,pn.Portal=c,pn.Profiler=p,pn.StrictMode=h,pn.Suspense=x,pn.isAsyncMode=function(Y){return W(Y)||F(Y)===T},pn.isConcurrentMode=W,pn.isContextConsumer=function(Y){return F(Y)===v},pn.isContextProvider=function(Y){return F(Y)===y},pn.isElement=function(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===i},pn.isForwardRef=function(Y){return F(Y)===R},pn.isFragment=function(Y){return F(Y)===s},pn.isLazy=function(Y){return F(Y)===N},pn.isMemo=function(Y){return F(Y)===D},pn.isPortal=function(Y){return F(Y)===c},pn.isProfiler=function(Y){return F(Y)===p},pn.isStrictMode=function(Y){return F(Y)===h},pn.isSuspense=function(Y){return F(Y)===x},pn.isValidElementType=function(Y){return typeof Y=="string"||typeof Y=="function"||Y===s||Y===E||Y===p||Y===h||Y===x||Y===A||typeof Y=="object"&&Y!==null&&(Y.$$typeof===N||Y.$$typeof===D||Y.$$typeof===y||Y.$$typeof===v||Y.$$typeof===R||Y.$$typeof===L||Y.$$typeof===q||Y.$$typeof===I||Y.$$typeof===H)},pn.typeOf=F,pn}var mn={};/** @license React v16.13.1
461
+ * react-is.development.js
462
+ *
463
+ * Copyright (c) Facebook, Inc. and its affiliates.
464
+ *
465
+ * This source code is licensed under the MIT license found in the
466
+ * LICENSE file in the root directory of this source tree.
467
+ */var GA;function p3(){return GA||(GA=1,process.env.NODE_ENV!=="production"&&(function(){var a=typeof Symbol=="function"&&Symbol.for,i=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,h=a?Symbol.for("react.strict_mode"):60108,p=a?Symbol.for("react.profiler"):60114,y=a?Symbol.for("react.provider"):60109,v=a?Symbol.for("react.context"):60110,T=a?Symbol.for("react.async_mode"):60111,E=a?Symbol.for("react.concurrent_mode"):60111,R=a?Symbol.for("react.forward_ref"):60112,x=a?Symbol.for("react.suspense"):60113,A=a?Symbol.for("react.suspense_list"):60120,D=a?Symbol.for("react.memo"):60115,N=a?Symbol.for("react.lazy"):60116,H=a?Symbol.for("react.block"):60121,L=a?Symbol.for("react.fundamental"):60117,q=a?Symbol.for("react.responder"):60118,I=a?Symbol.for("react.scope"):60119;function F(Ve){return typeof Ve=="string"||typeof Ve=="function"||Ve===s||Ve===E||Ve===p||Ve===h||Ve===x||Ve===A||typeof Ve=="object"&&Ve!==null&&(Ve.$$typeof===N||Ve.$$typeof===D||Ve.$$typeof===y||Ve.$$typeof===v||Ve.$$typeof===R||Ve.$$typeof===L||Ve.$$typeof===q||Ve.$$typeof===I||Ve.$$typeof===H)}function W(Ve){if(typeof Ve=="object"&&Ve!==null){var Ct=Ve.$$typeof;switch(Ct){case i:var tn=Ve.type;switch(tn){case T:case E:case s:case p:case h:case x:return tn;default:var Mt=tn&&tn.$$typeof;switch(Mt){case v:case R:case N:case D:case y:return Mt;default:return Ct}}case c:return Ct}}}var Y=T,ne=E,ae=v,V=y,Se=i,me=R,Ne=s,xe=N,Ye=D,$e=c,et=p,k=h,ce=x,Ee=!1;function ze(Ve){return Ee||(Ee=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),se(Ve)||W(Ve)===T}function se(Ve){return W(Ve)===E}function j(Ve){return W(Ve)===v}function J(Ve){return W(Ve)===y}function ue(Ve){return typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===i}function re(Ve){return W(Ve)===R}function De(Ve){return W(Ve)===s}function Ue(Ve){return W(Ve)===N}function Me(Ve){return W(Ve)===D}function We(Ve){return W(Ve)===c}function Qe(Ve){return W(Ve)===p}function ot(Ve){return W(Ve)===h}function Le(Ve){return W(Ve)===x}mn.AsyncMode=Y,mn.ConcurrentMode=ne,mn.ContextConsumer=ae,mn.ContextProvider=V,mn.Element=Se,mn.ForwardRef=me,mn.Fragment=Ne,mn.Lazy=xe,mn.Memo=Ye,mn.Portal=$e,mn.Profiler=et,mn.StrictMode=k,mn.Suspense=ce,mn.isAsyncMode=ze,mn.isConcurrentMode=se,mn.isContextConsumer=j,mn.isContextProvider=J,mn.isElement=ue,mn.isForwardRef=re,mn.isFragment=De,mn.isLazy=Ue,mn.isMemo=Me,mn.isPortal=We,mn.isProfiler=Qe,mn.isStrictMode=ot,mn.isSuspense=Le,mn.isValidElementType=F,mn.typeOf=W})()),mn}var $A;function QA(){return $A||($A=1,process.env.NODE_ENV==="production"?xb.exports=h3():xb.exports=p3()),xb.exports}/*
468
+ object-assign
469
+ (c) Sindre Sorhus
470
+ @license MIT
471
+ */var AT,XA;function m3(){if(XA)return AT;XA=1;var a=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;function s(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function h(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var y={},v=0;v<10;v++)y["_"+String.fromCharCode(v)]=v;var T=Object.getOwnPropertyNames(y).map(function(R){return y[R]});if(T.join("")!=="0123456789")return!1;var E={};return"abcdefghijklmnopqrst".split("").forEach(function(R){E[R]=R}),Object.keys(Object.assign({},E)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return AT=h()?Object.assign:function(p,y){for(var v,T=s(p),E,R=1;R<arguments.length;R++){v=Object(arguments[R]);for(var x in v)i.call(v,x)&&(T[x]=v[x]);if(a){E=a(v);for(var A=0;A<E.length;A++)c.call(v,E[A])&&(T[E[A]]=v[E[A]])}}return T},AT}var CT,ZA;function DT(){if(ZA)return CT;ZA=1;var a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return CT=a,CT}var wT,IA;function JA(){return IA||(IA=1,wT=Function.call.bind(Object.prototype.hasOwnProperty)),wT}var MT,FA;function y3(){if(FA)return MT;FA=1;var a=function(){};if(process.env.NODE_ENV!=="production"){var i=DT(),c={},s=JA();a=function(p){var y="Warning: "+p;typeof console<"u"&&console.error(y);try{throw new Error(y)}catch{}}}function h(p,y,v,T,E){if(process.env.NODE_ENV!=="production"){for(var R in p)if(s(p,R)){var x;try{if(typeof p[R]!="function"){var A=Error((T||"React class")+": "+v+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}x=p[R](y,R,T,v,null,i)}catch(N){x=N}if(x&&!(x instanceof Error)&&a((T||"React class")+": type specification of "+v+" `"+R+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof x+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),x instanceof Error&&!(x.message in c)){c[x.message]=!0;var D=E?E():"";a("Failed "+v+" type: "+x.message+(D??""))}}}}return h.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(c={})},MT=h,MT}var NT,KA;function g3(){if(KA)return NT;KA=1;var a=QA(),i=m3(),c=DT(),s=JA(),h=y3(),p=function(){};process.env.NODE_ENV!=="production"&&(p=function(v){var T="Warning: "+v;typeof console<"u"&&console.error(T);try{throw new Error(T)}catch{}});function y(){return null}return NT=function(v,T){var E=typeof Symbol=="function"&&Symbol.iterator,R="@@iterator";function x(se){var j=se&&(E&&se[E]||se[R]);if(typeof j=="function")return j}var A="<<anonymous>>",D={array:q("array"),bigint:q("bigint"),bool:q("boolean"),func:q("function"),number:q("number"),object:q("object"),string:q("string"),symbol:q("symbol"),any:I(),arrayOf:F,element:W(),elementType:Y(),instanceOf:ne,node:me(),objectOf:V,oneOf:ae,oneOfType:Se,shape:xe,exact:Ye};function N(se,j){return se===j?se!==0||1/se===1/j:se!==se&&j!==j}function H(se,j){this.message=se,this.data=j&&typeof j=="object"?j:{},this.stack=""}H.prototype=Error.prototype;function L(se){if(process.env.NODE_ENV!=="production")var j={},J=0;function ue(De,Ue,Me,We,Qe,ot,Le){if(We=We||A,ot=ot||Me,Le!==c){if(T){var Ve=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Ve.name="Invariant Violation",Ve}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ct=We+":"+Me;!j[Ct]&&J<3&&(p("You are manually calling a React.PropTypes validation function for the `"+ot+"` prop on `"+We+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),j[Ct]=!0,J++)}}return Ue[Me]==null?De?Ue[Me]===null?new H("The "+Qe+" `"+ot+"` is marked as required "+("in `"+We+"`, but its value is `null`.")):new H("The "+Qe+" `"+ot+"` is marked as required in "+("`"+We+"`, but its value is `undefined`.")):null:se(Ue,Me,We,Qe,ot)}var re=ue.bind(null,!1);return re.isRequired=ue.bind(null,!0),re}function q(se){function j(J,ue,re,De,Ue,Me){var We=J[ue],Qe=k(We);if(Qe!==se){var ot=ce(We);return new H("Invalid "+De+" `"+Ue+"` of type "+("`"+ot+"` supplied to `"+re+"`, expected ")+("`"+se+"`."),{expectedType:se})}return null}return L(j)}function I(){return L(y)}function F(se){function j(J,ue,re,De,Ue){if(typeof se!="function")return new H("Property `"+Ue+"` of component `"+re+"` has invalid PropType notation inside arrayOf.");var Me=J[ue];if(!Array.isArray(Me)){var We=k(Me);return new H("Invalid "+De+" `"+Ue+"` of type "+("`"+We+"` supplied to `"+re+"`, expected an array."))}for(var Qe=0;Qe<Me.length;Qe++){var ot=se(Me,Qe,re,De,Ue+"["+Qe+"]",c);if(ot instanceof Error)return ot}return null}return L(j)}function W(){function se(j,J,ue,re,De){var Ue=j[J];if(!v(Ue)){var Me=k(Ue);return new H("Invalid "+re+" `"+De+"` of type "+("`"+Me+"` supplied to `"+ue+"`, expected a single ReactElement."))}return null}return L(se)}function Y(){function se(j,J,ue,re,De){var Ue=j[J];if(!a.isValidElementType(Ue)){var Me=k(Ue);return new H("Invalid "+re+" `"+De+"` of type "+("`"+Me+"` supplied to `"+ue+"`, expected a single ReactElement type."))}return null}return L(se)}function ne(se){function j(J,ue,re,De,Ue){if(!(J[ue]instanceof se)){var Me=se.name||A,We=ze(J[ue]);return new H("Invalid "+De+" `"+Ue+"` of type "+("`"+We+"` supplied to `"+re+"`, expected ")+("instance of `"+Me+"`."))}return null}return L(j)}function ae(se){if(!Array.isArray(se))return process.env.NODE_ENV!=="production"&&(arguments.length>1?p("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):p("Invalid argument supplied to oneOf, expected an array.")),y;function j(J,ue,re,De,Ue){for(var Me=J[ue],We=0;We<se.length;We++)if(N(Me,se[We]))return null;var Qe=JSON.stringify(se,function(Le,Ve){var Ct=ce(Ve);return Ct==="symbol"?String(Ve):Ve});return new H("Invalid "+De+" `"+Ue+"` of value `"+String(Me)+"` "+("supplied to `"+re+"`, expected one of "+Qe+"."))}return L(j)}function V(se){function j(J,ue,re,De,Ue){if(typeof se!="function")return new H("Property `"+Ue+"` of component `"+re+"` has invalid PropType notation inside objectOf.");var Me=J[ue],We=k(Me);if(We!=="object")return new H("Invalid "+De+" `"+Ue+"` of type "+("`"+We+"` supplied to `"+re+"`, expected an object."));for(var Qe in Me)if(s(Me,Qe)){var ot=se(Me,Qe,re,De,Ue+"."+Qe,c);if(ot instanceof Error)return ot}return null}return L(j)}function Se(se){if(!Array.isArray(se))return process.env.NODE_ENV!=="production"&&p("Invalid argument supplied to oneOfType, expected an instance of array."),y;for(var j=0;j<se.length;j++){var J=se[j];if(typeof J!="function")return p("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Ee(J)+" at index "+j+"."),y}function ue(re,De,Ue,Me,We){for(var Qe=[],ot=0;ot<se.length;ot++){var Le=se[ot],Ve=Le(re,De,Ue,Me,We,c);if(Ve==null)return null;Ve.data&&s(Ve.data,"expectedType")&&Qe.push(Ve.data.expectedType)}var Ct=Qe.length>0?", expected one of type ["+Qe.join(", ")+"]":"";return new H("Invalid "+Me+" `"+We+"` supplied to "+("`"+Ue+"`"+Ct+"."))}return L(ue)}function me(){function se(j,J,ue,re,De){return $e(j[J])?null:new H("Invalid "+re+" `"+De+"` supplied to "+("`"+ue+"`, expected a ReactNode."))}return L(se)}function Ne(se,j,J,ue,re){return new H((se||"React class")+": "+j+" type `"+J+"."+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+re+"`.")}function xe(se){function j(J,ue,re,De,Ue){var Me=J[ue],We=k(Me);if(We!=="object")return new H("Invalid "+De+" `"+Ue+"` of type `"+We+"` "+("supplied to `"+re+"`, expected `object`."));for(var Qe in se){var ot=se[Qe];if(typeof ot!="function")return Ne(re,De,Ue,Qe,ce(ot));var Le=ot(Me,Qe,re,De,Ue+"."+Qe,c);if(Le)return Le}return null}return L(j)}function Ye(se){function j(J,ue,re,De,Ue){var Me=J[ue],We=k(Me);if(We!=="object")return new H("Invalid "+De+" `"+Ue+"` of type `"+We+"` "+("supplied to `"+re+"`, expected `object`."));var Qe=i({},J[ue],se);for(var ot in Qe){var Le=se[ot];if(s(se,ot)&&typeof Le!="function")return Ne(re,De,Ue,ot,ce(Le));if(!Le)return new H("Invalid "+De+" `"+Ue+"` key `"+ot+"` supplied to `"+re+"`.\nBad object: "+JSON.stringify(J[ue],null," ")+`
472
+ Valid keys: `+JSON.stringify(Object.keys(se),null," "));var Ve=Le(Me,ot,re,De,Ue+"."+ot,c);if(Ve)return Ve}return null}return L(j)}function $e(se){switch(typeof se){case"number":case"string":case"undefined":return!0;case"boolean":return!se;case"object":if(Array.isArray(se))return se.every($e);if(se===null||v(se))return!0;var j=x(se);if(j){var J=j.call(se),ue;if(j!==se.entries){for(;!(ue=J.next()).done;)if(!$e(ue.value))return!1}else for(;!(ue=J.next()).done;){var re=ue.value;if(re&&!$e(re[1]))return!1}}else return!1;return!0;default:return!1}}function et(se,j){return se==="symbol"?!0:j?j["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&j instanceof Symbol:!1}function k(se){var j=typeof se;return Array.isArray(se)?"array":se instanceof RegExp?"object":et(j,se)?"symbol":j}function ce(se){if(typeof se>"u"||se===null)return""+se;var j=k(se);if(j==="object"){if(se instanceof Date)return"date";if(se instanceof RegExp)return"regexp"}return j}function Ee(se){var j=ce(se);switch(j){case"array":case"object":return"an "+j;case"boolean":case"date":case"regexp":return"a "+j;default:return j}}function ze(se){return!se.constructor||!se.constructor.name?A:se.constructor.name}return D.checkPropTypes=h,D.resetWarningCache=h.resetWarningCache,D.PropTypes=D,D},NT}var jT,WA;function v3(){if(WA)return jT;WA=1;var a=DT();function i(){}function c(){}return c.resetWarningCache=i,jT=function(){function s(y,v,T,E,R,x){if(x!==a){var A=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw A.name="Invariant Violation",A}}s.isRequired=s;function h(){return s}var p={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:h,element:s,elementType:s,instanceOf:h,node:s,objectOf:h,oneOf:h,oneOfType:h,shape:h,exact:h,checkPropTypes:c,resetWarningCache:i};return p.PropTypes=p,p},jT}var PA;function b3(){if(PA)return Ob.exports;if(PA=1,process.env.NODE_ENV!=="production"){var a=QA(),i=!0;Ob.exports=g3()(a.isElement,i)}else Ob.exports=v3()();return Ob.exports}var E3=b3();const ft=H0(E3),eC={disabled:!1};var S3=process.env.NODE_ENV!=="production"?ft.oneOfType([ft.number,ft.shape({enter:ft.number,exit:ft.number,appear:ft.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&ft.oneOfType([ft.string,ft.shape({enter:ft.string,exit:ft.string,active:ft.string}),ft.shape({enter:ft.string,enterDone:ft.string,enterActive:ft.string,exit:ft.string,exitDone:ft.string,exitActive:ft.string})]);const tC=sl.createContext(null);var T3=function(i){return i.scrollTop},Uy="unmounted",fs="exited",bo="entering",Zu="entered",Ly="exiting",Iu=(function(a){a3(i,a);function i(s,h){var p;p=a.call(this,s,h)||this;var y=h,v=y&&!y.isMounting?s.enter:s.appear,T;return p.appearStatus=null,s.in?v?(T=fs,p.appearStatus=bo):T=Zu:s.unmountOnExit||s.mountOnEnter?T=Uy:T=fs,p.state={status:T},p.nextCallback=null,p}i.getDerivedStateFromProps=function(h,p){var y=h.in;return y&&p.status===Uy?{status:fs}:null};var c=i.prototype;return c.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},c.componentDidUpdate=function(h){var p=null;if(h!==this.props){var y=this.state.status;this.props.in?y!==bo&&y!==Zu&&(p=bo):(y===bo||y===Zu)&&(p=Ly)}this.updateStatus(!1,p)},c.componentWillUnmount=function(){this.cancelNextCallback()},c.getTimeouts=function(){var h=this.props.timeout,p,y,v;return p=y=v=h,h!=null&&typeof h!="number"&&(p=h.exit,y=h.enter,v=h.appear!==void 0?h.appear:y),{exit:p,enter:y,appear:v}},c.updateStatus=function(h,p){if(h===void 0&&(h=!1),p!==null)if(this.cancelNextCallback(),p===bo){if(this.props.unmountOnExit||this.props.mountOnEnter){var y=this.props.nodeRef?this.props.nodeRef.current:kf.findDOMNode(this);y&&T3(y)}this.performEnter(h)}else this.performExit();else this.props.unmountOnExit&&this.state.status===fs&&this.setState({status:Uy})},c.performEnter=function(h){var p=this,y=this.props.enter,v=this.context?this.context.isMounting:h,T=this.props.nodeRef?[v]:[kf.findDOMNode(this),v],E=T[0],R=T[1],x=this.getTimeouts(),A=v?x.appear:x.enter;if(!h&&!y||eC.disabled){this.safeSetState({status:Zu},function(){p.props.onEntered(E)});return}this.props.onEnter(E,R),this.safeSetState({status:bo},function(){p.props.onEntering(E,R),p.onTransitionEnd(A,function(){p.safeSetState({status:Zu},function(){p.props.onEntered(E,R)})})})},c.performExit=function(){var h=this,p=this.props.exit,y=this.getTimeouts(),v=this.props.nodeRef?void 0:kf.findDOMNode(this);if(!p||eC.disabled){this.safeSetState({status:fs},function(){h.props.onExited(v)});return}this.props.onExit(v),this.safeSetState({status:Ly},function(){h.props.onExiting(v),h.onTransitionEnd(y.exit,function(){h.safeSetState({status:fs},function(){h.props.onExited(v)})})})},c.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},c.safeSetState=function(h,p){p=this.setNextCallback(p),this.setState(h,p)},c.setNextCallback=function(h){var p=this,y=!0;return this.nextCallback=function(v){y&&(y=!1,p.nextCallback=null,h(v))},this.nextCallback.cancel=function(){y=!1},this.nextCallback},c.onTransitionEnd=function(h,p){this.setNextCallback(p);var y=this.props.nodeRef?this.props.nodeRef.current:kf.findDOMNode(this),v=h==null&&!this.props.addEndListener;if(!y||v){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var T=this.props.nodeRef?[this.nextCallback]:[y,this.nextCallback],E=T[0],R=T[1];this.props.addEndListener(E,R)}h!=null&&setTimeout(this.nextCallback,h)},c.render=function(){var h=this.state.status;if(h===Uy)return null;var p=this.props,y=p.children;p.in,p.mountOnEnter,p.unmountOnExit,p.appear,p.enter,p.exit,p.timeout,p.addEndListener,p.onEnter,p.onEntering,p.onEntered,p.onExit,p.onExiting,p.onExited,p.nodeRef;var v=BA(p,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return sl.createElement(tC.Provider,{value:null},typeof y=="function"?y(h,v):sl.cloneElement(sl.Children.only(y),v))},i})(sl.Component);Iu.contextType=tC,Iu.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:ft.shape({current:typeof Element>"u"?ft.any:function(a,i,c,s,h,p){var y=a[i];return ft.instanceOf(y&&"ownerDocument"in y?y.ownerDocument.defaultView.Element:Element)(a,i,c,s,h,p)}}),children:ft.oneOfType([ft.func.isRequired,ft.element.isRequired]).isRequired,in:ft.bool,mountOnEnter:ft.bool,unmountOnExit:ft.bool,appear:ft.bool,enter:ft.bool,exit:ft.bool,timeout:function(i){var c=S3;i.addEndListener||(c=c.isRequired);for(var s=arguments.length,h=new Array(s>1?s-1:0),p=1;p<s;p++)h[p-1]=arguments[p];return c.apply(void 0,[i].concat(h))},addEndListener:ft.func,onEnter:ft.func,onEntering:ft.func,onEntered:ft.func,onExit:ft.func,onExiting:ft.func,onExited:ft.func}:{};function Vh(){}Iu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Vh,onEntering:Vh,onEntered:Vh,onExit:Vh,onExiting:Vh,onExited:Vh},Iu.UNMOUNTED=Uy,Iu.EXITED=fs,Iu.ENTERING=bo,Iu.ENTERED=Zu,Iu.EXITING=Ly;function _3(a){return a.code==="Escape"||a.keyCode===27}function O3(){const a=w.version.split(".");return{major:+a[0],minor:+a[1],patch:+a[2]}}function qh(a){if(!a||typeof a=="function")return null;const{major:i}=O3();return i>=19?a.props.ref:a.ref}const Yh=!!(typeof window<"u"&&window.document&&window.document.createElement);var zT=!1,UT=!1;try{var LT={get passive(){return zT=!0},get once(){return UT=zT=!0}};Yh&&(window.addEventListener("test",LT,LT),window.removeEventListener("test",LT,!0))}catch{}function nC(a,i,c,s){if(s&&typeof s!="boolean"&&!UT){var h=s.once,p=s.capture,y=c;!UT&&h&&(y=c.__once||function v(T){this.removeEventListener(i,v,p),c.call(this,T)},c.__once=y),a.addEventListener(i,y,zT?s:p)}a.addEventListener(i,c,s)}function BT(a,i,c,s){var h=s&&typeof s!="boolean"?s.capture:s;a.removeEventListener(i,c,h),c.__once&&a.removeEventListener(i,c.__once,h)}function Rb(a,i,c,s){return nC(a,i,c,s),function(){BT(a,i,c,s)}}function x3(a,i,c,s){if(s===void 0&&(s=!0),a){var h=document.createEvent("HTMLEvents");h.initEvent(i,c,s),a.dispatchEvent(h)}}function R3(a){var i=Xu(a,"transitionDuration")||"",c=i.indexOf("ms")===-1?1e3:1;return parseFloat(i)*c}function A3(a,i,c){c===void 0&&(c=5);var s=!1,h=setTimeout(function(){s||x3(a,"transitionend",!0)},i+c),p=Rb(a,"transitionend",function(){s=!0},{once:!0});return function(){clearTimeout(h),p()}}function aC(a,i,c,s){c==null&&(c=R3(a)||0);var h=A3(a,c,s),p=Rb(a,"transitionend",i);return function(){h(),p()}}function lC(a,i){const c=Xu(a,i)||"",s=c.indexOf("ms")===-1?1e3:1;return parseFloat(c)*s}function HT(a,i){const c=lC(a,"transitionDuration"),s=lC(a,"transitionDelay"),h=aC(a,p=>{p.target===a&&(h(),i(p))},c+s)}function By(...a){return a.filter(i=>i!=null).reduce((i,c)=>{if(typeof c!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return i===null?c:function(...h){i.apply(this,h),c.apply(this,h)}},null)}function rC(a){a.offsetHeight}const iC=a=>!a||typeof a=="function"?a:i=>{a.current=i};function C3(a,i){const c=iC(a),s=iC(i);return h=>{c&&c(h),s&&s(h)}}function oC(a,i){return w.useMemo(()=>C3(a,i),[a,i])}function D3(a){return a&&"setState"in a?kf.findDOMNode(a):a??null}const Ab=sl.forwardRef(({onEnter:a,onEntering:i,onEntered:c,onExit:s,onExiting:h,onExited:p,addEndListener:y,children:v,childRef:T,...E},R)=>{const x=w.useRef(null),A=oC(x,T),D=ne=>{A(D3(ne))},N=ne=>ae=>{ne&&x.current&&ne(x.current,ae)},H=w.useCallback(N(a),[a]),L=w.useCallback(N(i),[i]),q=w.useCallback(N(c),[c]),I=w.useCallback(N(s),[s]),F=w.useCallback(N(h),[h]),W=w.useCallback(N(p),[p]),Y=w.useCallback(N(y),[y]);return _.jsx(Iu,{ref:R,...E,onEnter:H,onEntered:q,onEntering:L,onExit:I,onExited:W,onExiting:F,addEndListener:Y,nodeRef:x,children:typeof v=="function"?(ne,ae)=>v(ne,{...ae,ref:D}):sl.cloneElement(v,{ref:D})})});Ab.displayName="TransitionWrapper";const w3={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function M3(a,i){const c=`offset${a[0].toUpperCase()}${a.slice(1)}`,s=i[c],h=w3[a];return s+parseInt(Xu(i,h[0]),10)+parseInt(Xu(i,h[1]),10)}const N3={[fs]:"collapse",[Ly]:"collapsing",[bo]:"collapsing",[Zu]:"collapse show"},uC=sl.forwardRef(({onEnter:a,onEntering:i,onEntered:c,onExit:s,onExiting:h,className:p,children:y,dimension:v="height",in:T=!1,timeout:E=300,mountOnEnter:R=!1,unmountOnExit:x=!1,appear:A=!1,getDimensionValue:D=M3,...N},H)=>{const L=typeof v=="function"?v():v,q=w.useMemo(()=>By(ne=>{ne.style[L]="0"},a),[L,a]),I=w.useMemo(()=>By(ne=>{const ae=`scroll${L[0].toUpperCase()}${L.slice(1)}`;ne.style[L]=`${ne[ae]}px`},i),[L,i]),F=w.useMemo(()=>By(ne=>{ne.style[L]=null},c),[L,c]),W=w.useMemo(()=>By(ne=>{ne.style[L]=`${D(L,ne)}px`,rC(ne)},s),[s,D,L]),Y=w.useMemo(()=>By(ne=>{ne.style[L]=null},h),[L,h]);return _.jsx(Ab,{ref:H,addEndListener:HT,...N,"aria-expanded":N.role?T:null,onEnter:q,onEntering:I,onEntered:F,onExit:W,onExiting:Y,childRef:qh(y),in:T,timeout:E,mountOnEnter:R,unmountOnExit:x,appear:A,children:(ne,ae)=>sl.cloneElement(y,{...ae,className:Tn(p,y.props.className,N3[ne],L==="width"&&"collapse-horizontal")})})});uC.displayName="Collapse";function j3(a){const i=w.useRef(a);return w.useEffect(()=>{i.current=a},[a]),i}function kh(a){const i=j3(a);return w.useCallback(function(...c){return i.current&&i.current(...c)},[i])}const cC=(a=>w.forwardRef((i,c)=>_.jsx("div",{...i,ref:c,className:Tn(i.className,a)})));function z3(a){const i=w.useRef(a);return w.useEffect(()=>{i.current=a},[a]),i}function Ju(a){const i=z3(a);return w.useCallback(function(...c){return i.current&&i.current(...c)},[i])}function U3(){const a=w.useRef(!0),i=w.useRef(()=>a.current);return w.useEffect(()=>(a.current=!0,()=>{a.current=!1}),[]),i.current}function L3(a){const i=w.useRef(null);return w.useEffect(()=>{i.current=a}),i.current}const B3=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",sC=typeof document<"u"||B3?w.useLayoutEffect:w.useEffect,H3=["as","disabled"];function V3(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.indexOf(s)>=0)continue;c[s]=a[s]}return c}function q3(a){return!a||a.trim()==="#"}function VT({tagName:a,disabled:i,href:c,target:s,rel:h,role:p,onClick:y,tabIndex:v=0,type:T}){a||(c!=null||s!=null||h!=null?a="a":a="button");const E={tagName:a};if(a==="button")return[{type:T||"button",disabled:i},E];const R=A=>{if((i||a==="a"&&q3(c))&&A.preventDefault(),i){A.stopPropagation();return}y==null||y(A)},x=A=>{A.key===" "&&(A.preventDefault(),R(A))};return a==="a"&&(c||(c="#"),i&&(c=void 0)),[{role:p??"button",disabled:void 0,tabIndex:i?void 0:v,href:c,target:a==="a"?s:void 0,"aria-disabled":i||void 0,rel:a==="a"?h:void 0,onClick:R,onKeyDown:x},E]}const fC=w.forwardRef((a,i)=>{let{as:c,disabled:s}=a,h=V3(a,H3);const[p,{tagName:y}]=VT(Object.assign({tagName:c,disabled:s},h));return _.jsx(y,Object.assign({},h,p,{ref:i}))});fC.displayName="Button";const Y3=["onKeyDown"];function k3(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.indexOf(s)>=0)continue;c[s]=a[s]}return c}function G3(a){return!a||a.trim()==="#"}const dC=w.forwardRef((a,i)=>{let{onKeyDown:c}=a,s=k3(a,Y3);const[h]=VT(Object.assign({tagName:"a"},s)),p=Ju(y=>{h.onKeyDown(y),c==null||c(y)});return G3(s.href)||s.role==="button"?_.jsx("a",Object.assign({ref:i},s,h,{onKeyDown:p})):_.jsx("a",Object.assign({ref:i},s,{onKeyDown:c}))});dC.displayName="Anchor";const $3={[bo]:"show",[Zu]:"show"},Cb=w.forwardRef(({className:a,children:i,transitionClasses:c={},onEnter:s,...h},p)=>{const y={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...h},v=w.useCallback((T,E)=>{rC(T),s==null||s(T,E)},[s]);return _.jsx(Ab,{ref:p,addEndListener:HT,...y,onEnter:v,childRef:qh(i),children:(T,E)=>w.cloneElement(i,{...E,className:Tn("fade",a,i.props.className,$3[T],c[T])})})});Cb.displayName="Fade";const Q3={"aria-label":ft.string,onClick:ft.func,variant:ft.oneOf(["white"])},qT=w.forwardRef(({className:a,variant:i,"aria-label":c="Close",...s},h)=>_.jsx("button",{ref:h,type:"button",className:Tn("btn-close",i&&`btn-close-${i}`,a),"aria-label":c,...s}));qT.displayName="CloseButton",qT.propTypes=Q3;const YT=w.forwardRef(({as:a,bsPrefix:i,variant:c="primary",size:s,active:h=!1,disabled:p=!1,className:y,...v},T)=>{const E=ua(i,"btn"),[R,{tagName:x}]=VT({tagName:a,disabled:p,...v}),A=x;return _.jsx(A,{...R,...v,ref:T,disabled:p,className:Tn(y,E,h&&"active",c&&`${E}-${c}`,s&&`${E}-${s}`,v.href&&p&&"disabled")})});YT.displayName="Button";const hC=w.createContext(null);hC.displayName="CardHeaderContext";function X3(a){const i=w.useRef(a);return i.current=a,i}function Z3(a){const i=X3(a);w.useEffect(()=>()=>i.current(),[])}function I3({as:a,bsPrefix:i,className:c,...s}){i=ua(i,"col");const h=qA(),p=YA(),y=[],v=[];return h.forEach(T=>{const E=s[T];delete s[T];let R,x,A;typeof E=="object"&&E!=null?{span:R,offset:x,order:A}=E:R=E;const D=T!==p?`-${T}`:"";R&&y.push(R===!0?`${i}${D}`:`${i}${D}-${R}`),A!=null&&v.push(`order${D}-${A}`),x!=null&&v.push(`offset${D}-${x}`)}),[{...s,className:Tn(c,...y,...v)},{as:a,bsPrefix:i,spans:y}]}const Db=w.forwardRef((a,i)=>{const[{className:c,...s},{as:h="div",bsPrefix:p,spans:y}]=I3(a);return _.jsx(h,{...s,ref:i,className:Tn(c,!y.length&&p)})});Db.displayName="Col";var J3=Function.prototype.bind.call(Function.prototype.call,[].slice);function Qf(a,i){return J3(a.querySelectorAll(i))}function F3(){const[,a]=w.useReducer(i=>i+1,0);return a}function pC(a,i){if(a.contains)return a.contains(i);if(a.compareDocumentPosition)return a===i||!!(a.compareDocumentPosition(i)&16)}const wb=w.createContext(null),kT=(a,i=null)=>a!=null?String(a):i||null,GT=w.createContext(null);GT.displayName="NavContext";const K3="data-rr-ui-",W3="rrUi";function Mb(a){return`${K3}${a}`}function P3(a){return`${W3}${a}`}const mC=w.createContext(Yh?window:void 0);mC.Provider;function $T(){return w.useContext(mC)}const e4=typeof global<"u"&&global.navigator&&global.navigator.product==="ReactNative",t4=typeof document<"u"||e4?w.useLayoutEffect:w.useEffect,Gh=w.createContext(null);Gh.displayName="NavbarContext";const yC=a=>!a||typeof a=="function"?a:i=>{a.current=i};function n4(a,i){const c=yC(a),s=yC(i);return h=>{c&&c(h),s&&s(h)}}function Nb(a,i){return w.useMemo(()=>n4(a,i),[a,i])}const gC=w.createContext(null),a4=["as","active","eventKey"];function l4(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.indexOf(s)>=0)continue;c[s]=a[s]}return c}function vC({key:a,onClick:i,active:c,id:s,role:h,disabled:p}){const y=w.useContext(wb),v=w.useContext(GT),T=w.useContext(gC);let E=c;const R={role:h};if(v){!h&&v.role==="tablist"&&(R.role="tab");const x=v.getControllerId(a??null),A=v.getControlledId(a??null);R[Mb("event-key")]=a,R.id=x||s,E=c==null&&a!=null?v.activeKey===a:c,(E||!(T!=null&&T.unmountOnExit)&&!(T!=null&&T.mountOnEnter))&&(R["aria-controls"]=A)}return R.role==="tab"&&(R["aria-selected"]=E,E||(R.tabIndex=-1),p&&(R.tabIndex=-1,R["aria-disabled"]=!0)),R.onClick=Ju(x=>{p||(i==null||i(x),a!=null&&y&&!x.isPropagationStopped()&&y(a,x))}),[R,{isActive:E}]}const bC=w.forwardRef((a,i)=>{let{as:c=fC,active:s,eventKey:h}=a,p=l4(a,a4);const[y,v]=vC(Object.assign({key:kT(h,p.href),active:s},p));return y[Mb("active")]=v.isActive,_.jsx(c,Object.assign({},p,y,{ref:i}))});bC.displayName="NavItem";const r4=["as","onSelect","activeKey","role","onKeyDown"];function i4(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.indexOf(s)>=0)continue;c[s]=a[s]}return c}const EC=()=>{},SC=Mb("event-key"),TC=w.forwardRef((a,i)=>{let{as:c="div",onSelect:s,activeKey:h,role:p,onKeyDown:y}=a,v=i4(a,r4);const T=F3(),E=w.useRef(!1),R=w.useContext(wb),x=w.useContext(gC);let A,D;x&&(p=p||"tablist",h=x.activeKey,A=x.getControlledId,D=x.getControllerId);const N=w.useRef(null),H=F=>{const W=N.current;if(!W)return null;const Y=Qf(W,`[${SC}]:not([aria-disabled=true])`),ne=W.querySelector("[aria-selected=true]");if(!ne||ne!==document.activeElement)return null;const ae=Y.indexOf(ne);if(ae===-1)return null;let V=ae+F;return V>=Y.length&&(V=0),V<0&&(V=Y.length-1),Y[V]},L=(F,W)=>{F!=null&&(s==null||s(F,W),R==null||R(F,W))},q=F=>{if(y==null||y(F),!x)return;let W;switch(F.key){case"ArrowLeft":case"ArrowUp":W=H(-1);break;case"ArrowRight":case"ArrowDown":W=H(1);break;default:return}W&&(F.preventDefault(),L(W.dataset[P3("EventKey")]||null,F),E.current=!0,T())};w.useEffect(()=>{if(N.current&&E.current){const F=N.current.querySelector(`[${SC}][aria-selected=true]`);F==null||F.focus()}E.current=!1});const I=Nb(i,N);return _.jsx(wb.Provider,{value:L,children:_.jsx(GT.Provider,{value:{role:p,activeKey:kT(h),getControlledId:A||EC,getControllerId:D||EC},children:_.jsx(c,Object.assign({},v,{onKeyDown:q,ref:I,role:p}))})})});TC.displayName="Nav";const o4=Object.assign(TC,{Item:bC});var jb;function _C(a){if((!jb&&jb!==0||a)&&Yh){var i=document.createElement("div");i.style.position="absolute",i.style.top="-9999px",i.style.width="50px",i.style.height="50px",i.style.overflow="scroll",document.body.appendChild(i),jb=i.offsetWidth-i.clientWidth,document.body.removeChild(i)}return jb}function u4(){return w.useState(null)}function QT(a){a===void 0&&(a=Tb());try{var i=a.activeElement;return!i||!i.nodeName?null:i}catch{return a.body}}function c4(a){const i=w.useRef(a);return i.current=a,i}function s4(a){const i=c4(a);w.useEffect(()=>()=>i.current(),[])}function f4(a=document){const i=a.defaultView;return Math.abs(i.innerWidth-a.documentElement.clientWidth)}const OC=Mb("modal-open");class XT{constructor({ownerDocument:i,handleContainerOverflow:c=!0,isRTL:s=!1}={}){this.handleContainerOverflow=c,this.isRTL=s,this.modals=[],this.ownerDocument=i}getScrollbarWidth(){return f4(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(i){}removeModalAttributes(i){}setContainerStyle(i){const c={overflow:"hidden"},s=this.isRTL?"paddingLeft":"paddingRight",h=this.getElement();i.style={overflow:h.style.overflow,[s]:h.style[s]},i.scrollBarWidth&&(c[s]=`${parseInt(Xu(h,s)||"0",10)+i.scrollBarWidth}px`),h.setAttribute(OC,""),Xu(h,c)}reset(){[...this.modals].forEach(i=>this.remove(i))}removeContainerStyle(i){const c=this.getElement();c.removeAttribute(OC),Object.assign(c.style,i.style)}add(i){let c=this.modals.indexOf(i);return c!==-1||(c=this.modals.length,this.modals.push(i),this.setModalAttributes(i),c!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),c}remove(i){const c=this.modals.indexOf(i);c!==-1&&(this.modals.splice(c,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(i))}isTopModal(i){return!!this.modals.length&&this.modals[this.modals.length-1]===i}}const ZT=(a,i)=>Yh?a==null?(i||Tb()).body:(typeof a=="function"&&(a=a()),a&&"current"in a&&(a=a.current),a&&("nodeType"in a||a.getBoundingClientRect)?a:null):null;function d4(a,i){const c=$T(),[s,h]=w.useState(()=>ZT(a,c==null?void 0:c.document));if(!s){const p=ZT(a);p&&h(p)}return w.useEffect(()=>{},[i,s]),w.useEffect(()=>{const p=ZT(a);p!==s&&h(p)},[a,s]),s}function h4({children:a,in:i,onExited:c,mountOnEnter:s,unmountOnExit:h}){const p=w.useRef(null),y=w.useRef(i),v=Ju(c);w.useEffect(()=>{i?y.current=!0:v(p.current)},[i,v]);const T=Nb(p,qh(a)),E=w.cloneElement(a,{ref:T});return i?E:h||!y.current&&s?null:E}const p4=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function m4(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.indexOf(s)>=0)continue;c[s]=a[s]}return c}function y4(a){let{onEnter:i,onEntering:c,onEntered:s,onExit:h,onExiting:p,onExited:y,addEndListener:v,children:T}=a,E=m4(a,p4);const R=w.useRef(null),x=Nb(R,qh(T)),A=W=>Y=>{W&&R.current&&W(R.current,Y)},D=w.useCallback(A(i),[i]),N=w.useCallback(A(c),[c]),H=w.useCallback(A(s),[s]),L=w.useCallback(A(h),[h]),q=w.useCallback(A(p),[p]),I=w.useCallback(A(y),[y]),F=w.useCallback(A(v),[v]);return Object.assign({},E,{nodeRef:R},i&&{onEnter:D},c&&{onEntering:N},s&&{onEntered:H},h&&{onExit:L},p&&{onExiting:q},y&&{onExited:I},v&&{addEndListener:F},{children:typeof T=="function"?(W,Y)=>T(W,Object.assign({},Y,{ref:x})):w.cloneElement(T,{ref:x})})}const g4=["component"];function v4(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.indexOf(s)>=0)continue;c[s]=a[s]}return c}const b4=w.forwardRef((a,i)=>{let{component:c}=a,s=v4(a,g4);const h=y4(s);return _.jsx(c,Object.assign({ref:i},h))});function E4({in:a,onTransition:i}){const c=w.useRef(null),s=w.useRef(!0),h=Ju(i);return sC(()=>{if(!c.current)return;let p=!1;return h({in:a,element:c.current,initial:s.current,isStale:()=>p}),()=>{p=!0}},[a,h]),sC(()=>(s.current=!1,()=>{s.current=!0}),[]),c}function S4({children:a,in:i,onExited:c,onEntered:s,transition:h}){const[p,y]=w.useState(!i);i&&p&&y(!1);const v=E4({in:!!i,onTransition:E=>{const R=()=>{E.isStale()||(E.in?s==null||s(E.element,E.initial):(y(!0),c==null||c(E.element)))};Promise.resolve(h(E)).then(R,x=>{throw E.in||y(!0),x})}}),T=Nb(v,qh(a));return p&&!i?null:w.cloneElement(a,{ref:T})}function xC(a,i,c){return a?_.jsx(b4,Object.assign({},c,{component:a})):i?_.jsx(S4,Object.assign({},c,{transition:i})):_.jsx(h4,Object.assign({},c))}const T4=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];function _4(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.indexOf(s)>=0)continue;c[s]=a[s]}return c}let IT;function O4(a){return IT||(IT=new XT({ownerDocument:a==null?void 0:a.document})),IT}function x4(a){const i=$T(),c=a||O4(i),s=w.useRef({dialog:null,backdrop:null});return Object.assign(s.current,{add:()=>c.add(s.current),remove:()=>c.remove(s.current),isTopModal:()=>c.isTopModal(s.current),setDialogRef:w.useCallback(h=>{s.current.dialog=h},[]),setBackdropRef:w.useCallback(h=>{s.current.backdrop=h},[])})}const RC=w.forwardRef((a,i)=>{let{show:c=!1,role:s="dialog",className:h,style:p,children:y,backdrop:v=!0,keyboard:T=!0,onBackdropClick:E,onEscapeKeyDown:R,transition:x,runTransition:A,backdropTransition:D,runBackdropTransition:N,autoFocus:H=!0,enforceFocus:L=!0,restoreFocus:q=!0,restoreFocusOptions:I,renderDialog:F,renderBackdrop:W=Mt=>_.jsx("div",Object.assign({},Mt)),manager:Y,container:ne,onShow:ae,onHide:V=()=>{},onExit:Se,onExited:me,onExiting:Ne,onEnter:xe,onEntering:Ye,onEntered:$e}=a,et=_4(a,T4);const k=$T(),ce=d4(ne),Ee=x4(Y),ze=U3(),se=L3(c),[j,J]=w.useState(!c),ue=w.useRef(null);w.useImperativeHandle(i,()=>Ee,[Ee]),Yh&&!se&&c&&(ue.current=QT(k==null?void 0:k.document)),c&&j&&J(!1);const re=Ju(()=>{if(Ee.add(),ot.current=Rb(document,"keydown",We),Qe.current=Rb(document,"focus",()=>setTimeout(Ue),!0),ae&&ae(),H){var Mt,qt;const cn=QT((Mt=(qt=Ee.dialog)==null?void 0:qt.ownerDocument)!=null?Mt:k==null?void 0:k.document);Ee.dialog&&cn&&!pC(Ee.dialog,cn)&&(ue.current=cn,Ee.dialog.focus())}}),De=Ju(()=>{if(Ee.remove(),ot.current==null||ot.current(),Qe.current==null||Qe.current(),q){var Mt;(Mt=ue.current)==null||Mt.focus==null||Mt.focus(I),ue.current=null}});w.useEffect(()=>{!c||!ce||re()},[c,ce,re]),w.useEffect(()=>{j&&De()},[j,De]),s4(()=>{De()});const Ue=Ju(()=>{if(!L||!ze()||!Ee.isTopModal())return;const Mt=QT(k==null?void 0:k.document);Ee.dialog&&Mt&&!pC(Ee.dialog,Mt)&&Ee.dialog.focus()}),Me=Ju(Mt=>{Mt.target===Mt.currentTarget&&(E==null||E(Mt),v===!0&&V())}),We=Ju(Mt=>{T&&_3(Mt)&&Ee.isTopModal()&&(R==null||R(Mt),Mt.defaultPrevented||V())}),Qe=w.useRef(),ot=w.useRef(),Le=(...Mt)=>{J(!0),me==null||me(...Mt)};if(!ce)return null;const Ve=Object.assign({role:s,ref:Ee.setDialogRef,"aria-modal":s==="dialog"?!0:void 0},et,{style:p,className:h,tabIndex:-1});let Ct=F?F(Ve):_.jsx("div",Object.assign({},Ve,{children:w.cloneElement(y,{role:"document"})}));Ct=xC(x,A,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!c,onExit:Se,onExiting:Ne,onExited:Le,onEnter:xe,onEntering:Ye,onEntered:$e,children:Ct});let tn=null;return v&&(tn=W({ref:Ee.setBackdropRef,onClick:Me}),tn=xC(D,N,{in:!!c,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:tn})),_.jsx(_.Fragment,{children:kf.createPortal(_.jsxs(_.Fragment,{children:[tn,Ct]}),ce)})});RC.displayName="Modal";const AC=Object.assign(RC,{Manager:XT});function R4(a,i){return a.classList?a.classList.contains(i):(" "+(a.className.baseVal||a.className)+" ").indexOf(" "+i+" ")!==-1}function A4(a,i){a.classList?a.classList.add(i):R4(a,i)||(typeof a.className=="string"?a.className=a.className+" "+i:a.setAttribute("class",(a.className&&a.className.baseVal||"")+" "+i))}function CC(a,i){return a.replace(new RegExp("(^|\\s)"+i+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function C4(a,i){a.classList?a.classList.remove(i):typeof a.className=="string"?a.className=CC(a.className,i):a.setAttribute("class",CC(a.className&&a.className.baseVal||"",i))}const $h={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class DC extends XT{adjustAndStore(i,c,s){const h=c.style[i];c.dataset[i]=h,Xu(c,{[i]:`${parseFloat(Xu(c,i))+s}px`})}restore(i,c){const s=c.dataset[i];s!==void 0&&(delete c.dataset[i],Xu(c,{[i]:s}))}setContainerStyle(i){super.setContainerStyle(i);const c=this.getElement();if(A4(c,"modal-open"),!i.scrollBarWidth)return;const s=this.isRTL?"paddingLeft":"paddingRight",h=this.isRTL?"marginLeft":"marginRight";Qf(c,$h.FIXED_CONTENT).forEach(p=>this.adjustAndStore(s,p,i.scrollBarWidth)),Qf(c,$h.STICKY_CONTENT).forEach(p=>this.adjustAndStore(h,p,-i.scrollBarWidth)),Qf(c,$h.NAVBAR_TOGGLER).forEach(p=>this.adjustAndStore(h,p,i.scrollBarWidth))}removeContainerStyle(i){super.removeContainerStyle(i);const c=this.getElement();C4(c,"modal-open");const s=this.isRTL?"paddingLeft":"paddingRight",h=this.isRTL?"marginLeft":"marginRight";Qf(c,$h.FIXED_CONTENT).forEach(p=>this.restore(s,p)),Qf(c,$h.STICKY_CONTENT).forEach(p=>this.restore(h,p)),Qf(c,$h.NAVBAR_TOGGLER).forEach(p=>this.restore(h,p))}}let JT;function wC(a){return JT||(JT=new DC(a)),JT}const MC=w.forwardRef(({className:a,bsPrefix:i,as:c="div",...s},h)=>(i=ua(i,"modal-body"),_.jsx(c,{ref:h,className:Tn(a,i),...s})));MC.displayName="ModalBody";const FT=w.createContext({onHide(){}}),KT=w.forwardRef(({bsPrefix:a,className:i,contentClassName:c,centered:s,size:h,fullscreen:p,children:y,scrollable:v,...T},E)=>{a=ua(a,"modal");const R=`${a}-dialog`,x=typeof p=="string"?`${a}-fullscreen-${p}`:`${a}-fullscreen`;return _.jsx("div",{...T,ref:E,className:Tn(R,i,h&&`${a}-${h}`,s&&`${R}-centered`,v&&`${R}-scrollable`,p&&x),children:_.jsx("div",{className:Tn(`${a}-content`,c),children:y})})});KT.displayName="ModalDialog";const NC=w.forwardRef(({className:a,bsPrefix:i,as:c="div",...s},h)=>(i=ua(i,"modal-footer"),_.jsx(c,{ref:h,className:Tn(a,i),...s})));NC.displayName="ModalFooter";const WT=w.forwardRef(({closeLabel:a="Close",closeVariant:i,closeButton:c=!1,onHide:s,children:h,...p},y)=>{const v=w.useContext(FT),T=kh(()=>{v==null||v.onHide(),s==null||s()});return _.jsxs("div",{ref:y,...p,children:[h,c&&_.jsx(qT,{"aria-label":a,variant:i,onClick:T})]})});WT.displayName="AbstractModalHeader";const jC=w.forwardRef(({bsPrefix:a,className:i,closeLabel:c="Close",closeButton:s=!1,...h},p)=>(a=ua(a,"modal-header"),_.jsx(WT,{ref:p,...h,className:Tn(i,a),closeLabel:c,closeButton:s})));jC.displayName="ModalHeader";const D4=cC("h4"),zC=w.forwardRef(({className:a,bsPrefix:i,as:c=D4,...s},h)=>(i=ua(i,"modal-title"),_.jsx(c,{ref:h,className:Tn(a,i),...s})));zC.displayName="ModalTitle";function w4(a){return _.jsx(Cb,{...a,timeout:null})}function M4(a){return _.jsx(Cb,{...a,timeout:null})}const UC=w.forwardRef(({bsPrefix:a,className:i,style:c,dialogClassName:s,contentClassName:h,children:p,dialogAs:y=KT,"data-bs-theme":v,"aria-labelledby":T,"aria-describedby":E,"aria-label":R,show:x=!1,animation:A=!0,backdrop:D=!0,keyboard:N=!0,onEscapeKeyDown:H,onShow:L,onHide:q,container:I,autoFocus:F=!0,enforceFocus:W=!0,restoreFocus:Y=!0,restoreFocusOptions:ne,onEntered:ae,onExit:V,onExiting:Se,onEnter:me,onEntering:Ne,onExited:xe,backdropClassName:Ye,manager:$e,...et},k)=>{const[ce,Ee]=w.useState({}),[ze,se]=w.useState(!1),j=w.useRef(!1),J=w.useRef(!1),ue=w.useRef(null),[re,De]=u4(),Ue=oC(k,De),Me=kh(q),We=r3();a=ua(a,"modal");const Qe=w.useMemo(()=>({onHide:Me}),[Me]);function ot(){return $e||wC({isRTL:We})}function Le(xt){if(!Yh)return;const Wa=ot().getScrollbarWidth()>0,Aa=xt.scrollHeight>Tb(xt).documentElement.clientHeight;Ee({paddingRight:Wa&&!Aa?_C():void 0,paddingLeft:!Wa&&Aa?_C():void 0})}const Ve=kh(()=>{re&&Le(re.dialog)});Z3(()=>{BT(window,"resize",Ve),ue.current==null||ue.current()});const Ct=()=>{j.current=!0},tn=xt=>{j.current&&re&&xt.target===re.dialog&&(J.current=!0),j.current=!1},Mt=()=>{se(!0),ue.current=aC(re.dialog,()=>{se(!1)})},qt=xt=>{xt.target===xt.currentTarget&&Mt()},cn=xt=>{if(D==="static"){qt(xt);return}if(J.current||xt.target!==xt.currentTarget){J.current=!1;return}q==null||q()},$r=xt=>{N?H==null||H(xt):(xt.preventDefault(),D==="static"&&Mt())},To=(xt,Wa)=>{xt&&Le(xt),me==null||me(xt,Wa)},Je=xt=>{ue.current==null||ue.current(),V==null||V(xt)},Er=(xt,Wa)=>{Ne==null||Ne(xt,Wa),nC(window,"resize",Ve)},jl=xt=>{xt&&(xt.style.display=""),xe==null||xe(xt),BT(window,"resize",Ve)},Qr=w.useCallback(xt=>_.jsx("div",{...xt,className:Tn(`${a}-backdrop`,Ye,!A&&"show")}),[A,Ye,a]),Mn={...c,...ce};Mn.display="block";const zl=xt=>_.jsx("div",{role:"dialog",...xt,style:Mn,className:Tn(i,a,ze&&`${a}-static`,!A&&"show"),onClick:D?cn:void 0,onMouseUp:tn,"data-bs-theme":v,"aria-label":R,"aria-labelledby":T,"aria-describedby":E,children:_.jsx(y,{...et,onMouseDown:Ct,className:s,contentClassName:h,children:p})});return _.jsx(FT.Provider,{value:Qe,children:_.jsx(AC,{show:x,ref:Ue,backdrop:D,container:I,keyboard:!0,autoFocus:F,enforceFocus:W,restoreFocus:Y,restoreFocusOptions:ne,onEscapeKeyDown:$r,onShow:L,onHide:q,onEnter:To,onEntering:Er,onEntered:ae,onExit:Je,onExiting:Se,onExited:jl,manager:ot(),transition:A?w4:void 0,backdropTransition:A?M4:void 0,renderBackdrop:Qr,renderDialog:zl})})});UC.displayName="Modal";const Zl=Object.assign(UC,{Body:MC,Header:jC,Title:zC,Footer:NC,Dialog:KT,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),LC=w.forwardRef(({className:a,bsPrefix:i,as:c="div",...s},h)=>(i=ua(i,"nav-item"),_.jsx(c,{ref:h,className:Tn(a,i),...s})));LC.displayName="NavItem";const BC=w.forwardRef(({bsPrefix:a,className:i,as:c=dC,active:s,eventKey:h,disabled:p=!1,...y},v)=>{a=ua(a,"nav-link");const[T,E]=vC({key:kT(h,y.href),active:s,disabled:p,...y});return _.jsx(c,{...y,...T,ref:v,disabled:p,className:Tn(i,a,p&&"disabled",E.isActive&&"active")})});BC.displayName="NavLink";const HC=w.forwardRef((a,i)=>{const{as:c="div",bsPrefix:s,variant:h,fill:p=!1,justify:y=!1,navbar:v,navbarScroll:T,className:E,activeKey:R,...x}=VA(a,{activeKey:"onSelect"}),A=ua(s,"nav");let D,N,H=!1;const L=w.useContext(Gh),q=w.useContext(hC);return L?(D=L.bsPrefix,H=v??!0):q&&({cardHeaderBsPrefix:N}=q),_.jsx(o4,{as:c,ref:i,activeKey:R,className:Tn(E,{[A]:!H,[`${D}-nav`]:H,[`${D}-nav-scroll`]:H&&T,[`${N}-${h}`]:!!N,[`${A}-${h}`]:!!h,[`${A}-fill`]:p,[`${A}-justified`]:y}),...x})});HC.displayName="Nav";const N4=Object.assign(HC,{Item:LC,Link:BC}),VC=w.forwardRef(({bsPrefix:a,className:i,as:c,...s},h)=>{a=ua(a,"navbar-brand");const p=c||(s.href?"a":"span");return _.jsx(p,{...s,ref:h,className:Tn(i,a)})});VC.displayName="NavbarBrand";const qC=w.forwardRef(({children:a,bsPrefix:i,...c},s)=>{i=ua(i,"navbar-collapse");const h=w.useContext(Gh);return _.jsx(uC,{in:!!(h&&h.expanded),...c,children:_.jsx("div",{ref:s,className:i,children:a})})});qC.displayName="NavbarCollapse";const YC=w.forwardRef(({bsPrefix:a,className:i,children:c,label:s="Toggle navigation",as:h="button",onClick:p,...y},v)=>{a=ua(a,"navbar-toggler");const{onToggle:T,expanded:E}=w.useContext(Gh)||{},R=kh(x=>{p&&p(x),T&&T()});return h==="button"&&(y.type="button"),_.jsx(h,{...y,ref:v,onClick:R,"aria-label":s,className:Tn(i,a,!E&&"collapsed"),children:c||_.jsx("span",{className:`${a}-icon`})})});YC.displayName="NavbarToggle";const PT=new WeakMap,kC=(a,i)=>{if(!a||!i)return;const c=PT.get(i)||new Map;PT.set(i,c);let s=c.get(a);return s||(s=i.matchMedia(a),s.refCount=0,c.set(s.media,s)),s};function j4(a,i=typeof window>"u"?void 0:window){const c=kC(a,i),[s,h]=w.useState(()=>c?c.matches:!1);return t4(()=>{let p=kC(a,i);if(!p)return h(!1);let y=PT.get(i);const v=()=>{h(p.matches)};return p.refCount++,p.addListener(v),v(),()=>{p.removeListener(v),p.refCount--,p.refCount<=0&&(y==null||y.delete(p.media)),p=void 0}},[a]),s}function z4(a){const i=Object.keys(a);function c(v,T){return v===T?T:v?`${v} and ${T}`:T}function s(v){return i[Math.min(i.indexOf(v)+1,i.length-1)]}function h(v){const T=s(v);let E=a[T];return typeof E=="number"?E=`${E-.2}px`:E=`calc(${E} - 0.2px)`,`(max-width: ${E})`}function p(v){let T=a[v];return typeof T=="number"&&(T=`${T}px`),`(min-width: ${T})`}function y(v,T,E){let R;typeof v=="object"?(R=v,E=T,T=!0):(T=T||!0,R={[v]:T});let x=w.useMemo(()=>Object.entries(R).reduce((A,[D,N])=>((N==="up"||N===!0)&&(A=c(A,p(D))),(N==="down"||N===!0)&&(A=c(A,h(D))),A),""),[JSON.stringify(R)]);return j4(x,E)}return y}const U4=z4({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),GC=w.forwardRef(({className:a,bsPrefix:i,as:c="div",...s},h)=>(i=ua(i,"offcanvas-body"),_.jsx(c,{ref:h,className:Tn(a,i),...s})));GC.displayName="OffcanvasBody";const L4={[bo]:"show",[Zu]:"show"},$C=w.forwardRef(({bsPrefix:a,className:i,children:c,in:s=!1,mountOnEnter:h=!1,unmountOnExit:p=!1,appear:y=!1,...v},T)=>(a=ua(a,"offcanvas"),_.jsx(Ab,{ref:T,addEndListener:HT,in:s,mountOnEnter:h,unmountOnExit:p,appear:y,...v,childRef:qh(c),children:(E,R)=>w.cloneElement(c,{...R,className:Tn(i,c.props.className,(E===bo||E===Ly)&&`${a}-toggling`,L4[E])})})));$C.displayName="OffcanvasToggling";const QC=w.forwardRef(({bsPrefix:a,className:i,closeLabel:c="Close",closeButton:s=!1,...h},p)=>(a=ua(a,"offcanvas-header"),_.jsx(WT,{ref:p,...h,className:Tn(i,a),closeLabel:c,closeButton:s})));QC.displayName="OffcanvasHeader";const B4=cC("h5"),XC=w.forwardRef(({className:a,bsPrefix:i,as:c=B4,...s},h)=>(i=ua(i,"offcanvas-title"),_.jsx(c,{ref:h,className:Tn(a,i),...s})));XC.displayName="OffcanvasTitle";function H4(a){return _.jsx($C,{...a})}function V4(a){return _.jsx(Cb,{...a})}const ZC=w.forwardRef(({bsPrefix:a,className:i,children:c,"aria-labelledby":s,placement:h="start",responsive:p,show:y=!1,backdrop:v=!0,keyboard:T=!0,scroll:E=!1,onEscapeKeyDown:R,onShow:x,onHide:A,container:D,autoFocus:N=!0,enforceFocus:H=!0,restoreFocus:L=!0,restoreFocusOptions:q,onEntered:I,onExit:F,onExiting:W,onEnter:Y,onEntering:ne,onExited:ae,backdropClassName:V,manager:Se,renderStaticNode:me=!1,...Ne},xe)=>{const Ye=w.useRef();a=ua(a,"offcanvas");const[$e,et]=w.useState(!1),k=kh(A),ce=U4(p||"xs","up");w.useEffect(()=>{et(p?y&&!ce:y)},[y,p,ce]);const Ee=w.useMemo(()=>({onHide:k}),[k]);function ze(){return Se||(E?(Ye.current||(Ye.current=new DC({handleContainerOverflow:!1})),Ye.current):wC())}const se=(re,...De)=>{re&&(re.style.visibility="visible"),Y==null||Y(re,...De)},j=(re,...De)=>{re&&(re.style.visibility=""),ae==null||ae(...De)},J=w.useCallback(re=>_.jsx("div",{...re,className:Tn(`${a}-backdrop`,V)}),[V,a]),ue=re=>_.jsx("div",{...re,...Ne,className:Tn(i,p?`${a}-${p}`:a,`${a}-${h}`),"aria-labelledby":s,children:c});return _.jsxs(_.Fragment,{children:[!$e&&(p||me)&&ue({}),_.jsx(FT.Provider,{value:Ee,children:_.jsx(AC,{show:$e,ref:xe,backdrop:v,container:D,keyboard:T,autoFocus:N,enforceFocus:H&&!E,restoreFocus:L,restoreFocusOptions:q,onEscapeKeyDown:R,onShow:x,onHide:k,onEnter:se,onEntering:ne,onEntered:I,onExit:F,onExiting:W,onExited:j,manager:ze(),transition:H4,backdropTransition:V4,renderBackdrop:J,renderDialog:ue})})]})});ZC.displayName="Offcanvas";const q4=Object.assign(ZC,{Body:GC,Header:QC,Title:XC}),IC=w.forwardRef(({onHide:a,...i},c)=>{const s=w.useContext(Gh),h=kh(()=>{s==null||s.onToggle==null||s.onToggle(),a==null||a()});return _.jsx(q4,{ref:c,show:!!(s!=null&&s.expanded),...i,renderStaticNode:!0,onHide:h})});IC.displayName="NavbarOffcanvas";const JC=w.forwardRef(({className:a,bsPrefix:i,as:c="span",...s},h)=>(i=ua(i,"navbar-text"),_.jsx(c,{ref:h,className:Tn(a,i),...s})));JC.displayName="NavbarText";const FC=w.forwardRef((a,i)=>{const{bsPrefix:c,expand:s=!0,variant:h="light",bg:p,fixed:y,sticky:v,className:T,as:E="nav",expanded:R,onToggle:x,onSelect:A,collapseOnSelect:D=!1,...N}=VA(a,{expanded:"onToggle"}),H=ua(c,"navbar"),L=w.useCallback((...F)=>{A==null||A(...F),D&&R&&(x==null||x(!1))},[A,D,R,x]);N.role===void 0&&E!=="nav"&&(N.role="navigation");let q=`${H}-expand`;typeof s=="string"&&(q=`${q}-${s}`);const I=w.useMemo(()=>({onToggle:()=>x==null?void 0:x(!R),bsPrefix:H,expanded:!!R,expand:s}),[H,R,s,x]);return _.jsx(Gh.Provider,{value:I,children:_.jsx(wb.Provider,{value:L,children:_.jsx(E,{ref:i,...N,className:Tn(T,H,s&&q,h&&`${H}-${h}`,p&&`bg-${p}`,v&&`sticky-${v}`,y&&`fixed-${y}`)})})})});FC.displayName="Navbar";const zb=Object.assign(FC,{Brand:VC,Collapse:qC,Offcanvas:IC,Text:JC,Toggle:YC}),KC=w.forwardRef(({bsPrefix:a,className:i,as:c="div",...s},h)=>{const p=ua(a,"row"),y=qA(),v=YA(),T=`${p}-cols`,E=[];return y.forEach(R=>{const x=s[R];delete s[R];let A;x!=null&&typeof x=="object"?{cols:A}=x:A=x;const D=R!==v?`-${R}`:"";A!=null&&E.push(`${T}${D}-${A}`)}),_.jsx(c,{ref:h,...s,className:Tn(i,p,...E)})});KC.displayName="Row";const Y4=({to:a,preserveHash:i=!0,preserveSearch:c=!0}={})=>{const s=Uh(a),h=os(),p=w.useCallback(()=>{console.log("state.href",y.href),h(y.href)},[h]),y=w.useMemo(()=>{const v=typeof window<"u"?window.location.origin:"http://localhost",T=typeof window<"u"?window.location.href:`${v}/`,{pathname:E}=s,R=E.split("/")[1]||"",x=new URL(T),A=i?x.hash:"",D=c?x.search:"",N=new URL(a,v);N.search=N.search||D,N.hash=N.hash||A;const H=N.pathname+N.search+N.hash,L=typeof window<"u"?window.location.pathname.startsWith(`/${R}`):!0;return{follow:p,href:H,pathname:N.pathname,search:N.search,hash:N.hash,isLocal:L,reloadDocument:!L}},[a,i,c,s]);return y},Qh=({to:a,children:i,preserveHash:c=!0,preserveSearch:s=!0,disabled:h=!1,...p})=>{const{href:y,reloadDocument:v}=Y4({to:a,preserveHash:c,preserveSearch:s});return _.jsxs(_.Fragment,{children:[h&&i,!h&&_.jsx(G1,{to:y,reloadDocument:v,...p,children:i})]})},WC=w.createContext(null),k4=10,G4=({children:a})=>{const i=eu(),c=os(),[s,h]=w.useState([]),p=i.pathname,y=p.split("/").filter(Boolean),[v,T,E,R]=y,x=J1(D=>R!=null?ST(D,R):null);w.useEffect(()=>{if(!R||R==="create"||R==="new")return;const D=[];D.push({key:`${T}:${R}:view`,label:T,to:`/${v}/${T}/view/${R}`}),E&&E!=="view"&&D.push({key:`${T}:${R}:${E}`,label:E,to:`/${v}/${T}/${E}/${R}`});const N={entityKey:`${T}:${R}`,trail:D,entityType:T},H=Date.now();h(L=>{var Y;const q=L.find(ne=>ne.entityKey===N.entityKey),I=(x==null?void 0:x.fullname)||(x==null?void 0:x.name)||N.entityType,F={...q??{},entityKey:N.entityKey,trail:N.trail,lastSeenAt:H,itemLabel:I,pathname:p};if(((Y=L[0])==null?void 0:Y.entityKey)===N.entityKey)return[F,...L.slice(1)];const W=L.filter(ne=>ne.entityKey!==N.entityKey);return[F,...W].slice(0,k4)})},[i.pathname,x]);const A=w.useMemo(()=>({items:s,goToCrumb:D=>c(D.to),goToEntry:D=>c(D.trail[D.trail.length-1].to),clear:()=>h([])}),[s,c]);return _.jsx(WC.Provider,{value:A,children:a})},$4=()=>{const a=w.useContext(WC);if(!a)throw new Error("useAzureLikeHistory must be used inside NavigationHistoryProvider");return a},Q4=()=>{const{items:a=[],goToEntry:i,clear:c}=$4(),s=os(),h=w.useMemo(()=>[...a].reverse(),[a]),p=v=>{var E;const T=(E=(v==null?void 0:v.target)||{})==null?void 0:E.href;v.preventDefault(),T&&s(T)},y=v=>T=>{T.preventDefault(),i(v)};return a.length?_.jsx(zb,{bg:"light",children:_.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center",flexWrap:"wrap"},children:[_.jsx("span",{style:{opacity:.7}}),h.map(v=>_.jsxs(_.Fragment,{children:[_.jsx("a",{type:"button",href:v.pathname,onClick:y(v),className:"btn btn-sm btn-link border-0",title:v.trail.map(T=>T.label).join(" / "),children:v.itemLabel},v.entityKey),v.trail.length>1&&_.jsx("span",{style:{opacity:.7},children:v.trail.map((T,E)=>_.jsx("a",{href:T.to,className:"btn btn-sm btn-link border-0",onClick:p,children:T.label},T.to+":"+E))}),"|"]})),_.jsx("button",{type:"button",className:"btn btn-sm btn-outline-danger border-0",onClick:c,children:"Vymazat"})]})}):null},e_={},X4=(a,i,c)=>{const s=i;!e_[a]||c?e_[a]=s:console.warn(`Link for typename ${a} is already registered.`)},Xh="/generic",Hy=Xh+"/view/",Nl=({item:a,action:i="view",children:c,...s})=>{const h=a!=null&&a.__typename?e_[a.__typename]:null;if(h&&h!==Nl)return _.jsx(h,{item:a,action:i,...s,children:c});const p=c||(a==null?void 0:a.fullname)||(a==null?void 0:a.name)||(a==null?void 0:a.id)||"Missing",y=a!=null&&a.__typename&&(a!=null&&a.id)?`${Xh}/${a.__typename}/${i}/${a.id}`:"#";return _.jsx(Qh,{to:y,...s,children:p})};function Fu(a){for(;a&&a.ofType;)a=a.ofType;return a}function Zh(a){if(!a)return"";const i=a.kind;return i==="NON_NULL"?Zh(a.ofType)+"!":i==="LIST"?"["+Zh(a.ofType)+"]":a.name||""}function Z4(a,i){let c=[];return a.forEach(s=>{if(s.name==="where")c.push(`$${s.name}: ${Zh(s.type)}`);else{let h=Fu(s.type);if(h.kind==="INPUT_OBJECT"){let p=i[h.name];p&&p.inputFields?p.inputFields.forEach(y=>{c.push(`$${y.name}: ${Zh(y.type)}`)}):c.push(`$${s.name}: ${Zh(s.type)}`)}else c.push(`$${s.name}: ${Zh(s.type)}`)}}),c}function I4(a,i){let c=[];return a.forEach(s=>{if(s.name==="where")c.push(`${s.name}: $${s.name}`);else{let h=Fu(s.type);if(h.kind==="INPUT_OBJECT"){let p=i[h.name];if(p&&p.inputFields){let y=[];p.inputFields.forEach(T=>{y.push(`${T.name}: $${T.name}`)});let v="{"+y.join(", ")+"}";c.push(`${s.name}: ${v}`)}else c.push(`${s.name}: $${s.name}`)}else c.push(`${s.name}: $${s.name}`)}}),c.length>0?"("+c.join(", ")+")":""}function Vy(a){return a!=null&&a.endsWith("GQLModelUpdateError")?"Error":a!=null&&a.endsWith("GQLModel")?a==null?void 0:a.slice(0,-8):a}function PC(a){return a?a.kind==="NON_NULL"?!0:a.ofType?PC(a.ofType):!1:!1}function J4(a){return a.args&&a.args.some(i=>PC(i.type))}function Ub(a,i,c,s=0,h=2,p=1,y=" "){const v=Fu(a);if(v.kind==="UNION"){let E=v.possibleTypes;if(!E){const x=i[v.name];E=x?x.possibleTypes||[]:[]}let R=[];return E.forEach(x=>{const A=x.name;c[A]||Ub(x,i,c,s+1,h,p+1,y);const D=`... on ${A} { ...${Vy(A)} }`;R.push(y.repeat(p)+D)}),R.length>0?`{
473
+ `+R.join(`
474
+ `)+`
475
+ `+y.repeat(p-1)+"}":""}else if(v.kind!=="OBJECT")return"";if(s>=h)return"{ __typename, id }";const T=v.name;if(!c[T]){const E=i[T];let R="";if(!E||!E.fields)R="{ __typename, id }";else{let A=[];A.push(y.repeat(p)+"__typename"),E.fields.forEach(D=>{let N=y.repeat(p);if(D.args&&J4(D))N+="# "+D.name;else{const H=Fu(D.type),L=Vy(H.name||""),q=Vy(T);if(["OBJECT","UNION"].includes(H.kind))if(L===q){const I=[...A];I.includes("__typename")||I.unshift("__typename"),I.includes("id")||I.push("id"),N+=`${D.name} { ${I.join(`
476
+ `)} }`}else if(s+1<h){const I=Ub(D.type,i,c,s+1,h,p+1,y);N+=`${D.name} ${I}`}else N+=`${D.name} { __typename id }`;else N+=D.name}A.push(N)}),R=`{
477
+ `+A.join(`
478
+ `)+`
479
+ `+y.repeat(p-1)+"}"}const x=`fragment ${Vy(T)} on ${T} ${R}`;c[T]=x}return`{
480
+ `+y+`...${Vy(T)}
481
+ }`}function t_(a,i,c="query",s=2){c==="mutation"&&(s=3);const h=a.args||[],p=Z4(h,i);let y="";p.length>0&&(y="("+p.join(", ")+")");const v=I4(h,i);let T={},E="";const R=Fu(a.type);["OBJECT","UNION"].includes(R.kind)&&(E=Ub(a.type,i,T,0,s,1," "),E.trim().startsWith("{")||(E=`{
482
+ `+E.trim()+`
483
+ }`)),c==="mutation"&&!E&&(E="{ __typename, id }");let x=[];x.push(`${c} ${a.name}${y} {`),x.push(` ${a.name}${v} ${E}`),x.push("}");let A=x.join(`
484
+ `);if(Object.keys(T).length>0){const D=Object.keys(T).map(N=>T[N]).join(`
485
+
486
+ `);A+=`
487
+
488
+ `+D}return A}function F4(a,i,c=2){let s={},h=Ub({kind:"OBJECT",name:a},i,s,0,c,1," ");h.trim().startsWith("{")||(h=`{
489
+ `+h.trim()+`
490
+ }`);const p=[];p.push("query($representations: [_Any!]!) {"),p.push(" _entities(representations: $representations) {"),p.push(` ... on ${a} ${h}`),p.push(" }"),p.push("}");let y=p.join(`
491
+ `);if(Object.keys(s).length>0){const v=Object.values(s).join(`
492
+
493
+ `);y+=`
494
+
495
+ `+v}return y}function K4(a,i){const s=a.__schema.types,h={};for(const y of s)y.name.startsWith("__")||(h[y.name]=y);return F4(i,h)}function W4(a,i){const c=a.__schema,s=c.types,h={};for(const T of s)T.name.startsWith("__")||(h[T.name]=T);const p=c.queryType?c.queryType.name:null;c.mutationType&&c.mutationType.name;const v=h[p].fields.find(T=>{const E=T.type.kind,R=Fu(T.type);return E!=="NON_NULL"&&R.name===i&&T.name.endsWith("ById")});return v?t_(v,h):null}function P4(a){if(!a)return!1;for(;a&&a.kind==="NON_NULL";)a=a.ofType;if(!a||a.kind!=="LIST")return!1;let i=a.ofType;for(;i&&i.kind==="NON_NULL";)i=i.ofType;return i.name}function eL(a,i){if(!a)return!1;for(;a&&a.kind==="NON_NULL";)a=a.ofType;if(!a||a.kind!=="LIST")return!1;let c=a.ofType;for(;c&&c.kind==="NON_NULL";)c=c.ofType;return!!c&&c.name===i}function tL(a,i){const c=a.__schema,s=c.types,h={};for(const T of s)T.name.startsWith("__")||(h[T.name]=T);const p=c.queryType?c.queryType.name:null,y=h[p];if(!(y!=null&&y.fields))return null;const v=y.fields.find(T=>{const E=Fu(T.type),R=(E==null?void 0:E.name)===i,x=eL(T.type,i);return R&&x});return v?t_(v,h):null}function nL(a){const i=a.__schema,c=i.types,s={};for(const v of c)v.name.startsWith("__")||(s[v.name]=v);const h=i.queryType?i.queryType.name:null,p=s[h];return p!=null&&p.fields?p.fields.map(v=>P4(v.type)):null}function aL(a,i){const c=a.__schema,s=c.types,h={};for(const E of s)E.name.startsWith("__")||(h[E.name]=E);const p=c.mutationType?c.mutationType.name:null,y=p?h[p]:null;if(!(y!=null&&y.fields))return[];function v(E){if(!E)return[];if(E.possibleTypes&&E.possibleTypes.length)return E.possibleTypes;const R=h[E.name];return(R==null?void 0:R.possibleTypes)||[]}return y.fields.filter(E=>{const R=Fu(E.type),x=h[R==null?void 0:R.name];return(R==null?void 0:R.kind)==="UNION"||(x==null?void 0:x.kind)==="UNION"?v(R).some(N=>(N==null?void 0:N.name)===i):!1}).map(E=>{var R;return{name:E.name,returnUnion:(R=Fu(E.type))==null?void 0:R.name,query:t_(E,h,"mutation")}})}const lL=(a,i)=>{const c=aL(a,i),s={};for(const h of c)s[h==null?void 0:h.name]=h==null?void 0:h.query;return s},Il=(a,i=KU,...c)=>{var p;let s="";typeof a=="function"&&(s=(p=a==null?void 0:a.__metadata)==null?void 0:p.queryStr,a=a(),s=s||a),typeof i=="function"&&(c=[i,...c],i={}),c.forEach((y,v)=>{if(typeof y!="function")throw new Error(`createAsyncGraphQLAction: Middleware at index ${v} is not a function.`)});const h=(y,v)=>async(T,E,R=x=>x)=>{if(!v||typeof v.request!="function")throw new Error("createAsyncGraphQLAction2: missing GraphQL client (second argument AsyncAction(vars, client))");const x=await v.request({query:a,variables:{...i,...y}});try{return c.reduceRight((D,N)=>async H=>N(H)(T,E,D),R)(x)}catch(A){throw console.error("createAsyncGraphQLAction: Error during async action execution",A),T({type:"ASYNC_GRAPHQL_ACTION_GENERAL_ERROR",payload:A.message}),A}};return h.__metadata={queryStr:s,graphQLQuery:a},h},Lb=()=>{},rL=a=>a,iL=()=>new Map,oL=(a={},i)=>i===void 0?a||{}:{...a||{},...i},uL=a=>JSON.stringify(a??{}),eD=a=>typeof a=="function"?Promise.resolve(a(eD,()=>({}),void 0)):Promise.resolve(a),n_=a=>!!a&&typeof a=="object"&&typeof a.request=="function"&&typeof a.query=="function"&&typeof a.mutate=="function",tD=a=>!!a&&typeof a=="object"&&!n_(a)&&("endpoint"in a||"getHeaders"in a||"onGraphQLErrors"in a),cL=async a=>{if(!a)return wA;if(typeof a=="function"){const i=await a();if(n_(i))return i;if(tD(i))return Eb(i);if(!i)return wA;throw new Error("gqlClient factory returned unsupported value")}if(n_(a))return a;if(tD(a))return Eb(a);throw new Error("Unsupported gqlClient value")},sL=async({AsyncAction:a,baseVars:i={},overrideVars:c,network:s=!0,dispatch:h=eD,gqlClient:p=null,inFlightMap:y=iL(),mergeVars:v=oL,createKey:T=uL,transformResult:E=rL,onStart:R=Lb,onSuccess:x=Lb,onError:A=Lb,onFinally:D=Lb}={})=>{if(!s||!a)return null;const N=v(i,c),H=T(N),L=y.get(H);if(L)return L;try{R(N);const q=Promise.resolve().then(()=>cL(p)).then(I=>h(a(N,I))).then(I=>{const F=E(I,N);return x(F,N),F}).catch(I=>{throw A(I,N),I}).finally(()=>{y.delete(H),D(N)});return y.set(H,q),q}catch(q){throw A(q,N),D(N),q}},fL=()=>{},dL=(a,i)=>{if(a===i)return!0;if(!a||!i||typeof a!="object"||typeof i!="object")return!1;const c=Object.keys(a),s=Object.keys(i);if(c.length!==s.length)return!1;for(const h of c)if(a[h]!==i[h])return!1;return!0},nD=a=>a||{},hL=({deferred:a=!1,network:i=!0}={})=>({loading:!a&&i,error:null,data:null}),pL=a=>({onStart:()=>{a(i=>({...i,loading:!0,error:null}))},onSuccess:i=>{a({loading:!1,error:null,data:i})},onError:i=>{a({loading:!1,error:i,data:null})},onFinally:fL}),mL=((a=()=>({}),i=void 0)=>{const c=s=>typeof s=="function"?Promise.resolve(s(c,a,i)):Promise.resolve(s);return c})(),yL=()=>mL,gL=()=>null,aD=(a,i)=>(c,s,h={})=>{const{deferred:p=!1,network:y=!0}=h,v=a(),T=Sb(),[E,R]=w.useState(()=>nD(s)),[x,A]=w.useState(()=>hL({deferred:p,network:y})),D=w.useRef(new Map);w.useEffect(()=>{const I=nD(s);dL(I,E)||R(I)},[s]);const N=E==null?void 0:E.id,H=i(I=>N!=null?ST(I,N):null),L=w.useMemo(()=>pL(A),[]),q=w.useCallback(I=>sL({AsyncAction:c,baseVars:E,overrideVars:I,network:y,dispatch:v,gqlClient:()=>T,inFlightMap:D.current,...L}),[c,E,y,v,T,L]);return w.useEffect(()=>{!p&&y&&q()},[p,y,q]),{loading:x.loading,error:x.error,data:x.data,entity:H,run:q}},a_=aD(F1,J1),lD=aD(yL,gL),vL=Il(DA),l_=a=>{const{loading:i,error:c,data:s}=lD(vL),[h,p]=w.useState(null),[y,v]=w.useState(null),[T,E]=w.useState(null),[R,x]=w.useState(null),[A,D]=w.useState(null),[N,H]=w.useState(null);return w.useEffect(()=>{if(s){const L=s.data,q=W4(L,a),I=K4(L,a),F=Il(I),W=({id:ae},V)=>{const Se=[{__typename:a,id:ae}];return console.log("entityquerydef",Se,I),F({representations:Se},V)},Y=tL(L,a);D(()=>Y);const ne=lL(L,a);H(()=>ne),p(()=>q),E(()=>q?Il(q):W),x(()=>Il(Y)),v(()=>W)}},[s,a]),{loading:i,error:c,introspection:s==null?void 0:s.data,queryById:h,ByIdAsyncAction:T,EntityAsyncAction:y,queryVector:A,PageAsyncAction:R,mutations:N}};function Eo(...a){return a.flat(1/0).filter(Boolean).join(" ")}const rD={grid:{container:(...a)=>Eo("container",a),containerFluid:(...a)=>Eo("container-fluid",a),row:(a={},...i)=>{const{g:c,gx:s,gy:h,align:p,justify:y}=a||{};return Eo("row",c!=null&&`g-${c}`,s!=null&&`gx-${s}`,h!=null&&`gy-${h}`,p&&`align-items-${p}`,y&&`justify-content-${y}`,i)},col:(a={},...i)=>{const c=["","sm","md","lg","xl","xxl"],s=[];for(const h of c){const p=h===""?"xs":h,y=a==null?void 0:a[p];if(y==null)continue;const v=h===""?"col":`col-${h}`;y===!0?s.push(v):s.push(`${v}-${y}`)}return s.length===0&&s.push("col"),Eo(s,i)}}};function un({className:a,classNames:i,xs:c,sm:s,md:h,lg:p,xl:y,xxl:v,as:T="div",...E}){return _.jsx(T,{...E,className:Eo("Col",rD.grid.col({xs:c,sm:s,md:h,lg:p,xl:y,xxl:v}),a,i==null?void 0:i.root)})}const bL=({children:a,...i})=>_.jsx(un,{xl:3,md:12,className:"LeftColumn",...i,children:a}),EL=({children:a,...i})=>_.jsx(un,{xl:9,md:12,className:"MiddleColumn",...i,children:a});function Gr({className:a,classNames:i,g:c,gx:s,gy:h,align:p,justify:y,as:v="div",...T}){return _.jsx(v,{...T,className:Eo("Row",rD.grid.row({g:c,gx:s,gy:h,align:p,justify:y}),a,i==null?void 0:i.root)})}const nu=({id:a,header:i,title:c,children:s,className:h,style:p,...y})=>{const v=c||i;return _.jsxs("div",{id:a,className:Eo("CardCapsule","card","position-relative","my-3",h),style:p,...y,children:[v&&_.jsx("span",{className:Eo("CardCapsule__title","position-absolute","top-0","start-0","translate-middle-y","ms-3","px-2","bg-white","text-uppercase","fw-bold","text-muted"),children:v}),_.jsx("div",{className:Eo("CardCapsule__body","card-body"),children:_.jsx("div",{className:Eo("CardCapsule__content","text-start"),children:s})})]})},dl=nu,iD=({children:a,className:i,...c})=>_.jsx("span",{className:Eo("CardCapsule__corner","position-absolute","top-0","end-0","translate-middle-y","me-3","px-2","bg-white","text-muted",i),...c,children:a}),Bb=a=>{const i=a instanceof Date?a:new Date(a);return Number.isNaN(i.getTime())?String(a):new Intl.DateTimeFormat("cs-CZ",{dateStyle:"medium",timeStyle:"short"}).format(i)},Jl=({item:a,label:i,attribute_name:c,attribute_value:s,children:h})=>{const p=s??(a==null?void 0:a[c]),v=h||(T=>T==null?"":typeof T=="boolean"?T?"Ano":"Ne":T instanceof Date?Bb(T):typeof T=="string"?T.includes("T")?Bb(T):T:typeof T=="object"?_.jsx("pre",{className:"mb-0",children:JSON.stringify(T,null,2)}):String(T))(p);return _.jsx(Gr,{className:"Attribute_Row",children:i?_.jsxs(_.Fragment,{children:[_.jsx(un,{md:4,xs:12,className:"Attribute_Col_Label",children:_.jsx("b",{children:i})}),_.jsx(un,{md:8,xs:12,className:"Attribute_Col_Value",children:v})]}):_.jsx(un,{md:12,className:"Attribute_Col_Value",children:v})})},oD=({datarow:a={},name:i})=>{const c=(a==null?void 0:a[i])||"";if(i==="id")return _.jsx(Jl,{item:a,label:i,attribute_name:i,children:_.jsx(Nl,{item:a,children:(a==null?void 0:a.id)||"Data Error"})});if(["name","surname","fullname"].includes(i))return _.jsx(Jl,{item:a,label:i,attribute_name:i,children:_.jsx(Nl,{item:a,children:c})});if(i.indexOf("Id")===-1)return typeof c=="object"?null:_.jsx(Jl,{item:a,label:i,attribute_name:i,attribute_value_result:c||""});const h=i.replace("Id",""),{id:p,__typename:y}=(a==null?void 0:a[h])||{};if(p&&y)return _.jsx(Jl,{item:a,label:i,attribute_name:i,children:_.jsx(Nl,{item:a==null?void 0:a[h],children:p})})},uD=({item:a,children:i})=>_.jsxs(_.Fragment,{children:[Object.entries(a).map(([c,s])=>Array.isArray(s)?null:s?_.jsx(oD,{datarow:a,name:c},c):null),Object.entries(a).map(([c,s])=>s!==null||s?null:_.jsx(oD,{datarow:a,name:c},c)),i]}),cD=({header:a,item:i,children:c})=>_.jsxs(dl,{header:a||_.jsx(Nl,{item:i}),item:i,children:[_.jsx(uD,{item:i}),c,_.jsx("hr",{}),Object.entries(i).map(([s,h])=>Array.isArray(h)?null:typeof h=="object"&&h!==null?_.jsxs(Nl,{item:h,children:[_.jsxs("b",{children:[s," ",JSON.stringify({})]}),_.jsx("br",{})]}):null),_.jsx("hr",{}),Object.entries(i).map(([s,h])=>Array.isArray(h)?_.jsxs(Nl,{item:i,action:s,children:[_.jsxs("b",{children:[s," []"]}),_.jsx("br",{})]}):null)]}),r_=({item:a,children:i})=>_.jsxs(Gr,{children:[_.jsx(un,{className:"col-3",children:_.jsx(cD,{item:a,children:_.jsx(iD,{children:_.jsx(Nl,{className:"btn btn-sm border-0",item:a,action:"__def",children:"Definice"})})})}),_.jsx(un,{className:"col-9",children:i})]});function i_(a,i){if(!!!a)throw new Error(i)}function SL(a){return typeof a=="object"&&a!==null}function TL(a,i){if(!!!a)throw new Error("Unexpected invariant triggered.")}const _L=/\r\n|[\n\r]/g;function o_(a,i){let c=0,s=1;for(const h of a.body.matchAll(_L)){if(typeof h.index=="number"||TL(!1),h.index>=i)break;c=h.index+h[0].length,s+=1}return{line:s,column:i+1-c}}function OL(a){return sD(a.source,o_(a.source,a.start))}function sD(a,i){const c=a.locationOffset.column-1,s="".padStart(c)+a.body,h=i.line-1,p=a.locationOffset.line-1,y=i.line+p,v=i.line===1?c:0,T=i.column+v,E=`${a.name}:${y}:${T}
496
+ `,R=s.split(/\r\n|[\n\r]/g),x=R[h];if(x.length>120){const A=Math.floor(T/80),D=T%80,N=[];for(let H=0;H<x.length;H+=80)N.push(x.slice(H,H+80));return E+fD([[`${y} |`,N[0]],...N.slice(1,A+1).map(H=>["|",H]),["|","^".padStart(D)],["|",N[A+1]]])}return E+fD([[`${y-1} |`,R[h-1]],[`${y} |`,x],["|","^".padStart(T)],[`${y+1} |`,R[h+1]]])}function fD(a){const i=a.filter(([s,h])=>h!==void 0),c=Math.max(...i.map(([s])=>s.length));return i.map(([s,h])=>s.padStart(c)+(h?" "+h:"")).join(`
497
+ `)}function xL(a){const i=a[0];return i==null||"kind"in i||"length"in i?{nodes:i,source:a[1],positions:a[2],path:a[3],originalError:a[4],extensions:a[5]}:i}class u_ extends Error{constructor(i,...c){var s,h,p;const{nodes:y,source:v,positions:T,path:E,originalError:R,extensions:x}=xL(c);super(i),this.name="GraphQLError",this.path=E??void 0,this.originalError=R??void 0,this.nodes=dD(Array.isArray(y)?y:y?[y]:void 0);const A=dD((s=this.nodes)===null||s===void 0?void 0:s.map(N=>N.loc).filter(N=>N!=null));this.source=v??(A==null||(h=A[0])===null||h===void 0?void 0:h.source),this.positions=T??(A==null?void 0:A.map(N=>N.start)),this.locations=T&&v?T.map(N=>o_(v,N)):A==null?void 0:A.map(N=>o_(N.source,N.start));const D=SL(R==null?void 0:R.extensions)?R==null?void 0:R.extensions:void 0;this.extensions=(p=x??D)!==null&&p!==void 0?p:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),R!=null&&R.stack?Object.defineProperty(this,"stack",{value:R.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,u_):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let i=this.message;if(this.nodes)for(const c of this.nodes)c.loc&&(i+=`
498
+
499
+ `+OL(c.loc));else if(this.source&&this.locations)for(const c of this.locations)i+=`
500
+
501
+ `+sD(this.source,c);return i}toJSON(){const i={message:this.message};return this.locations!=null&&(i.locations=this.locations),this.path!=null&&(i.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(i.extensions=this.extensions),i}}function dD(a){return a===void 0||a.length===0?void 0:a}function Ga(a,i,c){return new u_(`Syntax Error: ${c}`,{source:a,positions:[i]})}class RL{constructor(i,c,s){this.start=i.start,this.end=c.end,this.startToken=i,this.endToken=c,this.source=s}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class hD{constructor(i,c,s,h,p,y){this.kind=i,this.start=c,this.end=s,this.line=h,this.column=p,this.value=y,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const AL={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]};new Set(Object.keys(AL));var Ih;(function(a){a.QUERY="query",a.MUTATION="mutation",a.SUBSCRIPTION="subscription"})(Ih||(Ih={}));var c_;(function(a){a.QUERY="QUERY",a.MUTATION="MUTATION",a.SUBSCRIPTION="SUBSCRIPTION",a.FIELD="FIELD",a.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",a.FRAGMENT_SPREAD="FRAGMENT_SPREAD",a.INLINE_FRAGMENT="INLINE_FRAGMENT",a.VARIABLE_DEFINITION="VARIABLE_DEFINITION",a.SCHEMA="SCHEMA",a.SCALAR="SCALAR",a.OBJECT="OBJECT",a.FIELD_DEFINITION="FIELD_DEFINITION",a.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",a.INTERFACE="INTERFACE",a.UNION="UNION",a.ENUM="ENUM",a.ENUM_VALUE="ENUM_VALUE",a.INPUT_OBJECT="INPUT_OBJECT",a.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(c_||(c_={}));var dt;(function(a){a.NAME="Name",a.DOCUMENT="Document",a.OPERATION_DEFINITION="OperationDefinition",a.VARIABLE_DEFINITION="VariableDefinition",a.SELECTION_SET="SelectionSet",a.FIELD="Field",a.ARGUMENT="Argument",a.FRAGMENT_SPREAD="FragmentSpread",a.INLINE_FRAGMENT="InlineFragment",a.FRAGMENT_DEFINITION="FragmentDefinition",a.VARIABLE="Variable",a.INT="IntValue",a.FLOAT="FloatValue",a.STRING="StringValue",a.BOOLEAN="BooleanValue",a.NULL="NullValue",a.ENUM="EnumValue",a.LIST="ListValue",a.OBJECT="ObjectValue",a.OBJECT_FIELD="ObjectField",a.DIRECTIVE="Directive",a.NAMED_TYPE="NamedType",a.LIST_TYPE="ListType",a.NON_NULL_TYPE="NonNullType",a.SCHEMA_DEFINITION="SchemaDefinition",a.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",a.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",a.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",a.FIELD_DEFINITION="FieldDefinition",a.INPUT_VALUE_DEFINITION="InputValueDefinition",a.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",a.UNION_TYPE_DEFINITION="UnionTypeDefinition",a.ENUM_TYPE_DEFINITION="EnumTypeDefinition",a.ENUM_VALUE_DEFINITION="EnumValueDefinition",a.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",a.DIRECTIVE_DEFINITION="DirectiveDefinition",a.SCHEMA_EXTENSION="SchemaExtension",a.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",a.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",a.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",a.UNION_TYPE_EXTENSION="UnionTypeExtension",a.ENUM_TYPE_EXTENSION="EnumTypeExtension",a.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",a.TYPE_COORDINATE="TypeCoordinate",a.MEMBER_COORDINATE="MemberCoordinate",a.ARGUMENT_COORDINATE="ArgumentCoordinate",a.DIRECTIVE_COORDINATE="DirectiveCoordinate",a.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"})(dt||(dt={}));function CL(a){return a===9||a===32}function qy(a){return a>=48&&a<=57}function pD(a){return a>=97&&a<=122||a>=65&&a<=90}function mD(a){return pD(a)||a===95}function DL(a){return pD(a)||qy(a)||a===95}function wL(a){var i;let c=Number.MAX_SAFE_INTEGER,s=null,h=-1;for(let y=0;y<a.length;++y){var p;const v=a[y],T=ML(v);T!==v.length&&(s=(p=s)!==null&&p!==void 0?p:y,h=y,y!==0&&T<c&&(c=T))}return a.map((y,v)=>v===0?y:y.slice(c)).slice((i=s)!==null&&i!==void 0?i:0,h+1)}function ML(a){let i=0;for(;i<a.length&&CL(a.charCodeAt(i));)++i;return i}var Ae;(function(a){a.SOF="<SOF>",a.EOF="<EOF>",a.BANG="!",a.DOLLAR="$",a.AMP="&",a.PAREN_L="(",a.PAREN_R=")",a.DOT=".",a.SPREAD="...",a.COLON=":",a.EQUALS="=",a.AT="@",a.BRACKET_L="[",a.BRACKET_R="]",a.BRACE_L="{",a.PIPE="|",a.BRACE_R="}",a.NAME="Name",a.INT="Int",a.FLOAT="Float",a.STRING="String",a.BLOCK_STRING="BlockString",a.COMMENT="Comment"})(Ae||(Ae={}));class NL{constructor(i){const c=new hD(Ae.SOF,0,0,0,0);this.source=i,this.lastToken=c,this.token=c,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let i=this.token;if(i.kind!==Ae.EOF)do if(i.next)i=i.next;else{const c=zL(this,i.end);i.next=c,c.prev=i,i=c}while(i.kind===Ae.COMMENT);return i}}function jL(a){return a===Ae.BANG||a===Ae.DOLLAR||a===Ae.AMP||a===Ae.PAREN_L||a===Ae.PAREN_R||a===Ae.DOT||a===Ae.SPREAD||a===Ae.COLON||a===Ae.EQUALS||a===Ae.AT||a===Ae.BRACKET_L||a===Ae.BRACKET_R||a===Ae.BRACE_L||a===Ae.PIPE||a===Ae.BRACE_R}function Jh(a){return a>=0&&a<=55295||a>=57344&&a<=1114111}function Hb(a,i){return yD(a.charCodeAt(i))&&gD(a.charCodeAt(i+1))}function yD(a){return a>=55296&&a<=56319}function gD(a){return a>=56320&&a<=57343}function Xf(a,i){const c=a.source.body.codePointAt(i);if(c===void 0)return Ae.EOF;if(c>=32&&c<=126){const s=String.fromCodePoint(c);return s==='"'?`'"'`:`"${s}"`}return"U+"+c.toString(16).toUpperCase().padStart(4,"0")}function Ra(a,i,c,s,h){const p=a.line,y=1+c-a.lineStart;return new hD(i,c,s,p,y,h)}function zL(a,i){const c=a.source.body,s=c.length;let h=i;for(;h<s;){const p=c.charCodeAt(h);switch(p){case 65279:case 9:case 32:case 44:++h;continue;case 10:++h,++a.line,a.lineStart=h;continue;case 13:c.charCodeAt(h+1)===10?h+=2:++h,++a.line,a.lineStart=h;continue;case 35:return UL(a,h);case 33:return Ra(a,Ae.BANG,h,h+1);case 36:return Ra(a,Ae.DOLLAR,h,h+1);case 38:return Ra(a,Ae.AMP,h,h+1);case 40:return Ra(a,Ae.PAREN_L,h,h+1);case 41:return Ra(a,Ae.PAREN_R,h,h+1);case 46:if(c.charCodeAt(h+1)===46&&c.charCodeAt(h+2)===46)return Ra(a,Ae.SPREAD,h,h+3);break;case 58:return Ra(a,Ae.COLON,h,h+1);case 61:return Ra(a,Ae.EQUALS,h,h+1);case 64:return Ra(a,Ae.AT,h,h+1);case 91:return Ra(a,Ae.BRACKET_L,h,h+1);case 93:return Ra(a,Ae.BRACKET_R,h,h+1);case 123:return Ra(a,Ae.BRACE_L,h,h+1);case 124:return Ra(a,Ae.PIPE,h,h+1);case 125:return Ra(a,Ae.BRACE_R,h,h+1);case 34:return c.charCodeAt(h+1)===34&&c.charCodeAt(h+2)===34?YL(a,h):BL(a,h)}if(qy(p)||p===45)return LL(a,h,p);if(mD(p))return kL(a,h);throw Ga(a.source,h,p===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:Jh(p)||Hb(c,h)?`Unexpected character: ${Xf(a,h)}.`:`Invalid character: ${Xf(a,h)}.`)}return Ra(a,Ae.EOF,s,s)}function UL(a,i){const c=a.source.body,s=c.length;let h=i+1;for(;h<s;){const p=c.charCodeAt(h);if(p===10||p===13)break;if(Jh(p))++h;else if(Hb(c,h))h+=2;else break}return Ra(a,Ae.COMMENT,i,h,c.slice(i+1,h))}function LL(a,i,c){const s=a.source.body;let h=i,p=c,y=!1;if(p===45&&(p=s.charCodeAt(++h)),p===48){if(p=s.charCodeAt(++h),qy(p))throw Ga(a.source,h,`Invalid number, unexpected digit after 0: ${Xf(a,h)}.`)}else h=s_(a,h,p),p=s.charCodeAt(h);if(p===46&&(y=!0,p=s.charCodeAt(++h),h=s_(a,h,p),p=s.charCodeAt(h)),(p===69||p===101)&&(y=!0,p=s.charCodeAt(++h),(p===43||p===45)&&(p=s.charCodeAt(++h)),h=s_(a,h,p),p=s.charCodeAt(h)),p===46||mD(p))throw Ga(a.source,h,`Invalid number, expected digit but got: ${Xf(a,h)}.`);return Ra(a,y?Ae.FLOAT:Ae.INT,i,h,s.slice(i,h))}function s_(a,i,c){if(!qy(c))throw Ga(a.source,i,`Invalid number, expected digit but got: ${Xf(a,i)}.`);const s=a.source.body;let h=i+1;for(;qy(s.charCodeAt(h));)++h;return h}function BL(a,i){const c=a.source.body,s=c.length;let h=i+1,p=h,y="";for(;h<s;){const v=c.charCodeAt(h);if(v===34)return y+=c.slice(p,h),Ra(a,Ae.STRING,i,h+1,y);if(v===92){y+=c.slice(p,h);const T=c.charCodeAt(h+1)===117?c.charCodeAt(h+2)===123?HL(a,h):VL(a,h):qL(a,h);y+=T.value,h+=T.size,p=h;continue}if(v===10||v===13)break;if(Jh(v))++h;else if(Hb(c,h))h+=2;else throw Ga(a.source,h,`Invalid character within String: ${Xf(a,h)}.`)}throw Ga(a.source,h,"Unterminated string.")}function HL(a,i){const c=a.source.body;let s=0,h=3;for(;h<12;){const p=c.charCodeAt(i+h++);if(p===125){if(h<5||!Jh(s))break;return{value:String.fromCodePoint(s),size:h}}if(s=s<<4|Yy(p),s<0)break}throw Ga(a.source,i,`Invalid Unicode escape sequence: "${c.slice(i,i+h)}".`)}function VL(a,i){const c=a.source.body,s=vD(c,i+2);if(Jh(s))return{value:String.fromCodePoint(s),size:6};if(yD(s)&&c.charCodeAt(i+6)===92&&c.charCodeAt(i+7)===117){const h=vD(c,i+8);if(gD(h))return{value:String.fromCodePoint(s,h),size:12}}throw Ga(a.source,i,`Invalid Unicode escape sequence: "${c.slice(i,i+6)}".`)}function vD(a,i){return Yy(a.charCodeAt(i))<<12|Yy(a.charCodeAt(i+1))<<8|Yy(a.charCodeAt(i+2))<<4|Yy(a.charCodeAt(i+3))}function Yy(a){return a>=48&&a<=57?a-48:a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:-1}function qL(a,i){const c=a.source.body;switch(c.charCodeAt(i+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:`
502
+ `,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw Ga(a.source,i,`Invalid character escape sequence: "${c.slice(i,i+2)}".`)}function YL(a,i){const c=a.source.body,s=c.length;let h=a.lineStart,p=i+3,y=p,v="";const T=[];for(;p<s;){const E=c.charCodeAt(p);if(E===34&&c.charCodeAt(p+1)===34&&c.charCodeAt(p+2)===34){v+=c.slice(y,p),T.push(v);const R=Ra(a,Ae.BLOCK_STRING,i,p+3,wL(T).join(`
503
+ `));return a.line+=T.length-1,a.lineStart=h,R}if(E===92&&c.charCodeAt(p+1)===34&&c.charCodeAt(p+2)===34&&c.charCodeAt(p+3)===34){v+=c.slice(y,p),y=p+1,p+=4;continue}if(E===10||E===13){v+=c.slice(y,p),T.push(v),E===13&&c.charCodeAt(p+1)===10?p+=2:++p,v="",y=p,h=p;continue}if(Jh(E))++p;else if(Hb(c,p))p+=2;else throw Ga(a.source,p,`Invalid character within String: ${Xf(a,p)}.`)}throw Ga(a.source,p,"Unterminated string.")}function kL(a,i){const c=a.source.body,s=c.length;let h=i+1;for(;h<s;){const p=c.charCodeAt(h);if(DL(p))++h;else break}return Ra(a,Ae.NAME,i,h,c.slice(i,h))}const GL=10,bD=2;function ED(a){return Vb(a,[])}function Vb(a,i){switch(typeof a){case"string":return JSON.stringify(a);case"function":return a.name?`[function ${a.name}]`:"[function]";case"object":return $L(a,i);default:return String(a)}}function $L(a,i){if(a===null)return"null";if(i.includes(a))return"[Circular]";const c=[...i,a];if(QL(a)){const s=a.toJSON();if(s!==a)return typeof s=="string"?s:Vb(s,c)}else if(Array.isArray(a))return ZL(a,c);return XL(a,c)}function QL(a){return typeof a.toJSON=="function"}function XL(a,i){const c=Object.entries(a);return c.length===0?"{}":i.length>bD?"["+IL(a)+"]":"{ "+c.map(([h,p])=>h+": "+Vb(p,i)).join(", ")+" }"}function ZL(a,i){if(a.length===0)return"[]";if(i.length>bD)return"[Array]";const c=Math.min(GL,a.length),s=a.length-c,h=[];for(let p=0;p<c;++p)h.push(Vb(a[p],i));return s===1?h.push("... 1 more item"):s>1&&h.push(`... ${s} more items`),"["+h.join(", ")+"]"}function IL(a){const i=Object.prototype.toString.call(a).replace(/^\[object /,"").replace(/]$/,"");if(i==="Object"&&typeof a.constructor=="function"){const c=a.constructor.name;if(typeof c=="string"&&c!=="")return c}return i}const JL=globalThis.process&&process.env.NODE_ENV==="production"?function(i,c){return i instanceof c}:function(i,c){if(i instanceof c)return!0;if(typeof i=="object"&&i!==null){var s;const h=c.prototype[Symbol.toStringTag],p=Symbol.toStringTag in i?i[Symbol.toStringTag]:(s=i.constructor)===null||s===void 0?void 0:s.name;if(h===p){const y=ED(i);throw new Error(`Cannot use ${h} "${y}" from another module or realm.
504
+
505
+ Ensure that there is only one instance of "graphql" in the node_modules
506
+ directory. If different versions of "graphql" are the dependencies of other
507
+ relied on modules, use "resolutions" to ensure only one version is installed.
508
+
509
+ https://yarnpkg.com/en/docs/selective-version-resolutions
510
+
511
+ Duplicate "graphql" modules cannot be used at the same time since different
512
+ versions may have different capabilities and behavior. The data from one
513
+ version used in the function from another could produce confusing and
514
+ spurious results.`)}}return!1};class SD{constructor(i,c="GraphQL request",s={line:1,column:1}){typeof i=="string"||i_(!1,`Body must be a string. Received: ${ED(i)}.`),this.body=i,this.name=c,this.locationOffset=s,this.locationOffset.line>0||i_(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||i_(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function FL(a){return JL(a,SD)}function KL(a,i){const c=new WL(a,i),s=c.parseDocument();return Object.defineProperty(s,"tokenCount",{enumerable:!1,value:c.tokenCount}),s}class WL{constructor(i,c={}){const{lexer:s,...h}=c;if(s)this._lexer=s;else{const p=FL(i)?i:new SD(i);this._lexer=new NL(p)}this._options=h,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const i=this.expectToken(Ae.NAME);return this.node(i,{kind:dt.NAME,value:i.value})}parseDocument(){return this.node(this._lexer.token,{kind:dt.DOCUMENT,definitions:this.many(Ae.SOF,this.parseDefinition,Ae.EOF)})}parseDefinition(){if(this.peek(Ae.BRACE_L))return this.parseOperationDefinition();const i=this.peekDescription(),c=i?this._lexer.lookahead():this._lexer.token;if(i&&c.kind===Ae.BRACE_L)throw Ga(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(c.kind===Ae.NAME){switch(c.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(c.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(i)throw Ga(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");switch(c.value){case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(c)}parseOperationDefinition(){const i=this._lexer.token;if(this.peek(Ae.BRACE_L))return this.node(i,{kind:dt.OPERATION_DEFINITION,operation:Ih.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const c=this.parseDescription(),s=this.parseOperationType();let h;return this.peek(Ae.NAME)&&(h=this.parseName()),this.node(i,{kind:dt.OPERATION_DEFINITION,operation:s,description:c,name:h,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const i=this.expectToken(Ae.NAME);switch(i.value){case"query":return Ih.QUERY;case"mutation":return Ih.MUTATION;case"subscription":return Ih.SUBSCRIPTION}throw this.unexpected(i)}parseVariableDefinitions(){return this.optionalMany(Ae.PAREN_L,this.parseVariableDefinition,Ae.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:dt.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(Ae.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Ae.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const i=this._lexer.token;return this.expectToken(Ae.DOLLAR),this.node(i,{kind:dt.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:dt.SELECTION_SET,selections:this.many(Ae.BRACE_L,this.parseSelection,Ae.BRACE_R)})}parseSelection(){return this.peek(Ae.SPREAD)?this.parseFragment():this.parseField()}parseField(){const i=this._lexer.token,c=this.parseName();let s,h;return this.expectOptionalToken(Ae.COLON)?(s=c,h=this.parseName()):h=c,this.node(i,{kind:dt.FIELD,alias:s,name:h,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Ae.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(i){const c=i?this.parseConstArgument:this.parseArgument;return this.optionalMany(Ae.PAREN_L,c,Ae.PAREN_R)}parseArgument(i=!1){const c=this._lexer.token,s=this.parseName();return this.expectToken(Ae.COLON),this.node(c,{kind:dt.ARGUMENT,name:s,value:this.parseValueLiteral(i)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const i=this._lexer.token;this.expectToken(Ae.SPREAD);const c=this.expectOptionalKeyword("on");return!c&&this.peek(Ae.NAME)?this.node(i,{kind:dt.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(i,{kind:dt.INLINE_FRAGMENT,typeCondition:c?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const i=this._lexer.token,c=this.parseDescription();return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(i,{kind:dt.FRAGMENT_DEFINITION,description:c,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(i,{kind:dt.FRAGMENT_DEFINITION,description:c,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(i){const c=this._lexer.token;switch(c.kind){case Ae.BRACKET_L:return this.parseList(i);case Ae.BRACE_L:return this.parseObject(i);case Ae.INT:return this.advanceLexer(),this.node(c,{kind:dt.INT,value:c.value});case Ae.FLOAT:return this.advanceLexer(),this.node(c,{kind:dt.FLOAT,value:c.value});case Ae.STRING:case Ae.BLOCK_STRING:return this.parseStringLiteral();case Ae.NAME:switch(this.advanceLexer(),c.value){case"true":return this.node(c,{kind:dt.BOOLEAN,value:!0});case"false":return this.node(c,{kind:dt.BOOLEAN,value:!1});case"null":return this.node(c,{kind:dt.NULL});default:return this.node(c,{kind:dt.ENUM,value:c.value})}case Ae.DOLLAR:if(i)if(this.expectToken(Ae.DOLLAR),this._lexer.token.kind===Ae.NAME){const s=this._lexer.token.value;throw Ga(this._lexer.source,c.start,`Unexpected variable "$${s}" in constant value.`)}else throw this.unexpected(c);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const i=this._lexer.token;return this.advanceLexer(),this.node(i,{kind:dt.STRING,value:i.value,block:i.kind===Ae.BLOCK_STRING})}parseList(i){const c=()=>this.parseValueLiteral(i);return this.node(this._lexer.token,{kind:dt.LIST,values:this.any(Ae.BRACKET_L,c,Ae.BRACKET_R)})}parseObject(i){const c=()=>this.parseObjectField(i);return this.node(this._lexer.token,{kind:dt.OBJECT,fields:this.any(Ae.BRACE_L,c,Ae.BRACE_R)})}parseObjectField(i){const c=this._lexer.token,s=this.parseName();return this.expectToken(Ae.COLON),this.node(c,{kind:dt.OBJECT_FIELD,name:s,value:this.parseValueLiteral(i)})}parseDirectives(i){const c=[];for(;this.peek(Ae.AT);)c.push(this.parseDirective(i));return c}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(i){const c=this._lexer.token;return this.expectToken(Ae.AT),this.node(c,{kind:dt.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(i)})}parseTypeReference(){const i=this._lexer.token;let c;if(this.expectOptionalToken(Ae.BRACKET_L)){const s=this.parseTypeReference();this.expectToken(Ae.BRACKET_R),c=this.node(i,{kind:dt.LIST_TYPE,type:s})}else c=this.parseNamedType();return this.expectOptionalToken(Ae.BANG)?this.node(i,{kind:dt.NON_NULL_TYPE,type:c}):c}parseNamedType(){return this.node(this._lexer.token,{kind:dt.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(Ae.STRING)||this.peek(Ae.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const i=this._lexer.token,c=this.parseDescription();this.expectKeyword("schema");const s=this.parseConstDirectives(),h=this.many(Ae.BRACE_L,this.parseOperationTypeDefinition,Ae.BRACE_R);return this.node(i,{kind:dt.SCHEMA_DEFINITION,description:c,directives:s,operationTypes:h})}parseOperationTypeDefinition(){const i=this._lexer.token,c=this.parseOperationType();this.expectToken(Ae.COLON);const s=this.parseNamedType();return this.node(i,{kind:dt.OPERATION_TYPE_DEFINITION,operation:c,type:s})}parseScalarTypeDefinition(){const i=this._lexer.token,c=this.parseDescription();this.expectKeyword("scalar");const s=this.parseName(),h=this.parseConstDirectives();return this.node(i,{kind:dt.SCALAR_TYPE_DEFINITION,description:c,name:s,directives:h})}parseObjectTypeDefinition(){const i=this._lexer.token,c=this.parseDescription();this.expectKeyword("type");const s=this.parseName(),h=this.parseImplementsInterfaces(),p=this.parseConstDirectives(),y=this.parseFieldsDefinition();return this.node(i,{kind:dt.OBJECT_TYPE_DEFINITION,description:c,name:s,interfaces:h,directives:p,fields:y})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Ae.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(Ae.BRACE_L,this.parseFieldDefinition,Ae.BRACE_R)}parseFieldDefinition(){const i=this._lexer.token,c=this.parseDescription(),s=this.parseName(),h=this.parseArgumentDefs();this.expectToken(Ae.COLON);const p=this.parseTypeReference(),y=this.parseConstDirectives();return this.node(i,{kind:dt.FIELD_DEFINITION,description:c,name:s,arguments:h,type:p,directives:y})}parseArgumentDefs(){return this.optionalMany(Ae.PAREN_L,this.parseInputValueDef,Ae.PAREN_R)}parseInputValueDef(){const i=this._lexer.token,c=this.parseDescription(),s=this.parseName();this.expectToken(Ae.COLON);const h=this.parseTypeReference();let p;this.expectOptionalToken(Ae.EQUALS)&&(p=this.parseConstValueLiteral());const y=this.parseConstDirectives();return this.node(i,{kind:dt.INPUT_VALUE_DEFINITION,description:c,name:s,type:h,defaultValue:p,directives:y})}parseInterfaceTypeDefinition(){const i=this._lexer.token,c=this.parseDescription();this.expectKeyword("interface");const s=this.parseName(),h=this.parseImplementsInterfaces(),p=this.parseConstDirectives(),y=this.parseFieldsDefinition();return this.node(i,{kind:dt.INTERFACE_TYPE_DEFINITION,description:c,name:s,interfaces:h,directives:p,fields:y})}parseUnionTypeDefinition(){const i=this._lexer.token,c=this.parseDescription();this.expectKeyword("union");const s=this.parseName(),h=this.parseConstDirectives(),p=this.parseUnionMemberTypes();return this.node(i,{kind:dt.UNION_TYPE_DEFINITION,description:c,name:s,directives:h,types:p})}parseUnionMemberTypes(){return this.expectOptionalToken(Ae.EQUALS)?this.delimitedMany(Ae.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const i=this._lexer.token,c=this.parseDescription();this.expectKeyword("enum");const s=this.parseName(),h=this.parseConstDirectives(),p=this.parseEnumValuesDefinition();return this.node(i,{kind:dt.ENUM_TYPE_DEFINITION,description:c,name:s,directives:h,values:p})}parseEnumValuesDefinition(){return this.optionalMany(Ae.BRACE_L,this.parseEnumValueDefinition,Ae.BRACE_R)}parseEnumValueDefinition(){const i=this._lexer.token,c=this.parseDescription(),s=this.parseEnumValueName(),h=this.parseConstDirectives();return this.node(i,{kind:dt.ENUM_VALUE_DEFINITION,description:c,name:s,directives:h})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw Ga(this._lexer.source,this._lexer.token.start,`${qb(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const i=this._lexer.token,c=this.parseDescription();this.expectKeyword("input");const s=this.parseName(),h=this.parseConstDirectives(),p=this.parseInputFieldsDefinition();return this.node(i,{kind:dt.INPUT_OBJECT_TYPE_DEFINITION,description:c,name:s,directives:h,fields:p})}parseInputFieldsDefinition(){return this.optionalMany(Ae.BRACE_L,this.parseInputValueDef,Ae.BRACE_R)}parseTypeSystemExtension(){const i=this._lexer.lookahead();if(i.kind===Ae.NAME)switch(i.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(i)}parseSchemaExtension(){const i=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const c=this.parseConstDirectives(),s=this.optionalMany(Ae.BRACE_L,this.parseOperationTypeDefinition,Ae.BRACE_R);if(c.length===0&&s.length===0)throw this.unexpected();return this.node(i,{kind:dt.SCHEMA_EXTENSION,directives:c,operationTypes:s})}parseScalarTypeExtension(){const i=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const c=this.parseName(),s=this.parseConstDirectives();if(s.length===0)throw this.unexpected();return this.node(i,{kind:dt.SCALAR_TYPE_EXTENSION,name:c,directives:s})}parseObjectTypeExtension(){const i=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const c=this.parseName(),s=this.parseImplementsInterfaces(),h=this.parseConstDirectives(),p=this.parseFieldsDefinition();if(s.length===0&&h.length===0&&p.length===0)throw this.unexpected();return this.node(i,{kind:dt.OBJECT_TYPE_EXTENSION,name:c,interfaces:s,directives:h,fields:p})}parseInterfaceTypeExtension(){const i=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const c=this.parseName(),s=this.parseImplementsInterfaces(),h=this.parseConstDirectives(),p=this.parseFieldsDefinition();if(s.length===0&&h.length===0&&p.length===0)throw this.unexpected();return this.node(i,{kind:dt.INTERFACE_TYPE_EXTENSION,name:c,interfaces:s,directives:h,fields:p})}parseUnionTypeExtension(){const i=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const c=this.parseName(),s=this.parseConstDirectives(),h=this.parseUnionMemberTypes();if(s.length===0&&h.length===0)throw this.unexpected();return this.node(i,{kind:dt.UNION_TYPE_EXTENSION,name:c,directives:s,types:h})}parseEnumTypeExtension(){const i=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const c=this.parseName(),s=this.parseConstDirectives(),h=this.parseEnumValuesDefinition();if(s.length===0&&h.length===0)throw this.unexpected();return this.node(i,{kind:dt.ENUM_TYPE_EXTENSION,name:c,directives:s,values:h})}parseInputObjectTypeExtension(){const i=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const c=this.parseName(),s=this.parseConstDirectives(),h=this.parseInputFieldsDefinition();if(s.length===0&&h.length===0)throw this.unexpected();return this.node(i,{kind:dt.INPUT_OBJECT_TYPE_EXTENSION,name:c,directives:s,fields:h})}parseDirectiveDefinition(){const i=this._lexer.token,c=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Ae.AT);const s=this.parseName(),h=this.parseArgumentDefs(),p=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const y=this.parseDirectiveLocations();return this.node(i,{kind:dt.DIRECTIVE_DEFINITION,description:c,name:s,arguments:h,repeatable:p,locations:y})}parseDirectiveLocations(){return this.delimitedMany(Ae.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const i=this._lexer.token,c=this.parseName();if(Object.prototype.hasOwnProperty.call(c_,c.value))return c;throw this.unexpected(i)}parseSchemaCoordinate(){const i=this._lexer.token,c=this.expectOptionalToken(Ae.AT),s=this.parseName();let h;!c&&this.expectOptionalToken(Ae.DOT)&&(h=this.parseName());let p;return(c||h)&&this.expectOptionalToken(Ae.PAREN_L)&&(p=this.parseName(),this.expectToken(Ae.COLON),this.expectToken(Ae.PAREN_R)),c?p?this.node(i,{kind:dt.DIRECTIVE_ARGUMENT_COORDINATE,name:s,argumentName:p}):this.node(i,{kind:dt.DIRECTIVE_COORDINATE,name:s}):h?p?this.node(i,{kind:dt.ARGUMENT_COORDINATE,name:s,fieldName:h,argumentName:p}):this.node(i,{kind:dt.MEMBER_COORDINATE,name:s,memberName:h}):this.node(i,{kind:dt.TYPE_COORDINATE,name:s})}node(i,c){return this._options.noLocation!==!0&&(c.loc=new RL(i,this._lexer.lastToken,this._lexer.source)),c}peek(i){return this._lexer.token.kind===i}expectToken(i){const c=this._lexer.token;if(c.kind===i)return this.advanceLexer(),c;throw Ga(this._lexer.source,c.start,`Expected ${TD(i)}, found ${qb(c)}.`)}expectOptionalToken(i){return this._lexer.token.kind===i?(this.advanceLexer(),!0):!1}expectKeyword(i){const c=this._lexer.token;if(c.kind===Ae.NAME&&c.value===i)this.advanceLexer();else throw Ga(this._lexer.source,c.start,`Expected "${i}", found ${qb(c)}.`)}expectOptionalKeyword(i){const c=this._lexer.token;return c.kind===Ae.NAME&&c.value===i?(this.advanceLexer(),!0):!1}unexpected(i){const c=i??this._lexer.token;return Ga(this._lexer.source,c.start,`Unexpected ${qb(c)}.`)}any(i,c,s){this.expectToken(i);const h=[];for(;!this.expectOptionalToken(s);)h.push(c.call(this));return h}optionalMany(i,c,s){if(this.expectOptionalToken(i)){const h=[];do h.push(c.call(this));while(!this.expectOptionalToken(s));return h}return[]}many(i,c,s){this.expectToken(i);const h=[];do h.push(c.call(this));while(!this.expectOptionalToken(s));return h}delimitedMany(i,c){this.expectOptionalToken(i);const s=[];do s.push(c.call(this));while(this.expectOptionalToken(i));return s}advanceLexer(){const{maxTokens:i}=this._options,c=this._lexer.advance();if(c.kind!==Ae.EOF&&(++this._tokenCounter,i!==void 0&&this._tokenCounter>i))throw Ga(this._lexer.source,c.start,`Document contains more that ${i} tokens. Parsing aborted.`)}}function qb(a){const i=a.value;return TD(a.kind)+(i!=null?` "${i}"`:"")}function TD(a){return jL(a)?`"${a}"`:a}const PL=async(a,i={},c={})=>{const{replaceUUID:s=!1,replaceID:h=!1,globalFetchParams:p={method:"POST",headers:{"Content-Type":"application/json"},cache:"no-cache",redirect:"manual"},overridenPath:y="/api/gql",ast:v=null}=c,T={...p.headers,...i.headers},E={...p,...i,headers:T};typeof E.body=="string"&&(s&&(E.body=E.body.replaceAll("UUID","ID")),h&&(E.body=E.body.replaceAll(": ID",": UUID")));let R=null,x=null;try{if(R=await fetch(y,E),R.type==="opaqueredirect")return console.log("fetch got opaque redirect"),{errors:[{stage:"redirect",msg:"Opaque redirect",status:302,original:R}]}}catch(A){return console.log("fetch got error ",A),{errors:[{stage:"fetch",msg:A.message,status:R.status,original:R}]}}try{x=await R.json()}catch(A){return{errors:[{stage:"json",msg:A.message,status:R.status,original:R}]}}return x},e6=(a,i)=>({query:a,variables:i}),t6=(a,i={})=>{var p;if(!a||typeof a!="string")throw new Error("Invalid query: must be a non-empty string.");const c=KL(a),s=c.definitions.find(y=>y.kind==="OperationDefinition"&&y.name),h=((p=s==null?void 0:s.name)==null?void 0:p.value)||null;return async y=>{const v={method:"POST",headers:{"Content-Type":"application/json"}},T=JSON.stringify(e6(a,y));try{return await PL("",{body:T,...v,...i},{ast:c,operationName:h})}catch(E){return console.error("createAsyncGraphQLAction: Error during async action execution",E),{errors:[{message:E.message,status:500}],data:null}}}},_D=(a,i)=>{const c=i.payload,s=c.id||crypto.randomUUID();return c.id||(c.id=s),a[s]=c,a},OD=(a,i)=>{const c=i.payload;return delete a[c.id],a},n6=vT({name:"items",initialState:{},reducers:{item_add:_D,item_update:(a,i)=>{const c=i.payload,s=a[c.id];return a[c.id]={...s,...c},a},item_replace:(a,i)=>{const c=i.payload;return a[c.id]=c,a},item_delete:OD,item_updateAttributeScalar:(a,i)=>{const{item:c,scalarname:s}=i.payload,h=a[c.id],p=c[s];return h[s]={...h[s],...p},p!=null&&p.__typename&&(a[p.id]={...a[p.id],...p}),a},item_updateAttributeVector:(a,i)=>{const{item:c,vectorname:s}=i.payload;if(!a[c.id])console.log("UpdateSubVector, item not found, setting directly",c),a[c.id]={...c};else{const p=a[c.id],y=s in p?p[s]:[],v={};for(let T of y)v[T.id]=T;for(let T of c[s]){T!=null&&T.__typename&&(a[T.id]={...a[T.id],...T});const E=v[T.id]||{};v[T.id]={...E,...T}}p[s]=Object.values(v)}return a}}}).actions;vT({name:"msgs",initialState:{},reducers:{msg_add:_D,msg_delete:OD}});function xD(a,i=1/0){return async function(s,h){function p(y,v){v>i||y&&typeof y=="object"&&("__typename"in y&&s(n6.item_update(y)),Object.values(y).forEach(T=>{T&&typeof T=="object"&&(Array.isArray(T)?T.forEach(E=>p(E,v+1)):p(T,v+1))}))}p(a,0)}}const a6=(a=1/0)=>{let i=a;const c=s=>async(h,p,y=v=>v)=>{const v=s==null?void 0:s.data;if(!v)return console.warn("GQLQueryAfterFetch: No data found in jsonResult",s),y(s);let T=v==null?void 0:v.result;if(!T&&Object.keys(v).length===1){const E=Object.keys(v)[0];T=v[E]}return T?Array.isArray(T)?T.forEach(E=>h(xD(E,i))):h(xD(T,i)):Object.keys(v).length===1?console.warn("GQLQueryAfterFetch: result is null",s):console.warn("GQLQueryAfterFetch: No valid result found in data",s),y(s)};return typeof a=="object"&&a!==null?(i=1,c(a)):c};class l6 extends Error{constructor(i,c,s,h){super(i),this.name="GQLMutationError",this.jsonResponse=h,this.graphQLQuery=c,this.graphQLParameters=s}}const f_=(a,i=a6,...c)=>{var y,v;let s=a;if(typeof a=="function"&&(s=(y=a==null?void 0:a.__metadata)==null?void 0:y.queryStr,(v=a==null?void 0:a.__metadata)==null||v.nodes,a=a()),typeof a!="string")throw new Error("createAsyncGraphQLAction: 'query' must be a string.");r6(a)||(console.error("query does not have __typename this can lead to improper error catching"),console.error(a)),c.forEach((T,E)=>{if(typeof T!="function")throw new Error(`createAsyncGraphQLAction: Middleware at index ${E} is not a function.`)}),typeof i=="function"&&(c=[i,...c],i={});const h=t6(a,i),p=T=>{if(typeof T!="object"||T===null)throw new Error(`createAsyncGraphQLAction: 'graphQLVariables' must be a valid JSON object.
515
+ ${T}`);return async(E,R,x=A=>A)=>{var A;try{const D=await h(T);if(D.errors&&Array.isArray(D.errors)){console.error("createAsyncGraphQLAction: Server returned errors.",D.errors),E({type:"ASYNC_GRAPHQL_ACTION_SERVER_ERROR",payload:D.errors});const q=new Error("Server returned errors in GraphQL response.");return q.details=D.errors,Promise.reject(q)}const N=D==null?void 0:D.data,H=Object.values(N);if(H.length>0){const q=(A=H[0])==null?void 0:A.__typename;if(q!=null&&q.includes("Error"))return Promise.reject(new l6("Controlled fail from server ",a,T,D))}return c.reduceRight((q,I)=>async F=>I(F)(E,R,q),x)(D)}catch(D){throw console.error("createAsyncGraphQLAction: Error during async action execution",D),E({type:"ASYNC_GRAPHQL_ACTION_GENERAL_ERROR",payload:D.message}),D}}};return p.__metadata={queryStr:s},p},r6=a=>a.includes("__typename"),ya=(a,...i)=>{const c=(h,p)=>{if(!h||typeof h!="function"&&typeof h!="object")return"";const y=h.__metadata;if(!y||typeof y.queryStr!="string"||p.has(h))return"";p.add(h);const T=(Array.isArray(y.nodes)?y.nodes:[]).map(R=>c(R,p)).filter(Boolean);return[y.queryStr,...T].filter(Boolean).join(`
516
+ `)},s=()=>c(s,new WeakSet);return s.__metadata={queryStr:a,nodes:i},s},i6=({children:a,...i})=>_.jsx(Db,{xl:3,md:12,...i,children:a}),o6={capsuleRightCorner:{position:"absolute",top:"-14px",right:"16px",backgroundColor:"white",padding:"0 8px",fontSize:"0.85rem",fontWeight:"bold",color:"#6c757d"}},Fh=({children:a})=>_.jsx("span",{style:o6.capsuleRightCorner,children:a}),RD=(a=300)=>{let i=null,c=!1;return s=>{if(typeof s!="function")throw new Error("Delayed function must be a valid function.");return c&&(clearTimeout(i),i=null,c=!1),new Promise((h,p)=>{const y=()=>{i=null,c=!1;try{const v=s();h(v)}catch(v){p(v)}};c=!0,i=setTimeout(y,a)})}},u6=({className:a,className1:i="btn btn-sm btn-warning",className2:c="btn btn-sm btn-danger",children:s,onClick:h})=>{const[p,y]=w.useState(!1),v=w.useCallback(()=>y(!1),[]),T=w.useCallback(()=>y(!0),[]);return _.jsxs(_.Fragment,{children:[_.jsx("button",{className:a||i,onClick:p?v:T,children:s}),p&&_.jsx("button",{className:c,onClick:h,children:s})]})},c6=({errors:a="DEMO ERROR",show:i=!0})=>{var y,v,T,E,R;const[c,s]=w.useState(i);let h;const p=()=>{s(x=>!1)};console.log("ErrorHandler",a);try{h=Array.isArray(a)?a:JSON.parse(a)}catch{h=[{message:"Unparsable error",raw:a}]}return c?((v=(y=a==null?void 0:a.details)==null?void 0:y[0])==null?void 0:v.status)===302?_.jsxs(Zl,{show:i,onHide:p,centered:!0,backdrop:"static",size:"xl","aria-labelledby":"error-handler-title",children:[_.jsx(Zl.Header,{closeButton:!0,children:_.jsx(Zl.Title,{id:"error-handler-title",children:"Chyba"})}),_.jsxs(Zl.Body,{children:[((T=a==null?void 0:a.details[0])==null?void 0:T.status)===302&&_.jsx("span",{children:"Nejste přihlášeni"}),_.jsx("br",{})]}),_.jsx(Zl.Footer,{children:_.jsx("button",{className:"btn btn-primary",onClick:p,children:"Zavřít"})})]}):_.jsxs(Zl,{show:i,onHide:p,centered:!0,backdrop:"static",size:"xl","aria-labelledby":"error-handler-title",children:[_.jsx(Zl.Header,{closeButton:!0,children:_.jsx(Zl.Title,{id:"error-handler-title",children:"Chyba"})}),_.jsxs(Zl.Body,{children:[(a==null?void 0:a.name)==="GQLMutationError"&&_.jsx(s6,{error:a,onClose:p}),(a==null?void 0:a.name)!=="GQLMutationError"&&_.jsx(p6,{errors:h,onClose:p}),_.jsx("pre",{children:JSON.stringify(a,null,4)}),((R=(E=a==null?void 0:a.details)==null?void 0:E[0])==null?void 0:R.status)===302&&_.jsx("span",{children:"Nejste přihlášeni"})]}),_.jsx(Zl.Footer,{children:_.jsx("button",{className:"btn btn-primary",onClick:p,children:"Zavřít"})})]}):null},s6=({error:a,onClose:i})=>{var A;const{jsonResponse:c,graphQLQuery:s,graphQLParameters:h}=a,p=Object.keys((c==null?void 0:c.data)||{})[0],y=(A=c==null?void 0:c.data)==null?void 0:A[p],v=(y==null?void 0:y.input)||{},T=(y==null?void 0:y.Entity)||{},E={},R={},x={};return v&&typeof v=="object"&&Object.keys(v).forEach(D=>{h!=null&&h.hasOwnProperty(D)&&(E[D]=h[D]),T!=null&&T.hasOwnProperty(D)&&(R[D]=T[D])}),Object.keys(T).forEach(D=>{D.startsWith("created")&&(x[D]=T[D]),D.startsWith("changed")&&(x[D]=T[D])}),a.name!=="GQLMutationError"?null:E.lastchange?E.lastchange!==R.lastchange?_.jsx(d6,{error:a,extractedInputParameters:E,extractedOutputParameters:R,createdFields:x,onClose:i}):_.jsxs("div",{children:[_.jsx("h5",{children:"GraphQL Mutation Error"}),_.jsx("p",{children:_.jsx("strong",{children:"Query:"})}),_.jsx("pre",{children:JSON.stringify(E,null,2)}),_.jsx("pre",{children:JSON.stringify(R,null,2)}),_.jsx("p",{children:_.jsx("strong",{children:"Parameters:"})}),_.jsx("pre",{children:JSON.stringify(a.graphQLParameters,null,2)}),_.jsx("p",{children:_.jsx("strong",{children:"Response:"})}),_.jsx("pre",{children:JSON.stringify(a.jsonResponse,null,2)})]}):_.jsxs(f6,{error:a,messageToDisplay:"Chybí časové razítko, toto je chyba v programu.",onClose:i,children:[_.jsx("p",{children:_.jsx("strong",{children:"Query:"})}),_.jsx("pre",{children:s})]})},f6=({error:a,messageToDisplay:i,children:c})=>_.jsxs("div",{children:[_.jsx("h5",{children:"Chyba"}),_.jsx("p",{children:_.jsx("strong",{children:i})}),c]}),d6=({error:a,extractedInputParameters:i,extractedOutputParameters:c,createdFields:s})=>{const h=F1(),p=s==null?void 0:s.changedby,y={...i,lastchange:c.lastchange},v=f_(a.graphQLQuery);let T;const E=async()=>{try{await h(v(y)),T=""}catch(R){T=JSON.stringify(R,null,2)}};return _.jsxs("div",{children:[_.jsx("h5",{children:"Chyba časového razítka"}),_.jsx("p",{children:"Odeslané časové razítko neodpovídá časovému razítku na serveru. Toto nastává v případě, když někdo jiný data změnil."}),!p&&_.jsx("p",{children:"Není dostupná informace o tom, kdo změnu provedl, toto je chyba. Poznamenejte si, jak jste k této chybě dospěli a nahlaste ji."}),p&&_.jsxs("div",{children:["Změnu provedl uživatel  ",_.jsx("span",{className:"btn btn-sm btn-outline-secondary",children:_.jsx("a",{href:`email:${p==null?void 0:p.email}`,children:p==null?void 0:p.email})})," (link do jiné záložky)"]}),_.jsx("hr",{}),_.jsx("p",{children:_.jsx("strong",{children:"Odeslaná data:"})}),_.jsx("pre",{children:JSON.stringify(i,null,2)}),_.jsx("p",{children:_.jsx("strong",{children:"Data na serveru:"})}),_.jsx("pre",{children:JSON.stringify(c,null,2)}),_.jsx("hr",{}),!T&&_.jsx(u6,{onClick:E,children:"Přepsat data na serveru hrubou silou"}),T===""&&_.jsx("p",{children:"Přepsání se povedlo"}),T&&T!==""&&_.jsxs("p",{children:["Při přepisu nastala další chyba",_.jsx("pre",{children:T})]}),_.jsx("hr",{})]})},h6=({extensions:a})=>{var i;return a?_.jsxs("div",{style:{marginTop:"10px",padding:"10px",border:"1px solid lightgray",background:"#f9f9f9"},children:[a.serviceName&&_.jsxs("p",{children:[_.jsx("strong",{children:"Service:"})," ",a.serviceName]}),a.code&&_.jsxs("p",{children:[_.jsx("strong",{children:"Code:"})," ",a.code]}),((i=a.exception)==null?void 0:i.msg)&&_.jsxs("div",{children:[_.jsx("strong",{children:"Exception Message:"}),_.jsx("pre",{children:a.exception.msg})]}),a.msg_e&&_.jsxs("div",{children:[_.jsx("strong",{children:"Details:"}),_.jsx("pre",{children:a.msg_e.join(`
517
+ `)})]}),a.stacktrace&&_.jsxs("details",{children:[_.jsx("summary",{children:_.jsx("strong",{children:"Stacktrace"})}),_.jsx("pre",{children:a.stacktrace.join(`
518
+ `)})]})]}):null},p6=({errors:a})=>Array.isArray(a)?_.jsxs("div",{children:['A"',JSON.stringify(a),'"Z',_.jsx("br",{}),'A"',JSON.stringify(a[0].raw),'"Z',a.map((i,c)=>{var s;return _.jsxs("div",{style:{border:"1px solid red",marginBottom:"10px",padding:"10px"},children:[_.jsxs("h4",{children:["Error ",c+1]}),_.jsxs("p",{children:[_.jsx("strong",{children:"Message:"})," ",i.message]}),i.path&&_.jsxs("p",{children:[_.jsx("strong",{children:"Path:"})," ",i.path.join(" > ")]}),_.jsx(h6,{extensions:i.extensions}),(i==null?void 0:i.raw)&&JSON.stringify(i.raw),JSON.stringify(i),((s=i==null?void 0:i.raw)==null?void 0:s.toString)&&JSON.stringify(i.raw.toString())]},c)})]}):_.jsx("p",{children:"No errors to display."}),m6=({text:a="Nahrávám..."})=>kf.createPortal(_.jsxs("div",{style:y6,children:[_.jsxs("div",{style:g6,children:[_.jsx("div",{style:v6}),_.jsx("span",{style:b6,children:a})]}),_.jsx("style",{children:`
519
+ @keyframes spin {
520
+ to {
521
+ transform: rotate(360deg);
522
+ }
523
+ }
524
+ `})]}),document.body),y6={position:"fixed",top:0,left:"50%",transform:"translateX(-50%)",width:"30vw",height:"20vh",display:"flex",justifyContent:"center",alignItems:"center",zIndex:9999},g6={display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},v6={width:"60px",height:"60px",border:"6px solid rgba(0, 0, 0, 0.2)",borderTopColor:"#007bff",borderRadius:"50%",animation:"spin 1s infinite linear",marginBottom:"15px"},b6={fontSize:"1.5rem",fontWeight:"bold",color:"#555"};var E6=["color","size","title","className"];function d_(){return d_=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var c=arguments[i];for(var s in c)({}).hasOwnProperty.call(c,s)&&(a[s]=c[s])}return a},d_.apply(null,arguments)}function S6(a,i){if(a==null)return{};var c,s,h=T6(a,i);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(a);for(s=0;s<p.length;s++)c=p[s],i.includes(c)||{}.propertyIsEnumerable.call(a,c)&&(h[c]=a[c])}return h}function T6(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.includes(s))continue;c[s]=a[s]}return c}var h_=w.forwardRef(function(a,i){var c=a.color,s=c===void 0?"currentColor":c,h=a.size,p=h===void 0?"1em":h,y=a.title,v=y===void 0?null:y,T=a.className,E=T===void 0?"":T,R=S6(a,E6);return sl.createElement("svg",d_({ref:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:p,height:p,fill:s,className:["bi","bi-lock",E].filter(Boolean).join(" ")},R),v?sl.createElement("title",null,v):null,sl.createElement("path",{d:"M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2m3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2M5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1"}))});h_.propTypes={color:ft.string,size:ft.oneOfType([ft.string,ft.number]),title:ft.string,className:ft.string};var _6=["color","size","title","className"];function p_(){return p_=Object.assign?Object.assign.bind():function(a){for(var i=1;i<arguments.length;i++){var c=arguments[i];for(var s in c)({}).hasOwnProperty.call(c,s)&&(a[s]=c[s])}return a},p_.apply(null,arguments)}function O6(a,i){if(a==null)return{};var c,s,h=x6(a,i);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(a);for(s=0;s<p.length;s++)c=p[s],i.includes(c)||{}.propertyIsEnumerable.call(a,c)&&(h[c]=a[c])}return h}function x6(a,i){if(a==null)return{};var c={};for(var s in a)if({}.hasOwnProperty.call(a,s)){if(i.includes(s))continue;c[s]=a[s]}return c}var AD=w.forwardRef(function(a,i){var c=a.color,s=c===void 0?"currentColor":c,h=a.size,p=h===void 0?"1em":h,y=a.title,v=y===void 0?null:y,T=a.className,E=T===void 0?"":T,R=O6(a,_6);return sl.createElement("svg",p_({ref:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:p,height:p,fill:s,className:["bi","bi-person-fill",E].filter(Boolean).join(" ")},R),v?sl.createElement("title",null,v):null,sl.createElement("path",{d:"M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6"}))});AD.propTypes={color:ft.string,size:ft.oneOfType([ft.string,ft.number]),title:ft.string,className:ft.string},f_(`
525
+ {
526
+ result: me {
527
+ __typename
528
+ isThisMe
529
+ id
530
+ name
531
+ surname
532
+ fullname
533
+ email
534
+ roles {
535
+ id
536
+ group {
537
+ id
538
+ name
539
+ }
540
+ userId
541
+ roletype {
542
+ id
543
+ name
544
+ }
545
+ }
546
+ }
547
+ }`),f_(`
548
+ query StateReadQuery($id: UUID!) {
549
+ stateById(id: $id) {
550
+ __typename
551
+ id
552
+ readers: roletypes(access: READ) {
553
+ __typename
554
+ id
555
+ name
556
+ }
557
+ writers: roletypes(access: WRITE) {
558
+ __typename
559
+ id
560
+ name
561
+ }
562
+ }
563
+ }`);const R6=({children:a,...i})=>_.jsx(Db,{xl:9,md:12,...i,children:a}),A6=`
564
+ fragment Link on RoleTypeGQLModel {
565
+ __typename
566
+ id
567
+ lastchange
568
+ created
569
+ createdbyId
570
+ changedbyId
571
+ rbacobjectId
572
+ name
573
+ nameEn
574
+ path
575
+ mastertypeId
576
+ mastertype {
577
+ __typename
578
+ }
579
+
580
+ }
581
+ `,C6=`
582
+ fragment Medium on RoleTypeGQLModel {
583
+ ...Link
584
+ rbacobject {
585
+ ...RBRoles
586
+ }
587
+ }
588
+ `,D6=`
589
+ fragment Large on RoleTypeGQLModel {
590
+ ...Medium
591
+ subtypes {
592
+ __typename
593
+ }
594
+ }
595
+ `,w6=`
596
+ fragment Role on RoleGQLModel {
597
+ __typename
598
+ id
599
+ lastchange
600
+ created
601
+ createdbyId
602
+ changedbyId
603
+ rbacobjectId
604
+ createdby { id __typename }
605
+ changedby { id __typename }
606
+ rbacobject { id __typename }
607
+ valid
608
+ deputy
609
+ startdate
610
+ enddate
611
+ roletypeId
612
+ userId
613
+ groupId
614
+ roletype { __typename id name }
615
+ user { __typename id fullname }
616
+ group { __typename id name }
617
+ }
618
+ `,M6=`
619
+ fragment RBRoles on RBACObjectGQLModel {
620
+ __typename
621
+ id
622
+ currentUserRoles {
623
+ __typename
624
+ id
625
+ lastchange
626
+ valid
627
+ startdate
628
+ enddate
629
+ roletype {
630
+ __typename
631
+ id
632
+ name
633
+ }
634
+ group {
635
+ __typename
636
+ id
637
+ name
638
+ grouptype {
639
+ __typename
640
+ id
641
+ name
642
+ }
643
+ }
644
+ }
645
+ }`;ya(`${w6}`);const N6=ya(`${M6}`),j6=ya(`${A6}`),CD=ya(`${C6}`,j6,N6),ky=ya(`${D6}`,CD),z6=ya(`
646
+ mutation roleTypeInsert(
647
+ $mastertypeId: UUID # null,
648
+ $id: UUID # null,
649
+ $name: String # null,
650
+ $nameEn: String # null,
651
+ $subtypes: [RoleTypeInsertGQLModel!] # null
652
+ ) {
653
+ roleTypeInsert(
654
+ roleType: {
655
+ mastertypeId: $mastertypeId,
656
+ id: $id,
657
+ name: $name,
658
+ nameEn: $nameEn,
659
+ subtypes: $subtypes}
660
+ ) {
661
+ ... on InsertError { ...InsertError }
662
+ ... on RoleTypeGQLModel { ...Large }
663
+ }
664
+ }
665
+
666
+
667
+ fragment InsertError on InsertError {
668
+ __typename
669
+ msg
670
+ failed
671
+ code
672
+ location
673
+ input
674
+
675
+ }
676
+ `,ky),m_=Il(z6),U6=ya(`
677
+ mutation roleTypeUpdate(
678
+ $id: UUID! # null,
679
+ $lastchange: DateTime! # null,
680
+ $name: String # null,
681
+ $nameEn: String # null
682
+ ) {
683
+ roleTypeUpdate(
684
+ roleType: {
685
+ id: $id,
686
+ lastchange: $lastchange,
687
+ name: $name,
688
+ nameEn: $nameEn}
689
+ ) {
690
+ ... on RoleTypeGQLModel { ...Large }
691
+ ... on RoleTypeGQLModelUpdateError { ...Error }
692
+ }
693
+ }
694
+
695
+ fragment Error on RoleTypeGQLModelUpdateError {
696
+ __typename
697
+ Entity {
698
+ ...Large
699
+ }
700
+ msg
701
+ failed
702
+ code
703
+ location
704
+ input
705
+ }
706
+ `,ky),Yb=Il(U6,jA,_T),L6=ya(`
707
+ mutation roleTypeDelete(
708
+ $id: UUID! # null,
709
+ $lastchange: DateTime! # null
710
+ ) {
711
+ roleTypeDelete(
712
+ roleType: {
713
+ id: $id,
714
+ lastchange: $lastchange}
715
+ ) {
716
+ ...RoleTypeGQLModelDeleteError
717
+ }
718
+ }
719
+
720
+ fragment RoleTypeGQLModelDeleteError on RoleTypeGQLModelDeleteError {
721
+ __typename
722
+ Entity {
723
+ ...Large
724
+ }
725
+ msg
726
+ code
727
+ failed
728
+ location
729
+ input
730
+ }
731
+ `,ky),y_=Il(L6),B6=ya(`
732
+ query roleTypeById($id: UUID!) {
733
+ roleTypeById(id: $id) {
734
+ ...Large
735
+ }
736
+ }
737
+ `,ky),H6=Il(B6),V6=ya(`
738
+ query roleTypePage($skip: Int, $limit: Int, $orderby: String, $where: RoleTypeInputWhereFilter) {
739
+ roleTypePage(skip: $skip, limit: $limit, orderby: $orderby, where: $where) {
740
+ ...Medium
741
+ }
742
+ }
743
+ `,CD);Il(V6);const q6=ya(`
744
+ query SearchQuery($skip: Int, $limit: Int, $pattern: String) {
745
+ result: userPage(skip: $skip, limit: $limit, where: {name: {_ilike: $pattern}}) {
746
+ ...Large
747
+ }
748
+ }
749
+ `,ky),Y6=Il(q6,_T),DD=({tools:a,children:i,...c})=>_.jsxs(nu,{...c,children:[a,i]}),So=({label:a,ariaHidden:i=!1,children:c,...s})=>{const{id:h,value:p,defaultValue:y,onChange:v=()=>null,onBlur:T=()=>null,type:E="text",reset:R=0,...x}=s,A=p!==void 0,D=w.useRef(!1),N=ae=>{if(E==="number"){if(ae===""||ae==null)return"";const V=Number(ae);return Number.isNaN(V)?"":V}return ae??""},[H,L]=w.useState(()=>N(p));w.useEffect(()=>{A&&(D.current=!1,L(p))},[A,p,R]);const q=w.useMemo(()=>A?N(p):void 0,[A,p,E]);w.useEffect(()=>{A&&(D.current=!1)},[q,A]);const I=ae=>V=>{const Se=N(V.target.value);ae({target:{id:h,value:Se}})},F=ae=>{var Se;D.current=!0;const V=(Se=ae==null?void 0:ae.target)==null?void 0:Se.value;L(V),I(v)(ae)},W=ae=>{D.current&&I(T)(ae)};if(i)return null;const Y={id:h,type:E,onChange:F,onBlur:W,...x};A?Y.value=N(H):Y.defaultValue=N(y),p!==H&&(Y.className=(Y.className?Y.className+" ":"")+"bg-warning");const ne=_.jsx("input",{...Y});return a?_.jsxs(DD,{title:a,children:[ne,c]}):ne},au=({error:a,loading:i,text:c,children:s})=>_.jsxs(_.Fragment,{children:[a&&_.jsx(c6,{errors:a}),i&&_.jsx(m6,{text:c})]}),k6=({id:a,asyncAction:i,value:c,onSelect:s=E=>{},onChange:h=null,skip:p=0,limit:y=10,label:v,...T})=>{if(typeof i!="function")throw Error("EntityLookup.asyncAction must be function - dispatchable async action creator");const[E]=w.useState(()=>RD()),{run:R,loading:x,error:A}=lD(i,{},{deferred:!0}),[D,N]=w.useState([]),H=Sb(),[L,q]=w.useState(c);w.useEffect(()=>{console.log("EntityLookup.useEffect",c),q(c)},[c]);const I=w.useCallback(async Y=>{const ne=(Y==null?void 0:Y.target)||{},ae=(ne==null?void 0:ne.value)||"";if((ne==null?void 0:ne.value)===""&&h&&h({target:{id:a,value:null}}),ae.length<3)return;const V=await E(async()=>await R({pattern:"%"+ae+"%"},H));if(!Array.isArray(V))throw Error("EntityLookup.searchresult doest not return array, check EntityLookup.asyncAction");N(Se=>V)},[i,p,y]),F=w.useCallback(Y=>{q(V=>Y||V),h&&(h({target:{id:a,value:Y==null?void 0:Y.id}}),N(()=>[]));const ne=s(Y)||{},{clear:ae=!0}=ne;ae&&N(()=>[])},[s,N]),W=_.jsxs(_.Fragment,{children:[_.jsx(So,{...T,id:"__phrase",onChange:I,placeholder:"Napište alespoň 3 znaky",value:(L==null?void 0:L.fullname)||(L==null?void 0:L.name),reset:L}),D.map(Y=>_.jsx(G6,{item:Y,onSelect:F},Y==null?void 0:Y.id))]});return v?_.jsxs(_.Fragment,{children:[_.jsx(au,{loading:x,error:A,text:"Hledám"}),_.jsx(DD,{title:v,children:W})]}):_.jsxs(_.Fragment,{children:[_.jsx(au,{loading:x,error:A,text:"Hledám"}),W]})},G6=({item:a,onSelect:i})=>{const c=(a==null?void 0:a.fullname)||(a==null?void 0:a.name)||(a==null?void 0:a.id)||"(Chyba v programu, dotaz nevraci jmena)";return _.jsx("button",{type:"button",className:"btn btn-outline-secondary",onClick:()=>i(a),style:{display:"block",width:"100%",textAlign:"left"},children:c})},kb=({item:a,onChange:i=h=>null,onBlur:c=h=>null,children:s})=>_.jsxs(_.Fragment,{children:[_.jsx(So,{id:"name",label:"Jméno",className:"form-control",value:(a==null?void 0:a.name)||"Jméno",onChange:i,onBlur:c}),_.jsx(k6,{id:"mastertypeId",label:"Nadřízený typ",className:"form-control",value:a==null?void 0:a.mastertype,asyncAction:Y6,onChange:i,onBlur:c}),s]}),$6=(a,i)=>{if(a===i)return!0;if(!a||!i)return!1;const c=Object.keys(a),s=Object.keys(i);if(c.length!==s.length)return!1;for(const h of c)if(a[h]!==i[h])return!1;return!0},g_=(a,i,c={})=>{const{mode:s="confirm",delayMs:h=600,mapDraftToVars:p,commitOnBlur:y=!0,onCommit:v=()=>null}=c;if(typeof a!="function")throw new Error("useEditAction: AsyncAction musí být funkce (thunk factory)");const{entity:T,run:E,loading:R,error:x,data:A}=a_(a,i,{deferred:!0,network:!0}),[D,N]=w.useState(i||{}),[H,L]=w.useState(i||{});w.useEffect(()=>{const Ne=i||{};N(Ne),L(Ne)},[T]);const q=w.useMemo(()=>!$6(H,D),[H,D]),I=w.useRef(null),F=()=>{I.current&&(clearTimeout(I.current),I.current=null)};w.useEffect(()=>()=>F(),[]);const W=w.useCallback(Ne=>typeof p=="function"?p(Ne,{entity:T,item:i}):Ne,[p,T,i]),Y=w.useCallback(async Ne=>{console.log("useEditAction commitNow",q,Ne);const xe=await E(W(Ne));return v(Ne,xe),xe},[E,W]),ne=w.useCallback(Ne=>{F(),I.current=setTimeout(()=>{Y(Ne).catch(()=>{})},h)},[Y,h]),ae=w.useCallback(Ne=>{var et,k;const xe=(et=Ne==null?void 0:Ne.target)==null?void 0:et.id,Ye=(k=Ne==null?void 0:Ne.target)==null?void 0:k.value;let $e;xe?$e={...H||{},[xe]:Ye}:Ye&&typeof Ye=="object"?$e=Ye:$e=H,L($e),s==="live"&&ne($e)},[H,s,ne]),V=w.useCallback(async()=>s!=="live"||!y||(F(),!q)?null:Y(H),[s,y,q,H,Y]),Se=w.useCallback(()=>{F(),L(D||{})},[D]),me=w.useCallback(async()=>(F(),q?Y(H):null),[q,H,Y]);return{entity:T,baseline:D,draft:H,setDraft:L,dirty:q,loading:R,error:x,data:A,onChange:ae,onBlur:V,onCancel:Se,onConfirm:me,run:E,commitNow:Y}},wD=w.createContext(null),Gy=()=>{const a=w.useContext(wD);if(a==null)throw new Error("useGQLEntityContext must be used within a GQLEntityProvider");return a},v_=({item:a,queryAsyncAction:i,options:c={deferred:!1,network:!0},onChange:s=()=>null,onBlur:h=()=>null,children:p})=>{var F;if(i==null)throw new Error("AsyncActionProvider: queryAsyncAction is required");const[y]=w.useState(((F=crypto==null?void 0:crypto.randomUUID)==null?void 0:F.call(crypto))??null),{run:v,error:T,loading:E,entity:R,data:x}=a_(i,a,c),[A]=w.useState(()=>RD()),[D,N]=w.useState(a||{}),H=w.useCallback(W=>async Y=>{var Se;const ne=(Se=Y==null?void 0:Y.target)==null?void 0:Se.value;N(me=>ne);const V={target:{value:await A(()=>v(ne))}};return await W(V)},[N,A,v]),L=w.useCallback(H(s),[H,s]),q=w.useCallback(H(h),[H,h]),I={loading:E,error:T,reRead:v,params:D,item:R,data:x,onChange:L,onBlur:q};return _.jsxs(wD.Provider,{value:I,children:[_.jsx(au,{error:T,loading:E}),p]})},Kh=({text:a,className:i="btn btn-sm btn-outline-secondary"})=>{const[c,s]=w.useState(!1),h=async()=>{try{await navigator.clipboard.writeText(a),s(!0),window.setTimeout(()=>s(!1),1200)}catch{const y=document.createElement("textarea");y.value=a,y.style.position="fixed",y.style.left="-9999px",document.body.appendChild(y),y.focus(),y.select(),document.execCommand("copy"),document.body.removeChild(y),s(!0),window.setTimeout(()=>s(!1),1200)}};return _.jsx("button",{type:"button",className:i,onClick:h,title:"Kopírovat",children:c?"Zkopírováno":"Kopírovat"})},Q6=({item:a,children:i,mutationAsyncAction:c=Yb,DefaultContent:s=kb})=>{const{loading:h,error:p,onChange:y,onBlur:v}=g_(c,a,{mode:"live"});return _.jsxs(s,{item:a,onChange:y,onBlur:v,children:[_.jsx(au,{loading:h,error:p,text:"Ukládám"}),i]})},X6=({item:a={},oneOfRoles:i=[],caseInsensitive:c=!1}={})=>{var v;const s=(v=a==null?void 0:a.rbacobject)==null?void 0:v.currentUserRoles,h=w.useMemo(()=>{const T=Array.isArray(s)?s:[],E=R=>{if(typeof R!="string")return"";const x=R.trim();return c?x.toLowerCase():x};return T.map(R=>{var x;return(x=R==null?void 0:R.roletype)==null?void 0:x.name}).map(E).filter(Boolean)},[s,c]),p=w.useMemo(()=>{if(!Array.isArray(s)||!Array.isArray(i)||i.length===0)return!1;const T=R=>{if(typeof R!="string")return"";const x=R.trim();return c?x.toLowerCase():x},E=new Set(h);return i.some(R=>E.has(T(R)))},[s,i,c,h]);return s==null&&console.error("Nelze posoudit práva, data nejsou k dispozici.",a),{can:p,roleNames:h,loading:!1,error:null}},Z6=({item:a,oneOfRoles:i=[],deniedFallback:c=null,children:s})=>{if(!a)throw Error("(Item)PermissionGate must have item property it is missing now");const{can:h,loading:p,error:y}=X6({item:a,oneOfRoles:i}),v={allowed:h,loading:p,error:y,oneOfRoles:i,item:a};return y?_.jsx($b.Provider,{value:v,children:_.jsx(au,{loading:p,error:y,text:"Ověřuji oprávnění"})}):_.jsx($b.Provider,{value:v,children:s})},Gb=new Map;function I6(a,i,c={}){const s=c.ttlMs??6e4,p=(c.now??(()=>Date.now()))(),y=Gb.get(a);if(y&&y.value!==void 0&&y.expiresAt>p)return Promise.resolve(y.value);if(y&&y.promise&&y.expiresAt>p)return y.promise;const v=p+s,T=Promise.resolve().then(i).then(E=>(Gb.set(a,{value:E,expiresAt:v}),E)).catch(E=>{throw Gb.delete(a),E});return Gb.set(a,{promise:T,expiresAt:v}),T}const J6=`
750
+ {
751
+ me {
752
+ roles(limit: 1000, where: {valid: {_eq: true}}) {
753
+ roletype {
754
+ __typename
755
+ id
756
+ name
757
+ }
758
+ user {
759
+ __typename
760
+ id
761
+ fullname
762
+ }
763
+ group {
764
+ __typename
765
+ id
766
+ name
767
+ }
768
+ }
769
+ }
770
+ }`;function F6({oneOfRoles:a=[],...i}){const c=Sb(),s=i.enabled??!0,h=i.ttlMs??6e4,p=i.cacheKey??"me.roles",y=w.useCallback(async()=>{var D,N;const R=await c.query(J6),A=(((N=(D=R==null?void 0:R.data)==null?void 0:D.me)==null?void 0:N.roles)??[]).map(H=>{var L;return(L=H==null?void 0:H.roletype)==null?void 0:L.name}).filter(Boolean);return Array.from(new Set(A))},[c]),[v,T]=w.useState(()=>({loading:!!s,allowed:null,roles:[],error:null})),E=w.useMemo(()=>new Set((a??[]).filter(Boolean)),[a]);return w.useEffect(()=>{let R=!1;if(!s){T({loading:!1,allowed:null,roles:[],error:null});return}return T(x=>({...x,loading:!0,error:null})),I6(p,y,{ttlMs:h}).then(x=>{if(R)return;const A=E.size===0?!0:x.some(D=>E.has(D));T({loading:!1,allowed:A,roles:x,error:null})}).catch(x=>{R||T({loading:!1,allowed:null,roles:[],error:x})}),()=>{R=!0}},[s,h,p,y,E]),v}const K6=[],W6=_.jsx(_.Fragment,{children:"Nemáte dostatečná oprávnění"}),P6=({oneOfRoles:a=K6,deniedFallback:i=W6,children:c})=>{const{loading:s,allowed:h,error:p}=F6({oneOfRoles:a});return _.jsxs($b.Provider,{value:{oneOfRoles:a,loading:s,allowed:h,error:p},children:[_.jsx(au,{error:p,loading:s,text:"Ověřuji oprávnění"}),h===!0&&c,h===!1&&i]})},$b=w.createContext(null),Qb=()=>{const a=w.useContext($b);if(a==null)throw Error("usePermissionGateContext must be used within PermissionGate");return a},$y=({oneOfRoles:a,mode:i="absolute",...c})=>{if(!a)throw Error("PermissionGate.oneOfRoles must be specified");if(i==="absolute")return _.jsx(P6,{oneOfRoles:a,...c});if(i==="item")return _.jsx(Z6,{oneOfRoles:a,...c});throw Error("PermissionGate.mode must be one of 'absolute' or 'item'")};function e5({mutationAsyncAction:a,item:i,onAfterConfirm:c,onAfterCancel:s,readUri:h,defaultName:p="Nový typ"}){if(!h)throw Error("readUri with ':id' must be defined");const y=os(),v=w.useMemo(()=>{const W=i??{id:crypto.randomUUID(),name:p};return W.id=(W==null?void 0:W.id)??crypto.randomUUID(),W},[i,p]),[T,E]=w.useState(v),{draft:R,dirty:x,loading:A,error:D,onChange:N,onBlur:H,onCancel:L,commitNow:q}=g_(a,T,{mode:"confirm"}),I=w.useCallback(async()=>{const W=await q(R);if(E(Y=>({...Y,id:crypto.randomUUID()})),c)console.log("useCreateSession using onAfterConfirm"),await c(W,R);else{if(console.log("going to navigate",h,y),h&&y){const Y=(W==null?void 0:W.id)??(R==null?void 0:R.id);Y!=null&&y(h.replace(":id",`${Y}`),{replace:!0})}return W}},[q,R,y,c,h]),F=w.useCallback(async()=>{if(L==null||L(),s){await s();return}console.log("going to navigate",-1,y),y==null||y(-1)},[y,s,L]);return{draft:R,dirty:x,saving:A,error:D,onChange:N,onBlur:H,handleConfirm:I,handleCancel:F}}const MD=({children:a,title:i="Dialog",oklabel:c="Ok",cancellabel:s="Zrušit",onOk:h,onCancel:p})=>{const y=()=>{h&&h()},v=()=>{p&&p()};return _.jsxs(Zl,{size:"xl",show:!0,onHide:v,backdrop:"static",children:[_.jsx(Zl.Header,{closeButton:!0,children:_.jsx(Zl.Title,{children:i})}),_.jsx(Zl.Body,{children:a}),_.jsx(Zl.Footer,{children:_.jsx(KC,{children:_.jsx(Db,{children:_.jsxs("div",{className:"d-flex justify-content-end",children:[_.jsx(YT,{variant:"outline-success",onClick:y,children:c})," ",_.jsx(YT,{variant:"outline-danger",onClick:v,children:s})]})})})})]})},Xb=(a,i,{withId:c=!1}={})=>{const s=/\/view(\/|$)/;if(!s.test(a))throw new Error(`LinkURI must contain '/view'. Got: ${a}`);const h=a.replace(s,`/${i}$1`).replace(/\/?$/,"/");return c?`${h}:id`:h.replace(/\/$/,"")},b_=a=>_.jsx(kb,{...a}),t5=()=>{var a,i;return((i=(a=globalThis.crypto)==null?void 0:a.randomUUID)==null?void 0:i.call(a))??`${Date.now()}-${Math.random().toString(16).slice(2)}`},n5=({rbacitem:a={},oneOfRoles:i=["superadmin"],mode:c="absolute",uriPattern:s,children:h,...p})=>_.jsx($y,{oneOfRoles:i,mode:c,item:a,children:_.jsx(a5,{uriPattern:s,children:h,...p})}),a5=({uriPattern:a,children:i,...c})=>{const{allowed:s}=Qb();return s?_.jsx(Qh,{to:a,...c,children:i||"Vytvořit"}):_.jsxs(Qh,{to:a,disabled:!0,...c,children:[_.jsx(h_,{})," ",i||"Vytvořit"]})},E_=({children:a,rbacitem:i,mutationAsyncAction:c,oneOfRoles:s=["superadmin"],mode:h="absolute",Dialog:p,DefaultContent:y=b_,onOk:v,onCancel:T,uriPattern:E,item:R,...x})=>{if(typeof c!="function")throw Error("GeneralButton.mutationAsyncAction cannot be undefined");return _.jsx($y,{oneOfRoles:s,mode:h,item:i,children:_.jsx(l5,{children:a,mutationAsyncAction:c,Dialog:p,DefaultContent:y,item:R,uriPattern:E,rbacitem:i,onOk:v,onCancel:T,title:JSON.stringify(s),...x})})},S_=({title:a="Nov(é/ý/á)",oklabel:i="Ok",cancellabel:c="Zrušit",onOk:s,onCancel:h,DefaultContent:p=b_,item:y,children:v,...T})=>{const[E,R]=w.useState(y);w.useEffect(()=>{R(N=>{console.log("GeneralDialog.useEffect",y);const H=y??{};return{...H,id:H.id??t5()}})},[y,R]);const x=w.useCallback(N=>{var q,I;const H=(q=N==null?void 0:N.target)==null?void 0:q.id,L=(I=N==null?void 0:N.target)==null?void 0:I.value;if(!H){console.warn("GeneralDialog.handleChange fired event has no e?.target?.id",N);return}R(F=>({...F||{},[H]:L}))},[R]),A=N=>{x(N)},D=()=>s==null?void 0:s(E);return _.jsx(MD,{title:a,oklabel:i,cancellabel:c,onCancel:h,onOk:D,...T,children:_.jsx(p,{item:E,onChange:x,onBlur:A,children:v})})},l5=({children:a,rbacitem:i,mutationAsyncAction:c,Dialog:s,DefaultContent:h=b_,uriPattern:p,item:y,onOk:v,onCancel:T,...E})=>{const{allowed:R}=Qb(),[x,A]=w.useState(!1),D=w.useCallback(()=>A(!0),[]),N=w.useCallback(()=>A(!1),[]),{loading:H,error:L,run:q}=a_(c,y,{deferred:!0}),I=os(),F=w.useCallback(async Y=>{await q(Y),v?v(Y):p&&I(`${p}`.replace(":id",Y.id)),N()},[N,v,I,p,q]),W=w.useCallback(Y=>{T&&T(Y),N()},[N,T]);if(R)return _.jsxs(_.Fragment,{children:[_.jsx(au,{error:L,loading:H,text:"Ukládám"}),_.jsx("button",{...E,onClick:D,children:a||"Vytvořit nový"}),x&&s&&_.jsx(s,{onOk:F,onCancel:W,mutationAsyncAction:c,uriPattern:p,item:y}),x&&!s&&_.jsx(MD,{onOk:F,onCancel:W,mutationAsyncAction:c,DefaultContent:h,uriPattern:p,item:y})]});{const{title:Y,onClick:ne,...ae}=E;return _.jsxs("button",{...ae,title:Y,style:{opacity:.5,pointerEvents:"auto"},children:[_.jsx(h_,{})," ",a||"Vytvořit nový"]})}};Xb(Hy,"create",{withId:!1});const T_=`${Hy}:id`,Zb=kb,ND=({title:a="Nové oprávnění",oklabel:i="Ok",cancellabel:c="Zrušit",DefaultContent:s=Zb,item:h,onOk:p,onCancel:y,children:v,...T})=>_.jsx(S_,{title:a,oklabel:i,cancellabel:c,DefaultContent:s,item:h,onOk:p,onCancel:y,...T,children:v}),r5=({mutationAsyncAction:a=m_,CreateDialog:i=ND,DefaultContent:c=Zb,readItemURI:s=T_,uriPattern:h,children:p,...y})=>_.jsx(E_,{mutationAsyncAction:a,Dialog:i,DefaultContent:c,uriPattern:h??s,...y,children:p}),i5=({children:a,rbacitem:i,mutationAsyncAction:c=m_,onOk:s,onCancel:h,DefaultContent:p=Zb,readItemURI:y=T_,oneOfRoles:v=["superadmin"],mode:T="absolute",...E})=>_.jsx($y,{oneOfRoles:v,mode:T,item:i,children:_.jsx(o5,{children:a,mutationAsyncAction:c,onOk:s,onCancel:h,DefaultContent:p,readItemURI:y,...E})}),o5=({children:a,mutationAsyncAction:i=m_,onOk:c,onCancel:s,DefaultContent:h=Zb,readItemURI:p=T_,...y})=>{const v=e5({readUri:p,mutationAsyncAction:i,onAfterConfirm:async(T,E)=>{if(c)return c(T,E)},onAfterCancel:async()=>{if(s)return s()}});return _.jsx(_.Fragment,{children:_.jsxs(h,{item:v.draft,onChange:v.onChange,onBlur:v.onBlur,...y,children:[_.jsx(au,{error:v.error,loading:v.saving}),a,_.jsx("button",{className:"btn btn-warning form-control",onClick:v.handleCancel,children:"Zrušit změny"}),_.jsx("button",{className:"btn btn-primary form-control",onClick:v.handleConfirm,children:"Uložit změny"})]})})},u5=Xb(Hy,"edit",{withId:!0}),jD=({item:a,oneOfRoles:i=["superadmin"],mode:c="absolute",uriPattern:s=u5,children:h,...p})=>{const y=w.useMemo(()=>{const v=(a==null?void 0:a.id)??"";return s.replace(":id",String(v))},[s,a==null?void 0:a.id]);return _.jsx(n5,{rbacitem:a,oneOfRoles:i,mode:c,uriPattern:y,...p,children:h})},Ib=kb,zD=({children:a,item:i,mutationAsyncAction:c=Yb,oneOfRoles:s=["superadmin"],mode:h="absolute",DefaultContent:p=Ib,Dialog:y=UD,uriPattern:v,onOk:T,onCancel:E,...R})=>_.jsx(E_,{rbacitem:i,oneOfRoles:s,mode:h,mutationAsyncAction:c,Dialog:y,DefaultContent:p,item:i,uriPattern:v,onOk:T,onCancel:E,...R,children:a||"Editovat"}),UD=({title:a="Editace",oklabel:i="Ok",cancellabel:c="Zrušit",DefaultContent:s=Ib,item:h,onOk:p,onCancel:y,children:v,...T})=>_.jsx(S_,{title:a,oklabel:i,cancellabel:c,DefaultContent:s,item:h,onOk:p,onCancel:y,...T,children:v}),c5=({children:a,mutationAsyncAction:i=Yb,DefaultContent:c=Ib,oneOfRoles:s=["superadmin"],mode:h="absolute"})=>{const{item:p}=Gy();return p?_.jsx($y,{oneOfRoles:s,mode:h,item:p,children:_.jsx(s5,{item:p,mutationAsyncAction:i,DefaultContent:c,children:a})}):_.jsx(_.Fragment,{children:"No item"})},s5=({item:a,children:i,mutationAsyncAction:c=Yb,DefaultContent:s=Ib})=>{const{allowed:h}=Qb();return h?_.jsxs(_.Fragment,{children:[_.jsx(Q6,{item:a,mutationAsyncAction:c,DefaultContent:s}),i]}):_.jsx(_.Fragment,{children:_.jsx("div",{children:"Nemáte oprávnění"})})};Xb(Hy,"delete",{withId:!0});const __=Xb(Hy,"list",{withId:!1}),O_=uD,LD=({children:a,item:i,mutationAsyncAction:c=y_,oneOfRoles:s=["superadmin"],mode:h="absolute",vectorItemsURI:p=__,Dialog:y,onOk:v,...T})=>_.jsx(E_,{rbacitem:i,oneOfRoles:s,mode:h,mutationAsyncAction:c,Dialog:y,item:i,uriPattern:p,onOk:v,...T,children:a||"Odstranit"}),f5=({title:a="Odstranit",item:i,oklabel:c="Odstranit",cancellabel:s="Zrušit",onOk:h,onCancel:p,DefaultContent:y=O_})=>{const[v]=w.useState(i),T=w.useCallback(async()=>h==null?void 0:h(v),[h,v]);return _.jsx(S_,{title:a,oklabel:c,cancellabel:s,item:v,onOk:T,onCancel:p,DefaultContent:({item:E})=>_.jsx(_.Fragment,{children:_.jsx(y,{item:E})})})},d5=({children:a,mutationAsyncAction:i=y_,DefaultContent:c=O_,oneOfRoles:s=["superadmin"],mode:h="absolute",vectorItemsURI:p=__})=>_.jsx($y,{oneOfRoles:s,mode:h,children:_.jsx(h5,{mutationAsyncAction:i,DefaultContent:c,vectorItemsURI:p,children:a})}),h5=({children:a,mutationAsyncAction:i=y_,DefaultContent:c=O_,vectorItemsURI:s=__})=>{const{allowed:h}=Qb(),p=os(),{item:y}=Gy(),{loading:v,error:T,commitNow:E}=g_(i,y,{mode:"confirm"}),R=w.useCallback(async()=>{const A=await E(y);console.log("handleConfirm",A),A&&p&&p(s,{replace:!0})},[p,E]),x=()=>{p(-1)};return y?h?_.jsx(_.Fragment,{children:_.jsxs(c,{item:y,children:[_.jsx(au,{error:T,loading:v,text:"Odstraňuji"}),a,_.jsx("button",{className:"btn btn-warning form-control",onClick:x,disabled:v,children:"Zrušit"}),_.jsx("button",{className:"btn btn-primary form-control",onClick:R,disabled:v,children:"Smazat"})]})}):_.jsx("div",{children:_.jsx("button",{className:"btn btn-warning form-control",onClick:x,disabled:v,children:"Nemáte oprávnění"})}):null},p5=({row:a,name:i})=>_.jsx("td",{children:_.jsx(Nl,{item:a,children:(a==null?void 0:a.id)||"Data Error"})},i),m5=({row:a,name:i})=>_.jsx("td",{children:_.jsx(Nl,{item:a})},i),y5=({row:a,name:i})=>{const c=(a==null?void 0:a[i])??"";if(i.indexOf("Id")===-1)return _.jsx("td",{children:typeof c=="object"?`${c}`:c||""},i);const h=i.replace("Id",""),{id:p,__typename:y}=(a==null?void 0:a[h])||{};return p&&y&&p==c?_.jsx("td",{children:_.jsx(Nl,{item:a==null?void 0:a[h],children:c||""})},i):_.jsx("td",{children:typeof c=="object"?`${c}`:c||""},i)},g5=a=>{const i=(a==null?void 0:a[0])??{},c=["__typename","id","name"],s=Object.keys(i).filter(y=>{const v=i[y];return!(Array.isArray(v)||typeof v=="object"&&v!==null)}),h=[...c.filter(y=>s.includes(y)),...s.filter(y=>!c.includes(y))],p=Object.fromEntries(h.map(y=>{let v=y5;return y==="id"&&(v=p5),y==="name"&&(v=m5),[y,{label:y,component:v}]}));return p.tools={label:"Nástroje",component:({row:y})=>_.jsx("td",{children:_.jsx(v5,{actions:[{children:_.jsx(Nl,{className:"btn btn-sm btn-outline-secondary border-0 text-start w-100",item:y,children:"Detail"})},{children:_.jsx(jD,{className:"btn btn-sm btn-outline-secondary border-0 text-start w-100",item:y,action:"edit",children:"Editovat"})},{children:_.jsx(zD,{className:"btn btn-sm btn-outline-secondary border-0 text-start w-100",item:y,children:"Editovat (zde)"})},{children:_.jsx(LD,{className:"btn btn-sm btn-outline-secondary border-0 text-start w-100",children:"Smazat"})}]})})},p},v5=({actions:a=[]})=>{const[i,c]=w.useState(!1),s=w.useRef(null),h=w.useRef(null),[p,y]=w.useState({left:0,top:0}),v=()=>c(!1);w.useEffect(()=>{if(!i)return;const E=x=>{const A=s.current,D=h.current;!A||!D||A.contains(x.target)||D.contains(x.target)||v()},R=x=>{x.key==="Escape"&&v()};return document.addEventListener("mousedown",E),document.addEventListener("keydown",R),()=>{document.removeEventListener("mousedown",E),document.removeEventListener("keydown",R)}},[i]),w.useLayoutEffect(()=>{if(!i)return;const E=()=>{const R=s.current;if(!R)return;const x=R.getBoundingClientRect();y({left:x.right+window.scrollX,top:x.bottom+window.scrollY})};return E(),window.addEventListener("resize",E),window.addEventListener("scroll",E,!0),()=>{window.removeEventListener("resize",E),window.removeEventListener("scroll",E,!0)}},[i]);const T=i?_.jsx("div",{ref:h,style:{position:"absolute",left:p.left,top:p.top,transform:"translateX(-100%)",background:"white",border:"1px solid #ddd",borderRadius:4,boxShadow:"0 4px 12px rgba(0,0,0,0.15)",zIndex:2e3,minWidth:140},role:"menu",children:a.map((E,R)=>{const x=E==null?void 0:E.children;return x?_.jsx("div",{children:x},R):_.jsx("button",{type:"button",className:"btn btn-sm btn-outline-secondary border-0 text-start w-100",onClick:()=>{var A;v(),(A=E==null?void 0:E.onClick)==null||A.call(E)},style:{padding:"8px 12px",textDecoration:"none"},role:"menuitem",children:E==null?void 0:E.label},R)})}):null;return _.jsxs(_.Fragment,{children:[_.jsx("button",{ref:s,className:"btn btn-sm btn-outline-secondary border-1",onClick:()=>c(E=>!E),"aria-expanded":i,"aria-haspopup":"menu","aria-label":"Menu",type:"button",children:"⋮"}),i?Q1.createPortal(T,document.body):null]})},b5=({row:a,table_def:i})=>_.jsx("tr",{children:Object.keys(i).map(c=>{const s=i[c].component;return _.jsx(s,{row:a,name:c},c)})}),E5=({data:a,table_def:i,TableRow:c=b5})=>_.jsx("tbody",{children:a.map(s=>_.jsx(c,{row:s,table_def:i},s==null?void 0:s.id))}),x_=({data:a,table_def:i=null,TableBody:c=E5})=>{if(!a||a.length===0)return null;const s=w.useMemo(()=>i||g5(a),[a,i]),h=w.useMemo(()=>Object.keys(s).map(p=>s[p].label),[s]);return _.jsx("div",{className:"table-responsive",children:_.jsxs("table",{className:"table table-stripped",children:[_.jsx("thead",{children:_.jsx("tr",{children:h.map(p=>_.jsx("th",{children:`${p}`},p))})}),_.jsx(c,{data:a,table_def:s})]})})},BD=({attribute_name:a,item:i})=>{const c=(i==null?void 0:i[a])||{};return _.jsx(_.Fragment,{children:_.jsx(cD,{item:c,header:_.jsxs(_.Fragment,{children:[_.jsx(Nl,{item:i,children:_.jsx("b",{children:a})}),"/",_.jsx(Nl,{item:c})]})})})},HD=({item:a})=>_.jsx(dl,{item:a,header:"Skalární atributy",children:Object.entries(a).map(([i,c])=>Array.isArray(c)?null:typeof c=="object"&&c!==null?_.jsx(BD,{item:a,attribute_name:i},i):null)}),VD=({attribute_name:a,item:i})=>{const c=(i==null?void 0:i[a])||[];return _.jsx(dl,{item:i,header:_.jsx(Nl,{item:i,action:a,children:a+" []"}),children:_.jsx(x_,{data:c})})},qD=({item:a})=>_.jsx(dl,{item:a,header:"Vektorové atributy",children:Object.entries(a).map(([i,c])=>Array.isArray(c)?_.jsx(VD,{attribute_name:i,item:a},i):null)}),YD=a=>a!==null&&typeof a=="object"&&!Array.isArray(a)&&(Object.getPrototypeOf(a)===Object.prototype||Object.getPrototypeOf(a)===null),S5=({label:a,value:i})=>_.jsxs(_.Fragment,{children:[_.jsx("b",{children:a}),_.jsx("br",{})," ",`${i}`," "]}),T5=({item:a})=>_.jsx(Gr,{children:Object.entries(a).map(([i,c])=>c===null||Array.isArray(c)||YD(c)?null:_.jsx(un,{children:_.jsx(S5,{datarow:a,name:i,label:i,value:c})},i))}),R_=({title:a,item:i})=>{const[c,s]=w.useState(!0),h=()=>s(p=>!p);return _.jsxs(nu,{title:_.jsxs(_.Fragment,{children:[`${a} `,_.jsx(Nl,{item:i}),_.jsx("button",{className:"btn btn-outline-secondary btn-sm btn-link border-0",onClick:h,children:_.jsxs("b",{children:[" ",c?"Open":"Close"]})})]}),children:[_.jsx(T5,{item:i}),!c&&_.jsxs(_.Fragment,{children:[Object.entries(i).map(([p,y])=>Array.isArray(y)?null:YD(y)?_.jsx(R_,{title:p,item:y},p):null),Object.entries(i).map(([p,y])=>Array.isArray(y)?_.jsx(_5,{title:`${p}`,items:y},p):null)]})]})},_5=({title:a,items:i})=>{const[c,s]=w.useState(!0),h=()=>s(p=>!p);return _.jsxs(nu,{title:_.jsxs(_.Fragment,{children:[`${a}[${i==null?void 0:i.length}]`,_.jsx("button",{className:"btn btn-link btn-sm btn-outline-secondary border-0",onClick:h,children:_.jsxs("b",{children:[" ",c?"Open":"Close"]})})]}),children:[_.jsx(iD,{children:_.jsx("button",{className:"btn btn-sm btn-outline-secondary form-control border-0",onClick:h,children:c?"Open":"Close"})}),!c&&(i==null?void 0:i.map((p,y)=>_.jsx(R_,{title:`${a}[${y}] `,item:p},p==null?void 0:p.id)))]})},O5=({item:a})=>_.jsx(R_,{title:"Tree",item:a}),kD=({item:a})=>_.jsxs(_.Fragment,{children:[_.jsx(O5,{item:a}),_.jsx(HD,{item:a}),_.jsx(qD,{item:a})]}),x5=({PageNavbar:a=null,ItemLayout:i=r_,SubPage:c=kD,OtherComponents:s=[],children:h})=>{const{item:p}=Gy();if(!p)return _.jsx(_.Fragment,{children:"Položka nenalezena"});const y=(s||[]).reduceRight((v,T)=>T?_.jsx(T,{item:p,children:v}):v,null);return _.jsxs(_.Fragment,{children:[a&&_.jsx(a,{item:p}),h,_.jsx(i,{item:p,children:c?_.jsx(c,{item:p,children:y}):{content:y}})]})},R5=({queryAsyncAction:a=H6,PageNavbar:i=()=>null,ItemLayout:c=r_,SubPage:s=kD,children:h})=>{const{id:p}=Yf(),y={id:p};return _.jsx(v_,{item:y,queryAsyncAction:a,children:_.jsx(x5,{PageNavbar:i,ItemLayout:c,SubPage:s,children:h})})},A5=({queryById:a,queryVector:i,mutations:c,children:s,params:h})=>{const p=Gy(),{id:y,typename:v,action:T="view"}=Yf(),{item:E}=p||{};if(!E)return _.jsxs("div",{children:["Položka nenalezena",_.jsx("pre",{children:JSON.stringify(p)})]});let R=s;const x=E==null?void 0:E[T];return T==="__def"&&(R=_.jsxs(Gr,{children:[_.jsx(un,{children:_.jsxs(dl,{header:"queryById",children:[_.jsx(Fh,{children:_.jsx(Kh,{className:"btn btn-sm border-0",text:a})}),_.jsx("pre",{children:a==null?void 0:a.replaceAll(", ",`,
771
+ `).replaceAll("(",`(
772
+ `)})]})}),_.jsx(un,{children:_.jsxs(dl,{header:"queryVector",children:[_.jsx(Fh,{children:_.jsx(Kh,{className:"btn btn-sm border-0",text:i})}),_.jsx("pre",{children:i==null?void 0:i.replaceAll(", ",`,
773
+ `).replaceAll("(",`(
774
+ `)})]})}),Object.entries(c).map(([A,D])=>_.jsx(un,{children:_.jsxs(dl,{header:A,children:[_.jsx(Fh,{children:_.jsx(Kh,{className:"btn btn-sm border-0",text:D})}),_.jsx("pre",{children:D==null?void 0:D.replaceAll(", ",`,
775
+ `).replaceAll("(",`(
776
+ `)})]})},A))]})),T==="view"&&(R=_.jsxs(_.Fragment,{children:[_.jsx(HD,{item:E},"MediumCardScalars"),_.jsx(qD,{item:E},"MediumCardVectors")]})),Array.isArray(x)?R=_.jsx(VD,{attribute_name:T,item:E}):x&&(R=_.jsx(BD,{attribute_name:T,item:E})),_.jsxs(_.Fragment,{children:[_.jsx(r_,{item:E,children:R}),_.jsxs(Gr,{children:[_.jsx(un,{children:_.jsx(dl,{header:"QueryById",children:_.jsx("pre",{children:a})})}),_.jsx(un,{children:_.jsx(dl,{header:"Parametry",children:_.jsx("pre",{children:JSON.stringify(h,null,2)})})}),_.jsx(un,{children:_.jsx(dl,{header:"Response",children:_.jsx("pre",{children:JSON.stringify(E,null,2)})})})]})]})},C5=({children:a})=>{const{id:i,typename:c,action:s="view"}=Yf(),h={id:i},{ByIdAsyncAction:p,queryById:y,queryVector:v,mutations:T}=l_(c||"RoleGQLModel");return _.jsxs(_.Fragment,{children:[p&&_.jsx(v_,{item:h,queryAsyncAction:p,children:_.jsx(A5,{queryById:y,queryVector:v,mutations:T,params:h,children:a})}),!p&&_.jsxs("div",{children:["No ByIdAsyncAction for type ",c]})]})},A_=({children:a})=>{const{id:i,typename:c,action:s="list"}=Yf(),{introspection:h}=l_(c),p=h?nL(h):[];return _.jsxs(_.Fragment,{children:[_.jsx(nu,{title:"types",children:p.map((y,v)=>_.jsx("div",{children:_.jsx(Qh,{to:`${Xh}/${y}/list`,children:y})},y+":"+v))}),_.jsx(nu,{title:"_schema",children:_.jsx("pre",{children:JSON.stringify(h,null,2)})})]})},D5=({queryById:a,queryVector:i,mutations:c,children:s,params:h})=>{var A,D;const p=Gy(),{id:y,typename:v,action:T="view"}=Yf(),{item:E,data:R}=p||{};let x=s;if(T==="__def"&&(x=_.jsxs(Gr,{children:[_.jsx(un,{children:_.jsxs(dl,{header:"queryById",children:[_.jsx(Fh,{children:_.jsx(Kh,{className:"btn btn-sm border-0",text:a})}),_.jsx("pre",{children:a==null?void 0:a.replaceAll(", ",`,
777
+ `).replaceAll("(",`(
778
+ `)})]})}),_.jsx(un,{children:_.jsxs(dl,{header:"queryVector",children:[_.jsx(Fh,{children:_.jsx(Kh,{className:"btn btn-sm border-0",text:i})}),_.jsx("pre",{children:i==null?void 0:i.replaceAll(", ",`,
779
+ `).replaceAll("(",`(
780
+ `)})]})}),Object.entries(c).map(([N,H])=>_.jsx(un,{children:_.jsxs(dl,{header:N,children:[_.jsx(Fh,{children:_.jsx(Kh,{className:"btn btn-sm border-0",text:H})}),_.jsx("pre",{children:H==null?void 0:H.replaceAll(", ",`,
781
+ `).replaceAll("(",`(
782
+ `)})]})},N))]})),T==="list"){const N=(R==null?void 0:R.data)||{},H=((D=(A=Object.entries(N))==null?void 0:A[0])==null?void 0:D[1])||[];x=_.jsx(x_,{data:H})}return _.jsxs(_.Fragment,{children:[x,_.jsxs(Gr,{children:[_.jsx(un,{children:_.jsx(dl,{header:"queryVector",children:_.jsx("pre",{children:a})})}),_.jsx(un,{children:_.jsx(dl,{header:"Parametry",children:_.jsx("pre",{children:JSON.stringify(h,null,2)})})}),_.jsx(un,{children:_.jsx(dl,{header:"Response",children:_.jsx("pre",{children:JSON.stringify(R,null,2)})})})]})]})},w5=({children:a})=>{const{id:i,typename:c,action:s="view"}=Yf(),h={id:i},{ByIdAsyncAction:p,queryById:y,PageAsyncAction:v,queryVector:T,mutations:E}=l_(c||"RoleGQLModel");return _.jsxs(_.Fragment,{children:[p&&_.jsx(v_,{item:h,queryAsyncAction:v,children:_.jsx(D5,{queryById:y,queryVector:T,mutations:E,params:h,children:a})}),!p&&_.jsxs("div",{children:["No ByIdAsyncAction for type ",c]})]})},M5=[{path:`/${Xh}/:typename/:action/:id`,element:_.jsx(C5,{})},{path:`/${Xh}/:typename/:action/`,element:_.jsx(w5,{})},{path:"/",element:_.jsx(A_,{})},{path:`/${Xh}/`,element:_.jsx(A_,{})},{path:"*",element:_.jsx(A_,{})}],N5=`
783
+ fragment Link on SubjectGQLModel {
784
+ __typename
785
+ id
786
+ lastchange
787
+ created
788
+ createdbyId
789
+ changedbyId
790
+ rbacobjectId
791
+ name
792
+ nameEn
793
+ description
794
+ descriptionEn
795
+ programId
796
+ guarantorsGroupId
797
+ }
798
+ `,j5=`
799
+ fragment Medium on SubjectGQLModel {
800
+ ...Link
801
+ createdby {
802
+ __typename id fullname
803
+ }
804
+ changedby {
805
+ __typename id fullname
806
+ }
807
+ rbacobject {
808
+ ...RBRoles
809
+ }
810
+ program {
811
+ __typename id
812
+ }
813
+ }
814
+ `,z5=`
815
+ fragment Large on SubjectGQLModel {
816
+ ...Medium
817
+ semesters {
818
+ __typename id
819
+ id
820
+ order
821
+ lastchange
822
+ }
823
+ guarantors {
824
+ __typename id
825
+ }
826
+ }
827
+ `,U5=`
828
+ fragment Role on RoleGQLModel {
829
+ __typename
830
+ id
831
+ lastchange
832
+ created
833
+ createdbyId
834
+ changedbyId
835
+ rbacobjectId
836
+ createdby { id __typename }
837
+ changedby { id __typename }
838
+ rbacobject { id __typename }
839
+ valid
840
+ deputy
841
+ startdate
842
+ enddate
843
+ roletypeId
844
+ userId
845
+ groupId
846
+ roletype { __typename id }
847
+ user { __typename id fullname }
848
+ group { __typename id name }
849
+ }
850
+ `,L5=`
851
+ fragment RBRoles on RBACObjectGQLModel {
852
+ __typename
853
+ id
854
+ currentUserRoles {
855
+ __typename
856
+ id
857
+ lastchange
858
+ valid
859
+ startdate
860
+ enddate
861
+ roletype {
862
+ __typename
863
+ id
864
+ name
865
+ }
866
+ group {
867
+ __typename
868
+ id
869
+ name
870
+ grouptype {
871
+ __typename
872
+ id
873
+ name
874
+ }
875
+ }
876
+ }
877
+ }`;ya(`${U5}`);const B5=ya(`${L5}`),H5=ya(`${N5}`),V5=ya(`${j5}`,H5,B5),Qy=ya(`${z5}`,V5),q5=ya(`
878
+ mutation roleTypeInsert(
879
+ $mastertypeId: UUID # null,
880
+ $id: UUID # null,
881
+ $name: String # null,
882
+ $nameEn: String # null,
883
+ $subtypes: [RoleTypeInsertGQLModel!] # null
884
+ ) {
885
+ roleTypeInsert(
886
+ roleType: {
887
+ mastertypeId: $mastertypeId,
888
+ id: $id,
889
+ name: $name,
890
+ nameEn: $nameEn,
891
+ subtypes: $subtypes}
892
+ ) {
893
+ ... on InsertError { ...InsertError }
894
+ ... on RoleTypeGQLModel { ...Large }
895
+ }
896
+ }
897
+
898
+
899
+ fragment InsertError on InsertError {
900
+ __typename
901
+ msg
902
+ failed
903
+ code
904
+ location
905
+ input
906
+
907
+ }
908
+ `,Qy),Y5=Il(q5),k5=ya(`
909
+ mutation roleTypeUpdate(
910
+ $id: UUID! # null,
911
+ $lastchange: DateTime! # null,
912
+ $name: String # null,
913
+ $nameEn: String # null
914
+ ) {
915
+ roleTypeUpdate(
916
+ roleType: {
917
+ id: $id,
918
+ lastchange: $lastchange,
919
+ name: $name,
920
+ nameEn: $nameEn}
921
+ ) {
922
+ ... on RoleTypeGQLModel { ...Large }
923
+ ... on RoleTypeGQLModelUpdateError { ...Error }
924
+ }
925
+ }
926
+
927
+ fragment Error on RoleTypeGQLModelUpdateError {
928
+ __typename
929
+ Entity {
930
+ ...Large
931
+ }
932
+ msg
933
+ failed
934
+ code
935
+ location
936
+ input
937
+ }
938
+ `,Qy),G5=Il(k5,jA,_T),$5=ya(`
939
+ mutation roleTypeDelete(
940
+ $id: UUID! # null,
941
+ $lastchange: DateTime! # null
942
+ ) {
943
+ roleTypeDelete(
944
+ roleType: {
945
+ id: $id,
946
+ lastchange: $lastchange}
947
+ ) {
948
+ ...RoleTypeGQLModelDeleteError
949
+ }
950
+ }
951
+
952
+ fragment RoleTypeGQLModelDeleteError on RoleTypeGQLModelDeleteError {
953
+ __typename
954
+ Entity {
955
+ ...Large
956
+ }
957
+ msg
958
+ code
959
+ failed
960
+ location
961
+ input
962
+ }
963
+ `,Qy),Q5=Il($5),X5=ya(`
964
+ query subjectById($id: UUID!) {
965
+ subjectById(id: $id) {
966
+ ...Large
967
+ }
968
+ }
969
+ `,Qy),Z5=Il(X5),I5=ya(`
970
+ query subjectPage($skip: Int, $limit: Int, $orderby: String, $where: SubjectInputFilter) {
971
+ subjectPage(skip: $skip, limit: $limit, orderby: $orderby, where: $where) {
972
+ ...Large
973
+ }
974
+ }
975
+ `,Qy),J5=Il(I5),F5=(a=[],i=[])=>{const c=new Map;return a.forEach(s=>(s==null?void 0:s.id)!=null&&c.set(s.id,s)),i.forEach(s=>(s==null?void 0:s.id)!=null&&c.set(s.id,s)),Array.from(c.values())},K5=a=>{const i={...a,skip:(a.skip||0)+(a.limit||10),limit:a.limit||10};return console.log("newFilter",i),i},W5=a=>{const i=a!=null&&a.data?a.data:a,c=i?Object.values(i):[];let s=c==null?void 0:c[0];return Array.isArray(s)||(s=c.find(h=>Array.isArray(h)),Array.isArray(s))?s:[]},P5=a=>{if(!a)return!1;const i=a.getBoundingClientRect();return i.top<window.innerHeight&&i.bottom>0},eB=()=>null,tB=({preloadedItems:a,actionParams:i,asyncAction:c,calculateNewFilter:s=K5,reset:h=0,onAll:p=eB,enabled:y=!0,autoload:v=!0}={})=>{const T=F1(),E=Sb();if(typeof c!="function")throw Error("useInfiniteScroll.asyncAction must be a function, typically pageRead");const R=w.useMemo(()=>({...i||{}}),[i]),[x,A]=w.useState(()=>({filter:R,loading:!1,hasMore:!0,error:null,items:a,result:null})),D=w.useRef(0),N=w.useRef(!1),H=w.useRef(x);w.useEffect(()=>{H.current=x},[x]);const L=w.useRef(R);w.useEffect(()=>{L.current=x.filter},[x.filter]);const q=w.useRef(y);w.useEffect(()=>{q.current=y},[y]),w.useEffect(()=>{A(ne=>({...ne,items:a}))},[a]),w.useEffect(()=>{A(ne=>({...ne,filter:{...i||{}},loading:!1,hasMore:!0,error:null,items:[]}))},[h]);const I=w.useCallback(async()=>{if(!q.current||N.current)return null;N.current=!0;const ne=D.current;try{const ae=H.current;if(ae.loading||!ae.hasMore)return null;A(Ne=>({...Ne,loading:!0,error:null}));const V=L.current,Se=await T(c(V,E)),me=W5(Se);return D.current!==ne?null:(A(Ne=>{const xe=F5(Ne.items,me),Ye=me.length,$e=(V&&V.limit!=null?V.limit:void 0)??(Ne.filter&&Ne.filter.limit!=null?Ne.filter.limit:void 0),et=$e==null?Ye>0:Ye===$e;et||p();const k=et?(()=>{const ce={fetched:me,fetchedCount:Ye,limit:$e,params:V,result:Se};return(s.length>=2?s(Ne.filter,ce):s(Ne.filter))??Ne.filter})():Ne.filter;return L.current=k,{...Ne,items:xe,filter:k,hasMore:et,loading:!1,result:Se}}),Se)}catch(ae){return D.current===ne&&A(V=>({...V,loading:!1,hasMore:!1,error:ae})),null}finally{N.current=!1}},[T,c,E,p,s]),F=w.useCallback(async(ne={})=>{D.current+=1,N.current=!1;const ae={...ne||{}};return L.current=ae,A(V=>({...V,filter:ae,loading:!1,hasMore:!0,error:null,items:[],result:null})),await new Promise(V=>requestAnimationFrame(V)),I()},[I]),W=w.useRef(null),Y=w.useCallback(ne=>{W.current=ne},[]);return w.useEffect(()=>{const ne=W.current;if(!y||!ne)return;const ae=new IntersectionObserver(([me])=>{me.isIntersecting&&q.current&&I()});ae.observe(ne);let V=!1;return(async()=>{if(v)for(await new Promise(me=>requestAnimationFrame(me)),await new Promise(me=>setTimeout(me,0));!V&&q.current;){const me=H.current;if(me.loading||!me.hasMore||!P5(ne))break;await I(),await new Promise(Ne=>requestAnimationFrame(Ne))}})(),()=>{V=!0,ae.disconnect()}},[y,v,I,h]),{items:x.items,loading:x.loading,error:x.error,hasMore:x.hasMore,filter:x.filter,result:x.result,loadMore:I,restart:F,sentinelRef:Y}},C_=a=>String(a??"").replace(/^\/+|\/+$/g,""),GD=({app:a="_",model:i="_",action:c="view",withId:s=!1,idParam:h=":id"}={})=>{const p={app:C_(a),model:C_(i),action:C_(c),withId:!!s,idParam:String(h).startsWith(":")?String(h):`:${String(h)}`},y=`/${p.app}/${p.model}/${p.action}`.replace(/\/+/g,"/"),v=p.withId?`${y}/${p.idParam}`:y,T={path:v,segments:p,toString(){return v},valueOf(){return v},[Symbol.toPrimitive](){return v},change(E={}){return GD({...p,...E})},app(E){return T.change({app:E})},model(E){return T.change({model:E})},action(E){return T.change({action:E})},id(E=!0){return T.change({withId:E})},idParam(E=":id"){return T.change({idParam:E})}};return T},$D="/subject";GD({app:$D});const Xy=`${$D}/SubjectGQLModel`,Jb=`${Xy}/list/`,nB=`${Xy}/create/`,aB=`${Xy}/view/`,lB=`${Xy}/edit/`,rB=`${Xy}/delete/`,QD=aB,D_=Jb,w_=":id",Zy=`${QD}${w_}`,XD=`${lB}${w_}`,iB=`${rB}${w_}`,M_=({item:a,LinkURI:i=QD,action:c="view",children:s,...h})=>{const p=i.replace("view",c);return _.jsx(Qh,{to:p+(a==null?void 0:a.id),...h,children:s||(a==null?void 0:a.fullname)||(a==null?void 0:a.name)||(a==null?void 0:a.id)||"Nevim"})};X4("SubjectGQLModel",M_);const N_=({item:a,children:i,title:c=null})=>(c||(c=_.jsxs(_.Fragment,{children:[_.jsx(AD,{})," ",_.jsx(M_,{item:a})]})),_.jsx(dl,{title:c,children:i})),ZD=({item:a,children:i})=>{var c,s,h,p,y,v;return console.log("item",a),_.jsxs(_.Fragment,{children:[(a==null?void 0:a.name)&&_.jsx(Jl,{label:"Název",children:_.jsx(M_,{item:a})}),(a==null?void 0:a.nameEn)&&_.jsx(Jl,{label:"Anglický název",children:a.nameEn}),(a==null?void 0:a.description)&&_.jsx(Jl,{label:"Popis",children:a.description}),(((c=a==null?void 0:a.program)==null?void 0:c.name)||((s=a==null?void 0:a.program)==null?void 0:s.id))&&_.jsx(Jl,{label:"Program",children:a.program.name||a.program.id}),((p=(h=a==null?void 0:a.rbacobject)==null?void 0:h.currentUserRoles)==null?void 0:p.length)>0&&_.jsx(Jl,{label:"Moje role",children:a.rbacobject.currentUserRoles.map(T=>{var E;return _.jsx("span",{className:"badge bg-secondary me-1",children:(E=T.roletype)==null?void 0:E.name},T.id)})}),_.jsx("hr",{}),((y=a==null?void 0:a.createdby)==null?void 0:y.fullname)&&_.jsx(Jl,{label:"Vytvořil",children:a.createdby.fullname}),(a==null?void 0:a.created)&&_.jsx(Jl,{label:"Vytvořeno",children:Bb(a.created)}),(a==null?void 0:a.lastchange)&&_.jsx(Jl,{label:"Změněno",children:Bb(a.lastchange)}),((v=a==null?void 0:a.changedby)==null?void 0:v.fullname)&&_.jsx(Jl,{label:"Změnil",children:a.changedby.fullname}),i]})},j_=a=>_.jsx(FD,{...a}),ID=Y5,oB={oneOfRoles:["superadmin"],mode:"absolute"},JD={name:"Nový"},uB=({mutationAsyncAction:a=ID,CreateDialog:i=cB,DefaultContent:c=j_,readItemURI:s=Zy,rbacitem:h,item:p=JD,...y})=>_.jsx(r5,{...y,DefaultContent:c,CreateDialog:i,readItemURI:s,rbacitem:h,item:p,mutationAsyncAction:a,...oB}),cB=({title:a="Nov(ý/é)",DefaultContent:i=j_,readItemURI:c=Zy,item:s=JD,...h})=>_.jsx(ND,{...h,title:a,DefaultContent:i,readItemURI:c,item:s}),sB=({mutationAsyncAction:a=ID,DefaultContent:i=j_,readItemURI:c=Zy,...s})=>_.jsx(i5,{...s,DefaultContent:i,readItemURI:c,mutationAsyncAction:a}),z_=a=>_.jsx(FD,{...a}),U_=G5,Fb={oneOfRoles:["superadmin"],mode:"absolute"},fB=({uriPattern:a=XD,...i})=>_.jsx(jD,{...i,uriPattern:a,...Fb}),dB=({DefaultContent:a=z_,mutationAsyncAction:i=U_,...c})=>_.jsx(UD,{...c,DefaultContent:a,mutationAsyncAction:i,...Fb}),hB=({DefaultContent:a=z_,Dialog:i=dB,mutationAsyncAction:c=U_,...s})=>_.jsx(zD,{...s,DefaultContent:a,Dialog:i,mutationAsyncAction:c,...Fb}),pB=({DefaultContent:a=z_,mutationAsyncAction:i=U_,...c})=>_.jsx(c5,{...c,DefaultContent:a,mutationAsyncAction:i,...Fb}),L_=ZD,B_=Q5,H_={oneOfRoles:["superadmin"],mode:"absolute"},mB=({mutationAsyncAction:a=B_,DefaultContent:i=L_,Dialog:c=yB,vectorItemsURI:s=Jb,onOk:h,...p})=>_.jsx(LD,{...p,DefaultContent:i,Dialog:c,mutationAsyncAction:a,vectorItemsURI:s,onOk:h,...H_}),yB=({mutationAsyncAction:a=B_,DefaultContent:i=L_,vectorItemsURI:c=Jb,...s})=>_.jsx(f5,{...s,DefaultContent:i,mutationAsyncAction:a,vectorItemsURI:c,...H_}),gB=({mutationAsyncAction:a=B_,DefaultContent:i=L_,vectorItemsURI:c=Jb,...s})=>_.jsx(d5,{...s,DefaultContent:i,mutationAsyncAction:a,vectorItemsURI:c,...H_}),vB=({children:a,preserveHash:i=!0,preserveSearch:c=!0,...s})=>_.jsx(Qh,{to:D_,preserveHash:i,preserveSearch:c,...s,children:a}),bB=({item:a})=>_.jsxs(N_,{item:a,title:"Nástroje",children:[_.jsx(vB,{className:"btn btn-outline-success",children:"Stránka"}),_.jsx(fB,{className:"btn btn-outline-success",item:a,children:"Upravit"}),_.jsx(hB,{className:"btn btn-outline-success",item:a,children:"Upravit Dialog"}),_.jsx(uB,{className:"btn btn-outline-success",rbacitem:{},children:"Vytvořit nový"}),_.jsx(mB,{className:"btn btn-outline-danger",item:a,children:"Odstranit"})]}),EB=({item:a,children:i,CardCapsule:c=N_,MediumContent:s=ZD})=>_.jsx(c,{item:a,children:_.jsxs(Gr,{children:[_.jsxs(bL,{children:[_.jsx(c,{item:a,title:"Detail",children:_.jsx(s,{item:a})}),_.jsx(bB,{item:a})]}),_.jsx(EL,{children:i})]})}),FD=({item:a,onChange:i=h=>null,onBlur:c=h=>null,children:s})=>_.jsxs(_.Fragment,{children:[_.jsx(So,{id:"name",label:"Jméno",className:"form-control",value:(a==null?void 0:a.name)||"Název",onChange:i,onBlur:c}),_.jsx(So,{id:"nameEn",label:"Anglický název",className:"form-control",value:(a==null?void 0:a.nameEn)||"Anglický název",onChange:i,onBlur:c}),s]}),Kb=({queryAsyncAction:a=Z5,PageNavbar:i=()=>null,ItemLayout:c=EB,SubPage:s=null,...h})=>_.jsx(R5,{queryAsyncAction:a,PageNavbar:i,ItemLayout:c,SubPage:s,...h}),SB=({children:a,PageNavbar:i=()=>null})=>_.jsxs(_.Fragment,{children:[_.jsx(i,{}),a]}),TB=({data:a})=>_.jsx(x_,{data:a}),KD=w.createContext(null),Wh=()=>w.useContext(KD);function _B(a,i){if(!a||typeof a!="object"||Array.isArray(a))return!1;const c=Object.keys(a);return c.length===1&&c[0]===i&&Array.isArray(a[i])}function OB(a,i=[]){const c=i.filter(Boolean).filter(h=>Object.keys(h).length>0),s=[];for(const h of c)_B(h,a)?s.push(...h[a]):s.push(h);return s.length===0?{}:s.length===1?s[0]:{[a]:s}}const xB=({id:a,label:i,resetKey:c,join:s="_and",onChange:h=()=>null,children:p})=>{const y=Wh(),[v,T]=w.useState({}),[E,R]=w.useState(s),x=w.useCallback(Y=>{const{id:ne,value:ae}=Y.target;T(V=>({...V,[ne]:ae}))},[]),A=w.useMemo(()=>Object.values(v).filter(Boolean).map(ne=>!Array.isArray(ne)||ne.length===0?null:ne.length===1?ne[0]:{_and:ne}).filter(Boolean),[v]),D=A.length>1,N=w.useMemo(()=>OB(E,A),[E,A]),H=w.useMemo(()=>a?{[a]:N}:N,[a,N]);w.useEffect(()=>{h({where:H})},[H,h]),w.useEffect(()=>{if(!(y!=null&&y.handleChange))return;const Y=!H||typeof H=="object"&&Object.keys(H).length===0;return y.handleChange({target:{id:a??"__root__",value:Y?null:[H]}}),()=>{y.handleChange({target:{id:a??"__root__",value:null}})}},[y,H,a]);const L=w.useCallback(Y=>{R(Y.target.value)},[]),q=w.useCallback(()=>H,[H]),[I,F]=w.useState(0),W=w.useCallback(()=>{T({}),R(s),F(Y=>Y+1)},[s]);return _.jsx(KD.Provider,{value:{handleChange:x,readFilter:q,resetFilter:W},children:_.jsxs(nu,{title:i||a||"where",children:[D&&_.jsxs(Gr,{children:[_.jsx(un,{children:_.jsxs("label",{children:[_.jsx("input",{type:"radio",name:`join-${a??"root"}`,value:"_and",checked:E==="_and",onChange:L}),"_and"]})}),_.jsx(un,{children:_.jsxs("label",{children:[_.jsx("input",{type:"radio",name:`join-${a??"root"}`,value:"_or",checked:E==="_or",onChange:L}),"_or"]})})]}),_.jsx("div",{children:p},c??I)]})})};function RB(a){return!a||typeof a!="object"?!0:Array.isArray(a)?a.length===0:Object.keys(a).length===0}function AB(a){return JSON.stringify(a)}const CB=({onClick:a,paramName:i="where",replace:c=!0,...s})=>{const h=Wh(),[p,y]=$1(),v=w.useCallback(()=>{if(!(h!=null&&h.readFilter))throw Error("<FilterButton /> must be placed inside <Filter />");const T=new URLSearchParams(p);T.delete(i),a&&a({where:{}}),h.resetFilter&&h.resetFilter(),y(T,{replace:c})},[h,a,p,y,i,c]);return _.jsx("button",{...s,onClick:v})},DB=({onClick:a,paramName:i="where",replace:c=!0,...s})=>{const h=Wh(),[p,y]=$1(),v=w.useCallback(()=>{if(!(h!=null&&h.readFilter))throw Error("<FilterButton /> must be placed inside <Filter />");const T=h.readFilter(),E={where:T};if(a)return a(E);const R=new URLSearchParams(p);RB(T)?R.delete(i):R.set(i,AB(T)),y(R,{replace:c})},[h,a,p,y,i,c]);return _.jsx("button",{...s,onClick:v})},wB=({id:a,label:i,initialValue:c="",initialOp:s="_ilike"})=>{const h=Wh();if(!h)throw Error("<StringFilter /> must be placed inside <Filter />");const[p,y]=w.useState(s),[v,T]=w.useState(c),[E,R]=w.useState(""),[x,A]=w.useState(""),D=w.useCallback(ne=>{h.handleChange({target:{id:a,value:ne}})},[h,a]),N=w.useCallback((ne,ae)=>{if(!ae)return null;let V=ae;return ne==="_ilike"&&(V=ae.includes("%")?ae:`%${ae}%`),[{[a]:{[ne]:V}}]},[a]),H=w.useCallback((ne,ae)=>{const V=[];return ne&&V.push({[a]:{_gt:ne}}),ae&&V.push({[a]:{_lt:ae}}),V.length?V:null},[a]),L=w.useCallback(({nextOp:ne=p,nextText:ae=v,nextFrom:V=E,nextTo:Se=x})=>{D(ne==="_between"?H(V,Se):N(ne,ae))},[p,v,E,x,D,N,H]),q=w.useCallback(ne=>{const ae=ne.target.value;ae!==p&&(y(ae),L(ae==="_between"?{nextOp:ae}:{nextOp:ae}))},[p,L]),I=w.useCallback(ne=>{const ae=ne.target.value;ae!==v&&(T(ae),p!=="_between"&&L({nextText:ae}))},[p,v,L]),F=w.useCallback(ne=>{const ae=ne.target.value;ae!==E&&(R(ae),p==="_between"&&L({nextFrom:ae}))},[p,E,L]),W=w.useCallback(ne=>{const ae=ne.target.value;ae!==x&&(A(ae),p==="_between"&&L({nextTo:ae}))},[p,x,L]),Y=p==="_between";return _.jsx(nu,{title:i||a,children:_.jsxs(Gr,{children:[_.jsx(un,{children:_.jsxs("select",{className:"form-control",value:p,onChange:q,children:[_.jsx("option",{value:"Obsahuje",children:"_ilike"}),_.jsx("option",{value:"Začíná na",children:"_startswith"}),_.jsx("option",{value:"Končí na",children:"_endswith"}),_.jsx("option",{value:"Je rovno",children:"_eq"}),_.jsx("option",{value:"Je větší než",children:"_gt"}),_.jsx("option",{value:"Je menší než",children:"_lt"}),_.jsx("option",{value:"Mezi",children:"_between"})]})}),Y?_.jsxs(_.Fragment,{children:[_.jsx(un,{children:_.jsx(So,{className:"form-control",value:E,onChange:F,placeholder:"from…"})}),_.jsx(un,{children:p==="_between"&&_.jsx(So,{className:"form-control",value:x,onChange:W,placeholder:"to…"})})]}):_.jsx(un,{children:_.jsx(So,{className:"form-control",value:v,onChange:I})})]})})};function MB(a){const i=new Date(a);return Number.isNaN(i.getTime())?null:i.toISOString()}const NB=({id:a,label:i,initialOp:c="_gte",initialValue:s="",emitUtcIso:h=!0})=>{const p=Wh();if(!p)throw Error("<DateTimeFilter /> must be placed inside <Filter />");const[y,v]=w.useState(c),[T,E]=w.useState(s),[R,x]=w.useState(""),[A,D]=w.useState(""),N=w.useCallback(V=>V?h?MB(V):V:null,[h]),H=w.useCallback(V=>{p.handleChange({target:{id:a,value:V}})},[p,a]),L=w.useCallback((V,Se)=>{const me=N(Se);return me?[{[a]:{[V]:me}}]:null},[a,N]),q=w.useCallback((V,Se)=>{const me=[],Ne=N(V),xe=N(Se);return Ne&&me.push({[a]:{_gt:Ne}}),xe&&me.push({[a]:{_lt:xe}}),me.length?me:null},[a,N]),I=w.useCallback(({nextOp:V=y,nextText:Se=T,nextFrom:me=R,nextTo:Ne=A})=>{H(V==="_between"?q(me,Ne):L(V,Se))},[y,T,R,A,H,L,q]),F=w.useCallback(V=>{const Se=V.target.value;Se!==y&&(v(Se),I({nextOp:Se}))},[y,I]),W=w.useCallback(V=>{const Se=V.target.value;Se!==T&&(E(Se),y!=="_between"&&I({nextText:Se}))},[y,T,I]),Y=w.useCallback(V=>{const Se=V.target.value;Se!==R&&(x(Se),y==="_between"&&I({nextFrom:Se}))},[y,R,I]),ne=w.useCallback(V=>{const Se=V.target.value;Se!==A&&(D(Se),y==="_between"&&I({nextTo:Se}))},[y,A,I]),ae=y==="_between";return _.jsx(nu,{title:i||a,children:_.jsxs(Gr,{children:[_.jsx(un,{children:_.jsxs("select",{className:"form-control",value:y,onChange:F,children:[_.jsx("option",{value:"_eq",children:"_eq"}),_.jsx("option",{value:"_gt",children:"_gt"}),_.jsx("option",{value:"_gte",children:"_gte"}),_.jsx("option",{value:"_lt",children:"_lt"}),_.jsx("option",{value:"_lte",children:"_lte"}),_.jsx("option",{value:"_between",children:"_between"})]})}),ae?_.jsxs(_.Fragment,{children:[_.jsx(un,{children:_.jsx(So,{className:"form-control",type:"datetime-local",value:R,onChange:Y,placeholder:"from…"})}),_.jsx(un,{children:_.jsx(So,{className:"form-control",type:"datetime-local",value:A,onChange:ne,placeholder:"to…"})})]}):_.jsx(un,{children:_.jsx(So,{className:"form-control",type:"datetime-local",value:T,onChange:W})})]})})},WD=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i,jB=({id:a,label:i,initialValue:c=""})=>{const s=Wh();if(!s)throw Error("<UUIDFilter /> must be placed inside <Filter />");const[h,p]=w.useState(c),y=w.useMemo(()=>(h??"").trim(),[h]),T=y.length===0?!0:WD.test(y),E=w.useCallback(A=>{s.handleChange({target:{id:a,value:A}})},[s,a]),R=w.useCallback(A=>{const D=(A??"").trim();if(!D){E(null);return}if(!WD.test(D)){E(null);return}E([{[a]:{_eq:D}}])},[a,E]),x=w.useCallback(A=>{const D=A.target.value;D!==h&&(p(D),R(D))},[h,R]);return _.jsx(nu,{title:i||a,children:_.jsxs(Gr,{children:[_.jsx(un,{style:{minWidth:80},children:_.jsx("span",{style:{opacity:.7},children:"(_eq)"})}),_.jsxs(un,{children:[_.jsx(So,{className:`form-control ${T?"":"is-invalid"}`,value:h,onChange:x,placeholder:"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}),!T&&_.jsx("div",{className:"invalid-feedback",style:{display:"block"},children:"Neplatné UUID. Očekávám formát 8-4-4-4-12 hex (např. 550e8400-e29b-41d4-a716-446655440000)."})]})]})})},zB=({id:a,onChange:i,children:c})=>_.jsxs(xB,{id:a,onChange:i,children:[_.jsx(jB,{id:"id"}),_.jsx(wB,{id:"name"}),_.jsx(NB,{id:"created",emitUtcIso:!1}),c]}),UB=({collapsed:a=!0,children:i,buttonLabel:c,buttonLabelCollapsed:s="Zobrazit",buttonLabelExpanded:h="Skrýt",onToggle:p,...y})=>{const[v,T]=w.useState(a);w.useEffect(()=>{T(a)},[a]);const E=w.useCallback(()=>{T(x=>{const A=!x;return p==null||p(A),A})},[p]),R=c??(v?s:h);return _.jsxs(_.Fragment,{children:[_.jsx("div",{hidden:v,"aria-hidden":v,children:i}),_.jsx("button",{type:"button",...y,onClick:E,"aria-expanded":!v,children:R})]})};function LB(a,i="where"){const c=a.get(i);if(!c)return null;try{const s=JSON.parse(c);return s&&typeof s=="object"?s:null}catch{return null}}const V_="gr_where",PD=({children:a,queryAsyncAction:i=J5})=>{const[c]=$1(),s=w.useMemo(()=>LB(c,V_),[c.toString()]),{items:h,loading:p,error:y,hasMore:v,sentinelRef:T,loadMore:E,restart:R}=tB({asyncAction:i,actionParams:{skip:0,limit:25,where:s}});return w.useEffect(()=>{R({skip:0,limit:25,where:s})},[s]),_.jsxs(SB,{children:[_.jsx(UB,{className:"form-control btn btn-outline-primary",buttonLabelCollapsed:"Zobrazit filtr",buttonLabelExpanded:"Skrýt filtr",children:_.jsxs(zB,{children:[_.jsx(DB,{className:"form-control btn btn-outline-success",paramName:V_,children:"Filtrovat"}),_.jsx(CB,{className:"form-control btn btn-warning",paramName:V_,children:"Vymazat filtr"})]})}),_.jsx(TB,{data:h}),_.jsx(au,{error:y,loading:p,text:"Nahrávám další..."}),v&&_.jsx("div",{ref:T,style:{height:80,backgroundColor:"lightgray"}}),v&&_.jsx("button",{className:"btn btn-success form-control",onClick:()=>E(),children:"Více"})]})},BB=({SubPage:a=pB,...i})=>_.jsx(Kb,{SubPage:a,...i}),HB=({...a})=>_.jsxs(Gr,{children:[_.jsx(i6,{}),_.jsx(R6,{children:_.jsx(sB,{...a})})]}),VB=({SubPage:a=HB,...i})=>_.jsx(Kb,{SubPage:a,...i}),qB=({item:a})=>{var i,c;return _.jsxs(_.Fragment,{children:[_.jsxs(N_,{item:a,title:"Program",children:[_.jsx(Jl,{label:"Název",children:(i=a==null?void 0:a.program)==null?void 0:i.name}),_.jsx(Jl,{label:"ID",children:(c=a==null?void 0:a.program)==null?void 0:c.id})]}),_.jsxs("table",{className:"table table-sm",children:[_.jsx("thead",{children:_.jsxs("tr",{children:[_.jsx("th",{children:"Pořadí"}),_.jsx("th",{children:"ID"}),_.jsx("th",{children:"Last change"})]})}),_.jsx("tbody",{children:((a==null?void 0:a.semesters)||[]).map(s=>_.jsxs("tr",{children:[_.jsx("td",{children:s.order}),_.jsx("td",{children:s.id}),_.jsx("td",{children:a.lastchange})]},s.id))})]})]})},ew=({SubPage:a=qB,...i})=>_.jsx(Kb,{SubPage:a,...i}),YB=({SubPage:a=gB,...i})=>_.jsx(Kb,{SubPage:a,...i}),kB=[{path:nB,element:_.jsx(VB,{})},{path:D_,element:_.jsx(PD,{})},{path:Zy,element:_.jsx(ew,{})},{path:XD,element:_.jsx(BB,{})},{path:iB,element:_.jsx(YB,{})},{path:D_.replace("list",":any"),element:_.jsx(PD,{})},{path:Zy.replace("view",":any"),element:_.jsx(ew,{})}],q_=()=>null,GB=({indexUrl:a,item:i,children:c,handleSearchChange:s,HomeButton:h=q_,PersonButton:p=q_,SearchBox:y=q_})=>_.jsxs(zb,{bg:"light",expand:"lg",children:[_.jsx(zb.Toggle,{"aria-controls":"basic-navbar-nav"}),_.jsx(zb.Collapse,{id:"basic-navbar-nav",children:_.jsxs(N4,{variant:"tabs",className:"align-items-center w-100 flex-column flex-lg-row",children:[_.jsx(h,{indexURL:a}),_.jsx("div",{className:"mx-auto d-flex align-items-center flex-column flex-lg-row mb-0",children:c}),_.jsx("div",{className:"d-flex flex-column flex-lg-row align-items-center ml-lg-auto",children:_.jsx(y,{handleSearchChange:s})}),_.jsx(p,{item:i})]})})]}),$B=()=>{const{id:a}=Yf(),i=J1(c=>ST(c,a))||{};return _.jsx(GB,{item:i})},QB=()=>_.jsxs(G4,{children:[_.jsx($B,{}),_.jsx(Q4,{}),_.jsx(mj,{})]}),XB=[{path:"/",element:_.jsx(QB,{}),children:[...kB,...M5]}],ZB=Yj(XB),IB=()=>_.jsx(Pj,{router:ZB}),JB="/api/gql",FB=({GQLENDPOINT:a=JB})=>_.jsx(JU,{clientOptions:{endpoint:a},children:_.jsx(IB,{})});function tw(a,i={}){if(!a)throw new Error("MyApp.mount: missing mount element");console.log("inside mount, doing to render"),xM.createRoot(a).render(_.jsx(FB,{...i})),console.log("inside mount, render finished")}return typeof window<"u"&&(window.MyApp={mount:tw}),v1.mount=tw,Object.defineProperty(v1,Symbol.toStringTag,{value:"Module"}),v1})({});