From f2edcbb41e271ec89a14ee1e2ef32635fee9583e Mon Sep 17 00:00:00 2001 From: Yiannis Christodoulou Date: Thu, 25 Sep 2025 13:18:05 +0300 Subject: [PATCH] fix: After saving chapters disable the countdown and display a message instead --- .../src/components/TimelineControls.tsx | 62 +--------- static/chapters_editor/chapters-editor.js | 114 +++++++++--------- static/chapters_editor/chapters-editor.js.map | 2 +- 3 files changed, 61 insertions(+), 117 deletions(-) diff --git a/frontend-tools/chapters-editor/client/src/components/TimelineControls.tsx b/frontend-tools/chapters-editor/client/src/components/TimelineControls.tsx index 7236f7d7..27cefa6a 100644 --- a/frontend-tools/chapters-editor/client/src/components/TimelineControls.tsx +++ b/frontend-tools/chapters-editor/client/src/components/TimelineControls.tsx @@ -167,27 +167,12 @@ const TimelineControls = ({ const autoSaveTimerRef = useRef(null); const clipSegmentsRef = useRef(clipSegments); - // Redirect timer refs - const countdownIntervalRef = useRef(null); - const redirectTimeoutRef = useRef(null); // Keep clipSegmentsRef updated useEffect(() => { clipSegmentsRef.current = clipSegments; }, [clipSegments]); - // Function to cancel redirect timers - const cancelRedirect = useCallback(() => { - if (countdownIntervalRef.current) { - clearInterval(countdownIntervalRef.current); - countdownIntervalRef.current = null; - } - if (redirectTimeoutRef.current) { - clearTimeout(redirectTimeoutRef.current); - redirectTimeoutRef.current = null; - } - logger.debug('Redirect cancelled by user'); - }, []); // Auto-save function const performAutoSave = useCallback(async () => { @@ -2498,44 +2483,6 @@ const TimelineControls = ({ } }, [redirectUrl, saveType, showSuccessModal]); - // Add a useEffect for auto-redirection - useEffect(() => { - // Clear any existing timers first - cancelRedirect(); - - if (showSuccessModal && redirectUrl) { - // Start countdown timer - let secondsLeft = 10; - - // Update the countdown every second - countdownIntervalRef.current = setInterval(() => { - secondsLeft--; - const countdownElement = document.querySelector('.countdown'); - if (countdownElement) { - countdownElement.textContent = secondsLeft.toString(); - } - - if (secondsLeft <= 0) { - if (countdownIntervalRef.current) { - clearInterval(countdownIntervalRef.current); - countdownIntervalRef.current = null; - } - } - }, 1000); - - // Set redirect timeout - redirectTimeoutRef.current = setTimeout(() => { - // Redirect to the URL - logger.debug('Automatically redirecting to:', redirectUrl); - window.location.href = redirectUrl; - }, 10000); // 10 seconds - } - - // Cleanup on unmount - return () => { - cancelRedirect(); - }; - }, [showSuccessModal, redirectUrl, cancelRedirect]); // Note: Removed the conflicting redirect effect - redirect is now handled by cancelRedirect function @@ -4480,7 +4427,6 @@ const TimelineControls = ({ { - cancelRedirect(); setShowSuccessModal(false); }} title="Video Edited Successfully" @@ -4491,13 +4437,11 @@ const TimelineControls = ({

*/}

- You will be redirected to your{' '} + Your chapters have been saved successfully!
- media page + Click here to navigate to the media page - {' in '} - 10 seconds. Your chapters have been saved - successfully. + {' '}or close this window to continue editing the chapters.

diff --git a/static/chapters_editor/chapters-editor.js b/static/chapters_editor/chapters-editor.js index f566973e..f02f312c 100644 --- a/static/chapters_editor/chapters-editor.js +++ b/static/chapters_editor/chapters-editor.js @@ -1,4 +1,4 @@ -(function(){"use strict";var cm={exports:{}},Jc={exports:{}},sl={exports:{}};sl.exports;var fm;function NS(){return fm||(fm=1,function(k,w){/** +(function(){"use strict";var cm={exports:{}},Jc={exports:{}},ll={exports:{}};ll.exports;var fm;function NS(){return fm||(fm=1,function(L,D){/** * @license React * react.development.js * @@ -6,29 +6,29 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var me="18.3.1",Le=Symbol.for("react.element"),Me=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),St=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),ne=Symbol.for("react.context"),nt=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),He=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),I=Symbol.for("react.offscreen"),fn=Symbol.iterator,Tt="@@iterator";function we(s){if(s===null||typeof s!="object")return null;var m=fn&&s[fn]||s[Tt];return typeof m=="function"?m:null}var Oe={current:null},Lt={transition:null},L={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},K={current:null},$e={},mt=null;function ht(s){mt=s}$e.setExtraStackFrame=function(s){mt=s},$e.getCurrentStack=null,$e.getStackAddendum=function(){var s="";mt&&(s+=mt);var m=$e.getCurrentStack;return m&&(s+=m()||""),s};var Qt=!1,_e=!1,re=!1,Ce=!1,ue=!1,yt={ReactCurrentDispatcher:Oe,ReactCurrentBatchConfig:Lt,ReactCurrentOwner:K};yt.ReactDebugCurrentFrame=$e,yt.ReactCurrentActQueue=L;function le(s){{for(var m=arguments.length,D=new Array(m>1?m-1:0),j=1;j1?m-1:0),j=1;j1){for(var Zt=Array(zt),en=0;en1){for(var lt=Array(en),ln=0;ln is not supported and will be removed in a future major release. Did you mean to render instead?")),m.Provider},set:function(Se){m.Provider=Se}},_currentValue:{get:function(){return m._currentValue},set:function(Se){m._currentValue=Se}},_currentValue2:{get:function(){return m._currentValue2},set:function(Se){m._currentValue2=Se}},_threadCount:{get:function(){return m._threadCount},set:function(Se){m._threadCount=Se}},Consumer:{get:function(){return D||(D=!0,A("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),m.Consumer}},displayName:{get:function(){return m.displayName},set:function(Se){q||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Se),q=!0)}}}),m.Consumer=je}return m._currentRenderer=null,m._currentRenderer2=null,m}var wa=-1,ra=0,vn=1,Qn=2;function Er(s){if(s._status===wa){var m=s._result,D=m();if(D.then(function(je){if(s._status===ra||s._status===wa){var Se=s;Se._status=vn,Se._result=je}},function(je){if(s._status===ra||s._status===wa){var Se=s;Se._status=Qn,Se._result=je}}),s._status===wa){var j=s;j._status=ra,j._result=D}}if(s._status===vn){var q=s._result;return q===void 0&&A(`lazy: Expected the result of a dynamic import() call. Instead received: %s + */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var me="18.3.1",Oe=Symbol.for("react.element"),Me=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),yt=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),ne=Symbol.for("react.context"),tt=Symbol.for("react.forward_ref"),oe=Symbol.for("react.suspense"),ze=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),W=Symbol.for("react.offscreen"),cn=Symbol.iterator,gt="@@iterator";function De(s){if(s===null||typeof s!="object")return null;var m=cn&&s[cn]||s[gt];return typeof m=="function"?m:null}var Ae={current:null},Lt={transition:null},O={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},J={current:null},Pe={},dt=null;function vt(s){dt=s}Pe.setExtraStackFrame=function(s){dt=s},Pe.getCurrentStack=null,Pe.getStackAddendum=function(){var s="";dt&&(s+=dt);var m=Pe.getCurrentStack;return m&&(s+=m()||""),s};var Yt=!1,_e=!1,re=!1,Ce=!1,ue=!1,pt={ReactCurrentDispatcher:Ae,ReactCurrentBatchConfig:Lt,ReactCurrentOwner:J};pt.ReactDebugCurrentFrame=Pe,pt.ReactCurrentActQueue=O;function le(s){{for(var m=arguments.length,k=new Array(m>1?m-1:0),N=1;N1?m-1:0),N=1;N1){for(var Gt=Array(Nt),Xt=0;Xt1){for(var it=Array(Xt),an=0;an is not supported and will be removed in a future major release. Did you mean to render instead?")),m.Provider},set:function(Se){m.Provider=Se}},_currentValue:{get:function(){return m._currentValue},set:function(Se){m._currentValue=Se}},_currentValue2:{get:function(){return m._currentValue2},set:function(Se){m._currentValue2=Se}},_threadCount:{get:function(){return m._threadCount},set:function(Se){m._threadCount=Se}},Consumer:{get:function(){return k||(k=!0,A("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),m.Consumer}},displayName:{get:function(){return m.displayName},set:function(Se){G||(le("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",Se),G=!0)}}}),m.Consumer=Ue}return m._currentRenderer=null,m._currentRenderer2=null,m}var jn=-1,Zn=0,wn=1,Aa=2;function Tr(s){if(s._status===jn){var m=s._result,k=m();if(k.then(function(Ue){if(s._status===Zn||s._status===jn){var Se=s;Se._status=wn,Se._result=Ue}},function(Ue){if(s._status===Zn||s._status===jn){var Se=s;Se._status=Aa,Se._result=Ue}}),s._status===jn){var N=s;N._status=Zn,N._result=k}}if(s._status===wn){var G=s._result;return G===void 0&&A(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: const MyComponent = lazy(() => import('./MyComponent')) -Did you accidentally put curly braces around the import?`,q),"default"in q||A(`lazy: Expected the result of a dynamic import() call. Instead received: %s +Did you accidentally put curly braces around the import?`,G),"default"in G||A(`lazy: Expected the result of a dynamic import() call. Instead received: %s Your code should look like: - const MyComponent = lazy(() => import('./MyComponent'))`,q),q.default}else throw s._result}function ja(s){var m={_status:wa,_result:s},D={$$typeof:ye,_payload:m,_init:Er};{var j,q;Object.defineProperties(D,{defaultProps:{configurable:!0,get:function(){return j},set:function(je){A("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),j=je,Object.defineProperty(D,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return q},set:function(je){A("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),q=je,Object.defineProperty(D,"propTypes",{enumerable:!0})}}})}return D}function Cr(s){s!=null&&s.$$typeof===Q?A("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?A("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&A("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&A("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var m={$$typeof:nt,render:s};{var D;Object.defineProperty(m,"displayName",{enumerable:!1,configurable:!0,get:function(){return D},set:function(j){D=j,!s.name&&!s.displayName&&(s.displayName=j)}})}return m}var h;h=Symbol.for("react.module.reference");function B(s){return!!(typeof s=="string"||typeof s=="function"||s===X||s===St||ue||s===c||s===oe||s===He||Ce||s===I||Qt||_e||re||typeof s=="object"&&s!==null&&(s.$$typeof===ye||s.$$typeof===Q||s.$$typeof===he||s.$$typeof===ne||s.$$typeof===nt||s.$$typeof===h||s.getModuleId!==void 0))}function ae(s,m){B(s)||A("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var D={$$typeof:Q,type:s,compare:m===void 0?null:m};{var j;Object.defineProperty(D,"displayName",{enumerable:!1,configurable:!0,get:function(){return j},set:function(q){j=q,!s.name&&!s.displayName&&(s.displayName=q)}})}return D}function fe(){var s=Oe.current;return s===null&&A(`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: + const MyComponent = lazy(() => import('./MyComponent'))`,G),G.default}else throw s._result}function Er(s){var m={_status:jn,_result:s},k={$$typeof:ye,_payload:m,_init:Tr};{var N,G;Object.defineProperties(k,{defaultProps:{configurable:!0,get:function(){return N},set:function(Ue){A("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),N=Ue,Object.defineProperty(k,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return G},set:function(Ue){A("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),G=Ue,Object.defineProperty(k,"propTypes",{enumerable:!0})}}})}return k}function Cr(s){s!=null&&s.$$typeof===Q?A("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?A("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&A("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&(s.defaultProps!=null||s.propTypes!=null)&&A("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var m={$$typeof:tt,render:s};{var k;Object.defineProperty(m,"displayName",{enumerable:!1,configurable:!0,get:function(){return k},set:function(N){k=N,!s.name&&!s.displayName&&(s.displayName=N)}})}return m}var h;h=Symbol.for("react.module.reference");function $(s){return!!(typeof s=="string"||typeof s=="function"||s===X||s===yt||ue||s===c||s===oe||s===ze||Ce||s===W||Yt||_e||re||typeof s=="object"&&s!==null&&(s.$$typeof===ye||s.$$typeof===Q||s.$$typeof===he||s.$$typeof===ne||s.$$typeof===tt||s.$$typeof===h||s.getModuleId!==void 0))}function ae(s,m){$(s)||A("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s);var k={$$typeof:Q,type:s,compare:m===void 0?null:m};{var N;Object.defineProperty(k,"displayName",{enumerable:!1,configurable:!0,get:function(){return N},set:function(G){N=G,!s.name&&!s.displayName&&(s.displayName=G)}})}return k}function pe(){var s=Ae.current;return s===null&&A(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: 1. You might have mismatching versions of React and the renderer (such as React DOM) 2. You might be breaking the Rules of Hooks 3. You might have more than one copy of React in the same app -See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function Ze(s){var m=fe();if(s._context!==void 0){var D=s._context;D.Consumer===s?A("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):D.Provider===s&&A("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(s)}function Ie(s){var m=fe();return m.useState(s)}function at(s,m,D){var j=fe();return j.useReducer(s,m,D)}function v(s){var m=fe();return m.useRef(s)}function N(s,m){var D=fe();return D.useEffect(s,m)}function E(s,m){var D=fe();return D.useInsertionEffect(s,m)}function b(s,m){var D=fe();return D.useLayoutEffect(s,m)}function S(s,m){var D=fe();return D.useCallback(s,m)}function O(s,m){var D=fe();return D.useMemo(s,m)}function T(s,m,D){var j=fe();return j.useImperativeHandle(s,m,D)}function z(s,m){{var D=fe();return D.useDebugValue(s,m)}}function M(){var s=fe();return s.useTransition()}function J(s){var m=fe();return m.useDeferredValue(s)}function ct(){var s=fe();return s.useId()}function te(s,m,D){var j=fe();return j.useSyncExternalStore(s,m,D)}var et=0,jt,bt,hn,xr,Ua,Vn,Rr;function En(){}En.__reactDisabledLog=!0;function Wt(){{if(et===0){jt=console.log,bt=console.info,hn=console.warn,xr=console.error,Ua=console.group,Vn=console.groupCollapsed,Rr=console.groupEnd;var s={configurable:!0,enumerable:!0,value:En,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}et++}}function Cn(){{if(et--,et===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ot({},s,{value:jt}),info:Ot({},s,{value:bt}),warn:Ot({},s,{value:hn}),error:Ot({},s,{value:xr}),group:Ot({},s,{value:Ua}),groupCollapsed:Ot({},s,{value:Vn}),groupEnd:Ot({},s,{value:Rr})})}et<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ha=yt.ReactCurrentDispatcher,wr;function Dr(s,m,D){{if(wr===void 0)try{throw Error()}catch(q){var j=q.stack.trim().match(/\n( *(at )?)/);wr=j&&j[1]||""}return` -`+wr+s}}var ia=!1,ha;{var ai=typeof WeakMap=="function"?WeakMap:Map;ha=new ai}function so(s,m){if(!s||ia)return"";{var D=ha.get(s);if(D!==void 0)return D}var j;ia=!0;var q=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var je;je=Ha.current,Ha.current=null,Wt();try{if(m){var Se=function(){throw Error()};if(Object.defineProperty(Se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Se,[])}catch(yn){j=yn}Reflect.construct(s,[],Se)}else{try{Se.call()}catch(yn){j=yn}s.call(Se.prototype)}}else{try{throw Error()}catch(yn){j=yn}s()}}catch(yn){if(yn&&j&&typeof yn.stack=="string"){for(var We=yn.stack.split(` -`),ft=j.stack.split(` -`),zt=We.length-1,Zt=ft.length-1;zt>=1&&Zt>=0&&We[zt]!==ft[Zt];)Zt--;for(;zt>=1&&Zt>=0;zt--,Zt--)if(We[zt]!==ft[Zt]){if(zt!==1||Zt!==1)do if(zt--,Zt--,Zt<0||We[zt]!==ft[Zt]){var en=` -`+We[zt].replace(" at new "," at ");return s.displayName&&en.includes("")&&(en=en.replace("",s.displayName)),typeof s=="function"&&ha.set(s,en),en}while(zt>=1&&Zt>=0);break}}}finally{ia=!1,Ha.current=je,Cn(),Error.prepareStackTrace=q}var lt=s?s.displayName||s.name:"",ln=lt?Dr(lt):"";return typeof s=="function"&&ha.set(s,ln),ln}function pn(s,m,D){return so(s,!1)}function Ut(s){var m=s.prototype;return!!(m&&m.isReactComponent)}function ya(s,m,D){if(s==null)return"";if(typeof s=="function")return so(s,Ut(s));if(typeof s=="string")return Dr(s);switch(s){case oe:return Dr("Suspense");case He:return Dr("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case nt:return pn(s.render);case Q:return ya(s.type,m,D);case ye:{var j=s,q=j._payload,je=j._init;try{return ya(je(q),m,D)}catch{}}}return""}var za={},_r=yt.ReactDebugCurrentFrame;function wt(s){if(s){var m=s._owner,D=ya(s.type,s._source,m?m.type:null);_r.setExtraStackFrame(D)}else _r.setExtraStackFrame(null)}function nf(s,m,D,j,q){{var je=Function.call.bind(Je);for(var Se in s)if(je(s,Se)){var We=void 0;try{if(typeof s[Se]!="function"){var ft=Error((j||"React class")+": "+D+" type `"+Se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[Se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ft.name="Invariant Violation",ft}We=s[Se](m,Se,j,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(zt){We=zt}We&&!(We instanceof Error)&&(wt(q),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",j||"React class",D,Se,typeof We),wt(null)),We instanceof Error&&!(We.message in za)&&(za[We.message]=!0,wt(q),A("Failed %s type: %s",D,We.message),wt(null))}}}function kr(s){if(s){var m=s._owner,D=ya(s.type,s._source,m?m.type:null);ht(D)}else ht(null)}var Xe;Xe=!1;function fl(){if(K.current){var s=it(K.current.type);if(s)return` +See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function p(s){var m=pe();if(s._context!==void 0){var k=s._context;k.Consumer===s?A("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):k.Provider===s&&A("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return m.useContext(s)}function R(s){var m=pe();return m.useState(s)}function T(s,m,k){var N=pe();return N.useReducer(s,m,k)}function y(s){var m=pe();return m.useRef(s)}function E(s,m){var k=pe();return k.useEffect(s,m)}function _(s,m){var k=pe();return k.useInsertionEffect(s,m)}function S(s,m){var k=pe();return k.useLayoutEffect(s,m)}function V(s,m){var k=pe();return k.useCallback(s,m)}function B(s,m){var k=pe();return k.useMemo(s,m)}function K(s,m,k){var N=pe();return N.useImperativeHandle(s,m,k)}function Le(s,m){{var k=pe();return k.useDebugValue(s,m)}}function F(){var s=pe();return s.useTransition()}function Ke(s){var m=pe();return m.useDeferredValue(s)}function kt(){var s=pe();return s.useId()}function bt(s,m,k){var N=pe();return N.useSyncExternalStore(s,m,k)}var rn=0,xr,Na,Dn,or,_n,$t,Ea;function Pa(){}Pa.__reactDisabledLog=!0;function lo(){{if(rn===0){xr=console.log,Na=console.info,Dn=console.warn,or=console.error,_n=console.group,$t=console.groupCollapsed,Ea=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Pa,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}rn++}}function Ca(){{if(rn--,rn===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ot({},s,{value:xr}),info:Ot({},s,{value:Na}),warn:Ot({},s,{value:Dn}),error:Ot({},s,{value:or}),group:Ot({},s,{value:_n}),groupCollapsed:Ot({},s,{value:$t}),groupEnd:Ot({},s,{value:Ea})})}rn<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ea=pt.ReactCurrentDispatcher,Wn;function Rr(s,m,k){{if(Wn===void 0)try{throw Error()}catch(G){var N=G.stack.trim().match(/\n( *(at )?)/);Wn=N&&N[1]||""}return` +`+Wn+s}}var wr=!1,ln;{var xt=typeof WeakMap=="function"?WeakMap:Map;ln=new xt}function Ya(s,m){if(!s||wr)return"";{var k=ln.get(s);if(k!==void 0)return k}var N;wr=!0;var G=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ue;Ue=ea.current,ea.current=null,lo();try{if(m){var Se=function(){throw Error()};if(Object.defineProperty(Se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Se,[])}catch(dn){N=dn}Reflect.construct(s,[],Se)}else{try{Se.call()}catch(dn){N=dn}s.call(Se.prototype)}}else{try{throw Error()}catch(dn){N=dn}s()}}catch(dn){if(dn&&N&&typeof dn.stack=="string"){for(var We=dn.stack.split(` +`),ut=N.stack.split(` +`),Nt=We.length-1,Gt=ut.length-1;Nt>=1&&Gt>=0&&We[Nt]!==ut[Gt];)Gt--;for(;Nt>=1&&Gt>=0;Nt--,Gt--)if(We[Nt]!==ut[Gt]){if(Nt!==1||Gt!==1)do if(Nt--,Gt--,Gt<0||We[Nt]!==ut[Gt]){var Xt=` +`+We[Nt].replace(" at new "," at ");return s.displayName&&Xt.includes("")&&(Xt=Xt.replace("",s.displayName)),typeof s=="function"&&ln.set(s,Xt),Xt}while(Nt>=1&&Gt>=0);break}}}finally{wr=!1,ea.current=Ue,Ca(),Error.prepareStackTrace=G}var it=s?s.displayName||s.name:"",an=it?Rr(it):"";return typeof s=="function"&&ln.set(s,an),an}function xa(s,m,k){return Ya(s,!1)}function Di(s){var m=s.prototype;return!!(m&&m.isReactComponent)}function _i(s,m,k){if(s==null)return"";if(typeof s=="function")return Ya(s,Di(s));if(typeof s=="string")return Rr(s);switch(s){case oe:return Rr("Suspense");case ze:return Rr("SuspenseList")}if(typeof s=="object")switch(s.$$typeof){case tt:return xa(s.render);case Q:return _i(s.type,m,k);case ye:{var N=s,G=N._payload,Ue=N._init;try{return _i(Ue(G),m,k)}catch{}}}return""}var qu={},sl=pt.ReactDebugCurrentFrame;function Rt(s){if(s){var m=s._owner,k=_i(s.type,s._source,m?m.type:null);sl.setExtraStackFrame(k)}else sl.setExtraStackFrame(null)}function nf(s,m,k,N,G){{var Ue=Function.call.bind(Ze);for(var Se in s)if(Ue(s,Se)){var We=void 0;try{if(typeof s[Se]!="function"){var ut=Error((N||"React class")+": "+k+" type `"+Se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[Se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ut.name="Invariant Violation",ut}We=s[Se](m,Se,N,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Nt){We=Nt}We&&!(We instanceof Error)&&(Rt(G),A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",N||"React class",k,Se,typeof We),Rt(null)),We instanceof Error&&!(We.message in qu)&&(qu[We.message]=!0,Rt(G),A("Failed %s type: %s",k,We.message),Rt(null))}}}function Dr(s){if(s){var m=s._owner,k=_i(s.type,s._source,m?m.type:null);vt(k)}else vt(null)}var Ge;Ge=!1;function cl(){if(J.current){var s=at(J.current.type);if(s)return` -Check the render method of \``+s+"`."}return""}function oa(s){if(s!==void 0){var m=s.fileName.replace(/^.*[\\\/]/,""),D=s.lineNumber;return` +Check the render method of \``+s+"`."}return""}function ta(s){if(s!==void 0){var m=s.fileName.replace(/^.*[\\\/]/,""),k=s.lineNumber;return` -Check your code at `+m+":"+D+"."}return""}function Li(s){return s!=null?oa(s.__source):""}var ri={};function af(s){var m=fl();if(!m){var D=typeof s=="string"?s:s.displayName||s.name;D&&(m=` +Check your code at `+m+":"+k+"."}return""}function ki(s){return s!=null?ta(s.__source):""}var ei={};function af(s){var m=cl();if(!m){var k=typeof s=="string"?s:s.displayName||s.name;k&&(m=` -Check the top-level render call using <`+D+">.")}return m}function An(s,m){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var D=af(m);if(!ri[D]){ri[D]=!0;var j="";s&&s._owner&&s._owner!==K.current&&(j=" It was passed a child from "+it(s._owner.type)+"."),kr(s),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,j),kr(null)}}}function on(s,m){if(typeof s=="object"){if(nn(s))for(var D=0;D",q=" Did you accidentally export a JSX literal instead of a component?"):Se=typeof s,A("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Se,q)}var We=Ge.apply(this,arguments);if(We==null)return We;if(j)for(var ft=2;ft10&&le("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."),j._updatedFibers.clear()}}}var vl=!1,co=null;function of(s){if(co===null)try{var m=("require"+Math.random()).slice(0,7),D=k&&k[m];co=D.call(k,"timers").setImmediate}catch{co=function(q){vl===!1&&(vl=!0,typeof MessageChannel>"u"&&A("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 je=new MessageChannel;je.port1.onmessage=q,je.port2.postMessage(void 0)}}return co(s)}var ii=0,Oi=!1;function pl(s){{var m=ii;ii++,L.current===null&&(L.current=[]);var D=L.isBatchingLegacy,j;try{if(L.isBatchingLegacy=!0,j=s(),!D&&L.didScheduleLegacyUpdate){var q=L.current;q!==null&&(L.didScheduleLegacyUpdate=!1,po(q))}}catch(lt){throw Mr(m),lt}finally{L.isBatchingLegacy=D}if(j!==null&&typeof j=="object"&&typeof j.then=="function"){var je=j,Se=!1,We={then:function(lt,ln){Se=!0,je.then(function(yn){Mr(m),ii===0?fo(yn,lt,ln):lt(yn)},function(yn){Mr(m),ln(yn)})}};return!Oi&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Se||(Oi=!0,A("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 () => ...);"))}),We}else{var ft=j;if(Mr(m),ii===0){var zt=L.current;zt!==null&&(po(zt),L.current=null);var Zt={then:function(lt,ln){L.current===null?(L.current=[],fo(ft,lt,ln)):lt(ft)}};return Zt}else{var en={then:function(lt,ln){lt(ft)}};return en}}}}function Mr(s){s!==ii-1&&A("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ii=s}function fo(s,m,D){{var j=L.current;if(j!==null)try{po(j),of(function(){j.length===0?(L.current=null,m(s)):fo(s,m,D)})}catch(q){D(q)}else m(s)}}var vo=!1;function po(s){if(!vo){vo=!0;var m=0;try{for(;m.")}return m}function kn(s,m){if(!(!s._store||s._store.validated||s.key!=null)){s._store.validated=!0;var k=af(m);if(!ei[k]){ei[k]=!0;var N="";s&&s._owner&&s._owner!==J.current&&(N=" It was passed a child from "+at(s._owner.type)+"."),Dr(s),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,N),Dr(null)}}}function nn(s,m){if(typeof s=="object"){if(Kt(s))for(var k=0;k",G=" Did you accidentally export a JSX literal instead of a component?"):Se=typeof s,A("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Se,G)}var We=Qe.apply(this,arguments);if(We==null)return We;if(N)for(var ut=2;ut10&&le("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."),N._updatedFibers.clear()}}}var dl=!1,uo=null;function of(s){if(uo===null)try{var m=("require"+Math.random()).slice(0,7),k=L&&L[m];uo=k.call(L,"timers").setImmediate}catch{uo=function(G){dl===!1&&(dl=!0,typeof MessageChannel>"u"&&A("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 Ue=new MessageChannel;Ue.port1.onmessage=G,Ue.port2.postMessage(void 0)}}return uo(s)}var ti=0,Mi=!1;function vl(s){{var m=ti;ti++,O.current===null&&(O.current=[]);var k=O.isBatchingLegacy,N;try{if(O.isBatchingLegacy=!0,N=s(),!k&&O.didScheduleLegacyUpdate){var G=O.current;G!==null&&(O.didScheduleLegacyUpdate=!1,fo(G))}}catch(it){throw _r(m),it}finally{O.isBatchingLegacy=k}if(N!==null&&typeof N=="object"&&typeof N.then=="function"){var Ue=N,Se=!1,We={then:function(it,an){Se=!0,Ue.then(function(dn){_r(m),ti===0?so(dn,it,an):it(dn)},function(dn){_r(m),an(dn)})}};return!Mi&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){Se||(Mi=!0,A("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 () => ...);"))}),We}else{var ut=N;if(_r(m),ti===0){var Nt=O.current;Nt!==null&&(fo(Nt),O.current=null);var Gt={then:function(it,an){O.current===null?(O.current=[],so(ut,it,an)):it(ut)}};return Gt}else{var Xt={then:function(it,an){it(ut)}};return Xt}}}}function _r(s){s!==ti-1&&A("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),ti=s}function so(s,m,k){{var N=O.current;if(N!==null)try{fo(N),of(function(){N.length===0?(O.current=null,m(s)):so(s,m,k)})}catch(G){k(G)}else m(s)}}var co=!1;function fo(s){if(!co){co=!0;var m=0;try{for(;m.")}return m}function An(s,m){if(!( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */return function(){var k=Zc(),w=Symbol.for("react.element"),me=Symbol.for("react.portal"),Le=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),St=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),nt=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),He=Symbol.for("react.lazy"),Q=Symbol.for("react.offscreen"),ye=Symbol.iterator,I="@@iterator";function fn(h){if(h===null||typeof h!="object")return null;var B=ye&&h[ye]||h[I];return typeof B=="function"?B:null}var Tt=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function we(h){{for(var B=arguments.length,ae=new Array(B>1?B-1:0),fe=1;fe=1&&b>=0&&v[E]!==N[b];)b--;for(;E>=1&&b>=0;E--,b--)if(v[E]!==N[b]){if(E!==1||b!==1)do if(E--,b--,b<0||v[E]!==N[b]){var S=` -`+v[E].replace(" at new "," at ");return h.displayName&&S.includes("")&&(S=S.replace("",h.displayName)),typeof h=="function"&>.set(h,S),S}while(E>=1&&b>=0);break}}}finally{Kt=!1,Ke.current=Ie,Fe(),Error.prepareStackTrace=Ze}var O=h?h.displayName||h.name:"",T=O?rt(O):"";return typeof h=="function"&>.set(h,T),T}function nn(h,B,ae){return Tn(h,!1)}function zn(h){var B=h.prototype;return!!(B&&B.isReactComponent)}function V(h,B,ae){if(h==null)return"";if(typeof h=="function")return Tn(h,zn(h));if(typeof h=="string")return rt(h);switch(h){case ne:return rt("Suspense");case nt:return rt("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case he:return nn(h.render);case oe:return V(h.type,B,ae);case He:{var fe=h,Ze=fe._payload,Ie=fe._init;try{return V(Ie(Ze),B,ae)}catch{}}}return""}var ee=Object.prototype.hasOwnProperty,Te={},Ee=Tt.ReactDebugCurrentFrame;function Be(h){if(h){var B=h._owner,ae=V(h.type,h._source,B?B.type:null);Ee.setExtraStackFrame(ae)}else Ee.setExtraStackFrame(null)}function it(h,B,ae,fe,Ze){{var Ie=Function.call.bind(ee);for(var at in h)if(Ie(h,at)){var v=void 0;try{if(typeof h[at]!="function"){var N=Error((fe||"React class")+": "+ae+" type `"+at+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[at]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw N.name="Invariant Violation",N}v=h[at](B,at,fe,ae,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(E){v=E}v&&!(v instanceof Error)&&(Be(Ze),we("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",fe||"React class",ae,at,typeof v),Be(null)),v instanceof Error&&!(v.message in Te)&&(Te[v.message]=!0,Be(Ze),we("Failed %s type: %s",ae,v.message),Be(null))}}}var Je=Array.isArray;function Re(h){return Je(h)}function ot(h){{var B=typeof Symbol=="function"&&Symbol.toStringTag,ae=B&&h[Symbol.toStringTag]||h.constructor.name||"Object";return ae}}function Rt(h){try{return At(h),!1}catch{return!0}}function At(h){return""+h}function $t(h){if(Rt(h))return we("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ot(h)),At(h)}var Pt=Tt.ReactCurrentOwner,dn={key:!0,ref:!0,__self:!0,__source:!0},xa,G;function De(h){if(ee.call(h,"ref")){var B=Object.getOwnPropertyDescriptor(h,"ref").get;if(B&&B.isReactWarning)return!1}return h.ref!==void 0}function Ge(h){if(ee.call(h,"key")){var B=Object.getOwnPropertyDescriptor(h,"key").get;if(B&&B.isReactWarning)return!1}return h.key!==void 0}function kt(h,B){typeof h.ref=="string"&&Pt.current}function Nt(h,B){{var ae=function(){xa||(xa=!0,we("%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://reactjs.org/link/special-props)",B))};ae.isReactWarning=!0,Object.defineProperty(h,"key",{get:ae,configurable:!0})}}function Yt(h,B){{var ae=function(){G||(G=!0,we("%s: `ref` 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://reactjs.org/link/special-props)",B))};ae.isReactWarning=!0,Object.defineProperty(h,"ref",{get:ae,configurable:!0})}}var Jt=function(h,B,ae,fe,Ze,Ie,at){var v={$$typeof:w,type:h,key:B,ref:ae,props:at,_owner:Ie};return v._store={},Object.defineProperty(v._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(v,"_self",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.defineProperty(v,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ze}),Object.freeze&&(Object.freeze(v.props),Object.freeze(v)),v};function On(h,B,ae,fe,Ze){{var Ie,at={},v=null,N=null;ae!==void 0&&($t(ae),v=""+ae),Ge(B)&&($t(B.key),v=""+B.key),De(B)&&(N=B.ref,kt(B,Ze));for(Ie in B)ee.call(B,Ie)&&!dn.hasOwnProperty(Ie)&&(at[Ie]=B[Ie]);if(h&&h.defaultProps){var E=h.defaultProps;for(Ie in E)at[Ie]===void 0&&(at[Ie]=E[Ie])}if(v||N){var b=typeof h=="function"?h.displayName||h.name||"Unknown":h;v&&Nt(at,b),N&&Yt(at,b)}return Jt(h,v,N,Ze,fe,Pt.current,at)}}var Ht=Tt.ReactCurrentOwner,Gt=Tt.ReactDebugCurrentFrame;function It(h){if(h){var B=h._owner,ae=V(h.type,h._source,B?B.type:null);Gt.setExtraStackFrame(ae)}else Gt.setExtraStackFrame(null)}var lr;lr=!1;function aa(h){return typeof h=="object"&&h!==null&&h.$$typeof===w}function Fn(){{if(Ht.current){var h=Ce(Ht.current.type);if(h)return` + */return function(){var L=Zc(),D=Symbol.for("react.element"),me=Symbol.for("react.portal"),Oe=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),yt=Symbol.for("react.context"),he=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),tt=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),ze=Symbol.for("react.lazy"),Q=Symbol.for("react.offscreen"),ye=Symbol.iterator,W="@@iterator";function cn(h){if(h===null||typeof h!="object")return null;var $=ye&&h[ye]||h[W];return typeof $=="function"?$:null}var gt=L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function De(h){{for(var $=arguments.length,ae=new Array($>1?$-1:0),pe=1;pe<$;pe++)ae[pe-1]=arguments[pe];Ae("error",h,ae)}}function Ae(h,$,ae){{var pe=gt.ReactDebugCurrentFrame,p=pe.getStackAddendum();p!==""&&($+="%s",ae=ae.concat([p]));var R=ae.map(function(T){return String(T)});R.unshift("Warning: "+$),Function.prototype.apply.call(console[h],console,R)}}var Lt=!1,O=!1,J=!1,Pe=!1,dt=!1,vt;vt=Symbol.for("react.module.reference");function Yt(h){return!!(typeof h=="string"||typeof h=="function"||h===Oe||h===X||dt||h===Me||h===ne||h===tt||Pe||h===Q||Lt||O||J||typeof h=="object"&&h!==null&&(h.$$typeof===ze||h.$$typeof===oe||h.$$typeof===c||h.$$typeof===yt||h.$$typeof===he||h.$$typeof===vt||h.getModuleId!==void 0))}function _e(h,$,ae){var pe=h.displayName;if(pe)return pe;var p=$.displayName||$.name||"";return p!==""?ae+"("+p+")":ae}function re(h){return h.displayName||"Context"}function Ce(h){if(h==null)return null;if(typeof h.tag=="number"&&De("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case Oe:return"Fragment";case me:return"Portal";case X:return"Profiler";case Me:return"StrictMode";case ne:return"Suspense";case tt:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case yt:var $=h;return re($)+".Consumer";case c:var ae=h;return re(ae._context)+".Provider";case he:return _e(h,h.render,"ForwardRef");case oe:var pe=h.displayName||null;return pe!==null?pe:Ce(h.type)||"Memo";case ze:{var p=h,R=p._payload,T=p._init;try{return Ce(T(R))}catch{return null}}}return null}var ue=Object.assign,pt=0,le,A,ge,Be,lt,Et,Ot;function Vt(){}Vt.__reactDisabledLog=!0;function je(){{if(pt===0){le=console.log,A=console.info,ge=console.warn,Be=console.error,lt=console.group,Et=console.groupCollapsed,Ot=console.groupEnd;var h={configurable:!0,enumerable:!0,value:Vt,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}pt++}}function Ve(){{if(pt--,pt===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ue({},h,{value:le}),info:ue({},h,{value:A}),warn:ue({},h,{value:ge}),error:ue({},h,{value:Be}),group:ue({},h,{value:lt}),groupCollapsed:ue({},h,{value:Et}),groupEnd:ue({},h,{value:Ot})})}pt<0&&De("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Je=gt.ReactCurrentDispatcher,en;function nt(h,$,ae){{if(en===void 0)try{throw Error()}catch(p){var pe=p.stack.trim().match(/\n( *(at )?)/);en=pe&&pe[1]||""}return` +`+en+h}}var It=!1,mt;{var Xe=typeof WeakMap=="function"?WeakMap:Map;mt=new Xe}function hn(h,$){if(!h||It)return"";{var ae=mt.get(h);if(ae!==void 0)return ae}var pe;It=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var R;R=Je.current,Je.current=null,je();try{if($){var T=function(){throw Error()};if(Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(Le){pe=Le}Reflect.construct(h,[],T)}else{try{T.call()}catch(Le){pe=Le}h.call(T.prototype)}}else{try{throw Error()}catch(Le){pe=Le}h()}}catch(Le){if(Le&&pe&&typeof Le.stack=="string"){for(var y=Le.stack.split(` +`),E=pe.stack.split(` +`),_=y.length-1,S=E.length-1;_>=1&&S>=0&&y[_]!==E[S];)S--;for(;_>=1&&S>=0;_--,S--)if(y[_]!==E[S]){if(_!==1||S!==1)do if(_--,S--,S<0||y[_]!==E[S]){var V=` +`+y[_].replace(" at new "," at ");return h.displayName&&V.includes("")&&(V=V.replace("",h.displayName)),typeof h=="function"&&mt.set(h,V),V}while(_>=1&&S>=0);break}}}finally{It=!1,Je.current=R,Ve(),Error.prepareStackTrace=p}var B=h?h.displayName||h.name:"",K=B?nt(B):"";return typeof h=="function"&&mt.set(h,K),K}function Kt(h,$,ae){return hn(h,!1)}function Nn(h){var $=h.prototype;return!!($&&$.isReactComponent)}function z(h,$,ae){if(h==null)return"";if(typeof h=="function")return hn(h,Nn(h));if(typeof h=="string")return nt(h);switch(h){case ne:return nt("Suspense");case tt:return nt("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case he:return Kt(h.render);case oe:return z(h.type,$,ae);case ze:{var pe=h,p=pe._payload,R=pe._init;try{return z(R(p),$,ae)}catch{}}}return""}var te=Object.prototype.hasOwnProperty,Te={},Ee=gt.ReactDebugCurrentFrame;function $e(h){if(h){var $=h._owner,ae=z(h.type,h._source,$?$.type:null);Ee.setExtraStackFrame(ae)}else Ee.setExtraStackFrame(null)}function at(h,$,ae,pe,p){{var R=Function.call.bind(te);for(var T in h)if(R(h,T)){var y=void 0;try{if(typeof h[T]!="function"){var E=Error((pe||"React class")+": "+ae+" type `"+T+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[T]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw E.name="Invariant Violation",E}y=h[T]($,T,pe,ae,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_){y=_}y&&!(y instanceof Error)&&($e(p),De("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",pe||"React class",ae,T,typeof y),$e(null)),y instanceof Error&&!(y.message in Te)&&(Te[y.message]=!0,$e(p),De("Failed %s type: %s",ae,y.message),$e(null))}}}var Ze=Array.isArray;function we(h){return Ze(h)}function rt(h){{var $=typeof Symbol=="function"&&Symbol.toStringTag,ae=$&&h[Symbol.toStringTag]||h.constructor.name||"Object";return ae}}function _t(h){try{return ht(h),!1}catch{return!0}}function ht(h){return""+h}function Jt(h){if(_t(h))return De("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",rt(h)),ht(h)}var Wt=gt.ReactCurrentOwner,fa={key:!0,ref:!0,__self:!0,__source:!0},In,Z;function xe(h){if(te.call(h,"ref")){var $=Object.getOwnPropertyDescriptor(h,"ref").get;if($&&$.isReactWarning)return!1}return h.ref!==void 0}function Qe(h){if(te.call(h,"key")){var $=Object.getOwnPropertyDescriptor(h,"key").get;if($&&$.isReactWarning)return!1}return h.key!==void 0}function Ct(h,$){typeof h.ref=="string"&&Wt.current}function Bt(h,$){{var ae=function(){In||(In=!0,De("%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://reactjs.org/link/special-props)",$))};ae.isReactWarning=!0,Object.defineProperty(h,"key",{get:ae,configurable:!0})}}function zt(h,$){{var ae=function(){Z||(Z=!0,De("%s: `ref` 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://reactjs.org/link/special-props)",$))};ae.isReactWarning=!0,Object.defineProperty(h,"ref",{get:ae,configurable:!0})}}var tn=function(h,$,ae,pe,p,R,T){var y={$$typeof:D,type:h,key:$,ref:ae,props:T,_owner:R};return y._store={},Object.defineProperty(y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:pe}),Object.defineProperty(y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(y.props),Object.freeze(y)),y};function Rn(h,$,ae,pe,p){{var R,T={},y=null,E=null;ae!==void 0&&(Jt(ae),y=""+ae),Qe($)&&(Jt($.key),y=""+$.key),xe($)&&(E=$.ref,Ct($,p));for(R in $)te.call($,R)&&!fa.hasOwnProperty(R)&&(T[R]=$[R]);if(h&&h.defaultProps){var _=h.defaultProps;for(R in _)T[R]===void 0&&(T[R]=_[R])}if(y||E){var S=typeof h=="function"?h.displayName||h.name||"Unknown":h;y&&Bt(T,S),E&&zt(T,S)}return tn(h,y,E,p,pe,Wt.current,T)}}var qt=gt.ReactCurrentOwner,At=gt.ReactDebugCurrentFrame;function Ft(h){if(h){var $=h._owner,ae=z(h.type,h._source,$?$.type:null);At.setExtraStackFrame(ae)}else At.setExtraStackFrame(null)}var ir;ir=!1;function Sa(h){return typeof h=="object"&&h!==null&&h.$$typeof===D}function Ta(){{if(qt.current){var h=Ce(qt.current.type);if(h)return` -Check the render method of \``+h+"`."}return""}}function ur(h){return""}var Zr={};function ei(h){{var B=Fn();if(!B){var ae=typeof h=="string"?h:h.displayName||h.name;ae&&(B=` +Check the render method of \``+h+"`."}return""}}function da(h){return""}var Kr={};function Jr(h){{var $=Ta();if(!$){var ae=typeof h=="string"?h:h.displayName||h.name;ae&&($=` -Check the top-level render call using <`+ae+">.")}return B}}function Ra(h,B){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var ae=ei(B);if(Zr[ae])return;Zr[ae]=!0;var fe="";h&&h._owner&&h._owner!==Ht.current&&(fe=" It was passed a child from "+Ce(h._owner.type)+"."),It(h),we('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ae,fe),It(null)}}function ti(h,B){{if(typeof h!="object")return;if(Re(h))for(var ae=0;ae",v=" Did you accidentally export a JSX literal instead of a component?"):E=typeof h,we("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",E,v)}var b=On(h,B,ae,Ze,Ie);if(b==null)return b;if(at){var S=B.children;if(S!==void 0)if(fe)if(Re(S)){for(var O=0;O0?"{key: someKey, "+z.join(": ..., ")+": ...}":"{key: someKey}";if(!ra[T+M]){var J=z.length>0?"{"+z.join(": ..., ")+": ...}":"{}";we(`A props object containing a "key" prop is being spread into JSX: +Check the top-level render call using <`+ae+">.")}return $}}function Sr(h,$){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var ae=Jr($);if(Kr[ae])return;Kr[ae]=!0;var pe="";h&&h._owner&&h._owner!==qt.current&&(pe=" It was passed a child from "+Ce(h._owner.type)+"."),Ft(h),De('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ae,pe),Ft(null)}}function Zr(h,$){{if(typeof h!="object")return;if(we(h))for(var ae=0;ae",y=" Did you accidentally export a JSX literal instead of a component?"):_=typeof h,De("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,y)}var S=Rn(h,$,ae,p,R);if(S==null)return S;if(T){var V=$.children;if(V!==void 0)if(pe)if(we(V)){for(var B=0;B0?"{key: someKey, "+Le.join(": ..., ")+": ...}":"{key: someKey}";if(!Zn[K+F]){var Ke=Le.length>0?"{"+Le.join(": ..., ")+": ...}":"{}";De(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; - <%s key={someKey} {...props} />`,M,T,J,T),ra[T+M]=!0}}return h===Le?wa(b):ni(b),b}}function Qn(h,B,ae){return vn(h,B,ae,!0)}function Er(h,B,ae){return vn(h,B,ae,!1)}var ja=Er,Cr=Qn;cl.Fragment=Le,cl.jsx=ja,cl.jsxs=Cr}(),cl}cm.exports=jS();var p=cm.exports,pm={exports:{}},ef={exports:{}},tf={},mm;function US(){return mm||(mm=1,function(k){/** + <%s key={someKey} {...props} />`,F,K,Ke,K),Zn[K+F]=!0}}return h===Oe?jn(S):va(S),S}}function Aa(h,$,ae){return wn(h,$,ae,!0)}function Tr(h,$,ae){return wn(h,$,ae,!1)}var Er=Tr,Cr=Aa;ul.Fragment=Oe,ul.jsx=Er,ul.jsxs=Cr}(),ul}cm.exports=jS();var v=cm.exports,pm={exports:{}},ef={exports:{}},tf={},mm;function US(){return mm||(mm=1,function(L){/** * @license React * scheduler.development.js * @@ -57,7 +57,7 @@ React keys must be passed directly to JSX without using spread: * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var w=!1,me=5;function Le(G,De){var Ge=G.length;G.push(De),c(G,De,Ge)}function Me(G){return G.length===0?null:G[0]}function X(G){if(G.length===0)return null;var De=G[0],Ge=G.pop();return Ge!==De&&(G[0]=Ge,St(G,Ge,0)),De}function c(G,De,Ge){for(var kt=Ge;kt>0;){var Nt=kt-1>>>1,Yt=G[Nt];if(he(Yt,De)>0)G[Nt]=De,G[kt]=Yt,kt=Nt;else return}}function St(G,De,Ge){for(var kt=Ge,Nt=G.length,Yt=Nt>>>1;ktGe&&(!G||Ee()));){var kt=re.callback;if(typeof kt=="function"){re.callback=null,Ce=re.priorityLevel;var Nt=re.expirationTime<=Ge,Yt=kt(Nt);Ge=k.unstable_now(),typeof Yt=="function"?re.callback=Yt:re===Me(ht)&&X(ht),st(Ge)}else X(ht);re=Me(ht)}if(re!==null)return!0;var Jt=Me(Qt);return Jt!==null&&$t(xt,Jt.startTime-Ge),!1}function Ne(G,De){switch(G){case ne:case nt:case oe:case He:case Q:break;default:G=oe}var Ge=Ce;Ce=G;try{return De()}finally{Ce=Ge}}function Fe(G){var De;switch(Ce){case ne:case nt:case oe:De=oe;break;default:De=Ce;break}var Ge=Ce;Ce=De;try{return G()}finally{Ce=Ge}}function Ke(G){var De=Ce;return function(){var Ge=Ce;Ce=De;try{return G.apply(this,arguments)}finally{Ce=Ge}}}function rn(G,De,Ge){var kt=k.unstable_now(),Nt;if(typeof Ge=="object"&&Ge!==null){var Yt=Ge.delay;typeof Yt=="number"&&Yt>0?Nt=kt+Yt:Nt=kt}else Nt=kt;var Jt;switch(G){case ne:Jt=Lt;break;case nt:Jt=L;break;case Q:Jt=mt;break;case He:Jt=$e;break;case oe:default:Jt=K;break}var On=Nt+Jt,Ht={id:_e++,callback:De,priorityLevel:G,startTime:Nt,expirationTime:On,sortIndex:-1};return Nt>kt?(Ht.sortIndex=Nt,Le(Qt,Ht),Me(ht)===null&&Ht===Me(Qt)&&(le?Pt():le=!0,$t(xt,Nt-kt))):(Ht.sortIndex=On,Le(ht,Ht),!yt&&!ue&&(yt=!0,At(Ot))),Ht}function rt(){}function Kt(){!yt&&!ue&&(yt=!0,At(Ot))}function gt(){return Me(ht)}function Qe(G){G.callback=null}function Tn(){return Ce}var nn=!1,zn=null,V=-1,ee=me,Te=-1;function Ee(){var G=k.unstable_now()-Te;return!(G125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}G>0?ee=Math.floor(1e3/G):ee=me}var Je=function(){if(zn!==null){var G=k.unstable_now();Te=G;var De=!0,Ge=!0;try{Ge=zn(De,G)}finally{Ge?Re():(nn=!1,zn=null)}}else nn=!1},Re;if(typeof Ve=="function")Re=function(){Ve(Je)};else if(typeof MessageChannel<"u"){var ot=new MessageChannel,Rt=ot.port2;ot.port1.onmessage=Je,Re=function(){Rt.postMessage(null)}}else Re=function(){A(Je,0)};function At(G){zn=G,nn||(nn=!0,Re())}function $t(G,De){V=A(function(){G(k.unstable_now())},De)}function Pt(){ge(V),V=-1}var dn=Be,xa=null;k.unstable_IdlePriority=Q,k.unstable_ImmediatePriority=ne,k.unstable_LowPriority=He,k.unstable_NormalPriority=oe,k.unstable_Profiling=xa,k.unstable_UserBlockingPriority=nt,k.unstable_cancelCallback=Qe,k.unstable_continueExecution=Kt,k.unstable_forceFrameRate=it,k.unstable_getCurrentPriorityLevel=Tn,k.unstable_getFirstCallbackNode=gt,k.unstable_next=Fe,k.unstable_pauseExecution=rt,k.unstable_requestPaint=dn,k.unstable_runWithPriority=Ne,k.unstable_scheduleCallback=rn,k.unstable_shouldYield=Ee,k.unstable_wrapCallback=Ke,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()}(tf)),tf}var hm;function HS(){return hm||(hm=1,ef.exports=US()),ef.exports}var ma={},ym;function zS(){if(ym)return ma;ym=1;/** + */(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var D=!1,me=5;function Oe(Z,xe){var Qe=Z.length;Z.push(xe),c(Z,xe,Qe)}function Me(Z){return Z.length===0?null:Z[0]}function X(Z){if(Z.length===0)return null;var xe=Z[0],Qe=Z.pop();return Qe!==xe&&(Z[0]=Qe,yt(Z,Qe,0)),xe}function c(Z,xe,Qe){for(var Ct=Qe;Ct>0;){var Bt=Ct-1>>>1,zt=Z[Bt];if(he(zt,xe)>0)Z[Bt]=xe,Z[Ct]=zt,Ct=Bt;else return}}function yt(Z,xe,Qe){for(var Ct=Qe,Bt=Z.length,zt=Bt>>>1;CtQe&&(!Z||Ee()));){var Ct=re.callback;if(typeof Ct=="function"){re.callback=null,Ce=re.priorityLevel;var Bt=re.expirationTime<=Qe,zt=Ct(Bt);Qe=L.unstable_now(),typeof zt=="function"?re.callback=zt:re===Me(vt)&&X(vt),lt(Qe)}else X(vt);re=Me(vt)}if(re!==null)return!0;var tn=Me(Yt);return tn!==null&&Jt(Et,tn.startTime-Qe),!1}function je(Z,xe){switch(Z){case ne:case tt:case oe:case ze:case Q:break;default:Z=oe}var Qe=Ce;Ce=Z;try{return xe()}finally{Ce=Qe}}function Ve(Z){var xe;switch(Ce){case ne:case tt:case oe:xe=oe;break;default:xe=Ce;break}var Qe=Ce;Ce=xe;try{return Z()}finally{Ce=Qe}}function Je(Z){var xe=Ce;return function(){var Qe=Ce;Ce=xe;try{return Z.apply(this,arguments)}finally{Ce=Qe}}}function en(Z,xe,Qe){var Ct=L.unstable_now(),Bt;if(typeof Qe=="object"&&Qe!==null){var zt=Qe.delay;typeof zt=="number"&&zt>0?Bt=Ct+zt:Bt=Ct}else Bt=Ct;var tn;switch(Z){case ne:tn=Lt;break;case tt:tn=O;break;case Q:tn=dt;break;case ze:tn=Pe;break;case oe:default:tn=J;break}var Rn=Bt+tn,qt={id:_e++,callback:xe,priorityLevel:Z,startTime:Bt,expirationTime:Rn,sortIndex:-1};return Bt>Ct?(qt.sortIndex=Bt,Oe(Yt,qt),Me(vt)===null&&qt===Me(Yt)&&(le?Wt():le=!0,Jt(Et,Bt-Ct))):(qt.sortIndex=Rn,Oe(vt,qt),!pt&&!ue&&(pt=!0,ht(Ot))),qt}function nt(){}function It(){!pt&&!ue&&(pt=!0,ht(Ot))}function mt(){return Me(vt)}function Xe(Z){Z.callback=null}function hn(){return Ce}var Kt=!1,Nn=null,z=-1,te=me,Te=-1;function Ee(){var Z=L.unstable_now()-Te;return!(Z125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Z>0?te=Math.floor(1e3/Z):te=me}var Ze=function(){if(Nn!==null){var Z=L.unstable_now();Te=Z;var xe=!0,Qe=!0;try{Qe=Nn(xe,Z)}finally{Qe?we():(Kt=!1,Nn=null)}}else Kt=!1},we;if(typeof Be=="function")we=function(){Be(Ze)};else if(typeof MessageChannel<"u"){var rt=new MessageChannel,_t=rt.port2;rt.port1.onmessage=Ze,we=function(){_t.postMessage(null)}}else we=function(){A(Ze,0)};function ht(Z){Nn=Z,Kt||(Kt=!0,we())}function Jt(Z,xe){z=A(function(){Z(L.unstable_now())},xe)}function Wt(){ge(z),z=-1}var fa=$e,In=null;L.unstable_IdlePriority=Q,L.unstable_ImmediatePriority=ne,L.unstable_LowPriority=ze,L.unstable_NormalPriority=oe,L.unstable_Profiling=In,L.unstable_UserBlockingPriority=tt,L.unstable_cancelCallback=Xe,L.unstable_continueExecution=It,L.unstable_forceFrameRate=at,L.unstable_getCurrentPriorityLevel=hn,L.unstable_getFirstCallbackNode=mt,L.unstable_next=Ve,L.unstable_pauseExecution=nt,L.unstable_requestPaint=fa,L.unstable_runWithPriority=je,L.unstable_scheduleCallback=en,L.unstable_shouldYield=Ee,L.unstable_wrapCallback=Je,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()}(tf)),tf}var hm;function HS(){return hm||(hm=1,ef.exports=US()),ef.exports}var ca={},ym;function zS(){if(ym)return ca;ym=1;/** * @license React * react-dom.development.js * @@ -65,15 +65,15 @@ React keys must be passed directly to JSX without using spread: * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */return function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var k=Zc(),w=HS(),me=k.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Le=!1;function Me(e){Le=e}function X(e){if(!Le){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a1?t-1:0),a=1;a2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function Jt(e,t,n,a){if(n!==null&&n.type===Re)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(n!==null)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return r!=="data-"&&r!=="aria-"}default:return!1}}function On(e,t,n,a){if(t===null||typeof t>"u"||Jt(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case At:return!t;case $t:return t===!1;case Pt:return isNaN(t);case dn:return isNaN(t)||t<1}return!1}function Ht(e){return It.hasOwnProperty(e)?It[e]:null}function Gt(e,t,n,a,r,i,o){this.acceptsBooleans=t===Rt||t===At||t===$t,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var It={},lr=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];lr.forEach(function(e){It[e]=new Gt(e,Re,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];It[t]=new Gt(t,ot,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){It[e]=new Gt(e,Rt,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){It[e]=new Gt(e,Rt,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){It[e]=new Gt(e,At,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){It[e]=new Gt(e,At,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){It[e]=new Gt(e,$t,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){It[e]=new Gt(e,dn,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){It[e]=new Gt(e,Pt,!1,e.toLowerCase(),null,!1,!1)});var aa=/[\-\:]([a-z])/g,Fn=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(aa,Fn);It[t]=new Gt(t,ot,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(aa,Fn);It[t]=new Gt(t,ot,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(aa,Fn);It[t]=new Gt(t,ot,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){It[e]=new Gt(e,ot,!1,e.toLowerCase(),null,!1,!1)});var ur="xlinkHref";It[ur]=new Gt("xlinkHref",ot,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){It[e]=new Gt(e,ot,!1,e.toLowerCase(),null,!0,!0)});var Zr=/^[\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,ei=!1;function Ra(e){!ei&&Zr.test(e)&&(ei=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function ti(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{ee(n,t),a.sanitizeURL&&Ra(""+n);var i=a.attributeName,o=null;if(a.type===$t){if(e.hasAttribute(i)){var l=e.getAttribute(i);return l===""?!0:On(t,n,a,!1)?l:l===""+n?n:l}}else if(e.hasAttribute(i)){if(On(t,n,a,!1))return e.getAttribute(i);if(a.type===At)return n;o=e.getAttribute(i)}return On(t,n,a,!1)?o===null?n:o:o===""+n?n:o}}function ni(e,t,n,a){{if(!Nt(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return ee(n,t),r===""+n?n:r}}function wa(e,t,n,a){var r=Ht(t);if(!Yt(t,r,a)){if(On(t,n,r,a)&&(n=null),a||r===null){if(Nt(t)){var i=t;n===null?e.removeAttribute(i):(ee(n,t),e.setAttribute(i,""+n))}return}var o=r.mustUseProperty;if(o){var l=r.propertyName;if(n===null){var u=r.type;e[l]=u===At?!1:""}else e[l]=n;return}var f=r.attributeName,d=r.attributeNamespace;if(n===null)e.removeAttribute(f);else{var g=r.type,y;g===At||g===$t&&n===!0?y="":(ee(n,f),y=""+n,r.sanitizeURL&&Ra(y.toString())),d?e.setAttributeNS(d,f,y):e.setAttribute(f,y)}}}var ra=Symbol.for("react.element"),vn=Symbol.for("react.portal"),Qn=Symbol.for("react.fragment"),Er=Symbol.for("react.strict_mode"),ja=Symbol.for("react.profiler"),Cr=Symbol.for("react.provider"),h=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),fe=Symbol.for("react.suspense_list"),Ze=Symbol.for("react.memo"),Ie=Symbol.for("react.lazy"),at=Symbol.for("react.scope"),v=Symbol.for("react.debug_trace_mode"),N=Symbol.for("react.offscreen"),E=Symbol.for("react.legacy_hidden"),b=Symbol.for("react.cache"),S=Symbol.for("react.tracing_marker"),O=Symbol.iterator,T="@@iterator";function z(e){if(e===null||typeof e!="object")return null;var t=O&&e[O]||e[T];return typeof t=="function"?t:null}var M=Object.assign,J=0,ct,te,et,jt,bt,hn,xr;function Ua(){}Ua.__reactDisabledLog=!0;function Vn(){{if(J===0){ct=console.log,te=console.info,et=console.warn,jt=console.error,bt=console.group,hn=console.groupCollapsed,xr=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ua,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}J++}}function Rr(){{if(J--,J===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:M({},e,{value:ct}),info:M({},e,{value:te}),warn:M({},e,{value:et}),error:M({},e,{value:jt}),group:M({},e,{value:bt}),groupCollapsed:M({},e,{value:hn}),groupEnd:M({},e,{value:xr})})}J<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var En=me.ReactCurrentDispatcher,Wt;function Cn(e,t,n){{if(Wt===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);Wt=a&&a[1]||""}return` -`+Wt+e}}var Ha=!1,wr;{var Dr=typeof WeakMap=="function"?WeakMap:Map;wr=new Dr}function ia(e,t){if(!e||Ha)return"";{var n=wr.get(e);if(n!==void 0)return n}var a;Ha=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=En.current,En.current=null,Vn();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(_){a=_}Reflect.construct(e,[],o)}else{try{o.call()}catch(_){a=_}e.call(o.prototype)}}else{try{throw Error()}catch(_){a=_}e()}}catch(_){if(_&&a&&typeof _.stack=="string"){for(var l=_.stack.split(` + */return function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var L=Zc(),D=HS(),me=L.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Oe=!1;function Me(e){Oe=e}function X(e){if(!Oe){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a1?t-1:0),a=1;a2&&(e[0]==="o"||e[0]==="O")&&(e[1]==="n"||e[1]==="N")}function tn(e,t,n,a){if(n!==null&&n.type===we)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(a)return!1;if(n!==null)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return r!=="data-"&&r!=="aria-"}default:return!1}}function Rn(e,t,n,a){if(t===null||typeof t>"u"||tn(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case ht:return!t;case Jt:return t===!1;case Wt:return isNaN(t);case fa:return isNaN(t)||t<1}return!1}function qt(e){return Ft.hasOwnProperty(e)?Ft[e]:null}function At(e,t,n,a,r,i,o){this.acceptsBooleans=t===_t||t===ht||t===Jt,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var Ft={},ir=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ir.forEach(function(e){Ft[e]=new At(e,we,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];Ft[t]=new At(t,rt,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ft[e]=new At(e,_t,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ft[e]=new At(e,_t,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){Ft[e]=new At(e,ht,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ft[e]=new At(e,ht,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ft[e]=new At(e,Jt,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ft[e]=new At(e,fa,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ft[e]=new At(e,Wt,!1,e.toLowerCase(),null,!1,!1)});var Sa=/[\-\:]([a-z])/g,Ta=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(Sa,Ta);Ft[t]=new At(t,rt,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(Sa,Ta);Ft[t]=new At(t,rt,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Sa,Ta);Ft[t]=new At(t,rt,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ft[e]=new At(e,rt,!1,e.toLowerCase(),null,!1,!1)});var da="xlinkHref";Ft[da]=new At("xlinkHref",rt,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ft[e]=new At(e,rt,!1,e.toLowerCase(),null,!0,!0)});var Kr=/^[\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,Jr=!1;function Sr(e){!Jr&&Kr.test(e)&&(Jr=!0,c("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Zr(e,t,n,a){if(a.mustUseProperty){var r=a.propertyName;return e[r]}else{te(n,t),a.sanitizeURL&&Sr(""+n);var i=a.attributeName,o=null;if(a.type===Jt){if(e.hasAttribute(i)){var l=e.getAttribute(i);return l===""?!0:Rn(t,n,a,!1)?l:l===""+n?n:l}}else if(e.hasAttribute(i)){if(Rn(t,n,a,!1))return e.getAttribute(i);if(a.type===ht)return n;o=e.getAttribute(i)}return Rn(t,n,a,!1)?o===null?n:o:o===""+n?n:o}}function va(e,t,n,a){{if(!Bt(t))return;if(!e.hasAttribute(t))return n===void 0?void 0:null;var r=e.getAttribute(t);return te(n,t),r===""+n?n:r}}function jn(e,t,n,a){var r=qt(t);if(!zt(t,r,a)){if(Rn(t,n,r,a)&&(n=null),a||r===null){if(Bt(t)){var i=t;n===null?e.removeAttribute(i):(te(n,t),e.setAttribute(i,""+n))}return}var o=r.mustUseProperty;if(o){var l=r.propertyName;if(n===null){var u=r.type;e[l]=u===ht?!1:""}else e[l]=n;return}var f=r.attributeName,d=r.attributeNamespace;if(n===null)e.removeAttribute(f);else{var b=r.type,g;b===ht||b===Jt&&n===!0?g="":(te(n,f),g=""+n,r.sanitizeURL&&Sr(g.toString())),d?e.setAttributeNS(d,f,g):e.setAttribute(f,g)}}}var Zn=Symbol.for("react.element"),wn=Symbol.for("react.portal"),Aa=Symbol.for("react.fragment"),Tr=Symbol.for("react.strict_mode"),Er=Symbol.for("react.profiler"),Cr=Symbol.for("react.provider"),h=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),ae=Symbol.for("react.suspense"),pe=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),T=Symbol.for("react.scope"),y=Symbol.for("react.debug_trace_mode"),E=Symbol.for("react.offscreen"),_=Symbol.for("react.legacy_hidden"),S=Symbol.for("react.cache"),V=Symbol.for("react.tracing_marker"),B=Symbol.iterator,K="@@iterator";function Le(e){if(e===null||typeof e!="object")return null;var t=B&&e[B]||e[K];return typeof t=="function"?t:null}var F=Object.assign,Ke=0,kt,bt,rn,xr,Na,Dn,or;function _n(){}_n.__reactDisabledLog=!0;function $t(){{if(Ke===0){kt=console.log,bt=console.info,rn=console.warn,xr=console.error,Na=console.group,Dn=console.groupCollapsed,or=console.groupEnd;var e={configurable:!0,enumerable:!0,value:_n,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ke++}}function Ea(){{if(Ke--,Ke===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},e,{value:kt}),info:F({},e,{value:bt}),warn:F({},e,{value:rn}),error:F({},e,{value:xr}),group:F({},e,{value:Na}),groupCollapsed:F({},e,{value:Dn}),groupEnd:F({},e,{value:or})})}Ke<0&&c("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pa=me.ReactCurrentDispatcher,lo;function Ca(e,t,n){{if(lo===void 0)try{throw Error()}catch(r){var a=r.stack.trim().match(/\n( *(at )?)/);lo=a&&a[1]||""}return` +`+lo+e}}var ea=!1,Wn;{var Rr=typeof WeakMap=="function"?WeakMap:Map;Wn=new Rr}function wr(e,t){if(!e||ea)return"";{var n=Wn.get(e);if(n!==void 0)return n}var a;ea=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var i;i=Pa.current,Pa.current=null,$t();try{if(t){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(M){a=M}Reflect.construct(e,[],o)}else{try{o.call()}catch(M){a=M}e.call(o.prototype)}}else{try{throw Error()}catch(M){a=M}e()}}catch(M){if(M&&a&&typeof M.stack=="string"){for(var l=M.stack.split(` `),u=a.stack.split(` -`),f=l.length-1,d=u.length-1;f>=1&&d>=0&&l[f]!==u[d];)d--;for(;f>=1&&d>=0;f--,d--)if(l[f]!==u[d]){if(f!==1||d!==1)do if(f--,d--,d<0||l[f]!==u[d]){var g=` -`+l[f].replace(" at new "," at ");return e.displayName&&g.includes("")&&(g=g.replace("",e.displayName)),typeof e=="function"&&wr.set(e,g),g}while(f>=1&&d>=0);break}}}finally{Ha=!1,En.current=i,Rr(),Error.prepareStackTrace=r}var y=e?e.displayName||e.name:"",R=y?Cn(y):"";return typeof e=="function"&&wr.set(e,R),R}function ha(e,t,n){return ia(e,!0)}function ai(e,t,n){return ia(e,!1)}function so(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function pn(e,t,n){if(e==null)return"";if(typeof e=="function")return ia(e,so(e));if(typeof e=="string")return Cn(e);switch(e){case ae:return Cn("Suspense");case fe:return Cn("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case B:return ai(e.render);case Ze:return pn(e.type,t,n);case Ie:{var a=e,r=a._payload,i=a._init;try{return pn(i(r),t,n)}catch{}}}return""}function Ut(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case Q:return Cn(e.type);case mt:return Cn("Lazy");case L:return Cn("Suspense");case _e:return Cn("SuspenseList");case he:case nt:case $e:return ai(e.type);case Oe:return ai(e.type.render);case ne:return ha(e.type);default:return""}}function ya(e){try{var t="",n=e;do t+=Ut(n),n=n.return;while(n);return t}catch(a){return` +`),f=l.length-1,d=u.length-1;f>=1&&d>=0&&l[f]!==u[d];)d--;for(;f>=1&&d>=0;f--,d--)if(l[f]!==u[d]){if(f!==1||d!==1)do if(f--,d--,d<0||l[f]!==u[d]){var b=` +`+l[f].replace(" at new "," at ");return e.displayName&&b.includes("")&&(b=b.replace("",e.displayName)),typeof e=="function"&&Wn.set(e,b),b}while(f>=1&&d>=0);break}}}finally{ea=!1,Pa.current=i,Ea(),Error.prepareStackTrace=r}var g=e?e.displayName||e.name:"",w=g?Ca(g):"";return typeof e=="function"&&Wn.set(e,w),w}function ln(e,t,n){return wr(e,!0)}function xt(e,t,n){return wr(e,!1)}function Ya(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function xa(e,t,n){if(e==null)return"";if(typeof e=="function")return wr(e,Ya(e));if(typeof e=="string")return Ca(e);switch(e){case ae:return Ca("Suspense");case pe:return Ca("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case $:return xt(e.render);case p:return xa(e.type,t,n);case R:{var a=e,r=a._payload,i=a._init;try{return xa(i(r),t,n)}catch{}}}return""}function Di(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case Q:return Ca(e.type);case dt:return Ca("Lazy");case O:return Ca("Suspense");case _e:return Ca("SuspenseList");case he:case tt:case Pe:return xt(e.type);case Ae:return xt(e.type.render);case ne:return ln(e.type);default:return""}}function _i(e){try{var t="",n=e;do t+=Di(n),n=n.return;while(n);return t}catch(a){return` Error generating stack: `+a.message+` -`+a.stack}}function za(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return r!==""?n+"("+r+")":n}function _r(e){return e.displayName||"Context"}function wt(e){if(e==null)return null;if(typeof e.tag=="number"&&c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qn:return"Fragment";case vn:return"Portal";case ja:return"Profiler";case Er:return"StrictMode";case ae:return"Suspense";case fe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case h:var t=e;return _r(t)+".Consumer";case Cr:var n=e;return _r(n._context)+".Provider";case B:return za(e,e.render,"ForwardRef");case Ze:var a=e.displayName||null;return a!==null?a:wt(e.type)||"Memo";case Ie:{var r=e,i=r._payload,o=r._init;try{return wt(o(i))}catch{return null}}}return null}function nf(e,t,n){var a=t.displayName||t.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function kr(e){return e.displayName||"Context"}function Xe(e){var t=e.tag,n=e.type;switch(t){case yt:return"Cache";case Tt:var a=n;return kr(a)+".Consumer";case we:var r=n;return kr(r._context)+".Provider";case Qt:return"DehydratedFragment";case Oe:return nf(n,n.render,"ForwardRef");case I:return"Fragment";case Q:return n;case He:return"Portal";case oe:return"Root";case ye:return"Text";case mt:return wt(n);case fn:return n===Er?"StrictMode":"Mode";case Ce:return"Offscreen";case Lt:return"Profiler";case re:return"Scope";case L:return"Suspense";case _e:return"SuspenseList";case le:return"TracingMarker";case ne:case he:case ht:case nt:case K:case $e:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;break}return null}var fl=me.ReactDebugCurrentFrame,oa=null,Li=!1;function ri(){{if(oa===null)return null;var e=oa._debugOwner;if(e!==null&&typeof e<"u")return Xe(e)}return null}function af(){return oa===null?"":ya(oa)}function An(){fl.getCurrentStack=null,oa=null,Li=!1}function on(e){fl.getCurrentStack=e===null?null:af,oa=e,Li=!1}function Gu(){return oa}function Fa(e){Li=e}function la(e){return""+e}function qa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return Je(e),e;default:return""}}var rf={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function dl(e,t){rf[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||c("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||c("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 Xu(e){var t=e.type,n=e.nodeName;return n&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vl(e){return e._valueTracker}function co(e){e._valueTracker=null}function of(e){var t="";return e&&(Xu(e)?t=e.checked?"true":"false":t=e.value),t}function ii(e){var t=Xu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Je(e[t]);var a=""+e[t];if(!(e.hasOwnProperty(t)||typeof n>"u"||typeof n.get!="function"||typeof n.set!="function")){var r=n.get,i=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){Je(l),a=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var o={getValue:function(){return a},setValue:function(l){Je(l),a=""+l},stopTracking:function(){co(e),delete e[t]}};return o}}function Oi(e){vl(e)||(e._valueTracker=ii(e))}function pl(e){if(!e)return!1;var t=vl(e);if(!t)return!0;var n=t.getValue(),a=of(e);return a!==n?(t.setValue(a),!0):!1}function Mr(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}}var fo=!1,vo=!1,po=!1,Qu=!1;function Ku(e){var t=e.type==="checkbox"||e.type==="radio";return t?e.checked!=null:e.value!=null}function ml(e,t){var n=e,a=t.checked,r=M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??n._wrapperState.initialChecked});return r}function Ju(e,t){dl("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!vo&&(c("%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://reactjs.org/link/controlled-components",ri()||"A component",t.type),vo=!0),t.value!==void 0&&t.defaultValue!==void 0&&!fo&&(c("%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://reactjs.org/link/controlled-components",ri()||"A component",t.type),fo=!0);var n=e,a=t.defaultValue==null?"":t.defaultValue;n._wrapperState={initialChecked:t.checked!=null?t.checked:t.defaultChecked,initialValue:qa(t.value!=null?t.value:a),controlled:Ku(t)}}function s(e,t){var n=e,a=t.checked;a!=null&&wa(n,"checked",a,!1)}function m(e,t){var n=e;{var a=Ku(t);!n._wrapperState.controlled&&a&&!Qu&&(c("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://reactjs.org/link/controlled-components"),Qu=!0),n._wrapperState.controlled&&!a&&!po&&(c("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://reactjs.org/link/controlled-components"),po=!0)}s(e,t);var r=qa(t.value),i=t.type;if(r!=null)i==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=la(r)):n.value!==la(r)&&(n.value=la(r));else if(i==="submit"||i==="reset"){n.removeAttribute("value");return}t.hasOwnProperty("value")?je(n,t.type,r):t.hasOwnProperty("defaultValue")&&je(n,t.type,qa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(n.defaultChecked=!!t.defaultChecked)}function D(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type,i=r==="submit"||r==="reset";if(i&&(t.value===void 0||t.value===null))return;var o=la(a._wrapperState.initialValue);n||o!==a.value&&(a.value=o),a.defaultValue=o}var l=a.name;l!==""&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,l!==""&&(a.name=l)}function j(e,t){var n=e;m(n,t),q(n,t)}function q(e,t){var n=t.name;if(t.type==="radio"&&n!=null){for(var a=e;a.parentNode;)a=a.parentNode;ee(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),i=0;i.")))}):t.dangerouslySetInnerHTML!=null&&(ft||(ft=!0,c("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),t.selected!=null&&!Se&&(c("Use the `defaultValue` or `value` props on instead of setting `selected` on