@invariant.guru/cli 0.6.0 → 0.6.2
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.
- package/README.md +74 -4
- package/dist/main.js +790 -755
- package/dist/ui/assets/{Editor-ruHCmT7W.js → Editor-B3P_TPOi.js} +1 -1
- package/dist/ui/assets/{Preview-CKHBYIoB.js → Preview-Co8EGMAS.js} +1 -1
- package/dist/ui/assets/index-CpSfiNpv.css +1 -0
- package/dist/ui/assets/index-Csx-Iteb.js +245 -0
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/dist/ui/assets/index-DgM7pQxN.js +0 -245
- package/dist/ui/assets/index-FtmD_rRV.css +0 -1
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var u=o(((e,t)=>{(function(){function n(e,t){Object.defineProperty(a.prototype,e,{get:function(){console.warn(`%s(...) is deprecated in plain JavaScript React classes. %s`,t[0],t[1])}})}function r(e){return typeof e!=`object`||!e?null:(e=Ce&&e[Ce]||e[`@@iterator`],typeof e==`function`?e:null)}function i(e,t){e=(e=e.constructor)&&(e.displayName||e.name)||`ReactClass`;var n=e+`.`+t;we[n]||(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.",t,e),we[n]=!0)}function a(e,t,n){this.props=e,this.context=t,this.refs=Ee,this.updater=n||Te}function o(){}function s(e,t,n){this.props=e,this.context=t,this.refs=Ee,this.updater=n||Te}function c(){}function l(e){return``+e}function u(e){try{l(e);var t=!1}catch{t=!0}if(t){t=console;var n=t.error,r=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return n.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,r),l(e)}}function d(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Oe?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case fe:return`Fragment`;case me:return`Profiler`;case pe:return`StrictMode`;case ve:return`Suspense`;case ye:return`SuspenseList`;case Se: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 de:return`Portal`;case ge:return e.displayName||`Context`;case he:return(e._context.displayName||`Context`)+`.Consumer`;case _e:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case be:return t=e.displayName||null,t===null?d(e.type)||`Memo`:t;case xe:t=e._payload,e=e._init;try{return d(e(t))}catch{}}return null}function f(e){if(e===fe)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===xe)return`<...>`;try{var t=d(e);return t?`<`+t+`>`:`<...>`}catch{return`<...>`}}function p(){var e=D.A;return e===null?null:e.getOwner()}function m(){return Error(`react-stack-top-frame`)}function h(e){if(ke.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function g(e,t){function n(){je||(je=!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)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function _(){var e=d(this.type);return Ne[e]||(Ne[e]=!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.`)),e=this.props.ref,e===void 0?null:e}function v(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:ue,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,"ref",{enumerable:!1,value:null}):Object.defineProperty(e,"ref",{enumerable:!1,get:_}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function y(e,t){return t=v(e.type,t,e.props,e._owner,e._debugStack,e._debugTask),e._store&&(t._store.validated=e._store.validated),t}function b(e){x(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===xe&&(e._payload.status===`fulfilled`?x(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function x(e){return typeof e==`object`&&!!e&&e.$$typeof===ue}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}function te(e,t){return typeof e==`object`&&e&&e.key!=null?(u(e.key),ee(``+e.key)):t.toString(36)}function ne(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(c,c):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function re(e,t,n,i,a){var o=typeof e;(o===`undefined`||o===`boolean`)&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case`bigint`:case`string`:case`number`:s=!0;break;case`object`:switch(e.$$typeof){case ue:case de:s=!0;break;case xe:return s=e._init,re(s(e._payload),t,n,i,a)}}if(s){s=e,a=a(s);var c=i===``?`.`+te(s,0):i;return De(a)?(n=``,c!=null&&(n=c.replace(Le,`$&/`)+`/`),re(a,t,n,``,function(e){return e})):a!=null&&(x(a)&&(a.key!=null&&(s&&s.key===a.key||u(a.key)),n=y(a,n+(a.key==null||s&&s.key===a.key?``:(``+a.key).replace(Le,`$&/`)+`/`)+c),i!==``&&s!=null&&x(s)&&s.key==null&&s._store&&!s._store.validated&&(n._store.validated=2),a=n),t.push(a)),1}if(s=0,c=i===``?`.`:i+`:`,De(e))for(var l=0;l<e.length;l++)i=e[l],o=c+te(i,l),s+=re(i,t,n,o,a);else if(l=r(e),typeof l==`function`)for(l===e.entries&&(Ie||console.warn(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),Ie=!0),e=l.call(e),l=0;!(i=e.next()).done;)i=i.value,o=c+te(i,l++),s+=re(i,t,n,o,a);else if(o===`object`){if(typeof e.then==`function`)return re(ne(e),t,n,i,a);throw t=String(e),Error(`Objects are not valid as a React child (found: `+(t===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:t)+`). If you meant to render a collection of children, use an array instead.`)}return s}function ie(e,t,n){if(e==null)return e;var r=[],i=0;return re(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ae(e){if(e._status===-1){var t=e._ioInfo;t!=null&&(t.start=t.end=performance.now()),t=e._result;var n=t();if(n.then(function(t){if(e._status===0||e._status===-1){e._status=1,e._result=t;var r=e._ioInfo;r!=null&&(r.end=performance.now()),n.status===void 0&&(n.status=`fulfilled`,n.value=t)}},function(t){if(e._status===0||e._status===-1){e._status=2,e._result=t;var r=e._ioInfo;r!=null&&(r.end=performance.now()),n.status===void 0&&(n.status=`rejected`,n.reason=t)}}),t=e._ioInfo,t!=null){t.value=n;var r=n.displayName;typeof r==`string`&&(t.name=r)}e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return t=e._result,t===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
-
|
|
3
|
-
Your code should look like:
|
|
4
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
-
|
|
6
|
-
Did you accidentally put curly braces around the import?`,t),`default`in t||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
-
|
|
8
|
-
Your code should look like:
|
|
9
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,t),t.default;throw e._result}function S(){var e=D.H;return e===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:
|
|
10
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
-
2. You might be breaking the Rules of Hooks
|
|
12
|
-
3. You might have more than one copy of React in the same app
|
|
13
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}function oe(){D.asyncTransitions--}function C(e){if(Be===null)try{var n=(`require`+Math.random()).slice(0,7);Be=(t&&t[n]).call(t,`timers`).setImmediate}catch{Be=function(e){!1===ze&&(ze=!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 t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return Be(e)}function se(e){return 1<e.length&&typeof AggregateError==`function`?AggregateError(e):e[0]}function ce(e,t){t!==Ve-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. `),Ve=t}function w(e,t,n){var r=D.actQueue;if(r!==null){if(r.length!==0)try{le(r),C(function(){return w(e,t,n)});return}catch(e){D.thrownErrors.push(e)}else D.actQueue=null}0<D.thrownErrors.length?(r=se(D.thrownErrors),D.thrownErrors.length=0,n(r)):t(e)}function le(e){if(!Ue){Ue=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{D.didUsePromise=!1;var r=n(!1);if(r!==null){if(D.didUsePromise){e[t]=n,e.splice(0,t);return}n=r}else break}while(1)}e.length=0}catch(n){e.splice(0,t+1),D.thrownErrors.push(n)}finally{Ue=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ue=Symbol.for(`react.transitional.element`),de=Symbol.for(`react.portal`),fe=Symbol.for(`react.fragment`),pe=Symbol.for(`react.strict_mode`),me=Symbol.for(`react.profiler`),he=Symbol.for(`react.consumer`),ge=Symbol.for(`react.context`),_e=Symbol.for(`react.forward_ref`),ve=Symbol.for(`react.suspense`),ye=Symbol.for(`react.suspense_list`),be=Symbol.for(`react.memo`),xe=Symbol.for(`react.lazy`),Se=Symbol.for(`react.activity`),Ce=Symbol.iterator,we={},Te={isMounted:function(){return!1},enqueueForceUpdate:function(e){i(e,`forceUpdate`)},enqueueReplaceState:function(e){i(e,`replaceState`)},enqueueSetState:function(e){i(e,`setState`)}},T=Object.assign,Ee={};Object.freeze(Ee),a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=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,e,t,`setState`)},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};var E={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(Ge in E)E.hasOwnProperty(Ge)&&n(Ge,E[Ge]);o.prototype=a.prototype,E=s.prototype=new o,E.constructor=s,T(E,a.prototype),E.isPureReactComponent=!0;var De=Array.isArray,Oe=Symbol.for(`react.client.reference`),D={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ke=Object.prototype.hasOwnProperty,Ae=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(e){return e()}};var je,Me,Ne={},Pe=E.react_stack_bottom_frame.bind(E,m)(),Fe=Ae(f(m)),Ie=!1,Le=/\/+/g,Re=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&&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)},ze=!1,Be=null,Ve=0,He=!1,Ue=!1,We=typeof queueMicrotask==`function`?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:C;E=Object.freeze({__proto__:null,c:function(e){return S().useMemoCache(e)}});var Ge={map:ie,forEach:function(e,t,n){ie(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ie(e,function(){t++}),t},toArray:function(e){return ie(e,function(e){return e})||[]},only:function(e){if(!x(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=Se,e.Children=Ge,e.Component=a,e.Fragment=fe,e.Profiler=me,e.PureComponent=s,e.StrictMode=pe,e.Suspense=ve,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,e.__COMPILER_RUNTIME=E,e.act=function(e){var t=D.actQueue,n=Ve;Ve++;var r=D.actQueue=t===null?[]:t,i=!1;try{var a=e()}catch(e){D.thrownErrors.push(e)}if(0<D.thrownErrors.length)throw ce(t,n),e=se(D.thrownErrors),D.thrownErrors.length=0,e;if(typeof a==`object`&&a&&typeof a.then==`function`){var o=a;return We(function(){i||He||(He=!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(e,a){i=!0,o.then(function(i){if(ce(t,n),n===0){try{le(r),C(function(){return w(i,e,a)})}catch(e){D.thrownErrors.push(e)}if(0<D.thrownErrors.length){var o=se(D.thrownErrors);D.thrownErrors.length=0,a(o)}}else e(i)},function(e){ce(t,n),0<D.thrownErrors.length?(e=se(D.thrownErrors),D.thrownErrors.length=0,a(e)):a(e)})}}}var s=a;if(ce(t,n),n===0&&(le(r),r.length!==0&&We(function(){i||He||(He=!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(() => ...)"))}),D.actQueue=null),0<D.thrownErrors.length)throw e=se(D.thrownErrors),D.thrownErrors.length=0,e;return{then:function(e,t){i=!0,n===0?(D.actQueue=r,C(function(){return w(s,e,t)})):e(s)}}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.captureOwnerStack=function(){var e=D.getCurrentStack;return e===null?null:e()},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=T({},e.props),i=e.key,a=e._owner;if(t!=null){var o;a:{if(ke.call(t,`ref`)&&(o=Object.getOwnPropertyDescriptor(t,`ref`).get)&&o.isReactWarning){o=!1;break a}o=t.ref!==void 0}for(s in o&&(a=p()),h(t)&&(u(t.key),i=``+t.key),t)!ke.call(t,s)||s===`key`||s===`__self`||s===`__source`||s===`ref`&&t.ref===void 0||(r[s]=t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){o=Array(s);for(var c=0;c<s;c++)o[c]=arguments[c+2];r.children=o}for(r=v(e.type,i,r,a,e._debugStack,e._debugTask),i=2;i<arguments.length;i++)b(arguments[i]);return r},e.createContext=function(e){return e={$$typeof:ge,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:he,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},e.createElement=function(e,t,n){for(var r=2;r<arguments.length;r++)b(arguments[r]);r={};var i=null;if(t!=null)for(c in Me||!(`__self`in t)||`key`in t||(Me=!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(t)&&(u(t.key),i=``+t.key),t)ke.call(t,c)&&c!==`key`&&c!==`__self`&&c!==`__source`&&(r[c]=t[c]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];Object.freeze&&Object.freeze(o),r.children=o}if(e&&e.defaultProps)for(c in a=e.defaultProps,a)r[c]===void 0&&(r[c]=a[c]);i&&g(r,typeof e==`function`?e.displayName||e.name||`Unknown`:e);var c=1e4>D.recentlyCreatedOwnerStacks++;return v(e,i,r,p(),c?Error(`react-stack-top-frame`):Pe,c?Ae(f(e)):Fe)},e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){e!=null&&e.$$typeof===be?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e==`function`?e.length!==0&&e.length!==2&&console.error(`forwardRef render functions accept exactly two parameters: props and ref. %s`,e.length===1?`Did you forget to use the ref parameter?`:`Any additional parameter will be undefined.`):console.error(`forwardRef requires a render function but was given %s.`,e===null?`null`:typeof e),e!=null&&e.defaultProps!=null&&console.error(`forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?`);var t={$$typeof:_e,render:e},n;return Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},e.isValidElement=x,e.lazy=function(e){e={_status:-1,_result:e};var t={$$typeof:xe,_payload:e,_init:ae},n={name:`lazy`,start:-1,end:-1,value:null,owner:null,debugStack:Error(`react-stack-top-frame`),debugTask:console.createTask?console.createTask(`lazy()`):null};return e._ioInfo=n,t._debugInfo=[{awaited:n}],t},e.memo=function(e,t){e??console.error(`memo: The first argument must be a component. Instead received: %s`,e===null?`null`:typeof e),t={$$typeof:be,type:e,compare:t===void 0?null:t};var n;return Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},e.startTransition=function(e){var t=D.T,n={};n._updatedFibers=new Set,D.T=n;try{var r=e(),i=D.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&(D.asyncTransitions++,r.then(oe,oe),r.then(c,Re))}catch(e){Re(e)}finally{t===null&&n._updatedFibers&&(e=n._updatedFibers.size,n._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.`)),t!==null&&n.types!==null&&(t.types!==null&&t.types!==n.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.`),t.types=n.types),D.T=t}},e.unstable_useCacheRefresh=function(){return S().useCacheRefresh()},e.use=function(e){return S().use(e)},e.useActionState=function(e,t,n){return S().useActionState(e,t,n)},e.useCallback=function(e,t){return S().useCallback(e,t)},e.useContext=function(e){var t=S();return e.$$typeof===he&&console.error(`Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?`),t.useContext(e)},e.useDebugValue=function(e,t){return S().useDebugValue(e,t)},e.useDeferredValue=function(e,t){return S().useDeferredValue(e,t)},e.useEffect=function(e,t){return e??console.warn(`React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?`),S().useEffect(e,t)},e.useEffectEvent=function(e){return S().useEffectEvent(e)},e.useId=function(){return S().useId()},e.useImperativeHandle=function(e,t,n){return S().useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return e??console.warn(`React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?`),S().useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return e??console.warn(`React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?`),S().useLayoutEffect(e,t)},e.useMemo=function(e,t){return S().useMemo(e,t)},e.useOptimistic=function(e,t){return S().useOptimistic(e,t)},e.useReducer=function(e,t,n){return S().useReducer(e,t,n)},e.useRef=function(e){return S().useRef(e)},e.useState=function(e){return S().useState(e)},e.useSyncExternalStore=function(e,t,n){return S().useSyncExternalStore(e,t,n)},e.useTransition=function(){return S().useTransition()},e.version=`19.2.8`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),d=o(((e,t)=>{t.exports=u()})),f=o((e=>{(function(){function t(){if(x=!1,re){var t=e.unstable_now();S=t;var n=!0;try{a:{y=!1,b&&(b=!1,te(ie),ie=-1),v=!0;var a=_;try{b:{for(o(t),g=r(p);g!==null&&!(g.expirationTime>t&&c());){var u=g.callback;if(typeof u==`function`){g.callback=null,_=g.priorityLevel;var d=u(g.expirationTime<=t);if(t=e.unstable_now(),typeof d==`function`){g.callback=d,o(t),n=!0;break b}g===r(p)&&i(p),o(t)}else i(p);g=r(p)}if(g!==null)n=!0;else{var f=r(m);f!==null&&l(s,f.startTime-t),n=!1}}break a}finally{g=null,_=a,v=!1}n=void 0}}finally{n?oe():re=!1}}}function n(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,i=e[r];if(0<a(i,t))e[r]=t,e[n]=i,n=r;else break a}}function r(e){return e.length===0?null:e[0]}function i(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>a(c,n))l<i&&0>a(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<i&&0>a(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}function o(e){for(var t=r(m);t!==null;){if(t.callback===null)i(m);else if(t.startTime<=e)i(m),t.sortIndex=t.expirationTime,n(p,t);else break;t=r(m)}}function s(e){if(b=!1,o(e),!y){if(r(p)!==null)y=!0,re||(re=!0,oe());else{var t=r(m);t!==null&&l(s,t.startTime-e)}}}function c(){return x?!0:!(e.unstable_now()-S<ae)}function l(t,n){ie=ee(function(){t(e.unstable_now())},n)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var p=[],m=[],h=1,g=null,_=3,v=!1,y=!1,b=!1,x=!1,ee=typeof setTimeout==`function`?setTimeout:null,te=typeof clearTimeout==`function`?clearTimeout:null,ne=typeof setImmediate<`u`?setImmediate:null,re=!1,ie=-1,ae=5,S=-1;if(typeof ne==`function`)var oe=function(){ne(t)};else if(typeof MessageChannel<`u`){var C=new MessageChannel,se=C.port2;C.port1.onmessage=t,oe=function(){se.postMessage(null)}}else oe=function(){ee(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):ae=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},e.unstable_scheduleCallback=function(t,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,t){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return c=a+c,t={id:h++,callback:i,priorityLevel:t,startTime:a,expirationTime:c,sortIndex:-1},a>o?(t.sortIndex=a,n(m,t),r(p)===null&&t===r(m)&&(b?(te(ie),ie=-1):b=!0,l(s,a-o))):(t.sortIndex=c,n(p,t),y||v||(y=!0,re||(re=!0,oe()))),t},e.unstable_shouldYield=c,e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{(function(){function t(){}function n(e){return``+e}function r(e,t,r){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{n(i);var a=!1}catch{a=!0}return a&&(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&&i[Symbol.toStringTag]||i.constructor.name||`Object`),n(i)),{$$typeof:u,key:i==null?null:``+i,children:e,containerInfo:t,implementation:r}}function i(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}function a(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:`something with type "`+typeof e+`"`}function o(e){return e===null?"`null`":e===void 0?"`undefined`":e===``?`an empty string`:typeof e==`string`?JSON.stringify(e):typeof e==`number`?"`"+e+"`":`something with type "`+typeof e+`"`}function s(){var e=f.H;return e===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:
|
|
14
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
-
2. You might be breaking the Rules of Hooks
|
|
16
|
-
3. You might have more than one copy of React in the same app
|
|
17
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),e}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=d(),l={d:{f:t,r:function(){throw Error(`Invalid form element. requestFormReset must be passed a form that was rendered by React.`)},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},u=Symbol.for(`react.portal`),f=c.__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`),e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(`Target container is not a DOM element.`);return r(e,t,null,n)},e.flushSync=function(e){var t=f.T,n=l.p;try{if(f.T=null,l.p=2,e)return e()}finally{f.T=t,l.p=n,l.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.`)}},e.preconnect=function(e,t){typeof e==`string`&&e?t!=null&&typeof t!=`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.",o(t)):t!=null&&typeof t.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.",a(t.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e)),typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,l.d.C(e,t))},e.prefetchDNS=function(e){if(typeof e!=`string`||!e)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e));else if(1<arguments.length){var t=arguments[1];typeof t==`object`&&t.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`.",o(t)):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`.",o(t))}typeof e==`string`&&l.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&e?typeof t!=`object`||!t?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.",o(t)):t.as!==`style`&&t.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".',o(t.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",a(e)),typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=i(n,t.crossOrigin),s=typeof t.integrity==`string`?t.integrity:void 0,c=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?l.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:s,fetchPriority:c}):n===`script`&&l.d.X(e,{crossOrigin:r,integrity:s,fetchPriority:c,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+a(t)+`.`:t&&`as`in t&&t.as!==`script`&&(n+=" The `as` option encountered was "+o(t.as)+`.`),n)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",n);else switch(n=t&&typeof t.as==`string`?t.as:`script`,n){case`script`:break;default:n=o(n),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)',n,e)}typeof e==`string`&&(typeof t==`object`&&t?(t.as==null||t.as===`script`)&&(n=i(t.as,t.crossOrigin),l.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})):t??l.d.M(e))},e.preload=function(e,t){var n=``;if(typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),typeof t!=`object`||!t?n+=" The `options` argument encountered was "+a(t)+`.`:typeof t.as==`string`&&t.as||(n+=" The `as` option encountered was "+a(t.as)+`.`),n&&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',n),typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){n=t.as;var r=i(n,t.crossOrigin);l.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){var n=``;typeof e==`string`&&e||(n+=" The `href` argument encountered was "+a(e)+`.`),t!==void 0&&typeof t!=`object`?n+=" The `options` argument encountered was "+a(t)+`.`:t&&`as`in t&&typeof t.as!=`string`&&(n+=" The `as` option encountered was "+a(t.as)+`.`),n&&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',n),typeof e==`string`&&(t?(n=i(t.as,t.crossOrigin),l.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})):l.d.m(e))},e.requestFormReset=function(e){l.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s().useFormState(e,t,n)},e.useFormStatus=function(){return s().useHostTransitionStatus()},e.version=`19.2.8`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),h=o(((e,t)=>{t.exports=m()})),g=o((e=>{(function(){function t(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function n(e,t,r,i){if(r>=t.length)return i;var a=t[r],o=Yf(e)?e.slice():R({},e);return o[a]=n(e[a],t,r+1,i),o}function r(e,t,n){if(t.length!==n.length)console.warn(`copyWithRename() expects paths of the same length`);else{for(var r=0;r<n.length-1;r++)if(t[r]!==n[r]){console.warn(`copyWithRename() expects paths to be the same except for the deepest key`);return}return i(e,t,n,0)}}function i(e,t,n,r){var a=t[r],o=Yf(e)?e.slice():R({},e);return r+1===t.length?(o[n[r]]=o[a],Yf(o)?o.splice(a,1):delete o[a]):o[a]=i(e[a],t,n,r+1),o}function a(e,t,n){var r=t[n],i=Yf(e)?e.slice():R({},e);return n+1===t.length?(Yf(i)?i.splice(r,1):delete i[r],i):(i[r]=a(e[r],t,n+1),i)}function o(){return!1}function s(){return null}function c(){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 l(){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 u(){}function f(){}function m(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(`, `)}function g(e,t,n,r){return new yr(e,t,n,r)}function _(e,t){e.context===Fg&&(nf(e.current,2,t,e,null,null),cl())}function v(e,t){if(Ig!==null){var n=t.staleFamilies;t=t.updatedFamilies,Pl(),vr(e.current,t,n),cl()}}function y(e){Ig=e}function b(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function x(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ee(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 te(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 ne(e){if(x(e)!==e)throw Error(`Unable to find node on an unmounted component.`)}function re(e){var t=e.alternate;if(!t){if(t=x(e),t===null)throw Error(`Unable to find node on an unmounted component.`);return t===e?e:null}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return ne(i),e;if(a===r)return ne(i),t;a=a.sibling}throw Error(`Unable to find node on an unmounted component.`)}if(n.return!==r.return)n=i,r=a;else{for(var o=!1,s=i.child;s;){if(s===n){o=!0,n=i,r=a;break}if(s===r){o=!0,r=i,n=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===n){o=!0,n=a,r=i;break}if(s===r){o=!0,r=a,n=i;break}s=s.sibling}if(!o)throw Error(`Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.`)}}if(n.alternate!==r)throw Error(`Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.`)}if(n.tag!==3)throw Error(`Unable to find node on an unmounted component.`);return n.stateNode.current===n?e:t}function ie(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ie(e),t!==null)return t;e=e.sibling}return null}function ae(e){return typeof e!=`object`||!e?null:(e=qf&&e[qf]||e[`@@iterator`],typeof e==`function`?e:null)}function S(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===Jf?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case Ff:return`Fragment`;case Lf:return`Profiler`;case If:return`StrictMode`;case Vf:return`Suspense`;case Hf:return`SuspenseList`;case Gf: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 Pf:return`Portal`;case zf:return e.displayName||`Context`;case Rf:return(e._context.displayName||`Context`)+`.Consumer`;case Bf:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case Uf:return t=e.displayName||null,t===null?S(e.type)||`Memo`:t;case Wf:t=e._payload,e=e._init;try{return S(e(t))}catch{}}return null}function oe(e){return typeof e.tag==`number`?C(e):typeof e.name==`string`?e.name:null}function C(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`:`ForwardRef(`+e+`)`);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 S(t);case 8:return t===If?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t;break;case 29:if(t=e._debugInfo,t!=null){for(var n=t.length-1;0<=n;n--)if(typeof t[n].name==`string`)return t[n].name}if(e.return!==null)return C(e.return)}return null}function se(e){return{current:e}}function ce(e,t){0>$f?console.error(`Unexpected pop.`):(t!==Qf[$f]&&console.error(`Unexpected Fiber popped.`),e.current=Zf[$f],Zf[$f]=null,Qf[$f]=null,$f--)}function w(e,t,n){$f++,Zf[$f]=e.current,Qf[$f]=n,e.current=t}function le(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 ue(e,t){w(np,t,e),w(tp,e,e),w(ep,null,e);var n=t.nodeType;switch(n){case 9:case 11:n=n===9?`#document`:`#fragment`,t=(t=t.documentElement)&&(t=t.namespaceURI)?Hu(t):US;break;default:if(n=t.tagName,t=t.namespaceURI)t=Hu(t),t=Uu(t,n);else switch(n){case`svg`:t=WS;break;case`math`:t=GS;break;default:t=US}}n=n.toLowerCase(),n=Ut(null,n),n={context:t,ancestorInfo:n},ce(ep,e),w(ep,n,e)}function de(e){ce(ep,e),ce(tp,e),ce(np,e)}function fe(){return le(ep.current)}function pe(e){e.memoizedState!==null&&w(rp,e,e);var t=le(ep.current),n=e.type,r=Uu(t.context,n);n=Ut(t.ancestorInfo,n),r={context:r,ancestorInfo:n},t!==r&&(w(tp,e,e),w(ep,r,e))}function me(e){tp.current===e&&(ce(ep,e),ce(tp,e)),rp.current===e&&(ce(rp,e),bC._currentValue=yC)}function he(){}function ge(){if(ip===0){ap=console.log,op=console.info,sp=console.warn,cp=console.error,lp=console.group,up=console.groupCollapsed,dp=console.groupEnd;var e={configurable:!0,enumerable:!0,value:he,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ip++}function _e(){if(ip--,ip===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:ap}),info:R({},e,{value:op}),warn:R({},e,{value:sp}),error:R({},e,{value:cp}),group:R({},e,{value:lp}),groupCollapsed:R({},e,{value:up}),groupEnd:R({},e,{value:dp})})}0>ip&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function ve(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
18
|
-
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
19
|
-
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf(`react_stack_bottom_frame`),t!==-1&&(t=e.lastIndexOf(`
|
|
20
|
-
`,t)),t!==-1)e=e.slice(0,t);else return``;return e}function ye(e){if(fp===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);fp=t&&t[1]||``,pp=-1<e.stack.indexOf(`
|
|
21
|
-
at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return`
|
|
22
|
-
`+fp+e+pp}function be(e,t){if(!e||mp)return``;var n=hp.get(e);if(n!==void 0)return n;mp=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var r=null;r=z.H,z.H=null,ge();try{var i={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var a=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,`name`);a&&a.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:`DetermineComponentFrameRoot`});var o=i.DetermineComponentFrameRoot(),s=o[0],c=o[1];if(s&&c){var l=s.split(`
|
|
23
|
-
`),u=c.split(`
|
|
24
|
-
`);for(o=a=0;a<l.length&&!l[a].includes(`DetermineComponentFrameRoot`);)a++;for(;o<u.length&&!u[o].includes(`DetermineComponentFrameRoot`);)o++;if(a===l.length||o===u.length)for(a=l.length-1,o=u.length-1;1<=a&&0<=o&&l[a]!==u[o];)o--;for(;1<=a&&0<=o;a--,o--)if(l[a]!==u[o]){if(a!==1||o!==1)do if(a--,o--,0>o||l[a]!==u[o]){var d=`
|
|
25
|
-
`+l[a].replace(` at new `,` at `);return e.displayName&&d.includes(`<anonymous>`)&&(d=d.replace(`<anonymous>`,e.displayName)),typeof e==`function`&&hp.set(e,d),d}while(1<=a&&0<=o);break}}}finally{mp=!1,z.H=r,_e(),Error.prepareStackTrace=n}return l=(l=e?e.displayName||e.name:``)?ye(l):``,typeof e==`function`&&hp.set(e,l),l}function xe(e,t){switch(e.tag){case 26:case 27:case 5:return ye(e.type);case 16:return ye(`Lazy`);case 13:return e.child!==t&&t!==null?ye(`Suspense Fallback`):ye(`Suspense`);case 19:return ye(`SuspenseList`);case 0:case 15:return be(e.type,!1);case 11:return be(e.type.render,!1);case 1:return be(e.type,!0);case 31:return ye(`Activity`);default:return``}}function Se(e){try{var t=``,n=null;do{t+=xe(e,n);var r=e._debugInfo;if(r)for(var i=r.length-1;0<=i;i--){var a=r[i];if(typeof a.name==`string`){var o=t;a:{var s=a.name,c=a.env,l=a.debugLocation;if(l!=null){var u=ve(l),d=u.lastIndexOf(`
|
|
26
|
-
`),f=d===-1?u:u.slice(d+1);if(f.indexOf(s)!==-1){var p=`
|
|
27
|
-
`+f;break a}}p=ye(s+(c?` [`+c+`]`:``))}t=o+p}}n=e,e=e.return}while(e);return t}catch(e){return`
|
|
28
|
-
Error generating stack: `+e.message+`
|
|
29
|
-
`+e.stack}}function Ce(e){return(e=e?e.displayName||e.name:``)?ye(e):``}function we(){if(gp===null)return null;var e=gp._debugOwner;return e==null?null:oe(e)}function Te(){if(gp===null)return``;var e=gp;try{var t=``;switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=ye(e.type);break;case 13:t+=ye(`Suspense`);break;case 19:t+=ye(`SuspenseList`);break;case 31:t+=ye(`Activity`);break;case 30:case 0:case 15:case 1:e._debugOwner||t!==``||(t+=Ce(e.type));break;case 11:e._debugOwner||t!==``||(t+=Ce(e.type.render))}for(;e;)if(typeof e.tag==`number`){var n=e;e=n._debugOwner;var r=n._debugStack;if(e&&r){var i=ve(r);i!==``&&(t+=`
|
|
30
|
-
`+i)}}else if(e.debugStack!=null){var a=e.debugStack;(e=e.owner)&&a&&(t+=`
|
|
31
|
-
`+ve(a))}else break;var o=t}catch(e){o=`
|
|
32
|
-
Error generating stack: `+e.message+`
|
|
33
|
-
`+e.stack}return o}function T(e,t,n,r,i,a,o){var s=gp;Ee(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,n,r,i,a,o)):t(n,r,i,a,o)}finally{Ee(s)}throw Error(`runWithFiberInDEV should never be called in production. This is a bug in React.`)}function Ee(e){z.getCurrentStack=e===null?null:Te,_p=!1,gp=e}function E(e){return typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`}function De(e){try{return Oe(e),!1}catch{return!0}}function Oe(e){return``+e}function D(e,t){if(De(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,E(e)),Oe(e)}function ke(e,t){if(De(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,E(e)),Oe(e)}function Ae(e){if(De(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.`,E(e)),Oe(e)}function je(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{Mp=t.inject(e),Np=t}catch(e){console.error(`React instrumentation encountered an error: %o.`,e)}return!!t.checkDCE}function Me(e){if(typeof Ap==`function`&&jp(e),Np&&typeof Np.setStrictMode==`function`)try{Np.setStrictMode(Mp,e)}catch(e){Pp||(Pp=!0,console.error(`React instrumentation encountered an error: %o`,e))}}function Ne(e){return e>>>=0,e===0?32:31-(Lp(e)/Rp|0)|0}function Pe(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 Fe(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Pe(n))):i=Pe(o):i=Pe(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Pe(n))):i=Pe(o)):i=Pe(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Ie(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Le(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 Re(){var e=Vp;return Vp<<=1,!(Vp&62914560)&&(Vp=4194304),e}function ze(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Be(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ve(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-Ip(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&He(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function He(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-Ip(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Ue(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ip(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function We(e,t){var n=t&-t;return n=n&42?1:Ge(n),(n&(e.suspendedLanes|t))===0?n:0}function Ge(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 Ke(e,t,n){if(Fp)for(e=e.pendingUpdatersLaneMap;0<n;){var r=31-Ip(n),i=1<<r;e[r].add(t),n&=~i}}function qe(e,t){if(Fp)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;0<t;){var i=31-Ip(t);e=1<<i,i=n[i],0<i.size&&(i.forEach(function(e){var t=e.alternate;t!==null&&r.has(t)||r.add(e)}),i.clear()),t&=~e}}function Je(e){return e&=-e,Hp!==0&&Hp<e?Up!==0&&Up<e?e&134217727?Wp:Gp:Up:Hp}function Ye(){var e=B.p;return e===0?(e=window.event,e===void 0?Wp:mf(e.type)):e}function Xe(e,t){var n=B.p;try{return B.p=e,t()}finally{B.p=n}}function Ze(e){delete e[qp],delete e[Jp],delete e[Xp],delete e[Zp],delete e[Qp]}function Qe(e){var t=e[qp];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Yp]||n[qp]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cd(e);e!==null;){if(n=e[qp])return n;e=Cd(e)}return t}e=n,n=e.parentNode}return null}function $e(e){if(e=e[qp]||e[Yp]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function et(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(`getNodeFromInstance: Invalid argument.`)}function O(e){var t=e[$p];return t||=e[$p]={hoistableStyles:new Map,hoistableScripts:new Map},t}function tt(e){e[em]=!0}function nt(e,t){rt(e,t),rt(e+`Capture`,t)}function rt(e,t){nm[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),nm[e]=t;var n=e.toLowerCase();for(rm[n]=e,e===`onDoubleClick`&&(rm.ondblclick=e),e=0;e<t.length;e++)tm.add(t[e])}function it(e,t){im[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 at(e){return vp.call(sm,e)?!0:vp.call(om,e)?!1:am.test(e)?sm[e]=!0:(om[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function ot(e,t,n){if(at(t)){if(!e.hasAttribute(t)){switch(typeof n){case`symbol`:case`object`:return n;case`function`:return n;case`boolean`:if(!1===n)return n}return n===void 0?void 0:null}return e=e.getAttribute(t),e===``&&!0===n||(D(n,t),e===``+n?n:e)}}function st(e,t,n){if(at(t)){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}D(n,t),e.setAttribute(t,``+n)}}}function ct(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}D(n,t),e.setAttribute(t,``+n)}}function lt(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}D(r,n),e.setAttributeNS(t,n,``+r)}}function ut(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return Ae(e),e;default:return``}}function dt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function ft(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){Ae(e),n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){Ae(e),n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pt(e){if(!e._valueTracker){var t=dt(e)?`checked`:`value`;e._valueTracker=ft(e,t,``+e[t])}}function mt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=dt(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function ht(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function gt(e){return e.replace(cm,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function _t(e,t){t.checked===void 0||t.defaultChecked===void 0||um||(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`,we()||`A component`,t.type),um=!0),t.value===void 0||t.defaultValue===void 0||lm||(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`,we()||`A component`,t.type),lm=!0)}function vt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?(D(o,`type`),e.type=o):e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+ut(t)):e.value!==``+ut(t)&&(e.value=``+ut(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):bt(e,o,ut(n)):bt(e,o,ut(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?(D(s,`name`),e.name=``+ut(s)):e.removeAttribute(`name`)}function yt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(D(a,`type`),e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){pt(e);return}n=n==null?``:``+ut(n),t=t==null?n:``+ut(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(D(o,`name`),e.name=o),pt(e)}function bt(e,t,n){t===`number`&&ht(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function xt(e,t){t.value??(typeof t.children==`object`&&t.children!==null?Af.Children.forEach(t.children,function(e){e==null||typeof e==`string`||typeof e==`number`||typeof e==`bigint`||fm||(fm=!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||pm||(pm=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||dm||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),dm=!0)}function St(){var e=we();return e?`
|
|
34
|
-
|
|
35
|
-
Check the render method of \``+e+"`.":``}function k(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+ut(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ct(e,t){for(e=0;e<hm.length;e++){var n=hm[e];if(t[n]!=null){var r=Yf(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,St()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,St())}}t.value===void 0||t.defaultValue===void 0||mm||(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`),mm=!0)}function wt(e,t){t.value===void 0||t.defaultValue===void 0||gm||(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`,we()||`A component`),gm=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Tt(e,t,n){if(t!=null&&(t=``+ut(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+ut(n)}function Et(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yf(r)){if(1<r.length)throw Error(`<textarea> can only have at most one child.`);r=r[0]}n=r}n??=``,t=n}n=ut(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),pt(e)}function Dt(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Dt(e.children[0],t):e}function Ot(e){return` `+` `.repeat(e)}function kt(e){return`+ `+` `.repeat(e)}function At(e){return`- `+` `.repeat(e)}function jt(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 Mt(e,t){return _m.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 Nt(e,t,n){var r=120-2*n;if(t===null)return kt(n)+Mt(e,r)+`
|
|
36
|
-
`;if(typeof t==`string`){for(var i=0;i<t.length&&i<e.length&&t.charCodeAt(i)===e.charCodeAt(i);i++);return i>r-8&&10<i&&(e=`...`+e.slice(i-8),t=`...`+t.slice(i-8)),kt(n)+Mt(e,r)+`
|
|
37
|
-
`+At(n)+Mt(t,r)+`
|
|
38
|
-
`}return Ot(n)+Mt(e,r)+`
|
|
39
|
-
`}function Pt(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(e,t){return t})}function Ft(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(Yf(e))return`[...]`;if(e.$$typeof===Nf)return(t=S(e.type))?`<`+t+`>`:`<...>`;var n=Pt(e);if(n===`Object`){for(var r in n=``,t-=2,e)if(e.hasOwnProperty(r)){var i=JSON.stringify(r);if(i!==`"`+r+`"`&&(r=i),t-=r.length-2,i=Ft(e[r],15>t?t:15),t-=i.length,0>t){n+=n===``?`...`:`, ...`;break}n+=(n===``?``:`,`)+r+`:`+i}return`{`+n+`}`}return n;case`function`:return(t=e.displayName||e.name)?`function `+t:`function`;default:return String(e)}}function It(e,t){return typeof e!=`string`||_m.test(e)?`{`+Ft(e,t-2)+`}`:e.length>t-2?5>t?`"..."`:`"`+e.slice(0,t-5)+`..."`:`"`+e+`"`}function Lt(e,t,n){var r=120-n.length-e.length,i=[],a;for(a in t)if(t.hasOwnProperty(a)&&a!==`children`){var o=It(t[a],120-n.length-a.length-1);r-=a.length+o.length+2,i.push(a+`=`+o)}return i.length===0?n+`<`+e+`>
|
|
40
|
-
`:0<r?n+`<`+e+` `+i.join(` `)+`>
|
|
41
|
-
`:n+`<`+e+`
|
|
42
|
-
`+n+` `+i.join(`
|
|
43
|
-
`+n+` `)+`
|
|
44
|
-
`+n+`>
|
|
45
|
-
`}function Rt(e,t,n){var r=``,i=R({},t),a;for(a in e)if(e.hasOwnProperty(a)){delete i[a];var o=120-2*n-a.length-2,s=Ft(e[a],o);t.hasOwnProperty(a)?(o=Ft(t[a],o),r+=kt(n)+a+`: `+s+`
|
|
46
|
-
`,r+=At(n)+a+`: `+o+`
|
|
47
|
-
`):r+=kt(n)+a+`: `+s+`
|
|
48
|
-
`}for(var c in i)i.hasOwnProperty(c)&&(e=Ft(i[c],120-2*n-c.length-2),r+=At(n)+c+`: `+e+`
|
|
49
|
-
`);return r}function zt(e,t,n,r){var i=``,a=new Map;for(l in n)n.hasOwnProperty(l)&&a.set(l.toLowerCase(),l);if(a.size===1&&a.has(`children`))i+=Lt(e,t,Ot(r));else{for(var o in t)if(t.hasOwnProperty(o)&&o!==`children`){var s=120-2*(r+1)-o.length-1,c=a.get(o.toLowerCase());if(c!==void 0){a.delete(o.toLowerCase());var l=t[o];c=n[c];var u=It(l,s);s=It(c,s),typeof l==`object`&&l&&typeof c==`object`&&c&&Pt(l)===`Object`&&Pt(c)===`Object`&&(2<Object.keys(l).length||2<Object.keys(c).length||-1<u.indexOf(`...`)||-1<s.indexOf(`...`))?i+=Ot(r+1)+o+`={{
|
|
50
|
-
`+Rt(l,c,r+2)+Ot(r+1)+`}}
|
|
51
|
-
`:(i+=kt(r+1)+o+`=`+u+`
|
|
52
|
-
`,i+=At(r+1)+o+`=`+s+`
|
|
53
|
-
`)}else i+=Ot(r+1)+o+`=`+It(t[o],s)+`
|
|
54
|
-
`}a.forEach(function(e){if(e!==`children`){var t=120-2*(r+1)-e.length-1;i+=At(r+1)+e+`=`+It(n[e],t)+`
|
|
55
|
-
`}}),i=i===``?Ot(r)+`<`+e+`>
|
|
56
|
-
`:Ot(r)+`<`+e+`
|
|
57
|
-
`+i+Ot(r)+`>
|
|
58
|
-
`}return e=n.children,t=t.children,typeof e==`string`||typeof e==`number`||typeof e==`bigint`?(a=``,(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(a=``+t),i+=Nt(a,``+e,r+1)):(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(i=e==null?i+Nt(``+t,null,r+1):i+Nt(``+t,void 0,r+1)),i}function Bt(e,t){var n=jt(e);if(n===null){for(n=``,e=e.child;e;)n+=Bt(e,t),e=e.sibling;return n}return Ot(t)+`<`+n+`>
|
|
59
|
-
`}function Vt(e,t){var n=Dt(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Ot(t)+`...
|
|
60
|
-
`+Vt(n,t+1);n=``;var r=e.fiber._debugInfo;if(r)for(var i=0;i<r.length;i++){var a=r[i].name;typeof a==`string`&&(n+=Ot(t)+`<`+a+`>
|
|
61
|
-
`,t++)}if(r=``,i=e.fiber.pendingProps,e.fiber.tag===6)r=Nt(i,e.serverProps,t),t++;else if(a=jt(e.fiber),a!==null){if(e.serverProps===void 0){r=t;var o=120-2*r-a.length-2,s=``;for(l in i)if(i.hasOwnProperty(l)&&l!==`children`){var c=It(i[l],15);if(o-=l.length+c.length+2,0>o){s+=` ...`;break}s+=` `+l+`=`+c}r=Ot(r)+`<`+a+s+`>
|
|
62
|
-
`,t++}else e.serverProps===null?(r=Lt(a,i,kt(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.`):(r=zt(a,i,e.serverProps,t),t++)}var l=``;for(i=e.fiber.child,a=0;i&&a<e.children.length;)o=e.children[a],o.fiber===i?(l+=Vt(o,t),a++):l+=Bt(i,t),i=i.sibling;for(i&&0<e.children.length&&(l+=Ot(t)+`...
|
|
63
|
-
`),i=e.serverTail,e.serverProps===null&&t--,e=0;e<i.length;e++)a=i[e],l=typeof a==`string`?l+(At(t)+Mt(a,120-2*t)+`
|
|
64
|
-
`):l+Lt(a.type,a.props,At(t));return n+r+l}function A(e){try{return`
|
|
65
|
-
|
|
66
|
-
`+Vt(e,0)}catch{return``}}function Ht(e,t,n){for(var r=t,i=null,a=0;r;)r===e&&(a=0),i={fiber:r,children:i===null?[]:[i],serverProps:r===t?n:r===e?null:void 0,serverTail:[],distanceFromLeaf:a},a++,r=r.return;return i===null?``:A(i).replaceAll(/^[+-]/gm,`>`)}function Ut(e,t){var n=R({},e||Sm),r={tag:t};return ym.indexOf(t)!==-1&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),bm.indexOf(t)!==-1&&(n.pTagInButtonScope=null),vm.indexOf(t)!==-1&&t!==`address`&&t!==`div`&&t!==`p`&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,t===`form`&&(n.formTag=r),t===`a`&&(n.aTagInScope=r),t===`button`&&(n.buttonTagInScope=r),t===`nobr`&&(n.nobrTagInScope=r),t===`p`&&(n.pTagInButtonScope=r),t===`li`&&(n.listItemTagAutoclosing=r),(t===`dd`||t===`dt`)&&(n.dlItemTagAutoclosing=r),t===`#document`||t===`html`?n.containerTagInScope=null:n.containerTagInScope||=r,e!==null||t!==`#document`&&t!==`html`&&t!==`body`?!0===n.implicitRootScope&&(n.implicitRootScope=!1):n.implicitRootScope=!0,n}function Wt(e,t,n){switch(t){case`select`:return e===`hr`||e===`option`||e===`optgroup`||e===`script`||e===`template`||e===`#text`;case`optgroup`:return e===`option`||e===`#text`;case`option`:return e===`#text`;case`tr`:return e===`th`||e===`td`||e===`style`||e===`script`||e===`template`;case`tbody`:case`thead`:case`tfoot`:return e===`tr`||e===`style`||e===`script`||e===`template`;case`colgroup`:return e===`col`||e===`template`;case`table`:return e===`caption`||e===`colgroup`||e===`tbody`||e===`tfoot`||e===`thead`||e===`style`||e===`script`||e===`template`;case`head`:return e===`base`||e===`basefont`||e===`bgsound`||e===`link`||e===`meta`||e===`title`||e===`noscript`||e===`noframes`||e===`style`||e===`script`||e===`template`;case`html`:if(n)break;return e===`head`||e===`body`||e===`frameset`;case`frameset`:return e===`frame`;case`#document`:if(!n)return e===`html`}switch(e){case`h1`:case`h2`:case`h3`:case`h4`:case`h5`:case`h6`:return t!==`h1`&&t!==`h2`&&t!==`h3`&&t!==`h4`&&t!==`h5`&&t!==`h6`;case`rp`:case`rt`:return xm.indexOf(t)===-1;case`caption`:case`col`:case`colgroup`:case`frameset`:case`frame`:case`tbody`:case`td`:case`tfoot`:case`th`:case`thead`:case`tr`:return t==null;case`head`:return n||t===null;case`html`:return n&&t===`#document`||t===null;case`body`:return n&&(t===`#document`||t===`html`)||t===null}return!0}function Gt(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 Kt(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 qt(e,t){t||=Sm;var n=t.current;if(t=(n=Wt(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Gt(e,t),t=n||t,!t)return!0;var r=t.tag;if(t=String(!!n)+`|`+e+`|`+r,Cm[t])return!1;Cm[t]=!0;var i=(t=gp)?Kt(t.return,r):null,a=t!==null&&i!==null?Ht(i,t,null):``,o=`<`+e+`>`;return n?(n=``,r===`table`&&e===`tr`&&(n+=` Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser.`),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
67
|
-
This will cause a hydration error.%s`,o,r,n,a)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
68
|
-
This will cause a hydration error.%s`,o,r,a),t&&(e=t.return,i===null||e===null||i===e&&e._debugOwner===t._debugOwner||T(i,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
-
See this log for the ancestor stack trace.`,r,o)})),!1}function Jt(e,t,n){if(n||Wt(`#text`,t,!1))return!0;if(n=`#text|`+t,Cm[n])return!1;Cm[n]=!0;var r=(n=gp)?Kt(n,t):null;return n=n!==null&&r!==null?Ht(r,n,n.tag===6?null:{children:null}):``,/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
70
|
-
This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
71
|
-
This will cause a hydration error.%s`,t,n),!1}function Yt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Xt(e){return e.replace(km,function(e,t){return t.toUpperCase()})}function Zt(e,t,n){var r=t.indexOf(`--`)===0;r||(-1<t.indexOf(`-`)?jm.hasOwnProperty(t)&&jm[t]||(jm[t]=!0,console.error(`Unsupported style property %s. Did you mean %s?`,t,Xt(t.replace(Om,`ms-`)))):Dm.test(t)?jm.hasOwnProperty(t)&&jm[t]||(jm[t]=!0,console.error(`Unsupported vendor-prefixed style property %s. Did you mean %s?`,t,t.charAt(0).toUpperCase()+t.slice(1))):!Am.test(n)||Mm.hasOwnProperty(n)&&Mm[n]||(Mm[n]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Am,``))),typeof n==`number`&&(isNaN(n)?Nm||(Nm=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(n)||Pm||(Pm=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Fm.has(t)?t===`float`?e.cssFloat=n:(ke(n,t),e[t]=(``+n).trim()):e[t]=n+`px`}function Qt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,n!=null){if(t){var r={};if(n){for(var i in n)if(n.hasOwnProperty(i)&&!t.hasOwnProperty(i))for(var a=wm[i]||[i],o=0;o<a.length;o++)r[a[o]]=i}for(var s in t)if(t.hasOwnProperty(s)&&(!n||n[s]!==t[s]))for(i=wm[s]||[s],a=0;a<i.length;a++)r[i[a]]=s;for(var c in s={},t)for(i=wm[c]||[c],a=0;a<i.length;a++)s[i[a]]=c;for(var l in c={},r)if(i=r[l],(a=s[l])&&i!==a&&(o=i+`,`+a,!c[o])){c[o]=!0,o=console;var u=t[i];o.error.call(o,`%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.`,u==null||typeof u==`boolean`||u===``?`Removing`:`Updating`,i,a)}}for(var d in n)!n.hasOwnProperty(d)||t!=null&&t.hasOwnProperty(d)||(d.indexOf(`--`)===0?e.setProperty(d,``):d===`float`?e.cssFloat=``:e[d]=``);for(var f in t)l=t[f],t.hasOwnProperty(f)&&n[f]!==l&&Zt(e,f,l)}else for(r in t)t.hasOwnProperty(r)&&Zt(e,r,t[r])}function $t(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 en(e){return Rm.get(e)||e}function tn(e,t){if(vp.call(Vm,t)&&Vm[t])return!0;if(Um.test(t)){if(e=`aria-`+t.slice(4).toLowerCase(),e=Bm.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Vm[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Vm[t]=!0}if(Hm.test(t)){if(e=t.toLowerCase(),e=Bm.hasOwnProperty(e)?e:null,e==null)return Vm[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Vm[t]=!0)}return!0}function nn(e,t){var n=[],r;for(r in t)tn(e,r)||n.push(r);t=n.map(function(e){return"`"+e+"`"}).join(`, `),n.length===1?console.error(`Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e):1<n.length&&console.error(`Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props`,t,e)}function rn(e,t,n,r){if(vp.call(Gm,t)&&Gm[t])return!0;var i=t.toLowerCase();if(i===`onfocusin`||i===`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.`),Gm[t]=!0;if(typeof n==`function`&&(e===`form`&&t===`action`||e===`input`&&t===`formAction`||e===`button`&&t===`formAction`))return!0;if(r!=null){if(e=r.possibleRegistrationNames,r.registrationNameDependencies.hasOwnProperty(t))return!0;if(r=e.hasOwnProperty(i)?e[i]:null,r!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,r),Gm[t]=!0;if(Km.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Gm[t]=!0}else if(Km.test(t))return qm.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Gm[t]=!0;if(Jm.test(t)||Ym.test(t))return!0;if(i===`innerhtml`)return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Gm[t]=!0;if(i===`aria`)return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Gm[t]=!0;if(i===`is`&&n!=null&&typeof n!=`string`)return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Gm[t]=!0;if(typeof n==`number`&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Gm[t]=!0;if(zm.hasOwnProperty(i)){if(i=zm[i],i!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,i),Gm[t]=!0}else if(t!==i)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,i),Gm[t]=!0;switch(t){case`dangerouslySetInnerHTML`:case`children`:case`style`:case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:return!0;case`innerText`:case`textContent`:return!0}switch(typeof n){case`boolean`:switch(t){case`autoFocus`:case`checked`:case`multiple`:case`muted`:case`selected`:case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`capture`:case`download`:case`inert`:return!0;default:return i=t.toLowerCase().slice(0,5),i===`data-`||i===`aria-`||(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error(`Received \`%s\` for a non-boolean attribute \`%s\`.
|
|
72
|
-
|
|
73
|
-
If you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.
|
|
74
|
-
|
|
75
|
-
If you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.`,n,t,t,n,t,t,t),Gm[t]=!0)}case`function`:case`symbol`:return Gm[t]=!0,!1;case`string`:if(n===`false`||n===`true`){switch(t){case`checked`:case`selected`:case`multiple`:case`muted`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:case`inert`:break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n===`false`?`The browser will interpret it as a truthy value.`:`Although this works, it will not work as expected if you pass the string "false".`,t,n),Gm[t]=!0}}return!0}function an(e,t,n){var r=[],i;for(i in t)rn(e,i,t[i],n)||r.push(i);t=r.map(function(e){return"`"+e+"`"}).join(`, `),r.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<r.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 on(e){return Xm.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function sn(){}function cn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function ln(e){var t=$e(e);if(t&&(e=t.stateNode)){var n=e[Jp]||null;a:switch(e=t.stateNode,t.type){case`input`:if(vt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(D(t,`name`),n=n.querySelectorAll(`input[name="`+gt(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=r[Jp]||null;if(!i)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");vt(r,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&mt(r)}break a;case`textarea`:Tt(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&k(e,!!n.multiple,t,!1)}}}function un(e,t,n){if(eh)return e(t,n);eh=!0;try{return e(t)}finally{if(eh=!1,(Qm!==null||$m!==null)&&(cl(),Qm&&(t=Qm,e=$m,$m=Qm=null,ln(t),e)))for(t=0;t<e.length;t++)ln(e[t])}}function dn(e,t){var n=e.stateNode;if(n===null)return null;var r=n[Jp]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=e!==`button`&&e!==`input`&&e!==`select`&&e!==`textarea`),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof n+"` type.");return n}function fn(){if(oh)return oh;var e,t=ah,n=t.length,r,i=`value`in ih?ih.value:ih.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return oh=i.slice(e,1<r?1-r:void 0)}function pn(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 mn(){return!0}function hn(){return!1}function gn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?mn:hn,this.isPropagationStopped=hn,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=mn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=mn)},persist:function(){},isPersistent:mn}),t}function _n(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wh[e])?!!t[e]:!1}function j(){return _n}function vn(e,t){switch(e){case`keyup`:return jh.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==Mh;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function yn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}function bn(e,t){switch(e){case`compositionend`:return yn(t);case`keypress`:return t.which===Lh?(zh=!0,Rh):null;case`textInput`:return e=t.data,e===Rh&&zh?null:e;default:return null}}function xn(e,t){if(Bh)return e===`compositionend`||!Nh&&vn(e,t)?(e=fn(),oh=ah=ih=null,Bh=!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 Ih&&t.locale!==`ko`?null:t.data;default:return null}}function Sn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Vh[e.type]:t===`textarea`}function Cn(e){if(!th)return!1;e=`on`+e;var t=e in document;return t||=(t=document.createElement(`div`),t.setAttribute(e,`return;`),typeof t[e]==`function`),t}function wn(e,t,n,r){Qm?$m?$m.push(r):$m=[r]:Qm=r,t=hu(t,`onChange`),0<t.length&&(n=new ch(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}function Tn(e){lu(e,0)}function En(e){if(mt(et(e)))return e}function Dn(e,t){if(e===`change`)return t}function On(){Hh&&(Hh.detachEvent(`onpropertychange`,kn),Uh=Hh=null)}function kn(e){if(e.propertyName===`value`&&En(Uh)){var t=[];wn(t,Uh,e,cn(e)),un(Tn,t)}}function An(e,t,n){e===`focusin`?(On(),Hh=t,Uh=n,Hh.attachEvent(`onpropertychange`,kn)):e===`focusout`&&On()}function jn(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return En(Uh)}function Mn(e,t){if(e===`click`)return En(t)}function Nn(e,t){if(e===`input`||e===`change`)return En(t)}function Pn(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function M(e,t){if(Gh(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!vp.call(t,i)||!Gh(e[i],t[i]))return!1}return!0}function Fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function In(e,t){var n=Fn(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Fn(n)}}function Ln(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ln(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Rn(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=ht(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=ht(e.document)}return t}function zn(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 Bn(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Xh||qh==null||qh!==ht(r)||(r=qh,`selectionStart`in r&&zn(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Yh&&M(Yh,r)||(Yh=r,r=hu(Jh,`onSelect`),0<r.length&&(t=new ch(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=qh)))}function Vn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}function Hn(e){if(Qh[e])return Qh[e];if(!Zh[e])return e;var t=Zh[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in $h)return Qh[e]=t[n];return e}function Un(e,t){sg.set(e,t),nt(t,[e])}function Wn(e){for(var t=hg,n=0;n<e.length;n++){var r=e[n];if(typeof r==`object`&&r){if(Yf(r)&&r.length===2&&typeof r[0]==`string`){if(t!==hg&&t!==vg)return gg;t=vg}else return gg}else{if(typeof r==`function`||typeof r==`string`&&50<r.length||t!==hg&&t!==_g)return gg;t=_g}}return t}function Gn(e,t,n,r){for(var i in e)vp.call(e,i)&&i[0]!==`_`&&Kn(i,e[i],t,n,r)}function Kn(e,t,n,r,i){switch(typeof t){case`object`:if(t===null){t=`null`;break}if(t.$$typeof===Nf){var a=S(t.type)||`…`,o=t.key;t=t.props;var s=Object.keys(t),c=s.length;if(o==null&&c===0){t=`<`+a+` />`;break}if(3>r||c===1&&s[0]===`children`&&o==null){t=`<`+a+` … />`;break}for(var l in n.push([i+`\xA0\xA0`.repeat(r)+e,`<`+a]),o!==null&&Kn(`key`,o,n,r+1,i),e=!1,t)l===`children`?t.children!=null&&(!Yf(t.children)||0<t.children.length)&&(e=!0):vp.call(t,l)&&l[0]!==`_`&&Kn(l,t[l],n,r+1,i);n.push([``,e?`>…</`+a+`>`:`/>`]);return}if(a=Object.prototype.toString.call(t),a=a.slice(8,a.length-1),a===`Array`){if(l=Wn(t),l===_g||l===hg){t=JSON.stringify(t);break}if(l===vg){for(n.push([i+`\xA0\xA0`.repeat(r)+e,``]),e=0;e<t.length;e++)a=t[e],Kn(a[0],a[1],n,r+1,i);return}}if(a===`Promise`){if(t.status===`fulfilled`){if(a=n.length,Kn(e,t.value,n,r,i),n.length>a){n=n[a],n[1]=`Promise<`+(n[1]||`Object`)+`>`;return}}else if(t.status===`rejected`&&(a=n.length,Kn(e,t.reason,n,r,i),n.length>a)){n=n[a],n[1]=`Rejected Promise<`+n[1]+`>`;return}n.push([`\xA0\xA0`.repeat(r)+e,`Promise`]);return}a===`Object`&&(l=Object.getPrototypeOf(t))&&typeof l.constructor==`function`&&(a=l.constructor.name),n.push([i+`\xA0\xA0`.repeat(r)+e,a===`Object`?3>r?``:`…`:a]),3>r&&Gn(t,n,r+1,i);return;case`function`:t=t.name===``?`() => {}`:t.name+`() {}`;break;case`string`:t=t===mg?`…`:JSON.stringify(t);break;case`undefined`:t=`undefined`;break;case`boolean`:t=t?`true`:`false`;break;default:t=String(t)}n.push([i+`\xA0\xA0`.repeat(r)+e,t])}function qn(e,t,n,r){var i=!0;for(o in e)o in t||(n.push([yg+`\xA0\xA0`.repeat(r)+o,`…`]),i=!1);for(var a in t)if(a in e){var o=e[a],s=t[a];if(o!==s){if(r===0&&a===`children`)i=`\xA0\xA0`.repeat(r)+a,n.push([yg+i,`…`],[bg+i,`…`]);else{if(!(3<=r)){if(typeof o==`object`&&typeof s==`object`&&o!==null&&s!==null&&o.$$typeof===s.$$typeof){if(s.$$typeof===Nf){if(o.type===s.type&&o.key===s.key){o=S(s.type)||`…`,i=`\xA0\xA0`.repeat(r)+a,o=`<`+o+` … />`,n.push([yg+i,o],[bg+i,o]),i=!1;continue}}else{var c=Object.prototype.toString.call(o),l=Object.prototype.toString.call(s);if(c===l&&(l===`[object Object]`||l===`[object Array]`)){c=[xg+`\xA0\xA0`.repeat(r)+a,l===`[object Array]`?`Array`:``],n.push(c),l=n.length,qn(o,s,n,r+1)?l===n.length&&(c[1]=`Referentially unequal but deeply equal objects. Consider memoization.`):i=!1;continue}}}else if(typeof o==`function`&&typeof s==`function`&&o.name===s.name&&o.length===s.length&&(c=Function.prototype.toString.call(o),l=Function.prototype.toString.call(s),c===l)){o=s.name===``?`() => {}`:s.name+`() {}`,n.push([xg+`\xA0\xA0`.repeat(r)+a,o+` Referentially unequal function closure. Consider memoization.`]);continue}}Kn(a,o,n,r,yg),Kn(a,s,n,r,bg)}i=!1}}else n.push([bg+`\xA0\xA0`.repeat(r)+a,`…`]),i=!1;return i}function Jn(e){H=e&63?`Blocking`:e&64?`Gesture`:e&4194176?`Transition`:e&62914560?`Suspense`:e&2080374784?`Idle`:`Other`}function Yn(e,t,n,r){Sg&&(Eg.start=t,Eg.end=n,Tg.color=`warning`,Tg.tooltipText=r,Tg.properties=null,(e=e._debugTask)?e.run(performance.measure.bind(performance,r,Eg)):performance.measure(r,Eg))}function Xn(e,t,n){Yn(e,t,n,`Reconnect`)}function Zn(e,t,n,r,i){var a=C(e);if(a!==null&&Sg){var o=e.alternate,s=e.actualDuration;if(o===null||o.child!==e.child)for(var c=e.child;c!==null;c=c.sibling)s-=c.actualDuration;r=.5>s?r?`tertiary-light`:`primary-light`:10>s?r?`tertiary`:`primary`:100>s?r?`tertiary-dark`:`primary-dark`:`error`;var l=e.memoizedProps;s=e._debugTask,l!==null&&o!==null&&o.memoizedProps!==l?(c=[Dg],l=qn(o.memoizedProps,l,c,0),1<c.length&&(l&&!wg&&(o.lanes&i)===0&&100<e.actualDuration?(wg=!0,c[0]=kg,Tg.color=`warning`,Tg.tooltipText=Og):(Tg.color=r,Tg.tooltipText=a),Tg.properties=c,Eg.start=t,Eg.end=n,s==null?performance.measure(``+a,Eg):s.run(performance.measure.bind(performance,``+a,Eg)))):s==null?console.timeStamp(a,t,n,Cg,void 0,r):s.run(console.timeStamp.bind(console,a,t,n,Cg,void 0,r))}}function Qn(e,t,n,r){if(Sg){var i=C(e);if(i!==null){for(var a=null,o=[],s=0;s<r.length;s++){var c=r[s];a==null&&c.source!==null&&(a=c.source._debugTask),c=c.value,o.push([`Error`,typeof c==`object`&&c&&typeof c.message==`string`?String(c.message):String(c)])}e.key!==null&&Kn(`key`,e.key,o,0,``),e.memoizedProps!==null&&Gn(e.memoizedProps,o,0,``),a??=e._debugTask,e={start:t,end:n,detail:{devtools:{color:`error`,track:Cg,tooltipText:e.tag===13?`Hydration failed`:`Error boundary caught an error`,properties:o}}},a?a.run(performance.measure.bind(performance,``+i,e)):performance.measure(``+i,e)}}}function $n(e,t,n,r,i){if(i!==null){if(Sg){var a=C(e);if(a!==null){r=[];for(var o=0;o<i.length;o++){var s=i[o].value;r.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e.key!==null&&Kn(`key`,e.key,r,0,``),e.memoizedProps!==null&&Gn(e.memoizedProps,r,0,``),t={start:t,end:n,detail:{devtools:{color:`error`,track:Cg,tooltipText:`A lifecycle or effect errored`,properties:r}}},(e=e._debugTask)?e.run(performance.measure.bind(performance,``+a,t)):performance.measure(``+a,t)}}}else a=C(e),a!==null&&Sg&&(i=1>r?`secondary-light`:100>r?`secondary`:500>r?`secondary-dark`:`error`,(e=e._debugTask)?e.run(console.timeStamp.bind(console,a,t,n,Cg,void 0,i)):console.timeStamp(a,t,n,Cg,void 0,i))}function er(e,t,n,r){if(Sg&&!(t<=e)){var i=(n&738197653)===n?`tertiary-dark`:`primary-dark`;n=(n&536870912)===n?`Prepared`:(n&201326741)===n?`Hydrated`:`Render`,r?r.run(console.timeStamp.bind(console,n,e,t,H,V,i)):console.timeStamp(n,e,t,H,V,i)}}function tr(e,t,n,r){!Sg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Prewarm`,e,t,H,V,n)):console.timeStamp(`Prewarm`,e,t,H,V,n))}function nr(e,t,n,r){!Sg||t<=e||(n=(n&738197653)===n?`tertiary-dark`:`primary-dark`,r?r.run(console.timeStamp.bind(console,`Suspended`,e,t,H,V,n)):console.timeStamp(`Suspended`,e,t,H,V,n))}function rr(e,t,n,r,i,a){if(Sg&&!(t<=e)){n=[];for(var o=0;o<r.length;o++){var s=r[o].value;n.push([`Recoverable Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`primary-dark`,track:H,trackGroup:V,tooltipText:i?`Hydration Failed`:`Recovered after Error`,properties:n}}},a?a.run(performance.measure.bind(performance,`Recovered`,e)):performance.measure(`Recovered`,e)}}function ir(e,t,n,r){!Sg||t<=e||(r?r.run(console.timeStamp.bind(console,`Errored`,e,t,H,V,`error`)):console.timeStamp(`Errored`,e,t,H,V,`error`))}function ar(e,t,n,r){!Sg||t<=e||(r?r.run(console.timeStamp.bind(console,n,e,t,H,V,`secondary-light`)):console.timeStamp(n,e,t,H,V,`secondary-light`))}function or(e,t,n,r,i){if(Sg&&!(t<=e)){for(var a=[],o=0;o<n.length;o++){var s=n[o].value;a.push([`Error`,typeof s==`object`&&s&&typeof s.message==`string`?String(s.message):String(s)])}e={start:e,end:t,detail:{devtools:{color:`error`,track:H,trackGroup:V,tooltipText:r?`Remaining Effects Errored`:`Commit Errored`,properties:a}}},i?i.run(performance.measure.bind(performance,`Errored`,e)):performance.measure(`Errored`,e)}}function sr(e,t,n){!Sg||t<=e||(n?n.run(console.timeStamp.bind(console,`Animating`,e,t,H,V,`secondary-dark`)):console.timeStamp(`Animating`,e,t,H,V,`secondary-dark`))}function cr(){for(var e=Ng,t=Pg=Ng=0;t<e;){var n=Mg[t];Mg[t++]=null;var r=Mg[t];Mg[t++]=null;var i=Mg[t];Mg[t++]=null;var a=Mg[t];if(Mg[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&fr(n,i,a)}}function lr(e,t,n,r){Mg[Ng++]=e,Mg[Ng++]=t,Mg[Ng++]=n,Mg[Ng++]=r,Pg|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function ur(e,t,n,r){return lr(e,t,n,r),pr(e)}function dr(e,t){return lr(e,null,null,t),pr(e)}function fr(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&Ag||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-Ip(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function pr(e){if(Kx>Gx)throw Zx=Kx=0,Qx=qx=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.`);Zx>Xx&&(Zx=0,Qx=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&&Gl(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&t.flags&4098&&Gl(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function mr(e){if(Ig===null)return e;var t=Ig(e);return t===void 0?e:t.current}function hr(e){if(Ig===null)return e;var t=Ig(e);return t===void 0?e!=null&&typeof e.render==`function`&&(t=mr(e.render),e.render!==t)?(t={$$typeof:Bf,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function gr(e,t){if(Ig===null)return!1;var n=e.elementType;t=t.type;var r=!1,i=typeof t==`object`&&t?t.$$typeof:null;switch(e.tag){case 1:typeof t==`function`&&(r=!0);break;case 0:(typeof t==`function`||i===Wf)&&(r=!0);break;case 11:(i===Bf||i===Wf)&&(r=!0);break;case 14:case 15:(i===Uf||i===Wf)&&(r=!0);break;default:return!1}return!!(r&&(e=Ig(n),e!==void 0&&e===Ig(t)))}function _r(e){Ig!==null&&typeof WeakSet==`function`&&(Lg===null&&(Lg=new WeakSet),Lg.add(e))}function vr(e,t,n){do{var r=e,i=r.alternate,a=r.child,o=r.sibling,s=r.tag;r=r.type;var c=null;switch(s){case 0:case 15:case 1:c=r;break;case 11:c=r.render}if(Ig===null)throw Error(`Expected resolveFamily to be set during hot reload.`);var l=!1;if(r=!1,c!==null&&(c=Ig(c),c!==void 0&&(n.has(c)?r=!0:t.has(c)&&(s===1?r=!0:l=!0))),Lg!==null&&(Lg.has(e)||i!==null&&Lg.has(i))&&(r=!0),r&&(e._debugNeedsRemount=!0),(r||l)&&(i=dr(e,2),i!==null&&rl(i,e,2)),a===null||r||vr(a,t,n),o===null)break;e=o}while(1)}function yr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,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,Hg||typeof Object.preventExtensions!=`function`||Object.preventExtensions(this)}function br(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xr(e,t){var n=e.alternate;switch(n===null?(n=g(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugOwner=e._debugOwner,n._debugStack=e._debugStack,n._debugTask=e._debugTask,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=-0,n.actualStartTime=-1.1),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugInfo=e._debugInfo,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 0:case 15:n.type=mr(e.type);break;case 1:n.type=mr(e.type);break;case 11:n.type=hr(e.type)}return n}function Sr(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration),e}function Cr(e,t,n,r,i,a){var o=0,s=e;if(typeof e==`function`)br(e)&&(o=1),s=mr(s);else if(typeof e==`string`)o=fe(),o=Kd(e,n,o)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case Gf:return t=g(31,n,t,i),t.elementType=Gf,t.lanes=a,t;case Ff:return Tr(n.children,i,a,t);case If:o=8,i|=zg,i|=Bg;break;case Lf:return e=n,r=i,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=g(12,e,t,r|W),t.elementType=Lf,t.lanes=a,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Vf:return t=g(13,n,t,i),t.elementType=Vf,t.lanes=a,t;case Hf:return t=g(19,n,t,i),t.elementType=Hf,t.lanes=a,t;default:if(typeof e==`object`&&e)switch(e.$$typeof){case zf:o=10;break a;case Rf:o=9;break a;case Bf:o=11,s=hr(s);break a;case Uf:o=14;break a;case Wf:o=16,s=null;break a}s=``,(e===void 0||typeof e==`object`&&e&&Object.keys(e).length===0)&&(s+=` You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.`),e===null?n=`null`:Yf(e)?n=`array`:e!==void 0&&e.$$typeof===Nf?(n=`<`+(S(e.type)||`Unknown`)+` />`,s=` Did you accidentally export a JSX literal instead of a component?`):n=typeof e,(o=r?oe(r):null)&&(s+=`
|
|
76
|
-
|
|
77
|
-
Check the render method of \``+o+"`."),o=29,n=Error(`Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: `+(n+`.`+s)),s=null}return t=g(o,n,t,i),t.elementType=e,t.type=s,t.lanes=a,t._debugOwner=r,t}function wr(e,t,n){return t=Cr(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function Tr(e,t,n,r){return e=g(7,e,r,t),e.lanes=n,e}function Er(e,t,n){return e=g(6,e,null,t),e.lanes=n,e}function Dr(e){var t=g(18,null,null,U);return t.stateNode=e,t}function Or(e,t,n){return t=g(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kr(e,t){if(typeof e==`object`&&e){var n=Ug.get(e);return n===void 0?(t={value:e,source:t,stack:Se(t)},Ug.set(e,t),t):n}return{value:e,source:t,stack:Se(t)}}function Ar(e,t){Ir(),Wg[Gg++]=qg,Wg[Gg++]=Kg,Kg=e,qg=t}function jr(e,t,n){Ir(),Jg[Yg++]=Zg,Jg[Yg++]=Qg,Jg[Yg++]=Xg,Xg=e;var r=Zg;e=Qg;var i=32-Ip(r)-1;r&=~(1<<i),n+=1;var a=32-Ip(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Zg=1<<32-Ip(t)+i|n<<i|r,Qg=a+e}else Zg=1<<a|n<<i|r,Qg=e}function Mr(e){Ir(),e.return!==null&&(Ar(e,1),jr(e,1,0))}function Nr(e){for(;e===Kg;)Kg=Wg[--Gg],Wg[Gg]=null,qg=Wg[--Gg],Wg[Gg]=null;for(;e===Xg;)Xg=Jg[--Yg],Jg[Yg]=null,Qg=Jg[--Yg],Jg[Yg]=null,Zg=Jg[--Yg],Jg[Yg]=null}function Pr(){return Ir(),Xg===null?null:{id:Zg,overflow:Qg}}function Fr(e,t){Ir(),Jg[Yg++]=Zg,Jg[Yg++]=Qg,Jg[Yg++]=Xg,Zg=t.id,Qg=t.overflow,Xg=e}function Ir(){G||console.error(`Expected to be hydrating. This is a bug in React. Please file an issue.`)}function Lr(e,t){if(e.return===null){if(n_===null)n_={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(n_.fiber!==e)throw Error(`Saw multiple hydration diff roots in a pass. This is a bug in React.`);n_.distanceFromLeaf>t&&(n_.distanceFromLeaf=t)}return n_}var n=Lr(e.return,t+1).children;return 0<n.length&&n[n.length-1].fiber===e?(n=n[n.length-1],n.distanceFromLeaf>t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Rr(){G&&console.error(`We should not be hydrating here. This is a bug in React. Please file a bug.`)}function zr(e,t){t_||(e=Lr(e,0),e.serverProps=null,t!==null&&(t=bd(t),e.serverTail.push(t)))}function Br(e){var t=1<arguments.length&&arguments[1]!==void 0&&arguments[1],n=``,r=n_;throw r!==null&&(n_=null,n=A(r)),Kr(kr(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:
|
|
78
|
-
|
|
79
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
80
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
81
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
82
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
83
|
-
- Invalid HTML tag nesting.
|
|
84
|
-
|
|
85
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
86
|
-
|
|
87
|
-
https://react.dev/link/hydration-mismatch`+n),e)),a_}function Vr(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[qp]=e,t[Jp]=r,vu(n,r),n){case`dialog`:L(`cancel`,t),L(`close`,t);break;case`iframe`:case`object`:case`embed`:L(`load`,t);break;case`video`:case`audio`:for(n=0;n<fS.length;n++)L(fS[n],t);break;case`source`:L(`error`,t);break;case`img`:case`image`:case`link`:L(`error`,t),L(`load`,t);break;case`details`:L(`toggle`,t);break;case`input`:it(`input`,r),L(`invalid`,t),_t(t,r),yt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`option`:xt(t,r);break;case`select`:it(`select`,r),L(`invalid`,t),Ct(t,r);break;case`textarea`:it(`textarea`,r),L(`invalid`,t),wt(t,r),Et(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||wu(t.textContent,n)?(r.popover!=null&&(L(`beforetoggle`,t),L(`toggle`,t)),r.onScroll!=null&&L(`scroll`,t),r.onScrollEnd!=null&&L(`scrollend`,t),r.onClick!=null&&(t.onclick=sn),t=!0):t=!1,t||Br(e,!0)}function Hr(e){for($g=e.return;$g;)switch($g.tag){case 5:case 31:case 13:i_=!1;return;case 27:case 3:i_=!0;return;default:$g=$g.return}}function Ur(e){if(e!==$g)return!1;if(!G)return Hr(e),G=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=n===`form`||n===`button`||Wu(e.type,e.memoizedProps)),n=!n),n&&e_){for(n=e_;n;){var r=Lr(e,0),i=bd(n);r.serverTail.push(i),n=i.type===`Suspense`?Sd(n):yd(n.nextSibling)}Br(e)}if(Hr(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);e_=Sd(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);e_=Sd(e)}else t===27?(t=e_,td(e.type)?(e=nC,nC=null,e_=e):e_=t):e_=$g?yd(e.stateNode.nextSibling):null;return!0}function Wr(){e_=$g=null,t_=G=!1}function Gr(){var e=r_;return e!==null&&(mx===null?mx=e:mx.push.apply(mx,e),r_=null),e}function Kr(e){r_===null?r_=[e]:r_.push(e)}function qr(){var e=n_;if(e!==null){n_=null;for(var t=A(e);0<e.children.length;)e=e.children[0];T(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:
|
|
88
|
-
|
|
89
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
90
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
91
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
92
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
93
|
-
- Invalid HTML tag nesting.
|
|
94
|
-
|
|
95
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
96
|
-
|
|
97
|
-
%s%s`,`https://react.dev/link/hydration-mismatch`,t)})}}function Jr(){u_=l_=null,d_=!1}function Yr(e,t,n){w(o_,t._currentValue,e),t._currentValue=n,w(s_,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==c_&&console.error(`Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported.`),t._currentRenderer=c_}function Xr(e,t){e._currentValue=o_.current;var n=s_.current;ce(s_,t),e._currentRenderer=n,ce(o_,t)}function Zr(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}e!==n&&console.error(`Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.`)}function Qr(e,t,n,r){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){var o=i.child;a=a.firstContext;a:for(;a!==null;){var s=a;a=i;for(var c=0;c<t.length;c++)if(s.context===t[c]){a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Zr(a.return,n,e),r||(o=null);break a}a=s.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(`We just came from a parent so we must have had a parent. This is a bug in React.`);o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Zr(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function $r(e,t,n,r){e=null;for(var i=t,a=!1;i!==null;){if(!a){if(i.flags&524288)a=!0;else if(i.flags&262144)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(`Should have a current fiber. This is a bug in React.`);if(o=o.memoizedProps,o!==null){var s=i.type;Gh(i.pendingProps.value,o.value)||(e===null?e=[s]:e.push(s))}}else if(i===rp.current){if(o=i.alternate,o===null)throw Error(`Should have a current fiber. This is a bug in React.`);o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e===null?e=[bC]:e.push(bC))}i=i.return}e!==null&&Qr(t,e,n,r),t.flags|=262144}function ei(e){for(e=e.firstContext;e!==null;){if(!Gh(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ti(e){l_=e,u_=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ni(e){return d_&&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().`),ii(l_,e)}function ri(e,t){return l_===null&&ti(e),ii(e,t)}function ii(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},u_===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().`);u_=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else u_=u_.next=t;return n}function ai(){return{controller:new f_,data:new Map,refCount:0}}function oi(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 si(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&&p_(m_,function(){e.controller.abort()})}function ci(e,t,n){e&127?0>A_&&(A_=g_(),j_=__(t),N_=t,n!=null&&(P_=C(n)),(Z&(Fb|Ib))!==Pb&&(O_=!0,M_=v_),e=qu(),t=Ku(),e!==L_||t!==I_?L_=-1.1:t!==null&&(M_=v_),F_=e,I_=t):e&4194048&&0>V_&&(V_=g_(),U_=__(t),W_=t,n!=null&&(G_=C(n)),0>B_)&&(e=qu(),t=Ku(),(e!==J_||t!==q_)&&(J_=-1.1),K_=e,q_=t)}function li(e){if(0>A_){A_=g_(),j_=e._debugTask==null?null:e._debugTask,(Z&(Fb|Ib))!==Pb&&(M_=v_);var t=qu(),n=Ku();t!==L_||n!==I_?L_=-1.1:n!==null&&(M_=v_),F_=t,I_=n}0>V_&&(V_=g_(),U_=e._debugTask==null?null:e._debugTask,0>B_)&&(e=qu(),t=Ku(),(e!==J_||t!==q_)&&(J_=-1.1),K_=e,q_=t)}function ui(){var e=T_;return T_=0,e}function di(e){var t=T_;return T_=e,t}function fi(e){var t=T_;return T_+=e,t}function pi(){q=K=-1.1}function mi(){var e=K;return K=-1.1,e}function hi(e){0<=e&&(K=e)}function gi(){var e=E_;return E_=-0,e}function _i(e){0<=e&&(E_=e)}function vi(){var e=D_;return D_=null,e}function yi(){var e=O_;return O_=!1,e}function bi(e){w_=g_(),0>e.actualStartTime&&(e.actualStartTime=w_)}function xi(e){if(0<=w_){var t=g_()-w_;e.actualDuration+=t,e.selfBaseDuration=t,w_=-1}}function Si(e){if(0<=w_){var t=g_()-w_;e.actualDuration+=t,w_=-1}}function Ci(){if(0<=w_){var e=g_(),t=e-w_;w_=-1,T_+=t,E_+=t,q=e}}function wi(e){D_===null&&(D_=[]),D_.push(e),C_===null&&(C_=[]),C_.push(e)}function Ti(){w_=g_(),0>K&&(K=w_)}function Ei(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Di(e,t){if(iv===null){var n=iv=[];av=0,ov=iu(),sv={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return av++,t.then(Oi,Oi),t}function Oi(){if(--av===0&&(-1<V_||(B_=-1.1),iv!==null)){sv!==null&&(sv.status=`fulfilled`);var e=iv;iv=null,ov=0,sv=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ki(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}function Ai(){var e=lv.current;return e===null?Wb.pooledCache:e}function ji(e,t){t===null?w(lv,lv.current,e):w(lv,t.pool,e)}function Mi(){var e=Ai();return e===null?null:{parent:h_._currentValue,pool:e}}function Ni(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Pi(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Fi(e,t,n){z.actQueue!==null&&(z.didUsePromise=!0);var r=e.thenables;if(n=r[n],n===void 0?r.push(t):n!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error(`A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.`)),t.then(sn,sn),t=n),t._debugInfo===void 0){e=performance.now(),r=t.displayName;var i={name:typeof r==`string`?r:`Promise`,start:e,end:e,value:t};t._debugInfo=[{awaited:i}],t.status!==`fulfilled`&&t.status!==`rejected`&&(e=function(){i.end=performance.now()},t.then(e,e))}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ri(e),e;default:if(typeof t.status==`string`)t.then(sn,sn);else{if(e=Wb,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(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ri(e),e}throw Hv=t,Uv=!0,Rv}}function Ii(e){try{return Lv(e)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Hv=e,Uv=!0,Rv):e}}function Li(){if(Hv===null)throw Error(`Expected a suspended thenable. This is a bug in React. Please file an issue.`);var e=Hv;return Hv=null,Uv=!1,e}function Ri(e){if(e===Rv||e===Bv)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 zi(e){var t=J;return e!=null&&(J=t===null?e:t.concat(e)),t}function Bi(){var e=J;if(e!=null){for(var t=e.length-1;0<=t;t--)if(e[t].name!=null){var n=e[t].debugTask;if(n!=null)return n}}return null}function Vi(e,t,n){for(var r=Object.keys(e.props),i=0;i<r.length;i++){var a=r[i];if(a!==`children`&&a!==`key`){t===null&&(t=wr(e,n.mode,0),t._debugInfo=J,t.return=n),T(t,function(e){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",e)},a);break}}}function Hi(e){var t=Gv;return Gv+=1,Wv===null&&(Wv=Ni()),Fi(Wv,e,t)}function Ui(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Wi(e,t){throw t.$$typeof===Mf?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
98
|
-
- Multiple copies of the "react" package is used.
|
|
99
|
-
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
100
|
-
- 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 Gi(e,t){var n=Bi();n===null?Wi(e,t):n.run(Wi.bind(null,e,t))}function Ki(e,t){var n=C(e)||`Component`;Yv[n]||(Yv[n]=!0,t=t.displayName||t.name||`Component`,e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
101
|
-
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.
|
|
102
|
-
<%s>{%s}</%s>`,t,t,n,t,n))}function qi(e,t){var n=Bi();n===null?Ki(e,t):n.run(Ki.bind(null,e,t))}function Ji(e,t){var n=C(e)||`Component`;Xv[n]||(Xv[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
103
|
-
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
104
|
-
<%s>%s</%s>`,n,t,n))}function Yi(e,t){var n=Bi();n===null?Ji(e,t):n.run(Ji.bind(null,e,t))}function Xi(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function i(e,t){return e=xr(e,t),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function o(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function s(e,t,n,r){return t===null||t.tag!==6?(t=Er(n,e.mode,r),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=J,t):(t=i(t,n),t.return=e,t._debugInfo=J,t)}function c(e,t,n,r){var a=n.type;return a===Ff?(t=u(e,t,n.props.children,r,n.key),Vi(n,t,e),t):t!==null&&(t.elementType===a||gr(t,n)||typeof a==`object`&&a&&a.$$typeof===Wf&&Ii(a)===t.type)?(t=i(t,n.props),Ui(t,n),t.return=e,t._debugOwner=n._owner,t._debugInfo=J,t):(t=wr(n,e.mode,r),Ui(t,n),t.return=e,t._debugInfo=J,t)}function l(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Or(n,e.mode,r),t.return=e,t._debugInfo=J,t):(t=i(t,n.children||[]),t.return=e,t._debugInfo=J,t)}function u(e,t,n,r,a){return t===null||t.tag!==7?(t=Tr(n,e.mode,r,a),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=J,t):(t=i(t,n),t.return=e,t._debugInfo=J,t)}function d(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=Er(``+t,e.mode,n),t.return=e,t._debugOwner=e,t._debugTask=e._debugTask,t._debugInfo=J,t;if(typeof t==`object`&&t){switch(t.$$typeof){case Nf:return n=wr(t,e.mode,n),Ui(n,t),n.return=e,e=zi(t._debugInfo),n._debugInfo=J,J=e,n;case Pf:return t=Or(t,e.mode,n),t.return=e,t._debugInfo=J,t;case Wf:var r=zi(t._debugInfo);return t=Ii(t),e=d(e,t,n),J=r,e}if(Yf(t)||ae(t))return n=Tr(t,e.mode,n,null),n.return=e,n._debugOwner=e,n._debugTask=e._debugTask,e=zi(t._debugInfo),n._debugInfo=J,J=e,n;if(typeof t.then==`function`)return r=zi(t._debugInfo),e=d(e,Hi(t),n),J=r,e;if(t.$$typeof===zf)return d(e,ri(e,t),n);Gi(e,t)}return typeof t==`function`&&qi(e,t),typeof t==`symbol`&&Yi(e,t),null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?s(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case Nf:return n.key===i?(i=zi(n._debugInfo),e=c(e,t,n,r),J=i,e):null;case Pf:return n.key===i?l(e,t,n,r):null;case Wf:return i=zi(n._debugInfo),n=Ii(n),e=p(e,t,n,r),J=i,e}if(Yf(n)||ae(n))return i===null?(i=zi(n._debugInfo),e=u(e,t,n,r,null),J=i,e):null;if(typeof n.then==`function`)return i=zi(n._debugInfo),e=p(e,t,Hi(n),r),J=i,e;if(n.$$typeof===zf)return p(e,t,ri(e,n),r);Gi(e,n)}return typeof n==`function`&&qi(e,n),typeof n==`symbol`&&Yi(e,n),null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,s(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case Nf:return n=e.get(r.key===null?n:r.key)||null,e=zi(r._debugInfo),t=c(t,n,r,i),J=e,t;case Pf:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case Wf:var a=zi(r._debugInfo);return r=Ii(r),t=m(e,t,n,r,i),J=a,t}if(Yf(r)||ae(r))return n=e.get(n)||null,e=zi(r._debugInfo),t=u(t,n,r,i,null),J=e,t;if(typeof r.then==`function`)return a=zi(r._debugInfo),t=m(e,t,n,Hi(r),i),J=a,t;if(r.$$typeof===zf)return m(e,t,n,ri(t,r),i);Gi(t,r)}return typeof r==`function`&&qi(t,r),typeof r==`symbol`&&Yi(t,r),null}function h(e,t,n,r){if(typeof n!=`object`||!n)return r;switch(n.$$typeof){case Nf:case Pf:f(e,t,n);var i=n.key;if(typeof i!=`string`)break;if(r===null){r=new Set,r.add(i);break}if(!r.has(i)){r.add(i);break}T(t,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",i)});break;case Wf:n=Ii(n),h(e,t,n,r)}return r}function _(i,o,s,c){for(var l=null,u=null,f=null,g=o,_=o=0,v=null;g!==null&&_<s.length;_++){g.index>_?(v=g,g=null):v=g.sibling;var y=p(i,g,s[_],c);if(y===null){g===null&&(g=v);break}l=h(i,y,s[_],l),e&&g&&y.alternate===null&&t(i,g),o=a(y,o,_),f===null?u=y:f.sibling=y,f=y,g=v}if(_===s.length)return n(i,g),G&&Ar(i,_),u;if(g===null){for(;_<s.length;_++)g=d(i,s[_],c),g!==null&&(l=h(i,g,s[_],l),o=a(g,o,_),f===null?u=g:f.sibling=g,f=g);return G&&Ar(i,_),u}for(g=r(g);_<s.length;_++)v=m(g,i,_,s[_],c),v!==null&&(l=h(i,v,s[_],l),e&&v.alternate!==null&&g.delete(v.key===null?_:v.key),o=a(v,o,_),f===null?u=v:f.sibling=v,f=v);return e&&g.forEach(function(e){return t(i,e)}),G&&Ar(i,_),u}function v(i,o,s,c){if(s==null)throw Error(`An iterable object provided no iterator.`);for(var l=null,u=null,f=o,g=o=0,_=null,v=null,y=s.next();f!==null&&!y.done;g++,y=s.next()){f.index>g?(_=f,f=null):_=f.sibling;var b=p(i,f,y.value,c);if(b===null){f===null&&(f=_);break}v=h(i,b,y.value,v),e&&f&&b.alternate===null&&t(i,f),o=a(b,o,g),u===null?l=b:u.sibling=b,u=b,f=_}if(y.done)return n(i,f),G&&Ar(i,g),l;if(f===null){for(;!y.done;g++,y=s.next())f=d(i,y.value,c),f!==null&&(v=h(i,f,y.value,v),o=a(f,o,g),u===null?l=f:u.sibling=f,u=f);return G&&Ar(i,g),l}for(f=r(f);!y.done;g++,y=s.next())_=m(f,i,g,y.value,c),_!==null&&(v=h(i,_,y.value,v),e&&_.alternate!==null&&f.delete(_.key===null?g:_.key),o=a(_,o,g),u===null?l=_:u.sibling=_,u=_);return e&&f.forEach(function(e){return t(i,e)}),G&&Ar(i,g),l}function y(e,r,a,s){if(typeof a==`object`&&a&&a.type===Ff&&a.key===null&&(Vi(a,null,e),a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case Nf:var c=zi(a._debugInfo);a:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===Ff){if(r.tag===7){n(e,r.sibling),s=i(r,a.props.children),s.return=e,s._debugOwner=a._owner,s._debugInfo=J,Vi(a,s,e),e=s;break a}}else if(r.elementType===l||gr(r,a)||typeof l==`object`&&l&&l.$$typeof===Wf&&Ii(l)===r.type){n(e,r.sibling),s=i(r,a.props),Ui(s,a),s.return=e,s._debugOwner=a._owner,s._debugInfo=J,e=s;break a}n(e,r);break}t(e,r),r=r.sibling}a.type===Ff?(s=Tr(a.props.children,e.mode,s,a.key),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=J,Vi(a,s,e),e=s):(s=wr(a,e.mode,s),Ui(s,a),s.return=e,s._debugInfo=J,e=s)}return e=o(e),J=c,e;case Pf:a:{for(c=a,a=c.key;r!==null;){if(r.key===a){if(r.tag===4&&r.stateNode.containerInfo===c.containerInfo&&r.stateNode.implementation===c.implementation){n(e,r.sibling),s=i(r,c.children||[]),s.return=e,e=s;break a}n(e,r);break}t(e,r),r=r.sibling}s=Or(c,e.mode,s),s.return=e,e=s}return o(e);case Wf:return c=zi(a._debugInfo),a=Ii(a),e=y(e,r,a,s),J=c,e}if(Yf(a))return c=zi(a._debugInfo),e=_(e,r,a,s),J=c,e;if(ae(a)){if(c=zi(a._debugInfo),l=ae(a),typeof l!=`function`)throw Error(`An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.`);var u=l.call(a);return u===a?(e.tag!==0||Object.prototype.toString.call(e.type)!==`[object GeneratorFunction]`||Object.prototype.toString.call(u)!==`[object Generator]`)&&(qv||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."),qv=!0):a.entries!==l||Kv||(console.error(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),Kv=!0),e=v(e,r,u,s),J=c,e}if(typeof a.then==`function`)return c=zi(a._debugInfo),e=y(e,r,Hi(a),s),J=c,e;if(a.$$typeof===zf)return y(e,r,ri(e,a),s);Gi(e,a)}return typeof a==`string`&&a!==``||typeof a==`number`||typeof a==`bigint`?(c=``+a,r!==null&&r.tag===6?(n(e,r.sibling),s=i(r,c),s.return=e,e=s):(n(e,r),s=Er(c,e.mode,s),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=J,e=s),o(e)):(typeof a==`function`&&qi(e,a),typeof a==`symbol`&&Yi(e,a),n(e,r))}return function(e,t,n,r){var i=J;J=null;try{Gv=0;var a=y(e,t,n,r);return Wv=null,a}catch(t){if(t===Rv||t===Bv)throw t;var o=g(29,t,null,e.mode);o.lanes=r,o.return=e;var s=o._debugInfo=J;if(o._debugOwner=e._debugOwner,o._debugTask=e._debugTask,s!=null){for(var c=s.length-1;0<=c;c--)if(typeof s[c].stack==`string`){o._debugOwner=s[c],o._debugTask=s[c].debugTask;break}}return o}finally{J=i}}}function Zi(e,t){var n=Yf(e);return e=!n&&typeof ae(e)==`function`,n||e?(n=n?`array`:`iterable`,console.error(`A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>`,n,t,n),!1):!0}function Qi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $i(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 ea(e){return{lane:e,tag:$v,payload:null,callback:null,next:null}}function ta(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ay===r&&!iy){var i=C(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.
|
|
105
|
-
|
|
106
|
-
Please update the following component: %s`,i),iy=!0}return(Z&Fb)===Pb?(lr(e,r,t,n),pr(e)):(i=r.pending,i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=pr(e),fr(e,null,n),t)}function na(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ue(e,n)}}function ra(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ia(){if(oy){var e=sv;if(e!==null)throw e}}function aa(e,t,n,r){oy=!1;var i=e.updateQueue;ry=!1,ay=i.shared;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?($&f)===f:(r&f)===f){f!==0&&f===ov&&(oy=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{f=e;var m=s,h=t,g=n;switch(m.tag){case ey:if(m=m.payload,typeof m==`function`){d_=!0;var _=m.call(g,d,h);if(f.mode&zg){Me(!0);try{m.call(g,d,h)}finally{Me(!1)}}d_=!1,d=_;break a}d=m;break a;case ny:f.flags=f.flags&-65537|128;case $v:if(_=m.payload,typeof _==`function`){if(d_=!0,m=_.call(g,d,h),f.mode&zg){Me(!0);try{_.call(g,d,h)}finally{Me(!1)}}d_=!1}else m=_;if(m==null)break a;d=R({},d,m);break a;case ty:ry=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),cx|=o,e.lanes=o,e.memoizedState=d}ay=null}function oa(e,t){if(typeof e!=`function`)throw Error(`Invalid argument passed as callback. Expected a function. Instead received: `+e);e.call(t)}function sa(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)oa(n[e],t)}function ca(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)oa(n[e],t)}function la(e,t){var n=ox;w(cy,n,e),w(sy,t,e),ox=n|t.baseLanes}function ua(e){w(cy,ox,e),w(sy,sy.current,e)}function da(e){ox=cy.current,ce(sy,e),ce(cy,e)}function fa(e){var t=e.alternate;w(py,py.current&dy,e),w(ly,e,e),uy===null&&(t===null||sy.current!==null||t.memoizedState!==null)&&(uy=e)}function pa(e){w(py,py.current,e),w(ly,e,e),uy===null&&(uy=e)}function ma(e){e.tag===22?(w(py,py.current,e),w(ly,e,e),uy===null&&(uy=e)):ha(e)}function ha(e){w(py,py.current,e),w(ly,ly.current,e)}function ga(e){ce(ly,e),uy===e&&(uy=null),ce(py,e)}function _a(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||gd(n)||_d(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)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 N(){var e=X;Fy===null?Fy=[e]:Fy.push(e)}function P(){var e=X;if(Fy!==null&&(Iy++,Fy[Iy]!==e)){var t=C(Y);if(!by.has(t)&&(by.add(t),Fy!==null)){for(var n=``,r=0;r<=Iy;r++){var i=Fy[r],a=r===Iy?e:i;for(i=r+1+`. `+i;30>i.length;)i+=` `;i+=a+`
|
|
107
|
-
`,n+=i}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
|
|
108
|
-
|
|
109
|
-
Previous render Next render
|
|
110
|
-
------------------------------------------------------
|
|
111
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
112
|
-
`,t,n)}}}function va(e){e==null||Yf(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.",X,typeof e)}function ya(){var e=C(Y);Cy.has(e)||(Cy.add(e),console.error(`ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.`,e))}function ba(){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:
|
|
113
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
114
|
-
2. You might be breaking the Rules of Hooks
|
|
115
|
-
3. You might have more than one copy of React in the same app
|
|
116
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function xa(e,t){if(Ly)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.`,X),!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.
|
|
117
|
-
|
|
118
|
-
Previous: %s
|
|
119
|
-
Incoming: %s`,X,`[`+t.join(`, `)+`]`,`[`+e.join(`, `)+`]`);for(var n=0;n<t.length&&n<e.length;n++)if(!Gh(e[n],t[n]))return!1;return!0}function Sa(e,t,n,r,i,a){wy=a,Y=t,Fy=e===null?null:e._debugHookTypes,Iy=-1,Ly=e!==null&&e.type!==t.type,(Object.prototype.toString.call(n)===`[object AsyncFunction]`||Object.prototype.toString.call(n)===`[object AsyncGeneratorFunction]`)&&(a=C(Y),Sy.has(a)||(Sy.add(a),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.",a===null?`An unknown Component`:`<`+a+`>`))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,z.H=e!==null&&e.memoizedState!==null?Vy:Fy===null?zy:By,ky=a=(t.mode&zg)!==U;var o=xv(n,r,i);if(ky=!1,Oy&&(o=wa(t,n,r,i)),a){Me(!0);try{o=wa(t,n,r,i)}finally{Me(!1)}}return Ca(e,t),o}function Ca(e,t){t._debugHookTypes=Fy,t.dependencies===null?My!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:My}):t.dependencies._debugThenableState=My,z.H=Ry;var n=Ty!==null&&Ty.next!==null;if(wy=0,Fy=X=Ey=Ty=Y=null,Iy=-1,e!==null&&(e.flags&65011712)!=(t.flags&65011712)&&console.error(`Internal React error: Expected static flag was missing. Please notify the React team.`),Dy=!1,jy=0,My=null,n)throw Error(`Rendered fewer hooks than expected. This may be caused by an accidental early return statement.`);e===null||sb||(e=e.dependencies,e!==null&&ei(e)&&(sb=!0)),Uv?(Uv=!1,e=!0):e=!1,e&&(t=C(t)||`Unknown`,xy.has(t)||Sy.has(t)||(xy.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 wa(e,t,n,r){Y=e;var i=0;do{if(Oy&&(My=null),jy=0,Oy=!1,i>=Py)throw Error(`Too many re-renders. React limits the number of renders to prevent an infinite loop.`);if(i+=1,Ly=!1,Ey=Ty=null,e.updateQueue!=null){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,a.memoCache!=null&&(a.memoCache.index=0)}Iy=-1,z.H=Hy,a=xv(t,n,r)}while(Oy);return a}function Ta(){var e=z.H,t=e.useState()[0];return t=typeof t.then==`function`?ja(t):t,e=e.useState()[0],(Ty===null?null:Ty.memoizedState)!==e&&(Y.flags|=1024),t}function Ea(){var e=Ay!==0;return Ay=0,e}function Da(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Bg)===U?t.flags&-2053:t.flags&-402655237,e.lanes&=~n}function Oa(e){if(Dy){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Dy=!1}wy=0,Fy=Ey=Ty=Y=null,Iy=-1,X=null,Oy=!1,jy=Ay=0,My=null}function ka(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ey===null?Y.memoizedState=Ey=e:Ey=Ey.next=e,Ey}function F(){if(Ty===null){var e=Y.alternate;e=e===null?null:e.memoizedState}else e=Ty.next;var t=Ey===null?Y.memoizedState:Ey.next;if(t!==null)Ey=t,Ty=e;else{if(e===null)throw Y.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.`);Ty=e,e={memoizedState:Ty.memoizedState,baseState:Ty.baseState,baseQueue:Ty.baseQueue,queue:Ty.queue,next:null},Ey===null?Y.memoizedState=Ey=e:Ey=Ey.next=e}return Ey}function Aa(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ja(e){var t=jy;return jy+=1,My===null&&(My=Ni()),e=Fi(My,e,t),t=Y,(Ey===null?t.memoizedState:Ey.next)===null&&(t=t.alternate,z.H=t!==null&&t.memoizedState!==null?Vy:zy),e}function Ma(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return ja(e);if(e.$$typeof===zf)return ni(e)}throw Error(`An unsupported type was passed to use(): `+String(e))}function Na(e){var t=null,n=Y.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=Y.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Aa(),Y.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||Ly)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=Kf;else n.length!==e&&console.error(`Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.`,n.length,e);return t.index++,n}function Pa(e,t){return typeof t==`function`?t(e):t}function Fa(e,t,n){var r=ka();if(n!==void 0){var i=n(t);if(ky){Me(!0);try{n(t)}finally{Me(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Wo.bind(null,Y,e),[r.memoizedState,e]}function Ia(e){return La(F(),Ty,e)}function La(e,t,n){var r=e.queue;if(r===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);r.lastRenderedReducer=n;var i=e.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}t.baseQueue!==i&&console.error(`Internal error: Expected work-in-progress queue to be a clone. This is a bug in React.`),t.baseQueue=i=a,r.pending=null}if(a=e.baseState,i===null)e.memoizedState=a;else{t=i.next;var s=o=null,c=null,l=t,u=!1;do{var d=l.lane&-536870913;if(d===l.lane?(wy&d)===d:($&d)===d){var f=l.revertLane;if(f===0)c!==null&&(c=c.next={lane:0,revertLane:0,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),d===ov&&(u=!0);else if((wy&f)===f){l=l.next,f===ov&&(u=!0);continue}else d={lane:0,revertLane:l.revertLane,gesture:null,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=d,o=a):c=c.next=d,Y.lanes|=f,cx|=f;d=l.action,ky&&n(a,d),a=l.hasEagerState?l.eagerState:n(a,d)}else f={lane:d,revertLane:l.revertLane,gesture:l.gesture,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null},c===null?(s=c=f,o=a):c=c.next=f,Y.lanes|=d,cx|=d;l=l.next}while(l!==null&&l!==t);if(c===null?o=a:c.next=s,!Gh(a,e.memoizedState)&&(sb=!0,u&&(n=sv,n!==null)))throw n;e.memoizedState=a,e.baseState=o,e.baseQueue=c,r.lastRenderedState=a}return i===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Ra(e){var t=F(),n=t.queue;if(n===null)throw Error(`Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)`);n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);Gh(a,t.memoizedState)||(sb=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function za(e,t,n){var r=Y,i=ka();if(G){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);var a=n();yy||a===n()||(console.error(`The result of getServerSnapshot should be cached to avoid an infinite loop`),yy=!0)}else{if(a=t(),yy||(n=t(),Gh(a,n)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),yy=!0)),Wb===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);$&127||Va(r,t,a)}return i.memoizedState=a,n={value:a,getSnapshot:t},i.queue=n,ho(Ua.bind(null,r,n,e),[e]),r.flags|=2048,uo(hy|vy,{destroy:void 0},Ha.bind(null,r,n,a,t),null),a}function Ba(e,t,n){var r=Y,i=F(),a=G;if(a){if(n===void 0)throw Error(`Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.`);n=n()}else if(n=t(),!yy){var o=t();Gh(n,o)||(console.error(`The result of getSnapshot should be cached to avoid an infinite loop`),yy=!0)}if((o=!Gh((Ty||i).memoizedState,n))&&(i.memoizedState=n,sb=!0),i=i.queue,mo(2048,vy,Ua.bind(null,r,i,e),[e]),i.getSnapshot!==t||o||Ey!==null&&Ey.memoizedState.tag&hy){if(r.flags|=2048,uo(hy|vy,{destroy:void 0},Ha.bind(null,r,i,n,t),null),Wb===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);a||wy&127||Va(r,t,n)}return n}function Va(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Y.updateQueue,t===null?(t=Aa(),Y.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ha(e,t,n,r){t.value=n,t.getSnapshot=r,Wa(t)&&Ga(e)}function Ua(e,t,n){return n(function(){Wa(t)&&(ci(2,`updateSyncExternalStore()`,e),Ga(e))})}function Wa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gh(e,n)}catch{return!0}}function Ga(e){var t=dr(e,2);t!==null&&rl(t,e,2)}function Ka(e){var t=ka();if(typeof e==`function`){var n=e;if(e=n(),ky){Me(!0);try{n()}finally{Me(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:e},t}function qa(e){e=Ka(e);var t=e.queue,n=Go.bind(null,Y,t);return t.dispatch=n,[e.memoizedState,n]}function Ja(e){var t=ka();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=qo.bind(null,Y,!0,n),n.dispatch=t,[e,t]}function Ya(e,t){return Xa(F(),Ty,e,t)}function Xa(e,t,n,r){return e.baseState=n,La(e,Ty,typeof r==`function`?r:Pa)}function Za(e,t){var n=F();return Ty===null?(n.baseState=e,[e,n.queue.dispatch]):Xa(n,Ty,e,t)}function Qa(e,t,n,r,i){if(Jo(e))throw Error(`Cannot update form state while rendering.`);if(e=t.action,e!==null){var a={payload:i,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};z.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,$a(t,a)):(a.next=n.next,t.pending=n.next=a)}}function $a(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=z.T,o={};o._updatedFibers=new Set,z.T=o;try{var s=n(i,r),c=z.S;c!==null&&c(o,s),eo(e,t,s)}catch(n){no(e,t,n)}finally{a!==null&&o.types!==null&&(a.types!==null&&a.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.`),a.types=o.types),z.T=a,a===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.`))}}else try{o=n(i,r),eo(e,t,o)}catch(n){no(e,t,n)}}function eo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?(z.asyncTransitions++,n.then(Mo,Mo),n.then(function(n){to(e,t,n)},function(n){return no(e,t,n)}),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.")):to(e,t,n)}function to(e,t,n){t.status=`fulfilled`,t.value=n,ro(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,$a(e,n)))}function no(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,ro(t),t=t.next;while(t!==r)}e.action=null}function ro(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function io(e,t){return t}function ao(e,t){if(G){var n=Wb.formState;if(n!==null){a:{var r=Y;if(G){if(e_){b:{for(var i=e_,a=i_;i.nodeType!==8;){if(!a){i=null;break b}if(i=yd(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===zS||a===BS?i:null}if(i){e_=yd(i.nextSibling),r=i.data===zS;break a}}Br(r)}r=!1}r&&(t=n[0])}}return n=ka(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:io,lastRenderedState:t},n.queue=r,n=Go.bind(null,Y,r),r.dispatch=n,r=Ka(!1),a=qo.bind(null,Y,!1,r.queue),r=ka(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Qa.bind(null,Y,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function oo(e){return so(F(),Ty,e)}function so(e,t,n){if(t=La(e,t,io)[0],e=Ia(Pa)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=ja(t)}catch(e){throw e===Rv?Bv:e}else r=t;t=F();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(Y.flags|=2048,uo(hy|vy,{destroy:void 0},co.bind(null,i,n),null)),[r,a,e]}function co(e,t){e.action=t}function lo(e){var t=F(),n=Ty;if(n!==null)return so(t,n,e);F(),t=t.memoizedState,n=F();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function uo(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=Y.updateQueue,t===null&&(t=Aa(),Y.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function fo(e){var t=ka();return e={current:e},t.memoizedState=e}function po(e,t,n,r){var i=ka();Y.flags|=e,i.memoizedState=uo(hy|t,{destroy:void 0},n,r===void 0?null:r)}function mo(e,t,n,r){var i=F();r=r===void 0?null:r;var a=i.memoizedState.inst;Ty!==null&&r!==null&&xa(r,Ty.memoizedState.deps)?i.memoizedState=uo(t,a,n,r):(Y.flags|=e,i.memoizedState=uo(hy|t,a,n,r))}function ho(e,t){(Y.mode&Bg)===U?po(8390656,vy,e,t):po(276826112,vy,e,t)}function go(e){Y.flags|=4;var t=Y.updateQueue;if(t===null)t=Aa(),Y.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function _o(e){var t=ka(),n={impl:e};return t.memoizedState=n,function(){if((Z&Fb)!==Pb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return n.impl.apply(void 0,arguments)}}function vo(e){var t=F().memoizedState;return go({ref:t,nextImpl:e}),function(){if((Z&Fb)!==Pb)throw Error(`A function wrapped in useEffectEvent can't be called during rendering.`);return t.impl.apply(void 0,arguments)}}function yo(e,t){var n=4194308;return(Y.mode&Bg)!==U&&(n|=134217728),po(n,_y,e,t)}function bo(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return t.hasOwnProperty(`current`)||console.error(`Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.`,`an object with keys {`+Object.keys(t).join(`, `)+`}`),e=e(),t.current=e,function(){t.current=null}}function xo(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]);var r=4194308;(Y.mode&Bg)!==U&&(r|=134217728),po(r,_y,bo.bind(null,t,e),n)}function So(e,t,n){typeof t!=`function`&&console.error(`Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.`,t===null?`null`:typeof t),n=n==null?null:n.concat([e]),mo(4,_y,bo.bind(null,t,e),n)}function Co(e,t){return ka().memoizedState=[e,t===void 0?null:t],e}function wo(e,t){var n=F();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&xa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function To(e,t){var n=ka();t=t===void 0?null:t;var r=e();if(ky){Me(!0);try{e()}finally{Me(!1)}}return n.memoizedState=[r,t],r}function Eo(e,t){var n=F();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&xa(t,r[1]))return r[0];if(r=e(),ky){Me(!0);try{e()}finally{Me(!1)}}return n.memoizedState=[r,t],r}function Do(e,t){return Ao(ka(),e,t)}function Oo(e,t){return jo(F(),Ty.memoizedState,e,t)}function ko(e,t){var n=F();return Ty===null?Ao(n,e,t):jo(n,Ty.memoizedState,e,t)}function Ao(e,t,n){return n===void 0||wy&1073741824&&!($&261930)?e.memoizedState=t:(e.memoizedState=n,e=nl(),Y.lanes|=e,cx|=e,n)}function jo(e,t,n,r){return Gh(n,t)?n:sy.current===null?!(wy&42)||wy&1073741824&&!($&261930)?(sb=!0,e.memoizedState=n):(e=nl(),Y.lanes|=e,cx|=e,t):(e=Ao(e,n,r),Gh(e,t)||(sb=!0),e)}function Mo(){z.asyncTransitions--}function No(e,t,n,r,i){var a=B.p;B.p=a!==0&&a<Up?a:Up;var o=z.T,s={};s._updatedFibers=new Set,z.T=s,qo(e,!1,t,n);try{var c=i(),l=z.S;if(l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`){z.asyncTransitions++,c.then(Mo,Mo);var u=ki(c,r);Ko(e,t,u,tl(e))}else Ko(e,t,r,tl(e))}catch(n){Ko(e,t,{then:function(){},status:`rejected`,reason:n},tl(e))}finally{B.p=a,o!==null&&s.types!==null&&(o.types!==null&&o.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.`),o.types=s.types),z.T=o,o===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.`))}}function Po(e,t,n,r){if(e.tag!==5)throw Error(`Expected the form instance to be a HostComponent. This is a bug in React.`);var i=Fo(e).queue;li(e),No(e,i,t,yC,n===null?u:function(){return Io(e),n(r)})}function Fo(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:yC,baseState:yC,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:yC},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pa,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Io(e){z.T===null&&console.error(`requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.`);var t=Fo(e);t.next===null&&(t=e.alternate.memoizedState),Ko(e,t.next.queue,{},tl(e))}function Lo(){var e=Ka(!1);return e=No.bind(null,Y,e.queue,!0,!1),ka().memoizedState=e,[!1,e]}function Ro(){var e=Ia(Pa)[0],t=F().memoizedState;return[typeof e==`boolean`?e:ja(e),t]}function zo(){var e=Ra(Pa)[0],t=F().memoizedState;return[typeof e==`boolean`?e:ja(e),t]}function Bo(){return ni(bC)}function Vo(){var e=ka(),t=Wb.identifierPrefix;if(G){var n=Qg,r=Zg;n=(r&~(1<<32-Ip(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=Ay++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=Ny++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t}function Ho(){return ka().memoizedState=Uo.bind(null,Y)}function Uo(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=tl(n),i=ea(r),a=ta(n,i,r);a!==null&&(ci(r,`refresh()`,e),rl(a,n,r),na(a,n,r)),e=ai(),t!=null&&a!==null&&console.error(`The seed argument is not enabled outside experimental channels.`),i.payload={cache:e};return}n=n.return}}function Wo(e,t,n){var r=arguments;typeof r[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().`),r=tl(e);var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Jo(e)?Yo(t,i):(i=ur(e,t,i,r),i!==null&&(ci(r,`dispatch()`,e),rl(i,e,r),Xo(i,t,r)))}function Go(e,t,n){var r=arguments;typeof r[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().`),r=tl(e),Ko(e,t,n,r)&&ci(r,`setState()`,e)}function Ko(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Jo(e))Yo(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null)){var o=z.H;z.H=Wy;try{var s=t.lastRenderedState,c=a(s,n);if(i.hasEagerState=!0,i.eagerState=c,Gh(c,s))return lr(e,t,i,0),Wb===null&&cr(),!1}catch{}finally{z.H=o}}if(n=ur(e,t,i,r),n!==null)return rl(n,e,r),Xo(n,t,r),!0}return!1}function qo(e,t,n,r){if(z.T===null&&ov===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.`),r={lane:2,revertLane:iu(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Jo(e)){if(t)throw Error(`Cannot update optimistic state while rendering.`);console.error(`Cannot call startTransition while rendering.`)}else t=ur(e,n,r,2),t!==null&&(ci(2,`setOptimistic()`,e),rl(t,e,2))}function Jo(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function Yo(e,t){Oy=Dy=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xo(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ue(e,n)}}function Zo(e){if(e!==null&&typeof e!=`function`){var t=String(e);nb.has(t)||(nb.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Qo(e,t,n,r){var i=e.memoizedState,a=n(r,i);if(e.mode&zg){Me(!0);try{a=n(r,i)}finally{Me(!1)}}a===void 0&&(t=S(t)||`Component`,Qy.has(t)||(Qy.add(t),console.error(`%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.`,t))),i=a==null?i:R({},i,a),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}function $o(e,t,n,r,i,a,o){var s=e.stateNode;if(typeof s.shouldComponentUpdate==`function`){if(n=s.shouldComponentUpdate(r,a,o),e.mode&zg){Me(!0);try{n=s.shouldComponentUpdate(r,a,o)}finally{Me(!1)}}return n===void 0&&console.error(`%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.`,S(t)||`Component`),n}return t.prototype&&t.prototype.isPureReactComponent?!M(n,r)||!M(i,a):!0}function es(e,t,n,r){var i=t.state;typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==i&&(e=C(e)||`Component`,qy.has(e)||(qy.add(e),console.error(`%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,e)),rb.enqueueReplaceState(t,t.state,null))}function ts(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=R({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function ns(e){pg(e),console.warn(`%s
|
|
120
|
-
|
|
121
|
-
%s
|
|
122
|
-
`,ib?`An error occurred in the <`+ib+`> component.`:`An error occurred in one of your React components.`,`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
123
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function rs(e){var t=ib?`The above error occurred in the <`+ib+`> component.`:`The above error occurred in one of your React components.`,n=`React will try to recreate this component tree from scratch using the error boundary you provided, `+((ab||`Anonymous`)+`.`);if(typeof e==`object`&&e&&typeof e.environmentName==`string`){var r=e.environmentName;e=[`%o
|
|
124
|
-
|
|
125
|
-
%s
|
|
126
|
-
|
|
127
|
-
%s
|
|
128
|
-
`,e,t,n].slice(0),typeof e[0]==`string`?e.splice(0,1,xC+` `+e[0],SC,wC+r+wC,CC):e.splice(0,0,xC,SC,wC+r+wC,CC),e.unshift(console),r=TC.apply(console.error,e),r()}else console.error(`%o
|
|
129
|
-
|
|
130
|
-
%s
|
|
131
|
-
|
|
132
|
-
%s
|
|
133
|
-
`,e,t,n)}function is(e){pg(e)}function as(e,t){try{ib=t.source?C(t.source):null,ab=null;var n=t.value;if(z.actQueue!==null)z.thrownErrors.push(n);else{var r=e.onUncaughtError;r(n,{componentStack:t.stack})}}catch(e){setTimeout(function(){throw e})}}function os(e,t,n){try{ib=n.source?C(n.source):null,ab=C(t);var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function ss(e,t,n){return n=ea(n),n.tag=ny,n.payload={element:null},n.callback=function(){T(t.source,as,e,t)},n}function cs(e){return e=ea(e),e.tag=ny,e}function ls(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){_r(n),T(r.source,os,t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){_r(n),T(r.source,os,t,n,r),typeof i!=`function`&&(Cx===null?Cx=new Set([this]):Cx.add(this)),kv(this,r),typeof i==`function`||!(n.lanes&2)&&console.error(`%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.`,C(n)||`Unknown`)})}function us(e,t,n,r,i){if(n.flags|=32768,Fp&&Kl(e,i),typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&$r(t,n,i,!0),G&&(t_=!0),n=ly.current,n!==null){switch(n.tag){case 31:case 13:return uy===null?_l():n.alternate===null&&sx===Lb&&(sx=Bb),n.flags&=-257,n.flags|=65536,n.lanes=i,r===Vv?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ll(e,r,i)),!1;case 22:return n.flags|=65536,r===Vv?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Ll(e,r,i)),!1}throw Error(`Unexpected Suspense handler tag (`+n.tag+`). This is a bug in React.`)}return Ll(e,r,i),_l(),!1}if(G)return t_=!0,t=ly.current,t===null?(r!==a_&&Kr(kr(Error(`There was an error while hydrating but React was able to recover by instead client rendering the entire root.`,{cause:r}),n)),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,r=kr(r,n),i=ss(e.stateNode,r,i),ra(e,i),sx!==Vb&&(sx=zb)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==a_&&Kr(kr(Error(`There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.`,{cause:r}),n))),!1;var a=kr(Error(`There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.`,{cause:r}),n);if(px===null?px=[a]:px.push(a),sx!==Vb&&(sx=zb),t===null)return!0;r=kr(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=ss(n.stateNode,r,e),ra(n,e),!1;case 1:if(t=n.type,a=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||a!==null&&typeof a.componentDidCatch==`function`&&(Cx===null||!Cx.has(a))))return n.flags|=65536,i&=-i,n.lanes|=i,i=cs(i),ls(i,e,n,r),ra(n,i),!1}n=n.return}while(n!==null);return!1}function ds(e,t,n,r){t.child=e===null?Qv(t,null,n,r):Zv(t,e.child,n,r)}function fs(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return ti(t),r=Sa(e,t,n,o,a,i),s=Ea(),e!==null&&!sb?(Da(e,t,i),Is(e,t,i)):(G&&s&&Mr(t),t.flags|=1,ds(e,t,r,i),t.child)}function ps(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!br(a)&&a.defaultProps===void 0&&n.compare===null?(n=mr(a),t.tag=15,t.type=n,Es(t,a),ms(e,t,n,r,i)):(e=Cr(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Ls(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?M:n,n(o,r)&&e.ref===t.ref)return Is(e,t,i)}return t.flags|=1,e=xr(a,r),e.ref=t.ref,e.return=t,t.child=e}function ms(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(M(a,r)&&e.ref===t.ref&&t.type===e.type){if(sb=!1,t.pendingProps=r=a,Ls(e,i))e.flags&131072&&(sb=!0);else return t.lanes=e.lanes,Is(e,t,i)}}return Ss(e,t,n,r,i)}function hs(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:Ag,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return _s(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ji(t,a===null?null:a.cachePool),a===null?ua(t):la(t,a),ma(t);else return r=t.lanes=536870912,_s(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&ji(t,null),ua(t),ha(t)):(ji(t,a.cachePool),la(t,a),ha(t),t.memoizedState=null);return ds(e,t,i,n),t.child}function gs(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Ag,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function _s(e,t,n,r,i){var a=Ai();return a=a===null?null:{parent:h_._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&ji(t,null),ua(t),ma(t),e!==null&&$r(e,t,r,!0),t.childLanes=i,null}function vs(e,t){var n=t.hidden;return n!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
134
|
-
- <Activity %s>
|
|
135
|
-
+ <Activity %s>`,!0===n?`hidden`:!1===n?`hidden={false}`:`hidden={...}`,n?`mode="hidden"`:`mode="visible"`),t=js({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function ys(e,t,n){return Zv(t,e.child,null,n),e=vs(t,t.pendingProps),e.flags|=2,ga(t),t.memoizedState=null,e}function bs(e,t,n){var r=t.pendingProps,i=!!(t.flags&128);if(t.flags&=-129,e===null){if(G){if(r.mode===`hidden`)return e=vs(t,r),t.lanes=536870912,gs(null,e);if(pa(t),(e=e_)?(n=hd(e,i_),n=n!==null&&n.data===kS?n:null,n!==null&&(r={dehydrated:n,treeContext:Pr(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Dr(n),r.return=t,t.child=r,$g=t,e_=null)):n=null,n===null)throw zr(t,e),Br(t);return t.lanes=536870912,null}return vs(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if(pa(t),i){if(t.flags&256)t.flags&=-257,t=ys(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`)}else if(Rr(),n&536870912&&gl(t),sb||$r(e,t,n,!1),i=(n&e.childLanes)!==0,sb||i){if(r=Wb,r!==null&&(o=We(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,dr(e,o),rl(r,e,o),ob;_l(),t=ys(e,t,n)}else e=a.treeContext,e_=yd(o.nextSibling),$g=t,G=!0,r_=null,t_=!1,n_=null,i_=!1,e!==null&&Fr(t,e),t=vs(t,r),t.flags|=4096;return t}return a=e.child,r={mode:r.mode,children:r.children},n&536870912&&(n&e.lanes)!==0&&gl(t),e=xr(a,r),e.ref=t.ref,t.child=e,e.return=t,e}function xs(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(`Expected ref to be a function, an object returned by React.createRef(), or undefined/null.`);(e===null||e.ref!==n)&&(t.flags|=4194816)}}function Ss(e,t,n,r,i){if(n.prototype&&typeof n.prototype.render==`function`){var a=S(n)||`Unknown`;cb[a]||(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.`,a,a),cb[a]=!0)}return t.mode&zg&&uv.recordLegacyContextWarning(t,null),e===null&&(Es(t,t.type),n.contextTypes&&(a=S(n)||`Unknown`,ub[a]||(ub[a]=!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)`,a)))),ti(t),n=Sa(e,t,n,r,void 0,i),r=Ea(),e!==null&&!sb?(Da(e,t,i),Is(e,t,i)):(G&&r&&Mr(t),t.flags|=1,ds(e,t,n,i),t.child)}function Cs(e,t,n,r,i,a){return ti(t),Iy=-1,Ly=e!==null&&e.type!==t.type,t.updateQueue=null,n=wa(t,r,n,i),Ca(e,t),r=Ea(),e!==null&&!sb?(Da(e,t,a),Is(e,t,a)):(G&&r&&Mr(t),t.flags|=1,ds(e,t,n,a),t.child)}function ws(e,t,n,r,i){switch(s(t)){case!1:var a=t.stateNode,o=new t.type(t.memoizedProps,a.context).state;a.updater.enqueueSetState(a,o,null);break;case!0:t.flags|=128,t.flags|=65536,a=Error(`Simulated error coming from DevTools`);var c=i&-i;if(t.lanes|=c,o=Wb,o===null)throw Error(`Expected a work-in-progress root. This is a bug in React. Please file an issue.`);c=cs(c),ls(c,o,t,kr(a,t)),ra(t,c)}if(ti(t),t.stateNode===null){if(o=Fg,a=n.contextType,`contextType`in n&&a!==null&&(a===void 0||a.$$typeof!==zf)&&!tb.has(n)&&(tb.add(n),c=a===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 a==`object`?a.$$typeof===Rf?` Did you accidentally pass the Context.Consumer instead?`:` However, it is set to an object with keys {`+Object.keys(a).join(`, `)+`}.`:` However, it is set to a `+typeof a+`.`,console.error(`%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s`,S(n)||`Component`,c)),typeof a==`object`&&a&&(o=ni(a)),a=new n(r,o),t.mode&zg){Me(!0);try{a=new n(r,o)}finally{Me(!1)}}if(o=t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=rb,t.stateNode=a,a._reactInternals=t,a._reactInternalInstance=Ky,typeof n.getDerivedStateFromProps==`function`&&o===null&&(o=S(n)||`Component`,Jy.has(o)||(Jy.add(o),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.",o,a.state===null?`null`:`undefined`,o))),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`){var l=c=o=null;if(typeof a.componentWillMount==`function`&&!0!==a.componentWillMount.__suppressDeprecationWarning?o=`componentWillMount`:typeof a.UNSAFE_componentWillMount==`function`&&(o=`UNSAFE_componentWillMount`),typeof a.componentWillReceiveProps==`function`&&!0!==a.componentWillReceiveProps.__suppressDeprecationWarning?c=`componentWillReceiveProps`:typeof a.UNSAFE_componentWillReceiveProps==`function`&&(c=`UNSAFE_componentWillReceiveProps`),typeof a.componentWillUpdate==`function`&&!0!==a.componentWillUpdate.__suppressDeprecationWarning?l=`componentWillUpdate`:typeof a.UNSAFE_componentWillUpdate==`function`&&(l=`UNSAFE_componentWillUpdate`),o!==null||c!==null||l!==null){a=S(n)||`Component`;var u=typeof n.getDerivedStateFromProps==`function`?`getDerivedStateFromProps()`:`getSnapshotBeforeUpdate()`;Xy.has(a)||(Xy.add(a),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
136
|
-
|
|
137
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
138
|
-
|
|
139
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
140
|
-
https://react.dev/link/unsafe-component-lifecycles`,a,u,o===null?``:`
|
|
141
|
-
`+o,c===null?``:`
|
|
142
|
-
`+c,l===null?``:`
|
|
143
|
-
`+l))}}a=t.stateNode,o=S(n)||`Component`,a.render||(n.prototype&&typeof n.prototype.render==`function`?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",o):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",o)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.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?`,o),a.getDefaultProps&&!a.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.`,o),a.contextType&&console.error(`contextType was defined as an instance property on %s. Use a static property to define contextType instead.`,o),n.childContextTypes&&!eb.has(n)&&(eb.add(n),console.error(`%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)`,o)),n.contextTypes&&!$y.has(n)&&($y.add(n),console.error(`%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)`,o)),typeof a.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.`,o),n.prototype&&n.prototype.isPureReactComponent&&a.shouldComponentUpdate!==void 0&&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.`,S(n)||`A pure component`),typeof a.componentDidUnmount==`function`&&console.error(`%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?`,o),typeof a.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().`,o),typeof a.componentWillRecieveProps==`function`&&console.error(`%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?`,o),typeof a.UNSAFE_componentWillRecieveProps==`function`&&console.error(`%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?`,o),c=a.props!==r,a.props!==void 0&&c&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o),a.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.`,o,o),typeof a.getSnapshotBeforeUpdate!=`function`||typeof a.componentDidUpdate==`function`||Yy.has(n)||(Yy.add(n),console.error(`%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.`,S(n))),typeof a.getDerivedStateFromProps==`function`&&console.error(`%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof a.getDerivedStateFromError==`function`&&console.error(`%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.`,o),typeof n.getSnapshotBeforeUpdate==`function`&&console.error(`%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.`,o),(c=a.state)&&(typeof c!=`object`||Yf(c))&&console.error(`%s.state: must be set to an object or null`,o),typeof a.getChildContext==`function`&&typeof n.childContextTypes!=`object`&&console.error(`%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().`,o),a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Qi(t),o=n.contextType,a.context=typeof o==`object`&&o?ni(o):Fg,a.state===r&&(o=S(n)||`Component`,Zy.has(o)||(Zy.add(o),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.`,o))),t.mode&zg&&uv.recordLegacyContextWarning(t,a),uv.recordUnsafeLifecycleWarnings(t,a),a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Qo(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&(console.error(`%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.`,C(t)||`Component`),rb.enqueueReplaceState(a,a.state,null)),aa(t,r,a,i),ia(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Bg)!==U&&(t.flags|=134217728),a=!0}else if(e===null){a=t.stateNode;var d=t.memoizedProps;c=ts(n,d),a.props=c;var f=a.context;l=n.contextType,o=Fg,typeof l==`object`&&l&&(o=ni(l)),u=n.getDerivedStateFromProps,l=typeof u==`function`||typeof a.getSnapshotBeforeUpdate==`function`,d=t.pendingProps!==d,l||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(d||f!==o)&&es(t,a,r,o),ry=!1;var p=t.memoizedState;a.state=p,aa(t,r,a,i),ia(),f=t.memoizedState,d||p!==f||ry?(typeof u==`function`&&(Qo(t,n,u,r),f=t.memoizedState),(c=ry||$o(t,n,c,r,p,f,o))?(l||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Bg)!==U&&(t.flags|=134217728)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Bg)!==U&&(t.flags|=134217728),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=o,a=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),(t.mode&Bg)!==U&&(t.flags|=134217728),a=!1)}else{a=t.stateNode,$i(e,t),o=t.memoizedProps,l=ts(n,o),a.props=l,u=t.pendingProps,p=a.context,f=n.contextType,c=Fg,typeof f==`object`&&f&&(c=ni(f)),d=n.getDerivedStateFromProps,(f=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==u||p!==c)&&es(t,a,r,c),ry=!1,p=t.memoizedState,a.state=p,aa(t,r,a,i),ia();var m=t.memoizedState;o!==u||p!==m||ry||e!==null&&e.dependencies!==null&&ei(e.dependencies)?(typeof d==`function`&&(Qo(t,n,d,r),m=t.memoizedState),(l=ry||$o(t,n,l,r,p,m,c)||e!==null&&e.dependencies!==null&&ei(e.dependencies))?(f||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,m,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,m,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=c,a=l):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),a=!1)}if(c=a,xs(e,t),o=!!(t.flags&128),c||o){if(c=t.stateNode,Ee(t),o&&typeof n.getDerivedStateFromError!=`function`)n=null,w_=-1;else if(n=Cv(c),t.mode&zg){Me(!0);try{Cv(c)}finally{Me(!1)}}t.flags|=1,e!==null&&o?(t.child=Zv(t,e.child,null,i),t.child=Zv(t,null,n,i)):ds(e,t,n,i),t.memoizedState=c.state,e=t.child}else e=Is(e,t,i);return i=t.stateNode,a&&i.props!==r&&(fb||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",C(t)||`a component`),fb=!0),e}function Ts(e,t,n,r){return Wr(),t.flags|=256,ds(e,t,n,r),t.child}function Es(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
144
|
-
%s.childContextTypes = ...`,t.displayName||t.name||`Component`),typeof t.getDerivedStateFromProps==`function`&&(e=S(t)||`Unknown`,db[e]||(console.error(`%s: Function components do not support getDerivedStateFromProps.`,e),db[e]=!0)),typeof t.contextType==`object`&&t.contextType!==null&&(t=S(t)||`Unknown`,lb[t]||(console.error(`%s: Function components do not support contextType.`,t),lb[t]=!0))}function Ds(e){return{baseLanes:e,cachePool:Mi()}}function Os(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=dx),e}function ks(e,t,n){var r,i=t.pendingProps;o(t)&&(t.flags|=128);var a=!1,s=!!(t.flags&128);if((r=s)||(r=e!==null&&e.memoizedState===null?!1:(py.current&fy)!==0),r&&(a=!0,t.flags&=-129),r=!!(t.flags&32),t.flags&=-33,e===null){if(G){if(a?fa(t):ha(t),(e=e_)?(n=hd(e,i_),n=n!==null&&n.data!==kS?n:null,n!==null&&(r={dehydrated:n,treeContext:Pr(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Dr(n),r.return=t,t.child=r,$g=t,e_=null)):n=null,n===null)throw zr(t,e),Br(t);return _d(n)?t.lanes=32:t.lanes=536870912,null}var c=i.children;if(i=i.fallback,a){ha(t);var l=t.mode;return c=js({mode:`hidden`,children:c},l),i=Tr(i,l,n,null),c.return=t,i.return=t,c.sibling=i,t.child=c,i=t.child,i.memoizedState=Ds(n),i.childLanes=Os(e,r,n),t.memoizedState=hb,gs(null,i)}return fa(t),As(t,c)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(d!==null){if(s)t.flags&256?(fa(t),t.flags&=-257,t=Ms(e,t,n)):t.memoizedState===null?(ha(t),c=i.fallback,l=t.mode,i=js({mode:`visible`,children:i.children},l),c=Tr(c,l,n,null),c.flags|=2,i.return=t,c.return=t,i.sibling=c,t.child=i,Zv(t,e.child,null,n),i=t.child,i.memoizedState=Ds(n),i.childLanes=Os(e,r,n),t.memoizedState=hb,t=gs(null,i)):(ha(t),t.child=e.child,t.flags|=128,t=null);else if(fa(t),Rr(),n&536870912&&gl(t),_d(d)){if(r=d.nextSibling&&d.nextSibling.dataset,r){c=r.dgst;var f=r.msg;l=r.stck;var p=r.cstck}a=f,r=c,i=l,d=p,c=a,l=d,c=Error(c||`The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.`),c.stack=i||``,c.digest=r,r=l===void 0?null:l,i={value:c,source:null,stack:r},typeof r==`string`&&Ug.set(c,i),Kr(i),t=Ms(e,t,n)}else if(sb||$r(e,t,n,!1),r=(n&e.childLanes)!==0,sb||r){if(r=Wb,r!==null&&(i=We(r,n),i!==0&&i!==u.retryLane))throw u.retryLane=i,dr(e,i),rl(r,e,i),ob;gd(d)||_l(),t=Ms(e,t,n)}else gd(d)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,e_=yd(d.nextSibling),$g=t,G=!0,r_=null,t_=!1,n_=null,i_=!1,e!==null&&Fr(t,e),t=As(t,i.children),t.flags|=4096);return t}}return a?(ha(t),c=i.fallback,l=t.mode,p=e.child,d=p.sibling,i=xr(p,{mode:`hidden`,children:i.children}),i.subtreeFlags=p.subtreeFlags&65011712,d===null?(c=Tr(c,l,n,null),c.flags|=2):c=xr(d,c),c.return=t,i.return=t,i.sibling=c,t.child=i,gs(null,i),i=t.child,c=e.child.memoizedState,c===null?c=Ds(n):(l=c.cachePool,l===null?l=Mi():(p=h_._currentValue,l=l.parent===p?l:{parent:p,pool:p}),c={baseLanes:c.baseLanes|n,cachePool:l}),i.memoizedState=c,i.childLanes=Os(e,r,n),t.memoizedState=hb,gs(e.child,i)):(u!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&gl(t),fa(t),n=e.child,e=n.sibling,n=xr(n,{mode:`visible`,children:i.children}),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n)}function As(e,t){return t=js({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function js(e,t){return e=g(22,e,null,t),e.lanes=0,e}function Ms(e,t,n){return Zv(t,e.child,null,n),e=As(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ns(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Zr(e.return,t,n)}function Ps(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Fs(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail,o=r.children,s=py.current;if((r=(s&fy)!==0)?(s=s&dy|fy,t.flags|=128):s&=dy,w(py,s,t),s=i??`null`,i!==`forwards`&&i!==`unstable_legacy-backwards`&&i!==`together`&&i!==`independent`&&!pb[s]){if(pb[s]=!0,i==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(i===`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 i==`string`)switch(i.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.`,i,i.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.`,i,i.toLowerCase());break;default:console.error(`"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i)}else console.error(`%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?`,i)}s=a??`null`,mb[s]||(a==null?(i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&(mb[s]=!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".`)):a!==`visible`&&a!==`collapsed`&&a!==`hidden`?(mb[s]=!0,console.error(`"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?`,a)):i!==`forwards`&&i!==`backwards`&&i!==`unstable_legacy-backwards`&&(mb[s]=!0,console.error(`<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?`,a)));a:if((i===`forwards`||i===`backwards`||i===`unstable_legacy-backwards`)&&o!=null&&!1!==o){if(Yf(o)){for(s=0;s<o.length;s++)if(!Zi(o[s],s))break a}else if(s=ae(o),typeof s==`function`){if(s=s.call(o))for(var c=s.next(),l=0;!c.done;c=s.next()){if(!Zi(c.value,l))break a;l++}}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?`,i)}if(ds(e,t,o,n),G?(Ir(),o=qg):o=0,!r&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ns(e,n,t);else if(e.tag===19)Ns(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&_a(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ps(t,!1,i,n,a,o);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&_a(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ps(t,!0,n,null,a,o);break;case`together`:Ps(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function Is(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),w_=-1,cx|=t.lanes,(n&t.childLanes)===0){if(e!==null){if($r(e,t,n,!1),(n&t.childLanes)===0)return null}else return null}if(e!==null&&t.child!==e.child)throw Error(`Resuming work not yet implemented.`);if(t.child!==null){for(e=t.child,n=xr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=xr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ls(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&ei(e)))}function Rs(e,t,n){switch(t.tag){case 3:ue(t,t.stateNode.containerInfo),Yr(t,h_,e.memoizedState.cache),Wr();break;case 27:case 5:pe(t);break;case 4:ue(t,t.stateNode.containerInfo);break;case 10:Yr(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var r=t.stateNode;r.effectDuration=-0,r.passiveEffectDuration=-0;break;case 31:if(t.memoizedState!==null)return t.flags|=128,pa(t),null;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(fa(t),e=Is(e,t,n),e===null?null:e.sibling):ks(e,t,n):(fa(t),t.flags|=128,null);fa(t);break;case 19:var i=!!(e.flags&128);if(r=(n&t.childLanes)!==0,r||=($r(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Fs(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),w(py,py.current,t),r)break;return null;case 22:return t.lanes=0,hs(e,t,n,t.pendingProps);case 24:Yr(t,h_,e.memoizedState.cache)}return Is(e,t,n)}function zs(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Cr(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),n._debugStack=t._debugStack,n._debugTask=t._debugTask;var r=t.return;if(r===null)throw Error(`Cannot swap the root fiber.`);if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===r.child)r.child=n;else{var i=r.child;if(i===null)throw Error(`Expected parent to have a child.`);for(;i.sibling!==t;)if(i=i.sibling,i===null)throw Error(`Expected to find the previous sibling.`);i.sibling=n}return t=r.deletions,t===null?(r.deletions=[e],r.flags|=16):t.push(e),n.flags|=2,n}if(e!==null){if(e.memoizedProps!==t.pendingProps||t.type!==e.type)sb=!0;else{if(!Ls(e,n)&&!(t.flags&128))return sb=!1,Rs(e,t,n);sb=!!(e.flags&131072)}}else sb=!1,(r=G)&&(Ir(),r=!!(t.flags&1048576)),r&&(r=t.index,Ir(),jr(t,qg,r));switch(t.lanes=0,t.tag){case 16:a:if(r=t.pendingProps,e=Ii(t.elementType),t.type=e,typeof e==`function`)br(e)?(r=ts(e,r),t.tag=1,t.type=e=mr(e),t=ws(null,t,e,r,n)):(t.tag=0,Es(t,e),t.type=e=mr(e),t=Ss(null,t,e,r,n));else{if(e!=null){if(i=e.$$typeof,i===Bf){t.tag=11,t.type=e=hr(e),t=fs(null,t,e,r,n);break a}if(i===Uf){t.tag=14,t=ps(null,t,e,r,n);break a}}throw t=``,typeof e==`object`&&e&&e.$$typeof===Wf&&(t=` Did you wrap a component in React.lazy() more than once?`),n=S(e)||e,Error(`Element type is invalid. Received a promise that resolves to: `+n+`. Lazy element type must resolve to a class or function.`+t)}return t;case 0:return Ss(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=ts(r,t.pendingProps),ws(e,t,r,i,n);case 3:a:{if(ue(t,t.stateNode.containerInfo),e===null)throw Error(`Should have a current fiber. This is a bug in React.`);r=t.pendingProps;var a=t.memoizedState;i=a.element,$i(e,t),aa(t,r,null,n);var o=t.memoizedState;if(r=o.cache,Yr(t,h_,r),r!==a.cache&&Qr(t,[h_],n,!0),ia(),r=o.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){t=Ts(e,t,r,n);break a}if(r!==i){i=kr(Error(`This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.`),t),Kr(i),t=Ts(e,t,r,n);break a}switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(e_=yd(e.firstChild),$g=t,G=!0,r_=null,t_=!1,n_=null,i_=!0,n=Qv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Wr(),r===i){t=Is(e,t,n);break a}ds(e,t,r,n)}t=t.child}return t;case 26:return xs(e,t),e===null?(n=Md(t.type,null,t.pendingProps,null))?t.memoizedState=n:G||(n=t.type,e=t.pendingProps,r=le(np.current),r=Vu(r).createElement(n),r[qp]=t,r[Jp]=e,Du(r,n,e),tt(r),t.stateNode=r):t.memoizedState=Md(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return pe(t),e===null&&G&&(r=le(np.current),i=fe(),r=t.stateNode=Dd(t.type,t.pendingProps,r,i,!1),t_||(i=Lu(r,t.type,t.pendingProps,i),i!==null&&(Lr(t,0).serverProps=i)),$g=t,i_=!0,i=e_,td(t.type)?(nC=i,e_=yd(r.firstChild)):e_=i),ds(e,t,t.pendingProps.children,n),xs(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&G&&(a=fe(),r=qt(t.type,a.ancestorInfo),i=e_,(o=!i)||(o=pd(i,t.type,t.pendingProps,i_),o===null?a=!1:(t.stateNode=o,t_||(a=Lu(o,t.type,t.pendingProps,a),a!==null&&(Lr(t,0).serverProps=a)),$g=t,e_=yd(o.firstChild),i_=!1,a=!0),o=!a),o&&(r&&zr(t,i),Br(t))),pe(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,r=a.children,Wu(i,a)?r=null:o!==null&&Wu(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=Sa(e,t,Ta,null,null,n),bC._currentValue=i),xs(e,t),ds(e,t,r,n),t.child;case 6:return e===null&&G&&(n=t.pendingProps,e=fe(),r=e.ancestorInfo.current,n=r==null||Jt(n,r.tag,e.ancestorInfo.implicitRootScope),e=e_,(r=!e)||(r=md(e,t.pendingProps,i_),r===null?r=!1:(t.stateNode=r,$g=t,e_=null,r=!0),r=!r),r&&(n&&zr(t,e),Br(t))),null;case 13:return ks(e,t,n);case 4:return ue(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Zv(t,null,r,n):ds(e,t,r,n),t.child;case 11:return fs(e,t,t.type,t.pendingProps,n);case 7:return ds(e,t,t.pendingProps,n),t.child;case 8:return ds(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,r=t.stateNode,r.effectDuration=-0,r.passiveEffectDuration=-0,ds(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.type,i=t.pendingProps,a=i.value,`value`in i||gb||(gb=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Yr(t,r,a),ds(e,t,i.children,n),t.child;case 9:return i=t.type._context,r=t.pendingProps.children,typeof r!=`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.`),ti(t),i=ni(i),r=xv(r,i,void 0),t.flags|=1,ds(e,t,r,n),t.child;case 14:return ps(e,t,t.type,t.pendingProps,n);case 15:return ms(e,t,t.type,t.pendingProps,n);case 19:return Fs(e,t,n);case 31:return bs(e,t,n);case 22:return hs(e,t,n,t.pendingProps);case 24:return ti(t),r=ni(h_),e===null?(i=Ai(),i===null&&(i=Wb,a=ai(),i.pooledCache=a,oi(a),a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},Qi(t),Yr(t,h_,i)):((e.lanes&n)!==0&&($i(e,t),aa(t,null,null,n),ia()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,Yr(t,h_,r),r!==i.cache&&Qr(t,[h_],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),Yr(t,h_,r))),ds(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(`Unknown unit of work tag (`+t.tag+`). This error is likely caused by a bug in React. Please file an issue.`)}function Bs(e){e.flags|=4}function Vs(e,t,n,r,i){if((t=(e.mode&Vg)!==U)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i){if(e.stateNode.complete)e.flags|=8192;else if(pl())e.flags|=8192;else throw Hv=Vv,zv}}else e.flags&=-16777217}function Hs(e,t){if(t.type!==`stylesheet`||(t.state.loading&sC)!==rC)e.flags&=-16777217;else if(e.flags|=16777216,!qd(t)){if(pl())e.flags|=8192;else throw Hv=Vv,zv}}function Us(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Re(),e.lanes|=t,fx|=t)}function Ws(e,t){if(!G)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Gs(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t){if((e.mode&W)!==U){for(var i=e.selfBaseDuration,a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&65011712,r|=a.flags&65011712,i+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=i}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling}else if((e.mode&W)!==U){i=e.actualDuration,a=e.selfBaseDuration;for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,i+=o.actualDuration,a+=o.treeBaseDuration,o=o.sibling;e.actualDuration=i,e.treeBaseDuration=a}else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ks(e,t,n){var r=t.pendingProps;switch(Nr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(t),null;case 1:return Gs(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Xr(h_,t),de(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ur(t)?(qr(),Bs(t)):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Gr())),Gs(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(Bs(t),a===null?(Gs(t),Vs(t,i,null,r,n)):(Gs(t),Hs(t,a))):a?a===e.memoizedState?(Gs(t),t.flags&=-16777217):(Bs(t),Gs(t),Hs(t,a)):(e=e.memoizedProps,e!==r&&Bs(t),Gs(t),Vs(t,i,e,r,n)),null;case 27:if(me(t),n=le(np.current),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Bs(t);else{if(!r){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 Gs(t),null}e=fe(),Ur(t)?Vr(t,e):(e=Dd(i,r,n,e,!0),t.stateNode=e,Bs(t))}return Gs(t),null;case 5:if(me(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Bs(t);else{if(!r){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 Gs(t),null}var o=fe();if(Ur(t))Vr(t,o);else{switch(a=le(np.current),qt(i,o.ancestorInfo),o=o.context,a=Vu(a),o){case WS:a=a.createElementNS(Lm,i);break;case GS:a=a.createElementNS(Im,i);break;default:switch(i){case`svg`:a=a.createElementNS(Lm,i);break;case`math`:a=a.createElementNS(Im,i);break;case`script`:a=a.createElement(`div`),a.innerHTML=`<script><\/script>`,a=a.removeChild(a.firstChild);break;case`select`:a=typeof r.is==`string`?a.createElement(`select`,{is:r.is}):a.createElement(`select`),r.multiple?a.multiple=!0:r.size&&(a.size=r.size);break;default:a=typeof r.is==`string`?a.createElement(i,{is:r.is}):a.createElement(i),i.indexOf(`-`)===-1&&(i!==i.toLowerCase()&&console.error(`<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.`,i),Object.prototype.toString.call(a)!==`[object HTMLUnknownElement]`||vp.call(JS,i)||(JS[i]=!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.`,i)))}}a[qp]=t,a[Jp]=r;a:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)a.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break a;for(;o.sibling===null;){if(o.return===null||o.return===t)break a;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=a;a:switch(Du(a,i,r),i){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Bs(t)}}return Gs(t),Vs(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Bs(t);else{if(typeof r!=`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=le(np.current),n=fe(),Ur(t)){if(e=t.stateNode,n=t.memoizedProps,i=!t_,r=null,a=$g,a!==null)switch(a.tag){case 3:i&&(i=xd(e,n,r),i!==null&&(Lr(t,0).serverProps=i));break;case 27:case 5:r=a.memoizedProps,i&&(i=xd(e,n,r),i!==null&&(Lr(t,0).serverProps=i))}e[qp]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||wu(e.nodeValue,n)),e||Br(t,!0)}else i=n.ancestorInfo.current,i!=null&&Jt(r,i.tag,n.ancestorInfo.implicitRootScope),e=Vu(e).createTextNode(r),e[qp]=t,t.stateNode=e}return Gs(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Ur(t),n!==null){if(e===null){if(!r)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?null:e.dehydrated,!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[qp]=t,Gs(t),(t.mode&W)!==U&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else qr(),Wr(),!(t.flags&128)&&(n=t.memoizedState=null),t.flags|=4,Gs(t),(t.mode&W)!==U&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Gr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(ga(t),t):(ga(t),null);if(t.flags&128)throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`)}return Gs(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=r,a=Ur(t),i!==null&&i.dehydrated!==null){if(e===null){if(!a)throw Error(`A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.`);if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(`Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.`);a[qp]=t,Gs(t),(t.mode&W)!==U&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration))}else qr(),Wr(),!(t.flags&128)&&(i=t.memoizedState=null),t.flags|=4,Gs(t),(t.mode&W)!==U&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration));i=!1}else i=Gr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(ga(t),t):(ga(t),null)}return ga(t),t.flags&128?(t.lanes=n,(t.mode&W)!==U&&Ei(t),t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,i=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(i=r.alternate.memoizedState.cachePool.pool),a=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(a=r.memoizedState.cachePool.pool),a!==i&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Us(t,t.updateQueue),Gs(t),(t.mode&W)!==U&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return de(t),e===null&&du(t.stateNode.containerInfo),Gs(t),null;case 10:return Xr(t.type,t),Gs(t),null;case 19:if(ce(py,t),r=t.memoizedState,r===null)return Gs(t),null;if(i=!!(t.flags&128),a=r.rendering,a===null){if(i)Ws(r,!1);else{if(sx!==Lb||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=_a(e),a!==null){for(t.flags|=128,Ws(r,!1),e=a.updateQueue,t.updateQueue=e,Us(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Sr(n,e),n=n.sibling;return w(py,py.current&dy|fy,t),G&&Ar(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Cp()>yx&&(t.flags|=128,i=!0,Ws(r,!1),t.lanes=4194304)}}else{if(!i){if(e=_a(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Us(t,e),Ws(r,!0),r.tail===null&&r.tailMode===`hidden`&&!a.alternate&&!G)return Gs(t),null}else 2*Cp()-r.renderingStartTime>yx&&n!==536870912&&(t.flags|=128,i=!0,Ws(r,!1),t.lanes=4194304)}r.isBackwards?(a.sibling=t.child,t.child=a):(e=r.last,e===null?t.child=a:e.sibling=a,r.last=a)}return r.tail===null?(Gs(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=Cp(),e.sibling=null,n=py.current,n=i?n&dy|fy:n&dy,w(py,n,t),G&&Ar(t,r.treeForkCount),e);case 22:case 23:return ga(t),da(t),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Gs(t),t.subtreeFlags&6&&(t.flags|=8192)):Gs(t),n=t.updateQueue,n!==null&&Us(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&ce(lv,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Xr(h_,t),Gs(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 qs(e,t){switch(Nr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ei(t),t):null;case 3:return Xr(h_,t),de(t),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return me(t),null;case 31:if(t.memoizedState!==null){if(ga(t),t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);Wr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ei(t),t):null;case 13:if(ga(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.`);Wr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ei(t),t):null;case 19:return ce(py,t),null;case 4:return de(t),null;case 10:return Xr(t.type,t),null;case 22:case 23:return ga(t),da(t),e!==null&&ce(lv,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ei(t),t):null;case 24:return Xr(h_,t),null;case 25:return null;default:return null}}function Js(e,t){switch(Nr(t),t.tag){case 3:Xr(h_,t),de(t);break;case 26:case 27:case 5:me(t);break;case 4:de(t);break;case 31:t.memoizedState!==null&&ga(t);break;case 13:ga(t);break;case 19:ce(py,t);break;case 10:Xr(t.type,t);break;case 22:case 23:ga(t),da(t),e!==null&&ce(lv,t);break;case 24:Xr(h_,t)}}function Ys(e){return(e.mode&W)!==U}function Xs(e,t){Ys(e)?(Ti(),Qs(t,e),Ci()):Qs(t,e)}function Zs(e,t,n){Ys(e)?(Ti(),$s(n,e,t),Ci()):$s(n,e,t)}function Qs(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e&&(r=void 0,(e&gy)!==my&&($x=!0),r=T(t,Nv,n),(e&gy)!==my&&($x=!1),r!==void 0&&typeof r!=`function`)){var a=void 0;a=(n.tag&_y)===0?(n.tag&gy)===0?`useEffect`:`useInsertionEffect`:`useLayoutEffect`;var o=void 0;o=r===null?` You returned null. If your effect does not require clean up, return undefined (or nothing).`:typeof r.then==`function`?`
|
|
145
|
-
|
|
146
|
-
It looks like you wrote `+a+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
147
|
-
|
|
148
|
-
`+a+`(() => {
|
|
149
|
-
async function fetchData() {
|
|
150
|
-
// You can await here
|
|
151
|
-
const response = await MyAPI.getData(someId);
|
|
152
|
-
// ...
|
|
153
|
-
}
|
|
154
|
-
fetchData();
|
|
155
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
156
|
-
|
|
157
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:` You returned: `+r,T(t,function(e,t){console.error(`%s must not return anything besides a function, which is used for clean-up.%s`,e,t)},a,o)}n=n.next}while(n!==i)}}catch(e){I(t,t.return,e)}}function $s(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;s!==void 0&&(o.destroy=void 0,(e&gy)!==my&&($x=!0),i=t,T(i,Fv,i,n,s),(e&gy)!==my&&($x=!1))}r=r.next}while(r!==a)}}catch(e){I(t,t.return,e)}}function ec(e,t){Ys(e)?(Ti(),Qs(t,e),Ci()):Qs(t,e)}function tc(e,t,n){Ys(e)?(Ti(),$s(n,e,t),Ci()):$s(n,e,t)}function nc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||`ref`in e.memoizedProps||fb||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",C(e)||`instance`),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",C(e)||`instance`));try{T(e,ca,t,n)}catch(t){I(e,e.return,t)}}}function rc(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function ic(e,t){var n=t.memoizedProps,r=t.memoizedState;t=e.stateNode,e.type.defaultProps||`ref`in e.memoizedProps||fb||(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.",C(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.",C(e)||`instance`));try{var i=ts(e.type,n),a=T(e,rc,t,i,r);n=_b,a!==void 0||n.has(e.type)||(n.add(e.type),T(e,function(){console.error(`%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.`,C(e))})),t.__reactInternalSnapshotBeforeUpdate=a}catch(t){I(e,e.return,t)}}function ac(e,t,n){n.props=ts(e.type,e.memoizedProps),n.state=e.memoizedState,Ys(e)?(Ti(),T(e,jv,e,t,n),Ci()):T(e,jv,e,t,n)}function oc(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}if(typeof t==`function`){if(Ys(e))try{Ti(),e.refCleanup=t(n)}finally{Ci()}else e.refCleanup=t(n)}else typeof t==`string`?console.error(`String refs are no longer supported.`):t.hasOwnProperty(`current`)||console.error(`Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().`,C(e)),t.current=n}}function sc(e,t){try{T(e,oc,e)}catch(n){I(e,t,n)}}function cc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{if(Ys(e))try{Ti(),T(e,r)}finally{Ci(e)}else T(e,r)}catch(n){I(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{if(Ys(e))try{Ti(),T(e,n,null)}finally{Ci(e)}else T(e,n,null)}catch(n){I(e,t,n)}else n.current=null}}function lc(e,t,n,r){var i=e.memoizedProps,a=i.id,o=i.onCommit;i=i.onRender,t=t===null?`mount`:`update`,nv&&(t=`nested-update`),typeof i==`function`&&i(a,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof o==`function`&&o(a,t,r,n)}function uc(e,t,n,r){var i=e.memoizedProps;e=i.id,i=i.onPostCommit,t=t===null?`mount`:`update`,nv&&(t=`nested-update`),typeof i==`function`&&i(e,t,r,n)}function dc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{T(e,Yu,r,t,n,e)}catch(t){I(e,e.return,t)}}function fc(e,t,n){try{T(e,Zu,e.stateNode,e.type,n,t,e)}catch(t){I(e,e.return,t)}}function pc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&td(e.type)||e.tag===4}function mc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||pc(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&&td(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function hc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(ed(n),(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t)):(ed(n),t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=sn));else if(r!==4&&(r===27&&td(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(hc(e,t,n),e=e.sibling;e!==null;)hc(e,t,n),e=e.sibling}function gc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&td(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(gc(e,t,n),e=e.sibling;e!==null;)gc(e,t,n),e=e.sibling}function _c(e){for(var t,n=e.return;n!==null;){if(pc(n)){t=n;break}n=n.return}if(t==null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);switch(t.tag){case 27:t=t.stateNode,n=mc(e),gc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Qu(n),t.flags&=-33),t=mc(e),gc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=mc(e),hc(e,n,t);break;default:throw Error(`Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.`)}}function vc(e){var t=e.stateNode,n=e.memoizedProps;try{T(e,Od,e.type,n,t,e)}catch(t){I(e,e.return,t)}}function yc(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)}function bc(e,t){if(e=e.containerInfo,KS=LC,e=Rn(e),zn(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break a}var o=0,s=-1,c=-1,l=0,u=0,d=e,f=null;b:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(s=o+i),d!==a||r!==0&&d.nodeType!==3||(c=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break b;if(f===n&&++l===i&&(s=o),f===a&&++u===r&&(c=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n||={start:0,end:0}}else n=null;for(qS={focusedElem:e,selectionRange:n},LC=!1,Sb=t;Sb!==null;)if(t=Sb,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,Sb=e;else for(;Sb!==null;){switch(e=t=Sb,n=e.alternate,i=e.flags,e.tag){case 0:if(i&4&&(e=e.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:i&1024&&n!==null&&ic(e,n);break;case 3:if(i&1024){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)fd(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:fd(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(i&1024)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,Sb=e;break}Sb=t.return}}function xc(e,t,n){var r=mi(),i=gi(),a=vi(),o=yi(),s=n.flags;switch(n.tag){case 0:case 11:case 15:Nc(e,n),s&4&&Xs(n,_y|hy);break;case 1:if(Nc(e,n),s&4){if(e=n.stateNode,t===null)n.type.defaultProps||`ref`in n.memoizedProps||fb||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",C(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",C(n)||`instance`)),Ys(n)?(Ti(),T(n,Tv,n,e),Ci()):T(n,Tv,n,e);else{var c=ts(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||`ref`in n.memoizedProps||fb||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",C(n)||`instance`),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",C(n)||`instance`)),Ys(n)?(Ti(),T(n,Dv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate),Ci()):T(n,Dv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate)}}s&64&&nc(n),s&512&&sc(n,n.return);break;case 3:if(t=ui(),Nc(e,n),s&64&&(s=n.updateQueue,s!==null)){if(c=null,n.child!==null)switch(n.child.tag){case 27:case 5:c=n.child.stateNode;break;case 1:c=n.child.stateNode}try{T(n,ca,s,c)}catch(e){I(n,n.return,e)}}e.effectDuration+=di(t);break;case 27:t===null&&s&4&&vc(n);case 26:case 5:if(Nc(e,n),t===null){if(s&4)dc(n);else if(s&64){e=n.type,t=n.memoizedProps,c=n.stateNode;try{T(n,Xu,c,e,t,n)}catch(e){I(n,n.return,e)}}}s&512&&sc(n,n.return);break;case 12:if(s&4){s=ui(),Nc(e,n),e=n.stateNode,e.effectDuration+=fi(s);try{T(n,lc,n,t,x_,e.effectDuration)}catch(e){I(n,n.return,e)}}else Nc(e,n);break;case 31:Nc(e,n),s&4&&Tc(e,n);break;case 13:Nc(e,n),s&4&&Ec(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=Bl.bind(null,n),vd(e,s))));break;case 22:if(s=n.memoizedState!==null||vb,!s){t=t!==null&&t.memoizedState!==null||yb,c=vb;var l=yb;vb=s,(yb=t)&&!l?(Lc(e,n,!!(n.subtreeFlags&8772)),(n.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Xn(n,K,q)):Nc(e,n),vb=c,yb=l}break;case 30:break;default:Nc(e,n)}(n.mode&W)!==U&&0<=K&&0<=q&&((O_||.05<E_)&&$n(n,K,q,E_,D_),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<q-K&&(yc(n.return.alternate,n.return)||Yn(n,K,q,`Mount`))),hi(r),_i(i),D_=a,O_=o}function Sc(e){var t=e.alternate;t!==null&&(e.alternate=null,Sc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ze(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 Cc(e,t,n){for(n=n.child;n!==null;)wc(e,t,n),n=n.sibling}function wc(e,t,n){if(Np&&typeof Np.onCommitFiberUnmount==`function`)try{Np.onCommitFiberUnmount(Mp,n)}catch(e){Pp||(Pp=!0,console.error(`React instrumentation encountered an error: %o`,e))}var r=mi(),i=gi(),a=vi(),o=yi();switch(n.tag){case 26:yb||cc(n,t),Cc(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:yb||cc(n,t);var s=Tb,c=Eb;td(n.type)&&(Tb=n.stateNode,Eb=!1),Cc(e,t,n),T(n,kd,n.stateNode),Tb=s,Eb=c;break;case 5:yb||cc(n,t);case 6:if(s=Tb,c=Eb,Tb=null,Cc(e,t,n),Tb=s,Eb=c,Tb!==null){if(Eb)try{T(n,rd,Tb,n.stateNode)}catch(e){I(n,t,e)}else try{T(n,nd,Tb,n.stateNode)}catch(e){I(n,t,e)}}break;case 18:Tb!==null&&(Eb?(e=Tb,id(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),wf(e)):id(Tb,n.stateNode));break;case 4:s=Tb,c=Eb,Tb=n.stateNode.containerInfo,Eb=!0,Cc(e,t,n),Tb=s,Eb=c;break;case 0:case 11:case 14:case 15:$s(gy,n,t),yb||Zs(n,t,_y),Cc(e,t,n);break;case 1:yb||(cc(n,t),s=n.stateNode,typeof s.componentWillUnmount==`function`&&ac(n,t,s)),Cc(e,t,n);break;case 21:Cc(e,t,n);break;case 22:yb=(s=yb)||n.memoizedState!==null,Cc(e,t,n),yb=s;break;default:Cc(e,t,n)}(n.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(n,K,q,E_,D_),hi(r),_i(i),D_=a,O_=o}function Tc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{T(t,Td,e)}catch(e){I(t,t.return,e)}}}function Ec(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{T(t,Ed,e)}catch(e){I(t,t.return,e)}}function Dc(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new xb),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new xb),t;default:throw Error(`Unexpected Suspense handler tag (`+e.tag+`). This is a bug in React.`)}}function Oc(e,t){var n=Dc(e);t.forEach(function(t){if(!n.has(t)){if(n.add(t),Fp){if(Cb!==null&&wb!==null)Kl(wb,Cb);else throw Error(`Expected finished root and lanes to be set. This is a bug in React.`)}var r=Vl.bind(null,e,t);t.then(r,r)}})}function kc(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=e,a=t,o=n[r],s=mi(),c=a;a:for(;c!==null;){switch(c.tag){case 27:if(td(c.type)){Tb=c.stateNode,Eb=!1;break a}break;case 5:Tb=c.stateNode,Eb=!1;break a;case 3:case 4:Tb=c.stateNode.containerInfo,Eb=!0;break a}c=c.return}if(Tb===null)throw Error(`Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.`);wc(i,a,o),Tb=null,Eb=!1,(o.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Yn(o,K,q,`Unmount`),hi(s),i=o,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Ac(t,e),t=t.sibling}function Ac(e,t){var n=mi(),r=gi(),i=vi(),a=yi(),o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:kc(t,e),jc(e),s&4&&($s(gy|hy,e,e.return),Qs(gy|hy,e),Zs(e,e.return,_y|hy));break;case 1:if(kc(t,e),jc(e),s&512&&(yb||o===null||cc(o,o.return)),s&64&&vb&&(s=e.updateQueue,s!==null&&(o=s.callbacks,o!==null))){var c=s.shared.hiddenCallbacks;s.shared.hiddenCallbacks=c===null?o:c.concat(o)}break;case 26:if(c=Db,kc(t,e),jc(e),s&512&&(yb||o===null||cc(o,o.return)),s&4){var l=o===null?null:o.memoizedState;if(s=e.memoizedState,o===null){if(s===null){if(e.stateNode===null){a:{s=e.type,o=e.memoizedProps,c=c.ownerDocument||c;b:switch(s){case`title`:l=c.getElementsByTagName(`title`)[0],(!l||l[em]||l[qp]||l.namespaceURI===Lm||l.hasAttribute(`itemprop`))&&(l=c.createElement(s),c.head.insertBefore(l,c.querySelector(`head > title`))),Du(l,s,o),l[qp]=e,tt(l),s=l;break a;case`link`:var u=Wd(`link`,`href`,c).get(s+(o.href||``));if(u){for(var d=0;d<u.length;d++)if(l=u[d],l.getAttribute(`href`)===(o.href==null||o.href===``?null:o.href)&&l.getAttribute(`rel`)===(o.rel==null?null:o.rel)&&l.getAttribute(`title`)===(o.title==null?null:o.title)&&l.getAttribute(`crossorigin`)===(o.crossOrigin==null?null:o.crossOrigin)){u.splice(d,1);break b}}l=c.createElement(s),Du(l,s,o),c.head.appendChild(l);break;case`meta`:if(u=Wd(`meta`,`content`,c).get(s+(o.content||``))){for(d=0;d<u.length;d++)if(l=u[d],D(o.content,`content`),l.getAttribute(`content`)===(o.content==null?null:``+o.content)&&l.getAttribute(`name`)===(o.name==null?null:o.name)&&l.getAttribute(`property`)===(o.property==null?null:o.property)&&l.getAttribute(`http-equiv`)===(o.httpEquiv==null?null:o.httpEquiv)&&l.getAttribute(`charset`)===(o.charSet==null?null:o.charSet)){u.splice(d,1);break b}}l=c.createElement(s),Du(l,s,o),c.head.appendChild(l);break;default:throw Error(`getNodesForType encountered a type it did not expect: "`+s+`". This is a bug in React.`)}l[qp]=e,tt(l),s=l}e.stateNode=s}else Gd(c,e.type,e.stateNode)}else e.stateNode=Bd(c,s,e.memoizedProps)}else l===s?s===null&&e.stateNode!==null&&fc(e,e.memoizedProps,o.memoizedProps):(l===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):l.count--,s===null?Gd(c,e.type,e.stateNode):Bd(c,s,e.memoizedProps))}break;case 27:kc(t,e),jc(e),s&512&&(yb||o===null||cc(o,o.return)),o!==null&&s&4&&fc(e,e.memoizedProps,o.memoizedProps);break;case 5:if(kc(t,e),jc(e),s&512&&(yb||o===null||cc(o,o.return)),e.flags&32){c=e.stateNode;try{T(e,Qu,c)}catch(t){I(e,e.return,t)}}s&4&&e.stateNode!=null&&(c=e.memoizedProps,fc(e,c,o===null?c:o.memoizedProps)),s&1024&&(bb=!0,e.type!==`form`&&console.error(`Unexpected host component type. Expected a form. This is a bug in React.`));break;case 6:if(kc(t,e),jc(e),s&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.`);s=e.memoizedProps,o=o===null?s:o.memoizedProps,c=e.stateNode;try{T(e,$u,c,o,s)}catch(t){I(e,e.return,t)}}break;case 3:if(c=ui(),fC=null,l=Db,Db=Ad(t.containerInfo),kc(t,e),Db=l,jc(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{T(e,wd,t.containerInfo)}catch(t){I(e,e.return,t)}bb&&(bb=!1,Mc(e)),t.effectDuration+=di(c);break;case 4:s=Db,Db=Ad(e.stateNode.containerInfo),kc(t,e),jc(e),Db=s;break;case 12:s=ui(),kc(t,e),jc(e),e.stateNode.effectDuration+=fi(s);break;case 31:kc(t,e),jc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Oc(e,s)));break;case 13:kc(t,e),jc(e),e.child.flags&8192&&e.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(gx=Cp()),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Oc(e,s)));break;case 22:c=e.memoizedState!==null;var f=o!==null&&o.memoizedState!==null,p=vb,m=yb;if(vb=p||c,yb=m||f,kc(t,e),yb=m,vb=p,f&&!c&&!p&&!m&&(e.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Xn(e,K,q),jc(e),s&8192)a:for(t=e.stateNode,t._visibility=c?t._visibility&~Ag:t._visibility|Ag,!c||o===null||f||vb||yb||(Fc(e),(e.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Yn(e,K,q,`Disconnect`)),o=null,t=e;;){if(t.tag===5||t.tag===26){if(o===null){f=o=t;try{l=f.stateNode,c?T(f,sd,l):T(f,ud,f.stateNode,f.memoizedProps)}catch(e){I(f,f.return,e)}}}else if(t.tag===6){if(o===null){f=t;try{u=f.stateNode,c?T(f,cd,u):T(f,dd,u,f.memoizedProps)}catch(e){I(f,f.return,e)}}}else if(t.tag===18){if(o===null){f=t;try{d=f.stateNode,c?T(f,od,d):T(f,ld,f.stateNode)}catch(e){I(f,f.return,e)}}}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 a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;o===t&&(o=null),t=t.return}o===t&&(o=null),t.sibling.return=t.return,t=t.sibling}s&4&&(s=e.updateQueue,s!==null&&(o=s.retryQueue,o!==null&&(s.retryQueue=null,Oc(e,o))));break;case 19:kc(t,e),jc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Oc(e,s)));break;case 30:break;case 21:break;default:kc(t,e),jc(e)}(e.mode&W)!==U&&0<=K&&0<=q&&((O_||.05<E_)&&$n(e,K,q,E_,D_),e.alternate===null&&e.return!==null&&e.return.alternate!==null&&.05<q-K&&(yc(e.return.alternate,e.return)||Yn(e,K,q,`Mount`))),hi(n),_i(r),D_=i,O_=a}function jc(e){var t=e.flags;if(t&2){try{T(e,_c,e)}catch(t){I(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Mc(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Mc(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Nc(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)xc(e,t.alternate,t),t=t.sibling}function Pc(e){var t=mi(),n=gi(),r=vi(),i=yi();switch(e.tag){case 0:case 11:case 14:case 15:Zs(e,e.return,_y),Fc(e);break;case 1:cc(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount==`function`&&ac(e,e.return,a),Fc(e);break;case 27:T(e,kd,e.stateNode);case 26:case 5:cc(e,e.return),Fc(e);break;case 22:e.memoizedState===null&&Fc(e);break;case 30:Fc(e);break;default:Fc(e)}(e.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(e,K,q,E_,D_),hi(t),_i(n),D_=r,O_=i}function Fc(e){for(e=e.child;e!==null;)Pc(e),e=e.sibling}function Ic(e,t,n,r){var i=mi(),a=gi(),o=vi(),s=yi(),c=n.flags;switch(n.tag){case 0:case 11:case 15:Lc(e,n,r),Xs(n,_y);break;case 1:if(Lc(e,n,r),t=n.stateNode,typeof t.componentDidMount==`function`&&T(n,Tv,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{T(n,sa,t,e)}catch(e){I(n,n.return,e)}}r&&c&64&&nc(n),sc(n,n.return);break;case 27:vc(n);case 26:case 5:Lc(e,n,r),r&&t===null&&c&4&&dc(n),sc(n,n.return);break;case 12:if(r&&c&4){c=ui(),Lc(e,n,r),r=n.stateNode,r.effectDuration+=fi(c);try{T(n,lc,n,t,x_,r.effectDuration)}catch(e){I(n,n.return,e)}}else Lc(e,n,r);break;case 31:Lc(e,n,r),r&&c&4&&Tc(e,n);break;case 13:Lc(e,n,r),r&&c&4&&Ec(e,n);break;case 22:n.memoizedState===null&&Lc(e,n,r),sc(n,n.return);break;case 30:break;default:Lc(e,n,r)}(n.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(n,K,q,E_,D_),hi(i),_i(a),D_=o,O_=s}function Lc(e,t,n){for(n&&=!!(t.subtreeFlags&8772),t=t.child;t!==null;)Ic(e,t.alternate,t,n),t=t.sibling}function Rc(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&oi(e),n!=null&&si(n))}function zc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(oi(t),e!=null&&si(e))}function Bc(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(t=t.child;t!==null;){var a=t.sibling;Vc(e,t,n,r,a===null?i:a.actualStartTime),t=a}}function Vc(e,t,n,r,i){var a=mi(),o=gi(),s=vi(),c=yi(),l=wg,u=t.flags;switch(t.tag){case 0:case 11:case 15:(t.mode&W)!==U&&0<t.actualStartTime&&t.flags&1&&Zn(t,t.actualStartTime,i,Ob,n),Bc(e,t,n,r,i),u&2048&&ec(t,vy|hy);break;case 1:(t.mode&W)!==U&&0<t.actualStartTime&&(t.flags&128?Qn(t,t.actualStartTime,i,[]):t.flags&1&&Zn(t,t.actualStartTime,i,Ob,n)),Bc(e,t,n,r,i);break;case 3:var d=ui(),f=Ob;Ob=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&!(t.flags&256),Bc(e,t,n,r,i),Ob=f,u&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),r=t.memoizedState.cache,r!==n&&(oi(r),n!=null&&si(n))),e.passiveEffectDuration+=di(d);break;case 12:if(u&2048){u=ui(),Bc(e,t,n,r,i),e=t.stateNode,e.passiveEffectDuration+=fi(u);try{T(t,uc,t,t.alternate,x_,e.passiveEffectDuration)}catch(e){I(t,t.return,e)}}else Bc(e,t,n,r,i);break;case 31:u=Ob,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d!==null&&f===null?(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(Ob=!1,d=d.hydrationErrors,d!==null&&Qn(t,t.actualStartTime,i,d)):Ob=!0):Ob=!1,Bc(e,t,n,r,i),Ob=u;break;case 13:u=Ob,d=t.alternate===null?null:t.alternate.memoizedState,f=t.memoizedState,d===null||d.dehydrated===null||f!==null&&f.dehydrated!==null?Ob=!1:(f=t.deletions,f!==null&&0<f.length&&f[0].tag===18?(Ob=!1,d=d.hydrationErrors,d!==null&&Qn(t,t.actualStartTime,i,d)):Ob=!0),Bc(e,t,n,r,i),Ob=u;break;case 23:break;case 22:f=t.stateNode,d=t.alternate,t.memoizedState===null?f._visibility&jg?Bc(e,t,n,r,i):(f._visibility|=jg,Hc(e,t,n,r,!!(t.subtreeFlags&10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),i),(t.mode&W)===U||Ob||(e=t.actualStartTime,0<=e&&.05<i-e&&Xn(t,e,i),0<=K&&0<=q&&.05<q-K&&Xn(t,K,q))):f._visibility&jg?Bc(e,t,n,r,i):Wc(e,t,n,r,i),u&2048&&Rc(d,t);break;case 24:Bc(e,t,n,r,i),u&2048&&zc(t.alternate,t);break;default:Bc(e,t,n,r,i)}(t.mode&W)!==U&&((e=!Ob&&t.alternate===null&&t.return!==null&&t.return.alternate!==null)&&(n=t.actualStartTime,0<=n&&.05<i-n&&Yn(t,n,i,`Mount`)),0<=K&&0<=q&&((O_||.05<E_)&&$n(t,K,q,E_,D_),e&&.05<q-K&&Yn(t,K,q,`Mount`))),hi(a),_i(o),D_=s,O_=c,wg=l}function Hc(e,t,n,r,i,a){for(i&&=!!(t.subtreeFlags&10256)||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child),t=t.child;t!==null;){var o=t.sibling;Uc(e,t,n,r,i,o===null?a:o.actualStartTime),t=o}}function Uc(e,t,n,r,i,a){var o=mi(),s=gi(),c=vi(),l=yi(),u=wg;i&&(t.mode&W)!==U&&0<t.actualStartTime&&t.flags&1&&Zn(t,t.actualStartTime,a,Ob,n);var d=t.flags;switch(t.tag){case 0:case 11:case 15:Hc(e,t,n,r,i,a),ec(t,vy);break;case 23:break;case 22:var f=t.stateNode;t.memoizedState===null?(f._visibility|=jg,Hc(e,t,n,r,i,a)):f._visibility&jg?Hc(e,t,n,r,i,a):Wc(e,t,n,r,a),i&&d&2048&&Rc(t.alternate,t);break;case 24:Hc(e,t,n,r,i,a),i&&d&2048&&zc(t.alternate,t);break;default:Hc(e,t,n,r,i,a)}(t.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(t,K,q,E_,D_),hi(o),_i(s),D_=c,O_=l,wg=u}function Wc(e,t,n,r,i){if(t.subtreeFlags&10256||t.actualDuration!==0&&(t.alternate===null||t.alternate.child!==t.child))for(var a=t.child;a!==null;){t=a.sibling;var o=e,s=n,c=r,l=t===null?i:t.actualStartTime,u=wg;(a.mode&W)!==U&&0<a.actualStartTime&&a.flags&1&&Zn(a,a.actualStartTime,l,Ob,s);var d=a.flags;switch(a.tag){case 22:Wc(o,a,s,c,l),d&2048&&Rc(a.alternate,a);break;case 24:Wc(o,a,s,c,l),d&2048&&zc(a.alternate,a);break;default:Wc(o,a,s,c,l)}wg=u,a=t}}function Gc(e,t,n){if(e.subtreeFlags&kb)for(e=e.child;e!==null;)Kc(e,t,n),e=e.sibling}function Kc(e,t,n){switch(e.tag){case 26:Gc(e,t,n),e.flags&kb&&e.memoizedState!==null&&Jd(n,Db,e.memoizedState,e.memoizedProps);break;case 5:Gc(e,t,n);break;case 3:case 4:var r=Db;Db=Ad(e.stateNode.containerInfo),Gc(e,t,n),Db=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=kb,kb=16777216,Gc(e,t,n),kb=r):Gc(e,t,n));break;default:Gc(e,t,n)}}function qc(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 Jc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=mi();Sb=r,Qc(r,e),(r.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Yn(r,K,q,`Unmount`),hi(i)}qc(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Yc(e),e=e.sibling}function Yc(e){var t=mi(),n=gi(),r=vi(),i=yi();switch(e.tag){case 0:case 11:case 15:Jc(e),e.flags&2048&&tc(e,e.return,vy|hy);break;case 3:var a=ui();Jc(e),e.stateNode.passiveEffectDuration+=di(a);break;case 12:a=ui(),Jc(e),e.stateNode.passiveEffectDuration+=fi(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&jg&&(e.return===null||e.return.tag!==13)?(a._visibility&=~jg,Xc(e),(e.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Yn(e,K,q,`Disconnect`)):Jc(e);break;default:Jc(e)}(e.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(e,K,q,E_,D_),hi(t),_i(n),O_=i,D_=r}function Xc(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n],i=mi();Sb=r,Qc(r,e),(r.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Yn(r,K,q,`Unmount`),hi(i)}qc(e)}for(e=e.child;e!==null;)Zc(e),e=e.sibling}function Zc(e){var t=mi(),n=gi(),r=vi(),i=yi();switch(e.tag){case 0:case 11:case 15:tc(e,e.return,vy),Xc(e);break;case 22:var a=e.stateNode;a._visibility&jg&&(a._visibility&=~jg,Xc(e));break;default:Xc(e)}(e.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(e,K,q,E_,D_),hi(t),_i(n),O_=i,D_=r}function Qc(e,t){for(;Sb!==null;){var n=Sb,r=n,i=t,a=mi(),o=gi(),s=vi(),c=yi();switch(r.tag){case 0:case 11:case 15:tc(r,i,vy);break;case 23:case 22:r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool,i!=null&&oi(i));break;case 24:si(r.memoizedState.cache)}if((r.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(r,K,q,E_,D_),hi(a),_i(o),O_=c,D_=s,r=n.child,r!==null)r.return=n,Sb=r;else a:for(n=e;Sb!==null;){if(r=Sb,a=r.sibling,o=r.return,Sc(r),r===n){Sb=null;break a}if(a!==null){a.return=o,Sb=a;break a}Sb=o}}}function $c(){Mb.forEach(function(e){return e()})}function el(){var e=typeof IS_REACT_ACT_ENVIRONMENT<`u`?IS_REACT_ACT_ENVIRONMENT:void 0;return e||z.actQueue===null||console.error(`The current testing environment is not configured to support act(...)`),e}function tl(e){if((Z&Fb)!==Pb&&$!==0)return $&-$;var t=z.T;return t===null?Ye():(t._updatedFibers||=new Set,t._updatedFibers.add(e),iu())}function nl(){if(dx===0){if(!($&536870912)||G){var e=Bp;Bp<<=1,!(Bp&3932160)&&(Bp=262144),dx=e}else dx=536870912}return e=ly.current,e!==null&&(e.flags|=32),dx}function rl(e,t,n){if($x&&console.error(`useInsertionEffect must not schedule updates.`),Jx&&(Yx=!0),(e===Wb&&(tx===qb||tx===ex)||e.cancelPendingCommit!==null)&&(dl(e,0),sl(e,$,dx,!1)),Be(e,n),(Z&Fb)!==Pb&&e===Wb){if(_p)switch(t.tag){case 0:case 11:case 15:e=Q&&C(Q)||`Unknown`,nS.has(e)||(nS.add(e),t=C(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:tS||=(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),!0)}}else Fp&&Ke(e,t,n),Jl(t),e===Wb&&((Z&Fb)===Pb&&(lx|=n),sx===Vb&&sl(e,$,dx,!1)),Yl(e)}function il(e,t,n){if((Z&(Fb|Ib))!==Pb)throw Error(`Should not already be working.`);if($!==0&&Q!==null){var r=Q,i=Cp();switch(ev){case Jb:case qb:var a=tv;Sg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Suspended`,a,i,Cg,void 0,`primary-light`)):console.timeStamp(`Suspended`,a,i,Cg,void 0,`primary-light`));break;case ex:a=tv,Sg&&((r=r._debugTask)?r.run(console.timeStamp.bind(console,`Action`,a,i,Cg,void 0,`primary-light`)):console.timeStamp(`Action`,a,i,Cg,void 0,`primary-light`));break;default:Sg&&(r=i-tv,3>r||console.timeStamp(`Blocked`,tv,i,Cg,void 0,5>r?`primary-light`:10>r?`primary`:100>r?`primary-dark`:`error`))}}a=(n=!n&&!(t&127)&&(t&e.expiredLanes)===0||Ie(e,t))?bl(e,t):vl(e,t,!0);var o=n;do{if(a===Lb){ix&&!n&&sl(e,t,0,!1),t=tx,tv=g_(),ev=t;break}if(r=Cp(),i=e.current.alternate,o&&!ol(i)){Jn(t),i=b_,a=r,!Sg||a<=i||(Sx?Sx.run(console.timeStamp.bind(console,`Teared Render`,i,a,H,V,`error`)):console.timeStamp(`Teared Render`,i,a,H,V,`error`)),ul(t,r),a=vl(e,t,!1),o=!1;continue}if(a===zb){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){Jn(t),ir(b_,r,t,Sx),ul(t,r),t=s;a:{r=e,a=o,o=px;var c=r.current.memoizedState.isDehydrated;if(c&&(dl(r,s).flags|=256),s=vl(r,s,!1),s!==zb){if(ax&&!c){r.errorRecoveryDisabledLanes|=a,lx|=a,a=Vb;break a}r=mx,mx=o,r!==null&&(mx===null?mx=r:mx.push.apply(mx,r))}a=s}if(o=!1,a!==zb)continue;r=Cp()}}if(a===Rb){Jn(t),ir(b_,r,t,Sx),ul(t,r),dl(e,0),sl(e,t,0,!0);break}a:{switch(n=e,a){case Lb:case Rb:throw Error(`Root did not complete. This is a bug in React.`);case Vb:if((t&4194048)!==t)break;case Hb:Jn(t),tr(b_,r,t,Sx),ul(t,r),i=t,i&127?R_=r:i&4194048&&(Y_=r),sl(n,t,dx,!rx);break a;case zb:mx=null;break;case Bb:case Ub:break;default:throw Error(`Unknown root exit status.`)}if(z.actQueue!==null)Ol(n,i,t,mx,xx,hx,dx,lx,fx,a,null,null,b_,r);else{if((t&62914560)===t&&(o=gx+vx-Cp(),10<o)){if(sl(n,t,dx,!rx),Fe(n,0,!0)!==0)break a;Lx=t,n.timeoutHandle=ZS(al.bind(null,n,i,mx,xx,hx,t,dx,lx,fx,rx,a,`Throttled`,b_,r),o);break a}al(n,i,mx,xx,hx,t,dx,lx,fx,rx,a,null,b_,r)}}break}while(1);Yl(e)}function al(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.timeoutHandle=$S;var m=t.subtreeFlags,h=null;if((m&8192||(m&16785408)==16785408)&&(h={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:sn},Kc(t,a,h),m=(a&62914560)===a?gx-Cp():(a&4194048)===a?_x-Cp():0,m=Yd(h,m),m!==null)){Lx=a,e.cancelPendingCommit=m(Ol.bind(null,e,t,a,n,r,i,o,s,c,u,h,h.waitingForViewTransition?`Waiting for the previous Animation`:0<h.count?0<h.imgCount?`Suspended on CSS and Images`:`Suspended on CSS`:h.imgCount===1?`Suspended on an Image`:0<h.imgCount?`Suspended on Images`:null,f,p)),sl(e,a,o,!l);return}Ol(e,t,a,n,r,i,o,s,c,u,h,d,f,p)}function ol(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Gh(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function sl(e,t,n,r){t&=~ux,t&=~lx,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-Ip(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&He(e,n,t)}function cl(){return(Z&(Fb|Ib))!==Pb||(Xl(0,!1),!1)}function ll(){if(Q!==null){if(tx===Gb)var e=Q.return;else e=Q,Jr(),Oa(e),Wv=null,Gv=0,e=Q;for(;e!==null;)Js(e.alternate,e),e=e.return;Q=null}}function ul(e,t){e&127&&(k_=t),e&4194048&&(z_=t),e&62914560&&(X_=t),e&2080374784&&(Z_=t)}function dl(e,t){Sg&&(console.timeStamp(`Blocking Track`,.003,.003,`Blocking`,V,`primary-light`),console.timeStamp(`Transition Track`,.003,.003,`Transition`,V,`primary-light`),console.timeStamp(`Suspense Track`,.003,.003,`Suspense`,V,`primary-light`),console.timeStamp(`Idle Track`,.003,.003,`Idle`,V,`primary-light`));var n=b_;if(b_=g_(),$!==0&&0<n){if(Jn($),sx===Bb||sx===Vb)tr(n,b_,t,Sx);else{var r=b_,i=Sx;if(Sg&&!(r<=n)){var a=(t&738197653)===t?`tertiary-dark`:`primary-dark`,o=(t&536870912)===t?`Prewarm`:(t&201326741)===t?`Interrupted Hydration`:`Interrupted Render`;i?i.run(console.timeStamp.bind(console,o,n,r,H,V,a)):console.timeStamp(o,n,r,H,V,a)}}ul($,b_)}if(n=Sx,Sx=null,t&127){Sx=j_,i=0<=A_&&A_<k_?k_:A_,r=0<=F_&&F_<k_?k_:F_,a=0<=r?r:0<=i?i:b_,0<=R_?(Jn(2),nr(R_,a,t,n)):Q_&127&&(Jn(2),sr(k_,a,$_)),n=i;var s=r,c=I_,l=0<L_,u=M_===v_,d=M_===y_;if(i=b_,r=j_,a=N_,o=P_,Sg){if(H=`Blocking`,0<n?n>i&&(n=i):n=i,0<s?s>n&&(s=n):s=n,c!==null&&n>s){var f=l?`secondary-light`:`warning`;r?r.run(console.timeStamp.bind(console,l?`Consecutive`:`Event: `+c,s,n,H,V,f)):console.timeStamp(l?`Consecutive`:`Event: `+c,s,n,H,V,f)}i>n&&(s=u?`error`:(t&738197653)===t?`tertiary-light`:`primary-light`,u=d?`Promise Resolved`:u?`Cascading Update`:5<i-n?`Update Blocked`:`Update`,d=[],o!=null&&d.push([`Component name`,o]),a!=null&&d.push([`Method name`,a]),n={start:n,end:i,detail:{devtools:{properties:d,track:H,trackGroup:V,color:s}}},r?r.run(performance.measure.bind(performance,u,n)):performance.measure(u,n))}A_=-1.1,M_=0,P_=N_=null,R_=-1.1,L_=F_,F_=-1.1,k_=g_()}if(t&4194048&&(Sx=U_,i=0<=B_&&B_<z_?z_:B_,n=0<=V_&&V_<z_?z_:V_,r=0<=K_&&K_<z_?z_:K_,a=0<=r?r:0<=n?n:b_,0<=Y_?(Jn(256),nr(Y_,a,t,Sx)):Q_&4194048&&(Jn(256),sr(z_,a,$_)),d=r,s=q_,c=0<J_,l=H_===y_,a=b_,r=U_,o=W_,u=G_,Sg&&(H=`Transition`,0<n?n>a&&(n=a):n=a,0<i?i>n&&(i=n):i=n,0<d?d>i&&(d=i):d=i,i>d&&s!==null&&(f=c?`secondary-light`:`warning`,r?r.run(console.timeStamp.bind(console,c?`Consecutive`:`Event: `+s,d,i,H,V,f)):console.timeStamp(c?`Consecutive`:`Event: `+s,d,i,H,V,f)),n>i&&(r?r.run(console.timeStamp.bind(console,`Action`,i,n,H,V,`primary-dark`)):console.timeStamp(`Action`,i,n,H,V,`primary-dark`)),a>n&&(i=l?`Promise Resolved`:5<a-n?`Update Blocked`:`Update`,d=[],u!=null&&d.push([`Component name`,u]),o!=null&&d.push([`Method name`,o]),n={start:n,end:a,detail:{devtools:{properties:d,track:H,trackGroup:V,color:`primary-light`}}},r?r.run(performance.measure.bind(performance,i,n)):performance.measure(i,n))),V_=B_=-1.1,H_=0,Y_=-1.1,J_=K_,K_=-1.1,z_=g_()),t&62914560&&Q_&62914560&&(Jn(4194304),sr(X_,b_,$_)),t&2080374784&&Q_&2080374784&&(Jn(268435456),sr(Z_,b_,$_)),n=e.timeoutHandle,n!==$S&&(e.timeoutHandle=$S,QS(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Lx=0,ll(),Wb=e,Q=n=xr(e.current,null),$=t,tx=Gb,nx=null,rx=!1,ix=Ie(e,t),ax=!1,sx=Lb,fx=dx=ux=lx=cx=0,mx=px=null,hx=!1,t&8&&(t|=t&32),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=t;0<r;)i=31-Ip(r),a=1<<i,t|=e[i],r&=~a;return ox=t,cr(),e=dg(),1e3<e-lg&&(z.recentlyCreatedOwnerStacks=0,lg=e),uv.discardPendingWarnings(),n}function fl(e,t){Y=null,z.H=Ry,z.getCurrentStack=null,_p=!1,gp=null,t===Rv||t===Bv?(t=Li(),tx=Jb):t===zv?(t=Li(),tx=Yb):tx=t===ob?$b:typeof t==`object`&&t&&typeof t.then==`function`?Zb:Kb,nx=t;var n=Q;n===null?(sx=Rb,as(e,kr(t,e.current))):n.mode&W&&xi(n)}function pl(){var e=ly.current;return e===null?!0:($&4194048)===$?uy===null:($&62914560)===$||$&536870912?e===uy:!1}function ml(){var e=z.H;return z.H=Ry,e===null?Ry:e}function hl(){var e=z.A;return z.A=Ab,e}function gl(e){Sx===null&&(Sx=e._debugTask==null?null:e._debugTask)}function _l(){sx=Vb,rx||($&4194048)!==$&&ly.current!==null||(ix=!0),!(cx&134217727)&&!(lx&134217727)||Wb===null||sl(Wb,$,dx,!1)}function vl(e,t,n){var r=Z;Z|=Fb;var i=ml(),a=hl();if(Wb!==e||$!==t){if(Fp){var o=e.memoizedUpdaters;0<o.size&&(Kl(e,$),o.clear()),qe(e,t)}xx=null,dl(e,t)}t=!1,o=sx;a:do try{if(tx!==Gb&&Q!==null){var s=Q,c=nx;switch(tx){case $b:ll(),o=Hb;break a;case Jb:case qb:case ex:case Zb:ly.current===null&&(t=!0);var l=tx;if(tx=Gb,nx=null,Tl(e,s,c,l),n&&ix){o=Lb;break a}break;default:l=tx,tx=Gb,nx=null,Tl(e,s,c,l)}}yl(),o=sx;break}catch(t){fl(e,t)}while(1);return t&&e.shellSuspendCounter++,Jr(),Z=r,z.H=i,z.A=a,Q===null&&(Wb=null,$=0,cr()),o}function yl(){for(;Q!==null;)Sl(Q)}function bl(e,t){var n=Z;Z|=Fb;var r=ml(),i=hl();if(Wb!==e||$!==t){if(Fp){var a=e.memoizedUpdaters;0<a.size&&(Kl(e,$),a.clear()),qe(e,t)}xx=null,yx=Cp()+bx,dl(e,t)}else ix=Ie(e,t);a:do try{if(tx!==Gb&&Q!==null)b:switch(t=Q,a=nx,tx){case Kb:tx=Gb,nx=null,Tl(e,t,a,Kb);break;case qb:case ex:if(Pi(a)){tx=Gb,nx=null,Cl(t);break}t=function(){tx!==qb&&tx!==ex||Wb!==e||(tx=Qb),Yl(e)},a.then(t,t);break a;case Jb:tx=Qb;break a;case Yb:tx=Xb;break a;case Qb:Pi(a)?(tx=Gb,nx=null,Cl(t)):(tx=Gb,nx=null,Tl(e,t,a,Qb));break;case Xb:var o=null;switch(Q.tag){case 26:o=Q.memoizedState;case 5:case 27:var s=Q;if(o?qd(o):s.stateNode.complete){tx=Gb,nx=null;var c=s.sibling;if(c!==null)Q=c;else{var l=s.return;l===null?Q=null:(Q=l,El(l))}break b}break;default:console.error(`Unexpected type of fiber triggered a suspensey commit. This is a bug in React.`)}tx=Gb,nx=null,Tl(e,t,a,Xb);break;case Zb:tx=Gb,nx=null,Tl(e,t,a,Zb);break;case $b:ll(),sx=Hb;break a;default:throw Error(`Unexpected SuspendedReason. This is a bug in React.`)}z.actQueue===null?xl():yl();break}catch(t){fl(e,t)}while(1);return Jr(),z.H=r,z.A=i,Z=n,Q===null?(Wb=null,$=0,cr(),sx):Lb}function xl(){for(;Q!==null&&!xp();)Sl(Q)}function Sl(e){var t=e.alternate;(e.mode&W)===U?t=T(e,zs,t,e,ox):(bi(e),t=T(e,zs,t,e,ox),xi(e)),e.memoizedProps=e.pendingProps,t===null?El(e):Q=t}function Cl(e){var t=T(e,wl,e);e.memoizedProps=e.pendingProps,t===null?El(e):Q=t}function wl(e){var t=e.alternate,n=(e.mode&W)!==U;switch(n&&bi(e),e.tag){case 15:case 0:t=Cs(t,e,e.pendingProps,e.type,void 0,$);break;case 11:t=Cs(t,e,e.pendingProps,e.type.render,e.ref,$);break;case 5:Oa(e);default:Js(t,e),e=Q=Sr(e,ox),t=zs(t,e,ox)}return n&&xi(e),t}function Tl(e,t,n,r){Jr(),Oa(t),Wv=null,Gv=0;var i=t.return;try{if(us(e,i,t,n,$)){sx=Rb,as(e,kr(n,e.current)),Q=null;return}}catch(t){if(i!==null)throw Q=i,t;sx=Rb,as(e,kr(n,e.current)),Q=null;return}t.flags&32768?(G||r===Kb?e=!0:ix||$&536870912?e=!1:(rx=e=!0,(r===qb||r===ex||r===Jb||r===Zb)&&(r=ly.current,r!==null&&r.tag===13&&(r.flags|=16384))),Dl(t,e)):El(t)}function El(e){var t=e;do{if(t.flags&32768){Dl(t,rx);return}var n=t.alternate;if(e=t.return,bi(t),n=T(t,Ks,n,t,ox),(t.mode&W)!==U&&Si(t),n!==null){Q=n;return}if(t=t.sibling,t!==null){Q=t;return}Q=t=e}while(t!==null);sx===Lb&&(sx=Ub)}function Dl(e,t){do{var n=qs(e.alternate,e);if(n!==null){n.flags&=32767,Q=n;return}if((e.mode&W)!==U){Si(e),n=e.actualDuration;for(var r=e.child;r!==null;)n+=r.actualDuration,r=r.sibling;e.actualDuration=n}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Q=e;return}Q=e=n}while(e!==null);sx=Hb,Q=null}function Ol(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.cancelPendingCommit=null;do Pl();while(Px!==Ox);if(uv.flushLegacyContextWarning(),uv.flushPendingUnsafeLifecycleWarnings(),(Z&(Fb|Ib))!==Pb)throw Error(`Should not already be working.`);if(Jn(n),l===zb?ir(f,p,n,Sx):r===null?er(f,p,n,Sx):rr(f,p,n,r,t!==null&&t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&!!(t.flags&256),Sx),t!==null){if(n===0&&console.error(`finishedLanes should not be empty during a commit. This is a bug in React.`),t===e.current)throw Error(`Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.`);if(a=t.lanes|t.childLanes,a|=Pg,Ve(e,n,a,o,s,c),e===Wb&&(Q=Wb=null,$=0),Ix=t,Fx=e,Lx=n,Rx=a,Bx=i,Vx=r,zx=p,Hx=d,Ux=wx,Wx=null,t.actualDuration!==0||t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,ql(Dp,function(){return XS=window.event,Ux===wx&&(Ux=Ex),Fl(),null})):(e.callbackNode=null,e.callbackPriority=0),C_=null,x_=g_(),d!==null&&ar(p,x_,d,Sx),r=!!(t.flags&13878),t.subtreeFlags&13878||r){r=z.T,z.T=null,i=B.p,B.p=Hp,o=Z,Z|=Ib;try{bc(e,t,n)}finally{Z=o,B.p=i,z.T=r}}Px=kx,kl(),Al(),jl()}}function kl(){if(Px===kx){Px=Ox;var e=Fx,t=Ix,n=Lx,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=z.T,z.T=null;var i=B.p;B.p=Hp;var a=Z;Z|=Ib;try{Cb=n,wb=e,pi(),Ac(t,e),wb=Cb=null,n=qS;var o=Rn(e.containerInfo),s=n.focusedElem,c=n.selectionRange;if(o!==s&&s&&s.ownerDocument&&Ln(s.ownerDocument.documentElement,s)){if(c!==null&&zn(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=In(s,h),v=In(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}LC=!!KS,qS=KS=null}finally{Z=a,B.p=i,z.T=r}}e.current=t,Px=Ax}}function Al(){if(Px===Ax){Px=Ox;var e=Wx;if(e!==null){x_=g_();var t=S_,n=x_;!Sg||n<=t||($_?$_.run(console.timeStamp.bind(console,e,t,n,H,V,`secondary-light`)):console.timeStamp(e,t,n,H,V,`secondary-light`))}e=Fx,t=Ix,n=Lx;var r=!!(t.flags&8772);if(t.subtreeFlags&8772||r){r=z.T,z.T=null;var i=B.p;B.p=Hp;var a=Z;Z|=Ib;try{Cb=n,wb=e,pi(),xc(e,t.alternate,t),wb=Cb=null}finally{Z=a,B.p=i,z.T=r}}e=zx,t=Hx,S_=g_(),e=t===null?e:x_,t=S_,n=Ux===Tx,r=Sx,C_===null?!Sg||t<=e||(r?r.run(console.timeStamp.bind(console,n?`Commit Interrupted View Transition`:`Commit`,e,t,H,V,n?`error`:`secondary-dark`)):console.timeStamp(n?`Commit Interrupted View Transition`:`Commit`,e,t,H,V,n?`error`:`secondary-dark`)):or(e,t,C_,!1,r),Px=jx}}function jl(){if(Px===Mx||Px===jx){if(Px===Mx){var e=S_;S_=g_();var t=S_,n=Ux===Tx;!Sg||t<=e||($_?$_.run(console.timeStamp.bind(console,n?`Interrupted View Transition`:`Starting Animation`,e,t,H,V,n?`error`:`secondary-light`)):console.timeStamp(n?`Interrupted View Transition`:`Starting Animation`,e,t,H,V,n?` error`:`secondary-light`)),Ux!==Tx&&(Ux=Dx)}Px=Ox,Sp(),e=Fx;var r=Ix;t=Lx,n=Vx;var i=r.actualDuration!==0||!!(r.subtreeFlags&10256)||!!(r.flags&10256);i?Px=Nx:(Px=Ox,Ix=Fx=null,Nl(e,e.pendingLanes),Zx=0,Qx=null);var a=e.pendingLanes;if(a===0&&(Cx=null),i||Wl(e),a=Je(t),r=r.stateNode,Np&&typeof Np.onCommitFiberRoot==`function`)try{var o=(r.current.flags&128)==128;switch(a){case Hp:var s=Tp;break;case Up:s=Ep;break;case Wp:s=Dp;break;case Gp:s=kp;break;default:s=Dp}Np.onCommitFiberRoot(Mp,r,s,o)}catch(e){Pp||(Pp=!0,console.error(`React instrumentation encountered an error: %o`,e))}if(Fp&&e.memoizedUpdaters.clear(),$c(),n!==null){o=z.T,s=B.p,B.p=Hp,z.T=null;try{var c=e.onRecoverableError;for(r=0;r<n.length;r++){var l=n[r],u=Ml(l.stack);T(l.source,c,l.value,u)}}finally{z.T=o,B.p=s}}Lx&3&&Pl(),Yl(e),a=e.pendingLanes,t&261930&&a&42?(rv=!0,e===qx?Kx++:(Kx=0,qx=e)):Kx=0,i||ul(t,S_),Xl(0,!1)}}function Ml(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 Nl(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,si(t)))}function Pl(){return kl(),Al(),jl(),Fl()}function Fl(){if(Px!==Nx)return!1;var e=Fx,t=Rx;Rx=0;var n=Je(Lx),r=Wp===0||Wp>n?Wp:n;n=z.T;var i=B.p;try{B.p=r,z.T=null;var a=Bx;Bx=null,r=Fx;var o=Lx;if(Px=Ox,Ix=Fx=null,Lx=0,(Z&(Fb|Ib))!==Pb)throw Error(`Cannot flush passive effects while already rendering.`);Jn(o),Jx=!0,Yx=!1;var s=0;if(C_=null,s=Cp(),Ux===Dx)sr(S_,s,$_);else{var c=S_,l=s,u=Ux===Ex;!Sg||l<=c||(Sx?Sx.run(console.timeStamp.bind(console,u?`Waiting for Paint`:`Waiting`,c,l,H,V,`secondary-light`)):console.timeStamp(u?`Waiting for Paint`:`Waiting`,c,l,H,V,`secondary-light`))}c=Z,Z|=Ib;var d=r.current;pi(),Yc(d);var f=r.current;d=zx,pi(),Vc(r,f,o,a,d),Wl(r),Z=c;var p=Cp();if(f=s,d=Sx,C_===null?!Sg||p<=f||(d?d.run(console.timeStamp.bind(console,`Remaining Effects`,f,p,H,V,`secondary-dark`)):console.timeStamp(`Remaining Effects`,f,p,H,V,`secondary-dark`)):or(f,p,C_,!0,d),ul(o,p),Xl(0,!1),Yx?r===Qx?Zx++:(Zx=0,Qx=r):Zx=0,Yx=Jx=!1,Np&&typeof Np.onPostCommitFiberRoot==`function`)try{Np.onPostCommitFiberRoot(Mp,r)}catch(e){Pp||(Pp=!0,console.error(`React instrumentation encountered an error: %o`,e))}var m=r.current.stateNode;return m.effectDuration=0,m.passiveEffectDuration=0,!0}finally{B.p=i,z.T=n,Nl(e,t)}}function Il(e,t,n){t=kr(n,t),wi(t),t=ss(e.stateNode,t,2),e=ta(e,t,2),e!==null&&(Be(e,2),Yl(e))}function I(e,t,n){if($x=!1,e.tag===3)Il(e,e,n);else{for(;t!==null;){if(t.tag===3){Il(t,e,n);return}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(Cx===null||!Cx.has(r))){e=kr(n,e),wi(e),n=cs(2),r=ta(t,n,2),r!==null&&(ls(n,r,t,e),Be(r,2),Yl(r));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.
|
|
158
|
-
|
|
159
|
-
Error message:
|
|
160
|
-
|
|
161
|
-
%s`,n)}}function Ll(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Nb;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(ax=!0,i.add(n),r=Rl.bind(null,e,t,n),Fp&&Kl(e,n),t.then(r,r))}function Rl(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,n&127?0>A_&&(k_=A_=g_(),j_=__(`Promise Resolved`),M_=y_):n&4194048&&0>V_&&(z_=V_=g_(),U_=__(`Promise Resolved`),H_=y_),el()&&z.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
162
|
-
|
|
163
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
164
|
-
|
|
165
|
-
act(() => {
|
|
166
|
-
/* finish loading suspended data */
|
|
167
|
-
});
|
|
168
|
-
/* assert on the output */
|
|
169
|
-
|
|
170
|
-
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`),Wb===e&&($&n)===n&&(sx===Vb||sx===Bb&&($&62914560)===$&&Cp()-gx<vx?(Z&Fb)===Pb&&dl(e,0):ux|=n,fx===$&&(fx=0)),Yl(e)}function zl(e,t){t===0&&(t=Re()),e=dr(e,t),e!==null&&(Be(e,t),Yl(e))}function Bl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zl(e,n)}function Vl(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(`Pinged unknown suspense boundary type. This is probably a bug in React.`)}r!==null&&r.delete(t),zl(e,n)}function Hl(e,t,n){if(t.subtreeFlags&67117056)for(t=t.child;t!==null;){var r=e,i=t,a=i.type===If;a=n||a,i.tag===22?i.memoizedState===null&&(a&&i.flags&8192?T(i,Ul,r,i):i.subtreeFlags&67108864&&T(i,Hl,r,i,a)):i.flags&67108864?a&&T(i,Ul,r,i):Hl(r,i,a),t=t.sibling}}function Ul(e,t){Me(!0);try{Pc(t),Zc(t),Ic(e,t.alternate,t,!1),Uc(e,t,0,null,!1,0)}finally{Me(!1)}}function Wl(e){var t=!0;e.current.mode&(zg|Bg)||(t=!1),Hl(e,e.current,t)}function Gl(e){if((Z&Fb)===Pb){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=C(e)||`ReactComponent`,eS!==null){if(eS.has(t))return;eS.add(t)}else eS=new Set([t]);T(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 Kl(e,t){Fp&&e.memoizedUpdaters.forEach(function(n){Ke(e,n,t)})}function ql(e,t){var n=z.actQueue;return n===null?yp(e,t):(n.push(t),rS)}function Jl(e){el()&&z.actQueue===null&&T(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
171
|
-
|
|
172
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
173
|
-
|
|
174
|
-
act(() => {
|
|
175
|
-
/* fire events that update state */
|
|
176
|
-
});
|
|
177
|
-
/* assert on the output */
|
|
178
|
-
|
|
179
|
-
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`,C(e))})}function Yl(e){e!==aS&&e.next===null&&(aS===null?iS=aS=e:aS=aS.next=e),cS=!0,z.actQueue===null?oS||(oS=!0,ru()):sS||(sS=!0,ru())}function Xl(e,t){if(!lS&&cS){lS=!0;do for(var n=!1,r=iS;r!==null;){if(!t){if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-Ip(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,tu(r,a))}else a=$,a=Fe(r,r===Wb?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==$S),!(a&3)||Ie(r,a)||(n=!0,tu(r,a))}r=r.next}while(n);lS=!1}}function Zl(){XS=window.event,Ql()}function Ql(){cS=sS=oS=!1;var e=0;uS!==0&&Gu()&&(e=uS);for(var t=Cp(),n=null,r=iS;r!==null;){var i=r.next,a=$l(r,t);a===0?(r.next=null,n===null?iS=i:n.next=i,i===null&&(aS=n)):(n=r,(e!==0||a&3)&&(cS=!0)),r=i}Px!==Ox&&Px!==Nx||Xl(e,!1),uS!==0&&(uS=0)}function $l(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-Ip(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Le(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Wb,n=$,n=Fe(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==$S),r=e.callbackNode,n===0||e===t&&(tx===qb||tx===ex)||e.cancelPendingCommit!==null)return r!==null&&nu(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Ie(e,n)){if(t=n&-n,t!==e.callbackPriority||z.actQueue!==null&&r!==dS)nu(r);else return t;switch(Je(n)){case Hp:case Up:n=Ep;break;case Wp:n=Dp;break;case Gp:n=kp;break;default:n=Dp}return r=eu.bind(null,e),z.actQueue===null?n=yp(n,r):(z.actQueue.push(r),n=dS),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&nu(r),e.callbackPriority=2,e.callbackNode=null,2}function eu(e,t){if(rv=nv=!1,XS=window.event,Px!==Ox&&Px!==Nx)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Ux===wx&&(Ux=Ex),Pl()&&e.callbackNode!==n)return null;var r=$;return r=Fe(e,e===Wb?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==$S),r===0?null:(il(e,r,t),$l(e,Cp()),e.callbackNode!=null&&e.callbackNode===n?eu.bind(null,e):null)}function tu(e,t){if(Pl())return null;nv=rv,rv=!1,il(e,t,!0)}function nu(e){e!==dS&&e!==null&&bp(e)}function ru(){z.actQueue!==null&&z.actQueue.push(function(){return Ql(),null}),tC(function(){(Z&(Fb|Ib))===Pb?Ql():yp(Tp,Zl)})}function iu(){if(uS===0){var e=ov;e===0&&(e=zp,zp<<=1,!(zp&261888)&&(zp=256)),uS=e}return uS}function au(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:(D(e,`action`),on(``+e))}function ou(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function su(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=au((i[Jp]||null).action),o=r.submitter;o&&(t=(t=o[Jp]||null)?au(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new ch(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(uS!==0){var e=o?ou(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a};Object.freeze(t),Po(n,t,null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?ou(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a},Object.freeze(t),Po(n,t,a,e))},currentTarget:i}]})}}function cu(e,t,n){e.currentTarget=n;try{t(e)}catch(e){pg(e)}e.currentTarget=null}function lu(e,t){t=!!(t&4);for(var n=0;n<e.length;n++){var r=e[n];a:{var i=void 0,a=r.event;if(r=r.listeners,t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?cu(a,s,l):T(c,cu,a,s,l),i=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==i&&a.isPropagationStopped())break a;c===null?cu(a,s,l):T(c,cu,a,s,l),i=c}}}}function L(e,t){pS.has(e)||console.error(`Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.`,e);var n=t[Xp];n===void 0&&(n=t[Xp]=new Set);var r=e+`__bubble`;n.has(r)||(fu(t,e,2,!1),n.add(r))}function uu(e,t,n){pS.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 r=0;t&&(r|=4),fu(n,e,r,t)}function du(e){if(!e[mS]){e[mS]=!0,tm.forEach(function(t){t!==`selectionchange`&&(pS.has(t)||uu(t,!1,e),uu(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mS]||(t[mS]=!0,uu(`selectionchange`,!1,t))}}function fu(e,t,n,r){switch(mf(t)){case Hp:var i=lf;break;case Up:i=uf;break;default:i=df}n=i.bind(null,t,n,e),i=void 0,!nh||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function pu(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;s!==null;){if(o=Qe(s),o===null)return;if(c=o.tag,c===5||c===6||c===26||c===27){r=a=o;continue a}s=s.parentNode}}r=r.return}un(function(){var r=a,i=cn(n),o=[];a:{var s=sg.get(e);if(s!==void 0){var c=ch,l=e;switch(e){case`keypress`:if(pn(n)===0)break a;case`keydown`:case`keyup`:c=Th;break;case`focusin`:l=`focus`,c=_h;break;case`focusout`:l=`blur`,c=_h;break;case`beforeblur`:case`afterblur`:c=_h;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=hh;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=gh;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=Dh;break;case eg:case tg:case ng:c=vh;break;case og:c=Oh;break;case`scroll`:case`scrollend`:c=uh;break;case`wheel`:c=kh;break;case`copy`:case`cut`:case`paste`:c=yh;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=Eh;break;case`toggle`:case`beforetoggle`:c=Ah}var u=!!(t&4),d=!u&&(e===`scroll`||e===`scrollend`),f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){var h=p;if(m=h.stateNode,h=h.tag,h!==5&&h!==26&&h!==27||m===null||f===null||(h=dn(p,f),h!=null&&u.push(mu(p,h,m))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Zm&&(l=n.relatedTarget||n.fromElement)&&(Qe(l)||l[Yp]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Qe(l):null,l!==null&&(d=x(l),u=l.tag,l!==d||u!==5&&u!==27&&u!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=hh,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=Eh,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:et(c),m=l==null?s:et(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Qe(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=gu,f=c,p=l,m=0,h=f;h;h=u(h))m++;h=0;for(var g=p;g;g=u(g))h++;for(;0<m-h;)f=u(f),m--;for(;0<h-m;)p=u(p),h--;for(;m--;){if(f===p||p!==null&&f===p.alternate){u=f;break b}f=u(f),p=u(p)}u=null}else u=null;c!==null&&_u(o,s,c,u,!1),l!==null&&d!==null&&_u(o,d,l,u,!0)}}a:{if(s=r?et(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var _=Dn;else if(Sn(s)){if(Wh)_=Nn;else{_=jn;var v=An}}else c=s.nodeName,!c||c.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&$t(r.elementType)&&(_=Dn):_=Mn;if(_&&=_(e,r)){wn(o,_,n,i);break a}v&&v(e,s,r),e===`focusout`&&r&&s.type===`number`&&r.memoizedProps.value!=null&&bt(s,`number`,s.value)}switch(v=r?et(r):window,e){case`focusin`:(Sn(v)||v.contentEditable===`true`)&&(qh=v,Jh=r,Yh=null);break;case`focusout`:Yh=Jh=qh=null;break;case`mousedown`:Xh=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Xh=!1,Bn(o,n,i);break;case`selectionchange`:if(Kh)break;case`keydown`:case`keyup`:Bn(o,n,i)}var y;if(Nh)b:{switch(e){case`compositionstart`:var b=`onCompositionStart`;break b;case`compositionend`:b=`onCompositionEnd`;break b;case`compositionupdate`:b=`onCompositionUpdate`;break b}b=void 0}else Bh?vn(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===Mh&&(b=`onCompositionStart`);b&&(Ih&&n.locale!==`ko`&&(Bh||b!==`onCompositionStart`?b===`onCompositionEnd`&&Bh&&(y=fn()):(ih=i,ah=`value`in ih?ih.value:ih.textContent,Bh=!0)),v=hu(r,b),0<v.length&&(b=new bh(b,e,null,n,i),o.push({event:b,listeners:v}),y?b.data=y:(y=yn(n),y!==null&&(b.data=y)))),(y=Fh?bn(e,n):xn(e,n))&&(b=hu(r,`onBeforeInput`),0<b.length&&(v=new xh(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:v,listeners:b}),v.data=y)),su(o,e,r,n,i)}lu(o,t)})}function mu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function hu(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=dn(e,n),i!=null&&r.unshift(mu(e,i,a)),i=dn(e,t),i!=null&&r.push(mu(e,i,a))),e.tag===3)return r;e=e.return}return[]}function gu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function _u(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=dn(n,a),l!=null&&o.unshift(mu(n,l,c))):i||(l=dn(n,a),l!=null&&o.push(mu(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}function vu(e,t){nn(e,t),e!==`input`&&e!==`textarea`&&e!==`select`||t==null||t.value!==null||Wm||(Wm=!0,e===`select`&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var n={registrationNameDependencies:nm,possibleRegistrationNames:rm};$t(e)||typeof t.is==`string`||an(e,t,n),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function yu(e,t,n,r){t!==n&&(n=Cu(n),Cu(t)!==n&&(r[e]=t))}function bu(e,t,n){t.forEach(function(t){n[ku(t)]=t===`style`?Au(e):e.getAttribute(t)})}function xu(e,t){!1===t?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 Su(e,t){return e=e.namespaceURI===Im||e.namespaceURI===Lm?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Cu(e){return De(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.`,E(e)),Oe(e)),(typeof e==`string`?e:``+e).replace(CS,`
|
|
180
|
-
`).replace(wS,``)}function wu(e,t){return t=Cu(t),Cu(e)===t}function Tu(e,t,n,r,i,a){switch(n){case`children`:typeof r==`string`?(Jt(r,t,!1),t===`body`||t===`textarea`&&r===``||Yt(e,r)):(typeof r==`number`||typeof r==`bigint`)&&(Jt(``+r,t,!1),t!==`body`&&Yt(e,``+r));break;case`className`:ct(e,`class`,r);break;case`tabIndex`:ct(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:ct(e,n,r);break;case`style`:Qt(e,r,a);break;case`data`:if(t!==`object`){ct(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){console.error(n===`src`?`An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`:`An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.`,n,n),e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}D(r,n),r=on(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(r!=null&&(t===`form`?n===`formAction`?console.error(`You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>.`):typeof r==`function`&&(i.encType==null&&i.method==null||bS||(bS=!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.`)),i.target==null||yS||(yS=!0,console.error(`Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window.`))):t===`input`||t===`button`?n===`action`?console.error(`You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>.`):t!==`input`||i.type===`submit`||i.type===`image`||_S?t!==`button`||i.type==null||i.type===`submit`||_S?typeof r==`function`&&(i.name==null||vS||(vS=!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.`)),i.formEncType==null&&i.formMethod==null||bS||(bS=!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.`)),i.formTarget==null||yS||(yS=!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.`))):(_S=!0,console.error(`A button can only specify a formAction along with type="submit" or no type.`)):(_S=!0,console.error(`An input can only specify a formAction along with type="submit" or type="image".`)):console.error(n===`action`?`You can only pass the action prop to <form>.`:`You can only pass the formAction prop to <input> or <button>.`)),typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}if(typeof a==`function`&&(n===`formAction`?(t!==`input`&&Tu(e,t,`name`,i.name,i,null),Tu(e,t,`formEncType`,i.formEncType,i,null),Tu(e,t,`formMethod`,i.formMethod,i,null),Tu(e,t,`formTarget`,i.formTarget,i,null)):(Tu(e,t,`encType`,i.encType,i,null),Tu(e,t,`method`,i.method,i,null),Tu(e,t,`target`,i.target,i,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}D(r,n),r=on(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(typeof r!=`function`&&xu(n,r),e.onclick=sn);break;case`onScroll`:r!=null&&(typeof r!=`function`&&xu(n,r),L(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&xu(n,r),L(`scrollend`,e));break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}D(r,n),n=on(``+r),e.setAttributeNS(TS,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(D(r,n),e.setAttribute(n,``+r)):e.removeAttribute(n);break;case`inert`:r!==``||SS[n]||(SS[n]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",n));case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?(D(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?(D(r,n),e.setAttribute(n,r)):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):(D(r,n),e.setAttribute(n,r));break;case`popover`:L(`beforetoggle`,e),L(`toggle`,e),st(e,`popover`,r);break;case`xlinkActuate`:lt(e,TS,`xlink:actuate`,r);break;case`xlinkArcrole`:lt(e,TS,`xlink:arcrole`,r);break;case`xlinkRole`:lt(e,TS,`xlink:role`,r);break;case`xlinkShow`:lt(e,TS,`xlink:show`,r);break;case`xlinkTitle`:lt(e,TS,`xlink:title`,r);break;case`xlinkType`:lt(e,TS,`xlink:type`,r);break;case`xmlBase`:lt(e,ES,`xml:base`,r);break;case`xmlLang`:lt(e,ES,`xml:lang`,r);break;case`xmlSpace`:lt(e,ES,`xml:space`,r);break;case`is`:a!=null&&console.error(`Cannot update the "is" prop after it has been initialized.`),st(e,`is`,r);break;case`innerText`:case`textContent`:break;case`popoverTarget`:xS||typeof r!=`object`||!r||(xS=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",r));default:!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`?(n=en(n),st(e,n,r)):nm.hasOwnProperty(n)&&r!=null&&typeof r!=`function`&&xu(n,r)}}function Eu(e,t,n,r,i,a){switch(n){case`style`:Qt(e,r,a);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(n=r.__html,n!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=n}}break;case`children`:typeof r==`string`?Yt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Yt(e,``+r);break;case`onScroll`:r!=null&&(typeof r!=`function`&&xu(n,r),L(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&xu(n,r),L(`scrollend`,e));break;case`onClick`:r!=null&&(typeof r!=`function`&&xu(n,r),e.onclick=sn);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(nm.hasOwnProperty(n))r!=null&&typeof r!=`function`&&xu(n,r);else a:{if(n[0]===`o`&&n[1]===`n`&&(i=n.endsWith(`Capture`),t=n.slice(2,i?n.length-7:void 0),a=e[Jp]||null,a=a==null?null:a[n],typeof a==`function`&&e.removeEventListener(t,a,i),typeof r==`function`)){typeof a!=`function`&&a!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,i);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):st(e,n,r)}}}function Du(e,t,n){switch(vu(t,n),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:L(`error`,e),L(`load`,e);var r=!1,i=!1,a;for(a in n)if(n.hasOwnProperty(a)){var o=n[a];if(o!=null)switch(a){case`src`:r=!0;break;case`srcSet`:i=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Tu(e,t,a,o,n,null)}}i&&Tu(e,t,`srcSet`,n.srcSet,n,null),r&&Tu(e,t,`src`,n.src,n,null);return;case`input`:it(`input`,n),L(`invalid`,e);var s=a=o=i=null,c=null,l=null;for(r in n)if(n.hasOwnProperty(r)){var u=n[r];if(u!=null)switch(r){case`name`:i=u;break;case`type`:o=u;break;case`checked`:c=u;break;case`defaultChecked`:l=u;break;case`value`:a=u;break;case`defaultValue`:s=u;break;case`children`:case`dangerouslySetInnerHTML`:if(u!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Tu(e,t,r,u,n,null)}}_t(e,n),yt(e,a,s,c,l,o,i,!1);return;case`select`:for(i in it(`select`,n),L(`invalid`,e),r=o=a=null,n)if(n.hasOwnProperty(i)&&(s=n[i],s!=null))switch(i){case`value`:a=s;break;case`defaultValue`:o=s;break;case`multiple`:r=s;default:Tu(e,t,i,s,n,null)}Ct(e,n),t=a,n=o,e.multiple=!!r,t==null?n!=null&&k(e,!!r,n,!0):k(e,!!r,t,!1);return;case`textarea`:for(o in it(`textarea`,n),L(`invalid`,e),a=i=r=null,n)if(n.hasOwnProperty(o)&&(s=n[o],s!=null))switch(o){case`value`:r=s;break;case`defaultValue`:i=s;break;case`children`:a=s;break;case`dangerouslySetInnerHTML`:if(s!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Tu(e,t,o,s,n,null)}wt(e,n),Et(e,r,i,a);return;case`option`:for(c in xt(e,n),n)if(n.hasOwnProperty(c)&&(r=n[c],r!=null))switch(c){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Tu(e,t,c,r,n,null)}return;case`dialog`:L(`beforetoggle`,e),L(`toggle`,e),L(`cancel`,e),L(`close`,e);break;case`iframe`:case`object`:L(`load`,e);break;case`video`:case`audio`:for(r=0;r<fS.length;r++)L(fS[r],e);break;case`image`:L(`error`,e),L(`load`,e);break;case`details`:L(`toggle`,e);break;case`embed`:case`source`:case`link`:L(`error`,e),L(`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(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Tu(e,t,l,r,n,null)}return;default:if($t(t)){for(u in n)n.hasOwnProperty(u)&&(r=n[u],r!==void 0&&Eu(e,t,u,r,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(r=n[s],r!=null&&Tu(e,t,s,r,n,null))}function Ou(e,t,n,r){switch(vu(t,r),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var i=null,a=null,o=null,s=null,c=null,l=null,u=null;for(p in n){var d=n[p];if(n.hasOwnProperty(p)&&d!=null)switch(p){case`checked`:break;case`value`:break;case`defaultValue`:c=d;default:r.hasOwnProperty(p)||Tu(e,t,p,null,r,d)}}for(var f in r){var p=r[f];if(d=n[f],r.hasOwnProperty(f)&&(p!=null||d!=null))switch(f){case`type`:a=p;break;case`name`:i=p;break;case`checked`:l=p;break;case`defaultChecked`:u=p;break;case`value`:o=p;break;case`defaultValue`:s=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:p!==d&&Tu(e,t,f,p,r,d)}}t=n.type===`checkbox`||n.type===`radio`?n.checked!=null:n.value!=null,r=r.type===`checkbox`||r.type===`radio`?r.checked!=null:r.value!=null,t||!r||gS||(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`),gS=!0),!t||r||hS||(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`),hS=!0),vt(e,o,s,c,l,u,a,i);return;case`select`:for(a in p=o=s=f=null,n)if(c=n[a],n.hasOwnProperty(a)&&c!=null)switch(a){case`value`:break;case`multiple`:p=c;default:r.hasOwnProperty(a)||Tu(e,t,a,null,r,c)}for(i in r)if(a=r[i],c=n[i],r.hasOwnProperty(i)&&(a!=null||c!=null))switch(i){case`value`:f=a;break;case`defaultValue`:s=a;break;case`multiple`:o=a;default:a!==c&&Tu(e,t,i,a,r,c)}r=s,t=o,n=p,f==null?!!n!=!!t&&(r==null?k(e,!!t,t?[]:``,!1):k(e,!!t,r,!0)):k(e,!!t,f,!1);return;case`textarea`:for(s in p=f=null,n)if(i=n[s],n.hasOwnProperty(s)&&i!=null&&!r.hasOwnProperty(s))switch(s){case`value`:break;case`children`:break;default:Tu(e,t,s,null,r,i)}for(o in r)if(i=r[o],a=n[o],r.hasOwnProperty(o)&&(i!=null||a!=null))switch(o){case`value`:f=i;break;case`defaultValue`:p=i;break;case`children`:break;case`dangerouslySetInnerHTML`:if(i!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:i!==a&&Tu(e,t,o,i,r,a)}Tt(e,f,p);return;case`option`:for(var m in n)if(f=n[m],n.hasOwnProperty(m)&&f!=null&&!r.hasOwnProperty(m))switch(m){case`selected`:e.selected=!1;break;default:Tu(e,t,m,null,r,f)}for(c in r)if(f=r[c],p=n[c],r.hasOwnProperty(c)&&f!==p&&(f!=null||p!=null))switch(c){case`selected`:e.selected=f&&typeof f!=`function`&&typeof f!=`symbol`;break;default:Tu(e,t,c,f,r,p)}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 h in n)f=n[h],n.hasOwnProperty(h)&&f!=null&&!r.hasOwnProperty(h)&&Tu(e,t,h,null,r,f);for(l in r)if(f=r[l],p=n[l],r.hasOwnProperty(l)&&f!==p&&(f!=null||p!=null))switch(l){case`children`:case`dangerouslySetInnerHTML`:if(f!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Tu(e,t,l,f,r,p)}return;default:if($t(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&f!==void 0&&!r.hasOwnProperty(g)&&Eu(e,t,g,void 0,r,f);for(u in r)f=r[u],p=n[u],!r.hasOwnProperty(u)||f===p||f===void 0&&p===void 0||Eu(e,t,u,f,r,p);return}}for(var _ in n)f=n[_],n.hasOwnProperty(_)&&f!=null&&!r.hasOwnProperty(_)&&Tu(e,t,_,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||f==null&&p==null||Tu(e,t,d,f,r,p)}function ku(e){switch(e){case`class`:return`className`;case`for`:return`htmlFor`;default:return e}}function Au(e){var t={};e=e.style;for(var n=0;n<e.length;n++){var r=e[n];t[r]=e.getPropertyValue(r)}return t}function ju(e,t,n){if(t!=null&&typeof t!=`object`)console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var r,i=r=``,a;for(a in t)if(t.hasOwnProperty(a)){var o=t[a];o!=null&&typeof o!=`boolean`&&o!==``&&(a.indexOf(`--`)===0?(ke(o,a),r+=i+a+`:`+(``+o).trim()):typeof o!=`number`||o===0||Fm.has(a)?(ke(o,a),r+=i+a.replace(Tm,`-$1`).toLowerCase().replace(Em,`-ms-`)+`:`+(``+o).trim()):r+=i+a.replace(Tm,`-$1`).toLowerCase().replace(Em,`-ms-`)+`:`+o+`px`,i=`;`)}r||=null,t=e.getAttribute(`style`),t!==r&&(r=Cu(r),Cu(t)!==r&&(n.style=Au(e)))}}function Mu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(D(r,t),e===``+r)return}yu(t,e,r,a)}function Nu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null){switch(typeof r){case`function`:case`symbol`:return}if(!r)return}else switch(typeof r){case`function`:case`symbol`:break;default:if(r)return}yu(t,e,r,a)}function Pu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:break;default:if(D(r,n),e===``+r)return}yu(t,e,r,a)}function Fu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return;default:if(isNaN(r))return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(!isNaN(r)&&(D(r,t),e===``+r))return}yu(t,e,r,a)}function Iu(e,t,n,r,i,a){if(i.delete(n),e=e.getAttribute(n),e===null)switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(D(r,t),n=on(``+r),e===n)return}yu(t,e,r,a)}function Lu(e,t,n,r){for(var i={},a=new Set,o=e.attributes,s=0;s<o.length;s++)switch(o[s].name.toLowerCase()){case`value`:break;case`checked`:break;case`selected`:break;default:a.add(o[s].name)}if($t(t)){for(var c in n)if(n.hasOwnProperty(c)){var l=n[c];if(l!=null){if(nm.hasOwnProperty(c))typeof l!=`function`&&xu(c,l);else if(!0!==n.suppressHydrationWarning)switch(c){case`children`:typeof l!=`string`&&typeof l!=`number`||yu(`children`,e.textContent,l,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,l=l?l.__html:void 0,l!=null&&(l=Su(e,l),yu(c,o,l,i));continue;case`style`:a.delete(c),ju(e,l,i);continue;case`offsetParent`:case`offsetTop`:case`offsetLeft`:case`offsetWidth`:case`offsetHeight`:case`isContentEditable`:case`outerText`:case`outerHTML`:a.delete(c.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",c);continue;case`className`:a.delete(`class`),o=ot(e,`class`,l),yu(`className`,o,l,i);continue;default:r.context===US&&t!==`svg`&&t!==`math`?a.delete(c.toLowerCase()):a.delete(c),o=ot(e,c,l),yu(c,o,l,i)}}}}else for(l in n)if(n.hasOwnProperty(l)&&(c=n[l],c!=null)){if(nm.hasOwnProperty(l))typeof c!=`function`&&xu(l,c);else if(!0!==n.suppressHydrationWarning)switch(l){case`children`:typeof c!=`string`&&typeof c!=`number`||yu(`children`,e.textContent,c,i);continue;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`value`:case`checked`:case`selected`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:continue;case`dangerouslySetInnerHTML`:o=e.innerHTML,c=c?c.__html:void 0,c!=null&&(c=Su(e,c),o!==c&&(i[l]={__html:o}));continue;case`className`:Mu(e,l,`class`,c,a,i);continue;case`tabIndex`:Mu(e,l,`tabindex`,c,a,i);continue;case`style`:a.delete(l),ju(e,c,i);continue;case`multiple`:a.delete(l),yu(l,e.multiple,c,i);continue;case`muted`:a.delete(l),yu(l,e.muted,c,i);continue;case`autoFocus`:a.delete(`autofocus`),yu(l,e.autofocus,c,i);continue;case`data`:if(t!==`object`){a.delete(l),o=e.getAttribute(`data`),yu(l,o,c,i);continue}case`src`:case`href`:if(!(c!==``||t===`a`&&l===`href`||t===`object`&&l===`data`)){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);continue}Iu(e,l,l,c,a,i);continue;case`action`:case`formAction`:if(o=e.getAttribute(l),typeof c==`function`){a.delete(l.toLowerCase()),l===`formAction`?(a.delete(`name`),a.delete(`formenctype`),a.delete(`formmethod`),a.delete(`formtarget`)):(a.delete(`enctype`),a.delete(`method`),a.delete(`target`));continue}if(o===DS){a.delete(l.toLowerCase()),yu(l,`function`,c,i);continue}Iu(e,l,l.toLowerCase(),c,a,i);continue;case`xlinkHref`:Iu(e,l,`xlink:href`,c,a,i);continue;case`contentEditable`:Pu(e,l,`contenteditable`,c,a,i);continue;case`spellCheck`:Pu(e,l,`spellcheck`,c,a,i);continue;case`draggable`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:Pu(e,l,l,c,a,i);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`:Nu(e,l,l.toLowerCase(),c,a,i);continue;case`capture`:case`download`:a:{s=e;var u=o=l,d=i;if(a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:break a;default:if(!1===c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:break;case`boolean`:if(!0===c&&s===``)break a;break;default:if(D(c,o),s===``+c)break a}yu(o,s,c,d)}continue;case`cols`:case`rows`:case`size`:case`span`:a:{if(s=e,u=o=l,d=i,a.delete(u),s=s.getAttribute(u),s===null)switch(typeof c){case`undefined`:case`function`:case`symbol`:case`boolean`:break a;default:if(isNaN(c)||1>c)break a}else if(c!=null)switch(typeof c){case`function`:case`symbol`:case`boolean`:break;default:if(!(isNaN(c)||1>c)&&(D(c,o),s===``+c))break a}yu(o,s,c,d)}continue;case`rowSpan`:Fu(e,l,`rowspan`,c,a,i);continue;case`start`:Fu(e,l,l,c,a,i);continue;case`xHeight`:Mu(e,l,`x-height`,c,a,i);continue;case`xlinkActuate`:Mu(e,l,`xlink:actuate`,c,a,i);continue;case`xlinkArcrole`:Mu(e,l,`xlink:arcrole`,c,a,i);continue;case`xlinkRole`:Mu(e,l,`xlink:role`,c,a,i);continue;case`xlinkShow`:Mu(e,l,`xlink:show`,c,a,i);continue;case`xlinkTitle`:Mu(e,l,`xlink:title`,c,a,i);continue;case`xlinkType`:Mu(e,l,`xlink:type`,c,a,i);continue;case`xmlBase`:Mu(e,l,`xml:base`,c,a,i);continue;case`xmlLang`:Mu(e,l,`xml:lang`,c,a,i);continue;case`xmlSpace`:Mu(e,l,`xml:space`,c,a,i);continue;case`inert`:c!==``||SS[l]||(SS[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)),Nu(e,l,l,c,a,i);continue;default:if(!(2<l.length)||l[0]!==`o`&&l[0]!==`O`||l[1]!==`n`&&l[1]!==`N`){s=en(l),o=!1,r.context===US&&t!==`svg`&&t!==`math`?a.delete(s.toLowerCase()):(u=l.toLowerCase(),u=zm.hasOwnProperty(u)&&zm[u]||null,u!==null&&u!==l&&(o=!0,a.delete(u)),a.delete(s));a:if(u=e,d=s,s=c,at(d)){if(u.hasAttribute(d))u=u.getAttribute(d),D(s,d),s=u===``+s?s:u;else{switch(typeof s){case`function`:case`symbol`:break a;case`boolean`:if(u=d.toLowerCase().slice(0,5),u!==`data-`&&u!==`aria-`)break a}s=s===void 0?void 0:null}}else s=void 0;o||yu(l,s,c,i)}}}return 0<a.size&&!0!==n.suppressHydrationWarning&&bu(e,a,i),Object.keys(i).length===0?null:i}function Ru(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 zu(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Bu(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&zu(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&zu(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.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 Vu(e){return e.nodeType===9?e:e.ownerDocument}function Hu(e){switch(e){case Lm:return WS;case Im:return GS;default:return US}}function Uu(e,t){if(e===US)switch(t){case`svg`:return WS;case`math`:return GS;default:return US}return e===WS&&t===`foreignObject`?US:e}function Wu(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 Gu(){var e=window.event;return e&&e.type===`popstate`?e!==YS&&(YS=e,!0):(YS=null,!1)}function Ku(){var e=window.event;return e&&e!==XS?e.type:null}function qu(){var e=window.event;return e&&e!==XS?e.timeStamp:-1.1}function Ju(e){setTimeout(function(){throw e})}function Yu(e,t,n){switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&e.focus();break;case`img`:n.src?e.src=n.src:n.srcSet&&(e.srcset=n.srcSet)}}function Xu(){}function Zu(e,t,n,r){Ou(e,t,n,r),e[Jp]=r}function Qu(e){Yt(e,``)}function $u(e,t,n){e.nodeValue=n}function ed(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Jp]||null;if(t!==null){var n=$e(e);n!==null&&(typeof t.children==`string`||typeof t.children==`number`?(e.__reactWarnedAboutChildrenConflict=!0,T(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):t.dangerouslySetInnerHTML!=null&&(e.__reactWarnedAboutChildrenConflict=!0,T(n,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function td(e){return e===`head`}function nd(e,t){e.removeChild(t)}function rd(e,t){(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e).removeChild(t)}function id(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8){if(n=i.data,n===MS||n===AS){if(r===0){e.removeChild(i),wf(t);return}r--}else if(n===jS||n===NS||n===PS||n===FS||n===kS)r++;else if(n===IS)kd(e.ownerDocument.documentElement);else if(n===RS){n=e.ownerDocument.head,kd(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[em]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===LS&&kd(e.ownerDocument.body)}n=i}while(n);wf(t)}function ad(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8){if(n=r.data,n===MS){if(e===0)break;e--}else n!==jS&&n!==NS&&n!==PS&&n!==FS||e++}n=r}while(n)}function od(e){ad(e,!0)}function sd(e){e=e.style,typeof e.setProperty==`function`?e.setProperty(`display`,`none`,`important`):e.display=`none`}function cd(e){e.nodeValue=``}function ld(e){ad(e,!1)}function ud(e,t){t=t[HS],t=t!=null&&t.hasOwnProperty(`display`)?t.display:null,e.style.display=t==null||typeof t==`boolean`?``:(``+t).trim()}function dd(e,t){e.nodeValue=t}function fd(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:fd(n),Ze(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function pd(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r){if(t===`input`&&e.type===`hidden`){D(i.name,`name`);var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e}else if(!e[em])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=yd(e.nextSibling),e===null)break}return null}function md(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=yd(e.nextSibling),e===null))return null;return e}function hd(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=yd(e.nextSibling),e===null))return null;return e}function gd(e){return e.data===NS||e.data===PS}function _d(e){return e.data===FS||e.data===NS&&e.ownerDocument.readyState!==VS}function vd(e,t){var n=e.ownerDocument;if(e.data===PS)e._reactRetry=t;else if(e.data!==NS||n.readyState!==VS)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function yd(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===jS||t===FS||t===NS||t===PS||t===kS||t===zS||t===BS)break;if(t===MS||t===AS)return null}}return e}function bd(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),n={},r=e.attributes,i=0;i<r.length;i++){var a=r[i];n[ku(a.name)]=a.name.toLowerCase()===`style`?Au(e):a.value}return{type:t,props:n}}return e.nodeType===8?e.data===kS?{type:`Activity`,props:{}}:{type:`Suspense`,props:{}}:e.nodeValue}function xd(e,t,n){return n===null||!0!==n[OS]?(e.nodeValue===t?e=null:(t=Cu(t),e=Cu(e.nodeValue)===t?null:e.nodeValue),e):null}function Sd(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===MS||n===AS){if(t===0)return yd(e.nextSibling);t--}else n!==jS&&n!==FS&&n!==NS&&n!==PS&&n!==kS||t++}e=e.nextSibling}return null}function Cd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===jS||n===FS||n===NS||n===PS||n===kS){if(t===0)return e;t--}else n!==MS&&n!==AS||t++}e=e.previousSibling}return null}function wd(e){wf(e)}function Td(e){wf(e)}function Ed(e){wf(e)}function Dd(e,t,n,r,i){switch(i&&qt(e,r.ancestorInfo),t=Vu(n),e){case`html`:if(e=t.documentElement,!e)throw Error(`React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`head`:if(e=t.head,!e)throw Error(`React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.`);return e;case`body`:if(e=t.body,!e)throw Error(`React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.`);return e;default:throw Error(`resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.`)}}function Od(e,t,n,r){if(!n[Yp]&&$e(n)){var i=n.tagName.toLowerCase();console.error(`You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.`,i,i,i)}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(i=n.attributes;i.length;)n.removeAttributeNode(i[0]);Du(n,e,t),n[qp]=r,n[Jp]=t}function kd(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ze(e)}function Ad(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function jd(e,t,n){var r=dC;if(r&&typeof t==`string`&&t){var i=gt(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),lC.has(i)||(lC.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Du(t,`link`,e),tt(t),r.head.appendChild(t)))}}function Md(e,t,n,r){var i=(i=np.current)?Ad(i):null;if(!i)throw Error(`"resourceRoot" was expected to exist. This is a bug in React.`);switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(n=Pd(n.href),t=O(i).hoistableStyles,r=t.get(n),r||(r={type:`style`,instance:null,count:0,state:null},t.set(n,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Pd(n.href);var a=O(i).hoistableStyles,o=a.get(e);if(!o&&(i=i.ownerDocument||i,o={type:`stylesheet`,instance:null,count:0,state:{loading:rC,preload:null}},a.set(e,o),(a=i.querySelector(Fd(e)))&&!a._p&&(o.instance=a,o.state.loading=iC|sC),!cC.has(e))){var s={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy};cC.set(e,s),a||Ld(i,e,s,o.state)}if(t&&r===null)throw n=`
|
|
181
|
-
|
|
182
|
-
- `+Nd(t)+`
|
|
183
|
-
+ `+Nd(n),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return o}if(t&&r!==null)throw n=`
|
|
184
|
-
|
|
185
|
-
- `+Nd(t)+`
|
|
186
|
-
+ `+Nd(n),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+n);return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(n=Rd(n),t=O(i).hoistableScripts,r=t.get(n),r||(r={type:`script`,instance:null,count:0,state:null},t.set(n,r)),r):{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 Nd(e){var t=0,n=`<link`;return typeof e.rel==`string`?(t++,n+=` rel="`+e.rel+`"`):vp.call(e,`rel`)&&(t++,n+=` rel="`+(e.rel===null?`null`:`invalid type `+typeof e.rel)+`"`),typeof e.href==`string`?(t++,n+=` href="`+e.href+`"`):vp.call(e,`href`)&&(t++,n+=` href="`+(e.href===null?`null`:`invalid type `+typeof e.href)+`"`),typeof e.precedence==`string`?(t++,n+=` precedence="`+e.precedence+`"`):vp.call(e,`precedence`)&&(t++,n+=` precedence={`+(e.precedence===null?`null`:`invalid type `+typeof e.precedence)+`}`),Object.getOwnPropertyNames(e).length>t&&(n+=` ...`),n+` />`}function Pd(e){return`href="`+gt(e)+`"`}function Fd(e){return`link[rel="stylesheet"][`+e+`]`}function Id(e){return R({},e,{"data-precedence":e.precedence,precedence:null})}function Ld(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=iC:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=iC}),t.addEventListener(`error`,function(){return r.loading|=aC}),Du(t,`link`,n),tt(t),e.head.appendChild(t))}function Rd(e){return`[src="`+gt(e)+`"]`}function zd(e){return`script[async]`+e}function Bd(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+gt(n.href)+`"]`);if(r)return t.instance=r,tt(r),r;var i=R({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),tt(r),Du(r,`style`,i),Vd(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Pd(n.href);var a=e.querySelector(Fd(i));if(a)return t.state.loading|=sC,t.instance=a,tt(a),a;r=Id(n),(i=cC.get(i))&&Hd(r,i),a=(e.ownerDocument||e).createElement(`link`),tt(a);var o=a;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Du(a,`link`,r),t.state.loading|=sC,Vd(a,n.precedence,e),t.instance=a;case`script`:return a=Rd(n.src),(i=e.querySelector(zd(a)))?(t.instance=i,tt(i),i):(r=n,(i=cC.get(a))&&(r=R({},n),Ud(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),tt(i),Du(i,`link`,r),e.head.appendChild(i),t.instance=i);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&sC)===rC&&(r=t.instance,t.state.loading|=sC,Vd(r,n.precedence,e));return t.instance}function Vd(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Hd(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Ud(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}function Wd(e,t,n){if(fC===null){var r=new Map,i=fC=new Map;i.set(n,r)}else i=fC,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[em]||a[qp]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==Lm){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Gd(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Kd(e,t,n){var r=!n.ancestorInfo.containerTagInScope;if(n.context===WS||t.itemProp!=null)return!r||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===``){r&&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 i=t.onError,a=t.disabled;n=[],t.onLoad&&n.push("`onLoad`"),i&&n.push("`onError`"),a!=null&&n.push("`disabled`"),i=Ru(n,`and`),i+=n.length===1?` prop`:` props`,a=n.length===1?`an `+i:`the `+i,n.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,a,i)}r&&(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`&&r&&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`){r&&(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`:r&&console.error(`Cannot render <%s> outside the main document. Try moving it into the root <head> tag.`,e)}return!1}function qd(e){return e.type!==`stylesheet`||(e.state.loading&oC)!==rC}function Jd(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&(n.state.loading&sC)===rC){if(n.instance===null){var i=Pd(r.href),a=t.querySelector(Fd(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Xd.bind(e),t.then(e,e)),n.state.loading|=sC,n.instance=a,tt(a);return}a=t.ownerDocument||t,r=Id(r),(i=cC.get(i))&&Hd(r,i),a=a.createElement(`link`),tt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Du(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&oC)===rC&&(e.count++,n=Xd.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}function Yd(e,t){return e.stylesheets&&e.count===0&&Zd(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Zd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},pC+t);0<e.imgBytes&&gC===0&&(gC=125*Bu()*hC);var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zd(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>gC?50:mC)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Xd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Zd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,vC=new Map,t.forEach(Qd,e),vC=null,Xd.call(e))}function Qd(e,t){if(!(t.state.loading&sC)){var n=vC.get(e);if(n)var r=n.get(_C);else{n=new Map,vC.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(_C,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(_C,i),n.set(o,i),this.count++,r=Xd.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=sC}}function $d(e,t,n,r,i,a,o,s,c){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=$S,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ze(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ze(0),this.hiddenUpdates=ze(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=n?`hydrateRoot()`:`createRoot()`}function ef(e,t,n,r,i,a,o,s,c,l,u,d){return e=new $d(e,t,n,o,c,l,u,d,s),t=Rg,!0===a&&(t|=zg|Bg),t|=W,a=g(3,null,null,t),e.current=a,a.stateNode=e,t=ai(),oi(t),e.pooledCache=t,oi(t),a.memoizedState={element:r,isDehydrated:n,cache:t},Qi(a),e}function tf(e){return e?(e=Fg,e):Fg}function nf(e,t,n,r,i,a){if(Np&&typeof Np.onScheduleFiberRoot==`function`)try{Np.onScheduleFiberRoot(Mp,r,n)}catch(e){Pp||(Pp=!0,console.error(`React instrumentation encountered an error: %o`,e))}i=tf(i),r.context===null?r.context=i:r.pendingContext=i,_p&&gp!==null&&!EC&&(EC=!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.
|
|
187
|
-
|
|
188
|
-
Check the render method of %s.`,C(gp)||`Unknown`)),r=ea(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(typeof a!=`function`&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),n=ta(e,r,t),n!==null&&(ci(t,`root.render()`,null),rl(n,e,t),na(n,e,t))}function rf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function af(e,t){rf(e,t),(e=e.alternate)&&rf(e,t)}function of(e){if(e.tag===13||e.tag===31){var t=dr(e,67108864);t!==null&&rl(t,e,67108864),af(e,67108864)}}function sf(e){if(e.tag===13||e.tag===31){var t=tl(e);t=Ge(t);var n=dr(e,t);n!==null&&rl(n,e,t),af(e,t)}}function cf(){return gp}function lf(e,t,n,r){var i=z.T;z.T=null;var a=B.p;try{B.p=Hp,df(e,t,n,r)}finally{B.p=a,z.T=i}}function uf(e,t,n,r){var i=z.T;z.T=null;var a=B.p;try{B.p=Up,df(e,t,n,r)}finally{B.p=a,z.T=i}}function df(e,t,n,r){if(LC){var i=ff(r);if(i===null)pu(e,t,r,RC,n),hf(e,r);else if(_f(i,e,t,n,r))r.stopPropagation();else if(hf(e,r),t&4&&-1<KC.indexOf(e)){for(;i!==null;){var a=$e(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Pe(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-Ip(o);s.entanglements[1]|=c,o&=~c}Yl(a),(Z&(Fb|Ib))===Pb&&(yx=Cp()+bx,Xl(0,!1))}}break;case 31:case 13:s=dr(a,2),s!==null&&rl(s,a,2),cl(),af(a,2)}if(a=ff(r),a===null&&pu(e,t,r,RC,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else pu(e,t,r,null,n)}}function ff(e){return e=cn(e),pf(e)}function pf(e){if(RC=null,e=Qe(e),e!==null){var t=x(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=ee(t),e!==null)return e;e=null}else if(n===31){if(e=te(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return RC=e,null}function mf(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 Hp;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 Up;case`message`:switch(wp()){case Tp:return Hp;case Ep:return Up;case Dp:case Op:return Wp;case kp:return Gp;default:return Wp}default:return Wp}}function hf(e,t){switch(e){case`focusin`:case`focusout`:BC=null;break;case`dragenter`:case`dragleave`:VC=null;break;case`mouseover`:case`mouseout`:HC=null;break;case`pointerover`:case`pointerout`:UC.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:WC.delete(t.pointerId)}}function gf(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=$e(t),t!==null&&of(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function _f(e,t,n,r,i){switch(t){case`focusin`:return BC=gf(BC,e,t,n,r,i),!0;case`dragenter`:return VC=gf(VC,e,t,n,r,i),!0;case`mouseover`:return HC=gf(HC,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return UC.set(a,gf(UC.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,WC.set(a,gf(WC.get(a)||null,e,t,n,r,i)),!0}return!1}function vf(e){var t=Qe(e.target);if(t!==null){var n=x(t);if(n!==null){if(t=n.tag,t===13){if(t=ee(n),t!==null){e.blockedOn=t,Xe(e.priority,function(){sf(n)});return}}else if(t===31){if(t=te(n),t!==null){e.blockedOn=t,Xe(e.priority,function(){sf(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function yf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ff(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n),i=r;Zm!==null&&console.error(`Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue.`),Zm=i,n.target.dispatchEvent(r),Zm===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.`),Zm=null}else return t=$e(n),t!==null&&of(t),e.blockedOn=n,!1;t.shift()}return!0}function bf(e,t,n){yf(e)&&n.delete(t)}function xf(){zC=!1,BC!==null&&yf(BC)&&(BC=null),VC!==null&&yf(VC)&&(VC=null),HC!==null&&yf(HC)&&(HC=null),UC.forEach(bf),WC.forEach(bf)}function Sf(e,t){e.blockedOn===t&&(e.blockedOn=null,zC||(zC=!0,kf.unstable_scheduleCallback(kf.unstable_NormalPriority,xf)))}function Cf(e){qC!==e&&(qC=e,kf.unstable_scheduleCallback(kf.unstable_NormalPriority,function(){qC===e&&(qC=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(pf(r||n)===null)continue;break}var a=$e(n);a!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:i,method:n.method,action:r},Object.freeze(n),Po(a,n,r,i))}}))}function wf(e){function t(t){return Sf(t,e)}BC!==null&&Sf(BC,e),VC!==null&&Sf(VC,e),HC!==null&&Sf(HC,e),UC.forEach(t),WC.forEach(t);for(var n=0;n<GC.length;n++){var r=GC[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<GC.length&&(n=GC[0],n.blockedOn===null);)vf(n),n.blockedOn===null&&GC.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[Jp]||null;if(typeof a==`function`)o||Cf(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Jp]||null)s=o.formAction;else if(pf(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Cf(n)}}}function Tf(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Ef(e){this._internalRoot=e}function Df(e){this._internalRoot=e}function Of(e){e[Yp]&&(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 kf=p(),Af=d(),jf=h(),R=Object.assign,Mf=Symbol.for(`react.element`),Nf=Symbol.for(`react.transitional.element`),Pf=Symbol.for(`react.portal`),Ff=Symbol.for(`react.fragment`),If=Symbol.for(`react.strict_mode`),Lf=Symbol.for(`react.profiler`),Rf=Symbol.for(`react.consumer`),zf=Symbol.for(`react.context`),Bf=Symbol.for(`react.forward_ref`),Vf=Symbol.for(`react.suspense`),Hf=Symbol.for(`react.suspense_list`),Uf=Symbol.for(`react.memo`),Wf=Symbol.for(`react.lazy`),Gf=Symbol.for(`react.activity`),Kf=Symbol.for(`react.memo_cache_sentinel`),qf=Symbol.iterator,Jf=Symbol.for(`react.client.reference`),Yf=Array.isArray,z=Af.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=jf.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Xf=Object.freeze({pending:!1,data:null,method:null,action:null}),Zf=[],Qf=[],$f=-1,ep=se(null),tp=se(null),np=se(null),rp=se(null),ip=0,ap,op,sp,cp,lp,up,dp;he.__reactDisabledLog=!0;var fp,pp,mp=!1,hp=new(typeof WeakMap==`function`?WeakMap:Map),gp=null,_p=!1,vp=Object.prototype.hasOwnProperty,yp=kf.unstable_scheduleCallback,bp=kf.unstable_cancelCallback,xp=kf.unstable_shouldYield,Sp=kf.unstable_requestPaint,Cp=kf.unstable_now,wp=kf.unstable_getCurrentPriorityLevel,Tp=kf.unstable_ImmediatePriority,Ep=kf.unstable_UserBlockingPriority,Dp=kf.unstable_NormalPriority,Op=kf.unstable_LowPriority,kp=kf.unstable_IdlePriority,Ap=kf.log,jp=kf.unstable_setDisableYieldValue,Mp=null,Np=null,Pp=!1,Fp=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`,Ip=Math.clz32?Math.clz32:Ne,Lp=Math.log,Rp=Math.LN2,zp=256,Bp=262144,Vp=4194304,Hp=2,Up=8,Wp=32,Gp=268435456,Kp=Math.random().toString(36).slice(2),qp=`__reactFiber$`+Kp,Jp=`__reactProps$`+Kp,Yp=`__reactContainer$`+Kp,Xp=`__reactEvents$`+Kp,Zp=`__reactListeners$`+Kp,Qp=`__reactHandles$`+Kp,$p=`__reactResources$`+Kp,em=`__reactMarker$`+Kp,tm=new Set,nm={},rm={},im={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},am=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]*$`),om={},sm={},cm=/[\n"\\]/g,lm=!1,um=!1,dm=!1,fm=!1,pm=!1,mm=!1,hm=[`value`,`defaultValue`],gm=!1,_m=/["'&<>\n\t]|^\s|\s$/,vm=`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(` `),ym=`applet caption html table td th marquee object template foreignObject desc title`.split(` `),bm=ym.concat([`button`]),xm=`dd dt li option optgroup p rp rt`.split(` `),Sm={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Cm={},wm={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`]},Tm=/([A-Z])/g,Em=/^ms-/,Dm=/^(?:webkit|moz|o)[A-Z]/,Om=/^-ms-/,km=/-(.)/g,Am=/;\s*$/,jm={},Mm={},Nm=!1,Pm=!1,Fm=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(` `)),Im=`http://www.w3.org/1998/Math/MathML`,Lm=`http://www.w3.org/2000/svg`,Rm=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`]]),zm={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`},Bm={"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},Vm={},Hm=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]*$`),Um=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]*$`),Wm=!1,Gm={},Km=/^on./,qm=/^on[^A-Z]/,Jm=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]*$`),Ym=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]*$`),Xm=/^[\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,Zm=null,Qm=null,$m=null,eh=!1,th=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),nh=!1;if(th)try{var rh={};Object.defineProperty(rh,"passive",{get:function(){nh=!0}}),window.addEventListener(`test`,rh,rh),window.removeEventListener(`test`,rh,rh)}catch{nh=!1}var ih=null,ah=null,oh=null,sh={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ch=gn(sh),lh=R({},sh,{view:0,detail:0}),uh=gn(lh),dh,fh,ph,mh=R({},lh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:j,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!==ph&&(ph&&e.type===`mousemove`?(dh=e.screenX-ph.screenX,fh=e.screenY-ph.screenY):fh=dh=0,ph=e),dh)},movementY:function(e){return`movementY`in e?e.movementY:fh}}),hh=gn(mh),gh=gn(R({},mh,{dataTransfer:0})),_h=gn(R({},lh,{relatedTarget:0})),vh=gn(R({},sh,{animationName:0,elapsedTime:0,pseudoElement:0})),yh=gn(R({},sh,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),bh=gn(R({},sh,{data:0})),xh=bh,Sh={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Ch={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`},wh={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`},Th=gn(R({},lh,{key:function(e){if(e.key){var t=Sh[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=pn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Ch[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:j,charCode:function(e){return e.type===`keypress`?pn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?pn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Eh=gn(R({},mh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Dh=gn(R({},lh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:j})),Oh=gn(R({},sh,{propertyName:0,elapsedTime:0,pseudoElement:0})),kh=gn(R({},mh,{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})),Ah=gn(R({},sh,{newState:0,oldState:0})),jh=[9,13,27,32],Mh=229,Nh=th&&`CompositionEvent`in window,Ph=null;th&&`documentMode`in document&&(Ph=document.documentMode);var Fh=th&&`TextEvent`in window&&!Ph,Ih=th&&(!Nh||Ph&&8<Ph&&11>=Ph),Lh=32,Rh=String.fromCharCode(Lh),zh=!1,Bh=!1,Vh={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},Hh=null,Uh=null,Wh=!1;th&&(Wh=Cn(`input`)&&(!document.documentMode||9<document.documentMode));var Gh=typeof Object.is==`function`?Object.is:Pn,Kh=th&&`documentMode`in document&&11>=document.documentMode,qh=null,Jh=null,Yh=null,Xh=!1,Zh={animationend:Vn(`Animation`,`AnimationEnd`),animationiteration:Vn(`Animation`,`AnimationIteration`),animationstart:Vn(`Animation`,`AnimationStart`),transitionrun:Vn(`Transition`,`TransitionRun`),transitionstart:Vn(`Transition`,`TransitionStart`),transitioncancel:Vn(`Transition`,`TransitionCancel`),transitionend:Vn(`Transition`,`TransitionEnd`)},Qh={},$h={};th&&($h=document.createElement(`div`).style,`AnimationEvent`in window||(delete Zh.animationend.animation,delete Zh.animationiteration.animation,delete Zh.animationstart.animation),`TransitionEvent`in window||delete Zh.transitionend.transition);var eg=Hn(`animationend`),tg=Hn(`animationiteration`),ng=Hn(`animationstart`),rg=Hn(`transitionrun`),ig=Hn(`transitionstart`),ag=Hn(`transitioncancel`),og=Hn(`transitionend`),sg=new Map,cg=`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(` `);cg.push(`scrollEnd`);var lg=0;if(typeof performance==`object`&&typeof performance.now==`function`)var ug=performance,dg=function(){return ug.now()};else{var fg=Date;dg=function(){return fg.now()}}var pg=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&&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)},mg=`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.`,hg=0,gg=1,_g=2,vg=3,yg=`–\xA0`,bg=`+\xA0`,xg=` \xA0`,Sg=typeof console<`u`&&typeof console.timeStamp==`function`&&typeof performance<`u`&&typeof performance.measure==`function`,Cg=`Components ⚛`,V=`Scheduler ⚛`,H=`Blocking`,wg=!1,Tg={color:`primary`,properties:null,tooltipText:``,track:Cg},Eg={start:-0,end:-0,detail:{devtools:Tg}},Dg=[`Changed Props`,``],Og=`This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.`,kg=[`Changed Props`,Og],Ag=1,jg=2,Mg=[],Ng=0,Pg=0,Fg={};Object.freeze(Fg);var Ig=null,Lg=null,U=0,Rg=1,W=2,zg=8,Bg=16,Vg=32,Hg=!1;try{Object.preventExtensions({})}catch{Hg=!0}var Ug=new WeakMap,Wg=[],Gg=0,Kg=null,qg=0,Jg=[],Yg=0,Xg=null,Zg=1,Qg=``,$g=null,e_=null,G=!1,t_=!1,n_=null,r_=null,i_=!1,a_=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.`),o_=se(null),s_=se(null),c_={},l_=null,u_=null,d_=!1,f_=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},p_=kf.unstable_scheduleCallback,m_=kf.unstable_NormalPriority,h_={$$typeof:zf,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},g_=kf.unstable_now,__=console.createTask?console.createTask:function(){return null},v_=1,y_=2,b_=-0,x_=-0,S_=-0,C_=null,w_=-1.1,T_=-0,E_=-0,K=-1.1,q=-1.1,D_=null,O_=!1,k_=-0,A_=-1.1,j_=null,M_=0,N_=null,P_=null,F_=-1.1,I_=null,L_=-1.1,R_=-1.1,z_=-0,B_=-1.1,V_=-1.1,H_=0,U_=null,W_=null,G_=null,K_=-1.1,q_=null,J_=-1.1,Y_=-1.1,X_=-0,Z_=-0,Q_=0,$_=null,ev=0,tv=-1.1,nv=!1,rv=!1,iv=null,av=0,ov=0,sv=null,cv=z.S;z.S=function(e,t){if(_x=Cp(),typeof t==`object`&&t&&typeof t.then==`function`){if(0>B_&&0>V_){B_=g_();var n=qu(),r=Ku();(n!==J_||r!==q_)&&(J_=-1.1),K_=n,q_=r}Di(e,t)}cv!==null&&cv(e,t)};var lv=se(null),uv={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},dv=[],fv=[],pv=[],mv=[],hv=[],gv=[],_v=new Set;uv.recordUnsafeLifecycleWarnings=function(e,t){_v.has(e.type)||(typeof t.componentWillMount==`function`&&!0!==t.componentWillMount.__suppressDeprecationWarning&&dv.push(e),e.mode&zg&&typeof t.UNSAFE_componentWillMount==`function`&&fv.push(e),typeof t.componentWillReceiveProps==`function`&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&pv.push(e),e.mode&zg&&typeof t.UNSAFE_componentWillReceiveProps==`function`&&mv.push(e),typeof t.componentWillUpdate==`function`&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&hv.push(e),e.mode&zg&&typeof t.UNSAFE_componentWillUpdate==`function`&&gv.push(e))},uv.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<dv.length&&(dv.forEach(function(t){e.add(C(t)||`Component`),_v.add(t.type)}),dv=[]);var t=new Set;0<fv.length&&(fv.forEach(function(e){t.add(C(e)||`Component`),_v.add(e.type)}),fv=[]);var n=new Set;0<pv.length&&(pv.forEach(function(e){n.add(C(e)||`Component`),_v.add(e.type)}),pv=[]);var r=new Set;0<mv.length&&(mv.forEach(function(e){r.add(C(e)||`Component`),_v.add(e.type)}),mv=[]);var i=new Set;0<hv.length&&(hv.forEach(function(e){i.add(C(e)||`Component`),_v.add(e.type)}),hv=[]);var a=new Set;if(0<gv.length&&(gv.forEach(function(e){a.add(C(e)||`Component`),_v.add(e.type)}),gv=[]),0<t.size){var o=m(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.
|
|
189
|
-
|
|
190
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
191
|
-
|
|
192
|
-
Please update the following components: %s`,o)}0<r.size&&(o=m(r),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.
|
|
193
|
-
|
|
194
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
195
|
-
* 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
|
|
196
|
-
|
|
197
|
-
Please update the following components: %s`,o)),0<a.size&&(o=m(a),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.
|
|
198
|
-
|
|
199
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
200
|
-
|
|
201
|
-
Please update the following components: %s`,o)),0<e.size&&(o=m(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
202
|
-
|
|
203
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
204
|
-
* 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.
|
|
205
|
-
|
|
206
|
-
Please update the following components: %s`,o)),0<n.size&&(o=m(n),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
207
|
-
|
|
208
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
209
|
-
* 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
|
|
210
|
-
* 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.
|
|
211
|
-
|
|
212
|
-
Please update the following components: %s`,o)),0<i.size&&(o=m(i),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
213
|
-
|
|
214
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
215
|
-
* 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.
|
|
216
|
-
|
|
217
|
-
Please update the following components: %s`,o))};var vv=new Map,yv=new Set;uv.recordLegacyContextWarning=function(e,t){for(var n=null,r=e;r!==null;)r.mode&zg&&(n=r),r=r.return;n===null?console.error(`Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.`):!yv.has(e.type)&&(r=vv.get(n),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext==`function`)&&(r===void 0&&(r=[],vv.set(n,r)),r.push(e))},uv.flushLegacyContextWarning=function(){vv.forEach(function(e){if(e.length!==0){var t=e[0],n=new Set;e.forEach(function(e){n.add(C(e)||`Component`),yv.add(e.type)});var r=m(n);T(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
218
|
-
|
|
219
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
220
|
-
|
|
221
|
-
Please update the following components: %s
|
|
222
|
-
|
|
223
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,r)})}})},uv.discardPendingWarnings=function(){dv=[],fv=[],pv=[],mv=[],hv=[],gv=[],vv=new Map};var bv={react_stack_bottom_frame:function(e,t,n){var r=_p;_p=!0;try{return e(t,n)}finally{_p=r}}},xv=bv.react_stack_bottom_frame.bind(bv),Sv={react_stack_bottom_frame:function(e){var t=_p;_p=!0;try{return e.render()}finally{_p=t}}},Cv=Sv.react_stack_bottom_frame.bind(Sv),wv={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(t){I(e,e.return,t)}}},Tv=wv.react_stack_bottom_frame.bind(wv),Ev={react_stack_bottom_frame:function(e,t,n,r,i){try{t.componentDidUpdate(n,r,i)}catch(t){I(e,e.return,t)}}},Dv=Ev.react_stack_bottom_frame.bind(Ev),Ov={react_stack_bottom_frame:function(e,t){var n=t.stack;e.componentDidCatch(t.value,{componentStack:n===null?``:n})}},kv=Ov.react_stack_bottom_frame.bind(Ov),Av={react_stack_bottom_frame:function(e,t,n){try{n.componentWillUnmount()}catch(n){I(e,t,n)}}},jv=Av.react_stack_bottom_frame.bind(Av),Mv={react_stack_bottom_frame:function(e){var t=e.create;return e=e.inst,t=t(),e.destroy=t}},Nv=Mv.react_stack_bottom_frame.bind(Mv),Pv={react_stack_bottom_frame:function(e,t,n){try{n()}catch(n){I(e,t,n)}}},Fv=Pv.react_stack_bottom_frame.bind(Pv),Iv={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Lv=Iv.react_stack_bottom_frame.bind(Iv),Rv=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`."),zv=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.`),Bv=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."),Vv={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.`)}},Hv=null,Uv=!1,Wv=null,Gv=0,J=null,Kv,qv=Kv=!1,Jv={},Yv={},Xv={};f=function(e,t,n){if(typeof n==`object`&&n&&n._store&&(!n._store.validated&&n.key==null||n._store.validated===2)){if(typeof n._store!=`object`)throw Error(`React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.`);n._store.validated=1;var r=C(e),i=r||`null`;if(!Jv[i]){Jv[i]=!0,n=n._owner,e=e._debugOwner;var a=``;e&&typeof e.tag==`number`&&(i=C(e))&&(a=`
|
|
224
|
-
|
|
225
|
-
Check the render method of \``+i+"`."),a||r&&(a=`
|
|
226
|
-
|
|
227
|
-
Check the top-level render call using <`+r+`>.`);var o=``;n!=null&&e!==n&&(r=null,typeof n.tag==`number`?r=C(n):typeof n.name==`string`&&(r=n.name),r&&(o=` It was passed a child from `+r+`.`)),T(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.`,a,o)})}}};var Zv=Xi(!0),Qv=Xi(!1),$v=0,ey=1,ty=2,ny=3,ry=!1,iy=!1,ay=null,oy=!1,sy=se(null),cy=se(0),ly=se(null),uy=null,dy=1,fy=2,py=se(0),my=0,hy=1,gy=2,_y=4,vy=8,yy,by=new Set,xy=new Set,Sy=new Set,Cy=new Set,wy=0,Y=null,Ty=null,Ey=null,Dy=!1,Oy=!1,ky=!1,Ay=0,jy=0,My=null,Ny=0,Py=25,X=null,Fy=null,Iy=-1,Ly=!1,Ry={readContext:ni,use:Ma,useCallback:ba,useContext:ba,useEffect:ba,useImperativeHandle:ba,useLayoutEffect:ba,useInsertionEffect:ba,useMemo:ba,useReducer:ba,useRef:ba,useState:ba,useDebugValue:ba,useDeferredValue:ba,useTransition:ba,useSyncExternalStore:ba,useId:ba,useHostTransitionStatus:ba,useFormState:ba,useActionState:ba,useOptimistic:ba,useMemoCache:ba,useCacheRefresh:ba};Ry.useEffectEvent=ba;var zy=null,By=null,Vy=null,Hy=null,Uy=null,Wy=null,Gy=null;zy={readContext:function(e){return ni(e)},use:Ma,useCallback:function(e,t){return X=`useCallback`,N(),va(t),Co(e,t)},useContext:function(e){return X=`useContext`,N(),ni(e)},useEffect:function(e,t){return X=`useEffect`,N(),va(t),ho(e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,N(),va(n),xo(e,t,n)},useInsertionEffect:function(e,t){X=`useInsertionEffect`,N(),va(t),po(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,N(),va(t),yo(e,t)},useMemo:function(e,t){X=`useMemo`,N(),va(t);var n=z.H;z.H=Uy;try{return To(e,t)}finally{z.H=n}},useReducer:function(e,t,n){X=`useReducer`,N();var r=z.H;z.H=Uy;try{return Fa(e,t,n)}finally{z.H=r}},useRef:function(e){return X=`useRef`,N(),fo(e)},useState:function(e){X=`useState`,N();var t=z.H;z.H=Uy;try{return qa(e)}finally{z.H=t}},useDebugValue:function(){X=`useDebugValue`,N()},useDeferredValue:function(e,t){return X=`useDeferredValue`,N(),Do(e,t)},useTransition:function(){return X=`useTransition`,N(),Lo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,N(),za(e,t,n)},useId:function(){return X=`useId`,N(),Vo()},useFormState:function(e,t){return X=`useFormState`,N(),ya(),ao(e,t)},useActionState:function(e,t){return X=`useActionState`,N(),ao(e,t)},useOptimistic:function(e){return X=`useOptimistic`,N(),Ja(e)},useHostTransitionStatus:Bo,useMemoCache:Na,useCacheRefresh:function(){return X=`useCacheRefresh`,N(),Ho()},useEffectEvent:function(e){return X=`useEffectEvent`,N(),_o(e)}},By={readContext:function(e){return ni(e)},use:Ma,useCallback:function(e,t){return X=`useCallback`,P(),Co(e,t)},useContext:function(e){return X=`useContext`,P(),ni(e)},useEffect:function(e,t){return X=`useEffect`,P(),ho(e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,P(),xo(e,t,n)},useInsertionEffect:function(e,t){X=`useInsertionEffect`,P(),po(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,P(),yo(e,t)},useMemo:function(e,t){X=`useMemo`,P();var n=z.H;z.H=Uy;try{return To(e,t)}finally{z.H=n}},useReducer:function(e,t,n){X=`useReducer`,P();var r=z.H;z.H=Uy;try{return Fa(e,t,n)}finally{z.H=r}},useRef:function(e){return X=`useRef`,P(),fo(e)},useState:function(e){X=`useState`,P();var t=z.H;z.H=Uy;try{return qa(e)}finally{z.H=t}},useDebugValue:function(){X=`useDebugValue`,P()},useDeferredValue:function(e,t){return X=`useDeferredValue`,P(),Do(e,t)},useTransition:function(){return X=`useTransition`,P(),Lo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,P(),za(e,t,n)},useId:function(){return X=`useId`,P(),Vo()},useActionState:function(e,t){return X=`useActionState`,P(),ao(e,t)},useFormState:function(e,t){return X=`useFormState`,P(),ya(),ao(e,t)},useOptimistic:function(e){return X=`useOptimistic`,P(),Ja(e)},useHostTransitionStatus:Bo,useMemoCache:Na,useCacheRefresh:function(){return X=`useCacheRefresh`,P(),Ho()},useEffectEvent:function(e){return X=`useEffectEvent`,P(),_o(e)}},Vy={readContext:function(e){return ni(e)},use:Ma,useCallback:function(e,t){return X=`useCallback`,P(),wo(e,t)},useContext:function(e){return X=`useContext`,P(),ni(e)},useEffect:function(e,t){X=`useEffect`,P(),mo(2048,vy,e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,P(),So(e,t,n)},useInsertionEffect:function(e,t){return X=`useInsertionEffect`,P(),mo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,P(),mo(4,_y,e,t)},useMemo:function(e,t){X=`useMemo`,P();var n=z.H;z.H=Wy;try{return Eo(e,t)}finally{z.H=n}},useReducer:function(e,t,n){X=`useReducer`,P();var r=z.H;z.H=Wy;try{return Ia(e,t,n)}finally{z.H=r}},useRef:function(){return X=`useRef`,P(),F().memoizedState},useState:function(){X=`useState`,P();var e=z.H;z.H=Wy;try{return Ia(Pa)}finally{z.H=e}},useDebugValue:function(){X=`useDebugValue`,P()},useDeferredValue:function(e,t){return X=`useDeferredValue`,P(),Oo(e,t)},useTransition:function(){return X=`useTransition`,P(),Ro()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,P(),Ba(e,t,n)},useId:function(){return X=`useId`,P(),F().memoizedState},useFormState:function(e){return X=`useFormState`,P(),ya(),oo(e)},useActionState:function(e){return X=`useActionState`,P(),oo(e)},useOptimistic:function(e,t){return X=`useOptimistic`,P(),Ya(e,t)},useHostTransitionStatus:Bo,useMemoCache:Na,useCacheRefresh:function(){return X=`useCacheRefresh`,P(),F().memoizedState},useEffectEvent:function(e){return X=`useEffectEvent`,P(),vo(e)}},Hy={readContext:function(e){return ni(e)},use:Ma,useCallback:function(e,t){return X=`useCallback`,P(),wo(e,t)},useContext:function(e){return X=`useContext`,P(),ni(e)},useEffect:function(e,t){X=`useEffect`,P(),mo(2048,vy,e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,P(),So(e,t,n)},useInsertionEffect:function(e,t){return X=`useInsertionEffect`,P(),mo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,P(),mo(4,_y,e,t)},useMemo:function(e,t){X=`useMemo`,P();var n=z.H;z.H=Gy;try{return Eo(e,t)}finally{z.H=n}},useReducer:function(e,t,n){X=`useReducer`,P();var r=z.H;z.H=Gy;try{return Ra(e,t,n)}finally{z.H=r}},useRef:function(){return X=`useRef`,P(),F().memoizedState},useState:function(){X=`useState`,P();var e=z.H;z.H=Gy;try{return Ra(Pa)}finally{z.H=e}},useDebugValue:function(){X=`useDebugValue`,P()},useDeferredValue:function(e,t){return X=`useDeferredValue`,P(),ko(e,t)},useTransition:function(){return X=`useTransition`,P(),zo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,P(),Ba(e,t,n)},useId:function(){return X=`useId`,P(),F().memoizedState},useFormState:function(e){return X=`useFormState`,P(),ya(),lo(e)},useActionState:function(e){return X=`useActionState`,P(),lo(e)},useOptimistic:function(e,t){return X=`useOptimistic`,P(),Za(e,t)},useHostTransitionStatus:Bo,useMemoCache:Na,useCacheRefresh:function(){return X=`useCacheRefresh`,P(),F().memoizedState},useEffectEvent:function(e){return X=`useEffectEvent`,P(),vo(e)}},Uy={readContext:function(e){return l(),ni(e)},use:function(e){return c(),Ma(e)},useCallback:function(e,t){return X=`useCallback`,c(),N(),Co(e,t)},useContext:function(e){return X=`useContext`,c(),N(),ni(e)},useEffect:function(e,t){return X=`useEffect`,c(),N(),ho(e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,c(),N(),xo(e,t,n)},useInsertionEffect:function(e,t){X=`useInsertionEffect`,c(),N(),po(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,c(),N(),yo(e,t)},useMemo:function(e,t){X=`useMemo`,c(),N();var n=z.H;z.H=Uy;try{return To(e,t)}finally{z.H=n}},useReducer:function(e,t,n){X=`useReducer`,c(),N();var r=z.H;z.H=Uy;try{return Fa(e,t,n)}finally{z.H=r}},useRef:function(e){return X=`useRef`,c(),N(),fo(e)},useState:function(e){X=`useState`,c(),N();var t=z.H;z.H=Uy;try{return qa(e)}finally{z.H=t}},useDebugValue:function(){X=`useDebugValue`,c(),N()},useDeferredValue:function(e,t){return X=`useDeferredValue`,c(),N(),Do(e,t)},useTransition:function(){return X=`useTransition`,c(),N(),Lo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,c(),N(),za(e,t,n)},useId:function(){return X=`useId`,c(),N(),Vo()},useFormState:function(e,t){return X=`useFormState`,c(),N(),ao(e,t)},useActionState:function(e,t){return X=`useActionState`,c(),N(),ao(e,t)},useOptimistic:function(e){return X=`useOptimistic`,c(),N(),Ja(e)},useMemoCache:function(e){return c(),Na(e)},useHostTransitionStatus:Bo,useCacheRefresh:function(){return X=`useCacheRefresh`,N(),Ho()},useEffectEvent:function(e){return X=`useEffectEvent`,c(),N(),_o(e)}},Wy={readContext:function(e){return l(),ni(e)},use:function(e){return c(),Ma(e)},useCallback:function(e,t){return X=`useCallback`,c(),P(),wo(e,t)},useContext:function(e){return X=`useContext`,c(),P(),ni(e)},useEffect:function(e,t){X=`useEffect`,c(),P(),mo(2048,vy,e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,c(),P(),So(e,t,n)},useInsertionEffect:function(e,t){return X=`useInsertionEffect`,c(),P(),mo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,c(),P(),mo(4,_y,e,t)},useMemo:function(e,t){X=`useMemo`,c(),P();var n=z.H;z.H=Wy;try{return Eo(e,t)}finally{z.H=n}},useReducer:function(e,t,n){X=`useReducer`,c(),P();var r=z.H;z.H=Wy;try{return Ia(e,t,n)}finally{z.H=r}},useRef:function(){return X=`useRef`,c(),P(),F().memoizedState},useState:function(){X=`useState`,c(),P();var e=z.H;z.H=Wy;try{return Ia(Pa)}finally{z.H=e}},useDebugValue:function(){X=`useDebugValue`,c(),P()},useDeferredValue:function(e,t){return X=`useDeferredValue`,c(),P(),Oo(e,t)},useTransition:function(){return X=`useTransition`,c(),P(),Ro()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,c(),P(),Ba(e,t,n)},useId:function(){return X=`useId`,c(),P(),F().memoizedState},useFormState:function(e){return X=`useFormState`,c(),P(),oo(e)},useActionState:function(e){return X=`useActionState`,c(),P(),oo(e)},useOptimistic:function(e,t){return X=`useOptimistic`,c(),P(),Ya(e,t)},useMemoCache:function(e){return c(),Na(e)},useHostTransitionStatus:Bo,useCacheRefresh:function(){return X=`useCacheRefresh`,P(),F().memoizedState},useEffectEvent:function(e){return X=`useEffectEvent`,c(),P(),vo(e)}},Gy={readContext:function(e){return l(),ni(e)},use:function(e){return c(),Ma(e)},useCallback:function(e,t){return X=`useCallback`,c(),P(),wo(e,t)},useContext:function(e){return X=`useContext`,c(),P(),ni(e)},useEffect:function(e,t){X=`useEffect`,c(),P(),mo(2048,vy,e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,c(),P(),So(e,t,n)},useInsertionEffect:function(e,t){return X=`useInsertionEffect`,c(),P(),mo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,c(),P(),mo(4,_y,e,t)},useMemo:function(e,t){X=`useMemo`,c(),P();var n=z.H;z.H=Wy;try{return Eo(e,t)}finally{z.H=n}},useReducer:function(e,t,n){X=`useReducer`,c(),P();var r=z.H;z.H=Wy;try{return Ra(e,t,n)}finally{z.H=r}},useRef:function(){return X=`useRef`,c(),P(),F().memoizedState},useState:function(){X=`useState`,c(),P();var e=z.H;z.H=Wy;try{return Ra(Pa)}finally{z.H=e}},useDebugValue:function(){X=`useDebugValue`,c(),P()},useDeferredValue:function(e,t){return X=`useDeferredValue`,c(),P(),ko(e,t)},useTransition:function(){return X=`useTransition`,c(),P(),zo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,c(),P(),Ba(e,t,n)},useId:function(){return X=`useId`,c(),P(),F().memoizedState},useFormState:function(e){return X=`useFormState`,c(),P(),lo(e)},useActionState:function(e){return X=`useActionState`,c(),P(),lo(e)},useOptimistic:function(e,t){return X=`useOptimistic`,c(),P(),Za(e,t)},useMemoCache:function(e){return c(),Na(e)},useHostTransitionStatus:Bo,useCacheRefresh:function(){return X=`useCacheRefresh`,P(),F().memoizedState},useEffectEvent:function(e){return X=`useEffectEvent`,c(),P(),vo(e)}};var Ky={},qy=new Set,Jy=new Set,Yy=new Set,Xy=new Set,Zy=new Set,Qy=new Set,$y=new Set,eb=new Set,tb=new Set,nb=new Set;Object.freeze(Ky);var rb={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tl(e),i=ea(r);i.payload=t,n!=null&&(Zo(n),i.callback=n),t=ta(e,i,r),t!==null&&(ci(r,`this.setState()`,e),rl(t,e,r),na(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tl(e),i=ea(r);i.tag=ey,i.payload=t,n!=null&&(Zo(n),i.callback=n),t=ta(e,i,r),t!==null&&(ci(r,`this.replaceState()`,e),rl(t,e,r),na(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tl(e),r=ea(n);r.tag=ty,t!=null&&(Zo(t),r.callback=t),t=ta(e,r,n),t!==null&&(ci(n,`this.forceUpdate()`,e),rl(t,e,n),na(t,e,n))}},ib=null,ab=null,ob=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.`),sb=!1,cb={},lb={},ub={},db={},fb=!1,pb={},mb={},hb={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},gb=!1,_b=null;_b=new Set;var vb=!1,yb=!1,bb=!1,xb=typeof WeakSet==`function`?WeakSet:Set,Sb=null,Cb=null,wb=null,Tb=null,Eb=!1,Db=null,Ob=!1,kb=8192,Ab={getCacheForType:function(e){var t=ni(h_),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ni(h_).controller.signal},getOwner:function(){return gp}};if(typeof Symbol==`function`&&Symbol.for){var jb=Symbol.for;jb(`selector.component`),jb(`selector.has_pseudo_class`),jb(`selector.role`),jb(`selector.test_id`),jb(`selector.text`)}var Mb=[],Nb=typeof WeakMap==`function`?WeakMap:Map,Pb=0,Fb=2,Ib=4,Lb=0,Rb=1,zb=2,Bb=3,Vb=4,Hb=6,Ub=5,Z=Pb,Wb=null,Q=null,$=0,Gb=0,Kb=1,qb=2,Jb=3,Yb=4,Xb=5,Zb=6,Qb=7,$b=8,ex=9,tx=Gb,nx=null,rx=!1,ix=!1,ax=!1,ox=0,sx=Lb,cx=0,lx=0,ux=0,dx=0,fx=0,px=null,mx=null,hx=!1,gx=0,_x=0,vx=300,yx=1/0,bx=500,xx=null,Sx=null,Cx=null,wx=0,Tx=1,Ex=2,Dx=3,Ox=0,kx=1,Ax=2,jx=3,Mx=4,Nx=5,Px=0,Fx=null,Ix=null,Lx=0,Rx=0,zx=-0,Bx=null,Vx=null,Hx=null,Ux=wx,Wx=null,Gx=50,Kx=0,qx=null,Jx=!1,Yx=!1,Xx=50,Zx=0,Qx=null,$x=!1,eS=null,tS=!1,nS=new Set,rS={},iS=null,aS=null,oS=!1,sS=!1,cS=!1,lS=!1,uS=0,dS={};(function(){for(var e=0;e<cg.length;e++){var t=cg[e],n=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),Un(n,`on`+t)}Un(eg,`onAnimationEnd`),Un(tg,`onAnimationIteration`),Un(ng,`onAnimationStart`),Un(`dblclick`,`onDoubleClick`),Un(`focusin`,`onFocus`),Un(`focusout`,`onBlur`),Un(rg,`onTransitionRun`),Un(ig,`onTransitionStart`),Un(ag,`onTransitionCancel`),Un(og,`onTransitionEnd`)})(),rt(`onMouseEnter`,[`mouseout`,`mouseover`]),rt(`onMouseLeave`,[`mouseout`,`mouseover`]),rt(`onPointerEnter`,[`pointerout`,`pointerover`]),rt(`onPointerLeave`,[`pointerout`,`pointerover`]),nt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),nt(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),nt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),nt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),nt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),nt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var fS=`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(` `),pS=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(fS)),mS=`_reactListening`+Math.random().toString(36).slice(2),hS=!1,gS=!1,_S=!1,vS=!1,yS=!1,bS=!1,xS=!1,SS={},CS=/\r\n?/g,wS=/\u0000|\uFFFD/g,TS=`http://www.w3.org/1999/xlink`,ES=`http://www.w3.org/XML/1998/namespace`,DS=`javascript:throw new Error('React form unexpectedly submitted.')`,OS=`suppressHydrationWarning`,kS=`&`,AS=`/&`,jS=`$`,MS=`/$`,NS=`$?`,PS=`$~`,FS=`$!`,IS=`html`,LS=`body`,RS=`head`,zS=`F!`,BS=`F`,VS=`loading`,HS=`style`,US=0,WS=1,GS=2,KS=null,qS=null,JS={dialog:!0,webview:!0},YS=null,XS=void 0,ZS=typeof setTimeout==`function`?setTimeout:void 0,QS=typeof clearTimeout==`function`?clearTimeout:void 0,$S=-1,eC=typeof Promise==`function`?Promise:void 0,tC=typeof queueMicrotask==`function`?queueMicrotask:eC===void 0?ZS:function(e){return eC.resolve(null).then(e).catch(Ju)},nC=null,rC=0,iC=1,aC=2,oC=3,sC=4,cC=new Map,lC=new Set,uC=B.d;B.d={f:function(){var e=uC.f(),t=cl();return e||t},r:function(e){var t=$e(e);t!==null&&t.tag===5&&t.type===`form`?Io(t):uC.r(e)},D:function(e){uC.D(e),jd(`dns-prefetch`,e,null)},C:function(e,t){uC.C(e,t),jd(`preconnect`,e,t)},L:function(e,t,n){uC.L(e,t,n);var r=dC;if(r&&e&&t){var i=`link[rel="preload"][as="`+gt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+gt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+gt(n.imageSizes)+`"]`)):i+=`[href="`+gt(e)+`"]`;var a=i;switch(t){case`style`:a=Pd(e);break;case`script`:a=Rd(e)}cC.has(a)||(e=R({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),cC.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Fd(a))||t===`script`&&r.querySelector(zd(a))||(t=r.createElement(`link`),Du(t,`link`,e),tt(t),r.head.appendChild(t)))}},m:function(e,t){uC.m(e,t);var n=dC;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+gt(r)+`"][href="`+gt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Rd(e)}if(!cC.has(a)&&(e=R({rel:`modulepreload`,href:e},t),cC.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(zd(a)))return}r=n.createElement(`link`),Du(r,`link`,e),tt(r),n.head.appendChild(r)}}},X:function(e,t){uC.X(e,t);var n=dC;if(n&&e){var r=O(n).hoistableScripts,i=Rd(e),a=r.get(i);a||(a=n.querySelector(zd(i)),a||(e=R({src:e,async:!0},t),(t=cC.get(i))&&Ud(e,t),a=n.createElement(`script`),tt(a),Du(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}},S:function(e,t,n){uC.S(e,t,n);var r=dC;if(r&&e){var i=O(r).hoistableStyles,a=Pd(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:rC,preload:null};if(o=r.querySelector(Fd(a)))s.loading=iC|sC;else{e=R({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=cC.get(a))&&Hd(e,n);var c=o=r.createElement(`link`);tt(c),Du(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=iC}),c.addEventListener(`error`,function(){s.loading|=aC}),s.loading|=sC,Vd(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}},M:function(e,t){uC.M(e,t);var n=dC;if(n&&e){var r=O(n).hoistableScripts,i=Rd(e),a=r.get(i);a||(a=n.querySelector(zd(i)),a||(e=R({src:e,async:!0,type:`module`},t),(t=cC.get(i))&&Ud(e,t),a=n.createElement(`script`),tt(a),Du(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}};var dC=typeof document>`u`?null:document,fC=null,pC=6e4,mC=800,hC=500,gC=0,_C=null,vC=null,yC=Xf,bC={$$typeof:zf,Provider:null,Consumer:null,_currentValue:yC,_currentValue2:yC,_threadCount:0},xC=`%c%s%c`,SC=`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`,CC=``,wC=` `,TC=Function.prototype.bind,EC=!1,DC=null,OC=null,kC=null,AC=null,jC=null,MC=null,NC=null,PC=null,FC=null,IC=null;DC=function(e,r,i,a){r=t(e,r),r!==null&&(i=n(r.memoizedState,i,0,a),r.memoizedState=i,r.baseState=i,e.memoizedProps=R({},e.memoizedProps),i=dr(e,2),i!==null&&rl(i,e,2))},OC=function(e,n,r){n=t(e,n),n!==null&&(r=a(n.memoizedState,r,0),n.memoizedState=r,n.baseState=r,e.memoizedProps=R({},e.memoizedProps),r=dr(e,2),r!==null&&rl(r,e,2))},kC=function(e,n,i,a){n=t(e,n),n!==null&&(i=r(n.memoizedState,i,a),n.memoizedState=i,n.baseState=i,e.memoizedProps=R({},e.memoizedProps),i=dr(e,2),i!==null&&rl(i,e,2))},AC=function(e,t,r){e.pendingProps=n(e.memoizedProps,t,0,r),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=dr(e,2),t!==null&&rl(t,e,2)},jC=function(e,t){e.pendingProps=a(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=dr(e,2),t!==null&&rl(t,e,2)},MC=function(e,t,n){e.pendingProps=r(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=dr(e,2),t!==null&&rl(t,e,2)},NC=function(e){var t=dr(e,2);t!==null&&rl(t,e,2)},PC=function(e){var t=Re(),n=dr(e,t);n!==null&&rl(n,e,t)},FC=function(e){s=e},IC=function(e){o=e};var LC=!0,RC=null,zC=!1,BC=null,VC=null,HC=null,UC=new Map,WC=new Map,GC=[],KC=`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(` `),qC=null;if(Df.prototype.render=Ef.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(`Cannot update an unmounted root.`);var n=arguments;typeof n[1]==`function`?console.error(`does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().`):b(n[1])?console.error(`You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root.`):n[1]!==void 0&&console.error(`You passed a second argument to root.render(...) but it only accepts one argument.`),n=e;var r=t.current;nf(r,tl(r),n,t,null,null)},Df.prototype.unmount=Ef.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;(Z&(Fb|Ib))!==Pb&&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.`),nf(e.current,2,null,e,null,null),cl(),t[Yp]=null}},Df.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ye();e={blockedOn:null,target:e,priority:t};for(var n=0;n<GC.length&&t!==0&&t<GC[n].priority;n++);GC.splice(n,0,e),n===0&&vf(e)}},(function(){var e=Af.version;if(e!==`19.2.8`)throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
228
|
-
- react: `+(e+`
|
|
229
|
-
- react-dom: 19.2.8
|
|
230
|
-
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`),B.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=re(t),e=e===null?null:ie(e),e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:`19.2.8`,rendererPackageName:`react-dom`,currentDispatcherRef:z,reconcilerVersion:`19.2.8`};return e.overrideHookState=DC,e.overrideHookStateDeletePath=OC,e.overrideHookStateRenamePath=kC,e.overrideProps=AC,e.overridePropsDeletePath=jC,e.overridePropsRenamePath=MC,e.scheduleUpdate=NC,e.scheduleRetry=PC,e.setErrorHandler=FC,e.setSuspenseHandler=IC,e.scheduleRefresh=v,e.scheduleRoot=_,e.setRefreshHandler=y,e.getCurrentFiber=cf,je(e)})()&&th&&window.top===window.self&&(-1<navigator.userAgent.indexOf(`Chrome`)&&navigator.userAgent.indexOf(`Edge`)===-1||-1<navigator.userAgent.indexOf(`Firefox`))){var JC=window.location.protocol;/^(https?|file):$/.test(JC)&&console.info(`%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools`+(JC===`file:`?`
|
|
231
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:``),`font-weight:bold`)}e.createRoot=function(e,t){if(!b(e))throw Error(`Target container is not a DOM element.`);Of(e);var n=!1,r=``,i=ns,a=rs,o=is;return t!=null&&(t.hydrate?console.warn(`hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.`):typeof t==`object`&&t&&t.$$typeof===Nf&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
232
|
-
|
|
233
|
-
let root = createRoot(domContainer);
|
|
234
|
-
root.render(<App />);`),!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(a=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=ef(e,1,!1,null,null,n,r,null,i,a,o,Tf),e[Yp]=t.current,du(e),new Ef(t)},e.hydrateRoot=function(e,t,n){if(!b(e))throw Error(`Target container is not a DOM element.`);Of(e),t===void 0&&console.error(`Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)`);var r=!1,i=``,a=ns,o=rs,s=is,c=null;return n!=null&&(!0===n.unstable_strictMode&&(r=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(a=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(c=n.formState)),t=ef(e,1,!0,t,n??null,r,i,c,a,o,s,Tf),t.context=tf(null),n=t.current,r=tl(n),r=Ge(r),i=ea(r),i.callback=null,ta(n,i,r),ci(r,`hydrateRoot()`,null),n=r,t.current.lanes=n,Be(t,n),Yl(t),e[Yp]=t.current,du(e),new Df(t)},e.version=`19.2.8`,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})),_=o(((e,t)=>{t.exports=g()})),v=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},y=new class extends v{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e();return window.addEventListener(`visibilitychange`,t,!1),()=>{window.removeEventListener(`visibilitychange`,t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(e=>{typeof e==`boolean`?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e==`boolean`?this.#e:globalThis.document?.visibilityState!==`hidden`}},b={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},x=new class{#e=b;#t=!1;setTimeoutProvider(e){this.#t&&e!==this.#e&&console.error(`[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.`,{previous:this.#e,provider:e}),this.#e=e,this.#t=!1}setTimeout(e,t){return this.#t=!0,this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#t=!0,this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}};function ee(e){setTimeout(e,0)}var te=typeof window>`u`||`Deno`in globalThis;function ne(){}function re(e,t){return typeof e==`function`?e(t):e}function ie(e){return typeof e==`number`&&e>=0&&e!==1/0}function ae(e,t){return Math.max(e+(t||0)-Date.now(),0)}function S(e,t){return typeof e==`function`?e(t):e}function oe(e,t){return typeof e==`function`?e(t):e}function C(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==ce(o,t.options))return!1}else if(!le(t.queryKey,o))return!1}if(n!==`all`){let e=t.isActive();if(n===`active`&&!e||n===`inactive`&&e)return!1}return!(typeof s==`boolean`&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function se(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(w(t.options.mutationKey)!==w(a))return!1}else if(!le(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ce(e,t){return(t?.queryKeyHashFn||w)(e)}function w(e){return JSON.stringify(e,(e,t)=>me(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function le(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(Array.isArray(e)&&Array.isArray(t)){for(let n=0;n<t.length;n++)if(!le(e[n],t[n]))return!1;return!0}let n=Object.keys(t);for(let r of n)if(!le(e[r],t[r]))return!1;return!0}return!1}var ue=Object.prototype.hasOwnProperty;function de(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=pe(e)&&pe(t);if(!r&&!(me(e)&&me(t)))return t;let i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?Array(o):{},c=0;for(let l=0;l<o;l++){let o=r?l:a[l],u=e[o],d=t[o];if(u===d){s[o]=u,(r?l<i:ue.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=de(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function fe(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function pe(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function me(e){if(!he(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!he(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function he(e){return Object.prototype.toString.call(e)===`[object Object]`}function ge(e){return new Promise(t=>{x.setTimeout(t,e)})}function _e(e,t,n){if(typeof n.structuralSharing==`function`)return n.structuralSharing(e,t);if(n.structuralSharing!==!1)try{return de(e,t)}catch(e){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`),e}return t}function ve(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function ye(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var be=Symbol();function xe(e,t){return e.queryFn===be&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===be?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Se(e,t){return typeof e==`function`?e(...t):!!e}function Ce(e,t,n){let r=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t(),r?i:(r=!0,i.aborted?n():i.addEventListener(`abort`,n,{once:!0}),i))}),e}var we=(()=>{let e=()=>te;return{isServer(){return e()},setIsServer(t){e=t}}})();function Te(){let e,t,n=new Promise((n,r)=>{e=n,t=r});n.status=`pending`,n.catch(()=>{});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.resolve=t=>{r({status:`fulfilled`,value:t}),e(t)},n.reject=e=>{r({status:`rejected`,reason:e}),t(e)},n}var T=ee;function Ee(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=T,a=r=>{t?e.push(r):i(()=>{n(r)})},o=()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||o()}return n},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}var E=Ee(),De=new class extends v{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<`u`&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener(`online`,t,!1),window.addEventListener(`offline`,n,!1),()=>{window.removeEventListener(`online`,t),window.removeEventListener(`offline`,n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#e}};function Oe(e){return Math.min(1e3*2**e,3e4)}function D(e){return(e??`online`)!==`online`||De.isOnline()}var ke=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Ae(e){let t=!1,n=0,r,i=Te(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new ke(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>y.isFocused()&&(e.networkMode===`always`||De.isOnline())&&e.canRun(),u=()=>D(e.networkMode)&&e.canRun(),d=e=>{a()||(r?.(),i.resolve(e))},f=e=>{a()||(r?.(),i.reject(e))},p=()=>new Promise(t=>{r=e=>{(a()||l())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,a()||e.onContinue?.()}),m=()=>{if(a())return;let r,i=n===0?e.initialPromise:void 0;try{r=i??e.fn()}catch(e){r=Promise.reject(e)}Promise.resolve(r).then(d).catch(r=>{if(a())return;let i=e.retry??(we.isServer()?0:3),o=e.retryDelay??Oe,s=typeof o==`function`?o(n,r):o,c=i===!0||typeof i==`number`&&n<i||typeof i==`function`&&i(n,r);if(t||!c){f(r);return}n++,e.onFail?.(n,r),ge(s).then(()=>l()?void 0:p()).then(()=>{t?f(r):m()})})};return{promise:i,status:()=>i.status,cancel:o,continue:()=>(r?.(),i),cancelRetry:s,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}var je=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),ie(this.gcTime)&&(this.#e=x.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(we.isServer()?1/0:3e5))}clearGcTimeout(){this.#e!==void 0&&(x.clearTimeout(this.#e),this.#e=void 0)}};function Me(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{Ce(e,()=>t.signal,()=>n=!0)},u=xe(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject(t.signal.reason);if(r==null&&e.pages.length)return Promise.resolve(e);let a=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})(),o=await u(a),{maxPages:s}=t.options,c=i?ye:ve;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?Pe:Ne,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:Ne(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.fetchFn=t.options.persister?()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):l}}}function Ne(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Pe(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Fe=class extends je{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#i=e.client,this.#r=this.#i.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Re(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){let e=Re(this.options);e.data!==void 0&&(this.setState(Le(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=_e(this.state.data,e,this.options);return this.#l({data:n,type:`success`,dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#l({type:`setState`,state:e})}cancel(e){let t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(ne).catch(ne):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>oe(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===be||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>S(e.options.staleTime,this)===`static`)}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e===`static`?!1:this.state.isInvalidated?!0:!ae(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:`observerAdded`,query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#c()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#r.notify({type:`observerRemoved`,query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return this.state.fetchStatus===`paused`&&this.state.status===`pending`}invalidate(){this.state.isInvalidated||this.#l({type:`invalidate`})}async fetch(e,t){if(this.state.fetchStatus!==`idle`&&this.#a?.status()!==`rejected`){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey)||console.error(`As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']`);let n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#s=!0,n.signal)})},i=()=>{let e=xe(this.options,t),n=(()=>{let e={client:this.#i,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#s=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#i,state:this.state,fetchFn:i};return r(e),e})();(this.#e===`infinite`?Me(this.options.pages):this.options.behavior)?.onFetch(a,this),this.#n=this.state,(this.state.fetchStatus===`idle`||this.state.fetchMeta!==a.fetchOptions?.meta)&&this.#l({type:`fetch`,meta:a.fetchOptions?.meta}),this.#a=Ae({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof ke&&e.revert&&this.setState({...this.#n,fetchStatus:`idle`}),n.abort()},onFail:(e,t)=>{this.#l({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#l({type:`pause`})},onContinue:()=>{this.#l({type:`continue`})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{let e=await this.#a.start();if(e===void 0)throw console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#r.config.onSuccess?.(e,this),this.#r.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof ke){if(e.silent)return this.#a.promise;if(e.revert){if(this.state.data===void 0)throw e;return this.state.data}}throw this.#l({type:`error`,error:e}),this.#r.config.onError?.(e,this),this.#r.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#l(e){let t=t=>{switch(e.type){case`failed`:return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case`pause`:return{...t,fetchStatus:`paused`};case`continue`:return{...t,fetchStatus:`fetching`};case`fetch`:return{...t,...Ie(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...Le(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:`idle`,fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?n:void 0,n;case`error`:let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:`idle`,status:`error`,isInvalidated:!0};case`invalidate`:return{...t,isInvalidated:!0};case`setState`:return{...t,...e.state}}};this.state=t(this.state),E.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Ie(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:D(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function Le(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Re(e){let t=typeof e.initialData==`function`?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt==`function`?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?`success`:`pending`,fetchStatus:`idle`}}var ze=class extends v{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=Te(),this.bindMethods(),this.setOptions(t)}#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),Ve(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return He(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return He(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof oe(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!fe(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&Ue(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||oe(this.options.enabled,this.#t)!==oe(t.enabled,this.#t)||S(this.options.staleTime,this.#t)!==S(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||oe(this.options.enabled,this.#t)!==oe(t.enabled,this.#t)||i!==this.#p)&&this.#v(i)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return Ge(this,n)&&(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),n===`promise`&&(this.trackProp(`data`),!this.options.experimental_prefetchInRender&&this.#o.status===`pending`&&this.#o.reject(Error(`experimental_prefetchInRender feature flag is not enabled`))),Reflect.get(e,n))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#h({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#h(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(ne)),t}#g(){this.#b();let e=S(this.options.staleTime,this.#t);if(we.isServer()||this.#r.isStale||!ie(e))return;let t=ae(this.#r.dataUpdatedAt,e)+1;this.#d=x.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#p=e,!(we.isServer()||oe(this.options.enabled,this.#t)===!1||!ie(this.#p)||this.#p===0)&&(this.#f=x.setInterval(()=>{(this.options.refetchIntervalInBackground||y.isFocused())&&this.#h()},this.#p))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#d!==void 0&&(x.clearTimeout(this.#d),this.#d=void 0)}#x(){this.#f!==void 0&&(x.clearInterval(this.#f),this.#f=void 0)}createResult(e,t){let n=this.#t,r=this.options,i=this.#r,a=this.#i,o=this.#a,s=e===n?this.#n:e.state,{state:c}=e,l={...c},u=!1,d;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&Ve(e,t),o=i&&Ue(e,n,t,r);(a||o)&&(l={...l,...Ie(c.data,e.options)}),t._optimisticResults===`isRestoring`&&(l.fetchStatus=`idle`)}let{error:f,errorUpdatedAt:p,status:m}=l;d=l.data;let h=!1;if(t.placeholderData!==void 0&&d===void 0&&m===`pending`){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,h=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#u?.state.data,this.#u):t.placeholderData,e!==void 0&&(m=`success`,d=_e(i?.data,e,t),u=!0)}if(t.select&&d!==void 0&&!h){if(i&&d===a?.data&&t.select===this.#c)d=this.#l;else try{this.#c=t.select,d=t.select(d),d=_e(i?.data,d,t),this.#l=d,this.#s=null}catch(e){this.#s=e}}this.#s&&(f=this.#s,d=this.#l,p=Date.now(),m=`error`);let g=l.fetchStatus===`fetching`,_=m===`pending`,v=m===`error`,y=_&&g,b=d!==void 0,x={status:m,fetchStatus:l.fetchStatus,isPending:_,isSuccess:m===`success`,isError:v,isInitialLoading:y,isLoading:y,data:d,dataUpdatedAt:l.dataUpdatedAt,error:f,errorUpdatedAt:p,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:l.dataUpdateCount>s.dataUpdateCount||l.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!_,isLoadingError:v&&!b,isPaused:l.fetchStatus===`paused`,isPlaceholderData:u,isRefetchError:v&&b,isStale:We(e,t),refetch:this.refetch,promise:this.#o,isEnabled:oe(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){let t=x.data!==void 0,r=x.status===`error`&&!t,i=e=>{r?e.reject(x.error):t&&e.resolve(x.data)},a=()=>{let e=this.#o=x.promise=Te();i(e)},o=this.#o;switch(o.status){case`pending`:e.queryHash===n.queryHash&&i(o);break;case`fulfilled`:(r||x.data!==o.value)&&a();break;case`rejected`:(!r||x.error!==o.reason)&&a()}}return x}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#u=this.#t),!fe(t,e)&&(this.#r=t,this.#C({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#m.size)return!0;let r=new Set(n??this.#m);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})()}))}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#C(e){E.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function Be(e,t){return oe(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||oe(t.retryOnMount,e)!==!1)}function Ve(e,t){return Be(e,t)||e.state.data!==void 0&&He(e,t,t.refetchOnMount)}function He(e,t,n){if(oe(t.enabled,e)!==!1&&S(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&We(e,t)}return!1}function Ue(e,t,n,r){return(e!==t||oe(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&We(e,n)}function We(e,t){return oe(t.enabled,e)!==!1&&e.isStaleByTime(S(t.staleTime,e))}function Ge(e,t){return!fe(e.getCurrentResult(),t)}var Ke=class extends je{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||qe(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=Ae({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pending`,context:t,variables:e,isPaused:i})}let a=await this.#r.start();return await this.#n.config.onSuccess?.(a,e,this.state.context,this,n),await this.options.onSuccess?.(a,e,this.state.context,n),await this.#n.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(a,null,e,this.state.context,n),this.#i({type:`success`,data:a}),a}catch(t){try{await this.#n.config.onError?.(t,e,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,n)}catch(e){Promise.reject(e)}try{await this.#n.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,n)}catch(e){Promise.reject(e)}throw this.#i({type:`error`,error:t}),t}finally{this.#n.runNext(this)}}#i(e){let t=t=>{switch(e.type){case`failed`:return{...t,failureCount:e.failureCount,failureReason:e.error};case`pause`:return{...t,isPaused:!0};case`continue`:return{...t,isPaused:!1};case`pending`:return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:`pending`,variables:e.variables,submittedAt:Date.now()};case`success`:return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:`success`,isPaused:!1};case`error`:return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:`error`}}};this.state=t(this.state),E.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function qe(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Je=class extends v{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,n){let r=new Ke({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#e.add(e);let t=Ye(e);if(typeof t==`string`){let n=this.#t.get(t);n?n.push(e):this.#t.set(t,[e])}this.notify({type:`added`,mutation:e})}remove(e){if(this.#e.delete(e)){let t=Ye(e);if(typeof t==`string`){let n=this.#t.get(t);if(n){if(n.length>1){let t=n.indexOf(e);t!==-1&&n.splice(t,1)}else n[0]===e&&this.#t.delete(t)}}}this.notify({type:`removed`,mutation:e})}canRun(e){let t=Ye(e);if(typeof t==`string`){let n=this.#t.get(t)?.find(e=>e.state.status===`pending`);return!n||n===e}return!0}runNext(e){let t=Ye(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){E.batch(()=>{this.#e.forEach(e=>{this.notify({type:`removed`,mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>se(t,e))}findAll(e={}){return this.getAll().filter(t=>se(e,t))}notify(e){E.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return E.batch(()=>Promise.all(e.map(e=>e.continue().catch(ne))))}};function Ye(e){return e.options.scope?.id}var Xe=class extends v{#e;#t=void 0;#n;#r;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),fe(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&w(t.mutationKey)!==w(this.options.mutationKey)?this.reset():this.#n?.state.status===`pending`&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(e){this.#i(),this.#a(e)}getCurrentResult(){return this.#t}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#i(),this.#a()}mutate(e,t){return this.#r=t,this.#n?.removeObserver(this),this.#n=this.#e.getMutationCache().build(this.#e,this.options),this.#n.addObserver(this),this.#n.execute(e)}#i(){let e=this.#n?.state??qe();this.#t={...e,isPending:e.status===`pending`,isSuccess:e.status===`success`,isError:e.status===`error`,isIdle:e.status===`idle`,mutate:this.mutate,reset:this.reset}}#a(e){E.batch(()=>{if(this.#r&&this.hasListeners()){let t=this.#t.variables,n=this.#t.context,r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type===`success`){try{this.#r.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if(e?.type===`error`){try{this.#r.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#r.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},Ze=class extends v{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let r=t.queryKey,i=t.queryHash??ce(r,t),a=this.get(i);return a||(a=new Fe({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:`added`,query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:`removed`,query:e}))}clear(){E.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>C(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>C(e,t)):t}notify(e){E.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){E.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){E.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Qe=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Ze,this.#t=e.mutationCache||new Je,this.#n=e.defaultOptions||{},this.#r=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=y.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=De.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:`fetching`}).length}isMutating(e){return this.#t.findAll({...e,status:`pending`}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#e.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(S(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let r=this.defaultQueryOptions({queryKey:e}),i=this.#e.get(r.queryHash)?.state.data,a=re(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return E.batch(()=>this.#e.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){let t=this.#e;E.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return E.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=E.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(ne).catch(ne)}invalidateQueries(e,t={}){return E.batch(()=>(this.#e.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType===`none`?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??`active`},t)))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0},r=E.batch(()=>this.#e.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(ne)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(ne)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(S(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ne).catch(ne)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ne).catch(ne)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return De.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(w(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{le(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(w(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{le(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||=ce(t.queryKey,t),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!==`always`),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode=`offlineFirst`),t.queryFn===be&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},$e=o((e=>{(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===oe?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case ne:return`Suspense`;case re:return`SuspenseList`;case S: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 _:return`Portal`;case ee:return e.displayName||`Context`;case x:return(e._context.displayName||`Context`)+`.Consumer`;case te:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ie:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case ae:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===v)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===ae)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=C.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(se.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){le||(le=!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)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function l(){var e=t(this.type);return ue[e]||(ue[e]=!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.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:g,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,"ref",{enumerable:!1,value:null}):Object.defineProperty(e,"ref",{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function f(e,n,i,o,l,d){var f=n.children;if(f!==void 0){if(o){if(ce(f)){for(o=0;o<f.length;o++)p(f[o]);Object.freeze&&Object.freeze(f)}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 p(f)}if(se.call(n,`key`)){f=t(e);var m=Object.keys(n).filter(function(e){return e!==`key`});o=0<m.length?`{key: someKey, `+m.join(`: ..., `)+`: ...}`:`{key: someKey}`,pe[f+o]||(m=0<m.length?`{`+m.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
235
|
-
let props = %s;
|
|
236
|
-
<%s {...props} />
|
|
237
|
-
React keys must be passed directly to JSX without using spread:
|
|
238
|
-
let props = %s;
|
|
239
|
-
<%s key={someKey} {...props} />`,o,f,m,f),pe[f+o]=!0)}if(f=null,i!==void 0&&(r(i),f=``+i),s(n)&&(r(n.key),f=``+n.key),`key`in n)for(var h in i={},n)h!==`key`&&(i[h]=n[h]);else i=n;return f&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,f,i,a(),l,d)}function p(e){m(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===ae&&(e._payload.status===`fulfilled`?m(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function m(e){return typeof e==`object`&&!!e&&e.$$typeof===g}var h=d(),g=Symbol.for(`react.transitional.element`),_=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),x=Symbol.for(`react.consumer`),ee=Symbol.for(`react.context`),te=Symbol.for(`react.forward_ref`),ne=Symbol.for(`react.suspense`),re=Symbol.for(`react.suspense_list`),ie=Symbol.for(`react.memo`),ae=Symbol.for(`react.lazy`),S=Symbol.for(`react.activity`),oe=Symbol.for(`react.client.reference`),C=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se=Object.prototype.hasOwnProperty,ce=Array.isArray,w=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(e){return e()}};var le,ue={},de=h.react_stack_bottom_frame.bind(h,o)(),fe=w(i(o)),pe={};e.Fragment=v,e.jsx=function(e,t,n){var r=1e4>C.recentlyCreatedOwnerStacks++;return f(e,t,n,!1,r?Error(`react-stack-top-frame`):de,r?w(i(e)):fe)},e.jsxs=function(e,t,n){var r=1e4>C.recentlyCreatedOwnerStacks++;return f(e,t,n,!0,r?Error(`react-stack-top-frame`):de,r?w(i(e)):fe)}})()})),et=o(((e,t)=>{t.exports=$e()})),O=l(d(),1),tt=et(),nt=O.createContext(void 0),rt=e=>{let t=O.useContext(nt);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},it=({client:e,children:t})=>(O.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,tt.jsx)(nt.Provider,{value:e,children:t})),at=O.createContext(!1),ot=()=>O.useContext(at);at.Provider;function st(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var ct=O.createContext(st()),lt=()=>O.useContext(ct),ut=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?Se(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},dt=e=>{O.useEffect(()=>{e.clearReset()},[e])},ft=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||Se(n,[e.error,r])),pt=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},mt=(e,t)=>e.isLoading&&e.isFetching&&!t,ht=(e,t)=>e?.suspense&&t.isPending,gt=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function _t(e,t,n){if(typeof e!=`object`||Array.isArray(e))throw Error(`Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object`);let r=ot(),i=lt(),a=rt(n),o=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);let s=a.getQueryCache().get(o.queryHash);o.queryFn||console.error(`[${o.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`);let c=e.subscribed!==!1;o._optimisticResults=r?`isRestoring`:c?`optimistic`:void 0,pt(o),ut(o,i,s),dt(i);let l=!a.getQueryCache().get(o.queryHash),[u]=O.useState(()=>new t(a,o)),d=u.getOptimisticResult(o),f=!r&&c;if(O.useSyncExternalStore(O.useCallback(e=>{let t=f?u.subscribe(E.batchCalls(e)):ne;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),O.useEffect(()=>{u.setOptions(o)},[o,u]),ht(o,d))throw gt(o,u,i);if(ft({result:d,errorResetBoundary:i,throwOnError:o.throwOnError,query:s,suspense:o.suspense}))throw d.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,d),o.experimental_prefetchInRender&&!we.isServer()&&mt(d,r)&&(l?gt(o,u,i):s?.promise)?.catch(ne).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?d:u.trackResult(d)}function vt(e,t){return _t(e,ze,t)}function yt(e,t){let n=rt(t),[r]=O.useState(()=>new Xe(n,e));O.useEffect(()=>{r.setOptions(e)},[r,e]);let i=O.useSyncExternalStore(O.useCallback(e=>r.subscribe(E.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=O.useCallback((e,t)=>{r.mutate(e,t).catch(ne)},[r]);if(i.error&&Se(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var bt=o((e=>{(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===oe?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case v:return`Fragment`;case b:return`Profiler`;case y:return`StrictMode`;case ne:return`Suspense`;case re:return`SuspenseList`;case S: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 _:return`Portal`;case ee:return e.displayName||`Context`;case x:return(e._context.displayName||`Context`)+`.Consumer`;case te:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ie:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case ae:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===v)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===ae)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=C.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(se.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){le||(le=!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)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function l(){var e=t(this.type);return ue[e]||(ue[e]=!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.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a){var o=n.ref;return e={$$typeof:g,type:e,key:t,props:n,_owner:r},(o===void 0?null:o)===null?Object.defineProperty(e,"ref",{enumerable:!1,value:null}):Object.defineProperty(e,"ref",{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function f(e,n,i,o,l,d){var f=n.children;if(f!==void 0){if(o){if(ce(f)){for(o=0;o<f.length;o++)p(f[o]);Object.freeze&&Object.freeze(f)}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 p(f)}if(se.call(n,`key`)){f=t(e);var m=Object.keys(n).filter(function(e){return e!==`key`});o=0<m.length?`{key: someKey, `+m.join(`: ..., `)+`: ...}`:`{key: someKey}`,pe[f+o]||(m=0<m.length?`{`+m.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
240
|
-
let props = %s;
|
|
241
|
-
<%s {...props} />
|
|
242
|
-
React keys must be passed directly to JSX without using spread:
|
|
243
|
-
let props = %s;
|
|
244
|
-
<%s key={someKey} {...props} />`,o,f,m,f),pe[f+o]=!0)}if(f=null,i!==void 0&&(r(i),f=``+i),s(n)&&(r(n.key),f=``+n.key),`key`in n)for(var h in i={},n)h!==`key`&&(i[h]=n[h]);else i=n;return f&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,f,i,a(),l,d)}function p(e){m(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===ae&&(e._payload.status===`fulfilled`?m(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function m(e){return typeof e==`object`&&!!e&&e.$$typeof===g}var h=d(),g=Symbol.for(`react.transitional.element`),_=Symbol.for(`react.portal`),v=Symbol.for(`react.fragment`),y=Symbol.for(`react.strict_mode`),b=Symbol.for(`react.profiler`),x=Symbol.for(`react.consumer`),ee=Symbol.for(`react.context`),te=Symbol.for(`react.forward_ref`),ne=Symbol.for(`react.suspense`),re=Symbol.for(`react.suspense_list`),ie=Symbol.for(`react.memo`),ae=Symbol.for(`react.lazy`),S=Symbol.for(`react.activity`),oe=Symbol.for(`react.client.reference`),C=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se=Object.prototype.hasOwnProperty,ce=Array.isArray,w=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(e){return e()}};var le,ue={},de=h.react_stack_bottom_frame.bind(h,o)(),fe=w(i(o)),pe={};e.Fragment=v,e.jsxDEV=function(e,t,n,r){var a=1e4>C.recentlyCreatedOwnerStacks++;return f(e,t,n,r,a?Error(`react-stack-top-frame`):de,a?w(i(e)):fe)}})()})),xt=o(((e,t)=>{t.exports=bt()})),St=_(),k=xt(),Ct=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/shell/Rail.tsx`,wt=[{key:`sessions`,label:`Sessions`,route:{name:`sessions`},icon:(0,k.jsxDEV)(`svg`,{viewBox:`0 0 20 20`,"aria-hidden":`true`,children:[(0,k.jsxDEV)(`rect`,{x:`3`,y:`3.5`,width:`14`,height:`13`,rx:`2.5`},void 0,!1,{fileName:Ct,lineNumber:27,columnNumber:9},void 0),(0,k.jsxDEV)(`path`,{d:`M6.5 8h7M6.5 11.5h4.5`},void 0,!1,{fileName:Ct,lineNumber:28,columnNumber:9},void 0)]},void 0,!0,{fileName:Ct,lineNumber:26,columnNumber:7},void 0)},{key:`packages`,label:`Packages`,soon:!0,icon:(0,k.jsxDEV)(`svg`,{viewBox:`0 0 20 20`,"aria-hidden":`true`,children:[(0,k.jsxDEV)(`path`,{d:`M10 2.8 16.5 6v8L10 17.2 3.5 14V6z`},void 0,!1,{fileName:Ct,lineNumber:38,columnNumber:9},void 0),(0,k.jsxDEV)(`path`,{d:`M3.5 6 10 9.4 16.5 6M10 9.4v7.8`},void 0,!1,{fileName:Ct,lineNumber:39,columnNumber:9},void 0)]},void 0,!0,{fileName:Ct,lineNumber:37,columnNumber:7},void 0)}];function Tt({route:e,onNavigate:t,onOpenPalette:n,live:r}){return(0,k.jsxDEV)(`nav`,{className:`rail`,"aria-label":`Primary`,children:[(0,k.jsxDEV)(`div`,{className:`rail__mark`,title:`Invariant`,children:(0,k.jsxDEV)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,children:[(0,k.jsxDEV)(`path`,{d:`M12 3.2 20 7.6v8.8L12 20.8 4 16.4V7.6z`},void 0,!1,{fileName:Ct,lineNumber:55,columnNumber:11},this),(0,k.jsxDEV)(`path`,{d:`M12 8.4v7.2`},void 0,!1,{fileName:Ct,lineNumber:56,columnNumber:11},this)]},void 0,!0,{fileName:Ct,lineNumber:54,columnNumber:9},this)},void 0,!1,{fileName:Ct,lineNumber:53,columnNumber:7},this),(0,k.jsxDEV)(`div`,{className:`rail__items`,children:wt.map(n=>{let r=n.route?.name===e.name;return(0,k.jsxDEV)(`button`,{type:`button`,className:`rail__item${r?` is-active`:``}${n.soon?` is-soon`:``}`,onClick:()=>n.route&&t(n.route),disabled:n.soon,title:n.soon?`${n.label} — coming soon`:n.label,"aria-current":r?`page`:void 0,children:[n.icon,(0,k.jsxDEV)(`span`,{className:`visually-hidden`,children:n.label},void 0,!1,{fileName:Ct,lineNumber:74,columnNumber:15},this)]},n.key,!0,{fileName:Ct,lineNumber:64,columnNumber:13},this)})},void 0,!1,{fileName:Ct,lineNumber:60,columnNumber:7},this),(0,k.jsxDEV)(`div`,{className:`rail__foot`,children:[(0,k.jsxDEV)(`button`,{type:`button`,className:`rail__item`,onClick:n,title:`Command palette (⌘K)`,children:[(0,k.jsxDEV)(`svg`,{viewBox:`0 0 20 20`,"aria-hidden":`true`,children:[(0,k.jsxDEV)(`rect`,{x:`3`,y:`4.5`,width:`14`,height:`11`,rx:`2.5`},void 0,!1,{fileName:Ct,lineNumber:83,columnNumber:13},this),(0,k.jsxDEV)(`path`,{d:`M6.5 9 8.6 11 6.5 13M11 13h3`},void 0,!1,{fileName:Ct,lineNumber:84,columnNumber:13},this)]},void 0,!0,{fileName:Ct,lineNumber:82,columnNumber:11},this),(0,k.jsxDEV)(`span`,{className:`visually-hidden`,children:`Command palette`},void 0,!1,{fileName:Ct,lineNumber:86,columnNumber:11},this)]},void 0,!0,{fileName:Ct,lineNumber:81,columnNumber:9},this),(0,k.jsxDEV)(`span`,{className:`rail__live rail__live--${r}`,title:r===`live`?`Live — watching for changes`:r===`connecting`?`Connecting…`:`Disconnected — retrying`},void 0,!1,{fileName:Ct,lineNumber:88,columnNumber:9},this)]},void 0,!0,{fileName:Ct,lineNumber:80,columnNumber:7},this)]},void 0,!0,{fileName:Ct,lineNumber:52,columnNumber:5},this)}var Et=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/ui/StatusGlyph.tsx`;function Dt({status:e,size:t=10}){return(0,k.jsxDEV)(`span`,{className:`glyph glyph--${e}`,style:{width:t,height:t},"aria-hidden":`true`,children:[e===`in-progress`&&(0,k.jsxDEV)(`span`,{className:`glyph__pulse`},void 0,!1,{fileName:Et,lineNumber:19,columnNumber:36},this),e===`executed`&&(0,k.jsxDEV)(`svg`,{className:`glyph__check`,viewBox:`0 0 10 10`,focusable:`false`,children:(0,k.jsxDEV)(`path`,{d:`M2.2 5.2 4.1 7 7.8 3.2`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`},void 0,!1,{fileName:Et,lineNumber:22,columnNumber:11},this)},void 0,!1,{fileName:Et,lineNumber:21,columnNumber:9},this)]},void 0,!0,{fileName:Et,lineNumber:14,columnNumber:5},this)}var Ot=[[60,1,`s`],[3600,60,`m`],[86400,3600,`h`],[2592e3,86400,`d`]];function kt(e){let t=new Date(e).getTime();if(Number.isNaN(t))return`—`;let n=Math.max(0,Math.round((Date.now()-t)/1e3));if(n<10)return`just now`;for(let[e,t,r]of Ot)if(n<e)return`${Math.floor(n/t)}${r} ago`;return new Date(t).toLocaleDateString(void 0,{month:`short`,day:`numeric`})}function At(e){let t=new Date(e);return Number.isNaN(t.getTime())?e:t.toLocaleString()}function jt(e){return e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function Mt(e,t){if(t.length===0)return 0;let n=e.toLowerCase(),r=t.toLowerCase(),i=0,a=0,o=0;for(let e of r){let t=n.indexOf(e,a);if(t===-1)return null;o=t===a?o+1:0,i+=10+o*6,(t===0||/[\s\-_/.]/.test(n[t-1]))&&(i+=8),i-=Math.min(t-a,12),a=t+1}return i-n.length*.05}async function Nt(e){try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}function Pt(e,t=46){if(e.length<=t)return e;let n=e.split(`/`),r=[],i=1;for(let e=n.length-1;e>=0;--e){let a=i+n[e].length+1;if(a>t&&r.length>0)break;r.unshift(n[e]),i=a}return`…/${r.join(`/`)}`}var Ft=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/SessionCard.tsx`;function It(e){if(e.excerpt.length===0)return!1;let t=e.title.replace(/…$/,``).trim();return!e.excerpt.startsWith(t)}function Lt({session:e,focused:t,onOpen:n,onDragStart:r,onDragEnd:i}){return(0,k.jsxDEV)(`article`,{className:`card card--${e.status}${t?` is-focused`:``}`,tabIndex:-1,draggable:!0,onDragStart:t=>{t.dataTransfer.setData(`text/plain`,e.id),t.dataTransfer.effectAllowed=`move`,r()},onDragEnd:i,onClick:n,onKeyDown:e=>{e.key===`Enter`&&n()},role:`button`,"aria-label":`${e.title} — ${e.status}`,children:[(0,k.jsxDEV)(`header`,{className:`card__head`,children:[(0,k.jsxDEV)(Dt,{status:e.status},void 0,!1,{fileName:Ft,lineNumber:42,columnNumber:9},this),(0,k.jsxDEV)(`h3`,{className:`card__title`,children:e.title},void 0,!1,{fileName:Ft,lineNumber:43,columnNumber:9},this)]},void 0,!0,{fileName:Ft,lineNumber:41,columnNumber:7},this),It(e)&&(0,k.jsxDEV)(`p`,{className:`card__excerpt`,children:e.excerpt},void 0,!1,{fileName:Ft,lineNumber:46,columnNumber:32},this),(0,k.jsxDEV)(`footer`,{className:`card__foot`,children:[(0,k.jsxDEV)(`span`,{className:`card__time`,title:e.updated,children:kt(e.updated)},void 0,!1,{fileName:Ft,lineNumber:49,columnNumber:9},this),e.tags.slice(0,3).map(e=>(0,k.jsxDEV)(`span`,{className:`chip`,children:e},e,!1,{fileName:Ft,lineNumber:51,columnNumber:11},this)),e.needsMigration&&(0,k.jsxDEV)(`span`,{className:`chip chip--warning`,title:e.issues.join(`
|
|
245
|
-
`),children:`header`},void 0,!1,{fileName:Ft,lineNumber:54,columnNumber:11},this)]},void 0,!0,{fileName:Ft,lineNumber:48,columnNumber:7},this)]},void 0,!0,{fileName:Ft,lineNumber:26,columnNumber:5},this)}var Rt=[`in-progress`,`draft`,`planned`,`executed`],zt={"in-progress":`In progress`,draft:`Draft`,planned:`Planned`,executed:`Done`},Bt=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/ui/StatusPill.tsx`;function Vt({status:e,onChange:t,disabled:n}){let[r,i]=(0,O.useState)(!1),a=(0,O.useRef)(null);return(0,O.useEffect)(()=>{if(!r)return;let e=e=>{a.current?.contains(e.target)||i(!1)},t=e=>{e.key===`Escape`&&i(!1)};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[r]),t?(0,k.jsxDEV)(`div`,{className:`pill-menu`,ref:a,children:[(0,k.jsxDEV)(`button`,{type:`button`,className:`pill pill--${e} pill--interactive`,onClick:()=>i(e=>!e),disabled:n,"aria-haspopup":`menu`,"aria-expanded":r,children:[(0,k.jsxDEV)(Dt,{status:e},void 0,!1,{fileName:Bt,lineNumber:51,columnNumber:9},this),zt[e],(0,k.jsxDEV)(`svg`,{className:`pill__caret`,viewBox:`0 0 10 10`,"aria-hidden":`true`,children:(0,k.jsxDEV)(`path`,{d:`M2.5 4 5 6.5 7.5 4`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.4`,strokeLinecap:`round`,strokeLinejoin:`round`},void 0,!1,{fileName:Bt,lineNumber:54,columnNumber:11},this)},void 0,!1,{fileName:Bt,lineNumber:53,columnNumber:9},this)]},void 0,!0,{fileName:Bt,lineNumber:43,columnNumber:7},this),r&&(0,k.jsxDEV)(`div`,{className:`pill-menu__list`,role:`menu`,children:Rt.map(n=>(0,k.jsxDEV)(`button`,{type:`button`,role:`menuitemradio`,"aria-checked":n===e,className:`pill-menu__item${n===e?` is-active`:``}`,onClick:()=>{i(!1),n!==e&&t(n)},children:[(0,k.jsxDEV)(Dt,{status:n},void 0,!1,{fileName:Bt,lineNumber:73,columnNumber:15},this),zt[n]]},n,!0,{fileName:Bt,lineNumber:62,columnNumber:13},this))},void 0,!1,{fileName:Bt,lineNumber:60,columnNumber:9},this)]},void 0,!0,{fileName:Bt,lineNumber:42,columnNumber:5},this):(0,k.jsxDEV)(`span`,{className:`pill pill--${e}`,children:[(0,k.jsxDEV)(Dt,{status:e},void 0,!1,{fileName:Bt,lineNumber:35,columnNumber:9},this),zt[e]]},void 0,!0,{fileName:Bt,lineNumber:34,columnNumber:7},this)}var A=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/Dashboard.tsx`;function Ht(e){return e.view===`board`?(0,k.jsxDEV)(Ut,{...e},void 0,!1,{fileName:A,lineNumber:22,columnNumber:35},this):(0,k.jsxDEV)(Wt,{...e},void 0,!1,{fileName:A,lineNumber:22,columnNumber:58},this)}function Ut({sessions:e,focusedId:t,onFocus:n,onOpen:r,onStatusChange:i,onNew:a}){let[o,s]=(0,O.useState)(!1),[c,l]=(0,O.useState)(),[u,d]=(0,O.useState)(),f=(0,O.useMemo)(()=>Rt.map(t=>({status:t,items:e.filter(e=>e.status===t)})),[e]);return(0,k.jsxDEV)(`div`,{className:`board`,children:f.map(f=>{let p=f.status===`executed`,m=p&&!o;return(0,k.jsxDEV)(`section`,{className:`column column--${f.status}${m?` is-collapsed`:``}${u===f.status?` is-drop-target`:``}`,onDragOver:e=>{c&&(e.preventDefault(),d(f.status))},onDragLeave:()=>d(e=>e===f.status?void 0:e),onDrop:t=>{t.preventDefault();let n=t.dataTransfer.getData(`text/plain`);d(void 0),l(void 0);let r=e.find(e=>e.id===n);r&&r.status!==f.status&&i(n,f.status)},children:[(0,k.jsxDEV)(`header`,{className:`column__head`,children:[(0,k.jsxDEV)(Dt,{status:f.status},void 0,!1,{fileName:A,lineNumber:67,columnNumber:15},this),(0,k.jsxDEV)(`h2`,{className:`column__title`,children:zt[f.status]},void 0,!1,{fileName:A,lineNumber:68,columnNumber:15},this),(0,k.jsxDEV)(`span`,{className:`column__count`,children:f.items.length},void 0,!1,{fileName:A,lineNumber:69,columnNumber:15},this),p&&f.items.length>0&&(0,k.jsxDEV)(`button`,{type:`button`,className:`column__toggle`,onClick:()=>s(e=>!e),children:o?`Hide`:`Show`},void 0,!1,{fileName:A,lineNumber:71,columnNumber:17},this)]},void 0,!0,{fileName:A,lineNumber:66,columnNumber:13},this),!m&&(0,k.jsxDEV)(`div`,{className:`column__body`,children:[f.items.map(e=>(0,k.jsxDEV)(Lt,{session:e,focused:e.id===t,onOpen:()=>{n(e.id),r(e.id)},onDragStart:()=>l(e.id),onDragEnd:()=>{l(void 0),d(void 0)}},e.id,!1,{fileName:A,lineNumber:80,columnNumber:19},this)),f.items.length===0&&(0,k.jsxDEV)(`p`,{className:`column__empty`,children:f.status===`draft`?(0,k.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:a,children:`Start a session`},void 0,!1,{fileName:A,lineNumber:93,columnNumber:23},this):`Nothing here`},void 0,!1,{fileName:A,lineNumber:91,columnNumber:19},this)]},void 0,!0,{fileName:A,lineNumber:78,columnNumber:15},this)]},f.status,!0,{fileName:A,lineNumber:46,columnNumber:11},this)})},void 0,!1,{fileName:A,lineNumber:40,columnNumber:5},this)}function Wt({sessions:e,focusedId:t,onFocus:n,onOpen:r,onStatusChange:i}){let a=(0,O.useRef)(null);return(0,O.useEffect)(()=>{a.current?.scrollIntoView({block:`nearest`})},[t]),(0,k.jsxDEV)(`div`,{className:`list`,children:(0,k.jsxDEV)(`table`,{className:`list__table`,children:[(0,k.jsxDEV)(`thead`,{children:(0,k.jsxDEV)(`tr`,{children:[(0,k.jsxDEV)(`th`,{scope:`col`,children:`Session`},void 0,!1,{fileName:A,lineNumber:117,columnNumber:13},this),(0,k.jsxDEV)(`th`,{scope:`col`,children:`Status`},void 0,!1,{fileName:A,lineNumber:118,columnNumber:13},this),(0,k.jsxDEV)(`th`,{scope:`col`,children:`Updated`},void 0,!1,{fileName:A,lineNumber:119,columnNumber:13},this),(0,k.jsxDEV)(`th`,{scope:`col`,children:`Size`},void 0,!1,{fileName:A,lineNumber:120,columnNumber:13},this)]},void 0,!0,{fileName:A,lineNumber:116,columnNumber:11},this)},void 0,!1,{fileName:A,lineNumber:115,columnNumber:9},this),(0,k.jsxDEV)(`tbody`,{children:e.map(e=>(0,k.jsxDEV)(`tr`,{ref:e.id===t?a:void 0,className:e.id===t?`is-focused`:void 0,onClick:()=>{n(e.id),r(e.id)},children:[(0,k.jsxDEV)(`td`,{children:[(0,k.jsxDEV)(`div`,{className:`list__title`,children:e.title},void 0,!1,{fileName:A,lineNumber:132,columnNumber:17},this),!e.excerpt.startsWith(e.title.replace(/…$/,``).trim())&&(0,k.jsxDEV)(`div`,{className:`list__excerpt`,children:e.excerpt},void 0,!1,{fileName:A,lineNumber:134,columnNumber:19},this)]},void 0,!0,{fileName:A,lineNumber:131,columnNumber:15},this),(0,k.jsxDEV)(`td`,{onClick:e=>e.stopPropagation(),children:(0,k.jsxDEV)(Vt,{status:e.status,onChange:t=>i(e.id,t)},void 0,!1,{fileName:A,lineNumber:138,columnNumber:17},this)},void 0,!1,{fileName:A,lineNumber:137,columnNumber:15},this),(0,k.jsxDEV)(`td`,{className:`list__meta`,title:e.updated,children:kt(e.updated)},void 0,!1,{fileName:A,lineNumber:143,columnNumber:15},this),(0,k.jsxDEV)(`td`,{className:`list__meta`,children:jt(e.sizeBytes)},void 0,!1,{fileName:A,lineNumber:144,columnNumber:15},this)]},e.id,!0,{fileName:A,lineNumber:125,columnNumber:13},this))},void 0,!1,{fileName:A,lineNumber:123,columnNumber:9},this)]},void 0,!0,{fileName:A,lineNumber:114,columnNumber:7},this)},void 0,!1,{fileName:A,lineNumber:113,columnNumber:5},this)}var Gt=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/ConflictBanner.tsx`;function Kt({onKeepMine:e,onTakeTheirs:t,onDismiss:n}){return(0,k.jsxDEV)(`div`,{className:`banner banner--conflict`,role:`alert`,children:[(0,k.jsxDEV)(`div`,{className:`banner__text`,children:[(0,k.jsxDEV)(`strong`,{children:`This session changed on disk.`},void 0,!1,{fileName:Gt,lineNumber:15,columnNumber:9},this),` Your editor still holds the version you loaded.`]},void 0,!0,{fileName:Gt,lineNumber:14,columnNumber:7},this),(0,k.jsxDEV)(`div`,{className:`banner__actions`,children:[(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:t,children:`Take theirs`},void 0,!1,{fileName:Gt,lineNumber:18,columnNumber:9},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:e,children:`Keep mine`},void 0,!1,{fileName:Gt,lineNumber:19,columnNumber:9},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,onClick:n,children:`Later`},void 0,!1,{fileName:Gt,lineNumber:20,columnNumber:9},this)]},void 0,!0,{fileName:Gt,lineNumber:17,columnNumber:7},this)]},void 0,!0,{fileName:Gt,lineNumber:13,columnNumber:5},this)}var qt=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/ui/Toasts.tsx`,Jt=(0,O.createContext)(()=>void 0);function Yt(){return(0,O.useContext)(Jt)}var Xt=3400;function Zt({children:e}){let[t,n]=(0,O.useState)([]),r=(0,O.useCallback)((e,t=`info`)=>{let r=Date.now()+Math.random();n(n=>[...n,{id:r,message:e,tone:t}]),setTimeout(()=>n(e=>e.filter(e=>e.id!==r)),Xt)},[]),i=(0,O.useMemo)(()=>r,[r]);return(0,k.jsxDEV)(Jt.Provider,{value:i,children:[e,(0,k.jsxDEV)(`div`,{className:`toasts`,role:`status`,"aria-live":`polite`,children:t.map(e=>(0,k.jsxDEV)(`div`,{className:`toast toast--${e.tone}`,children:e.message},e.id,!1,{fileName:qt,lineNumber:35,columnNumber:11},this))},void 0,!1,{fileName:qt,lineNumber:33,columnNumber:7},this)]},void 0,!0,{fileName:qt,lineNumber:31,columnNumber:5},this)}function Qt(){let e=document.querySelector(`meta[name="invariant-ui-token"]`)?.content??``;return e.startsWith(`__`)?``:e}var $t=Qt(),en=class extends Error{status;code;detail;constructor(e,t,n,r={code:t,message:n}){super(n),this.status=e,this.code=t,this.detail=r,this.name=`ApiError`}get isConflict(){return this.status===409}};async function tn(e,t={}){let n=await fetch(e,{...t,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${$t}`,...t.headers??{}}});if(!n.ok){let e=await n.json().catch(()=>void 0);throw new en(n.status,e?.error.code??`UNKNOWN`,e?.error.message??`Request failed with ${n.status}.`,e?.error)}if(n.status!==204)return await n.json()}var nn={project:()=>tn(`/api/project`),listSessions:()=>tn(`/api/sessions`),getSession:e=>tn(`/api/sessions/${e}`),saveSession:e=>tn(`/api/sessions/${e.sessionId}`,{method:`PUT`,headers:e.force?{}:{"If-Match":e.etag},body:JSON.stringify({body:e.body,force:e.force===!0})}),setStatus:e=>tn(`/api/sessions/${e.sessionId}/status`,{method:`PATCH`,body:JSON.stringify({status:e.status,summary:e.summary})}),createSession:e=>tn(`/api/sessions`,{method:`POST`,body:JSON.stringify(e)}),archiveSession:e=>tn(`/api/sessions/${e}`,{method:`DELETE`}),migrateHeader:e=>tn(e?`/api/sessions/${e}/migrate-header`:`/api/sessions/migrate-header`,{method:`POST`}),shutdown:()=>tn(`/api/shutdown`,{method:`POST`}),eventsUrl:()=>`/api/events?token=${encodeURIComponent($t)}`},rn={project:[`project`],sessions:[`sessions`],session:e=>[`session`,e]};function an(){return vt({queryKey:rn.project,queryFn:nn.project,staleTime:6e4})}function on(){return vt({queryKey:rn.sessions,queryFn:nn.listSessions})}function sn(e){return vt({queryKey:rn.session(e??``),queryFn:()=>nn.getSession(e),enabled:e!==void 0})}function cn(){let e=rt();return yt({mutationFn:nn.setStatus,onSuccess:t=>{e.setQueryData(rn.session(t.id),t),e.invalidateQueries({queryKey:rn.sessions})}})}function ln(){let e=rt();return yt({mutationFn:nn.saveSession,onSuccess:t=>{e.setQueryData(rn.session(t.id),t),e.invalidateQueries({queryKey:rn.sessions})}})}function un(){let e=rt();return yt({mutationFn:nn.createSession,onSuccess:()=>e.invalidateQueries({queryKey:rn.sessions})})}function dn(){let e=rt();return yt({mutationFn:nn.archiveSession,onSuccess:()=>e.invalidateQueries({queryKey:rn.sessions})})}function fn(){let e=rt();return yt({mutationFn:e=>nn.migrateHeader(e),onSuccess:()=>e.invalidateQueries({queryKey:rn.sessions})})}function pn(){let e=rt(),[t,n]=(0,O.useState)(`connecting`);return(0,O.useEffect)(()=>{let t=new EventSource(nn.eventsUrl()),r=t=>{e.invalidateQueries({queryKey:rn.sessions});try{let n=JSON.parse(t.data);n.sessionId&&e.invalidateQueries({queryKey:rn.session(n.sessionId)})}catch{}};t.onopen=()=>n(`live`),t.onerror=()=>n(`offline`);for(let e of[`session.created`,`session.updated`,`session.deleted`])t.addEventListener(e,r);let i=()=>{e.invalidateQueries({queryKey:rn.sessions})};return window.addEventListener(`focus`,i),()=>{t.close(),window.removeEventListener(`focus`,i)}},[e]),t}var mn=`modulepreload`,hn=function(e){return`/`+e},gn={},_n=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=hn(t,n),t=s(t),t in gn)return;gn[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:mn,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},j=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/SessionPage.tsx`,vn=(0,O.lazy)(()=>_n(()=>import(`./Editor-ruHCmT7W.js`).then(e=>({default:e.Editor})),[])),yn=(0,O.lazy)(()=>_n(()=>import(`./Preview-CKHBYIoB.js`).then(e=>({default:e.Preview})),[])),bn=1200;function xn({sessionId:e,mode:t,onModeChange:n,onBack:r,onArchived:i}){let a=Yt(),{data:o,isLoading:s,error:c}=sn(e),l=ln(),u=cn(),d=dn(),f=fn(),[p,m]=(0,O.useState)(),[h,g]=(0,O.useState)(!1),_=(0,O.useRef)(``),v=(0,O.useRef)(null),y=p!==void 0&&o!==void 0&&p!==o.body;(0,O.useEffect)(()=>{if(o&&_.current!==o.etag){if(p===void 0||p===o.body||_.current===``){_.current=o.etag,m(o.body),g(!1);return}g(!0)}},[o,p]);let b=(0,O.useCallback)((t,n=!1)=>{o&&l.mutate({sessionId:e,body:t,etag:_.current,force:n},{onSuccess:e=>{_.current=e.etag,m(e.body),g(!1)},onError:e=>{if(e instanceof en&&e.isConflict){g(!0);return}a(e instanceof Error?e.message:`Could not save.`,`danger`)}})},[l,o,e,a]),x=(0,O.useCallback)(()=>{p!==void 0&&y&&b(p)},[p,y,b]);(0,O.useEffect)(()=>{if(!(!y||p===void 0||h))return v.current&&clearTimeout(v.current),v.current=setTimeout(()=>b(p),bn),()=>{v.current&&clearTimeout(v.current)}},[p,y,h,b]);let ee=(0,O.useMemo)(()=>o?`execute instructions from ${o.path}`:``,[o]);if(s)return(0,k.jsxDEV)(`div`,{className:`page-state`,children:`Loading session…`},void 0,!1,{fileName:j,lineNumber:97,columnNumber:25},this);if(c||!o)return(0,k.jsxDEV)(`div`,{className:`page-state`,children:[(0,k.jsxDEV)(`p`,{children:`This session could not be loaded.`},void 0,!1,{fileName:j,lineNumber:101,columnNumber:9},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:r,children:`Back to sessions`},void 0,!1,{fileName:j,lineNumber:102,columnNumber:9},this)]},void 0,!0,{fileName:j,lineNumber:100,columnNumber:7},this);let te=p??o.body;return(0,k.jsxDEV)(`div`,{className:`session`,children:[(0,k.jsxDEV)(`header`,{className:`session__head`,children:[(0,k.jsxDEV)(`button`,{type:`button`,className:`icon-button`,onClick:r,title:`Back (Esc)`,"aria-label":`Back`,children:(0,k.jsxDEV)(`svg`,{viewBox:`0 0 16 16`,"aria-hidden":`true`,children:(0,k.jsxDEV)(`path`,{d:`M9.5 3.5 5 8l4.5 4.5`,fill:`none`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`},void 0,!1,{fileName:j,lineNumber:114,columnNumber:13},this)},void 0,!1,{fileName:j,lineNumber:113,columnNumber:11},this)},void 0,!1,{fileName:j,lineNumber:112,columnNumber:9},this),(0,k.jsxDEV)(`div`,{className:`session__identity`,children:[(0,k.jsxDEV)(`h1`,{className:`session__title`,children:o.title},void 0,!1,{fileName:j,lineNumber:120,columnNumber:11},this),(0,k.jsxDEV)(`div`,{className:`session__meta`,children:[(0,k.jsxDEV)(`span`,{title:At(o.created),children:[`created `,kt(o.created)]},void 0,!0,{fileName:j,lineNumber:122,columnNumber:13},this),(0,k.jsxDEV)(`span`,{"aria-hidden":`true`,children:`·`},void 0,!1,{fileName:j,lineNumber:123,columnNumber:13},this),(0,k.jsxDEV)(`span`,{title:At(o.updated),children:[`updated `,kt(o.updated)]},void 0,!0,{fileName:j,lineNumber:124,columnNumber:13},this),y&&(0,k.jsxDEV)(`span`,{className:`session__dirty`,children:`unsaved`},void 0,!1,{fileName:j,lineNumber:125,columnNumber:23},this),l.isPending&&(0,k.jsxDEV)(`span`,{className:`session__saving`,children:`saving…`},void 0,!1,{fileName:j,lineNumber:126,columnNumber:32},this)]},void 0,!0,{fileName:j,lineNumber:121,columnNumber:11},this)]},void 0,!0,{fileName:j,lineNumber:119,columnNumber:9},this),(0,k.jsxDEV)(Vt,{status:o.status,onChange:t=>u.mutate({sessionId:e,status:t},{onError:()=>a(`Could not change the status.`,`danger`)})},void 0,!1,{fileName:j,lineNumber:130,columnNumber:9},this),(0,k.jsxDEV)(`div`,{className:`segmented`,role:`tablist`,"aria-label":`View mode`,children:[`preview`,`edit`,`split`].map(e=>(0,k.jsxDEV)(`button`,{type:`button`,role:`tab`,"aria-selected":t===e,className:`segmented__item${t===e?` is-active`:``}`,onClick:()=>n(e),title:e===`preview`?`Preview (⇧⌘V)`:e===`edit`?`Edit (⇧⌘V)`:`Split`,children:e[0].toUpperCase()+e.slice(1)},e,!1,{fileName:j,lineNumber:142,columnNumber:13},this))},void 0,!1,{fileName:j,lineNumber:140,columnNumber:9},this),(0,k.jsxDEV)(`div`,{className:`session__actions`,children:[(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:async()=>{a(await Nt(ee)?`Execute line copied`:`Could not copy`,`success`)},children:`Copy execute line`},void 0,!1,{fileName:j,lineNumber:157,columnNumber:11},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,onClick:()=>{window.confirm(`Archive this session? The file moves to .invariant/sessions/.archive/`)&&d.mutate(e,{onSuccess:()=>{a(`Session archived`,`success`),i()},onError:()=>a(`Could not archive the session.`,`danger`)})},children:`Archive`},void 0,!1,{fileName:j,lineNumber:166,columnNumber:11},this)]},void 0,!0,{fileName:j,lineNumber:156,columnNumber:9},this)]},void 0,!0,{fileName:j,lineNumber:111,columnNumber:7},this),h&&(0,k.jsxDEV)(Kt,{onKeepMine:()=>{p!==void 0&&b(p,!0)},onTakeTheirs:()=>{_.current=o.etag,m(o.body),g(!1)},onDismiss:()=>g(!1)},void 0,!1,{fileName:j,lineNumber:183,columnNumber:9},this),o.needsMigration&&(0,k.jsxDEV)(`div`,{className:`banner banner--warning`,children:[(0,k.jsxDEV)(`div`,{className:`banner__text`,children:[(0,k.jsxDEV)(`strong`,{children:`This session has no canonical header.`},void 0,!1,{fileName:j,lineNumber:193,columnNumber:13},this),` `,o.issues[0]]},void 0,!0,{fileName:j,lineNumber:192,columnNumber:11},this),(0,k.jsxDEV)(`div`,{className:`banner__actions`,children:(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:()=>f.mutate(e,{onSuccess:()=>a(`Header migrated`,`success`),onError:()=>a(`Could not migrate the header.`,`danger`)}),children:`Fix header`},void 0,!1,{fileName:j,lineNumber:196,columnNumber:13},this)},void 0,!1,{fileName:j,lineNumber:195,columnNumber:11},this)]},void 0,!0,{fileName:j,lineNumber:191,columnNumber:9},this),(0,k.jsxDEV)(`div`,{className:`session__body session__body--${t}`,children:(0,k.jsxDEV)(O.Suspense,{fallback:(0,k.jsxDEV)(`div`,{className:`page-state`,children:`Loading…`},void 0,!1,{fileName:j,lineNumber:213,columnNumber:29},this),children:[t!==`preview`&&(0,k.jsxDEV)(vn,{value:te,onChange:m,onSave:x},void 0,!1,{fileName:j,lineNumber:214,columnNumber:34},this),t!==`edit`&&(0,k.jsxDEV)(yn,{body:te,withToc:t===`preview`},void 0,!1,{fileName:j,lineNumber:215,columnNumber:31},this)]},void 0,!0,{fileName:j,lineNumber:213,columnNumber:9},this)},void 0,!1,{fileName:j,lineNumber:212,columnNumber:7},this)]},void 0,!0,{fileName:j,lineNumber:110,columnNumber:5},this)}var Sn=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/ui/Modal.tsx`;function Cn({title:e,onClose:t,children:n,footer:r,width:i=560}){let a=(0,O.useRef)(null);return(0,O.useEffect)(()=>{let e=e=>{e.key===`Escape`&&(e.stopPropagation(),t())};return document.addEventListener(`keydown`,e),a.current?.querySelector(`input, textarea, button`)?.focus(),()=>document.removeEventListener(`keydown`,e)},[t]),(0,k.jsxDEV)(`div`,{className:`overlay`,onMouseDown:e=>{e.target===e.currentTarget&&t()},children:(0,k.jsxDEV)(`div`,{className:`modal`,style:{maxWidth:i},role:`dialog`,"aria-modal":`true`,"aria-label":e,ref:a,children:[(0,k.jsxDEV)(`header`,{className:`modal__header`,children:[(0,k.jsxDEV)(`h2`,{className:`modal__title`,children:e},void 0,!1,{fileName:Sn,lineNumber:28,columnNumber:11},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`icon-button`,onClick:t,"aria-label":`Close`,children:(0,k.jsxDEV)(`svg`,{viewBox:`0 0 14 14`,"aria-hidden":`true`,children:(0,k.jsxDEV)(`path`,{d:`M3.5 3.5l7 7M10.5 3.5l-7 7`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`},void 0,!1,{fileName:Sn,lineNumber:31,columnNumber:15},this)},void 0,!1,{fileName:Sn,lineNumber:30,columnNumber:13},this)},void 0,!1,{fileName:Sn,lineNumber:29,columnNumber:11},this)]},void 0,!0,{fileName:Sn,lineNumber:27,columnNumber:9},this),(0,k.jsxDEV)(`div`,{className:`modal__body`,children:n},void 0,!1,{fileName:Sn,lineNumber:35,columnNumber:9},this),r&&(0,k.jsxDEV)(`footer`,{className:`modal__footer`,children:r},void 0,!1,{fileName:Sn,lineNumber:36,columnNumber:20},this)]},void 0,!0,{fileName:Sn,lineNumber:26,columnNumber:7},this)},void 0,!1,{fileName:Sn,lineNumber:25,columnNumber:5},this)}var wn=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/NewSessionModal.tsx`;function Tn({busy:e,onClose:t,onSubmit:n}){let[r,i]=(0,O.useState)(``),[a,o]=(0,O.useState)(``),[s,c]=(0,O.useState)(!1),l=()=>{let t=r.trim();t.length===0||e||n({prompt:t,context:a.trim()||void 0,full:s||void 0})};return(0,k.jsxDEV)(Cn,{title:`New session`,onClose:t,width:620,footer:(0,k.jsxDEV)(k.Fragment,{children:[(0,k.jsxDEV)(`span`,{className:`modal__hint`,children:[`Runs `,(0,k.jsxDEV)(`code`,{children:`invariant plan`},void 0,!1,{fileName:wn,lineNumber:32,columnNumber:46},this),` in this project`]},void 0,!0,{fileName:wn,lineNumber:32,columnNumber:11},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,onClick:t,children:`Cancel`},void 0,!1,{fileName:wn,lineNumber:33,columnNumber:11},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:l,disabled:e||r.trim().length===0,children:e?`Creating…`:`Create session ⌘↵`},void 0,!1,{fileName:wn,lineNumber:34,columnNumber:11},this)]},void 0,!0,{fileName:wn,lineNumber:31,columnNumber:9},this),children:[(0,k.jsxDEV)(`label`,{className:`field`,children:[(0,k.jsxDEV)(`span`,{className:`field__label`,children:`Task`},void 0,!1,{fileName:wn,lineNumber:41,columnNumber:9},this),(0,k.jsxDEV)(`textarea`,{className:`field__input field__input--area`,rows:6,value:r,placeholder:`Describe what should be planned and built…`,onChange:e=>i(e.target.value),onKeyDown:e=>{(e.metaKey||e.ctrlKey)&&e.key===`Enter`&&(e.preventDefault(),l())}},void 0,!1,{fileName:wn,lineNumber:42,columnNumber:9},this)]},void 0,!0,{fileName:wn,lineNumber:40,columnNumber:7},this),(0,k.jsxDEV)(`div`,{className:`field-row`,children:[(0,k.jsxDEV)(`label`,{className:`field`,children:[(0,k.jsxDEV)(`span`,{className:`field__label`,children:[`Context `,(0,k.jsxDEV)(`span`,{className:`field__optional`,children:`optional`},void 0,!1,{fileName:wn,lineNumber:56,columnNumber:50},this)]},void 0,!0,{fileName:wn,lineNumber:56,columnNumber:11},this),(0,k.jsxDEV)(`input`,{className:`field__input`,value:a,placeholder:`package/context-name`,onChange:e=>o(e.target.value)},void 0,!1,{fileName:wn,lineNumber:57,columnNumber:11},this)]},void 0,!0,{fileName:wn,lineNumber:55,columnNumber:9},this),(0,k.jsxDEV)(`label`,{className:`checkbox`,children:[(0,k.jsxDEV)(`input`,{type:`checkbox`,checked:s,onChange:e=>c(e.target.checked)},void 0,!1,{fileName:wn,lineNumber:66,columnNumber:11},this),(0,k.jsxDEV)(`span`,{children:[`Inline full instructions (`,(0,k.jsxDEV)(`code`,{children:`--full`},void 0,!1,{fileName:wn,lineNumber:67,columnNumber:43},this),`)`]},void 0,!0,{fileName:wn,lineNumber:67,columnNumber:11},this)]},void 0,!0,{fileName:wn,lineNumber:65,columnNumber:9},this)]},void 0,!0,{fileName:wn,lineNumber:54,columnNumber:7},this)]},void 0,!0,{fileName:wn,lineNumber:26,columnNumber:5},this)}var En=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/palette/CommandPalette.tsx`,Dn=40;function On({actions:e,onClose:t}){let[n,r]=(0,O.useState)(``),[i,a]=(0,O.useState)(0),o=(0,O.useRef)(null),s=(0,O.useMemo)(()=>n.trim().length===0?e.slice(0,Dn):e.map(e=>({action:e,score:Mt(`${e.title} ${e.group} ${e.keywords??``}`,n.trim())})).filter(e=>e.score!==null).sort((e,t)=>t.score-e.score).slice(0,Dn).map(e=>e.action),[e,n]);(0,O.useEffect)(()=>{a(0)},[n]),(0,O.useEffect)(()=>{o.current?.querySelector(`[data-active="true"]`)?.scrollIntoView({block:`nearest`})},[i,s]);let c=e=>{if(e.key===`ArrowDown`||e.key===`n`&&e.ctrlKey){e.preventDefault(),a(e=>(e+1)%Math.max(s.length,1));return}if(e.key===`ArrowUp`||e.key===`p`&&e.ctrlKey){e.preventDefault(),a(e=>(e-1+Math.max(s.length,1))%Math.max(s.length,1));return}if(e.key===`Enter`){e.preventDefault();let n=s[i];n&&(t(),n.run());return}e.key===`Escape`&&(e.preventDefault(),t())},l=``;return(0,k.jsxDEV)(`div`,{className:`overlay overlay--top`,onMouseDown:e=>{e.target===e.currentTarget&&t()},children:(0,k.jsxDEV)(`div`,{className:`palette`,role:`dialog`,"aria-modal":`true`,"aria-label":`Command palette`,children:[(0,k.jsxDEV)(`input`,{className:`palette__input`,autoFocus:!0,value:n,placeholder:`Search sessions and commands…`,onChange:e=>r(e.target.value),onKeyDown:c,"aria-label":`Search sessions and commands`},void 0,!1,{fileName:En,lineNumber:79,columnNumber:9},this),(0,k.jsxDEV)(`div`,{className:`palette__list`,ref:o,role:`listbox`,children:[s.length===0&&(0,k.jsxDEV)(`p`,{className:`palette__empty`,children:`No matches`},void 0,!1,{fileName:En,lineNumber:90,columnNumber:36},this),s.map((e,n)=>{let r=e.group===l?void 0:e.group;return l=e.group,(0,k.jsxDEV)(`div`,{children:[r&&(0,k.jsxDEV)(`div`,{className:`palette__group`,children:r},void 0,!1,{fileName:En,lineNumber:98,columnNumber:28},this),(0,k.jsxDEV)(`button`,{type:`button`,role:`option`,"aria-selected":n===i,"data-active":n===i,className:`palette__item${n===i?` is-active`:``}`,onMouseMove:()=>a(n),onClick:()=>{t(),e.run()},children:[e.status&&(0,k.jsxDEV)(Dt,{status:e.status},void 0,!1,{fileName:En,lineNumber:108,columnNumber:37},this),(0,k.jsxDEV)(`span`,{className:`palette__title`,children:e.title},void 0,!1,{fileName:En,lineNumber:109,columnNumber:19},this),e.hint&&(0,k.jsxDEV)(`span`,{className:`palette__hint`,children:e.hint},void 0,!1,{fileName:En,lineNumber:110,columnNumber:35},this),e.shortcut&&(0,k.jsxDEV)(`kbd`,{className:`palette__shortcut`,children:e.shortcut},void 0,!1,{fileName:En,lineNumber:111,columnNumber:39},this)]},void 0,!0,{fileName:En,lineNumber:99,columnNumber:17},this)]},e.id,!0,{fileName:En,lineNumber:97,columnNumber:15},this)})]},void 0,!0,{fileName:En,lineNumber:89,columnNumber:9},this),(0,k.jsxDEV)(`footer`,{className:`palette__foot`,children:[(0,k.jsxDEV)(`kbd`,{children:`↑`},void 0,!1,{fileName:En,lineNumber:119,columnNumber:11},this),(0,k.jsxDEV)(`kbd`,{children:`↓`},void 0,!1,{fileName:En,lineNumber:119,columnNumber:23},this),` navigate `,(0,k.jsxDEV)(`kbd`,{children:`↵`},void 0,!1,{fileName:En,lineNumber:119,columnNumber:45},this),` run `,(0,k.jsxDEV)(`kbd`,{children:`esc`},void 0,!1,{fileName:En,lineNumber:119,columnNumber:62},this),` close`]},void 0,!0,{fileName:En,lineNumber:118,columnNumber:9},this)]},void 0,!0,{fileName:En,lineNumber:78,columnNumber:7},this)},void 0,!1,{fileName:En,lineNumber:77,columnNumber:5},this)}var kn=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/palette/ShortcutSheet.tsx`,An=[{title:`Global`,rows:[[`⌘K`,`Command palette`],[`N`,`New session`],[`⌘B`,`Toggle board / list`],[`/`,`Focus the filter`],[`?`,`This sheet`]]},{title:`Dashboard`,rows:[[`J / K`,`Move between sessions`],[`↵`,`Open the focused session`],[`1 – 4`,`Set status on the focused session`]]},{title:`Session`,rows:[[`⇧⌘V`,`Toggle preview / edit`],[`S`,`Split view`],[`⌘S`,`Save now`],[`⌘⇧C`,`Copy the execute line`],[`Esc`,`Back to the dashboard`]]}];function jn({onClose:e}){return(0,k.jsxDEV)(Cn,{title:`Keyboard shortcuts`,onClose:e,width:520,children:(0,k.jsxDEV)(`div`,{className:`shortcuts`,children:An.map(e=>(0,k.jsxDEV)(`section`,{className:`shortcuts__group`,children:[(0,k.jsxDEV)(`h3`,{className:`shortcuts__title`,children:e.title},void 0,!1,{fileName:kn,lineNumber:40,columnNumber:13},this),e.rows.map(([e,t])=>(0,k.jsxDEV)(`div`,{className:`shortcuts__row`,children:[(0,k.jsxDEV)(`kbd`,{children:e},void 0,!1,{fileName:kn,lineNumber:43,columnNumber:17},this),(0,k.jsxDEV)(`span`,{children:t},void 0,!1,{fileName:kn,lineNumber:44,columnNumber:17},this)]},e,!0,{fileName:kn,lineNumber:42,columnNumber:15},this))]},e.title,!0,{fileName:kn,lineNumber:39,columnNumber:11},this))},void 0,!1,{fileName:kn,lineNumber:37,columnNumber:7},this)},void 0,!1,{fileName:kn,lineNumber:36,columnNumber:5},this)}function Mn(e){if(e===`/`||e===`/sessions`)return{name:`sessions`};let t=e.match(/^\/sessions\/([^/]+)$/);return t?{name:`session`,sessionId:decodeURIComponent(t[1])}:e===`/packages`?{name:`packages`}:{name:`not-found`,path:e}}function Nn(e){switch(e.name){case`sessions`:return`/sessions`;case`session`:return`/sessions/${e.sessionId}`;case`packages`:return`/packages`;default:return`/`}}function Pn(){let[e,t]=(0,O.useState)(()=>Mn(window.location.pathname));return(0,O.useEffect)(()=>{let e=()=>t(Mn(window.location.pathname));return window.addEventListener(`popstate`,e),()=>window.removeEventListener(`popstate`,e)},[]),{route:e,navigate:(0,O.useCallback)(e=>{let n=Nn(e);n!==window.location.pathname&&window.history.pushState({},``,n),t(e)},[]),back:(0,O.useCallback)(()=>window.history.back(),[])}}var M=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/App.tsx`;function Fn(){let e=Yt(),t=pn(),{route:n,navigate:r}=Pn(),{data:i}=an(),{data:a,isLoading:o}=on(),s=cn(),c=un(),l=fn(),[u,d]=(0,O.useState)(`board`),[f,p]=(0,O.useState)(`preview`),[m,h]=(0,O.useState)(``),[g,_]=(0,O.useState)(),[v,y]=(0,O.useState)(!1),[b,x]=(0,O.useState)(!1),[ee,te]=(0,O.useState)(!1),ne=(0,O.useMemo)(()=>a?.sessions??[],[a]),re=(0,O.useMemo)(()=>{let e=m.trim();return e.length===0?ne:ne.map(t=>({session:t,score:Mt(`${t.title} ${t.excerpt} ${t.tags.join(` `)}`,e)})).filter(e=>e.score!==null).sort((e,t)=>t.score-e.score).map(e=>e.session)},[ne,m]),ie=(0,O.useCallback)(e=>{_(e),r({name:`session`,sessionId:e})},[r]),ae=(0,O.useCallback)((t,n)=>{s.mutate({sessionId:t,status:n},{onError:()=>e(`Could not change the status.`,`danger`)})},[s,e]),S=(0,O.useCallback)(t=>{c.mutate(t,{onSuccess:async t=>{x(!1),await Nt(t.executeLine),e(`Session created — execute line copied`,`success`),p(`edit`),ie(t.session.id)},onError:t=>e(t instanceof Error?t.message:`Could not create the session.`,`danger`)})},[c,ie,e]),oe=Ln({sessions:ne,route:n,view:u,project:i?.directory,onOpenSession:ie,onChangeStatus:ae,onNew:()=>x(!0),onToggleView:()=>d(e=>e===`board`?`list`:`board`),onSetMode:p,onShortcuts:()=>te(!0),onMigrateAll:()=>l.mutate(void 0,{onSuccess:t=>e(`Migrated ${t.migrated.length} session(s)`,`success`),onError:()=>e(`Could not migrate headers.`,`danger`)}),onGoToSessions:()=>r({name:`sessions`}),onStop:async()=>{window.confirm(`Stop this UI server? The page will stop responding.`)&&(await nn.shutdown().catch(()=>void 0),e(`UI stopping…`,`info`))},toast:e});return zn({enabled:!b&&!ee,paletteOpen:v,onPalette:()=>y(e=>!e),onNew:()=>x(!0),onToggleView:()=>d(e=>e===`board`?`list`:`board`),onShortcuts:()=>te(!0),onFilter:()=>document.querySelector(`.filter__input`)?.focus(),onTogglePreview:()=>p(e=>e===`edit`?`preview`:`edit`),onSplit:()=>p(`split`),onEscape:()=>{n.name===`session`&&r({name:`sessions`})},onMove:e=>{if(n.name!==`sessions`||re.length===0)return;let t=re.findIndex(e=>e.id===g),r=t===-1?0:Math.min(Math.max(t+e,0),re.length-1);_(re[r].id)},onOpenFocused:()=>{n.name===`sessions`&&g&&ie(g)},onStatusDigit:e=>{let t=n.name===`session`?n.sessionId:g;t&&ae(t,Rt[e])},isSessionRoute:n.name===`session`}),(0,k.jsxDEV)(`div`,{className:`app`,children:[(0,k.jsxDEV)(Tt,{route:n,onNavigate:r,onOpenPalette:()=>y(!0),live:t},void 0,!1,{fileName:M,lineNumber:138,columnNumber:7},this),(0,k.jsxDEV)(`main`,{className:`main`,children:n.name===`session`?(0,k.jsxDEV)(xn,{sessionId:n.sessionId,mode:f,onModeChange:p,onBack:()=>r({name:`sessions`}),onArchived:()=>r({name:`sessions`})},void 0,!1,{fileName:M,lineNumber:142,columnNumber:11},this):n.name===`packages`?(0,k.jsxDEV)(`div`,{className:`page-state`,children:`Packages management is coming soon.`},void 0,!1,{fileName:M,lineNumber:150,columnNumber:11},this):(0,k.jsxDEV)(k.Fragment,{children:[(0,k.jsxDEV)(`header`,{className:`topbar`,children:[(0,k.jsxDEV)(`div`,{className:`topbar__identity`,children:[(0,k.jsxDEV)(`h1`,{className:`topbar__title`,children:i?.name??`Sessions`},void 0,!1,{fileName:M,lineNumber:155,columnNumber:17},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`topbar__path`,title:i?`${i.directory} — click to copy`:void 0,onClick:async()=>{i&&e(await Nt(i.directory)?`Path copied`:`Could not copy`,`success`)},children:i?Pt(i.directory):``},void 0,!1,{fileName:M,lineNumber:156,columnNumber:17},this)]},void 0,!0,{fileName:M,lineNumber:154,columnNumber:15},this),(0,k.jsxDEV)(`div`,{className:`topbar__counts`,children:Rt.map(e=>(0,k.jsxDEV)(`span`,{className:`count count--${e}`,children:[(0,k.jsxDEV)(`span`,{className:`count__value`,children:a?.counts[e]??0},void 0,!1,{fileName:M,lineNumber:173,columnNumber:21},this),(0,k.jsxDEV)(`span`,{className:`count__label`,children:zt[e]},void 0,!1,{fileName:M,lineNumber:174,columnNumber:21},this)]},e,!0,{fileName:M,lineNumber:172,columnNumber:19},this))},void 0,!1,{fileName:M,lineNumber:170,columnNumber:15},this),(0,k.jsxDEV)(`div`,{className:`filter`,children:(0,k.jsxDEV)(`input`,{className:`filter__input`,value:m,placeholder:`Filter… /`,onChange:e=>h(e.target.value),onKeyDown:e=>{e.key===`Escape`&&(h(``),e.currentTarget.blur())},"aria-label":`Filter sessions`},void 0,!1,{fileName:M,lineNumber:180,columnNumber:17},this)},void 0,!1,{fileName:M,lineNumber:179,columnNumber:15},this),(0,k.jsxDEV)(`div`,{className:`segmented`,role:`tablist`,"aria-label":`Layout`,children:[`board`,`list`].map(e=>(0,k.jsxDEV)(`button`,{type:`button`,role:`tab`,"aria-selected":u===e,className:`segmented__item${u===e?` is-active`:``}`,onClick:()=>d(e),children:e===`board`?`Board`:`List`},e,!1,{fileName:M,lineNumber:192,columnNumber:19},this))},void 0,!1,{fileName:M,lineNumber:190,columnNumber:15},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:()=>x(!0),children:`New session`},void 0,!1,{fileName:M,lineNumber:205,columnNumber:15},this)]},void 0,!0,{fileName:M,lineNumber:153,columnNumber:13},this),a&&a.needingMigration>0&&(0,k.jsxDEV)(`div`,{className:`banner banner--warning`,children:[(0,k.jsxDEV)(`div`,{className:`banner__text`,children:[(0,k.jsxDEV)(`strong`,{children:[a.needingMigration,` session(s)`]},void 0,!0,{fileName:M,lineNumber:213,columnNumber:19},this),` have no canonical `,(0,k.jsxDEV)(`code`,{children:`<session-meta>`},void 0,!1,{fileName:M,lineNumber:213,columnNumber:89},this),` header.`]},void 0,!0,{fileName:M,lineNumber:212,columnNumber:17},this),(0,k.jsxDEV)(`div`,{className:`banner__actions`,children:(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:()=>l.mutate(void 0,{onSuccess:t=>e(`Migrated ${t.migrated.length} session(s)`,`success`),onError:()=>e(`Could not migrate headers.`,`danger`)}),children:`Migrate all`},void 0,!1,{fileName:M,lineNumber:216,columnNumber:19},this)},void 0,!1,{fileName:M,lineNumber:215,columnNumber:17},this)]},void 0,!0,{fileName:M,lineNumber:211,columnNumber:15},this),o?(0,k.jsxDEV)(`div`,{className:`page-state`,children:`Loading sessions…`},void 0,!1,{fileName:M,lineNumber:233,columnNumber:15},this):ne.length===0?(0,k.jsxDEV)(In,{onNew:()=>x(!0)},void 0,!1,{fileName:M,lineNumber:235,columnNumber:15},this):(0,k.jsxDEV)(Ht,{sessions:re,view:u,filter:m,focusedId:g,onFocus:_,onOpen:ie,onStatusChange:ae,onNew:()=>x(!0)},void 0,!1,{fileName:M,lineNumber:237,columnNumber:15},this)]},void 0,!0,{fileName:M,lineNumber:152,columnNumber:11},this)},void 0,!1,{fileName:M,lineNumber:140,columnNumber:7},this),v&&(0,k.jsxDEV)(On,{actions:oe,onClose:()=>y(!1)},void 0,!1,{fileName:M,lineNumber:252,columnNumber:23},this),b&&(0,k.jsxDEV)(Tn,{busy:c.isPending,onClose:()=>x(!1),onSubmit:S},void 0,!1,{fileName:M,lineNumber:254,columnNumber:9},this),ee&&(0,k.jsxDEV)(jn,{onClose:()=>te(!1)},void 0,!1,{fileName:M,lineNumber:256,columnNumber:25},this)]},void 0,!0,{fileName:M,lineNumber:137,columnNumber:5},this)}function In({onNew:e}){return(0,k.jsxDEV)(`div`,{className:`empty`,children:[(0,k.jsxDEV)(`h2`,{className:`empty__title`,children:`No sessions yet`},void 0,!1,{fileName:M,lineNumber:264,columnNumber:7},this),(0,k.jsxDEV)(`p`,{className:`empty__text`,children:[`A session is a markdown file in `,(0,k.jsxDEV)(`code`,{children:`.invariant/sessions`},void 0,!1,{fileName:M,lineNumber:266,columnNumber:41},this),` holding one task, its plan, and its status. Create one here, then paste its execute line into your agent.`]},void 0,!0,{fileName:M,lineNumber:265,columnNumber:7},this),(0,k.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:e,children:`New session`},void 0,!1,{fileName:M,lineNumber:269,columnNumber:7},this)]},void 0,!0,{fileName:M,lineNumber:263,columnNumber:5},this)}function Ln(e){return(0,O.useMemo)(()=>{let t=e.route,n=t.name===`session`?e.sessions.find(e=>e.id===t.sessionId):void 0,r=[{id:`new`,group:`Actions`,title:`New session…`,shortcut:`N`,run:e.onNew},{id:`view`,group:`Actions`,title:`Switch to ${e.view===`board`?`list`:`board`} view`,shortcut:`⌘B`,run:e.onToggleView},{id:`go-sessions`,group:`Actions`,title:`Go to sessions`,keywords:`dashboard home`,run:e.onGoToSessions},{id:`migrate`,group:`Actions`,title:`Migrate all session headers`,keywords:`fix header meta`,run:e.onMigrateAll},{id:`shortcuts`,group:`Actions`,title:`Keyboard shortcuts`,shortcut:`?`,run:e.onShortcuts},{id:`stop`,group:`Actions`,title:`Stop this UI server`,keywords:`quit shutdown exit`,run:e.onStop}];if(e.project&&r.push({id:`copy-project`,group:`Actions`,title:`Copy project path`,hint:e.project,run:async()=>{e.toast(await Nt(e.project)?`Path copied`:`Could not copy`,`success`)}}),n){r.push({id:`mode-preview`,group:`This session`,title:`Preview`,shortcut:`⇧⌘V`,run:()=>e.onSetMode(`preview`)},{id:`mode-edit`,group:`This session`,title:`Edit`,shortcut:`⇧⌘V`,run:()=>e.onSetMode(`edit`)},{id:`mode-split`,group:`This session`,title:`Split`,shortcut:`S`,run:()=>e.onSetMode(`split`)});for(let t of Rt)t!==n.status&&r.push({id:`status-${t}`,group:`This session`,title:`Set status: ${zt[t]}`,status:t,run:()=>e.onChangeStatus(n.id,t)})}for(let t of e.sessions)r.push({id:`open-${t.id}`,group:`Go to session`,title:t.title,hint:zt[t.status],status:t.status,keywords:`${t.excerpt} ${t.tags.join(` `)}`,run:()=>e.onOpenSession(t.id)});return r},[e])}function Rn(e){let t=e;return t?t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable||t.closest(`.cm-editor`)!==null:!1}function zn(e){(0,O.useEffect)(()=>{let t=t=>{let n=t.metaKey||t.ctrlKey;if(n&&t.key.toLowerCase()===`k`){t.preventDefault(),e.onPalette();return}if(n&&t.shiftKey&&t.key.toLowerCase()===`v`){t.preventDefault(),e.onTogglePreview();return}if(!(!e.enabled||e.paletteOpen)){if(n&&t.key.toLowerCase()===`b`){t.preventDefault(),e.onToggleView();return}if(t.key===`Escape`&&!Rn(t.target)){e.onEscape();return}if(!Rn(t.target))switch(t.key){case`n`:t.preventDefault(),e.onNew();return;case`/`:t.preventDefault(),e.onFilter();return;case`?`:t.preventDefault(),e.onShortcuts();return;case`j`:e.onMove(1);return;case`k`:e.onMove(-1);return;case`ArrowDown`:e.isSessionRoute||(t.preventDefault(),e.onMove(1));return;case`ArrowUp`:e.isSessionRoute||(t.preventDefault(),e.onMove(-1));return;case`Enter`:e.isSessionRoute||e.onOpenFocused();return;case`e`:e.isSessionRoute&&e.onTogglePreview();return;case`p`:e.isSessionRoute&&e.onTogglePreview();return;case`s`:e.isSessionRoute&&e.onSplit();return;case`1`:case`2`:case`3`:case`4`:e.onStatusDigit(Number(t.key)-1);return}}};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[e])}var Bn=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/main.tsx`,Vn=new Qe({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1,staleTime:5e3}}});(0,St.createRoot)(document.getElementById(`root`)).render((0,k.jsxDEV)(O.StrictMode,{children:(0,k.jsxDEV)(it,{client:Vn,children:(0,k.jsxDEV)(Zt,{children:(0,k.jsxDEV)(Fn,{},void 0,!1,{fileName:Bn,lineNumber:26,columnNumber:9},void 0)},void 0,!1,{fileName:Bn,lineNumber:25,columnNumber:7},void 0)},void 0,!1,{fileName:Bn,lineNumber:24,columnNumber:5},void 0)},void 0,!1,{fileName:Bn,lineNumber:23,columnNumber:3},void 0));export{l as a,s as i,d as n,o as r,xt as t};
|