@invariant.guru/cli 0.6.5 → 0.6.8
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 +47 -2
- package/dist/main.js +644 -631
- package/dist/ui/assets/{Editor-BHNXHvXa.js → Editor-Oj_mP0XH.js} +1 -1
- package/dist/ui/assets/{MarkdownBody-AZO5_5u7.js → MarkdownBody-Ch4frhbh.js} +1 -1
- package/dist/ui/assets/{Preview-BA0QqnWr.js → Preview-B8RXIj_m.js} +1 -1
- package/dist/ui/assets/index-B2dWndB2.css +1 -0
- package/dist/ui/assets/index-DaG3wchO.js +247 -0
- package/dist/ui/index.html +2 -2
- package/package.json +1 -1
- package/dist/ui/assets/index-D-QfDUGL.js +0 -246
- package/dist/ui/assets/index-S_wSNShB.css +0 -1
|
@@ -1,246 +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=xe&&e[xe]||e[`@@iterator`],typeof e==`function`?e:null)}function i(e,t){e=(e=e.constructor)&&(e.displayName||e.name)||`ReactClass`;var n=e+`.`+t;Se[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),Se[n]=!0)}function a(e,t,n){this.props=e,this.context=t,this.refs=we,this.updater=n||Ce}function o(){}function s(e,t,n){this.props=e,this.context=t,this.refs=we,this.updater=n||Ce}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===Ee?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case ue:return`Fragment`;case fe:return`Profiler`;case de:return`StrictMode`;case ge:return`Suspense`;case _e:return`SuspenseList`;case be: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 le:return`Portal`;case me:return e.displayName||`Context`;case pe:return(e._context.displayName||`Context`)+`.Consumer`;case he:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ve:return t=e.displayName||null,t===null?d(e.type)||`Memo`:t;case ye:t=e._payload,e=e._init;try{return d(e(t))}catch{}}return null}function f(e){if(e===ue)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===ye)return`<...>`;try{var t=d(e);return t?`<`+t+`>`:`<...>`}catch{return`<...>`}}function p(){var e=k.A;return e===null?null:e.getOwner()}function m(){return Error(`react-stack-top-frame`)}function h(e){if(De.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(){ke||(ke=!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 je[e]||(je[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:ce,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===ye&&(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===ce}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 S(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 ne(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 ce:case le:s=!0;break;case ye:return s=e._init,ne(s(e._payload),t,n,i,a)}}if(s){s=e,a=a(s);var c=i===``?`.`+te(s,0):i;return Te(a)?(n=``,c!=null&&(n=c.replace(Fe,`$&/`)+`/`),ne(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(Fe,`$&/`)+`/`)+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+`:`,Te(e))for(var l=0;l<e.length;l++)i=e[l],o=c+te(i,l),s+=ne(i,t,n,o,a);else if(l=r(e),typeof l==`function`)for(l===e.entries&&(Pe||console.warn(`Using Maps as children is not supported. Use an array of keyed ReactElements instead.`),Pe=!0),e=l.call(e),l=0;!(i=e.next()).done;)i=i.value,o=c+te(i,l++),s+=ne(i,t,n,o,a);else if(o===`object`){if(typeof e.then==`function`)return ne(S(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 re(e,t,n){if(e==null)return e;var r=[],i=0;return ne(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ie(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 C(){var e=k.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 w(){k.asyncTransitions--}function T(e){if(Re===null)try{var n=(`require`+Math.random()).slice(0,7);Re=(t&&t[n]).call(t,`timers`).setImmediate}catch{Re=function(e){!1===Le&&(Le=!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 Re(e)}function ae(e){return 1<e.length&&typeof AggregateError==`function`?AggregateError(e):e[0]}function oe(e,t){t!==ze-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. `),ze=t}function E(e,t,n){var r=k.actQueue;if(r!==null){if(r.length!==0)try{se(r),T(function(){return E(e,t,n)});return}catch(e){k.thrownErrors.push(e)}else k.actQueue=null}0<k.thrownErrors.length?(r=ae(k.thrownErrors),k.thrownErrors.length=0,n(r)):t(e)}function se(e){if(!Ve){Ve=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{k.didUsePromise=!1;var r=n(!1);if(r!==null){if(k.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),k.thrownErrors.push(n)}finally{Ve=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==`function`&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ce=Symbol.for(`react.transitional.element`),le=Symbol.for(`react.portal`),ue=Symbol.for(`react.fragment`),de=Symbol.for(`react.strict_mode`),fe=Symbol.for(`react.profiler`),pe=Symbol.for(`react.consumer`),me=Symbol.for(`react.context`),he=Symbol.for(`react.forward_ref`),ge=Symbol.for(`react.suspense`),_e=Symbol.for(`react.suspense_list`),ve=Symbol.for(`react.memo`),ye=Symbol.for(`react.lazy`),be=Symbol.for(`react.activity`),xe=Symbol.iterator,Se={},Ce={isMounted:function(){return!1},enqueueForceUpdate:function(e){i(e,`forceUpdate`)},enqueueReplaceState:function(e){i(e,`replaceState`)},enqueueSetState:function(e){i(e,`setState`)}},D=Object.assign,we={};Object.freeze(we),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 O={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(Ue in O)O.hasOwnProperty(Ue)&&n(Ue,O[Ue]);o.prototype=a.prototype,O=s.prototype=new o,O.constructor=s,D(O,a.prototype),O.isPureReactComponent=!0;var Te=Array.isArray,Ee=Symbol.for(`react.client.reference`),k={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},De=Object.prototype.hasOwnProperty,Oe=console.createTask?console.createTask:function(){return null};O={react_stack_bottom_frame:function(e){return e()}};var ke,Ae,je={},Me=O.react_stack_bottom_frame.bind(O,m)(),Ne=Oe(f(m)),Pe=!1,Fe=/\/+/g,Ie=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)},Le=!1,Re=null,ze=0,Be=!1,Ve=!1,He=typeof queueMicrotask==`function`?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:T;O=Object.freeze({__proto__:null,c:function(e){return C().useMemoCache(e)}});var Ue={map:re,forEach:function(e,t,n){re(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return re(e,function(){t++}),t},toArray:function(e){return re(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=be,e.Children=Ue,e.Component=a,e.Fragment=ue,e.Profiler=fe,e.PureComponent=s,e.StrictMode=de,e.Suspense=ge,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,e.__COMPILER_RUNTIME=O,e.act=function(e){var t=k.actQueue,n=ze;ze++;var r=k.actQueue=t===null?[]:t,i=!1;try{var a=e()}catch(e){k.thrownErrors.push(e)}if(0<k.thrownErrors.length)throw oe(t,n),e=ae(k.thrownErrors),k.thrownErrors.length=0,e;if(typeof a==`object`&&a&&typeof a.then==`function`){var o=a;return He(function(){i||Be||(Be=!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(oe(t,n),n===0){try{se(r),T(function(){return E(i,e,a)})}catch(e){k.thrownErrors.push(e)}if(0<k.thrownErrors.length){var o=ae(k.thrownErrors);k.thrownErrors.length=0,a(o)}}else e(i)},function(e){oe(t,n),0<k.thrownErrors.length?(e=ae(k.thrownErrors),k.thrownErrors.length=0,a(e)):a(e)})}}}var s=a;if(oe(t,n),n===0&&(se(r),r.length!==0&&He(function(){i||Be||(Be=!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(() => ...)"))}),k.actQueue=null),0<k.thrownErrors.length)throw e=ae(k.thrownErrors),k.thrownErrors.length=0,e;return{then:function(e,t){i=!0,n===0?(k.actQueue=r,T(function(){return E(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=k.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=D({},e.props),i=e.key,a=e._owner;if(t!=null){var o;a:{if(De.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)!De.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:me,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:pe,_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 Ae||!(`__self`in t)||`key`in t||(Ae=!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)De.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>k.recentlyCreatedOwnerStacks++;return v(e,i,r,p(),c?Error(`react-stack-top-frame`):Me,c?Oe(f(e)):Ne)},e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){e!=null&&e.$$typeof===ve?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:he,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:ye,_payload:e,_init:ie},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:ve,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=k.T,n={};n._updatedFibers=new Set,k.T=n;try{var r=e(),i=k.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&(k.asyncTransitions++,r.then(w,w),r.then(c,Ie))}catch(e){Ie(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),k.T=t}},e.unstable_useCacheRefresh=function(){return C().useCacheRefresh()},e.use=function(e){return C().use(e)},e.useActionState=function(e,t,n){return C().useActionState(e,t,n)},e.useCallback=function(e,t){return C().useCallback(e,t)},e.useContext=function(e){var t=C();return e.$$typeof===pe&&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 C().useDebugValue(e,t)},e.useDeferredValue=function(e,t){return C().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?`),C().useEffect(e,t)},e.useEffectEvent=function(e){return C().useEffectEvent(e)},e.useId=function(){return C().useId()},e.useImperativeHandle=function(e,t,n){return C().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?`),C().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?`),C().useLayoutEffect(e,t)},e.useMemo=function(e,t){return C().useMemo(e,t)},e.useOptimistic=function(e,t){return C().useOptimistic(e,t)},e.useReducer=function(e,t,n){return C().useReducer(e,t,n)},e.useRef=function(e){return C().useRef(e)},e.useState=function(e){return C().useState(e)},e.useSyncExternalStore=function(e,t,n){return C().useSyncExternalStore(e,t,n)},e.useTransition=function(){return C().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,ne){var t=e.unstable_now();C=t;var n=!0;try{a:{y=!1,b&&(b=!1,te(re),re=-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?w():ne=!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,ne||(ne=!0,w());else{var t=r(m);t!==null&&l(s,t.startTime-e)}}}function c(){return x?!0:!(e.unstable_now()-C<ie)}function l(t,n){re=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,S=typeof setImmediate<`u`?setImmediate:null,ne=!1,re=-1,ie=5,C=-1;if(typeof S==`function`)var w=function(){S(t)};else if(typeof MessageChannel<`u`){var T=new MessageChannel,ae=T.port2;T.port1.onmessage=t,w=function(){ae.postMessage(null)}}else w=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`):ie=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(re),re=-1):b=!0,l(s,a-o))):(t.sortIndex=c,n(p,t),y||v||(y=!0,ne||(ne=!0,w()))),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=Jf(e)?e.slice():z({},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=Jf(e)?e.slice():z({},e);return r+1===t.length?(o[n[r]]=o[a],Jf(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=Jf(e)?e.slice():z({},e);return n+1===t.length?(Jf(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&&(tf(e.current,2,t,e,null,null),ol())}function v(e,t){if(Ig!==null){var n=t.staleFamilies;t=t.updatedFamilies,Ml(),vr(e.current,t,n),ol()}}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 S(e){if(x(e)!==e)throw Error(`Unable to find node on an unmounted component.`)}function ne(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 S(i),e;if(a===r)return S(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 re(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=re(e),t!==null)return t;e=e.sibling}return null}function ie(e){return typeof e!=`object`||!e?null:(e=Kf&&e[Kf]||e[`@@iterator`],typeof e==`function`?e:null)}function C(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===qf?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case Pf:return`Fragment`;case If:return`Profiler`;case Ff:return`StrictMode`;case Bf:return`Suspense`;case Vf:return`SuspenseList`;case Wf: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 Nf:return`Portal`;case Rf:return e.displayName||`Context`;case Lf:return(e._context.displayName||`Context`)+`.Consumer`;case zf:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case Hf:return t=e.displayName||null,t===null?C(e.type)||`Memo`:t;case Uf:t=e._payload,e=e._init;try{return C(e(t))}catch{}}return null}function w(e){return typeof e.tag==`number`?T(e):typeof e.name==`string`?e.name:null}function T(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 C(t);case 8:return t===Ff?`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 T(e.return)}return null}function ae(e){return{current:e}}function oe(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 E(e,t,n){$f++,Zf[$f]=e.current,Qf[$f]=n,e.current=t}function se(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 ce(e,t){E(np,t,e),E(tp,e,e),E(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)?Vu(t):US;break;default:if(n=t.tagName,t=t.namespaceURI)t=Vu(t),t=Hu(t,n);else switch(n){case`svg`:t=WS;break;case`math`:t=GS;break;default:t=US}}n=n.toLowerCase(),n=Ht(null,n),n={context:t,ancestorInfo:n},oe(ep,e),E(ep,n,e)}function le(e){oe(ep,e),oe(tp,e),oe(np,e)}function ue(){return se(ep.current)}function de(e){e.memoizedState!==null&&E(rp,e,e);var t=se(ep.current),n=e.type,r=Hu(t.context,n);n=Ht(t.ancestorInfo,n),r={context:r,ancestorInfo:n},t!==r&&(E(tp,e,e),E(ep,r,e))}function fe(e){tp.current===e&&(oe(ep,e),oe(tp,e)),rp.current===e&&(oe(rp,e),bC._currentValue=yC)}function pe(){}function me(){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:pe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ip++}function he(){if(ip--,ip===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},e,{value:ap}),info:z({},e,{value:op}),warn:z({},e,{value:sp}),error:z({},e,{value:cp}),group:z({},e,{value:lp}),groupCollapsed:z({},e,{value:up}),groupEnd:z({},e,{value:dp})})}0>ip&&console.error(`disabledDepth fell below zero. This is a bug in React. Please file an issue.`)}function ge(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 _e(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 ve(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=B.H,B.H=null,me();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,B.H=r,he(),Error.prepareStackTrace=n}return l=(l=e?e.displayName||e.name:``)?_e(l):``,typeof e==`function`&&hp.set(e,l),l}function ye(e,t){switch(e.tag){case 26:case 27:case 5:return _e(e.type);case 16:return _e(`Lazy`);case 13:return e.child!==t&&t!==null?_e(`Suspense Fallback`):_e(`Suspense`);case 19:return _e(`SuspenseList`);case 0:case 15:return ve(e.type,!1);case 11:return ve(e.type.render,!1);case 1:return ve(e.type,!0);case 31:return _e(`Activity`);default:return``}}function be(e){try{var t=``,n=null;do{t+=ye(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=ge(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=_e(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 xe(e){return(e=e?e.displayName||e.name:``)?_e(e):``}function Se(){if(gp===null)return null;var e=gp._debugOwner;return e==null?null:w(e)}function Ce(){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+=_e(e.type);break;case 13:t+=_e(`Suspense`);break;case 19:t+=_e(`SuspenseList`);break;case 31:t+=_e(`Activity`);break;case 30:case 0:case 15:case 1:e._debugOwner||t!==``||(t+=xe(e.type));break;case 11:e._debugOwner||t!==``||(t+=xe(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=ge(r);i!==``&&(t+=`
|
|
30
|
-
`+i)}}else if(e.debugStack!=null){var a=e.debugStack;(e=e.owner)&&a&&(t+=`
|
|
31
|
-
`+ge(a))}else break;var o=t}catch(e){o=`
|
|
32
|
-
Error generating stack: `+e.message+`
|
|
33
|
-
`+e.stack}return o}function D(e,t,n,r,i,a,o){var s=gp;we(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{we(s)}throw Error(`runWithFiberInDEV should never be called in production. This is a bug in React.`)}function we(e){B.getCurrentStack=e===null?null:Ce,_p=!1,gp=e}function O(e){return typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`}function Te(e){try{return Ee(e),!1}catch{return!0}}function Ee(e){return``+e}function k(e,t){if(Te(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,O(e)),Ee(e)}function De(e,t){if(Te(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,O(e)),Ee(e)}function Oe(e){if(Te(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.`,O(e)),Ee(e)}function ke(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 Ae(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 je(e){return e>>>=0,e===0?32:31-(Lp(e)/Rp|0)|0}function Me(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 Ne(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=Me(n))):i=Me(o):i=Me(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Me(n))):i=Me(o)):i=Me(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 Pe(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Fe(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 Ie(){var e=Vp;return Vp<<=1,!(Vp&62914560)&&(Vp=4194304),e}function Le(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Re(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ze(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&&Be(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function Be(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 Ve(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 He(e,t){var n=t&-t;return n=n&42?1:Ue(n),(n&(e.suspendedLanes|t))===0?n:0}function Ue(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 We(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 Ge(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 Ke(e){return e&=-e,Hp!==0&&Hp<e?Up!==0&&Up<e?e&134217727?Wp:Gp:Up:Hp}function qe(){var e=Yf.p;return e===0?(e=window.event,e===void 0?Wp:pf(e.type)):e}function Je(e,t){var n=Yf.p;try{return Yf.p=e,t()}finally{Yf.p=n}}function Ye(e){delete e[qp],delete e[Jp],delete e[Xp],delete e[Zp],delete e[Qp]}function Xe(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=Sd(e);e!==null;){if(n=e[qp])return n;e=Sd(e)}return t}e=n,n=e.parentNode}return null}function Ze(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 Qe(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(`getNodeFromInstance: Invalid argument.`)}function A(e){var t=e[$p];return t||=e[$p]={hoistableStyles:new Map,hoistableScripts:new Map},t}function $e(e){e[em]=!0}function et(e,t){tt(e,t),tt(e+`Capture`,t)}function tt(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 nt(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 rt(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 it(e,t,n){if(rt(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||(k(n,t),e===``+n?n:e)}}function at(e,t,n){if(rt(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}}k(n,t),e.setAttribute(t,``+n)}}}function ot(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}k(n,t),e.setAttribute(t,``+n)}}function st(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}k(r,n),e.setAttributeNS(t,n,``+r)}}function ct(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return Oe(e),e;default:return``}}function lt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function ut(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){Oe(e),n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){Oe(e),n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function dt(e){if(!e._valueTracker){var t=lt(e)?`checked`:`value`;e._valueTracker=ut(e,t,``+e[t])}}function ft(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=lt(e)?e.checked?`true`:`false`:e.value),e=r,e!==n&&(t.setValue(e),!0)}function pt(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 mt(e){return e.replace(cm,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function ht(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`,Se()||`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`,Se()||`A component`,t.type),lm=!0)}function gt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?(k(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=``+ct(t)):e.value!==``+ct(t)&&(e.value=``+ct(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):vt(e,o,ct(n)):vt(e,o,ct(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`?(k(s,`name`),e.name=``+ct(s)):e.removeAttribute(`name`)}function _t(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(k(a,`type`),e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){dt(e);return}n=n==null?``:``+ct(n),t=t==null?n:``+ct(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`&&(k(o,`name`),e.name=o),dt(e)}function vt(e,t,n){t===`number`&&pt(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function yt(e,t){t.value??(typeof t.children==`object`&&t.children!==null?kf.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 bt(){var e=Se();return e?`
|
|
34
|
-
|
|
35
|
-
Check the render method of \``+e+"`.":``}function j(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=``+ct(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 xt(e,t){for(e=0;e<hm.length;e++){var n=hm[e];if(t[n]!=null){var r=Jf(t[n]);t.multiple&&!r?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,bt()):!t.multiple&&r&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,bt())}}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 St(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`,Se()||`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 Ct(e,t,n){if(t!=null&&(t=``+ct(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+ct(n)}function wt(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(Jf(r)){if(1<r.length)throw Error(`<textarea> can only have at most one child.`);r=r[0]}n=r}n??=``,t=n}n=ct(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),dt(e)}function Tt(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Tt(e.children[0],t):e}function Et(e){return` `+` `.repeat(e)}function Dt(e){return`+ `+` `.repeat(e)}function Ot(e){return`- `+` `.repeat(e)}function kt(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 At(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 jt(e,t,n){var r=120-2*n;if(t===null)return Dt(n)+At(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)),Dt(n)+At(e,r)+`
|
|
37
|
-
`+Ot(n)+At(t,r)+`
|
|
38
|
-
`}return Et(n)+At(e,r)+`
|
|
39
|
-
`}function Mt(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(e,t){return t})}function Nt(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(Jf(e))return`[...]`;if(e.$$typeof===Mf)return(t=C(e.type))?`<`+t+`>`:`<...>`;var n=Mt(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=Nt(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 Pt(e,t){return typeof e!=`string`||_m.test(e)?`{`+Nt(e,t-2)+`}`:e.length>t-2?5>t?`"..."`:`"`+e.slice(0,t-5)+`..."`:`"`+e+`"`}function Ft(e,t,n){var r=120-n.length-e.length,i=[],a;for(a in t)if(t.hasOwnProperty(a)&&a!==`children`){var o=Pt(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 It(e,t,n){var r=``,i=z({},t),a;for(a in e)if(e.hasOwnProperty(a)){delete i[a];var o=120-2*n-a.length-2,s=Nt(e[a],o);t.hasOwnProperty(a)?(o=Nt(t[a],o),r+=Dt(n)+a+`: `+s+`
|
|
46
|
-
`,r+=Ot(n)+a+`: `+o+`
|
|
47
|
-
`):r+=Dt(n)+a+`: `+s+`
|
|
48
|
-
`}for(var c in i)i.hasOwnProperty(c)&&(e=Nt(i[c],120-2*n-c.length-2),r+=Ot(n)+c+`: `+e+`
|
|
49
|
-
`);return r}function Lt(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+=Ft(e,t,Et(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=Pt(l,s);s=Pt(c,s),typeof l==`object`&&l&&typeof c==`object`&&c&&Mt(l)===`Object`&&Mt(c)===`Object`&&(2<Object.keys(l).length||2<Object.keys(c).length||-1<u.indexOf(`...`)||-1<s.indexOf(`...`))?i+=Et(r+1)+o+`={{
|
|
50
|
-
`+It(l,c,r+2)+Et(r+1)+`}}
|
|
51
|
-
`:(i+=Dt(r+1)+o+`=`+u+`
|
|
52
|
-
`,i+=Ot(r+1)+o+`=`+s+`
|
|
53
|
-
`)}else i+=Et(r+1)+o+`=`+Pt(t[o],s)+`
|
|
54
|
-
`}a.forEach(function(e){if(e!==`children`){var t=120-2*(r+1)-e.length-1;i+=Ot(r+1)+e+`=`+Pt(n[e],t)+`
|
|
55
|
-
`}}),i=i===``?Et(r)+`<`+e+`>
|
|
56
|
-
`:Et(r)+`<`+e+`
|
|
57
|
-
`+i+Et(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+=jt(a,``+e,r+1)):(typeof t==`string`||typeof t==`number`||typeof t==`bigint`)&&(i=e==null?i+jt(``+t,null,r+1):i+jt(``+t,void 0,r+1)),i}function Rt(e,t){var n=kt(e);if(n===null){for(n=``,e=e.child;e;)n+=Rt(e,t),e=e.sibling;return n}return Et(t)+`<`+n+`>
|
|
59
|
-
`}function zt(e,t){var n=Tt(e,t);if(n!==e&&(e.children.length!==1||e.children[0]!==n))return Et(t)+`...
|
|
60
|
-
`+zt(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+=Et(t)+`<`+a+`>
|
|
61
|
-
`,t++)}if(r=``,i=e.fiber.pendingProps,e.fiber.tag===6)r=jt(i,e.serverProps,t),t++;else if(a=kt(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=Pt(i[l],15);if(o-=l.length+c.length+2,0>o){s+=` ...`;break}s+=` `+l+`=`+c}r=Et(r)+`<`+a+s+`>
|
|
62
|
-
`,t++}else e.serverProps===null?(r=Ft(a,i,Dt(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=Lt(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+=zt(o,t),a++):l+=Rt(i,t),i=i.sibling;for(i&&0<e.children.length&&(l+=Et(t)+`...
|
|
63
|
-
`),i=e.serverTail,e.serverProps===null&&t--,e=0;e<i.length;e++)a=i[e],l=typeof a==`string`?l+(Ot(t)+At(a,120-2*t)+`
|
|
64
|
-
`):l+Ft(a.type,a.props,Ot(t));return n+r+l}function Bt(e){try{return`
|
|
65
|
-
|
|
66
|
-
`+zt(e,0)}catch{return``}}function Vt(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?``:Bt(i).replaceAll(/^[+-]/gm,`>`)}function Ht(e,t){var n=z({},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 Ut(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 Wt(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 Gt(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 Kt(e,t){t||=Sm;var n=t.current;if(t=(n=Ut(e,n&&n.tag,t.implicitRootScope)?null:n)?null:Wt(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)?Gt(t.return,r):null,a=t!==null&&i!==null?Vt(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||D(i,function(){console.error(`<%s> cannot contain a nested %s.
|
|
69
|
-
See this log for the ancestor stack trace.`,r,o)})),!1}function qt(e,t,n){if(n||Ut(`#text`,t,!1))return!0;if(n=`#text|`+t,Cm[n])return!1;Cm[n]=!0;var r=(n=gp)?Gt(n,t):null;return n=n!==null&&r!==null?Vt(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 Jt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function Yt(e){return e.replace(km,function(e,t){return t.toUpperCase()})}function Xt(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,Yt(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:(De(n,t),e[t]=(``+n).trim()):e[t]=n+`px`}function Zt(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&&Xt(e,f,l)}else for(r in t)t.hasOwnProperty(r)&&Xt(e,r,t[r])}function Qt(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 $t(e){return Rm.get(e)||e}function en(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 tn(e,t){var n=[],r;for(r in t)en(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 nn(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 rn(e,t,n){var r=[],i;for(i in t)nn(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 an(e){return Xm.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function on(){}function sn(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function cn(e){var t=Ze(e);if(t&&(e=t.stateNode)){var n=e[Jp]||null;a:switch(e=t.stateNode,t.type){case`input`:if(gt(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(k(t,`name`),n=n.querySelectorAll(`input[name="`+mt(``+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.");gt(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&&ft(r)}break a;case`textarea`:Ct(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&j(e,!!n.multiple,t,!1)}}}function ln(e,t,n){if(eh)return e(t,n);eh=!0;try{return e(t)}finally{if(eh=!1,(Qm!==null||$m!==null)&&(ol(),Qm&&(t=Qm,e=$m,$m=Qm=null,cn(t),e)))for(t=0;t<e.length;t++)cn(e[t])}}function M(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 un(){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 dn(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 fn(){return!0}function pn(){return!1}function mn(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)?fn:pn,this.isPropagationStopped=pn,this}return z(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=fn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=fn)},persist:function(){},isPersistent:fn}),t}function hn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wh[e])?!!t[e]:!1}function gn(){return hn}function _n(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 vn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}function yn(e,t){switch(e){case`compositionend`:return vn(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 bn(e,t){if(Bh)return e===`compositionend`||!Nh&&_n(e,t)?(e=un(),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 xn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Vh[e.type]:t===`textarea`}function Sn(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 Cn(e,t,n,r){Qm?$m?$m.push(r):$m=[r]:Qm=r,t=mu(t,`onChange`),0<t.length&&(n=new ch(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}function wn(e){cu(e,0)}function Tn(e){if(ft(Qe(e)))return e}function En(e,t){if(e===`change`)return t}function Dn(){Hh&&(Hh.detachEvent(`onpropertychange`,On),Uh=Hh=null)}function On(e){if(e.propertyName===`value`&&Tn(Uh)){var t=[];Cn(t,Uh,e,sn(e)),ln(wn,t)}}function kn(e,t,n){e===`focusin`?(Dn(),Hh=t,Uh=n,Hh.attachEvent(`onpropertychange`,On)):e===`focusout`&&Dn()}function An(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return Tn(Uh)}function jn(e,t){if(e===`click`)return Tn(t)}function Mn(e,t){if(e===`input`||e===`change`)return Tn(t)}function Nn(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}function Pn(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=pt(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=pt(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!==pt(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&&Pn(Yh,r)||(Yh=r,r=mu(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),et(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(Jf(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===Mf){var a=C(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&&(!Jf(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===Mf){if(o.type===s.type&&o.key===s.key){o=C(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=T(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=T(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=T(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=T(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&&Wl(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&t.flags&4098&&Wl(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:zf,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===Uf)&&(r=!0);break;case 11:(i===zf||i===Uf)&&(r=!0);break;case 14:case 15:(i===Hf||i===Uf)&&(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&&tl(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=ue(),o=Gd(e,n,o)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case Wf:return t=g(31,n,t,i),t.elementType=Wf,t.lanes=a,t;case Pf:return Tr(n.children,i,a,t);case Ff:o=8,i|=zg,i|=Bg;break;case If: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=If,t.lanes=a,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Bf:return t=g(13,n,t,i),t.elementType=Bf,t.lanes=a,t;case Vf:return t=g(19,n,t,i),t.elementType=Vf,t.lanes=a,t;default:if(typeof e==`object`&&e)switch(e.$$typeof){case Rf:o=10;break a;case Lf:o=9;break a;case zf:o=11,s=hr(s);break a;case Hf:o=14;break a;case Uf: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`:Jf(e)?n=`array`:e!==void 0&&e.$$typeof===Mf?(n=`<`+(C(e.type)||`Unknown`)+` />`,s=` Did you accidentally export a JSX literal instead of a component?`):n=typeof e,(o=r?w(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 N(e,t,n){return e=g(6,e,null,t),e.lanes=n,e}function Er(e){var t=g(18,null,null,U);return t.stateNode=e,t}function Dr(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 Or(e,t){if(typeof e==`object`&&e){var n=Ug.get(e);return n===void 0?(t={value:e,source:t,stack:be(t)},Ug.set(e,t),t):n}return{value:e,source:t,stack:be(t)}}function kr(e,t){Pr(),Wg[Gg++]=qg,Wg[Gg++]=Kg,Kg=e,qg=t}function Ar(e,t,n){Pr(),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 jr(e){Pr(),e.return!==null&&(kr(e,1),Ar(e,1,0))}function Mr(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 P(){return Pr(),Xg===null?null:{id:Zg,overflow:Qg}}function Nr(e,t){Pr(),Jg[Yg++]=Zg,Jg[Yg++]=Qg,Jg[Yg++]=Xg,Zg=t.id,Qg=t.overflow,Xg=e}function Pr(){G||console.error(`Expected to be hydrating. This is a bug in React. Please file an issue.`)}function Fr(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=Fr(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 Ir(){G&&console.error(`We should not be hydrating here. This is a bug in React. Please file a bug.`)}function Lr(e,t){t_||(e=Fr(e,0),e.serverProps=null,t!==null&&(t=yd(t),e.serverTail.push(t)))}function Rr(e){var t=1<arguments.length&&arguments[1]!==void 0&&arguments[1],n=``,r=n_;throw r!==null&&(n_=null,n=Bt(r)),Wr(Or(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 zr(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[qp]=e,t[Jp]=r,_u(n,r),n){case`dialog`:R(`cancel`,t),R(`close`,t);break;case`iframe`:case`object`:case`embed`:R(`load`,t);break;case`video`:case`audio`:for(n=0;n<fS.length;n++)R(fS[n],t);break;case`source`:R(`error`,t);break;case`img`:case`image`:case`link`:R(`error`,t),R(`load`,t);break;case`details`:R(`toggle`,t);break;case`input`:nt(`input`,r),R(`invalid`,t),ht(t,r),_t(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`option`:yt(t,r);break;case`select`:nt(`select`,r),R(`invalid`,t),xt(t,r);break;case`textarea`:nt(`textarea`,r),R(`invalid`,t),St(t,r),wt(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||Cu(t.textContent,n)?(r.popover!=null&&(R(`beforetoggle`,t),R(`toggle`,t)),r.onScroll!=null&&R(`scroll`,t),r.onScrollEnd!=null&&R(`scrollend`,t),r.onClick!=null&&(t.onclick=on),t=!0):t=!1,t||Rr(e,!0)}function Br(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 Vr(e){if(e!==$g)return!1;if(!G)return Br(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`||Uu(e.type,e.memoizedProps)),n=!n),n&&e_){for(n=e_;n;){var r=Fr(e,0),i=yd(n);r.serverTail.push(i),n=i.type===`Suspense`?xd(n):vd(n.nextSibling)}Rr(e)}if(Br(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_=xd(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_=xd(e)}else t===27?(t=e_,ed(e.type)?(e=nC,nC=null,e_=e):e_=t):e_=$g?vd(e.stateNode.nextSibling):null;return!0}function Hr(){e_=$g=null,t_=G=!1}function Ur(){var e=r_;return e!==null&&(mx===null?mx=e:mx.push.apply(mx,e),r_=null),e}function Wr(e){r_===null?r_=[e]:r_.push(e)}function Gr(){var e=n_;if(e!==null){n_=null;for(var t=Bt(e);0<e.children.length;)e=e.children[0];D(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 Kr(){u_=l_=null,d_=!1}function qr(e,t,n){E(o_,t._currentValue,e),t._currentValue=n,E(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 Jr(e,t){e._currentValue=o_.current;var n=s_.current;oe(s_,t),e._currentRenderer=n,oe(o_,t)}function F(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 Yr(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),F(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),F(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 Xr(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&&Yr(t,e,n,r),t.flags|=262144}function Zr(e){for(e=e.firstContext;e!==null;){if(!Gh(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Qr(e){l_=e,u_=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function $r(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().`),ti(l_,e)}function ei(e,t){return l_===null&&Qr(e),ti(e,t)}function ti(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 ni(){return{controller:new f_,data:new Map,refCount:0}}function ri(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 ii(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 ai(e,t,n){e&127?0>A_&&(A_=g_(),j_=__(t),N_=t,n!=null&&(P_=T(n)),(Z&(Fb|Ib))!==Pb&&(O_=!0,M_=v_),e=Ku(),t=Gu(),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_=T(n)),0>B_)&&(e=Ku(),t=Gu(),(e!==J_||t!==q_)&&(J_=-1.1),K_=e,q_=t)}function oi(e){if(0>A_){A_=g_(),j_=e._debugTask==null?null:e._debugTask,(Z&(Fb|Ib))!==Pb&&(M_=v_);var t=Ku(),n=Gu();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=Ku(),t=Gu(),(e!==J_||t!==q_)&&(J_=-1.1),K_=e,q_=t)}function si(){var e=T_;return T_=0,e}function ci(e){var t=T_;return T_=e,t}function li(e){var t=T_;return T_+=e,t}function ui(){q=K=-1.1}function di(){var e=K;return K=-1.1,e}function fi(e){0<=e&&(K=e)}function pi(){var e=E_;return E_=-0,e}function mi(e){0<=e&&(E_=e)}function hi(){var e=D_;return D_=null,e}function gi(){var e=O_;return O_=!1,e}function _i(e){w_=g_(),0>e.actualStartTime&&(e.actualStartTime=w_)}function vi(e){if(0<=w_){var t=g_()-w_;e.actualDuration+=t,e.selfBaseDuration=t,w_=-1}}function yi(e){if(0<=w_){var t=g_()-w_;e.actualDuration+=t,w_=-1}}function bi(){if(0<=w_){var e=g_(),t=e-w_;w_=-1,T_+=t,E_+=t,q=e}}function xi(e){D_===null&&(D_=[]),D_.push(e),C_===null&&(C_=[]),C_.push(e)}function Si(){w_=g_(),0>K&&(K=w_)}function Ci(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function wi(e,t){if(iv===null){var n=iv=[];av=0,ov=ru(),sv={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return av++,t.then(Ti,Ti),t}function Ti(){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 Ei(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 Di(){var e=lv.current;return e===null?Wb.pooledCache:e}function Oi(e,t){t===null?E(lv,lv.current,e):E(lv,t.pool,e)}function ki(){var e=Di();return e===null?null:{parent:h_._currentValue,pool:e}}function Ai(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function ji(e){return e=e.status,e===`fulfilled`||e===`rejected`}function Mi(e,t,n){B.actQueue!==null&&(B.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(on,on),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,Fi(e),e;default:if(typeof t.status==`string`)t.then(on,on);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,Fi(e),e}throw Hv=t,Uv=!0,Rv}}function Ni(e){try{return Lv(e)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(Hv=e,Uv=!0,Rv):e}}function Pi(){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 Fi(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 Ii(e){var t=J;return e!=null&&(J=t===null?e:t.concat(e)),t}function Li(){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 Ri(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),D(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 zi(e){var t=Gv;return Gv+=1,Wv===null&&(Wv=Ai()),Mi(Wv,e,t)}function Bi(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Vi(e,t){throw t.$$typeof===jf?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 Hi(e,t){var n=Li();n===null?Vi(e,t):n.run(Vi.bind(null,e,t))}function Ui(e,t){var n=T(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 Wi(e,t){var n=Li();n===null?Ui(e,t):n.run(Ui.bind(null,e,t))}function Gi(e,t){var n=T(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 Ki(e,t){var n=Li();n===null?Gi(e,t):n.run(Gi.bind(null,e,t))}function qi(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=N(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===Pf?(t=u(e,t,n.props.children,r,n.key),Ri(n,t,e),t):t!==null&&(t.elementType===a||gr(t,n)||typeof a==`object`&&a&&a.$$typeof===Uf&&Ni(a)===t.type)?(t=i(t,n.props),Bi(t,n),t.return=e,t._debugOwner=n._owner,t._debugInfo=J,t):(t=wr(n,e.mode,r),Bi(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=Dr(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=N(``+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 Mf:return n=wr(t,e.mode,n),Bi(n,t),n.return=e,e=Ii(t._debugInfo),n._debugInfo=J,J=e,n;case Nf:return t=Dr(t,e.mode,n),t.return=e,t._debugInfo=J,t;case Uf:var r=Ii(t._debugInfo);return t=Ni(t),e=d(e,t,n),J=r,e}if(Jf(t)||ie(t))return n=Tr(t,e.mode,n,null),n.return=e,n._debugOwner=e,n._debugTask=e._debugTask,e=Ii(t._debugInfo),n._debugInfo=J,J=e,n;if(typeof t.then==`function`)return r=Ii(t._debugInfo),e=d(e,zi(t),n),J=r,e;if(t.$$typeof===Rf)return d(e,ei(e,t),n);Hi(e,t)}return typeof t==`function`&&Wi(e,t),typeof t==`symbol`&&Ki(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 Mf:return n.key===i?(i=Ii(n._debugInfo),e=c(e,t,n,r),J=i,e):null;case Nf:return n.key===i?l(e,t,n,r):null;case Uf:return i=Ii(n._debugInfo),n=Ni(n),e=p(e,t,n,r),J=i,e}if(Jf(n)||ie(n))return i===null?(i=Ii(n._debugInfo),e=u(e,t,n,r,null),J=i,e):null;if(typeof n.then==`function`)return i=Ii(n._debugInfo),e=p(e,t,zi(n),r),J=i,e;if(n.$$typeof===Rf)return p(e,t,ei(e,n),r);Hi(e,n)}return typeof n==`function`&&Wi(e,n),typeof n==`symbol`&&Ki(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 Mf:return n=e.get(r.key===null?n:r.key)||null,e=Ii(r._debugInfo),t=c(t,n,r,i),J=e,t;case Nf:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case Uf:var a=Ii(r._debugInfo);return r=Ni(r),t=m(e,t,n,r,i),J=a,t}if(Jf(r)||ie(r))return n=e.get(n)||null,e=Ii(r._debugInfo),t=u(t,n,r,i,null),J=e,t;if(typeof r.then==`function`)return a=Ii(r._debugInfo),t=m(e,t,n,zi(r),i),J=a,t;if(r.$$typeof===Rf)return m(e,t,n,ei(t,r),i);Hi(t,r)}return typeof r==`function`&&Wi(t,r),typeof r==`symbol`&&Ki(t,r),null}function h(e,t,n,r){if(typeof n!=`object`||!n)return r;switch(n.$$typeof){case Mf:case Nf: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}D(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 Uf:n=Ni(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&&kr(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&&kr(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&&kr(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&&kr(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&&kr(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&&kr(i,g),l}function y(e,r,a,s){if(typeof a==`object`&&a&&a.type===Pf&&a.key===null&&(Ri(a,null,e),a=a.props.children),typeof a==`object`&&a){switch(a.$$typeof){case Mf:var c=Ii(a._debugInfo);a:{for(var l=a.key;r!==null;){if(r.key===l){if(l=a.type,l===Pf){if(r.tag===7){n(e,r.sibling),s=i(r,a.props.children),s.return=e,s._debugOwner=a._owner,s._debugInfo=J,Ri(a,s,e),e=s;break a}}else if(r.elementType===l||gr(r,a)||typeof l==`object`&&l&&l.$$typeof===Uf&&Ni(l)===r.type){n(e,r.sibling),s=i(r,a.props),Bi(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===Pf?(s=Tr(a.props.children,e.mode,s,a.key),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=J,Ri(a,s,e),e=s):(s=wr(a,e.mode,s),Bi(s,a),s.return=e,s._debugInfo=J,e=s)}return e=o(e),J=c,e;case Nf: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=Dr(c,e.mode,s),s.return=e,e=s}return o(e);case Uf:return c=Ii(a._debugInfo),a=Ni(a),e=y(e,r,a,s),J=c,e}if(Jf(a))return c=Ii(a._debugInfo),e=_(e,r,a,s),J=c,e;if(ie(a)){if(c=Ii(a._debugInfo),l=ie(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=Ii(a._debugInfo),e=y(e,r,zi(a),s),J=c,e;if(a.$$typeof===Rf)return y(e,r,ei(e,a),s);Hi(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=N(c,e.mode,s),s.return=e,s._debugOwner=e,s._debugTask=e._debugTask,s._debugInfo=J,e=s),o(e)):(typeof a==`function`&&Wi(e,a),typeof a==`symbol`&&Ki(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 Ji(e,t){var n=Jf(e);return e=!n&&typeof ie(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 Yi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Xi(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 Zi(e){return{lane:e,tag:$v,payload:null,callback:null,next:null}}function Qi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ay===r&&!iy){var i=T(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 $i(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,Ve(e,n)}}function ea(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 ta(){if(oy){var e=sv;if(e!==null)throw e}}function na(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){Ae(!0);try{m.call(g,d,h)}finally{Ae(!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){Ae(!0);try{_.call(g,d,h)}finally{Ae(!1)}}d_=!1}else m=_;if(m==null)break a;d=z({},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 ra(e,t){if(typeof e!=`function`)throw Error(`Invalid argument passed as callback. Expected a function. Instead received: `+e);e.call(t)}function ia(e,t){var n=e.shared.hiddenCallbacks;if(n!==null)for(e.shared.hiddenCallbacks=null,e=0;e<n.length;e++)ra(n[e],t)}function aa(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)ra(n[e],t)}function oa(e,t){var n=ox;E(cy,n,e),E(sy,t,e),ox=n|t.baseLanes}function sa(e){E(cy,ox,e),E(sy,sy.current,e)}function ca(e){ox=cy.current,oe(sy,e),oe(cy,e)}function la(e){var t=e.alternate;E(py,py.current&dy,e),E(ly,e,e),uy===null&&(t===null||sy.current!==null||t.memoizedState!==null)&&(uy=e)}function ua(e){E(py,py.current,e),E(ly,e,e),uy===null&&(uy=e)}function da(e){e.tag===22?(E(py,py.current,e),E(ly,e,e),uy===null&&(uy=e)):fa(e)}function fa(e){E(py,py.current,e),E(ly,ly.current,e)}function pa(e){oe(ly,e),uy===e&&(uy=null),oe(py,e)}function ma(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||hd(n)||gd(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 I(){var e=X;Fy===null?Fy=[e]:Fy.push(e)}function L(){var e=X;if(Fy!==null&&(Iy++,Fy[Iy]!==e)){var t=T(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 ha(e){e==null||Jf(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 ga(){var e=T(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 _a(){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 va(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 ya(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=T(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,B.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=xa(t,n,r,i)),a){Ae(!0);try{o=xa(t,n,r,i)}finally{Ae(!1)}}return ba(e,t),o}function ba(e,t){t._debugHookTypes=Fy,t.dependencies===null?My!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:My}):t.dependencies._debugThenableState=My,B.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&&Zr(e)&&(sb=!0)),Uv?(Uv=!1,e=!0):e=!1,e&&(t=T(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 xa(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,B.H=Hy,a=xv(t,n,r)}while(Oy);return a}function Sa(){var e=B.H,t=e.useState()[0];return t=typeof t.then==`function`?ka(t):t,e=e.useState()[0],(Ty===null?null:Ty.memoizedState)!==e&&(Y.flags|=1024),t}function Ca(){var e=Ay!==0;return Ay=0,e}function wa(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Bg)===U?t.flags&-2053:t.flags&-402655237,e.lanes&=~n}function Ta(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 Ea(){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 Da(){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 Oa(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ka(e){var t=jy;return jy+=1,My===null&&(My=Ai()),e=Mi(My,e,t),t=Y,(Ey===null?t.memoizedState:Ey.next)===null&&(t=t.alternate,B.H=t!==null&&t.memoizedState!==null?Vy:zy),e}function Aa(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return ka(e);if(e.$$typeof===Rf)return $r(e)}throw Error(`An unsupported type was passed to use(): `+String(e))}function ja(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=Oa(),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]=Gf;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 Ma(e,t){return typeof t==`function`?t(e):t}function Na(e,t,n){var r=Ea();if(n!==void 0){var i=n(t);if(ky){Ae(!0);try{n(t)}finally{Ae(!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=Ho.bind(null,Y,e),[r.memoizedState,e]}function Pa(e){return Fa(Da(),Ty,e)}function Fa(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 Ia(e){var t=Da(),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 La(e,t,n){var r=Y,i=Ea();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||za(r,t,a)}return i.memoizedState=a,n={value:a,getSnapshot:t},i.queue=n,po(Va.bind(null,r,n,e),[e]),r.flags|=2048,co(hy|vy,{destroy:void 0},Ba.bind(null,r,n,a,t),null),a}function Ra(e,t,n){var r=Y,i=Da(),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,fo(2048,vy,Va.bind(null,r,i,e),[e]),i.getSnapshot!==t||o||Ey!==null&&Ey.memoizedState.tag&hy){if(r.flags|=2048,co(hy|vy,{destroy:void 0},Ba.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||za(r,t,n)}return n}function za(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Y.updateQueue,t===null?(t=Oa(),Y.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Ba(e,t,n,r){t.value=n,t.getSnapshot=r,Ha(t)&&Ua(e)}function Va(e,t,n){return n(function(){Ha(t)&&(ai(2,`updateSyncExternalStore()`,e),Ua(e))})}function Ha(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Gh(e,n)}catch{return!0}}function Ua(e){var t=dr(e,2);t!==null&&tl(t,e,2)}function Wa(e){var t=Ea();if(typeof e==`function`){var n=e;if(e=n(),ky){Ae(!0);try{n()}finally{Ae(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:e},t}function Ga(e){e=Wa(e);var t=e.queue,n=Uo.bind(null,Y,t);return t.dispatch=n,[e.memoizedState,n]}function Ka(e){var t=Ea();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Go.bind(null,Y,!0,n),n.dispatch=t,[e,t]}function qa(e,t){return Ja(Da(),Ty,e,t)}function Ja(e,t,n,r){return e.baseState=n,Fa(e,Ty,typeof r==`function`?r:Ma)}function Ya(e,t){var n=Da();return Ty===null?(n.baseState=e,[e,n.queue.dispatch]):Ja(n,Ty,e,t)}function Xa(e,t,n,r,i){if(Ko(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)}};B.T===null?a.isTransition=!1:n(!0),r(a),n=t.pending,n===null?(a.next=t.pending=a,Za(t,a)):(a.next=n.next,t.pending=n.next=a)}}function Za(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=B.T,o={};o._updatedFibers=new Set,B.T=o;try{var s=n(i,r),c=B.S;c!==null&&c(o,s),Qa(e,t,s)}catch(n){eo(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),B.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),Qa(e,t,o)}catch(n){eo(e,t,n)}}function Qa(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?(B.asyncTransitions++,n.then(Ao,Ao),n.then(function(n){$a(e,t,n)},function(n){return eo(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.")):$a(e,t,n)}function $a(e,t,n){t.status=`fulfilled`,t.value=n,to(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Za(e,n)))}function eo(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,to(t),t=t.next;while(t!==r)}e.action=null}function to(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function no(e,t){return t}function ro(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=vd(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===zS||a===BS?i:null}if(i){e_=vd(i.nextSibling),r=i.data===zS;break a}}Rr(r)}r=!1}r&&(t=n[0])}}return n=Ea(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:no,lastRenderedState:t},n.queue=r,n=Uo.bind(null,Y,r),r.dispatch=n,r=Wa(!1),a=Go.bind(null,Y,!1,r.queue),r=Ea(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Xa.bind(null,Y,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function io(e){return ao(Da(),Ty,e)}function ao(e,t,n){if(t=Fa(e,t,no)[0],e=Pa(Ma)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=ka(t)}catch(e){throw e===Rv?Bv:e}else r=t;t=Da();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(Y.flags|=2048,co(hy|vy,{destroy:void 0},oo.bind(null,i,n),null)),[r,a,e]}function oo(e,t){e.action=t}function so(e){var t=Da(),n=Ty;if(n!==null)return ao(t,n,e);Da(),t=t.memoizedState,n=Da();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function co(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=Y.updateQueue,t===null&&(t=Oa(),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 lo(e){var t=Ea();return e={current:e},t.memoizedState=e}function uo(e,t,n,r){var i=Ea();Y.flags|=e,i.memoizedState=co(hy|t,{destroy:void 0},n,r===void 0?null:r)}function fo(e,t,n,r){var i=Da();r=r===void 0?null:r;var a=i.memoizedState.inst;Ty!==null&&r!==null&&va(r,Ty.memoizedState.deps)?i.memoizedState=co(t,a,n,r):(Y.flags|=e,i.memoizedState=co(hy|t,a,n,r))}function po(e,t){(Y.mode&Bg)===U?uo(8390656,vy,e,t):uo(276826112,vy,e,t)}function mo(e){Y.flags|=4;var t=Y.updateQueue;if(t===null)t=Oa(),Y.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ho(e){var t=Ea(),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 go(e){var t=Da().memoizedState;return mo({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 _o(e,t){var n=4194308;return(Y.mode&Bg)!==U&&(n|=134217728),uo(n,_y,e,t)}function vo(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 yo(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),uo(r,_y,vo.bind(null,t,e),n)}function bo(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]),fo(4,_y,vo.bind(null,t,e),n)}function xo(e,t){return Ea().memoizedState=[e,t===void 0?null:t],e}function So(e,t){var n=Da();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&va(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Co(e,t){var n=Ea();t=t===void 0?null:t;var r=e();if(ky){Ae(!0);try{e()}finally{Ae(!1)}}return n.memoizedState=[r,t],r}function wo(e,t){var n=Da();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&va(t,r[1]))return r[0];if(r=e(),ky){Ae(!0);try{e()}finally{Ae(!1)}}return n.memoizedState=[r,t],r}function To(e,t){return Oo(Ea(),e,t)}function Eo(e,t){return ko(Da(),Ty.memoizedState,e,t)}function Do(e,t){var n=Da();return Ty===null?Oo(n,e,t):ko(n,Ty.memoizedState,e,t)}function Oo(e,t,n){return n===void 0||wy&1073741824&&!($&261930)?e.memoizedState=t:(e.memoizedState=n,e=el(),Y.lanes|=e,cx|=e,n)}function ko(e,t,n,r){return Gh(n,t)?n:sy.current===null?!(wy&42)||wy&1073741824&&!($&261930)?(sb=!0,e.memoizedState=n):(e=el(),Y.lanes|=e,cx|=e,t):(e=Oo(e,n,r),Gh(e,t)||(sb=!0),e)}function Ao(){B.asyncTransitions--}function jo(e,t,n,r,i){var a=Yf.p;Yf.p=a!==0&&a<Up?a:Up;var o=B.T,s={};s._updatedFibers=new Set,B.T=s,Go(e,!1,t,n);try{var c=i(),l=B.S;if(l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`){B.asyncTransitions++,c.then(Ao,Ao);var u=Ei(c,r);Wo(e,t,u,$c(e))}else Wo(e,t,r,$c(e))}catch(n){Wo(e,t,{then:function(){},status:`rejected`,reason:n},$c(e))}finally{Yf.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),B.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 Mo(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=No(e).queue;oi(e),jo(e,i,t,yC,n===null?u:function(){return Po(e),n(r)})}function No(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:Ma,lastRenderedState:yC},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ma,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Po(e){B.T===null&&console.error(`requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.`);var t=No(e);t.next===null&&(t=e.alternate.memoizedState),Wo(e,t.next.queue,{},$c(e))}function Fo(){var e=Wa(!1);return e=jo.bind(null,Y,e.queue,!0,!1),Ea().memoizedState=e,[!1,e]}function Io(){var e=Pa(Ma)[0],t=Da().memoizedState;return[typeof e==`boolean`?e:ka(e),t]}function Lo(){var e=Ia(Ma)[0],t=Da().memoizedState;return[typeof e==`boolean`?e:ka(e),t]}function Ro(){return $r(bC)}function zo(){var e=Ea(),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 Bo(){return Ea().memoizedState=Vo.bind(null,Y)}function Vo(e,t){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var r=$c(n),i=Zi(r),a=Qi(n,i,r);a!==null&&(ai(r,`refresh()`,e),tl(a,n,r),$i(a,n,r)),e=ni(),t!=null&&a!==null&&console.error(`The seed argument is not enabled outside experimental channels.`),i.payload={cache:e};return}n=n.return}}function Ho(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=$c(e);var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};Ko(e)?qo(t,i):(i=ur(e,t,i,r),i!==null&&(ai(r,`dispatch()`,e),tl(i,e,r),Jo(i,t,r)))}function Uo(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=$c(e),Wo(e,t,n,r)&&ai(r,`setState()`,e)}function Wo(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ko(e))qo(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null)){var o=B.H;B.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{B.H=o}}if(n=ur(e,t,i,r),n!==null)return tl(n,e,r),Jo(n,t,r),!0}return!1}function Go(e,t,n,r){if(B.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:ru(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Ko(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&&(ai(2,`setOptimistic()`,e),tl(t,e,2))}function Ko(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function qo(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 Jo(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ve(e,n)}}function Yo(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 Xo(e,t,n,r){var i=e.memoizedState,a=n(r,i);if(e.mode&zg){Ae(!0);try{a=n(r,i)}finally{Ae(!1)}}a===void 0&&(t=C(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:z({},i,a),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}function Zo(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){Ae(!0);try{n=s.shouldComponentUpdate(r,a,o)}finally{Ae(!1)}}return n===void 0&&console.error(`%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.`,C(t)||`Component`),n}return t.prototype&&t.prototype.isPureReactComponent?!Pn(n,r)||!Pn(i,a):!0}function Qo(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=T(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 $o(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=z({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function es(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 ts(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 ns(e){pg(e)}function rs(e,t){try{ib=t.source?T(t.source):null,ab=null;var n=t.value;if(B.actQueue!==null)B.thrownErrors.push(n);else{var r=e.onUncaughtError;r(n,{componentStack:t.stack})}}catch(e){setTimeout(function(){throw e})}}function is(e,t,n){try{ib=n.source?T(n.source):null,ab=T(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 as(e,t,n){return n=Zi(n),n.tag=ny,n.payload={element:null},n.callback=function(){D(t.source,rs,e,t)},n}function os(e){return e=Zi(e),e.tag=ny,e}function ss(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),D(r.source,is,t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){_r(n),D(r.source,is,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.`,T(n)||`Unknown`)})}function cs(e,t,n,r,i){if(n.flags|=32768,Fp&&Gl(e,i),typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Xr(t,n,i,!0),G&&(t_=!0),n=ly.current,n!==null){switch(n.tag){case 31:case 13:return uy===null?hl():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),Il(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)),Il(e,r,i)),!1}throw Error(`Unexpected Suspense handler tag (`+n.tag+`). This is a bug in React.`)}return Il(e,r,i),hl(),!1}if(G)return t_=!0,t=ly.current,t===null?(r!==a_&&Wr(Or(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=Or(r,n),i=as(e.stateNode,r,i),ea(e,i),sx!==Vb&&(sx=zb)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=i,r!==a_&&Wr(Or(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=Or(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=Or(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=as(n.stateNode,r,e),ea(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=os(i),ss(i,e,n,r),ea(n,i),!1}n=n.return}while(n!==null);return!1}function ls(e,t,n,r){t.child=e===null?Qv(t,null,n,r):Zv(t,e.child,n,r)}function us(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 Qr(t),r=ya(e,t,n,o,a,i),s=Ca(),e!==null&&!sb?(wa(e,t,i),Ps(e,t,i)):(G&&s&&jr(t),t.flags|=1,ls(e,t,r,i),t.child)}function ds(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,ws(t,a),fs(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,!Fs(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?Pn:n,n(o,r)&&e.ref===t.ref)return Ps(e,t,i)}return t.flags|=1,e=xr(a,r),e.ref=t.ref,e.return=t,t.child=e}function fs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Pn(a,r)&&e.ref===t.ref&&t.type===e.type){if(sb=!1,t.pendingProps=r=a,Fs(e,i))e.flags&131072&&(sb=!0);else return t.lanes=e.lanes,Ps(e,t,i)}}return bs(e,t,n,r,i)}function ps(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 hs(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Oi(t,a===null?null:a.cachePool),a===null?sa(t):oa(t,a),da(t);else return r=t.lanes=536870912,hs(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&Oi(t,null),sa(t),fa(t)):(Oi(t,a.cachePool),oa(t,a),fa(t),t.memoizedState=null);return ls(e,t,i,n),t.child}function ms(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:Ag,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function hs(e,t,n,r,i){var a=Di();return a=a===null?null:{parent:h_._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&Oi(t,null),sa(t),da(t),e!==null&&Xr(e,t,r,!0),t.childLanes=i,null}function gs(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=ks({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function _s(e,t,n){return Zv(t,e.child,null,n),e=gs(t,t.pendingProps),e.flags|=2,pa(t),t.memoizedState=null,e}function vs(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=gs(t,r),t.lanes=536870912,ms(null,e);if(ua(t),(e=e_)?(n=md(e,i_),n=n!==null&&n.data===kS?n:null,n!==null&&(r={dehydrated:n,treeContext:P(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Er(n),r.return=t,t.child=r,$g=t,e_=null)):n=null,n===null)throw Lr(t,e),Rr(t);return t.lanes=536870912,null}return gs(t,r)}var a=e.memoizedState;if(a!==null){var o=a.dehydrated;if(ua(t),i){if(t.flags&256)t.flags&=-257,t=_s(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(Ir(),n&536870912&&ml(t),sb||Xr(e,t,n,!1),i=(n&e.childLanes)!==0,sb||i){if(r=Wb,r!==null&&(o=He(r,n),o!==0&&o!==a.retryLane))throw a.retryLane=o,dr(e,o),tl(r,e,o),ob;hl(),t=_s(e,t,n)}else e=a.treeContext,e_=vd(o.nextSibling),$g=t,G=!0,r_=null,t_=!1,n_=null,i_=!1,e!==null&&Nr(t,e),t=gs(t,r),t.flags|=4096;return t}return a=e.child,r={mode:r.mode,children:r.children},n&536870912&&(n&e.lanes)!==0&&ml(t),e=xr(a,r),e.ref=t.ref,t.child=e,e.return=t,e}function ys(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 bs(e,t,n,r,i){if(n.prototype&&typeof n.prototype.render==`function`){var a=C(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&&(ws(t,t.type),n.contextTypes&&(a=C(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)))),Qr(t),n=ya(e,t,n,r,void 0,i),r=Ca(),e!==null&&!sb?(wa(e,t,i),Ps(e,t,i)):(G&&r&&jr(t),t.flags|=1,ls(e,t,n,i),t.child)}function xs(e,t,n,r,i,a){return Qr(t),Iy=-1,Ly=e!==null&&e.type!==t.type,t.updateQueue=null,n=xa(t,r,n,i),ba(e,t),r=Ca(),e!==null&&!sb?(wa(e,t,a),Ps(e,t,a)):(G&&r&&jr(t),t.flags|=1,ls(e,t,n,a),t.child)}function Ss(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=os(c),ss(c,o,t,Or(a,t)),ea(t,c)}if(Qr(t),t.stateNode===null){if(o=Fg,a=n.contextType,`contextType`in n&&a!==null&&(a===void 0||a.$$typeof!==Rf)&&!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===Lf?` 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`,C(n)||`Component`,c)),typeof a==`object`&&a&&(o=$r(a)),a=new n(r,o),t.mode&zg){Ae(!0);try{a=new n(r,o)}finally{Ae(!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=C(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=C(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=C(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.`,C(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.`,C(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`||Jf(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={},Yi(t),o=n.contextType,a.context=typeof o==`object`&&o?$r(o):Fg,a.state===r&&(o=C(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`&&(Xo(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.`,T(t)||`Component`),rb.enqueueReplaceState(a,a.state,null)),na(t,r,a,i),ta(),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=$o(n,d),a.props=c;var f=a.context;l=n.contextType,o=Fg,typeof l==`object`&&l&&(o=$r(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)&&Qo(t,a,r,o),ry=!1;var p=t.memoizedState;a.state=p,na(t,r,a,i),ta(),f=t.memoizedState,d||p!==f||ry?(typeof u==`function`&&(Xo(t,n,u,r),f=t.memoizedState),(c=ry||Zo(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,Xi(e,t),o=t.memoizedProps,l=$o(n,o),a.props=l,u=t.pendingProps,p=a.context,f=n.contextType,c=Fg,typeof f==`object`&&f&&(c=$r(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)&&Qo(t,a,r,c),ry=!1,p=t.memoizedState,a.state=p,na(t,r,a,i),ta();var m=t.memoizedState;o!==u||p!==m||ry||e!==null&&e.dependencies!==null&&Zr(e.dependencies)?(typeof d==`function`&&(Xo(t,n,d,r),m=t.memoizedState),(l=ry||Zo(t,n,l,r,p,m,c)||e!==null&&e.dependencies!==null&&Zr(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,ys(e,t),o=!!(t.flags&128),c||o){if(c=t.stateNode,we(t),o&&typeof n.getDerivedStateFromError!=`function`)n=null,w_=-1;else if(n=Cv(c),t.mode&zg){Ae(!0);try{Cv(c)}finally{Ae(!1)}}t.flags|=1,e!==null&&o?(t.child=Zv(t,e.child,null,i),t.child=Zv(t,null,n,i)):ls(e,t,n,i),t.memoizedState=c.state,e=t.child}else e=Ps(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.",T(t)||`a component`),fb=!0),e}function Cs(e,t,n,r){return Hr(),t.flags|=256,ls(e,t,n,r),t.child}function ws(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=C(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=C(t)||`Unknown`,lb[t]||(console.error(`%s: Function components do not support contextType.`,t),lb[t]=!0))}function Ts(e){return{baseLanes:e,cachePool:ki()}}function Es(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=dx),e}function Ds(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?la(t):fa(t),(e=e_)?(n=md(e,i_),n=n!==null&&n.data!==kS?n:null,n!==null&&(r={dehydrated:n,treeContext:P(),retryLane:536870912,hydrationErrors:null},t.memoizedState=r,r=Er(n),r.return=t,t.child=r,$g=t,e_=null)):n=null,n===null)throw Lr(t,e),Rr(t);return gd(n)?t.lanes=32:t.lanes=536870912,null}var c=i.children;if(i=i.fallback,a){fa(t);var l=t.mode;return c=ks({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=Ts(n),i.childLanes=Es(e,r,n),t.memoizedState=hb,ms(null,i)}return la(t),Os(t,c)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(d!==null){if(s)t.flags&256?(la(t),t.flags&=-257,t=As(e,t,n)):t.memoizedState===null?(fa(t),c=i.fallback,l=t.mode,i=ks({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=Ts(n),i.childLanes=Es(e,r,n),t.memoizedState=hb,t=ms(null,i)):(fa(t),t.child=e.child,t.flags|=128,t=null);else if(la(t),Ir(),n&536870912&&ml(t),gd(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),Wr(i),t=As(e,t,n)}else if(sb||Xr(e,t,n,!1),r=(n&e.childLanes)!==0,sb||r){if(r=Wb,r!==null&&(i=He(r,n),i!==0&&i!==u.retryLane))throw u.retryLane=i,dr(e,i),tl(r,e,i),ob;hd(d)||hl(),t=As(e,t,n)}else hd(d)?(t.flags|=192,t.child=e.child,t=null):(e=u.treeContext,e_=vd(d.nextSibling),$g=t,G=!0,r_=null,t_=!1,n_=null,i_=!1,e!==null&&Nr(t,e),t=Os(t,i.children),t.flags|=4096);return t}}return a?(fa(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,ms(null,i),i=t.child,c=e.child.memoizedState,c===null?c=Ts(n):(l=c.cachePool,l===null?l=ki():(p=h_._currentValue,l=l.parent===p?l:{parent:p,pool:p}),c={baseLanes:c.baseLanes|n,cachePool:l}),i.memoizedState=c,i.childLanes=Es(e,r,n),t.memoizedState=hb,ms(e.child,i)):(u!==null&&(n&62914560)===n&&(n&e.lanes)!==0&&ml(t),la(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 Os(e,t){return t=ks({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function ks(e,t){return e=g(22,e,null,t),e.lanes=0,e}function As(e,t,n){return Zv(t,e.child,null,n),e=Os(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function js(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),F(e.return,t,n)}function Ms(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 Ns(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,E(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(Jf(o)){for(s=0;s<o.length;s++)if(!Ji(o[s],s))break a}else if(s=ie(o),typeof s==`function`){if(s=s.call(o))for(var c=s.next(),l=0;!c.done;c=s.next()){if(!Ji(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(ls(e,t,o,n),G?(Pr(),o=qg):o=0,!r&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&js(e,n,t);else if(e.tag===19)js(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&&ma(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ms(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&&ma(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ms(t,!0,n,null,a,o);break;case`together`:Ms(t,!1,null,null,void 0,o);break;default:t.memoizedState=null}return t.child}function Ps(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),w_=-1,cx|=t.lanes,(n&t.childLanes)===0){if(e!==null){if(Xr(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 Fs(e,t){return(e.lanes&t)!==0||(e=e.dependencies,!!(e!==null&&Zr(e)))}function Is(e,t,n){switch(t.tag){case 3:ce(t,t.stateNode.containerInfo),qr(t,h_,e.memoizedState.cache),Hr();break;case 27:case 5:de(t);break;case 4:ce(t,t.stateNode.containerInfo);break;case 10:qr(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,ua(t),null;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(la(t),e=Ps(e,t,n),e===null?null:e.sibling):Ds(e,t,n):(la(t),t.flags|=128,null);la(t);break;case 19:var i=!!(e.flags&128);if(r=(n&t.childLanes)!==0,r||=(Xr(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Ns(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),E(py,py.current,t),r)break;return null;case 22:return t.lanes=0,ps(e,t,n,t.pendingProps);case 24:qr(t,h_,e.memoizedState.cache)}return Ps(e,t,n)}function Ls(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(!Fs(e,n)&&!(t.flags&128))return sb=!1,Is(e,t,n);sb=!!(e.flags&131072)}}else sb=!1,(r=G)&&(Pr(),r=!!(t.flags&1048576)),r&&(r=t.index,Pr(),Ar(t,qg,r));switch(t.lanes=0,t.tag){case 16:a:if(r=t.pendingProps,e=Ni(t.elementType),t.type=e,typeof e==`function`)br(e)?(r=$o(e,r),t.tag=1,t.type=e=mr(e),t=Ss(null,t,e,r,n)):(t.tag=0,ws(t,e),t.type=e=mr(e),t=bs(null,t,e,r,n));else{if(e!=null){if(i=e.$$typeof,i===zf){t.tag=11,t.type=e=hr(e),t=us(null,t,e,r,n);break a}if(i===Hf){t.tag=14,t=ds(null,t,e,r,n);break a}}throw t=``,typeof e==`object`&&e&&e.$$typeof===Uf&&(t=` Did you wrap a component in React.lazy() more than once?`),n=C(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 bs(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,i=$o(r,t.pendingProps),Ss(e,t,r,i,n);case 3:a:{if(ce(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,Xi(e,t),na(t,r,null,n);var o=t.memoizedState;if(r=o.cache,qr(t,h_,r),r!==a.cache&&Yr(t,[h_],n,!0),ta(),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=Cs(e,t,r,n);break a}if(r!==i){i=Or(Error(`This root received an early update, before anything was able hydrate. Switched the entire root to client rendering.`),t),Wr(i),t=Cs(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_=vd(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(Hr(),r===i){t=Ps(e,t,n);break a}ls(e,t,r,n)}t=t.child}return t;case 26:return ys(e,t),e===null?(n=jd(t.type,null,t.pendingProps,null))?t.memoizedState=n:G||(n=t.type,e=t.pendingProps,r=se(np.current),r=Bu(r).createElement(n),r[qp]=t,r[Jp]=e,Eu(r,n,e),$e(r),t.stateNode=r):t.memoizedState=jd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return de(t),e===null&&G&&(r=se(np.current),i=ue(),r=t.stateNode=Ed(t.type,t.pendingProps,r,i,!1),t_||(i=Iu(r,t.type,t.pendingProps,i),i!==null&&(Fr(t,0).serverProps=i)),$g=t,i_=!0,i=e_,ed(t.type)?(nC=i,e_=vd(r.firstChild)):e_=i),ls(e,t,t.pendingProps.children,n),ys(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&G&&(a=ue(),r=Kt(t.type,a.ancestorInfo),i=e_,(o=!i)||(o=fd(i,t.type,t.pendingProps,i_),o===null?a=!1:(t.stateNode=o,t_||(a=Iu(o,t.type,t.pendingProps,a),a!==null&&(Fr(t,0).serverProps=a)),$g=t,e_=vd(o.firstChild),i_=!1,a=!0),o=!a),o&&(r&&Lr(t,i),Rr(t))),de(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,r=a.children,Uu(i,a)?r=null:o!==null&&Uu(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=ya(e,t,Sa,null,null,n),bC._currentValue=i),ys(e,t),ls(e,t,r,n),t.child;case 6:return e===null&&G&&(n=t.pendingProps,e=ue(),r=e.ancestorInfo.current,n=r==null||qt(n,r.tag,e.ancestorInfo.implicitRootScope),e=e_,(r=!e)||(r=pd(e,t.pendingProps,i_),r===null?r=!1:(t.stateNode=r,$g=t,e_=null,r=!0),r=!r),r&&(n&&Lr(t,e),Rr(t))),null;case 13:return Ds(e,t,n);case 4:return ce(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Zv(t,null,r,n):ls(e,t,r,n),t.child;case 11:return us(e,t,t.type,t.pendingProps,n);case 7:return ls(e,t,t.pendingProps,n),t.child;case 8:return ls(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,ls(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?")),qr(t,r,a),ls(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.`),Qr(t),i=$r(i),r=xv(r,i,void 0),t.flags|=1,ls(e,t,r,n),t.child;case 14:return ds(e,t,t.type,t.pendingProps,n);case 15:return fs(e,t,t.type,t.pendingProps,n);case 19:return Ns(e,t,n);case 31:return vs(e,t,n);case 22:return ps(e,t,n,t.pendingProps);case 24:return Qr(t),r=$r(h_),e===null?(i=Di(),i===null&&(i=Wb,a=ni(),i.pooledCache=a,ri(a),a!==null&&(i.pooledCacheLanes|=n),i=a),t.memoizedState={parent:r,cache:i},Yi(t),qr(t,h_,i)):((e.lanes&n)!==0&&(Xi(e,t),na(t,null,null,n),ta()),i=e.memoizedState,a=t.memoizedState,i.parent===r?(r=a.cache,qr(t,h_,r),r!==i.cache&&Yr(t,[h_],n,!0)):(i={parent:r,cache:r},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),qr(t,h_,r))),ls(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 Rs(e){e.flags|=4}function zs(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(dl())e.flags|=8192;else throw Hv=Vv,zv}}else e.flags&=-16777217}function Bs(e,t){if(t.type!==`stylesheet`||(t.state.loading&sC)!==rC)e.flags&=-16777217;else if(e.flags|=16777216,!Kd(t)){if(dl())e.flags|=8192;else throw Hv=Vv,zv}}function Vs(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Ie(),e.lanes|=t,fx|=t)}function Hs(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 Us(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 Ws(e,t,n){var r=t.pendingProps;switch(Mr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Us(t),null;case 1:return Us(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Jr(h_,t),le(t),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Vr(t)?(Gr(),Rs(t)):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ur())),Us(t),null;case 26:var i=t.type,a=t.memoizedState;return e===null?(Rs(t),a===null?(Us(t),zs(t,i,null,r,n)):(Us(t),Bs(t,a))):a?a===e.memoizedState?(Us(t),t.flags&=-16777217):(Rs(t),Us(t),Bs(t,a)):(e=e.memoizedProps,e!==r&&Rs(t),Us(t),zs(t,i,e,r,n)),null;case 27:if(fe(t),n=se(np.current),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Rs(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 Us(t),null}e=ue(),Vr(t)?zr(t,e):(e=Ed(i,r,n,e,!0),t.stateNode=e,Rs(t))}return Us(t),null;case 5:if(fe(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Rs(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 Us(t),null}var o=ue();if(Vr(t))zr(t,o);else{switch(a=se(np.current),Kt(i,o.ancestorInfo),o=o.context,a=Bu(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(Eu(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&&Rs(t)}}return Us(t),zs(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Rs(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=se(np.current),n=ue(),Vr(t)){if(e=t.stateNode,n=t.memoizedProps,i=!t_,r=null,a=$g,a!==null)switch(a.tag){case 3:i&&(i=bd(e,n,r),i!==null&&(Fr(t,0).serverProps=i));break;case 27:case 5:r=a.memoizedProps,i&&(i=bd(e,n,r),i!==null&&(Fr(t,0).serverProps=i))}e[qp]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Cu(e.nodeValue,n)),e||Rr(t,!0)}else i=n.ancestorInfo.current,i!=null&&qt(r,i.tag,n.ancestorInfo.implicitRootScope),e=Bu(e).createTextNode(r),e[qp]=t,t.stateNode=e}return Us(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Vr(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,Us(t),(t.mode&W)!==U&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration))}else Gr(),Hr(),!(t.flags&128)&&(n=t.memoizedState=null),t.flags|=4,Us(t),(t.mode&W)!==U&&n!==null&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration));e=!1}else n=Ur(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(pa(t),t):(pa(t),null);if(t.flags&128)throw Error(`Client rendering an Activity suspended it again. This is a bug in React.`)}return Us(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=r,a=Vr(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,Us(t),(t.mode&W)!==U&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration))}else Gr(),Hr(),!(t.flags&128)&&(i=t.memoizedState=null),t.flags|=4,Us(t),(t.mode&W)!==U&&i!==null&&(i=t.child,i!==null&&(t.treeBaseDuration-=i.treeBaseDuration));i=!1}else i=Ur(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(pa(t),t):(pa(t),null)}return pa(t),t.flags&128?(t.lanes=n,(t.mode&W)!==U&&Ci(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),Vs(t,t.updateQueue),Us(t),(t.mode&W)!==U&&n&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return le(t),e===null&&uu(t.stateNode.containerInfo),Us(t),null;case 10:return Jr(t.type,t),Us(t),null;case 19:if(oe(py,t),r=t.memoizedState,r===null)return Us(t),null;if(i=!!(t.flags&128),a=r.rendering,a===null){if(i)Hs(r,!1);else{if(sx!==Lb||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=ma(e),a!==null){for(t.flags|=128,Hs(r,!1),e=a.updateQueue,t.updateQueue=e,Vs(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Sr(n,e),n=n.sibling;return E(py,py.current&dy|fy,t),G&&kr(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&Cp()>yx&&(t.flags|=128,i=!0,Hs(r,!1),t.lanes=4194304)}}else{if(!i){if(e=ma(a),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Vs(t,e),Hs(r,!0),r.tail===null&&r.tailMode===`hidden`&&!a.alternate&&!G)return Us(t),null}else 2*Cp()-r.renderingStartTime>yx&&n!==536870912&&(t.flags|=128,i=!0,Hs(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?(Us(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,E(py,n,t),G&&kr(t,r.treeForkCount),e);case 22:case 23:return pa(t),ca(t),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Us(t),t.subtreeFlags&6&&(t.flags|=8192)):Us(t),n=t.updateQueue,n!==null&&Vs(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&&oe(lv,t),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Jr(h_,t),Us(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 Gs(e,t){switch(Mr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ci(t),t):null;case 3:return Jr(h_,t),le(t),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return fe(t),null;case 31:if(t.memoizedState!==null){if(pa(t),t.alternate===null)throw Error(`Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.`);Hr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ci(t),t):null;case 13:if(pa(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.`);Hr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ci(t),t):null;case 19:return oe(py,t),null;case 4:return le(t),null;case 10:return Jr(t.type,t),null;case 22:case 23:return pa(t),ca(t),e!==null&&oe(lv,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&W)!==U&&Ci(t),t):null;case 24:return Jr(h_,t),null;case 25:return null;default:return null}}function Ks(e,t){switch(Mr(t),t.tag){case 3:Jr(h_,t),le(t);break;case 26:case 27:case 5:fe(t);break;case 4:le(t);break;case 31:t.memoizedState!==null&&pa(t);break;case 13:pa(t);break;case 19:oe(py,t);break;case 10:Jr(t.type,t);break;case 22:case 23:pa(t),ca(t),e!==null&&oe(lv,t);break;case 24:Jr(h_,t)}}function qs(e){return(e.mode&W)!==U}function Js(e,t){qs(e)?(Si(),Xs(t,e),bi()):Xs(t,e)}function Ys(e,t,n){qs(e)?(Si(),Zs(n,e,t),bi()):Zs(n,e,t)}function Xs(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=D(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,D(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){Fl(t,t.return,e)}}function Zs(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,D(i,Fv,i,n,s),(e&gy)!==my&&($x=!1))}r=r.next}while(r!==a)}}catch(e){Fl(t,t.return,e)}}function Qs(e,t){qs(e)?(Si(),Xs(t,e),bi()):Xs(t,e)}function $s(e,t,n){qs(e)?(Si(),Zs(n,e,t),bi()):Zs(n,e,t)}function ec(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.",T(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.",T(e)||`instance`));try{D(e,aa,t,n)}catch(t){Fl(e,e.return,t)}}}function tc(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function nc(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.",T(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.",T(e)||`instance`));try{var i=$o(e.type,n),a=D(e,tc,t,i,r);n=_b,a!==void 0||n.has(e.type)||(n.add(e.type),D(e,function(){console.error(`%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.`,T(e))})),t.__reactInternalSnapshotBeforeUpdate=a}catch(t){Fl(e,e.return,t)}}function rc(e,t,n){n.props=$o(e.type,e.memoizedProps),n.state=e.memoizedState,qs(e)?(Si(),D(e,jv,e,t,n),bi()):D(e,jv,e,t,n)}function ic(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(qs(e))try{Si(),e.refCleanup=t(n)}finally{bi()}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().`,T(e)),t.current=n}}function ac(e,t){try{D(e,ic,e)}catch(n){Fl(e,t,n)}}function oc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null){if(typeof r==`function`)try{if(qs(e))try{Si(),D(e,r)}finally{bi(e)}else D(e,r)}catch(n){Fl(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{if(qs(e))try{Si(),D(e,n,null)}finally{bi(e)}else D(e,n,null)}catch(n){Fl(e,t,n)}else n.current=null}}function sc(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 cc(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 lc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{D(e,Ju,r,t,n,e)}catch(t){Fl(e,e.return,t)}}function uc(e,t,n){try{D(e,Xu,e.stateNode,e.type,n,t,e)}catch(t){Fl(e,e.return,t)}}function dc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ed(e.type)||e.tag===4}function fc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||dc(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&&ed(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 pc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?($u(n),(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t)):($u(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=on));else if(r!==4&&(r===27&&ed(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(pc(e,t,n),e=e.sibling;e!==null;)pc(e,t,n),e=e.sibling}function mc(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&&ed(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(mc(e,t,n),e=e.sibling;e!==null;)mc(e,t,n),e=e.sibling}function hc(e){for(var t,n=e.return;n!==null;){if(dc(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=fc(e),mc(e,n,t);break;case 5:n=t.stateNode,t.flags&32&&(Zu(n),t.flags&=-33),t=fc(e),mc(e,t,n);break;case 3:case 4:t=t.stateNode.containerInfo,n=fc(e),pc(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 gc(e){var t=e.stateNode,n=e.memoizedProps;try{D(e,Dd,e.type,n,t,e)}catch(t){Fl(e,e.return,t)}}function _c(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 vc(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&&nc(e,n);break;case 3:if(i&1024){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)dd(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:dd(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 yc(e,t,n){var r=di(),i=pi(),a=hi(),o=gi(),s=n.flags;switch(n.tag){case 0:case 11:case 15:jc(e,n),s&4&&Js(n,_y|hy);break;case 1:if(jc(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.",T(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.",T(n)||`instance`)),qs(n)?(Si(),D(n,Tv,n,e),bi()):D(n,Tv,n,e);else{var c=$o(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.",T(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.",T(n)||`instance`)),qs(n)?(Si(),D(n,Dv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate),bi()):D(n,Dv,n,e,c,t,e.__reactInternalSnapshotBeforeUpdate)}}s&64&&ec(n),s&512&&ac(n,n.return);break;case 3:if(t=si(),jc(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{D(n,aa,s,c)}catch(e){Fl(n,n.return,e)}}e.effectDuration+=ci(t);break;case 27:t===null&&s&4&&gc(n);case 26:case 5:if(jc(e,n),t===null){if(s&4)lc(n);else if(s&64){e=n.type,t=n.memoizedProps,c=n.stateNode;try{D(n,Yu,c,e,t,n)}catch(e){Fl(n,n.return,e)}}}s&512&&ac(n,n.return);break;case 12:if(s&4){s=si(),jc(e,n),e=n.stateNode,e.effectDuration+=li(s);try{D(n,sc,n,t,x_,e.effectDuration)}catch(e){Fl(n,n.return,e)}}else jc(e,n);break;case 31:jc(e,n),s&4&&Cc(e,n);break;case 13:jc(e,n),s&4&&wc(e,n),s&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(s=zl.bind(null,n),_d(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?(Fc(e,n,!!(n.subtreeFlags&8772)),(n.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Xn(n,K,q)):jc(e,n),vb=c,yb=l}break;case 30:break;default:jc(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&&(_c(n.return.alternate,n.return)||Yn(n,K,q,`Mount`))),fi(r),mi(i),D_=a,O_=o}function bc(e){var t=e.alternate;t!==null&&(e.alternate=null,bc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ye(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 xc(e,t,n){for(n=n.child;n!==null;)Sc(e,t,n),n=n.sibling}function Sc(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=di(),i=pi(),a=hi(),o=gi();switch(n.tag){case 26:yb||oc(n,t),xc(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(e=n.stateNode,e.parentNode.removeChild(e));break;case 27:yb||oc(n,t);var s=Tb,c=Eb;ed(n.type)&&(Tb=n.stateNode,Eb=!1),xc(e,t,n),D(n,Od,n.stateNode),Tb=s,Eb=c;break;case 5:yb||oc(n,t);case 6:if(s=Tb,c=Eb,Tb=null,xc(e,t,n),Tb=s,Eb=c,Tb!==null){if(Eb)try{D(n,nd,Tb,n.stateNode)}catch(e){Fl(n,t,e)}else try{D(n,td,Tb,n.stateNode)}catch(e){Fl(n,t,e)}}break;case 18:Tb!==null&&(Eb?(e=Tb,rd(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Cf(e)):rd(Tb,n.stateNode));break;case 4:s=Tb,c=Eb,Tb=n.stateNode.containerInfo,Eb=!0,xc(e,t,n),Tb=s,Eb=c;break;case 0:case 11:case 14:case 15:Zs(gy,n,t),yb||Ys(n,t,_y),xc(e,t,n);break;case 1:yb||(oc(n,t),s=n.stateNode,typeof s.componentWillUnmount==`function`&&rc(n,t,s)),xc(e,t,n);break;case 21:xc(e,t,n);break;case 22:yb=(s=yb)||n.memoizedState!==null,xc(e,t,n),yb=s;break;default:xc(e,t,n)}(n.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(n,K,q,E_,D_),fi(r),mi(i),D_=a,O_=o}function Cc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{D(t,wd,e)}catch(e){Fl(t,t.return,e)}}}function wc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{D(t,Td,e)}catch(e){Fl(t,t.return,e)}}function Tc(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 Ec(e,t){var n=Tc(e);t.forEach(function(t){if(!n.has(t)){if(n.add(t),Fp){if(Cb!==null&&wb!==null)Gl(wb,Cb);else throw Error(`Expected finished root and lanes to be set. This is a bug in React.`)}var r=Bl.bind(null,e,t);t.then(r,r)}})}function Dc(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=di(),c=a;a:for(;c!==null;){switch(c.tag){case 27:if(ed(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.`);Sc(i,a,o),Tb=null,Eb=!1,(o.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Yn(o,K,q,`Unmount`),fi(s),i=o,a=i.alternate,a!==null&&(a.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Oc(t,e),t=t.sibling}function Oc(e,t){var n=di(),r=pi(),i=hi(),a=gi(),o=e.alternate,s=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Dc(t,e),kc(e),s&4&&(Zs(gy|hy,e,e.return),Xs(gy|hy,e),Ys(e,e.return,_y|hy));break;case 1:if(Dc(t,e),kc(e),s&512&&(yb||o===null||oc(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,Dc(t,e),kc(e),s&512&&(yb||o===null||oc(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`))),Eu(l,s,o),l[qp]=e,$e(l),s=l;break a;case`link`:var u=Ud(`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),Eu(l,s,o),c.head.appendChild(l);break;case`meta`:if(u=Ud(`meta`,`content`,c).get(s+(o.content||``))){for(d=0;d<u.length;d++)if(l=u[d],k(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),Eu(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,$e(l),s=l}e.stateNode=s}else Wd(c,e.type,e.stateNode)}else e.stateNode=zd(c,s,e.memoizedProps)}else l===s?s===null&&e.stateNode!==null&&uc(e,e.memoizedProps,o.memoizedProps):(l===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):l.count--,s===null?Wd(c,e.type,e.stateNode):zd(c,s,e.memoizedProps))}break;case 27:Dc(t,e),kc(e),s&512&&(yb||o===null||oc(o,o.return)),o!==null&&s&4&&uc(e,e.memoizedProps,o.memoizedProps);break;case 5:if(Dc(t,e),kc(e),s&512&&(yb||o===null||oc(o,o.return)),e.flags&32){c=e.stateNode;try{D(e,Zu,c)}catch(t){Fl(e,e.return,t)}}s&4&&e.stateNode!=null&&(c=e.memoizedProps,uc(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(Dc(t,e),kc(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{D(e,Qu,c,o,s)}catch(t){Fl(e,e.return,t)}}break;case 3:if(c=si(),fC=null,l=Db,Db=kd(t.containerInfo),Dc(t,e),Db=l,kc(e),s&4&&o!==null&&o.memoizedState.isDehydrated)try{D(e,Cd,t.containerInfo)}catch(t){Fl(e,e.return,t)}bb&&(bb=!1,Ac(e)),t.effectDuration+=ci(c);break;case 4:s=Db,Db=kd(e.stateNode.containerInfo),Dc(t,e),kc(e),Db=s;break;case 12:s=si(),Dc(t,e),kc(e),e.stateNode.effectDuration+=li(s);break;case 31:Dc(t,e),kc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Ec(e,s)));break;case 13:Dc(t,e),kc(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,Ec(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,Dc(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),kc(e),s&8192)a:for(t=e.stateNode,t._visibility=c?t._visibility&~Ag:t._visibility|Ag,!c||o===null||f||vb||yb||(Nc(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?D(f,od,l):D(f,ld,f.stateNode,f.memoizedProps)}catch(e){Fl(f,f.return,e)}}}else if(t.tag===6){if(o===null){f=t;try{u=f.stateNode,c?D(f,sd,u):D(f,ud,u,f.memoizedProps)}catch(e){Fl(f,f.return,e)}}}else if(t.tag===18){if(o===null){f=t;try{d=f.stateNode,c?D(f,ad,d):D(f,cd,f.stateNode)}catch(e){Fl(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,Ec(e,o))));break;case 19:Dc(t,e),kc(e),s&4&&(s=e.updateQueue,s!==null&&(e.updateQueue=null,Ec(e,s)));break;case 30:break;case 21:break;default:Dc(t,e),kc(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&&(_c(e.return.alternate,e.return)||Yn(e,K,q,`Mount`))),fi(n),mi(r),D_=i,O_=a}function kc(e){var t=e.flags;if(t&2){try{D(e,hc,e)}catch(t){Fl(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ac(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ac(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function jc(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)yc(e,t.alternate,t),t=t.sibling}function Mc(e){var t=di(),n=pi(),r=hi(),i=gi();switch(e.tag){case 0:case 11:case 14:case 15:Ys(e,e.return,_y),Nc(e);break;case 1:oc(e,e.return);var a=e.stateNode;typeof a.componentWillUnmount==`function`&&rc(e,e.return,a),Nc(e);break;case 27:D(e,Od,e.stateNode);case 26:case 5:oc(e,e.return),Nc(e);break;case 22:e.memoizedState===null&&Nc(e);break;case 30:Nc(e);break;default:Nc(e)}(e.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(e,K,q,E_,D_),fi(t),mi(n),D_=r,O_=i}function Nc(e){for(e=e.child;e!==null;)Mc(e),e=e.sibling}function Pc(e,t,n,r){var i=di(),a=pi(),o=hi(),s=gi(),c=n.flags;switch(n.tag){case 0:case 11:case 15:Fc(e,n,r),Js(n,_y);break;case 1:if(Fc(e,n,r),t=n.stateNode,typeof t.componentDidMount==`function`&&D(n,Tv,n,t),t=n.updateQueue,t!==null){e=n.stateNode;try{D(n,ia,t,e)}catch(e){Fl(n,n.return,e)}}r&&c&64&&ec(n),ac(n,n.return);break;case 27:gc(n);case 26:case 5:Fc(e,n,r),r&&t===null&&c&4&&lc(n),ac(n,n.return);break;case 12:if(r&&c&4){c=si(),Fc(e,n,r),r=n.stateNode,r.effectDuration+=li(c);try{D(n,sc,n,t,x_,r.effectDuration)}catch(e){Fl(n,n.return,e)}}else Fc(e,n,r);break;case 31:Fc(e,n,r),r&&c&4&&Cc(e,n);break;case 13:Fc(e,n,r),r&&c&4&&wc(e,n);break;case 22:n.memoizedState===null&&Fc(e,n,r),ac(n,n.return);break;case 30:break;default:Fc(e,n,r)}(n.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(n,K,q,E_,D_),fi(i),mi(a),D_=o,O_=s}function Fc(e,t,n){for(n&&=!!(t.subtreeFlags&8772),t=t.child;t!==null;)Pc(e,t.alternate,t,n),t=t.sibling}function Ic(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&&ri(e),n!=null&&ii(n))}function Lc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(ri(t),e!=null&&ii(e))}function Rc(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;zc(e,t,n,r,a===null?i:a.actualStartTime),t=a}}function zc(e,t,n,r,i){var a=di(),o=pi(),s=hi(),c=gi(),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),Rc(e,t,n,r,i),u&2048&&Qs(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)),Rc(e,t,n,r,i);break;case 3:var d=si(),f=Ob;Ob=t.alternate!==null&&t.alternate.memoizedState.isDehydrated&&!(t.flags&256),Rc(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&&(ri(r),n!=null&&ii(n))),e.passiveEffectDuration+=ci(d);break;case 12:if(u&2048){u=si(),Rc(e,t,n,r,i),e=t.stateNode,e.passiveEffectDuration+=li(u);try{D(t,cc,t,t.alternate,x_,e.passiveEffectDuration)}catch(e){Fl(t,t.return,e)}}else Rc(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,Rc(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),Rc(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?Rc(e,t,n,r,i):(f._visibility|=jg,Bc(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?Rc(e,t,n,r,i):Hc(e,t,n,r,i),u&2048&&Ic(d,t);break;case 24:Rc(e,t,n,r,i),u&2048&&Lc(t.alternate,t);break;default:Rc(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`))),fi(a),mi(o),D_=s,O_=c,wg=l}function Bc(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;Vc(e,t,n,r,i,o===null?a:o.actualStartTime),t=o}}function Vc(e,t,n,r,i,a){var o=di(),s=pi(),c=hi(),l=gi(),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:Bc(e,t,n,r,i,a),Qs(t,vy);break;case 23:break;case 22:var f=t.stateNode;t.memoizedState===null?(f._visibility|=jg,Bc(e,t,n,r,i,a)):f._visibility&jg?Bc(e,t,n,r,i,a):Hc(e,t,n,r,a),i&&d&2048&&Ic(t.alternate,t);break;case 24:Bc(e,t,n,r,i,a),i&&d&2048&&Lc(t.alternate,t);break;default:Bc(e,t,n,r,i,a)}(t.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(t,K,q,E_,D_),fi(o),mi(s),D_=c,O_=l,wg=u}function Hc(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:Hc(o,a,s,c,l),d&2048&&Ic(a.alternate,a);break;case 24:Hc(o,a,s,c,l),d&2048&&Lc(a.alternate,a);break;default:Hc(o,a,s,c,l)}wg=u,a=t}}function Uc(e,t,n){if(e.subtreeFlags&kb)for(e=e.child;e!==null;)Wc(e,t,n),e=e.sibling}function Wc(e,t,n){switch(e.tag){case 26:Uc(e,t,n),e.flags&kb&&e.memoizedState!==null&&qd(n,Db,e.memoizedState,e.memoizedProps);break;case 5:Uc(e,t,n);break;case 3:case 4:var r=Db;Db=kd(e.stateNode.containerInfo),Uc(e,t,n),Db=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=kb,kb=16777216,Uc(e,t,n),kb=r):Uc(e,t,n));break;default:Uc(e,t,n)}}function Gc(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 Kc(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=di();Sb=r,Xc(r,e),(r.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Yn(r,K,q,`Unmount`),fi(i)}Gc(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)qc(e),e=e.sibling}function qc(e){var t=di(),n=pi(),r=hi(),i=gi();switch(e.tag){case 0:case 11:case 15:Kc(e),e.flags&2048&&$s(e,e.return,vy|hy);break;case 3:var a=si();Kc(e),e.stateNode.passiveEffectDuration+=ci(a);break;case 12:a=si(),Kc(e),e.stateNode.passiveEffectDuration+=li(a);break;case 22:a=e.stateNode,e.memoizedState!==null&&a._visibility&jg&&(e.return===null||e.return.tag!==13)?(a._visibility&=~jg,Jc(e),(e.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Yn(e,K,q,`Disconnect`)):Kc(e);break;default:Kc(e)}(e.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(e,K,q,E_,D_),fi(t),mi(n),O_=i,D_=r}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=di();Sb=r,Xc(r,e),(r.mode&W)!==U&&0<=K&&0<=q&&.05<q-K&&Yn(r,K,q,`Unmount`),fi(i)}Gc(e)}for(e=e.child;e!==null;)Yc(e),e=e.sibling}function Yc(e){var t=di(),n=pi(),r=hi(),i=gi();switch(e.tag){case 0:case 11:case 15:$s(e,e.return,vy),Jc(e);break;case 22:var a=e.stateNode;a._visibility&jg&&(a._visibility&=~jg,Jc(e));break;default:Jc(e)}(e.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(e,K,q,E_,D_),fi(t),mi(n),O_=i,D_=r}function Xc(e,t){for(;Sb!==null;){var n=Sb,r=n,i=t,a=di(),o=pi(),s=hi(),c=gi();switch(r.tag){case 0:case 11:case 15:$s(r,i,vy);break;case 23:case 22:r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(i=r.memoizedState.cachePool.pool,i!=null&&ri(i));break;case 24:ii(r.memoizedState.cache)}if((r.mode&W)!==U&&0<=K&&0<=q&&(O_||.05<E_)&&$n(r,K,q,E_,D_),fi(a),mi(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,bc(r),r===n){Sb=null;break a}if(a!==null){a.return=o,Sb=a;break a}Sb=o}}}function Zc(){Mb.forEach(function(e){return e()})}function Qc(){var e=typeof IS_REACT_ACT_ENVIRONMENT<`u`?IS_REACT_ACT_ENVIRONMENT:void 0;return e||B.actQueue===null||console.error(`The current testing environment is not configured to support act(...)`),e}function $c(e){if((Z&Fb)!==Pb&&$!==0)return $&-$;var t=B.T;return t===null?qe():(t._updatedFibers||=new Set,t._updatedFibers.add(e),ru())}function el(){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 tl(e,t,n){if($x&&console.error(`useInsertionEffect must not schedule updates.`),Jx&&(Yx=!0),(e===Wb&&(tx===qb||tx===ex)||e.cancelPendingCommit!==null)&&(ll(e,0),al(e,$,dx,!1)),Re(e,n),(Z&Fb)!==Pb&&e===Wb){if(_p)switch(t.tag){case 0:case 11:case 15:e=Q&&T(Q)||`Unknown`,nS.has(e)||(nS.add(e),t=T(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&&We(e,t,n),ql(t),e===Wb&&((Z&Fb)===Pb&&(lx|=n),sx===Vb&&al(e,$,dx,!1)),Jl(e)}function nl(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||Pe(e,t))?vl(e,t):gl(e,t,!0);var o=n;do{if(a===Lb){ix&&!n&&al(e,t,0,!1),t=tx,tv=g_(),ev=t;break}if(r=Cp(),i=e.current.alternate,o&&!il(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`)),cl(t,r),a=gl(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),cl(t,r),t=s;a:{r=e,a=o,o=px;var c=r.current.memoizedState.isDehydrated;if(c&&(ll(r,s).flags|=256),s=gl(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),cl(t,r),ll(e,0),al(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),cl(t,r),i=t,i&127?R_=r:i&4194048&&(Y_=r),al(n,t,dx,!rx);break a;case zb:mx=null;break;case Bb:case Ub:break;default:throw Error(`Unknown root exit status.`)}if(B.actQueue!==null)El(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(al(n,t,dx,!rx),Ne(n,0,!0)!==0)break a;Lx=t,n.timeoutHandle=ZS(rl.bind(null,n,i,mx,xx,hx,t,dx,lx,fx,rx,a,`Throttled`,b_,r),o);break a}rl(n,i,mx,xx,hx,t,dx,lx,fx,rx,a,null,b_,r)}}break}while(1);Jl(e)}function rl(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:on},Wc(t,a,h),m=(a&62914560)===a?gx-Cp():(a&4194048)===a?_x-Cp():0,m=Jd(h,m),m!==null)){Lx=a,e.cancelPendingCommit=m(El.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)),al(e,a,o,!l);return}El(e,t,a,n,r,i,o,s,c,u,h,d,f,p)}function il(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 al(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&&Be(e,n,t)}function ol(){return(Z&(Fb|Ib))!==Pb||(Yl(0,!1),!1)}function sl(){if(Q!==null){if(tx===Gb)var e=Q.return;else e=Q,Kr(),Ta(e),Wv=null,Gv=0,e=Q;for(;e!==null;)Ks(e.alternate,e),e=e.return;Q=null}}function cl(e,t){e&127&&(k_=t),e&4194048&&(z_=t),e&62914560&&(X_=t),e&2080374784&&(Z_=t)}function ll(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)}}cl($,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,sl(),Wb=e,Q=n=xr(e.current,null),$=t,tx=Gb,nx=null,rx=!1,ix=Pe(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&&(B.recentlyCreatedOwnerStacks=0,lg=e),uv.discardPendingWarnings(),n}function ul(e,t){Y=null,B.H=Ry,B.getCurrentStack=null,_p=!1,gp=null,t===Rv||t===Bv?(t=Pi(),tx=Jb):t===zv?(t=Pi(),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,rs(e,Or(t,e.current))):n.mode&W&&vi(n)}function dl(){var e=ly.current;return e===null?!0:($&4194048)===$?uy===null:($&62914560)===$||$&536870912?e===uy:!1}function fl(){var e=B.H;return B.H=Ry,e===null?Ry:e}function pl(){var e=B.A;return B.A=Ab,e}function ml(e){Sx===null&&(Sx=e._debugTask==null?null:e._debugTask)}function hl(){sx=Vb,rx||($&4194048)!==$&&ly.current!==null||(ix=!0),!(cx&134217727)&&!(lx&134217727)||Wb===null||al(Wb,$,dx,!1)}function gl(e,t,n){var r=Z;Z|=Fb;var i=fl(),a=pl();if(Wb!==e||$!==t){if(Fp){var o=e.memoizedUpdaters;0<o.size&&(Gl(e,$),o.clear()),Ge(e,t)}xx=null,ll(e,t)}t=!1,o=sx;a:do try{if(tx!==Gb&&Q!==null){var s=Q,c=nx;switch(tx){case $b:sl(),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,Cl(e,s,c,l),n&&ix){o=Lb;break a}break;default:l=tx,tx=Gb,nx=null,Cl(e,s,c,l)}}_l(),o=sx;break}catch(t){ul(e,t)}while(1);return t&&e.shellSuspendCounter++,Kr(),Z=r,B.H=i,B.A=a,Q===null&&(Wb=null,$=0,cr()),o}function _l(){for(;Q!==null;)bl(Q)}function vl(e,t){var n=Z;Z|=Fb;var r=fl(),i=pl();if(Wb!==e||$!==t){if(Fp){var a=e.memoizedUpdaters;0<a.size&&(Gl(e,$),a.clear()),Ge(e,t)}xx=null,yx=Cp()+bx,ll(e,t)}else ix=Pe(e,t);a:do try{if(tx!==Gb&&Q!==null)b:switch(t=Q,a=nx,tx){case Kb:tx=Gb,nx=null,Cl(e,t,a,Kb);break;case qb:case ex:if(ji(a)){tx=Gb,nx=null,xl(t);break}t=function(){tx!==qb&&tx!==ex||Wb!==e||(tx=Qb),Jl(e)},a.then(t,t);break a;case Jb:tx=Qb;break a;case Yb:tx=Xb;break a;case Qb:ji(a)?(tx=Gb,nx=null,xl(t)):(tx=Gb,nx=null,Cl(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?Kd(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,wl(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,Cl(e,t,a,Xb);break;case Zb:tx=Gb,nx=null,Cl(e,t,a,Zb);break;case $b:sl(),sx=Hb;break a;default:throw Error(`Unexpected SuspendedReason. This is a bug in React.`)}B.actQueue===null?yl():_l();break}catch(t){ul(e,t)}while(1);return Kr(),B.H=r,B.A=i,Z=n,Q===null?(Wb=null,$=0,cr(),sx):Lb}function yl(){for(;Q!==null&&!xp();)bl(Q)}function bl(e){var t=e.alternate;(e.mode&W)===U?t=D(e,Ls,t,e,ox):(_i(e),t=D(e,Ls,t,e,ox),vi(e)),e.memoizedProps=e.pendingProps,t===null?wl(e):Q=t}function xl(e){var t=D(e,Sl,e);e.memoizedProps=e.pendingProps,t===null?wl(e):Q=t}function Sl(e){var t=e.alternate,n=(e.mode&W)!==U;switch(n&&_i(e),e.tag){case 15:case 0:t=xs(t,e,e.pendingProps,e.type,void 0,$);break;case 11:t=xs(t,e,e.pendingProps,e.type.render,e.ref,$);break;case 5:Ta(e);default:Ks(t,e),e=Q=Sr(e,ox),t=Ls(t,e,ox)}return n&&vi(e),t}function Cl(e,t,n,r){Kr(),Ta(t),Wv=null,Gv=0;var i=t.return;try{if(cs(e,i,t,n,$)){sx=Rb,rs(e,Or(n,e.current)),Q=null;return}}catch(t){if(i!==null)throw Q=i,t;sx=Rb,rs(e,Or(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))),Tl(t,e)):wl(t)}function wl(e){var t=e;do{if(t.flags&32768){Tl(t,rx);return}var n=t.alternate;if(e=t.return,_i(t),n=D(t,Ws,n,t,ox),(t.mode&W)!==U&&yi(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 Tl(e,t){do{var n=Gs(e.alternate,e);if(n!==null){n.flags&=32767,Q=n;return}if((e.mode&W)!==U){yi(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 El(e,t,n,r,i,a,o,s,c,l,u,d,f,p){e.cancelPendingCommit=null;do Ml();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,ze(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,Kl(Dp,function(){return XS=window.event,Ux===wx&&(Ux=Ex),Nl(),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=B.T,B.T=null,i=Yf.p,Yf.p=Hp,o=Z,Z|=Ib;try{vc(e,t,n)}finally{Z=o,Yf.p=i,B.T=r}}Px=kx,Dl(),Ol(),kl()}}function Dl(){if(Px===kx){Px=Ox;var e=Fx,t=Ix,n=Lx,r=!!(t.flags&13878);if(t.subtreeFlags&13878||r){r=B.T,B.T=null;var i=Yf.p;Yf.p=Hp;var a=Z;Z|=Ib;try{Cb=n,wb=e,ui(),Oc(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,Yf.p=i,B.T=r}}e.current=t,Px=Ax}}function Ol(){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=B.T,B.T=null;var i=Yf.p;Yf.p=Hp;var a=Z;Z|=Ib;try{Cb=n,wb=e,ui(),yc(e,t.alternate,t),wb=Cb=null}finally{Z=a,Yf.p=i,B.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 kl(){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,jl(e,e.pendingLanes),Zx=0,Qx=null);var a=e.pendingLanes;if(a===0&&(Cx=null),i||Ul(e),a=Ke(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(),Zc(),n!==null){o=B.T,s=Yf.p,Yf.p=Hp,B.T=null;try{var c=e.onRecoverableError;for(r=0;r<n.length;r++){var l=n[r],u=Al(l.stack);D(l.source,c,l.value,u)}}finally{B.T=o,Yf.p=s}}Lx&3&&Ml(),Jl(e),a=e.pendingLanes,t&261930&&a&42?(rv=!0,e===qx?Kx++:(Kx=0,qx=e)):Kx=0,i||cl(t,S_),Yl(0,!1)}}function Al(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 jl(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ii(t)))}function Ml(){return Dl(),Ol(),kl(),Nl()}function Nl(){if(Px!==Nx)return!1;var e=Fx,t=Rx;Rx=0;var n=Ke(Lx),r=Wp===0||Wp>n?Wp:n;n=B.T;var i=Yf.p;try{Yf.p=r,B.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;ui(),qc(d);var f=r.current;d=zx,ui(),zc(r,f,o,a,d),Ul(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),cl(o,p),Yl(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{Yf.p=i,B.T=n,jl(e,t)}}function Pl(e,t,n){t=Or(n,t),xi(t),t=as(e.stateNode,t,2),e=Qi(e,t,2),e!==null&&(Re(e,2),Jl(e))}function Fl(e,t,n){if($x=!1,e.tag===3)Pl(e,e,n);else{for(;t!==null;){if(t.tag===3){Pl(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=Or(n,e),xi(e),n=os(2),r=Qi(t,n,2),r!==null&&(ss(n,r,t,e),Re(r,2),Jl(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 Il(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=Ll.bind(null,e,t,n),Fp&&Gl(e,n),t.then(r,r))}function Ll(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_),Qc()&&B.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&&ll(e,0):ux|=n,fx===$&&(fx=0)),Jl(e)}function Rl(e,t){t===0&&(t=Ie()),e=dr(e,t),e!==null&&(Re(e,t),Jl(e))}function zl(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Rl(e,n)}function Bl(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),Rl(e,n)}function Vl(e,t,n){if(t.subtreeFlags&67117056)for(t=t.child;t!==null;){var r=e,i=t,a=i.type===Ff;a=n||a,i.tag===22?i.memoizedState===null&&(a&&i.flags&8192?D(i,Hl,r,i):i.subtreeFlags&67108864&&D(i,Vl,r,i,a)):i.flags&67108864?a&&D(i,Hl,r,i):Vl(r,i,a),t=t.sibling}}function Hl(e,t){Ae(!0);try{Mc(t),Yc(t),Pc(e,t.alternate,t,!1),Vc(e,t,0,null,!1,0)}finally{Ae(!1)}}function Ul(e){var t=!0;e.current.mode&(zg|Bg)||(t=!1),Vl(e,e.current,t)}function Wl(e){if((Z&Fb)===Pb){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=T(e)||`ReactComponent`,eS!==null){if(eS.has(t))return;eS.add(t)}else eS=new Set([t]);D(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 Gl(e,t){Fp&&e.memoizedUpdaters.forEach(function(n){We(e,n,t)})}function Kl(e,t){var n=B.actQueue;return n===null?yp(e,t):(n.push(t),rS)}function ql(e){Qc()&&B.actQueue===null&&D(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`,T(e))})}function Jl(e){e!==aS&&e.next===null&&(aS===null?iS=aS=e:aS=aS.next=e),cS=!0,B.actQueue===null?oS||(oS=!0,nu()):sS||(sS=!0,nu())}function Yl(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,eu(r,a))}else a=$,a=Ne(r,r===Wb?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==$S),!(a&3)||Pe(r,a)||(n=!0,eu(r,a))}r=r.next}while(n);lS=!1}}function Xl(){XS=window.event,Zl()}function Zl(){cS=sS=oS=!1;var e=0;uS!==0&&Wu()&&(e=uS);for(var t=Cp(),n=null,r=iS;r!==null;){var i=r.next,a=Ql(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||Yl(e,!1),uS!==0&&(uS=0)}function Ql(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]=Fe(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Wb,n=$,n=Ne(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&&tu(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Pe(e,n)){if(t=n&-n,t!==e.callbackPriority||B.actQueue!==null&&r!==dS)tu(r);else return t;switch(Ke(n)){case Hp:case Up:n=Ep;break;case Wp:n=Dp;break;case Gp:n=kp;break;default:n=Dp}return r=$l.bind(null,e),B.actQueue===null?n=yp(n,r):(B.actQueue.push(r),n=dS),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&tu(r),e.callbackPriority=2,e.callbackNode=null,2}function $l(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),Ml()&&e.callbackNode!==n)return null;var r=$;return r=Ne(e,e===Wb?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==$S),r===0?null:(nl(e,r,t),Ql(e,Cp()),e.callbackNode!=null&&e.callbackNode===n?$l.bind(null,e):null)}function eu(e,t){if(Ml())return null;nv=rv,rv=!1,nl(e,t,!0)}function tu(e){e!==dS&&e!==null&&bp(e)}function nu(){B.actQueue!==null&&B.actQueue.push(function(){return Zl(),null}),tC(function(){(Z&(Fb|Ib))===Pb?Zl():yp(Tp,Xl)})}function ru(){if(uS===0){var e=ov;e===0&&(e=zp,zp<<=1,!(zp&261888)&&(zp=256)),uS=e}return uS}function iu(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:(k(e,`action`),an(``+e))}function au(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 ou(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=iu((i[Jp]||null).action),o=r.submitter;o&&(t=(t=o[Jp]||null)?iu(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?au(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a};Object.freeze(t),Mo(n,t,null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?au(i,o):new FormData(i),t={pending:!0,data:e,method:i.method,action:a},Object.freeze(t),Mo(n,t,a,e))},currentTarget:i}]})}}function su(e,t,n){e.currentTarget=n;try{t(e)}catch(e){pg(e)}e.currentTarget=null}function cu(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?su(a,s,l):D(c,su,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?su(a,s,l):D(c,su,a,s,l),i=c}}}}function R(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)||(du(t,e,2,!1),n.add(r))}function lu(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),du(n,e,r,t)}function uu(e){if(!e[mS]){e[mS]=!0,tm.forEach(function(t){t!==`selectionchange`&&(pS.has(t)||lu(t,!1,e),lu(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[mS]||(t[mS]=!0,lu(`selectionchange`,!1,t))}}function du(e,t,n,r){switch(pf(t)){case Hp:var i=cf;break;case Up:i=lf;break;default:i=uf}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 fu(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=Xe(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}ln(function(){var r=a,i=sn(n),o=[];a:{var s=sg.get(e);if(s!==void 0){var c=ch,l=e;switch(e){case`keypress`:if(dn(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=M(p,f),h!=null&&u.push(pu(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)&&(Xe(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?Xe(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:Qe(c),m=l==null?s:Qe(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Xe(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=hu,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&&gu(o,s,c,u,!1),l!==null&&d!==null&&gu(o,d,l,u,!0)}}a:{if(s=r?Qe(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var _=En;else if(xn(s)){if(Wh)_=Mn;else{_=An;var v=kn}}else c=s.nodeName,!c||c.toLowerCase()!==`input`||s.type!==`checkbox`&&s.type!==`radio`?r&&Qt(r.elementType)&&(_=En):_=jn;if(_&&=_(e,r)){Cn(o,_,n,i);break a}v&&v(e,s,r),e===`focusout`&&r&&s.type===`number`&&r.memoizedProps.value!=null&&vt(s,`number`,s.value)}switch(v=r?Qe(r):window,e){case`focusin`:(xn(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?_n(e,n)&&(b=`onCompositionEnd`):e===`keydown`&&n.keyCode===Mh&&(b=`onCompositionStart`);b&&(Ih&&n.locale!==`ko`&&(Bh||b!==`onCompositionStart`?b===`onCompositionEnd`&&Bh&&(y=un()):(ih=i,ah=`value`in ih?ih.value:ih.textContent,Bh=!0)),v=mu(r,b),0<v.length&&(b=new bh(b,e,null,n,i),o.push({event:b,listeners:v}),y?b.data=y:(y=vn(n),y!==null&&(b.data=y)))),(y=Fh?yn(e,n):bn(e,n))&&(b=mu(r,`onBeforeInput`),0<b.length&&(v=new xh(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:v,listeners:b}),v.data=y)),ou(o,e,r,n,i)}cu(o,t)})}function pu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function mu(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=M(e,n),i!=null&&r.unshift(pu(e,i,a)),i=M(e,t),i!=null&&r.push(pu(e,i,a))),e.tag===3)return r;e=e.return}return[]}function hu(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function gu(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=M(n,a),l!=null&&o.unshift(pu(n,l,c))):i||(l=M(n,a),l!=null&&o.push(pu(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}function _u(e,t){tn(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};Qt(e)||typeof t.is==`string`||rn(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 vu(e,t,n,r){t!==n&&(n=Su(n),Su(t)!==n&&(r[e]=t))}function yu(e,t,n){t.forEach(function(t){n[Ou(t)]=t===`style`?ku(e):e.getAttribute(t)})}function bu(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 xu(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 Su(e){return Te(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.`,O(e)),Ee(e)),(typeof e==`string`?e:``+e).replace(CS,`
|
|
180
|
-
`).replace(wS,``)}function Cu(e,t){return t=Su(t),Su(e)===t}function wu(e,t,n,r,i,a){switch(n){case`children`:typeof r==`string`?(qt(r,t,!1),t===`body`||t===`textarea`&&r===``||Jt(e,r)):(typeof r==`number`||typeof r==`bigint`)&&(qt(``+r,t,!1),t!==`body`&&Jt(e,``+r));break;case`className`:ot(e,`class`,r);break;case`tabIndex`:ot(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:ot(e,n,r);break;case`style`:Zt(e,r,a);break;case`data`:if(t!==`object`){ot(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}k(r,n),r=an(``+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`&&wu(e,t,`name`,i.name,i,null),wu(e,t,`formEncType`,i.formEncType,i,null),wu(e,t,`formMethod`,i.formMethod,i,null),wu(e,t,`formTarget`,i.formTarget,i,null)):(wu(e,t,`encType`,i.encType,i,null),wu(e,t,`method`,i.method,i,null),wu(e,t,`target`,i.target,i,null))),r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}k(r,n),r=an(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(typeof r!=`function`&&bu(n,r),e.onclick=on);break;case`onScroll`:r!=null&&(typeof r!=`function`&&bu(n,r),R(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&bu(n,r),R(`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}k(r,n),n=an(``+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`?(k(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`?(k(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?(k(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):(k(r,n),e.setAttribute(n,r));break;case`popover`:R(`beforetoggle`,e),R(`toggle`,e),at(e,`popover`,r);break;case`xlinkActuate`:st(e,TS,`xlink:actuate`,r);break;case`xlinkArcrole`:st(e,TS,`xlink:arcrole`,r);break;case`xlinkRole`:st(e,TS,`xlink:role`,r);break;case`xlinkShow`:st(e,TS,`xlink:show`,r);break;case`xlinkTitle`:st(e,TS,`xlink:title`,r);break;case`xlinkType`:st(e,TS,`xlink:type`,r);break;case`xmlBase`:st(e,ES,`xml:base`,r);break;case`xmlLang`:st(e,ES,`xml:lang`,r);break;case`xmlSpace`:st(e,ES,`xml:space`,r);break;case`is`:a!=null&&console.error(`Cannot update the "is" prop after it has been initialized.`),at(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=$t(n),at(e,n,r)):nm.hasOwnProperty(n)&&r!=null&&typeof r!=`function`&&bu(n,r)}}function Tu(e,t,n,r,i,a){switch(n){case`style`:Zt(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`?Jt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Jt(e,``+r);break;case`onScroll`:r!=null&&(typeof r!=`function`&&bu(n,r),R(`scroll`,e));break;case`onScrollEnd`:r!=null&&(typeof r!=`function`&&bu(n,r),R(`scrollend`,e));break;case`onClick`:r!=null&&(typeof r!=`function`&&bu(n,r),e.onclick=on);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`&&bu(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,``):at(e,n,r)}}}function Eu(e,t,n){switch(_u(t,n),t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:R(`error`,e),R(`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:wu(e,t,a,o,n,null)}}i&&wu(e,t,`srcSet`,n.srcSet,n,null),r&&wu(e,t,`src`,n.src,n,null);return;case`input`:nt(`input`,n),R(`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:wu(e,t,r,u,n,null)}}ht(e,n),_t(e,a,s,c,l,o,i,!1);return;case`select`:for(i in nt(`select`,n),R(`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:wu(e,t,i,s,n,null)}xt(e,n),t=a,n=o,e.multiple=!!r,t==null?n!=null&&j(e,!!r,n,!0):j(e,!!r,t,!1);return;case`textarea`:for(o in nt(`textarea`,n),R(`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:wu(e,t,o,s,n,null)}St(e,n),wt(e,r,i,a);return;case`option`:for(c in yt(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:wu(e,t,c,r,n,null)}return;case`dialog`:R(`beforetoggle`,e),R(`toggle`,e),R(`cancel`,e),R(`close`,e);break;case`iframe`:case`object`:R(`load`,e);break;case`video`:case`audio`:for(r=0;r<fS.length;r++)R(fS[r],e);break;case`image`:R(`error`,e),R(`load`,e);break;case`details`:R(`toggle`,e);break;case`embed`:case`source`:case`link`:R(`error`,e),R(`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:wu(e,t,l,r,n,null)}return;default:if(Qt(t)){for(u in n)n.hasOwnProperty(u)&&(r=n[u],r!==void 0&&Tu(e,t,u,r,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(r=n[s],r!=null&&wu(e,t,s,r,n,null))}function Du(e,t,n,r){switch(_u(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)||wu(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&&wu(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),gt(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)||wu(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&&wu(e,t,i,a,r,c)}r=s,t=o,n=p,f==null?!!n!=!!t&&(r==null?j(e,!!t,t?[]:``,!1):j(e,!!t,r,!0)):j(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:wu(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&&wu(e,t,o,i,r,a)}Ct(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:wu(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:wu(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)&&wu(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:wu(e,t,l,f,r,p)}return;default:if(Qt(t)){for(var g in n)f=n[g],n.hasOwnProperty(g)&&f!==void 0&&!r.hasOwnProperty(g)&&Tu(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||Tu(e,t,u,f,r,p);return}}for(var _ in n)f=n[_],n.hasOwnProperty(_)&&f!=null&&!r.hasOwnProperty(_)&&wu(e,t,_,null,r,f);for(d in r)f=r[d],p=n[d],!r.hasOwnProperty(d)||f===p||f==null&&p==null||wu(e,t,d,f,r,p)}function Ou(e){switch(e){case`class`:return`className`;case`for`:return`htmlFor`;default:return e}}function ku(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 Au(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?(De(o,a),r+=i+a+`:`+(``+o).trim()):typeof o!=`number`||o===0||Fm.has(a)?(De(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=Su(r),Su(t)!==r&&(n.style=ku(e)))}}function ju(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(k(r,t),e===``+r)return}vu(t,e,r,a)}function Mu(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}vu(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`undefined`:case`function`:case`symbol`:return}else if(r!=null)switch(typeof r){case`function`:case`symbol`:break;default:if(k(r,n),e===``+r)return}vu(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`: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)&&(k(r,t),e===``+r))return}vu(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}else if(r!=null)switch(typeof r){case`function`:case`symbol`:case`boolean`:break;default:if(k(r,t),n=an(``+r),e===n)return}vu(t,e,r,a)}function Iu(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(Qt(t)){for(var c in n)if(n.hasOwnProperty(c)){var l=n[c];if(l!=null){if(nm.hasOwnProperty(c))typeof l!=`function`&&bu(c,l);else if(!0!==n.suppressHydrationWarning)switch(c){case`children`:typeof l!=`string`&&typeof l!=`number`||vu(`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=xu(e,l),vu(c,o,l,i));continue;case`style`:a.delete(c),Au(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=it(e,`class`,l),vu(`className`,o,l,i);continue;default:r.context===US&&t!==`svg`&&t!==`math`?a.delete(c.toLowerCase()):a.delete(c),o=it(e,c,l),vu(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`&&bu(l,c);else if(!0!==n.suppressHydrationWarning)switch(l){case`children`:typeof c!=`string`&&typeof c!=`number`||vu(`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=xu(e,c),o!==c&&(i[l]={__html:o}));continue;case`className`:ju(e,l,`class`,c,a,i);continue;case`tabIndex`:ju(e,l,`tabindex`,c,a,i);continue;case`style`:a.delete(l),Au(e,c,i);continue;case`multiple`:a.delete(l),vu(l,e.multiple,c,i);continue;case`muted`:a.delete(l),vu(l,e.muted,c,i);continue;case`autoFocus`:a.delete(`autofocus`),vu(l,e.autofocus,c,i);continue;case`data`:if(t!==`object`){a.delete(l),o=e.getAttribute(`data`),vu(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}Fu(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()),vu(l,`function`,c,i);continue}Fu(e,l,l.toLowerCase(),c,a,i);continue;case`xlinkHref`:Fu(e,l,`xlink:href`,c,a,i);continue;case`contentEditable`:Nu(e,l,`contenteditable`,c,a,i);continue;case`spellCheck`:Nu(e,l,`spellcheck`,c,a,i);continue;case`draggable`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:Nu(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`:Mu(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(k(c,o),s===``+c)break a}vu(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)&&(k(c,o),s===``+c))break a}vu(o,s,c,d)}continue;case`rowSpan`:Pu(e,l,`rowspan`,c,a,i);continue;case`start`:Pu(e,l,l,c,a,i);continue;case`xHeight`:ju(e,l,`x-height`,c,a,i);continue;case`xlinkActuate`:ju(e,l,`xlink:actuate`,c,a,i);continue;case`xlinkArcrole`:ju(e,l,`xlink:arcrole`,c,a,i);continue;case`xlinkRole`:ju(e,l,`xlink:role`,c,a,i);continue;case`xlinkShow`:ju(e,l,`xlink:show`,c,a,i);continue;case`xlinkTitle`:ju(e,l,`xlink:title`,c,a,i);continue;case`xlinkType`:ju(e,l,`xlink:type`,c,a,i);continue;case`xmlBase`:ju(e,l,`xml:base`,c,a,i);continue;case`xmlLang`:ju(e,l,`xml:lang`,c,a,i);continue;case`xmlSpace`:ju(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)),Mu(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=$t(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,rt(d)){if(u.hasAttribute(d))u=u.getAttribute(d),k(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||vu(l,s,c,i)}}}return 0<a.size&&!0!==n.suppressHydrationWarning&&yu(e,a,i),Object.keys(i).length===0?null:i}function Lu(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 Ru(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function zu(){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&&Ru(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&&Ru(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 Bu(e){return e.nodeType===9?e:e.ownerDocument}function Vu(e){switch(e){case Lm:return WS;case Im:return GS;default:return US}}function Hu(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 Uu(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 Wu(){var e=window.event;return e&&e.type===`popstate`?e!==YS&&(YS=e,!0):(YS=null,!1)}function Gu(){var e=window.event;return e&&e!==XS?e.type:null}function Ku(){var e=window.event;return e&&e!==XS?e.timeStamp:-1.1}function qu(e){setTimeout(function(){throw e})}function Ju(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 Yu(){}function Xu(e,t,n,r){Du(e,t,n,r),e[Jp]=r}function Zu(e){Jt(e,``)}function Qu(e,t,n){e.nodeValue=n}function $u(e){if(!e.__reactWarnedAboutChildrenConflict){var t=e[Jp]||null;if(t!==null){var n=Ze(e);n!==null&&(typeof t.children==`string`||typeof t.children==`number`?(e.__reactWarnedAboutChildrenConflict=!0,D(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,D(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 ed(e){return e===`head`}function td(e,t){e.removeChild(t)}function nd(e,t){(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e).removeChild(t)}function rd(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),Cf(t);return}r--}else if(n===jS||n===NS||n===PS||n===FS||n===kS)r++;else if(n===IS)Od(e.ownerDocument.documentElement);else if(n===RS){n=e.ownerDocument.head,Od(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&&Od(e.ownerDocument.body)}n=i}while(n);Cf(t)}function id(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 ad(e){id(e,!0)}function od(e){e=e.style,typeof e.setProperty==`function`?e.setProperty(`display`,`none`,`important`):e.display=`none`}function sd(e){e.nodeValue=``}function cd(e){id(e,!1)}function ld(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 ud(e,t){e.nodeValue=t}function dd(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`:dd(n),Ye(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function fd(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`){k(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=vd(e.nextSibling),e===null)break}return null}function pd(e,t,n){if(t===``)return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=vd(e.nextSibling),e===null))return null;return e}function md(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=vd(e.nextSibling),e===null))return null;return e}function hd(e){return e.data===NS||e.data===PS}function gd(e){return e.data===FS||e.data===NS&&e.ownerDocument.readyState!==VS}function _d(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 vd(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 yd(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[Ou(a.name)]=a.name.toLowerCase()===`style`?ku(e):a.value}return{type:t,props:n}}return e.nodeType===8?e.data===kS?{type:`Activity`,props:{}}:{type:`Suspense`,props:{}}:e.nodeValue}function bd(e,t,n){return n===null||!0!==n[OS]?(e.nodeValue===t?e=null:(t=Su(t),e=Su(e.nodeValue)===t?null:e.nodeValue),e):null}function xd(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 vd(e.nextSibling);t--}else n!==jS&&n!==FS&&n!==NS&&n!==PS&&n!==kS||t++}e=e.nextSibling}return null}function Sd(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 Cd(e){Cf(e)}function wd(e){Cf(e)}function Td(e){Cf(e)}function Ed(e,t,n,r,i){switch(i&&Kt(e,r.ancestorInfo),t=Bu(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 Dd(e,t,n,r){if(!n[Yp]&&Ze(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]);Eu(n,e,t),n[qp]=r,n[Jp]=t}function Od(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ye(e)}function kd(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function Ad(e,t,n){var r=dC;if(r&&typeof t==`string`&&t){var i=mt(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`),Eu(t,`link`,e),$e(t),r.head.appendChild(t)))}}function jd(e,t,n,r){var i=(i=np.current)?kd(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=Nd(n.href),t=A(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=Nd(n.href);var a=A(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(Pd(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||Id(i,e,s,o.state)}if(t&&r===null)throw n=`
|
|
181
|
-
|
|
182
|
-
- `+Md(t)+`
|
|
183
|
-
+ `+Md(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
|
-
- `+Md(t)+`
|
|
186
|
-
+ `+Md(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=Ld(n),t=A(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 Md(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 Nd(e){return`href="`+mt(e)+`"`}function Pd(e){return`link[rel="stylesheet"][`+e+`]`}function Fd(e){return z({},e,{"data-precedence":e.precedence,precedence:null})}function Id(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}),Eu(t,`link`,n),$e(t),e.head.appendChild(t))}function Ld(e){return`[src="`+mt(e)+`"]`}function Rd(e){return`script[async]`+e}function zd(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+mt(n.href)+`"]`);if(r)return t.instance=r,$e(r),r;var i=z({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),$e(r),Eu(r,`style`,i),Bd(r,n.precedence,e),t.instance=r;case`stylesheet`:i=Nd(n.href);var a=e.querySelector(Pd(i));if(a)return t.state.loading|=sC,t.instance=a,$e(a),a;r=Fd(n),(i=cC.get(i))&&Vd(r,i),a=(e.ownerDocument||e).createElement(`link`),$e(a);var o=a;return o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Eu(a,`link`,r),t.state.loading|=sC,Bd(a,n.precedence,e),t.instance=a;case`script`:return a=Ld(n.src),(i=e.querySelector(Rd(a)))?(t.instance=i,$e(i),i):(r=n,(i=cC.get(a))&&(r=z({},n),Hd(r,i)),e=e.ownerDocument||e,i=e.createElement(`script`),$e(i),Eu(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,Bd(r,n.precedence,e));return t.instance}function Bd(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 Vd(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Hd(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}function Ud(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 Wd(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Gd(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=Lu(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 Kd(e){return e.type!==`stylesheet`||(e.state.loading&oC)!==rC}function qd(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=Nd(r.href),a=t.querySelector(Pd(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Yd.bind(e),t.then(e,e)),n.state.loading|=sC,n.instance=a,$e(a);return}a=t.ownerDocument||t,r=Fd(r),(i=cC.get(i))&&Vd(r,i),a=a.createElement(`link`),$e(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Eu(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=Yd.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}function Jd(e,t){return e.stylesheets&&e.count===0&&Xd(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&Xd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},pC+t);0<e.imgBytes&&gC===0&&(gC=125*zu()*hC);var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xd(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 Yd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Xd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,vC=new Map,t.forEach(Zd,e),vC=null,Yd.call(e))}function Zd(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=Yd.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 Qd(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=Le(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Le(0),this.hiddenUpdates=Le(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 $d(e,t,n,r,i,a,o,s,c,l,u,d){return e=new Qd(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=ni(),ri(t),e.pooledCache=t,ri(t),a.memoizedState={element:r,isDehydrated:n,cache:t},Yi(a),e}function ef(e){return e?(e=Fg,e):Fg}function tf(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=ef(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.`,T(gp)||`Unknown`)),r=Zi(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=Qi(e,r,t),n!==null&&(ai(t,`root.render()`,null),tl(n,e,t),$i(n,e,t))}function nf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function rf(e,t){nf(e,t),(e=e.alternate)&&nf(e,t)}function af(e){if(e.tag===13||e.tag===31){var t=dr(e,67108864);t!==null&&tl(t,e,67108864),rf(e,67108864)}}function of(e){if(e.tag===13||e.tag===31){var t=$c(e);t=Ue(t);var n=dr(e,t);n!==null&&tl(n,e,t),rf(e,t)}}function sf(){return gp}function cf(e,t,n,r){var i=B.T;B.T=null;var a=Yf.p;try{Yf.p=Hp,uf(e,t,n,r)}finally{Yf.p=a,B.T=i}}function lf(e,t,n,r){var i=B.T;B.T=null;var a=Yf.p;try{Yf.p=Up,uf(e,t,n,r)}finally{Yf.p=a,B.T=i}}function uf(e,t,n,r){if(LC){var i=df(r);if(i===null)fu(e,t,r,RC,n),mf(e,r);else if(gf(i,e,t,n,r))r.stopPropagation();else if(mf(e,r),t&4&&-1<KC.indexOf(e)){for(;i!==null;){var a=Ze(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Me(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}Jl(a),(Z&(Fb|Ib))===Pb&&(yx=Cp()+bx,Yl(0,!1))}}break;case 31:case 13:s=dr(a,2),s!==null&&tl(s,a,2),ol(),rf(a,2)}if(a=df(r),a===null&&fu(e,t,r,RC,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else fu(e,t,r,null,n)}}function df(e){return e=sn(e),ff(e)}function ff(e){if(RC=null,e=Xe(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 pf(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 mf(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 hf(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=Ze(t),t!==null&&af(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function gf(e,t,n,r,i){switch(t){case`focusin`:return BC=hf(BC,e,t,n,r,i),!0;case`dragenter`:return VC=hf(VC,e,t,n,r,i),!0;case`mouseover`:return HC=hf(HC,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return UC.set(a,hf(UC.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,WC.set(a,hf(WC.get(a)||null,e,t,n,r,i)),!0}return!1}function _f(e){var t=Xe(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,Je(e.priority,function(){of(n)});return}}else if(t===31){if(t=te(n),t!==null){e.blockedOn=t,Je(e.priority,function(){of(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 vf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=df(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=Ze(n),t!==null&&af(t),e.blockedOn=n,!1;t.shift()}return!0}function yf(e,t,n){vf(e)&&n.delete(t)}function bf(){zC=!1,BC!==null&&vf(BC)&&(BC=null),VC!==null&&vf(VC)&&(VC=null),HC!==null&&vf(HC)&&(HC=null),UC.forEach(yf),WC.forEach(yf)}function xf(e,t){e.blockedOn===t&&(e.blockedOn=null,zC||(zC=!0,Of.unstable_scheduleCallback(Of.unstable_NormalPriority,bf)))}function Sf(e){qC!==e&&(qC=e,Of.unstable_scheduleCallback(Of.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(ff(r||n)===null)continue;break}var a=Ze(n);a!==null&&(e.splice(t,3),t-=3,n={pending:!0,data:i,method:n.method,action:r},Object.freeze(n),Mo(a,n,r,i))}}))}function Cf(e){function t(t){return xf(t,e)}BC!==null&&xf(BC,e),VC!==null&&xf(VC,e),HC!==null&&xf(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);)_f(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||Sf(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[Jp]||null)s=o.formAction;else if(ff(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Sf(n)}}}function wf(){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 Tf(e){this._internalRoot=e}function Ef(e){this._internalRoot=e}function Df(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 Of=p(),kf=d(),Af=h(),z=Object.assign,jf=Symbol.for(`react.element`),Mf=Symbol.for(`react.transitional.element`),Nf=Symbol.for(`react.portal`),Pf=Symbol.for(`react.fragment`),Ff=Symbol.for(`react.strict_mode`),If=Symbol.for(`react.profiler`),Lf=Symbol.for(`react.consumer`),Rf=Symbol.for(`react.context`),zf=Symbol.for(`react.forward_ref`),Bf=Symbol.for(`react.suspense`),Vf=Symbol.for(`react.suspense_list`),Hf=Symbol.for(`react.memo`),Uf=Symbol.for(`react.lazy`),Wf=Symbol.for(`react.activity`),Gf=Symbol.for(`react.memo_cache_sentinel`),Kf=Symbol.iterator,qf=Symbol.for(`react.client.reference`),Jf=Array.isArray,B=kf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Yf=Af.__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=ae(null),tp=ae(null),np=ae(null),rp=ae(null),ip=0,ap,op,sp,cp,lp,up,dp;pe.__reactDisabledLog=!0;var fp,pp,mp=!1,hp=new(typeof WeakMap==`function`?WeakMap:Map),gp=null,_p=!1,vp=Object.prototype.hasOwnProperty,yp=Of.unstable_scheduleCallback,bp=Of.unstable_cancelCallback,xp=Of.unstable_shouldYield,Sp=Of.unstable_requestPaint,Cp=Of.unstable_now,wp=Of.unstable_getCurrentPriorityLevel,Tp=Of.unstable_ImmediatePriority,Ep=Of.unstable_UserBlockingPriority,Dp=Of.unstable_NormalPriority,Op=Of.unstable_LowPriority,kp=Of.unstable_IdlePriority,Ap=Of.log,jp=Of.unstable_setDisableYieldValue,Mp=null,Np=null,Pp=!1,Fp=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`,Ip=Math.clz32?Math.clz32:je,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=mn(sh),lh=z({},sh,{view:0,detail:0}),uh=mn(lh),dh,fh,ph,mh=z({},lh,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gn,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=mn(mh),gh=mn(z({},mh,{dataTransfer:0})),_h=mn(z({},lh,{relatedTarget:0})),vh=mn(z({},sh,{animationName:0,elapsedTime:0,pseudoElement:0})),yh=mn(z({},sh,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),bh=mn(z({},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=mn(z({},lh,{key:function(e){if(e.key){var t=Sh[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=dn(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:gn,charCode:function(e){return e.type===`keypress`?dn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?dn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Eh=mn(z({},mh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Dh=mn(z({},lh,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gn})),Oh=mn(z({},sh,{propertyName:0,elapsedTime:0,pseudoElement:0})),kh=mn(z({},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=mn(z({},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=Sn(`input`)&&(!document.documentMode||9<document.documentMode));var Gh=typeof Object.is==`function`?Object.is:Nn,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_=ae(null),s_=ae(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_=Of.unstable_scheduleCallback,m_=Of.unstable_NormalPriority,h_={$$typeof:Rf,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},g_=Of.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=B.S;B.S=function(e,t){if(_x=Cp(),typeof t==`object`&&t&&typeof t.then==`function`){if(0>B_&&0>V_){B_=g_();var n=Ku(),r=Gu();(n!==J_||r!==q_)&&(J_=-1.1),K_=n,q_=r}wi(e,t)}cv!==null&&cv(e,t)};var lv=ae(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(T(t)||`Component`),_v.add(t.type)}),dv=[]);var t=new Set;0<fv.length&&(fv.forEach(function(e){t.add(T(e)||`Component`),_v.add(e.type)}),fv=[]);var n=new Set;0<pv.length&&(pv.forEach(function(e){n.add(T(e)||`Component`),_v.add(e.type)}),pv=[]);var r=new Set;0<mv.length&&(mv.forEach(function(e){r.add(T(e)||`Component`),_v.add(e.type)}),mv=[]);var i=new Set;0<hv.length&&(hv.forEach(function(e){i.add(T(e)||`Component`),_v.add(e.type)}),hv=[]);var a=new Set;if(0<gv.length&&(gv.forEach(function(e){a.add(T(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(T(e)||`Component`),yv.add(e.type)});var r=m(n);D(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){Fl(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){Fl(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){Fl(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){Fl(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=T(e),i=r||`null`;if(!Jv[i]){Jv[i]=!0,n=n._owner,e=e._debugOwner;var a=``;e&&typeof e.tag==`number`&&(i=T(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=T(n):typeof n.name==`string`&&(r=n.name),r&&(o=` It was passed a child from `+r+`.`)),D(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=qi(!0),Qv=qi(!1),$v=0,ey=1,ty=2,ny=3,ry=!1,iy=!1,ay=null,oy=!1,sy=ae(null),cy=ae(0),ly=ae(null),uy=null,dy=1,fy=2,py=ae(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:$r,use:Aa,useCallback:_a,useContext:_a,useEffect:_a,useImperativeHandle:_a,useLayoutEffect:_a,useInsertionEffect:_a,useMemo:_a,useReducer:_a,useRef:_a,useState:_a,useDebugValue:_a,useDeferredValue:_a,useTransition:_a,useSyncExternalStore:_a,useId:_a,useHostTransitionStatus:_a,useFormState:_a,useActionState:_a,useOptimistic:_a,useMemoCache:_a,useCacheRefresh:_a};Ry.useEffectEvent=_a;var zy=null,By=null,Vy=null,Hy=null,Uy=null,Wy=null,Gy=null;zy={readContext:function(e){return $r(e)},use:Aa,useCallback:function(e,t){return X=`useCallback`,I(),ha(t),xo(e,t)},useContext:function(e){return X=`useContext`,I(),$r(e)},useEffect:function(e,t){return X=`useEffect`,I(),ha(t),po(e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,I(),ha(n),yo(e,t,n)},useInsertionEffect:function(e,t){X=`useInsertionEffect`,I(),ha(t),uo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,I(),ha(t),_o(e,t)},useMemo:function(e,t){X=`useMemo`,I(),ha(t);var n=B.H;B.H=Uy;try{return Co(e,t)}finally{B.H=n}},useReducer:function(e,t,n){X=`useReducer`,I();var r=B.H;B.H=Uy;try{return Na(e,t,n)}finally{B.H=r}},useRef:function(e){return X=`useRef`,I(),lo(e)},useState:function(e){X=`useState`,I();var t=B.H;B.H=Uy;try{return Ga(e)}finally{B.H=t}},useDebugValue:function(){X=`useDebugValue`,I()},useDeferredValue:function(e,t){return X=`useDeferredValue`,I(),To(e,t)},useTransition:function(){return X=`useTransition`,I(),Fo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,I(),La(e,t,n)},useId:function(){return X=`useId`,I(),zo()},useFormState:function(e,t){return X=`useFormState`,I(),ga(),ro(e,t)},useActionState:function(e,t){return X=`useActionState`,I(),ro(e,t)},useOptimistic:function(e){return X=`useOptimistic`,I(),Ka(e)},useHostTransitionStatus:Ro,useMemoCache:ja,useCacheRefresh:function(){return X=`useCacheRefresh`,I(),Bo()},useEffectEvent:function(e){return X=`useEffectEvent`,I(),ho(e)}},By={readContext:function(e){return $r(e)},use:Aa,useCallback:function(e,t){return X=`useCallback`,L(),xo(e,t)},useContext:function(e){return X=`useContext`,L(),$r(e)},useEffect:function(e,t){return X=`useEffect`,L(),po(e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,L(),yo(e,t,n)},useInsertionEffect:function(e,t){X=`useInsertionEffect`,L(),uo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,L(),_o(e,t)},useMemo:function(e,t){X=`useMemo`,L();var n=B.H;B.H=Uy;try{return Co(e,t)}finally{B.H=n}},useReducer:function(e,t,n){X=`useReducer`,L();var r=B.H;B.H=Uy;try{return Na(e,t,n)}finally{B.H=r}},useRef:function(e){return X=`useRef`,L(),lo(e)},useState:function(e){X=`useState`,L();var t=B.H;B.H=Uy;try{return Ga(e)}finally{B.H=t}},useDebugValue:function(){X=`useDebugValue`,L()},useDeferredValue:function(e,t){return X=`useDeferredValue`,L(),To(e,t)},useTransition:function(){return X=`useTransition`,L(),Fo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,L(),La(e,t,n)},useId:function(){return X=`useId`,L(),zo()},useActionState:function(e,t){return X=`useActionState`,L(),ro(e,t)},useFormState:function(e,t){return X=`useFormState`,L(),ga(),ro(e,t)},useOptimistic:function(e){return X=`useOptimistic`,L(),Ka(e)},useHostTransitionStatus:Ro,useMemoCache:ja,useCacheRefresh:function(){return X=`useCacheRefresh`,L(),Bo()},useEffectEvent:function(e){return X=`useEffectEvent`,L(),ho(e)}},Vy={readContext:function(e){return $r(e)},use:Aa,useCallback:function(e,t){return X=`useCallback`,L(),So(e,t)},useContext:function(e){return X=`useContext`,L(),$r(e)},useEffect:function(e,t){X=`useEffect`,L(),fo(2048,vy,e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,L(),bo(e,t,n)},useInsertionEffect:function(e,t){return X=`useInsertionEffect`,L(),fo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,L(),fo(4,_y,e,t)},useMemo:function(e,t){X=`useMemo`,L();var n=B.H;B.H=Wy;try{return wo(e,t)}finally{B.H=n}},useReducer:function(e,t,n){X=`useReducer`,L();var r=B.H;B.H=Wy;try{return Pa(e,t,n)}finally{B.H=r}},useRef:function(){return X=`useRef`,L(),Da().memoizedState},useState:function(){X=`useState`,L();var e=B.H;B.H=Wy;try{return Pa(Ma)}finally{B.H=e}},useDebugValue:function(){X=`useDebugValue`,L()},useDeferredValue:function(e,t){return X=`useDeferredValue`,L(),Eo(e,t)},useTransition:function(){return X=`useTransition`,L(),Io()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,L(),Ra(e,t,n)},useId:function(){return X=`useId`,L(),Da().memoizedState},useFormState:function(e){return X=`useFormState`,L(),ga(),io(e)},useActionState:function(e){return X=`useActionState`,L(),io(e)},useOptimistic:function(e,t){return X=`useOptimistic`,L(),qa(e,t)},useHostTransitionStatus:Ro,useMemoCache:ja,useCacheRefresh:function(){return X=`useCacheRefresh`,L(),Da().memoizedState},useEffectEvent:function(e){return X=`useEffectEvent`,L(),go(e)}},Hy={readContext:function(e){return $r(e)},use:Aa,useCallback:function(e,t){return X=`useCallback`,L(),So(e,t)},useContext:function(e){return X=`useContext`,L(),$r(e)},useEffect:function(e,t){X=`useEffect`,L(),fo(2048,vy,e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,L(),bo(e,t,n)},useInsertionEffect:function(e,t){return X=`useInsertionEffect`,L(),fo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,L(),fo(4,_y,e,t)},useMemo:function(e,t){X=`useMemo`,L();var n=B.H;B.H=Gy;try{return wo(e,t)}finally{B.H=n}},useReducer:function(e,t,n){X=`useReducer`,L();var r=B.H;B.H=Gy;try{return Ia(e,t,n)}finally{B.H=r}},useRef:function(){return X=`useRef`,L(),Da().memoizedState},useState:function(){X=`useState`,L();var e=B.H;B.H=Gy;try{return Ia(Ma)}finally{B.H=e}},useDebugValue:function(){X=`useDebugValue`,L()},useDeferredValue:function(e,t){return X=`useDeferredValue`,L(),Do(e,t)},useTransition:function(){return X=`useTransition`,L(),Lo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,L(),Ra(e,t,n)},useId:function(){return X=`useId`,L(),Da().memoizedState},useFormState:function(e){return X=`useFormState`,L(),ga(),so(e)},useActionState:function(e){return X=`useActionState`,L(),so(e)},useOptimistic:function(e,t){return X=`useOptimistic`,L(),Ya(e,t)},useHostTransitionStatus:Ro,useMemoCache:ja,useCacheRefresh:function(){return X=`useCacheRefresh`,L(),Da().memoizedState},useEffectEvent:function(e){return X=`useEffectEvent`,L(),go(e)}},Uy={readContext:function(e){return l(),$r(e)},use:function(e){return c(),Aa(e)},useCallback:function(e,t){return X=`useCallback`,c(),I(),xo(e,t)},useContext:function(e){return X=`useContext`,c(),I(),$r(e)},useEffect:function(e,t){return X=`useEffect`,c(),I(),po(e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,c(),I(),yo(e,t,n)},useInsertionEffect:function(e,t){X=`useInsertionEffect`,c(),I(),uo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,c(),I(),_o(e,t)},useMemo:function(e,t){X=`useMemo`,c(),I();var n=B.H;B.H=Uy;try{return Co(e,t)}finally{B.H=n}},useReducer:function(e,t,n){X=`useReducer`,c(),I();var r=B.H;B.H=Uy;try{return Na(e,t,n)}finally{B.H=r}},useRef:function(e){return X=`useRef`,c(),I(),lo(e)},useState:function(e){X=`useState`,c(),I();var t=B.H;B.H=Uy;try{return Ga(e)}finally{B.H=t}},useDebugValue:function(){X=`useDebugValue`,c(),I()},useDeferredValue:function(e,t){return X=`useDeferredValue`,c(),I(),To(e,t)},useTransition:function(){return X=`useTransition`,c(),I(),Fo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,c(),I(),La(e,t,n)},useId:function(){return X=`useId`,c(),I(),zo()},useFormState:function(e,t){return X=`useFormState`,c(),I(),ro(e,t)},useActionState:function(e,t){return X=`useActionState`,c(),I(),ro(e,t)},useOptimistic:function(e){return X=`useOptimistic`,c(),I(),Ka(e)},useMemoCache:function(e){return c(),ja(e)},useHostTransitionStatus:Ro,useCacheRefresh:function(){return X=`useCacheRefresh`,I(),Bo()},useEffectEvent:function(e){return X=`useEffectEvent`,c(),I(),ho(e)}},Wy={readContext:function(e){return l(),$r(e)},use:function(e){return c(),Aa(e)},useCallback:function(e,t){return X=`useCallback`,c(),L(),So(e,t)},useContext:function(e){return X=`useContext`,c(),L(),$r(e)},useEffect:function(e,t){X=`useEffect`,c(),L(),fo(2048,vy,e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,c(),L(),bo(e,t,n)},useInsertionEffect:function(e,t){return X=`useInsertionEffect`,c(),L(),fo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,c(),L(),fo(4,_y,e,t)},useMemo:function(e,t){X=`useMemo`,c(),L();var n=B.H;B.H=Wy;try{return wo(e,t)}finally{B.H=n}},useReducer:function(e,t,n){X=`useReducer`,c(),L();var r=B.H;B.H=Wy;try{return Pa(e,t,n)}finally{B.H=r}},useRef:function(){return X=`useRef`,c(),L(),Da().memoizedState},useState:function(){X=`useState`,c(),L();var e=B.H;B.H=Wy;try{return Pa(Ma)}finally{B.H=e}},useDebugValue:function(){X=`useDebugValue`,c(),L()},useDeferredValue:function(e,t){return X=`useDeferredValue`,c(),L(),Eo(e,t)},useTransition:function(){return X=`useTransition`,c(),L(),Io()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,c(),L(),Ra(e,t,n)},useId:function(){return X=`useId`,c(),L(),Da().memoizedState},useFormState:function(e){return X=`useFormState`,c(),L(),io(e)},useActionState:function(e){return X=`useActionState`,c(),L(),io(e)},useOptimistic:function(e,t){return X=`useOptimistic`,c(),L(),qa(e,t)},useMemoCache:function(e){return c(),ja(e)},useHostTransitionStatus:Ro,useCacheRefresh:function(){return X=`useCacheRefresh`,L(),Da().memoizedState},useEffectEvent:function(e){return X=`useEffectEvent`,c(),L(),go(e)}},Gy={readContext:function(e){return l(),$r(e)},use:function(e){return c(),Aa(e)},useCallback:function(e,t){return X=`useCallback`,c(),L(),So(e,t)},useContext:function(e){return X=`useContext`,c(),L(),$r(e)},useEffect:function(e,t){X=`useEffect`,c(),L(),fo(2048,vy,e,t)},useImperativeHandle:function(e,t,n){return X=`useImperativeHandle`,c(),L(),bo(e,t,n)},useInsertionEffect:function(e,t){return X=`useInsertionEffect`,c(),L(),fo(4,gy,e,t)},useLayoutEffect:function(e,t){return X=`useLayoutEffect`,c(),L(),fo(4,_y,e,t)},useMemo:function(e,t){X=`useMemo`,c(),L();var n=B.H;B.H=Wy;try{return wo(e,t)}finally{B.H=n}},useReducer:function(e,t,n){X=`useReducer`,c(),L();var r=B.H;B.H=Wy;try{return Ia(e,t,n)}finally{B.H=r}},useRef:function(){return X=`useRef`,c(),L(),Da().memoizedState},useState:function(){X=`useState`,c(),L();var e=B.H;B.H=Wy;try{return Ia(Ma)}finally{B.H=e}},useDebugValue:function(){X=`useDebugValue`,c(),L()},useDeferredValue:function(e,t){return X=`useDeferredValue`,c(),L(),Do(e,t)},useTransition:function(){return X=`useTransition`,c(),L(),Lo()},useSyncExternalStore:function(e,t,n){return X=`useSyncExternalStore`,c(),L(),Ra(e,t,n)},useId:function(){return X=`useId`,c(),L(),Da().memoizedState},useFormState:function(e){return X=`useFormState`,c(),L(),so(e)},useActionState:function(e){return X=`useActionState`,c(),L(),so(e)},useOptimistic:function(e,t){return X=`useOptimistic`,c(),L(),Ya(e,t)},useMemoCache:function(e){return c(),ja(e)},useHostTransitionStatus:Ro,useCacheRefresh:function(){return X=`useCacheRefresh`,L(),Da().memoizedState},useEffectEvent:function(e){return X=`useEffectEvent`,c(),L(),go(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=$c(e),i=Zi(r);i.payload=t,n!=null&&(Yo(n),i.callback=n),t=Qi(e,i,r),t!==null&&(ai(r,`this.setState()`,e),tl(t,e,r),$i(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$c(e),i=Zi(r);i.tag=ey,i.payload=t,n!=null&&(Yo(n),i.callback=n),t=Qi(e,i,r),t!==null&&(ai(r,`this.replaceState()`,e),tl(t,e,r),$i(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$c(e),r=Zi(n);r.tag=ty,t!=null&&(Yo(t),r.callback=t),t=Qi(e,r,n),t!==null&&(ai(n,`this.forceUpdate()`,e),tl(t,e,n),$i(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=$r(h_),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return $r(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`)})(),tt(`onMouseEnter`,[`mouseout`,`mouseover`]),tt(`onMouseLeave`,[`mouseout`,`mouseover`]),tt(`onPointerEnter`,[`pointerout`,`pointerover`]),tt(`onPointerLeave`,[`pointerout`,`pointerover`]),et(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),et(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),et(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),et(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),et(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),et(`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(qu)},nC=null,rC=0,iC=1,aC=2,oC=3,sC=4,cC=new Map,lC=new Set,uC=Yf.d;Yf.d={f:function(){var e=uC.f(),t=ol();return e||t},r:function(e){var t=Ze(e);t!==null&&t.tag===5&&t.type===`form`?Po(t):uC.r(e)},D:function(e){uC.D(e),Ad(`dns-prefetch`,e,null)},C:function(e,t){uC.C(e,t),Ad(`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="`+mt(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+mt(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+mt(n.imageSizes)+`"]`)):i+=`[href="`+mt(e)+`"]`;var a=i;switch(t){case`style`:a=Nd(e);break;case`script`:a=Ld(e)}cC.has(a)||(e=z({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(Pd(a))||t===`script`&&r.querySelector(Rd(a))||(t=r.createElement(`link`),Eu(t,`link`,e),$e(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="`+mt(r)+`"][href="`+mt(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Ld(e)}if(!cC.has(a)&&(e=z({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(Rd(a)))return}r=n.createElement(`link`),Eu(r,`link`,e),$e(r),n.head.appendChild(r)}}},X:function(e,t){uC.X(e,t);var n=dC;if(n&&e){var r=A(n).hoistableScripts,i=Ld(e),a=r.get(i);a||(a=n.querySelector(Rd(i)),a||(e=z({src:e,async:!0},t),(t=cC.get(i))&&Hd(e,t),a=n.createElement(`script`),$e(a),Eu(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=A(r).hoistableStyles,a=Nd(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:rC,preload:null};if(o=r.querySelector(Pd(a)))s.loading=iC|sC;else{e=z({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=cC.get(a))&&Vd(e,n);var c=o=r.createElement(`link`);$e(c),Eu(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,Bd(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=A(n).hoistableScripts,i=Ld(e),a=r.get(i);a||(a=n.querySelector(Rd(i)),a||(e=z({src:e,async:!0,type:`module`},t),(t=cC.get(i))&&Hd(e,t),a=n.createElement(`script`),$e(a),Eu(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:Rf,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=z({},e.memoizedProps),i=dr(e,2),i!==null&&tl(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=z({},e.memoizedProps),r=dr(e,2),r!==null&&tl(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=z({},e.memoizedProps),i=dr(e,2),i!==null&&tl(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&&tl(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&&tl(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&&tl(t,e,2)},NC=function(e){var t=dr(e,2);t!==null&&tl(t,e,2)},PC=function(e){var t=Ie(),n=dr(e,t);n!==null&&tl(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(Ef.prototype.render=Tf.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;tf(r,$c(r),n,t,null,null)},Ef.prototype.unmount=Tf.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.`),tf(e.current,2,null,e,null,null),ol(),t[Yp]=null}},Ef.prototype.unstable_scheduleHydration=function(e){if(e){var t=qe();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&&_f(e)}},(function(){var e=kf.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`),Yf.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=ne(t),e=e===null?null:re(e),e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:`19.2.8`,rendererPackageName:`react-dom`,currentDispatcherRef:B,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=sf,ke(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.`);Df(e);var n=!1,r=``,i=es,a=ts,o=ns;return t!=null&&(t.hydrate?console.warn(`hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead.`):typeof t==`object`&&t&&t.$$typeof===Mf&&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=$d(e,1,!1,null,null,n,r,null,i,a,o,wf),e[Yp]=t.current,uu(e),new Tf(t)},e.hydrateRoot=function(e,t,n){if(!b(e))throw Error(`Target container is not a DOM element.`);Df(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=es,o=ts,s=ns,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=$d(e,1,!0,t,n??null,r,i,c,a,o,s,wf),t.context=ef(null),n=t.current,r=$c(n),r=Ue(r),i=Zi(r),i.callback=null,Qi(n,i,r),ai(r,`hydrateRoot()`,null),n=r,t.current.lanes=n,Re(t,n),Jl(t),e[Yp]=t.current,uu(e),new Ef(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 S(){}function ne(e,t){return typeof e==`function`?e(t):e}function re(e){return typeof e==`number`&&e>=0&&e!==1/0}function ie(e,t){return Math.max(e+(t||0)-Date.now(),0)}function C(e,t){return typeof e==`function`?e(t):e}function w(e,t){return typeof e==`function`?e(t):e}function T(e,t){let{type:n=`all`,exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o){if(r){if(t.queryHash!==oe(o,t.options))return!1}else if(!se(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 ae(e,t){let{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(E(t.options.mutationKey)!==E(a))return!1}else if(!se(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function oe(e,t){return(t?.queryKeyHashFn||E)(e)}function E(e){return JSON.stringify(e,(e,t)=>fe(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function se(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(!se(e[n],t[n]))return!1;return!0}let n=Object.keys(t);for(let r of n)if(!se(e[r],t[r]))return!1;return!0}return!1}var ce=Object.prototype.hasOwnProperty;function le(e,t,n=0){if(e===t)return e;if(n>500)return t;let r=de(e)&&de(t);if(!r&&!(fe(e)&&fe(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:ce.call(e,o))&&c++;continue}if(u===null||d===null||typeof u!=`object`||typeof d!=`object`){s[o]=d;continue}let f=le(u,d,n+1);s[o]=f,f===u&&c++}return i===o&&c===i?e:s}function ue(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 de(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function fe(e){if(!pe(e))return!1;let t=e.constructor;if(t===void 0)return!0;let n=t.prototype;return!(!pe(n)||!n.hasOwnProperty(`isPrototypeOf`)||Object.getPrototypeOf(e)!==Object.prototype)}function pe(e){return Object.prototype.toString.call(e)===`[object Object]`}function me(e){return new Promise(t=>{x.setTimeout(t,e)})}function he(e,t,n){if(typeof n.structuralSharing==`function`)return n.structuralSharing(e,t);if(n.structuralSharing!==!1)try{return le(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 ge(e,t,n=0){let r=[...e,t];return n&&r.length>n?r.slice(1):r}function _e(e,t,n=0){let r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ve=Symbol();function ye(e,t){return e.queryFn===ve&&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===ve?()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function be(e,t){return typeof e==`function`?e(...t):!!e}function xe(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 Se=(()=>{let e=()=>te;return{isServer(){return e()},setIsServer(t){e=t}}})();function Ce(){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 D=ee;function we(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=D,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 O=we(),Te=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 Ee(e){return Math.min(1e3*2**e,3e4)}function k(e){return(e??`online`)!==`online`||Te.isOnline()}var De=class extends Error{constructor(e){super(`CancelledError`),this.revert=e?.revert,this.silent=e?.silent}};function Oe(e){let t=!1,n=0,r,i=Ce(),a=()=>i.status!==`pending`,o=t=>{if(!a()){let n=new De(t);f(n),e.onCancel?.(n)}},s=()=>{t=!0},c=()=>{t=!1},l=()=>y.isFocused()&&(e.networkMode===`always`||Te.isOnline())&&e.canRun(),u=()=>k(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??(Se.isServer()?0:3),o=e.retryDelay??Ee,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),me(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 ke=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),re(this.gcTime)&&(this.#e=x.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Se.isServer()?1/0:3e5))}clearGcTimeout(){this.#e!==void 0&&(x.clearTimeout(this.#e),this.#e=void 0)}};function Ae(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=>{xe(e,()=>t.signal,()=>n=!0)},u=ye(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?_e:ge;return{pages:c(e.pages,o,s),pageParams:c(e.pageParams,r,s)}};if(i&&a.length){let e=i===`backward`,t=e?Me:je,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:je(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 je(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 Me(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var Ne=class extends ke{#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=Ie(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=Ie(this.options);e.data!==void 0&&(this.setState(Fe(e.data,e.dataUpdatedAt)),this.#t=e)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus===`idle`&&this.#r.remove(this)}setData(e,t){let n=he(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(S).catch(S):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=>w(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ve||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>C(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:!ie(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=ye(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`?Ae(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=Oe({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof De&&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 De){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,...Pe(t.data,this.options),fetchMeta:e.meta??null};case`success`:let n={...t,...Fe(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),O.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#r.notify({query:this,type:`updated`,action:e})})}};function Pe(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:k(t.networkMode)?`fetching`:`paused`,...e===void 0&&{error:null,status:`pending`}}}function Fe(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:`success`}}function Ie(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 Le=class extends v{constructor(e,t){super(),this.options=t,this.#e=e,this.#s=null,this.#o=Ce(),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),ze(this.#t,this.options)?this.#h():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Be(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Be(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 w(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&&!ue(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&Ve(this.#t,n,this.options,t)&&this.#h(),this.updateResult(),r&&(this.#t!==n||w(this.options.enabled,this.#t)!==w(t.enabled,this.#t)||C(this.options.staleTime,this.#t)!==C(t.staleTime,this.#t))&&this.#g();let i=this.#_();r&&(this.#t!==n||w(this.options.enabled,this.#t)!==w(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 Ue(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(S)),t}#g(){this.#b();let e=C(this.options.staleTime,this.#t);if(Se.isServer()||this.#r.isStale||!re(e))return;let t=ie(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,!(Se.isServer()||w(this.options.enabled,this.#t)===!1||!re(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&&ze(e,t),o=i&&Ve(e,n,t,r);(a||o)&&(l={...l,...Pe(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=he(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=he(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:He(e,t),refetch:this.refetch,promise:this.#o,isEnabled:w(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=Ce();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),!ue(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){O.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}};function Re(e,t){return w(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||w(t.retryOnMount,e)!==!1)}function ze(e,t){return Re(e,t)||e.state.data!==void 0&&Be(e,t,t.refetchOnMount)}function Be(e,t,n){if(w(t.enabled,e)!==!1&&C(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&He(e,t)}return!1}function Ve(e,t,n,r){return(e!==t||w(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&He(e,n)}function He(e,t){return w(t.enabled,e)!==!1&&e.isStaleByTime(C(t.staleTime,e))}function Ue(e,t){return!ue(e.getCurrentResult(),t)}var We=class extends ke{#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||Ge(),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=Oe({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),O.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:`updated`,action:e})})}};function Ge(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:`idle`,variables:void 0,submittedAt:0}}var Ke=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 We({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=qe(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=qe(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=qe(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=qe(e);return typeof t==`string`?(this.#t.get(t)?.find(t=>t!==e&&t.state.isPaused))?.continue()??Promise.resolve():Promise.resolve()}clear(){O.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=>ae(t,e))}findAll(e={}){return this.getAll().filter(t=>ae(e,t))}notify(e){O.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return O.batch(()=>Promise.all(e.map(e=>e.continue().catch(S))))}};function qe(e){return e.options.scope?.id}var Je=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),ue(this.options,t)||this.#e.getMutationCache().notify({type:`observerOptionsUpdated`,mutation:this.#n,observer:this}),t?.mutationKey&&this.options.mutationKey&&E(t.mutationKey)!==E(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??Ge();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){O.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)})})}},Ye=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??oe(r,t),a=this.get(i);return a||(a=new Ne({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(){O.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=>T(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>T(e,t)):t}notify(e){O.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){O.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){O.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},Xe=class{#e;#t;#n;#r;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new Ye,this.#t=e.mutationCache||new Ke,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=Te.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(C(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=ne(t,i);if(a!==void 0)return this.#e.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return O.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;O.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#e;return O.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:`active`,...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t},r=O.batch(()=>this.#e.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(S).catch(S)}invalidateQueries(e,t={}){return O.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=O.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(S)),e.state.fetchStatus===`paused`?Promise.resolve():t}));return Promise.all(r).then(S)}fetchQuery(e){let t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);let n=this.#e.build(this,t);return n.isStaleByTime(C(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(S).catch(S)}fetchInfiniteQuery(e){return e._type=`infinite`,this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(S).catch(S)}ensureInfiniteQueryData(e){return e._type=`infinite`,this.ensureQueryData(e)}resumePausedMutations(){return Te.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(E(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#r.values()],n={};return t.forEach(t=>{se(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#i.set(E(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#i.values()],n={};return t.forEach(t=>{se(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||=oe(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===ve&&(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()}},Ze=o((e=>{(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===w?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 S:return`Suspense`;case ne:return`SuspenseList`;case C: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 re:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case ie: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===ie)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=T.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(ae.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(){se||(se=!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 ce[e]||(ce[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(oe(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(ae.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}`,de[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),de[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===ie&&(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`),S=Symbol.for(`react.suspense`),ne=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),ie=Symbol.for(`react.lazy`),C=Symbol.for(`react.activity`),w=Symbol.for(`react.client.reference`),T=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,oe=Array.isArray,E=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(e){return e()}};var se,ce={},le=h.react_stack_bottom_frame.bind(h,o)(),ue=E(i(o)),de={};e.Fragment=v,e.jsx=function(e,t,n){var r=1e4>T.recentlyCreatedOwnerStacks++;return f(e,t,n,!1,r?Error(`react-stack-top-frame`):le,r?E(i(e)):ue)},e.jsxs=function(e,t,n){var r=1e4>T.recentlyCreatedOwnerStacks++;return f(e,t,n,!0,r?Error(`react-stack-top-frame`):le,r?E(i(e)):ue)}})()})),Qe=o(((e,t)=>{t.exports=Ze()})),A=l(d(),1),$e=Qe(),et=A.createContext(void 0),tt=e=>{let t=A.useContext(et);if(e)return e;if(!t)throw Error(`No QueryClient set, use QueryClientProvider to set one`);return t},nt=({client:e,children:t})=>(A.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,$e.jsx)(et.Provider,{value:e,children:t})),rt=A.createContext(!1),it=()=>A.useContext(rt);rt.Provider;function at(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var ot=A.createContext(at()),st=()=>A.useContext(ot),ct=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?be(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},lt=e=>{A.useEffect(()=>{e.clearReset()},[e])},ut=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||be(n,[e.error,r])),dt=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))}},ft=(e,t)=>e.isLoading&&e.isFetching&&!t,pt=(e,t)=>e?.suspense&&t.isPending,mt=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function ht(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=it(),i=st(),a=tt(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,dt(o),ct(o,i,s),lt(i);let l=!a.getQueryCache().get(o.queryHash),[u]=A.useState(()=>new t(a,o)),d=u.getOptimisticResult(o),f=!r&&c;if(A.useSyncExternalStore(A.useCallback(e=>{let t=f?u.subscribe(O.batchCalls(e)):S;return u.updateResult(),t},[u,f]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),A.useEffect(()=>{u.setOptions(o)},[o,u]),pt(o,d))throw mt(o,u,i);if(ut({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&&!Se.isServer()&&ft(d,r)&&(l?mt(o,u,i):s?.promise)?.catch(S).finally(()=>{u.updateResult()}),o.notifyOnChangeProps?d:u.trackResult(d)}function gt(e,t){return ht(e,Le,t)}function _t(e,t){let n=tt(t),[r]=A.useState(()=>new Je(n,e));A.useEffect(()=>{r.setOptions(e)},[r,e]);let i=A.useSyncExternalStore(A.useCallback(e=>r.subscribe(O.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=A.useCallback((e,t)=>{r.mutate(e,t).catch(S)},[r]);if(i.error&&be(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}var vt=o((e=>{(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===w?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 S:return`Suspense`;case ne:return`SuspenseList`;case C: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 re:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case ie: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===ie)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=T.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(ae.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(){se||(se=!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 ce[e]||(ce[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(oe(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(ae.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}`,de[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),de[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===ie&&(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`),S=Symbol.for(`react.suspense`),ne=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),ie=Symbol.for(`react.lazy`),C=Symbol.for(`react.activity`),w=Symbol.for(`react.client.reference`),T=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=Object.prototype.hasOwnProperty,oe=Array.isArray,E=console.createTask?console.createTask:function(){return null};h={react_stack_bottom_frame:function(e){return e()}};var se,ce={},le=h.react_stack_bottom_frame.bind(h,o)(),ue=E(i(o)),de={};e.Fragment=v,e.jsxDEV=function(e,t,n,r){var a=1e4>T.recentlyCreatedOwnerStacks++;return f(e,t,n,r,a?Error(`react-stack-top-frame`):le,a?E(i(e)):ue)}})()})),yt=o(((e,t)=>{t.exports=vt()})),bt=_(),j=yt(),xt=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/shell/Rail.tsx`,St=[{key:`sessions`,label:`Sessions`,route:{name:`sessions`},icon:(0,j.jsxDEV)(`svg`,{viewBox:`0 0 20 20`,"aria-hidden":`true`,children:[(0,j.jsxDEV)(`rect`,{x:`3`,y:`3.5`,width:`14`,height:`13`,rx:`2.5`},void 0,!1,{fileName:xt,lineNumber:27,columnNumber:9},void 0),(0,j.jsxDEV)(`path`,{d:`M6.5 8h7M6.5 11.5h4.5`},void 0,!1,{fileName:xt,lineNumber:28,columnNumber:9},void 0)]},void 0,!0,{fileName:xt,lineNumber:26,columnNumber:7},void 0)},{key:`reviews`,label:`Reviews`,route:{name:`reviews`},icon:(0,j.jsxDEV)(`svg`,{viewBox:`0 0 20 20`,"aria-hidden":`true`,children:[(0,j.jsxDEV)(`path`,{d:`M3.5 4.5h13v9h-7.5L6 16.5v-3H3.5z`},void 0,!1,{fileName:xt,lineNumber:38,columnNumber:9},void 0),(0,j.jsxDEV)(`path`,{d:`M7 8h6M7 10.75h3.5`},void 0,!1,{fileName:xt,lineNumber:39,columnNumber:9},void 0)]},void 0,!0,{fileName:xt,lineNumber:37,columnNumber:7},void 0)},{key:`packages`,label:`Packages`,soon:!0,icon:(0,j.jsxDEV)(`svg`,{viewBox:`0 0 20 20`,"aria-hidden":`true`,children:[(0,j.jsxDEV)(`path`,{d:`M10 2.8 16.5 6v8L10 17.2 3.5 14V6z`},void 0,!1,{fileName:xt,lineNumber:49,columnNumber:9},void 0),(0,j.jsxDEV)(`path`,{d:`M3.5 6 10 9.4 16.5 6M10 9.4v7.8`},void 0,!1,{fileName:xt,lineNumber:50,columnNumber:9},void 0)]},void 0,!0,{fileName:xt,lineNumber:48,columnNumber:7},void 0)}];function Ct({route:e,onNavigate:t,onOpenPalette:n,live:r}){return(0,j.jsxDEV)(`nav`,{className:`rail`,"aria-label":`Primary`,children:[(0,j.jsxDEV)(`div`,{className:`rail__mark`,title:`Invariant`,children:(0,j.jsxDEV)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,children:[(0,j.jsxDEV)(`path`,{d:`M12 3.2 20 7.6v8.8L12 20.8 4 16.4V7.6z`},void 0,!1,{fileName:xt,lineNumber:66,columnNumber:11},this),(0,j.jsxDEV)(`path`,{d:`M12 8.4v7.2`},void 0,!1,{fileName:xt,lineNumber:67,columnNumber:11},this)]},void 0,!0,{fileName:xt,lineNumber:65,columnNumber:9},this)},void 0,!1,{fileName:xt,lineNumber:64,columnNumber:7},this),(0,j.jsxDEV)(`div`,{className:`rail__items`,children:St.map(n=>{let r=n.route?.name===e.name||n.key===`reviews`&&e.name===`review`||n.key===`sessions`&&e.name===`session`;return(0,j.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,j.jsxDEV)(`span`,{className:`visually-hidden`,children:n.label},void 0,!1,{fileName:xt,lineNumber:90,columnNumber:15},this)]},n.key,!0,{fileName:xt,lineNumber:80,columnNumber:13},this)})},void 0,!1,{fileName:xt,lineNumber:71,columnNumber:7},this),(0,j.jsxDEV)(`div`,{className:`rail__foot`,children:[(0,j.jsxDEV)(`button`,{type:`button`,className:`rail__item`,onClick:n,title:`Command palette (⌘K)`,children:[(0,j.jsxDEV)(`svg`,{viewBox:`0 0 20 20`,"aria-hidden":`true`,children:[(0,j.jsxDEV)(`rect`,{x:`3`,y:`4.5`,width:`14`,height:`11`,rx:`2.5`},void 0,!1,{fileName:xt,lineNumber:99,columnNumber:13},this),(0,j.jsxDEV)(`path`,{d:`M6.5 9 8.6 11 6.5 13M11 13h3`},void 0,!1,{fileName:xt,lineNumber:100,columnNumber:13},this)]},void 0,!0,{fileName:xt,lineNumber:98,columnNumber:11},this),(0,j.jsxDEV)(`span`,{className:`visually-hidden`,children:`Command palette`},void 0,!1,{fileName:xt,lineNumber:102,columnNumber:11},this)]},void 0,!0,{fileName:xt,lineNumber:97,columnNumber:9},this),(0,j.jsxDEV)(`span`,{className:`rail__live rail__live--${r}`,title:r===`live`?`Live — watching for changes`:r===`connecting`?`Connecting…`:`Disconnected — retrying`},void 0,!1,{fileName:xt,lineNumber:104,columnNumber:9},this)]},void 0,!0,{fileName:xt,lineNumber:96,columnNumber:7},this)]},void 0,!0,{fileName:xt,lineNumber:63,columnNumber:5},this)}var wt=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/ui/StatusGlyph.tsx`;function Tt({status:e,kind:t=`plan`,size:n=10}){return(0,j.jsxDEV)(`span`,{className:`glyph glyph--${e}${t===`review`?` glyph--kind-review`:``}`,style:{width:n,height:n},"aria-hidden":`true`,children:[(e===`in-progress`||e===`planning`)&&(0,j.jsxDEV)(`span`,{className:`glyph__pulse`},void 0,!1,{fileName:wt,lineNumber:41,columnNumber:63},this),e===`review`&&(0,j.jsxDEV)(`span`,{className:`glyph__ring`},void 0,!1,{fileName:wt,lineNumber:42,columnNumber:31},this),e===`executed`&&(0,j.jsxDEV)(`svg`,{className:`glyph__check`,viewBox:`0 0 10 10`,focusable:`false`,children:(0,j.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:wt,lineNumber:45,columnNumber:11},this)},void 0,!1,{fileName:wt,lineNumber:44,columnNumber:9},this)]},void 0,!0,{fileName:wt,lineNumber:36,columnNumber:5},this)}var Et=[[60,1,`s`],[3600,60,`m`],[86400,3600,`h`],[2592e3,86400,`d`]];function Dt(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 Et)if(n<e)return`${Math.floor(n/t)}${r} ago`;return new Date(t).toLocaleDateString(void 0,{month:`short`,day:`numeric`})}function Ot(e){let t=new Date(e);return Number.isNaN(t.getTime())?e:t.toLocaleString()}function kt(e){return e<1024?`${e} B`:e<1048576?`${(e/1024).toFixed(1)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function At(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 jt(e){try{return await navigator.clipboard.writeText(e),!0}catch{return!1}}function Mt(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 Nt=[`reviewing`,`triage`,`fixes`,`done`],Pt={reviewing:`Reviewing`,triage:`Triage`,fixes:`Fixes`,done:`Done`};function Ft(e,t){return e.kind===`review`?Lt(e.status,t):It(e.status)}function It(e){switch(e){case`draft`:return{label:`Draft`,holder:`you`,hint:`No plan yet — paste the execute line to have an agent write one.`,action:{kind:`copy-execute`}};case`planning`:return{label:`Planning`,holder:`agent`,hint:`An agent is reading the task and writing the plan.`,action:{kind:`none`}};case`planned`:return{label:`Planned`,holder:`you`,hint:`A plan is written and waiting for your go-ahead.`,action:{kind:`write-plan`}};case`in-progress`:return{label:`Building`,holder:`agent`,hint:`An agent is implementing this plan.`,action:{kind:`none`}};case`executed`:return{label:`Done`,holder:`you`,hint:`The work is finished — this is the moment a review is worth asking for.`,action:{kind:`request-review`}};default:return{label:`Review`,holder:`you`,hint:`This plan session claims the review status, which only a review session may hold.`,action:{kind:`none`}}}}function Lt(e,t){switch(e){case`draft`:return{label:`Awaiting reviewer`,holder:`agent`,hint:`Paste the execute line into a NEW conversation — a fresh agent has not seen the plan.`,action:{kind:`copy-execute`},step:`reviewing`};case`planning`:return{label:`Reviewing`,holder:`agent`,hint:`An agent is reading the diff and writing the review document.`,action:{kind:`none`},step:`reviewing`};case`in-progress`:return{label:`Fixing`,holder:`agent`,hint:`An agent is implementing the comments you staged.`,action:{kind:`none`},step:`fixes`};case`review`:return{label:t?`Triage · ${t.open}`:`Triage`,holder:`you`,hint:t?`${t.open} of ${t.total} comment(s) still need a decision.`:`Every comment is waiting for a decision.`,action:{kind:`triage`,openCount:t?.open??0},step:`triage`};case`planned`:return{label:`Fixes planned`,holder:`you`,hint:`The comments you staged are written into the Plan — paste the execute line to implement them.`,action:{kind:`copy-execute`},step:`fixes`};case`executed`:return t&&t.staged===0&&t.total>0?{label:`Closed`,holder:`you`,hint:`Every comment was discarded, so there was nothing to implement.`,action:{kind:`none`},step:`done`}:{label:`Fixed`,holder:`you`,hint:`The staged comments have been implemented.`,action:{kind:`none`},step:`done`};default:return{label:`Review`,holder:`you`,hint:`Unknown review stage.`,action:{kind:`none`},step:`reviewing`}}}function Rt(e,t){let n=Nt.indexOf(e),r=Nt.indexOf(t);return n===r?0:n<r?-1:1}var zt=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/SessionCard.tsx`;function Bt(e){if(e.excerpt.length===0)return!1;let t=e.title.replace(/…$/,``).trim();return!e.excerpt.startsWith(t)}function Vt(e){let{session:t,counts:n,parent:r}=e,i=t.kind===`review`,a=Ft(t,n),o=n?.open??0;return(0,j.jsxDEV)(`article`,{className:[`card`,`card--${t.status}`,i?`card--review-kind`:``,e.focused?`is-focused`:``,e.related?`is-related`:``].filter(Boolean).join(` `),tabIndex:-1,draggable:!0,onDragStart:n=>{n.dataTransfer.setData(`text/plain`,t.id),n.dataTransfer.effectAllowed=`move`,e.onDragStart()},onDragEnd:e.onDragEnd,onClick:e.onOpen,onKeyDown:t=>{t.key===`Enter`&&e.onOpen()},onMouseEnter:()=>e.onHoverRelated(t.id),onMouseLeave:()=>e.onHoverRelated(void 0),role:`button`,"aria-label":`${i?`Review session`:`Session`}: ${t.title} — ${a.label}`,children:[i&&(0,j.jsxDEV)(`div`,{className:`card__kicker`,children:[(0,j.jsxDEV)(`span`,{className:`card__kicker-label`,children:`Review`},void 0,!1,{fileName:zt,lineNumber:79,columnNumber:11},this),t.branch&&(0,j.jsxDEV)(`span`,{className:`card__kicker-branch`,title:t.reviewFile,children:t.branch},void 0,!1,{fileName:zt,lineNumber:80,columnNumber:30},this)]},void 0,!0,{fileName:zt,lineNumber:78,columnNumber:9},this),(0,j.jsxDEV)(`header`,{className:`card__head`,children:[(0,j.jsxDEV)(Tt,{status:t.status,kind:t.kind},void 0,!1,{fileName:zt,lineNumber:85,columnNumber:9},this),(0,j.jsxDEV)(`h3`,{className:`card__title`,children:t.title},void 0,!1,{fileName:zt,lineNumber:86,columnNumber:9},this)]},void 0,!0,{fileName:zt,lineNumber:84,columnNumber:7},this),i&&r&&(0,j.jsxDEV)(`button`,{type:`button`,className:`card__lineage`,title:`Reviews: ${r.title}`,onClick:t=>{t.stopPropagation(),e.onOpenRelated?.()},onMouseEnter:t=>{t.stopPropagation(),e.onHoverRelated(r.id)},onMouseLeave:()=>e.onHoverRelated(t.id),children:[(0,j.jsxDEV)(`span`,{"aria-hidden":`true`,children:`↳`},void 0,!1,{fileName:zt,lineNumber:98,columnNumber:11},this),` `,r.title]},void 0,!0,{fileName:zt,lineNumber:90,columnNumber:9},this),i&&!r&&(0,j.jsxDEV)(`p`,{className:`card__lineage${t.parent?` card__lineage--orphan`:``}`,title:t.parent?`This review points at a session that is no longer on the board`:`This review is deliberately tied to no session`,children:[(0,j.jsxDEV)(`span`,{"aria-hidden":`true`,children:`↳`},void 0,!1,{fileName:zt,lineNumber:114,columnNumber:11},this),` `,t.parent?`unlinked`:`standalone`]},void 0,!0,{fileName:zt,lineNumber:106,columnNumber:9},this),Bt(t)&&(0,j.jsxDEV)(`p`,{className:`card__excerpt`,children:t.excerpt},void 0,!1,{fileName:zt,lineNumber:118,columnNumber:32},this),(0,j.jsxDEV)(`footer`,{className:`card__foot`,children:[(0,j.jsxDEV)(`span`,{className:`card__time`,title:t.updated,children:Dt(t.updated)},void 0,!1,{fileName:zt,lineNumber:121,columnNumber:9},this),i&&o>0&&(0,j.jsxDEV)(`span`,{className:`chip chip--attention`,title:a.hint,children:[o,` to triage`]},void 0,!0,{fileName:zt,lineNumber:124,columnNumber:11},this),!i&&e.reviewSummary&&e.reviewSummary.count>0&&(0,j.jsxDEV)(`button`,{type:`button`,className:`chip chip--review`,title:`Open the review that points at this session`,onClick:t=>{t.stopPropagation(),e.onOpenRelated?.()},children:[e.reviewSummary.count,` review`,e.reviewSummary.count===1?``:`s`,e.reviewSummary.open>0?` · ${e.reviewSummary.open} to triage`:` · triaged`]},void 0,!0,{fileName:zt,lineNumber:128,columnNumber:11},this),t.tags.slice(0,3).map(e=>(0,j.jsxDEV)(`span`,{className:`chip`,children:e},e,!1,{fileName:zt,lineNumber:140,columnNumber:11},this)),t.needsMigration&&(0,j.jsxDEV)(`span`,{className:`chip chip--warning`,title:t.issues.join(`
|
|
245
|
-
`),children:`header`},void 0,!1,{fileName:zt,lineNumber:144,columnNumber:11},this)]},void 0,!0,{fileName:zt,lineNumber:120,columnNumber:7},this)]},void 0,!0,{fileName:zt,lineNumber:52,columnNumber:5},this)}var Ht=[`in-progress`,`planning`,`review`,`draft`,`planned`,`executed`],Ut={"in-progress":`Building`,planning:`Planning`,review:`Review`,draft:`Draft`,planned:`Planned`,executed:`Done`},Wt=Ht.filter(e=>e!==`review`),Gt="`Review` is set by writing a review and cleared by triaging it.",Kt=[`blocker`,`major`,`minor`,`nit`,`praise`],qt={blocker:`Blocker`,major:`Major`,minor:`Minor`,nit:`Nit`,praise:`Praise`},Jt=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/ui/StatusPill.tsx`;function Yt({status:e,kind:t=`plan`,counts:n,onChange:r,onTriage:i,disabled:a}){let[o,s]=(0,A.useState)(!1),c=(0,A.useRef)(null);(0,A.useEffect)(()=>{if(!o)return;let e=e=>{c.current?.contains(e.target)||s(!1)},t=e=>{e.key===`Escape`&&s(!1)};return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[o]);let l=Ft({kind:t,status:e},n),u=`pill pill--${e}${t===`review`?` pill--kind-review`:``}`;if(e===`review`&&i)return(0,j.jsxDEV)(`button`,{type:`button`,className:`${u} pill--interactive`,onClick:i,disabled:a,title:l.hint,children:[(0,j.jsxDEV)(Tt,{status:e,kind:t},void 0,!1,{fileName:Jt,lineNumber:70,columnNumber:9},this),l.label]},void 0,!0,{fileName:Jt,lineNumber:63,columnNumber:7},this);if(!r)return(0,j.jsxDEV)(`span`,{className:u,title:l.hint,children:[(0,j.jsxDEV)(Tt,{status:e,kind:t},void 0,!1,{fileName:Jt,lineNumber:79,columnNumber:9},this),l.label]},void 0,!0,{fileName:Jt,lineNumber:78,columnNumber:7},this);let d=t===`review`?Ht:Wt;return(0,j.jsxDEV)(`div`,{className:`pill-menu`,ref:c,children:[(0,j.jsxDEV)(`button`,{type:`button`,className:`${u} pill--interactive`,onClick:()=>s(e=>!e),disabled:a,title:l.hint,"aria-haspopup":`menu`,"aria-expanded":o,children:[(0,j.jsxDEV)(Tt,{status:e,kind:t},void 0,!1,{fileName:Jt,lineNumber:100,columnNumber:9},this),l.label,(0,j.jsxDEV)(`svg`,{className:`pill__caret`,viewBox:`0 0 10 10`,"aria-hidden":`true`,children:(0,j.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:Jt,lineNumber:103,columnNumber:11},this)},void 0,!1,{fileName:Jt,lineNumber:102,columnNumber:9},this)]},void 0,!0,{fileName:Jt,lineNumber:91,columnNumber:7},this),o&&(0,j.jsxDEV)(`div`,{className:`pill-menu__list`,role:`menu`,children:[d.map(i=>{let a=i===`review`,o=Ft({kind:t,status:i},n).label;return(0,j.jsxDEV)(`button`,{type:`button`,role:`menuitemradio`,"aria-checked":i===e,"aria-disabled":a||void 0,title:a?"`Review` is set by writing a review and cleared by triaging it.":void 0,className:`pill-menu__item${i===e?` is-active`:``}${a?` is-locked`:``}`,onClick:()=>{a||(s(!1),i!==e&&r(i))},children:[(0,j.jsxDEV)(Tt,{status:i,kind:t},void 0,!1,{fileName:Jt,lineNumber:130,columnNumber:17},this),o,a&&(0,j.jsxDEV)(`span`,{className:`pill-menu__lock`,"aria-hidden":`true`,title:"`Review` is set by writing a review and cleared by triaging it.",children:`🔒`},void 0,!1,{fileName:Jt,lineNumber:133,columnNumber:19},this)]},i,!0,{fileName:Jt,lineNumber:114,columnNumber:15},this)}),t===`review`&&(0,j.jsxDEV)(`p`,{className:`pill-menu__note`,children:"`Review` is set by writing a review and cleared by triaging it."},void 0,!1,{fileName:Jt,lineNumber:141,columnNumber:33},this)]},void 0,!0,{fileName:Jt,lineNumber:109,columnNumber:9},this)]},void 0,!0,{fileName:Jt,lineNumber:90,columnNumber:5},this)}var Xt=[`.xml`,`.md`];function Zt(e){let t=e.split(`/`).pop()??e,n=Xt.find(e=>t.toLowerCase().endsWith(e));return n?t.slice(0,-n.length):t}function Qt(e,t,n){return e.filter(e=>(t===`all`||e.status===t)&&(n===`all`||e.severity===n))}function $t(e,t){let n=e.findIndex(e=>e.id===t);return(n===-1?e:[...e.slice(n+1),...e.slice(0,n)]).find(e=>e.id!==t&&e.status===`open`)}function en(e){if(e.total===0)return{kind:`empty`,label:`This review has no comments.`};if(e.open>0)return{kind:`blocked`,openCount:e.open,label:`${e.open} still need${e.open===1?`s`:``} a decision`};let t=`Ready · ${e.staged} staged · ${e.discarded} discarded`;return e.staged===0?{kind:`ready`,action:`close`,label:t}:{kind:`ready`,action:`plan`,label:t}}function tn(e,t,n,r){if(!(e===`none`||!t))return`${e}://file/${t}/${n}:${r??1}`}function nn(e,t){if(e.reviewFile){let n=Zt(e.reviewFile),r=t.find(e=>e.slug===n);if(r)return r}return t.find(t=>t.sessionId===e.id)}function rn(e,t){return nn(e,t)?.counts}function an(e,t=[]){let n=new Map;for(let r of e)n.set(r.id,{session:r,review:nn(r,t),children:[],contextOnly:!1});let r=[],i=[],a=[];for(let t of e){let e=n.get(t.id);if(t.kind!==`review`){r.push(e);continue}if(!t.parent){i.push(e);continue}let o=n.get(t.parent);if(o){o.children.push(e);continue}a.push(e)}return{roots:r,standalone:i,orphaned:a}}function on(e,t){let n=e=>{let n=e.children.filter(e=>t.has(e.session.id)),r=t.has(e.session.id);if(!(!r&&n.length===0))return{...e,contextOnly:!r,children:r?e.children:n}};return{roots:e.roots.map(n).filter(sn),standalone:e.standalone.map(n).filter(sn),orphaned:e.orphaned.map(n).filter(sn)}}function sn(e){return e!==void 0}function cn(e,t){let n=[];for(let r of e.roots){let e=r.children.length>0,i=e&&t.has(r.session.id);if(n.push({kind:`session`,node:r,depth:0,hasChildren:e,expanded:i}),i)for(let e of r.children)n.push({kind:`session`,node:e,depth:1,hasChildren:!1,expanded:!1})}for(let t of[{id:`standalone`,nodes:e.standalone},{id:`orphaned`,nodes:e.orphaned}])if(t.nodes.length!==0){n.push({kind:`group`,id:t.id,count:t.nodes.length});for(let e of t.nodes)n.push({kind:`session`,node:e,depth:1,hasChildren:!1,expanded:!1})}return n}function ln(e){let t=new Set;for(let n of e.roots)n.children.some(e=>e.session.status===`review`||(e.review?.counts.open??0)>0)&&t.add(n.session.id);return t}var M=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/Dashboard.tsx`;function un(e){return e.view===`board`?(0,j.jsxDEV)(dn,{...e},void 0,!1,{fileName:M,lineNumber:43,columnNumber:35},this):(0,j.jsxDEV)(fn,{...e},void 0,!1,{fileName:M,lineNumber:43,columnNumber:58},this)}function dn({sessions:e,allSessions:t,reviews:n,focusedId:r,onFocus:i,onOpen:a,onStatusChange:o,onNew:s,onRefuseDrop:c}){let[l,u]=(0,A.useState)(!1),[d,f]=(0,A.useState)(),[p,m]=(0,A.useState)(),[h,g]=(0,A.useState)(),_=(0,A.useMemo)(()=>new Map(t.map(e=>[e.id,e])),[t]),v=(0,A.useMemo)(()=>Ht.map(t=>({status:t,items:e.filter(e=>e.status===t)})),[e]),y=e=>{if(e.kind===`review`||e.reviewSessionIds.length===0)return;let t=e.reviewSessionIds.map(e=>_.get(e)).filter(e=>e!==void 0).reduce((e,t)=>e+(rn(t,n)?.open??0),0);return{count:e.reviewSessionIds.length,open:t}},b=e=>e.kind===`review`?e.parent:e.reviewSessionIds[0];return(0,j.jsxDEV)(`div`,{className:`board`,style:{"--board-columns":v.length},children:v.map(t=>{let v=t.status===`executed`,x=v&&!l;return(0,j.jsxDEV)(`section`,{className:`column column--${t.status}${x?` is-collapsed`:``}${p===t.status?` is-drop-target`:``}`,onDragOver:e=>{d&&(e.preventDefault(),m(t.status))},onDragLeave:()=>m(e=>e===t.status?void 0:e),onDrop:n=>{n.preventDefault();let r=n.dataTransfer.getData(`text/plain`);m(void 0),f(void 0);let i=e.find(e=>e.id===r);if(!(!i||i.status===t.status)){if(t.status===`review`||i.status===`review`){c(Gt);return}o(r,t.status)}},children:[(0,j.jsxDEV)(`header`,{className:`column__head`,children:[(0,j.jsxDEV)(Tt,{status:t.status},void 0,!1,{fileName:M,lineNumber:130,columnNumber:15},this),(0,j.jsxDEV)(`h2`,{className:`column__title`,children:Ut[t.status]},void 0,!1,{fileName:M,lineNumber:131,columnNumber:15},this),(0,j.jsxDEV)(`span`,{className:`column__count`,children:t.items.length},void 0,!1,{fileName:M,lineNumber:132,columnNumber:15},this),v&&t.items.length>0&&(0,j.jsxDEV)(`button`,{type:`button`,className:`column__toggle`,onClick:()=>u(e=>!e),children:l?`Hide`:`Show`},void 0,!1,{fileName:M,lineNumber:134,columnNumber:17},this)]},void 0,!0,{fileName:M,lineNumber:129,columnNumber:13},this),!x&&(0,j.jsxDEV)(`div`,{className:`column__body`,children:[t.items.map(e=>(0,j.jsxDEV)(Vt,{session:e,counts:rn(e,n),parent:e.parent?_.get(e.parent):void 0,reviewSummary:y(e),focused:e.id===r,related:h===e.id,onOpen:()=>{i(e.id),a(e.id)},onOpenRelated:()=>{let t=b(e);t&&(i(t),a(t))},onHoverRelated:t=>g(t===e.id?b(e):t),onDragStart:()=>f(e.id),onDragEnd:()=>{f(void 0),m(void 0)}},e.id,!1,{fileName:M,lineNumber:143,columnNumber:19},this)),t.items.length===0&&(0,j.jsxDEV)(`p`,{className:`column__empty`,children:t.status===`draft`?(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:s,children:`Start a session`},void 0,!1,{fileName:M,lineNumber:167,columnNumber:23},this):t.status===`review`?`Nothing waiting on your judgement`:`Nothing here`},void 0,!1,{fileName:M,lineNumber:165,columnNumber:19},this)]},void 0,!0,{fileName:M,lineNumber:141,columnNumber:15},this)]},t.status,!0,{fileName:M,lineNumber:101,columnNumber:11},this)})},void 0,!1,{fileName:M,lineNumber:95,columnNumber:5},this)}function fn({sessions:e,allSessions:t,reviews:n,focusedId:r,onFocus:i,onOpen:a,onStatusChange:o,filter:s}){let c=(0,A.useRef)(null),[l,u]=(0,A.useState)(),d=(0,A.useMemo)(()=>an(t,n),[t,n]),f=(0,A.useMemo)(()=>s.trim().length===0?d:on(d,new Set(e.map(e=>e.id))),[d,e,s]),p=(0,A.useMemo)(()=>l??ln(d),[l,d]),m=(0,A.useMemo)(()=>cn(f,s.trim().length>0?new Set(f.roots.map(e=>e.session.id)):p),[f,p,s]);(0,A.useEffect)(()=>{c.current?.scrollIntoView({block:`nearest`})},[r]);let h=(0,A.useCallback)(e=>u(t=>{let n=new Set(t??ln(d));return n.has(e)?n.delete(e):n.add(e),n}),[d]);return(0,A.useEffect)(()=>{let e=e=>{if(!r)return;let t=e.target;if(t&&(t.tagName===`INPUT`||t.tagName===`TEXTAREA`)||e.key!==`ArrowLeft`&&e.key!==`ArrowRight`)return;let n=d.roots.find(e=>e.session.id===r);if(!n||n.children.length===0)return;let i=p.has(r);(e.key===`ArrowRight`&&!i||e.key===`ArrowLeft`&&i)&&(e.preventDefault(),h(r))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[r,d,p,h]),m.length===0?(0,j.jsxDEV)(`div`,{className:`page-state`,children:`Nothing matches this filter.`},void 0,!1,{fileName:M,lineNumber:264,columnNumber:12},this):(0,j.jsxDEV)(`div`,{className:`list`,children:(0,j.jsxDEV)(`table`,{className:`list__table tree`,role:`treegrid`,"aria-label":`Sessions and their reviews`,children:[(0,j.jsxDEV)(`thead`,{children:(0,j.jsxDEV)(`tr`,{children:[(0,j.jsxDEV)(`th`,{scope:`col`,children:`Session`},void 0,!1,{fileName:M,lineNumber:272,columnNumber:13},this),(0,j.jsxDEV)(`th`,{scope:`col`,children:`Stage`},void 0,!1,{fileName:M,lineNumber:273,columnNumber:13},this),(0,j.jsxDEV)(`th`,{scope:`col`,children:`Updated`},void 0,!1,{fileName:M,lineNumber:274,columnNumber:13},this),(0,j.jsxDEV)(`th`,{scope:`col`,children:`Size`},void 0,!1,{fileName:M,lineNumber:275,columnNumber:13},this)]},void 0,!0,{fileName:M,lineNumber:271,columnNumber:11},this)},void 0,!1,{fileName:M,lineNumber:270,columnNumber:9},this),(0,j.jsxDEV)(`tbody`,{children:m.map(e=>{if(e.kind===`group`){let t=e.id===`standalone`;return(0,j.jsxDEV)(`tr`,{className:`tree__group tree__group--${e.id}`,children:(0,j.jsxDEV)(`td`,{colSpan:4,children:[(0,j.jsxDEV)(`span`,{className:`tree__group-title`,children:[t?`Standalone reviews`:`Orphaned reviews`,` (`,e.count,`)`]},void 0,!0,{fileName:M,lineNumber:285,columnNumber:21},this),(0,j.jsxDEV)(`span`,{className:`tree__group-hint`,children:t?`Reviews of a branch on its own — deliberately tied to no session.`:`The session these reviewed is gone. Open one to link it to another.`},void 0,!1,{fileName:M,lineNumber:288,columnNumber:21},this)]},void 0,!0,{fileName:M,lineNumber:284,columnNumber:19},this)},e.id,!1,{fileName:M,lineNumber:283,columnNumber:17},this)}let{node:t,depth:n,hasChildren:s,expanded:l}=e,u=t.session,d=t.review?.counts;return(0,j.jsxDEV)(`tr`,{ref:u.id===r?c:void 0,role:`row`,"aria-level":n+1,"aria-expanded":s?l:void 0,className:[n===1?`tree__row--child`:`tree__row--root`,u.kind===`review`?`tree__row--review`:``,t.contextOnly?`is-context`:``,u.id===r?`is-focused`:``].filter(Boolean).join(` `),onClick:()=>{i(u.id),a(u.id)},children:[(0,j.jsxDEV)(`td`,{children:(0,j.jsxDEV)(`div`,{className:`tree__cell`,children:[n===0?(0,j.jsxDEV)(`button`,{type:`button`,className:`tree__twisty${s?``:` is-empty`}`,"aria-label":l?`Collapse`:`Expand`,tabIndex:s?0:-1,onClick:e=>{e.stopPropagation(),s&&h(u.id)},children:s?l?`▾`:`▸`:``},void 0,!1,{fileName:M,lineNumber:322,columnNumber:23},this):(0,j.jsxDEV)(`span`,{className:`tree__elbow`,"aria-hidden":`true`,children:`└─`},void 0,!1,{fileName:M,lineNumber:335,columnNumber:23},this),(0,j.jsxDEV)(`div`,{className:`tree__identity`,children:[(0,j.jsxDEV)(`div`,{className:`list__title`,children:[u.kind===`review`&&(0,j.jsxDEV)(`span`,{className:`tree__kicker`,children:[`Review`,u.branch&&(0,j.jsxDEV)(`span`,{className:`tree__branch`,children:u.branch},void 0,!1,{fileName:M,lineNumber:343,columnNumber:48},this)]},void 0,!0,{fileName:M,lineNumber:341,columnNumber:27},this),u.title]},void 0,!0,{fileName:M,lineNumber:339,columnNumber:23},this),u.excerpt.length>0&&!u.excerpt.startsWith(u.title.replace(/…$/,``).trim())&&(0,j.jsxDEV)(`div`,{className:`list__excerpt`,children:u.excerpt},void 0,!1,{fileName:M,lineNumber:350,columnNumber:27},this)]},void 0,!0,{fileName:M,lineNumber:338,columnNumber:21},this)]},void 0,!0,{fileName:M,lineNumber:320,columnNumber:19},this)},void 0,!1,{fileName:M,lineNumber:319,columnNumber:17},this),(0,j.jsxDEV)(`td`,{onClick:e=>e.stopPropagation(),children:(0,j.jsxDEV)(Yt,{status:u.status,kind:u.kind,counts:d,onChange:e=>o(u.id,e),onTriage:()=>{i(u.id),a(u.id)}},void 0,!1,{fileName:M,lineNumber:356,columnNumber:19},this)},void 0,!1,{fileName:M,lineNumber:355,columnNumber:17},this),(0,j.jsxDEV)(`td`,{className:`list__meta`,title:u.updated,children:Dt(u.updated)},void 0,!1,{fileName:M,lineNumber:364,columnNumber:17},this),(0,j.jsxDEV)(`td`,{className:`list__meta`,children:kt(u.sizeBytes)},void 0,!1,{fileName:M,lineNumber:365,columnNumber:17},this)]},u.id,!0,{fileName:M,lineNumber:303,columnNumber:15},this)})},void 0,!1,{fileName:M,lineNumber:278,columnNumber:9},this)]},void 0,!0,{fileName:M,lineNumber:269,columnNumber:7},this)},void 0,!1,{fileName:M,lineNumber:268,columnNumber:5},this)}function pn(e,t,n){let r=an(e,t);return cn(r,n??ln(r)).filter(e=>e.kind===`session`).map(e=>e.node.session)}var mn=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/ConflictBanner.tsx`;function hn({conflictCount:e,onOpenMerge:t,onKeepMine:n,onTakeTheirs:r}){return(0,j.jsxDEV)(`div`,{className:`banner banner--warning`,role:`alert`,children:[(0,j.jsxDEV)(`div`,{className:`banner__text`,children:[(0,j.jsxDEV)(`strong`,{children:`The agent changed the same lines you did.`},void 0,!1,{fileName:mn,lineNumber:33,columnNumber:9},this),` `,e===1?`1 spot needs`:`${e} spots need`,` your call — everything else was merged.`]},void 0,!0,{fileName:mn,lineNumber:32,columnNumber:7},this),(0,j.jsxDEV)(`div`,{className:`banner__actions`,children:[(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:t,children:`Open the merge`},void 0,!1,{fileName:mn,lineNumber:38,columnNumber:9},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:n,children:`Keep mine`},void 0,!1,{fileName:mn,lineNumber:41,columnNumber:9},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,onClick:()=>{window.confirm(`Discard your edits and take the version on disk?`)&&r()},children:`Take theirs`},void 0,!1,{fileName:mn,lineNumber:44,columnNumber:9},this)]},void 0,!0,{fileName:mn,lineNumber:37,columnNumber:7},this)]},void 0,!0,{fileName:mn,lineNumber:31,columnNumber:5},this)}function gn(){let e=document.querySelector(`meta[name="invariant-ui-token"]`)?.content??``;return e.startsWith(`__`)?``:e}var _n=gn(),vn=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&&this.code.endsWith(`CONFLICT`)}get isMergeConflict(){return this.code===`SESSION_MERGE_CONFLICT`}get isNotTriaged(){return this.code===`REVIEW_NOT_TRIAGED`}get openCount(){return this.detail.openCount??0}};async function yn(e,t={}){let n=await fetch(e,{...t,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${_n}`,...t.headers??{}}});if(!n.ok){let e=await n.json().catch(()=>void 0);throw new vn(n.status,e?.error.code??`UNKNOWN`,e?.error.message??`Request failed with ${n.status}.`,e?.error)}if(n.status!==204)return await n.json()}function bn(e){return{...e,tags:e.tags??[],issues:e.issues??[],reviewSessionIds:e.reviewSessionIds??[]}}var xn={project:()=>yn(`/api/project`),listSessions:async()=>{let e=await yn(`/api/sessions`);return{...e,sessions:(e.sessions??[]).map(bn)}},getSession:async e=>bn(await yn(`/api/sessions/${e}`)),saveSession:async e=>{let t=await yn(`/api/sessions/${e.sessionId}`,{method:`PUT`,headers:e.force?{}:{"If-Match":e.etag},body:JSON.stringify({body:e.body,baseBody:e.baseBody,force:e.force===!0})});return{session:bn(t.session),merged:t.merged}},stashSessionBody:e=>yn(`/api/sessions/${e.sessionId}/stash`,{method:`POST`,body:JSON.stringify({body:e.body})}),setStatus:async e=>bn(await yn(`/api/sessions/${e.sessionId}/status`,{method:`PATCH`,body:JSON.stringify({status:e.status,summary:e.summary})})),createSession:async e=>{let t=await yn(`/api/sessions`,{method:`POST`,body:JSON.stringify(e)});return{...t,session:bn(t.session)}},linkReviewParent:async e=>bn(await yn(`/api/sessions/${e.sessionId}/parent`,{method:`PATCH`,body:JSON.stringify({parentSessionId:e.parentSessionId})})),archiveSession:e=>yn(`/api/sessions/${e}`,{method:`DELETE`}),migrateHeader:async e=>({migrated:((await yn(e?`/api/sessions/${e}/migrate-header`:`/api/sessions/migrate-header`,{method:`POST`})).migrated??[]).map(bn)}),shutdown:()=>yn(`/api/shutdown`,{method:`POST`}),git:()=>yn(`/api/git`),listReviews:()=>yn(`/api/reviews`),getReview:e=>yn(`/api/reviews/${e}`),requestReview:async e=>{let t=await yn(`sessionId`in e?`/api/sessions/${e.sessionId}/review`:`/api/reviews`,{method:`POST`,body:JSON.stringify(`sessionId`in e?{base:e.base}:{standalone:!0,base:e.base})});return{...t,session:bn(t.session)}},updateComment:e=>yn(`/api/reviews/${e.slug}/comments/${e.commentId}`,{method:`PATCH`,headers:{"If-Match":e.etag},body:JSON.stringify({status:e.status,expectedStatus:e.expectedStatus,severity:e.severity,category:e.category,title:e.title,body:e.body})}),bulkUpdateComments:e=>yn(`/api/reviews/${e.slug}/comments/bulk`,{method:`POST`,headers:{"If-Match":e.etag},body:JSON.stringify({ids:e.ids,status:e.status,expectedStatus:e.expectedStatus})}),planReviewChanges:async e=>{let t=await yn(`/api/reviews/${e}/plan-changes`,{method:`POST`});return{...t,session:bn(t.session)}},publishReview:e=>yn(`/api/reviews/${e}/publish`,{method:`POST`}),source:e=>{let t=new URLSearchParams({path:e.path});return e.line!==void 0&&t.set(`line`,String(e.line)),e.radius!==void 0&&t.set(`radius`,String(e.radius)),yn(`/api/source?${t.toString()}`)},eventsUrl:()=>`/api/events?token=${encodeURIComponent(_n)}`},Sn={project:[`project`],sessions:[`sessions`],session:e=>[`session`,e],git:[`git`],reviews:[`reviews`],review:e=>[`review`,e]};function Cn(){return gt({queryKey:Sn.project,queryFn:xn.project,staleTime:6e4})}function wn(){return gt({queryKey:Sn.sessions,queryFn:xn.listSessions})}function Tn(e){return gt({queryKey:Sn.session(e??``),queryFn:()=>xn.getSession(e),enabled:e!==void 0})}function En(){let e=tt();return _t({mutationFn:xn.setStatus,onSuccess:t=>{e.setQueryData(Sn.session(t.id),t),e.invalidateQueries({queryKey:Sn.sessions})}})}function Dn(){let e=tt();return _t({mutationFn:xn.saveSession,onSuccess:({session:t})=>{e.setQueryData(Sn.session(t.id),t),e.invalidateQueries({queryKey:Sn.sessions})}})}function On(){return _t({mutationFn:xn.stashSessionBody})}function kn(){let e=tt();return _t({mutationFn:xn.createSession,onSuccess:()=>e.invalidateQueries({queryKey:Sn.sessions})})}function An(){let e=tt();return _t({mutationFn:xn.linkReviewParent,onSuccess:t=>{e.setQueryData(Sn.session(t.id),t),e.invalidateQueries({queryKey:Sn.sessions})}})}function jn(){let e=tt();return _t({mutationFn:xn.archiveSession,onSuccess:()=>e.invalidateQueries({queryKey:Sn.sessions})})}function Mn(){let e=tt();return _t({mutationFn:e=>xn.migrateHeader(e),onSuccess:()=>e.invalidateQueries({queryKey:Sn.sessions})})}function Nn(){return gt({queryKey:Sn.git,queryFn:xn.git,staleTime:15e3})}function Pn(){return gt({queryKey:Sn.reviews,queryFn:xn.listReviews})}function Fn(e){return gt({queryKey:Sn.review(e??``),queryFn:()=>xn.getReview(e),enabled:e!==void 0})}function In(e,t){e.setQueryData(Sn.review(t.slug),t),e.invalidateQueries({queryKey:Sn.reviews}),t.sessionId&&e.invalidateQueries({queryKey:Sn.session(t.sessionId)})}function Ln(){let e=tt();return _t({mutationFn:xn.updateComment,onSuccess:t=>In(e,t)})}function Rn(){let e=tt();return _t({mutationFn:e=>xn.bulkUpdateComments(e),onSuccess:t=>In(e,t)})}function zn(){let e=tt();return _t({mutationFn:xn.requestReview,onSuccess:()=>{e.invalidateQueries({queryKey:Sn.sessions}),e.invalidateQueries({queryKey:Sn.reviews})}})}function Bn(){let e=tt();return _t({mutationFn:e=>xn.planReviewChanges(e),onSuccess:t=>{In(e,t.review),e.setQueryData(Sn.session(t.session.id),t.session),e.invalidateQueries({queryKey:Sn.sessions})}})}function Vn(){let e=tt();return _t({mutationFn:e=>xn.publishReview(e),onSuccess:()=>e.invalidateQueries({queryKey:Sn.reviews})})}function Hn(){let e=tt(),[t,n]=(0,A.useState)(`connecting`);return(0,A.useEffect)(()=>{let t=new EventSource(xn.eventsUrl()),r=t=>{e.invalidateQueries({queryKey:Sn.sessions});try{let n=JSON.parse(t.data);n.sessionId&&e.invalidateQueries({queryKey:Sn.session(n.sessionId)})}catch{}},i=t=>{e.invalidateQueries({queryKey:Sn.reviews}),e.invalidateQueries({queryKey:Sn.sessions});try{let n=JSON.parse(t.data);n.slug&&e.invalidateQueries({queryKey:Sn.review(n.slug)})}catch{}};t.onopen=()=>n(`live`),t.onerror=()=>n(`offline`);for(let e of[`session.created`,`session.updated`,`session.deleted`])t.addEventListener(e,r);for(let e of[`review.created`,`review.updated`,`review.deleted`])t.addEventListener(e,i);let a=()=>{e.invalidateQueries({queryKey:Sn.sessions}),e.invalidateQueries({queryKey:Sn.reviews})};return window.addEventListener(`focus`,a),()=>{t.close(),window.removeEventListener(`focus`,a)}},[e]),t}var Un=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/ReviewPanel.tsx`;function Wn({session:e,onOpenSession:t,onToast:n}){let{data:r}=Nn(),{data:i}=wn(),{data:a}=Pn(),o=zn(),s=(i?.sessions??[]).filter(t=>t.parent===e.id),c=a?.reviews??[];if(s.length>0){let e=s.reduce((e,t)=>e+(rn(t,c)?.open??0),0);return(0,j.jsxDEV)(`div`,{className:`banner banner--review`,children:(0,j.jsxDEV)(`div`,{className:`banner__text`,children:[(0,j.jsxDEV)(`strong`,{children:e>0?`${e} comment${e===1?``:`s`} waiting on you.`:`Reviewed.`},void 0,!1,{fileName:Un,lineNumber:44,columnNumber:11},this),` `,s.length===1?`One review session points at this work.`:`${s.length} review sessions point at this work.`,(0,j.jsxDEV)(`ul`,{className:`review-links`,children:s.map(e=>(0,j.jsxDEV)(`li`,{className:`review-links__item`,children:[(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:()=>t(e.id),children:e.branch??e.title},void 0,!1,{fileName:Un,lineNumber:56,columnNumber:17},this),(0,j.jsxDEV)(Yt,{status:e.status,kind:e.kind,counts:rn(e,c)},void 0,!1,{fileName:Un,lineNumber:63,columnNumber:17},this),(0,j.jsxDEV)(`span`,{className:`review-links__time`,title:e.updated,children:Dt(e.updated)},void 0,!1,{fileName:Un,lineNumber:68,columnNumber:17},this)]},e.id,!0,{fileName:Un,lineNumber:55,columnNumber:15},this))},void 0,!1,{fileName:Un,lineNumber:53,columnNumber:11},this)]},void 0,!0,{fileName:Un,lineNumber:43,columnNumber:9},this)},void 0,!1,{fileName:Un,lineNumber:42,columnNumber:7},this)}let l=r!==void 0&&!r.canReview;return(0,j.jsxDEV)(`div`,{className:`banner banner--review`,children:[(0,j.jsxDEV)(`div`,{className:`banner__text`,children:[(0,j.jsxDEV)(`strong`,{children:`No review yet.`},void 0,!1,{fileName:Un,lineNumber:84,columnNumber:9},this),` `,l?r?.reason:r?.branch?`A fresh agent can read the ${r.changedFileCount}-file diff on ${r.branch} without seeing this plan.`:`A fresh agent can read the diff without seeing this plan.`]},void 0,!0,{fileName:Un,lineNumber:83,columnNumber:7},this),(0,j.jsxDEV)(`div`,{className:`banner__actions`,children:(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,disabled:l||o.isPending,title:l?r?.reason:void 0,onClick:()=>o.mutate({sessionId:e.id},{onSuccess:async e=>{await jt(e.executeLine),n(e.guidance,`success`),t(e.session.id)},onError:e=>n(e instanceof Error?e.message:`Could not create the review.`,`danger`)}),children:o.isPending?`Creating…`:`Request review`},void 0,!1,{fileName:Un,lineNumber:92,columnNumber:9},this)},void 0,!1,{fileName:Un,lineNumber:91,columnNumber:7},this)]},void 0,!0,{fileName:Un,lineNumber:82,columnNumber:5},this)}var Gn=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/ReviewStageStrip.tsx`;function Kn({status:e,counts:t,onTriage:n,onCopyExecuteLine:r}){let i=Ft({kind:`review`,status:e},t),a=i.step??`reviewing`;return(0,j.jsxDEV)(`div`,{className:`stage`,children:[(0,j.jsxDEV)(`ol`,{className:`stage__steps`,children:Nt.map((e,n)=>{let r=Rt(e,a);return(0,j.jsxDEV)(`li`,{className:`stage__step${r===0?` is-current`:r<0?` is-done`:``}`,"aria-current":r===0?`step`:void 0,children:[(0,j.jsxDEV)(`span`,{className:`stage__index`,"aria-hidden":`true`,children:n+1},void 0,!1,{fileName:Gn,lineNumber:43,columnNumber:15},this),(0,j.jsxDEV)(`span`,{className:`stage__label`,children:[Pt[e],e===`triage`&&t&&t.open>0&&(0,j.jsxDEV)(`span`,{className:`stage__badge`,children:t.open},void 0,!1,{fileName:Gn,lineNumber:47,columnNumber:19},this)]},void 0,!0,{fileName:Gn,lineNumber:44,columnNumber:15},this)]},e,!0,{fileName:Gn,lineNumber:38,columnNumber:13},this)})},void 0,!1,{fileName:Gn,lineNumber:34,columnNumber:7},this),(0,j.jsxDEV)(`p`,{className:`stage__hint`,children:[(0,j.jsxDEV)(`span`,{className:`stage__holder stage__holder--${i.holder}`,children:i.holder===`you`?`Waiting on you`:`Agent working`},void 0,!1,{fileName:Gn,lineNumber:56,columnNumber:9},this),i.hint]},void 0,!0,{fileName:Gn,lineNumber:55,columnNumber:7},this),i.action.kind===`triage`&&n&&(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:n,children:[`Triage `,i.action.openCount>0?i.action.openCount:``,` comment`,i.action.openCount===1?``:`s`]},void 0,!0,{fileName:Gn,lineNumber:63,columnNumber:9},this),i.action.kind===`copy-execute`&&r&&(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:r,children:`Copy execute line`},void 0,!1,{fileName:Gn,lineNumber:70,columnNumber:9},this)]},void 0,!0,{fileName:Gn,lineNumber:33,columnNumber:5},this)}var qn=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/ui/Modal.tsx`;function Jn({title:e,onClose:t,children:n,footer:r,width:i=560}){let a=(0,A.useRef)(null);return(0,A.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,j.jsxDEV)(`div`,{className:`overlay`,onMouseDown:e=>{e.target===e.currentTarget&&t()},children:(0,j.jsxDEV)(`div`,{className:`modal`,style:{maxWidth:i},role:`dialog`,"aria-modal":`true`,"aria-label":e,ref:a,children:[(0,j.jsxDEV)(`header`,{className:`modal__header`,children:[(0,j.jsxDEV)(`h2`,{className:`modal__title`,children:e},void 0,!1,{fileName:qn,lineNumber:28,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`icon-button`,onClick:t,"aria-label":`Close`,children:(0,j.jsxDEV)(`svg`,{viewBox:`0 0 14 14`,"aria-hidden":`true`,children:(0,j.jsxDEV)(`path`,{d:`M3.5 3.5l7 7M10.5 3.5l-7 7`,stroke:`currentColor`,strokeWidth:`1.5`,strokeLinecap:`round`},void 0,!1,{fileName:qn,lineNumber:31,columnNumber:15},this)},void 0,!1,{fileName:qn,lineNumber:30,columnNumber:13},this)},void 0,!1,{fileName:qn,lineNumber:29,columnNumber:11},this)]},void 0,!0,{fileName:qn,lineNumber:27,columnNumber:9},this),(0,j.jsxDEV)(`div`,{className:`modal__body`,children:n},void 0,!1,{fileName:qn,lineNumber:35,columnNumber:9},this),r&&(0,j.jsxDEV)(`footer`,{className:`modal__footer`,children:r},void 0,!1,{fileName:qn,lineNumber:36,columnNumber:20},this)]},void 0,!0,{fileName:qn,lineNumber:26,columnNumber:7},this)},void 0,!1,{fileName:qn,lineNumber:25,columnNumber:5},this)}var Yn=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/LinkParentModal.tsx`;function Xn({review:e,candidates:t,busy:n,onClose:r,onLink:i}){let[a,o]=(0,A.useState)(``),[s,c]=(0,A.useState)(),l=(0,A.useMemo)(()=>{let e=a.trim().toLowerCase(),n=t.filter(e=>e.kind!==`review`);return e.length===0?n:n.filter(t=>`${t.title} ${t.excerpt} ${t.tags.join(` `)}`.toLowerCase().includes(e))},[t,a]);return(0,j.jsxDEV)(Jn,{title:`Link this review to a session`,onClose:r,footer:(0,j.jsxDEV)(j.Fragment,{children:[(0,j.jsxDEV)(`span`,{className:`modal__hint`,children:e.branch??e.title},void 0,!1,{fileName:Yn,lineNumber:43,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,onClick:r,children:`Cancel`},void 0,!1,{fileName:Yn,lineNumber:44,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,disabled:!s||n,onClick:()=>{s&&i(s)},children:n?`Linking…`:`Link`},void 0,!1,{fileName:Yn,lineNumber:45,columnNumber:11},this)]},void 0,!0,{fileName:Yn,lineNumber:42,columnNumber:9},this),children:[(0,j.jsxDEV)(`p`,{className:`empty__text`,children:[`A review is a verdict on a session's work. Pick the session this one judges — it moves under it on the board, and its `,(0,j.jsxDEV)(`code`,{children:`<parent>`},void 0,!1,{fileName:Yn,lineNumber:58,columnNumber:31},this),` is written into the file.`]},void 0,!0,{fileName:Yn,lineNumber:56,columnNumber:7},this),(0,j.jsxDEV)(`div`,{className:`field`,children:[(0,j.jsxDEV)(`label`,{className:`field__label`,htmlFor:`link-parent-filter`,children:`Find a session`},void 0,!1,{fileName:Yn,lineNumber:62,columnNumber:9},this),(0,j.jsxDEV)(`input`,{id:`link-parent-filter`,className:`field__input`,value:a,placeholder:`Filter by title…`,onChange:e=>o(e.target.value)},void 0,!1,{fileName:Yn,lineNumber:63,columnNumber:9},this)]},void 0,!0,{fileName:Yn,lineNumber:61,columnNumber:7},this),(0,j.jsxDEV)(`div`,{className:`picker`,children:l.length===0?(0,j.jsxDEV)(`p`,{className:`column__empty`,children:`No session matches.`},void 0,!1,{fileName:Yn,lineNumber:74,columnNumber:11},this):l.map(e=>(0,j.jsxDEV)(`button`,{type:`button`,className:`picker__item${s===e.id?` is-active`:``}`,onClick:()=>c(e.id),children:[(0,j.jsxDEV)(`span`,{className:`picker__title`,children:e.title},void 0,!1,{fileName:Yn,lineNumber:83,columnNumber:15},this),(0,j.jsxDEV)(Yt,{status:e.status,kind:e.kind},void 0,!1,{fileName:Yn,lineNumber:84,columnNumber:15},this),(0,j.jsxDEV)(`span`,{className:`picker__meta`,children:Dt(e.updated)},void 0,!1,{fileName:Yn,lineNumber:85,columnNumber:15},this)]},e.id,!0,{fileName:Yn,lineNumber:77,columnNumber:13},this))},void 0,!1,{fileName:Yn,lineNumber:72,columnNumber:7},this)]},void 0,!0,{fileName:Yn,lineNumber:38,columnNumber:5},this)}var Zn=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/reviews/SourcePeek.tsx`,Qn=12;function $n({file:e,line:t,endLine:n}){let{data:r,isLoading:i,error:a}=gt({queryKey:[`source`,e,t??0],queryFn:()=>xn.source({path:e,line:t,radius:Qn}),staleTime:3e4});if(i)return(0,j.jsxDEV)(`div`,{className:`peek peek--state`,children:`Loading…`},void 0,!1,{fileName:Zn,lineNumber:26,columnNumber:25},this);if(a||!r)return(0,j.jsxDEV)(`div`,{className:`peek peek--state`,children:`This file is not readable from here — it may have moved since the review was written.`},void 0,!1,{fileName:Zn,lineNumber:29,columnNumber:7},this);let o=t??r.startLine,s=n??o;return(0,j.jsxDEV)(`div`,{className:`peek`,children:[(0,j.jsxDEV)(`div`,{className:`peek__head`,children:[r.path,` · lines `,r.startLine,`–`,r.endLine,` of `,r.totalLines]},void 0,!0,{fileName:Zn,lineNumber:40,columnNumber:7},this),(0,j.jsxDEV)(`pre`,{className:`peek__code`,children:r.lines.map((e,t)=>{let n=r.startLine+t;return(0,j.jsxDEV)(`div`,{className:`peek__line${n>=o&&n<=s?` is-highlighted`:``}`,children:[(0,j.jsxDEV)(`span`,{className:`peek__number`,children:n},void 0,!1,{fileName:Zn,lineNumber:49,columnNumber:15},this),(0,j.jsxDEV)(`code`,{children:e.length>0?e:` `},void 0,!1,{fileName:Zn,lineNumber:50,columnNumber:15},this)]},n,!0,{fileName:Zn,lineNumber:48,columnNumber:13},this)})},void 0,!1,{fileName:Zn,lineNumber:43,columnNumber:7},this)]},void 0,!0,{fileName:Zn,lineNumber:39,columnNumber:5},this)}var er=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/reviews/CommentEditor.tsx`;function tr({title:e,body:t,busy:n,onCancel:r,onSave:i}){let[a,o]=(0,A.useState)(e),[s,c]=(0,A.useState)(t),l={title:a.trim(),body:s},u=l.title.length>0;return(0,j.jsxDEV)(`div`,{className:`comment-editor`,children:[(0,j.jsxDEV)(`label`,{className:`field`,children:[(0,j.jsxDEV)(`span`,{className:`field__label`,children:`Title`},void 0,!1,{fileName:er,lineNumber:27,columnNumber:9},this),(0,j.jsxDEV)(`input`,{className:`field__input`,value:a,maxLength:120,autoFocus:!0,onChange:e=>o(e.target.value),onKeyDown:e=>{e.key===`Escape`&&r()}},void 0,!1,{fileName:er,lineNumber:28,columnNumber:9},this)]},void 0,!0,{fileName:er,lineNumber:26,columnNumber:7},this),(0,j.jsxDEV)(`label`,{className:`field`,children:[(0,j.jsxDEV)(`span`,{className:`field__label`,children:`Detail`},void 0,!1,{fileName:er,lineNumber:39,columnNumber:9},this),(0,j.jsxDEV)(`textarea`,{className:`field__input field__input--area`,value:s,rows:6,onChange:e=>c(e.target.value),onKeyDown:e=>{e.key===`Escape`&&r()}},void 0,!1,{fileName:er,lineNumber:40,columnNumber:9},this)]},void 0,!0,{fileName:er,lineNumber:38,columnNumber:7},this),(0,j.jsxDEV)(`div`,{className:`comment-editor__actions`,children:[(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,onClick:r,children:`Cancel`},void 0,!1,{fileName:er,lineNumber:50,columnNumber:9},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,disabled:n||!u,onClick:()=>i(l,!1),children:`Save`},void 0,!1,{fileName:er,lineNumber:51,columnNumber:9},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,disabled:n||!u,onClick:()=>i(l,!0),children:`Save & stage`},void 0,!1,{fileName:er,lineNumber:59,columnNumber:9},this)]},void 0,!0,{fileName:er,lineNumber:49,columnNumber:7},this)]},void 0,!0,{fileName:er,lineNumber:25,columnNumber:5},this)}var nr=`modulepreload`,rr=function(e){return`/`+e},ir={},ar=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=rr(t,n),t=s(t),t in ir)return;ir[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`:nr,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)})},or=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/ui/Markdown.tsx`,sr=(0,A.lazy)(()=>ar(()=>import(`./MarkdownBody-AZO5_5u7.js`).then(e=>({default:e.MarkdownBody})),[]));function cr({source:e,compact:t=!1}){if(e.trim().length===0)return null;let n=`markdown${t?` markdown--compact`:``}`;return(0,j.jsxDEV)(A.Suspense,{fallback:(0,j.jsxDEV)(`div`,{className:`${n} markdown--pending`,children:e},void 0,!1,{fileName:or,lineNumber:29,columnNumber:25},this),children:(0,j.jsxDEV)(sr,{source:e,className:n},void 0,!1,{fileName:or,lineNumber:30,columnNumber:7},this)},void 0,!1,{fileName:or,lineNumber:29,columnNumber:5},this)}function lr(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)}function ur(e){let t=[],n=!1;for(let r of e.split(`
|
|
246
|
-
`)){if(r.trimStart().startsWith("```")){n=!n;continue}if(n)continue;let e=r.match(/^(#{1,3})\s+(.+?)\s*$/);if(!e)continue;let i=e[2].replace(/[*_`]/g,``);t.push({level:e[1].length,text:i,slug:lr(i)})}return t}function dr(e,t){let n=[...e.matchAll(/`+/g)].reduce((e,t)=>Math.max(e,t[0].length),0),r="`".repeat(Math.max(3,n+1));return`${r}${t??``}\n${e}\n${r}`}var fr=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/reviews/CommentCard.tsx`,pr={open:`○`,staged:`✓`,discarded:`✗`};function mr(e){let{comment:t}=e,[n,r]=(0,A.useState)(!1),[i,a]=(0,A.useState)(!1),o=t.status!==`open`;return(0,j.jsxDEV)(`article`,{className:`comment comment--${t.status} comment--${t.severity}${e.focused?` is-focused`:``}`,"aria-label":`${t.severity} — ${t.title}`,onClick:e.onFocus,children:[(0,j.jsxDEV)(`header`,{className:`comment__head`,onClick:e.onToggle,role:`button`,tabIndex:-1,children:[(0,j.jsxDEV)(`span`,{className:`comment__glyph`,"aria-hidden":`true`,children:pr[t.status]},void 0,!1,{fileName:fr,lineNumber:56,columnNumber:9},this),(0,j.jsxDEV)(`span`,{className:`comment__severity comment__severity--${t.severity}`,children:qt[t.severity]},void 0,!1,{fileName:fr,lineNumber:57,columnNumber:9},this),(0,j.jsxDEV)(`span`,{className:`comment__category`,children:t.category},void 0,!1,{fileName:fr,lineNumber:60,columnNumber:9},this),t.location&&(0,j.jsxDEV)(`span`,{className:`comment__location`,children:t.location},void 0,!1,{fileName:fr,lineNumber:61,columnNumber:30},this),(0,j.jsxDEV)(`h3`,{className:`comment__title`,children:t.title},void 0,!1,{fileName:fr,lineNumber:62,columnNumber:9},this),t.edited&&(0,j.jsxDEV)(`span`,{className:`chip`,title:`Edited ${t.edited}`,children:`edited`},void 0,!1,{fileName:fr,lineNumber:63,columnNumber:28},this)]},void 0,!0,{fileName:fr,lineNumber:55,columnNumber:7},this),e.expanded&&(0,j.jsxDEV)(`div`,{className:`comment__body`,children:n?(0,j.jsxDEV)(tr,{title:t.title,body:t.body,busy:e.busy,onCancel:()=>r(!1),onSave:(t,n)=>{r(!1),e.onEdit(t,n)}},void 0,!1,{fileName:fr,lineNumber:69,columnNumber:13},this):(0,j.jsxDEV)(j.Fragment,{children:[(0,j.jsxDEV)(`div`,{className:`comment__prose`,children:(0,j.jsxDEV)(cr,{source:t.body,compact:!0},void 0,!1,{fileName:fr,lineNumber:84,columnNumber:17},this)},void 0,!1,{fileName:fr,lineNumber:83,columnNumber:15},this),t.discussion&&(0,j.jsxDEV)(`div`,{className:`comment__discussion`,children:(0,j.jsxDEV)(cr,{source:t.discussion,compact:!0},void 0,!1,{fileName:fr,lineNumber:89,columnNumber:19},this)},void 0,!1,{fileName:fr,lineNumber:88,columnNumber:17},this),t.suggestion&&(0,j.jsxDEV)(`div`,{className:`comment__suggestion`,children:[(0,j.jsxDEV)(`div`,{className:`comment__suggestion-head`,children:[(0,j.jsxDEV)(`span`,{className:`comment__suggestion-label`,children:[`Suggestion`,t.suggestionLang?` · ${t.suggestionLang}`:``]},void 0,!0,{fileName:fr,lineNumber:96,columnNumber:21},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:async()=>{let n=await jt(t.suggestion);e.onToast(n?`Suggestion copied`:`Could not copy`,`success`)},children:`Copy`},void 0,!1,{fileName:fr,lineNumber:99,columnNumber:21},this)]},void 0,!0,{fileName:fr,lineNumber:95,columnNumber:19},this),(0,j.jsxDEV)(cr,{source:dr(t.suggestion,t.suggestionLang),compact:!0},void 0,!1,{fileName:fr,lineNumber:110,columnNumber:19},this)]},void 0,!0,{fileName:fr,lineNumber:94,columnNumber:17},this),t.file&&(0,j.jsxDEV)(`div`,{className:`comment__location-row`,children:[(0,j.jsxDEV)(`span`,{className:`comment__path`,children:t.location},void 0,!1,{fileName:fr,lineNumber:119,columnNumber:19},this),tn(e.editorScheme,e.projectDirectory,t.file,t.line)&&(0,j.jsxDEV)(`a`,{className:`link-button`,href:tn(e.editorScheme,e.projectDirectory,t.file,t.line),children:`Open in editor`},void 0,!1,{fileName:fr,lineNumber:121,columnNumber:21},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:async()=>{let n=await jt(t.location);e.onToast(n?`Location copied`:`Could not copy`,`success`)},children:`Copy`},void 0,!1,{fileName:fr,lineNumber:133,columnNumber:19},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:()=>a(e=>!e),children:i?`Hide code`:`Peek`},void 0,!1,{fileName:fr,lineNumber:143,columnNumber:19},this)]},void 0,!0,{fileName:fr,lineNumber:118,columnNumber:17},this),i&&t.file&&(0,j.jsxDEV)($n,{file:t.file,line:t.line,endLine:t.endLine},void 0,!1,{fileName:fr,lineNumber:154,columnNumber:17},this)]},void 0,!0,{fileName:fr,lineNumber:80,columnNumber:13},this)},void 0,!1,{fileName:fr,lineNumber:67,columnNumber:9},this),e.expanded&&!n&&(0,j.jsxDEV)(`footer`,{className:`comment__actions`,children:[(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--ghost${t.status===`discarded`?` is-active`:``}`,disabled:e.busy,onClick:()=>e.onDecide(`discarded`),children:`Discard`},void 0,!1,{fileName:fr,lineNumber:163,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,disabled:e.busy,onClick:()=>r(!0),children:`Edit`},void 0,!1,{fileName:fr,lineNumber:171,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid${t.status===`staged`?` is-active`:``}`,disabled:e.busy,onClick:()=>e.onDecide(`staged`),children:`Stage`},void 0,!1,{fileName:fr,lineNumber:179,columnNumber:11},this),o&&(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,disabled:e.busy,onClick:()=>e.onDecide(`open`),children:`Undo`},void 0,!1,{fileName:fr,lineNumber:188,columnNumber:13},this)]},void 0,!0,{fileName:fr,lineNumber:162,columnNumber:9},this)]},void 0,!0,{fileName:fr,lineNumber:48,columnNumber:5},this)}var hr=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/ui/Toasts.tsx`,gr=(0,A.createContext)(()=>void 0);function _r(){return(0,A.useContext)(gr)}var vr=3400;function yr({children:e}){let[t,n]=(0,A.useState)([]),r=(0,A.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)),vr)},[]),i=(0,A.useMemo)(()=>r,[r]);return(0,j.jsxDEV)(gr.Provider,{value:i,children:[e,(0,j.jsxDEV)(`div`,{className:`toasts`,role:`status`,"aria-live":`polite`,children:t.map(e=>(0,j.jsxDEV)(`div`,{className:`toast toast--${e.tone}`,children:e.message},e.id,!1,{fileName:hr,lineNumber:35,columnNumber:11},this))},void 0,!1,{fileName:hr,lineNumber:33,columnNumber:7},this)]},void 0,!0,{fileName:hr,lineNumber:31,columnNumber:5},this)}var br=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/reviews/ReviewPane.tsx`,xr=[`all`,`open`,`staged`,`discarded`];function Sr({review:e,projectDirectory:t,editorScheme:n=`vscode`,onPlanned:r}){let i=_r(),a=Ln(),o=Rn(),s=Bn(),c=Vn(),[l,u]=(0,A.useState)(`all`),[d,f]=(0,A.useState)(`all`),[p,m]=(0,A.useState)(),[h,g]=(0,A.useState)(),_=(0,A.useMemo)(()=>e.runs.flatMap(e=>e.comments),[e]),v=(0,A.useMemo)(()=>Qt(_,l,d),[_,l,d]);(0,A.useEffect)(()=>{if(v.length===0){m(void 0);return}(!p||!v.some(e=>e.id===p))&&m(v[0].id)},[v,p]);let y=a.isPending||o.isPending,b=(t,n)=>{a.mutate({slug:e.slug,commentId:t.id,etag:e.etag,expectedStatus:t.status,status:n},{onError:e=>wr(e,i),onSuccess:()=>{if(n===`open`)return;let e=$t(v,t.id);e&&(m(e.id),g(e.id))}})},x=(t,n,r)=>{a.mutate({slug:e.slug,commentId:t.id,etag:e.etag,title:n.title,body:n.body,status:r?`staged`:void 0},{onError:e=>wr(e,i)})},ee=()=>{let t=v.filter(e=>e.status!==`staged`).map(e=>e.id);t.length!==0&&o.mutate({slug:e.slug,ids:t,status:`staged`,etag:e.etag,expectedStatus:`open`},{onSuccess:()=>i(`Staged ${t.length} comment(s)`,`success`),onError:e=>wr(e,i)})};Tr({enabled:!y,comments:v,focusedId:p,onFocus:m,onToggle:e=>g(t=>t===e?void 0:e),onDecide:(e,t)=>{let n=v.find(t=>t.id===e);n&&b(n,t)},onExpand:g,onStageAll:ee});let te=e.counts,S=en(te),ne=S.kind===`ready`,re=S.kind===`ready`&&S.action===`close`;return(0,j.jsxDEV)(`div`,{className:`review`,children:[(0,j.jsxDEV)(`div`,{className:`review__scroll`,children:[(0,j.jsxDEV)(`div`,{className:`review__summary`,children:e.runs.map((t,n)=>(0,j.jsxDEV)(`section`,{className:`review__run`,children:[(0,j.jsxDEV)(`header`,{className:`review__run-head`,children:[(0,j.jsxDEV)(`span`,{className:`review__run-label`,children:e.runs.length>1?`Run ${n+1}`:`Summary`},void 0,!1,{fileName:br,lineNumber:153,columnNumber:17},this),(0,j.jsxDEV)(`span`,{className:`chip`,title:t.headSha,children:t.headSha.slice(0,7)},void 0,!1,{fileName:br,lineNumber:156,columnNumber:17},this),(0,j.jsxDEV)(`span`,{className:`review__run-counts`,children:[t.counts.total,` comment`,t.counts.total===1?``:`s`]},void 0,!0,{fileName:br,lineNumber:157,columnNumber:17},this)]},void 0,!0,{fileName:br,lineNumber:152,columnNumber:15},this),(0,j.jsxDEV)(cr,{source:t.summary,compact:!0},void 0,!1,{fileName:br,lineNumber:163,columnNumber:15},this)]},t.id,!0,{fileName:br,lineNumber:151,columnNumber:13},this))},void 0,!1,{fileName:br,lineNumber:149,columnNumber:9},this),(0,j.jsxDEV)(`header`,{className:`review__toolbar`,children:[(0,j.jsxDEV)(`div`,{className:`segmented`,role:`tablist`,"aria-label":`Filter by decision`,children:xr.map(e=>(0,j.jsxDEV)(`button`,{type:`button`,role:`tab`,"aria-selected":l===e,className:`segmented__item${l===e?` is-active`:``}`,onClick:()=>u(e),children:e===`all`?`All ${te.total}`:`${Cr(e)} ${te[e]}`},e,!1,{fileName:br,lineNumber:171,columnNumber:15},this))},void 0,!1,{fileName:br,lineNumber:169,columnNumber:11},this),(0,j.jsxDEV)(`select`,{className:`select`,value:d,"aria-label":`Filter by severity`,onChange:e=>f(e.target.value),children:[(0,j.jsxDEV)(`option`,{value:`all`,children:`Any severity`},void 0,!1,{fileName:br,lineNumber:190,columnNumber:13},this),Kt.map(e=>(0,j.jsxDEV)(`option`,{value:e,children:e},e,!1,{fileName:br,lineNumber:192,columnNumber:15},this))]},void 0,!0,{fileName:br,lineNumber:184,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,disabled:y||v.every(e=>e.status===`staged`),onClick:ee,title:`Stage every comment matching the current filter (⇧S)`,children:`Stage all shown`},void 0,!1,{fileName:br,lineNumber:196,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:async()=>{i(await jt(e.path)?`Path copied`:`Could not copy`,`success`)},children:e.path},void 0,!1,{fileName:br,lineNumber:206,columnNumber:11},this)]},void 0,!0,{fileName:br,lineNumber:168,columnNumber:9},this),(0,j.jsxDEV)(`div`,{className:`review__list`,children:v.length===0?(0,j.jsxDEV)(`p`,{className:`column__empty`,children:`Nothing matches this filter.`},void 0,!1,{fileName:br,lineNumber:219,columnNumber:13},this):v.map(e=>(0,j.jsxDEV)(mr,{comment:e,projectDirectory:t,editorScheme:n,focused:e.id===p,expanded:e.id===h,busy:y,onFocus:()=>m(e.id),onToggle:()=>g(t=>t===e.id?void 0:e.id),onDecide:t=>b(e,t),onEdit:(t,n)=>x(e,t,n),onToast:i},e.id,!1,{fileName:br,lineNumber:222,columnNumber:15},this))},void 0,!1,{fileName:br,lineNumber:217,columnNumber:9},this)]},void 0,!0,{fileName:br,lineNumber:148,columnNumber:7},this),(0,j.jsxDEV)(`footer`,{className:`review__foot`,children:[(0,j.jsxDEV)(`span`,{className:`review__gate${ne?` is-ready`:``}`,children:S.label},void 0,!1,{fileName:br,lineNumber:242,columnNumber:9},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,disabled:!0,title:e.canPublish?`Coming soon — the review file already carries everything GitLab needs.`:`This review is missing the commit shas a discussion needs to anchor to.`,children:`Publish to GitLab ⋯`},void 0,!1,{fileName:br,lineNumber:244,columnNumber:9},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,disabled:!ne||s.isPending,title:ne?void 0:`Stage or discard every comment first.`,onClick:()=>s.mutate(e.slug,{onSuccess:e=>{i(e.guidance,`success`),jt(e.executeLine),r?.(e.session.id)},onError:e=>wr(e,i)}),children:re?`Close review`:`Plan changes →`},void 0,!1,{fileName:br,lineNumber:257,columnNumber:9},this)]},void 0,!0,{fileName:br,lineNumber:241,columnNumber:7},this),c.isError&&(0,j.jsxDEV)(`p`,{className:`review__note`,children:c.error.message},void 0,!1,{fileName:br,lineNumber:277,columnNumber:27},this)]},void 0,!0,{fileName:br,lineNumber:140,columnNumber:5},this)}function Cr(e){return e[0].toUpperCase()+e.slice(1)}function wr(e,t){if(e instanceof vn&&e.isNotTriaged){t(`${e.openCount} comment(s) still need a decision.`,`danger`);return}if(e instanceof vn&&e.isConflict){t(`That comment changed on disk — reload before deciding on it again.`,`danger`);return}t(e instanceof Error?e.message:`That did not work.`,`danger`)}function Tr(e){(0,A.useEffect)(()=>{let t=t=>{if(!e.enabled)return;let n=t.target;if(n&&(n.tagName===`INPUT`||n.tagName===`TEXTAREA`||n.isContentEditable))return;let r=e.comments.findIndex(t=>t.id===e.focusedId),i=t=>{if(e.comments.length===0)return;let n=Math.min(Math.max(r+t,0),e.comments.length-1);e.onFocus(e.comments[n].id)};if(t.shiftKey&&t.key.toLowerCase()===`s`){t.preventDefault(),e.onStageAll();return}if(!(t.metaKey||t.ctrlKey||t.altKey))switch(t.key){case`j`:i(1);return;case`k`:i(-1);return;case`Enter`:e.focusedId&&(t.preventDefault(),e.onToggle(e.focusedId));return;case`s`:e.focusedId&&(t.preventDefault(),e.onDecide(e.focusedId,`staged`));return;case`d`:e.focusedId&&(t.preventDefault(),e.onDecide(e.focusedId,`discarded`));return;case`e`:e.focusedId&&(t.preventDefault(),e.onExpand(e.focusedId));return}};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[e])}var N=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/SessionPage.tsx`,Er=(0,A.lazy)(()=>ar(()=>import(`./Editor-BHNXHvXa.js`).then(e=>({default:e.Editor})),[])),Dr=(0,A.lazy)(()=>ar(()=>import(`./Preview-BA0QqnWr.js`).then(e=>({default:e.Preview})),[])),Or=1200,kr=/^<{7} yours\r?$/m;function Ar({sessionId:e,mode:t,onModeChange:n,onBack:r,onArchived:i,onOpenSession:a}){let o=_r(),{data:s,isLoading:c,error:l}=Tn(e),{data:u}=Cn(),{data:d}=wn(),f=Dn(),p=En(),m=jn(),h=Mn(),g=An(),_=On(),{data:v}=Fn((0,A.useMemo)(()=>s?.reviewFile?Zt(s.reviewFile):void 0,[s?.reviewFile])),[y,b]=(0,A.useState)(`review`),[x,ee]=(0,A.useState)(!1),[te,S]=(0,A.useState)(),[ne,re]=(0,A.useState)(),ie=(0,A.useRef)(``),C=(0,A.useRef)(``),w=(0,A.useRef)(null),T=te!==void 0&&te!==C.current;(0,A.useEffect)(()=>{s&&ie.current!==s.etag&&(te===void 0||te===C.current)&&(ie.current=s.etag,C.current=s.body,S(s.body),re(void 0))},[s,te]);let ae=(0,A.useCallback)((t,n=!1)=>{s&&f.mutate({sessionId:e,body:t,etag:ie.current,baseBody:C.current,force:n},{onSuccess:({session:e,merged:t})=>{ie.current=e.etag,C.current=e.body,S(e.body),re(void 0),t&&o(`Merged the agent’s changes into yours.`,`info`)},onError:e=>{if(e instanceof vn&&e.isMergeConflict){re({merged:e.detail.mergedPreview??``,theirs:e.detail.currentContent??``,etag:e.detail.actualEtag??``,count:e.detail.conflictCount??1});return}o(e instanceof Error?e.message:`Could not save.`,`danger`)}})},[f,s,e,o]),oe=(0,A.useCallback)((e,t,n)=>{ie.current=e,C.current=t,S(n),re(void 0)},[]),E=(0,A.useCallback)(()=>{te!==void 0&&T&&ae(te)},[te,T,ae]);(0,A.useEffect)(()=>{if(!(!T||te===void 0||ne)&&!kr.test(te))return w.current&&clearTimeout(w.current),w.current=setTimeout(()=>ae(te),Or),()=>{w.current&&clearTimeout(w.current)}},[te,T,ne,ae]);let se=(0,A.useMemo)(()=>d?.sessions??[],[d]),ce=(0,A.useMemo)(()=>s?.parent?se.find(e=>e.id===s.parent):void 0,[se,s?.parent]),le=(0,A.useMemo)(()=>s?`execute instructions from ${s.path}`:``,[s]);if((0,A.useEffect)(()=>{!s||s.kind!==`review`||b(s.status===`review`?`review`:`plan`)},[s?.id,s?.status,s?.kind]),c)return(0,j.jsxDEV)(`div`,{className:`page-state`,children:`Loading session…`},void 0,!1,{fileName:N,lineNumber:209,columnNumber:25},this);if(l||!s)return(0,j.jsxDEV)(`div`,{className:`page-state`,children:[(0,j.jsxDEV)(`p`,{children:`This session could not be loaded.`},void 0,!1,{fileName:N,lineNumber:213,columnNumber:9},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:r,children:`Back to sessions`},void 0,!1,{fileName:N,lineNumber:214,columnNumber:9},this)]},void 0,!0,{fileName:N,lineNumber:212,columnNumber:7},this);let ue=te??s.body,de=s.kind===`review`,fe=!de||y===`plan`;return(0,j.jsxDEV)(`div`,{className:`session`,children:[(0,j.jsxDEV)(`header`,{className:`session__head`,children:[(0,j.jsxDEV)(`button`,{type:`button`,className:`icon-button`,onClick:r,title:`Back (Esc)`,"aria-label":`Back`,children:(0,j.jsxDEV)(`svg`,{viewBox:`0 0 16 16`,"aria-hidden":`true`,children:(0,j.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:N,lineNumber:228,columnNumber:13},this)},void 0,!1,{fileName:N,lineNumber:227,columnNumber:11},this)},void 0,!1,{fileName:N,lineNumber:226,columnNumber:9},this),(0,j.jsxDEV)(`div`,{className:`session__identity`,children:[(0,j.jsxDEV)(`h1`,{className:`session__title`,children:s.title},void 0,!1,{fileName:N,lineNumber:234,columnNumber:11},this),(0,j.jsxDEV)(`div`,{className:`session__meta`,children:[(0,j.jsxDEV)(`span`,{className:`session__stamp session__stamp--created`,title:Ot(s.created),children:[`created `,Dt(s.created)]},void 0,!0,{fileName:N,lineNumber:236,columnNumber:13},this),(0,j.jsxDEV)(`span`,{className:`session__stamp session__stamp--created`,"aria-hidden":`true`,children:`·`},void 0,!1,{fileName:N,lineNumber:239,columnNumber:13},this),(0,j.jsxDEV)(`span`,{className:`session__stamp`,title:Ot(s.updated),children:[`updated `,Dt(s.updated)]},void 0,!0,{fileName:N,lineNumber:240,columnNumber:13},this),T&&(0,j.jsxDEV)(`span`,{className:`session__dirty`,children:te!==void 0&&kr.test(te)?`unsaved — resolve the conflict markers`:`unsaved`},void 0,!1,{fileName:N,lineNumber:244,columnNumber:15},this),f.isPending&&(0,j.jsxDEV)(`span`,{className:`session__saving`,children:`saving…`},void 0,!1,{fileName:N,lineNumber:250,columnNumber:32},this)]},void 0,!0,{fileName:N,lineNumber:235,columnNumber:11},this),de&&(0,j.jsxDEV)(`div`,{className:`session__lineage`,children:[(0,j.jsxDEV)(`span`,{className:`session__kicker`,children:`Review`},void 0,!1,{fileName:N,lineNumber:255,columnNumber:15},this),s.branch&&(0,j.jsxDEV)(`span`,{className:`session__branch`,children:s.branch},void 0,!1,{fileName:N,lineNumber:256,columnNumber:34},this),ce?(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:()=>a(ce.id),title:`Open the session under review`,children:[`↳ `,ce.title]},void 0,!0,{fileName:N,lineNumber:258,columnNumber:17},this):s.parent?(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button link-button--danger`,onClick:()=>ee(!0),children:`↳ unlinked — the session this reviewed is gone`},void 0,!1,{fileName:N,lineNumber:269,columnNumber:17},this):(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:()=>ee(!0),children:`↳ standalone — link to a session`},void 0,!1,{fileName:N,lineNumber:277,columnNumber:17},this)]},void 0,!0,{fileName:N,lineNumber:254,columnNumber:13},this)]},void 0,!0,{fileName:N,lineNumber:233,columnNumber:9},this),(0,j.jsxDEV)(`div`,{className:`session__controls`,children:[(0,j.jsxDEV)(Yt,{status:s.status,kind:s.kind,counts:v?.counts,onTriage:()=>b(`review`),onChange:t=>p.mutate({sessionId:e,status:t},{onError:()=>o(`Could not change the status.`,`danger`)})},void 0,!1,{fileName:N,lineNumber:286,columnNumber:11},this),de&&(0,j.jsxDEV)(`div`,{className:`segmented`,role:`tablist`,"aria-label":`Session view`,children:[`review`,`plan`].map(e=>(0,j.jsxDEV)(`button`,{type:`button`,role:`tab`,"aria-selected":y===e,className:`segmented__item${y===e?` is-active`:``}`,onClick:()=>b(e),children:[e===`review`?`Comments`:`Fix plan`,e===`review`&&v&&v.counts.open>0&&(0,j.jsxDEV)(`span`,{className:`segmented__badge`,children:v.counts.open},void 0,!1,{fileName:N,lineNumber:312,columnNumber:21},this)]},e,!0,{fileName:N,lineNumber:302,columnNumber:17},this))},void 0,!1,{fileName:N,lineNumber:300,columnNumber:13},this),fe&&(0,j.jsxDEV)(`div`,{className:`segmented`,role:`tablist`,"aria-label":`View mode`,children:[`preview`,`edit`,`split`].map(e=>(0,j.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:N,lineNumber:322,columnNumber:17},this))},void 0,!1,{fileName:N,lineNumber:320,columnNumber:13},this),(0,j.jsxDEV)(`div`,{className:`session__actions`,children:[(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:async()=>{o(await jt(le)?`Execute line copied`:`Could not copy`,`success`)},children:`Copy execute line`},void 0,!1,{fileName:N,lineNumber:338,columnNumber:13},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,onClick:()=>{window.confirm(`Archive this session? The file moves to .invariant/sessions/.archive/`)&&m.mutate(e,{onSuccess:()=>{o(`Session archived`,`success`),i()},onError:()=>o(`Could not archive the session.`,`danger`)})},children:`Archive`},void 0,!1,{fileName:N,lineNumber:347,columnNumber:13},this)]},void 0,!0,{fileName:N,lineNumber:337,columnNumber:11},this)]},void 0,!0,{fileName:N,lineNumber:285,columnNumber:9},this)]},void 0,!0,{fileName:N,lineNumber:225,columnNumber:7},this),de&&(0,j.jsxDEV)(Kn,{status:s.status,counts:v?.counts,onTriage:()=>b(`review`),onCopyExecuteLine:async()=>{o(await jt(le)?`Execute line copied`:`Could not copy`,`success`)}},void 0,!1,{fileName:N,lineNumber:365,columnNumber:9},this),ne&&(0,j.jsxDEV)(hn,{conflictCount:ne.count,onOpenMerge:()=>{oe(ne.etag,ne.theirs,ne.merged)},onKeepMine:()=>{te!==void 0&&ae(te,!0)},onTakeTheirs:async()=>{te!==void 0&&await _.mutateAsync({sessionId:e,body:te}),oe(ne.etag,ne.theirs,ne.theirs),o(`Your version was parked in .invariant/sessions/.conflicts/`,`info`)}},void 0,!1,{fileName:N,lineNumber:376,columnNumber:9},this),s.needsMigration&&(0,j.jsxDEV)(`div`,{className:`banner banner--warning`,children:[(0,j.jsxDEV)(`div`,{className:`banner__text`,children:[(0,j.jsxDEV)(`strong`,{children:`This session has no canonical header.`},void 0,!1,{fileName:N,lineNumber:400,columnNumber:13},this),` `,s.issues[0]]},void 0,!0,{fileName:N,lineNumber:399,columnNumber:11},this),(0,j.jsxDEV)(`div`,{className:`banner__actions`,children:(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:()=>h.mutate(e,{onSuccess:()=>o(`Header migrated`,`success`),onError:()=>o(`Could not migrate the header.`,`danger`)}),children:`Fix header`},void 0,!1,{fileName:N,lineNumber:403,columnNumber:13},this)},void 0,!1,{fileName:N,lineNumber:402,columnNumber:11},this)]},void 0,!0,{fileName:N,lineNumber:398,columnNumber:9},this),!de&&s.status===`executed`&&(0,j.jsxDEV)(Wn,{session:s,onOpenSession:a,onToast:o},void 0,!1,{fileName:N,lineNumber:420,columnNumber:9},this),de&&y===`review`?v?(0,j.jsxDEV)(Sr,{review:v,projectDirectory:u?.directory,onPlanned:()=>b(`plan`)},void 0,!1,{fileName:N,lineNumber:429,columnNumber:11},this):(0,j.jsxDEV)(`div`,{className:`page-state`,children:`The review document has not been written yet. Paste the execute line into a new agent conversation, and the comments will appear here as soon as it saves them.`},void 0,!1,{fileName:N,lineNumber:435,columnNumber:11},this):(0,j.jsxDEV)(`div`,{className:`session__body session__body--${t}`,children:(0,j.jsxDEV)(A.Suspense,{fallback:(0,j.jsxDEV)(`div`,{className:`page-state`,children:`Loading…`},void 0,!1,{fileName:N,lineNumber:442,columnNumber:31},this),children:[t!==`preview`&&(0,j.jsxDEV)(Er,{value:ue,onChange:S,onSave:E},void 0,!1,{fileName:N,lineNumber:443,columnNumber:36},this),t!==`edit`&&(0,j.jsxDEV)(Dr,{body:ue,withToc:t===`preview`},void 0,!1,{fileName:N,lineNumber:444,columnNumber:33},this)]},void 0,!0,{fileName:N,lineNumber:442,columnNumber:11},this)},void 0,!1,{fileName:N,lineNumber:441,columnNumber:9},this),x&&(0,j.jsxDEV)(Xn,{review:s,candidates:se,busy:g.isPending,onClose:()=>ee(!1),onLink:t=>g.mutate({sessionId:e,parentSessionId:t},{onSuccess:()=>{ee(!1),o(`Review linked`,`success`)},onError:e=>o(e instanceof Error?e.message:`Could not link the review.`,`danger`)})},void 0,!1,{fileName:N,lineNumber:450,columnNumber:9},this)]},void 0,!0,{fileName:N,lineNumber:224,columnNumber:5},this)}var jr=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/sessions/NewSessionModal.tsx`;function Mr({busy:e,onClose:t,onSubmit:n}){let[r,i]=(0,A.useState)(``),[a,o]=(0,A.useState)(``),[s,c]=(0,A.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,j.jsxDEV)(Jn,{title:`New session`,onClose:t,width:620,footer:(0,j.jsxDEV)(j.Fragment,{children:[(0,j.jsxDEV)(`span`,{className:`modal__hint`,children:[`Runs `,(0,j.jsxDEV)(`code`,{children:`invariant plan`},void 0,!1,{fileName:jr,lineNumber:32,columnNumber:46},this),` in this project`]},void 0,!0,{fileName:jr,lineNumber:32,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,onClick:t,children:`Cancel`},void 0,!1,{fileName:jr,lineNumber:33,columnNumber:11},this),(0,j.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:jr,lineNumber:34,columnNumber:11},this)]},void 0,!0,{fileName:jr,lineNumber:31,columnNumber:9},this),children:[(0,j.jsxDEV)(`label`,{className:`field`,children:[(0,j.jsxDEV)(`span`,{className:`field__label`,children:`Task`},void 0,!1,{fileName:jr,lineNumber:41,columnNumber:9},this),(0,j.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:jr,lineNumber:42,columnNumber:9},this)]},void 0,!0,{fileName:jr,lineNumber:40,columnNumber:7},this),(0,j.jsxDEV)(`div`,{className:`field-row`,children:[(0,j.jsxDEV)(`label`,{className:`field`,children:[(0,j.jsxDEV)(`span`,{className:`field__label`,children:[`Context `,(0,j.jsxDEV)(`span`,{className:`field__optional`,children:`optional`},void 0,!1,{fileName:jr,lineNumber:56,columnNumber:50},this)]},void 0,!0,{fileName:jr,lineNumber:56,columnNumber:11},this),(0,j.jsxDEV)(`input`,{className:`field__input`,value:a,placeholder:`package/context-name`,onChange:e=>o(e.target.value)},void 0,!1,{fileName:jr,lineNumber:57,columnNumber:11},this)]},void 0,!0,{fileName:jr,lineNumber:55,columnNumber:9},this),(0,j.jsxDEV)(`label`,{className:`checkbox`,children:[(0,j.jsxDEV)(`input`,{type:`checkbox`,checked:s,onChange:e=>c(e.target.checked)},void 0,!1,{fileName:jr,lineNumber:66,columnNumber:11},this),(0,j.jsxDEV)(`span`,{children:[`Inline full instructions (`,(0,j.jsxDEV)(`code`,{children:`--full`},void 0,!1,{fileName:jr,lineNumber:67,columnNumber:43},this),`)`]},void 0,!0,{fileName:jr,lineNumber:67,columnNumber:11},this)]},void 0,!0,{fileName:jr,lineNumber:65,columnNumber:9},this)]},void 0,!0,{fileName:jr,lineNumber:54,columnNumber:7},this)]},void 0,!0,{fileName:jr,lineNumber:26,columnNumber:5},this)}var P=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/reviews/ReviewsPage.tsx`;function Nr({onOpen:e,onOpenSession:t,onReviewBranch:n}){let{data:r,isLoading:i}=Pn(),{data:a}=Cn(),{data:o}=wn(),s=(0,A.useMemo)(()=>{let e=o?.sessions??[],t=new Map(e.map(e=>[e.id,e])),n=new Map(e.filter(e=>e.reviewFile!==void 0).map(e=>[Zt(e.reviewFile),e]));return e=>{let r=(e.sessionId?t.get(e.sessionId):void 0)??n.get(e.slug);return{reviewSession:r,subject:r?.parent?t.get(r.parent):void 0}}},[o]),c=(0,A.useMemo)(()=>[...r?.reviews??[]].sort((e,t)=>e.counts.open>0==t.counts.open>0?t.updated.localeCompare(e.updated):e.counts.open>0?-1:1),[r]);return i?(0,j.jsxDEV)(`div`,{className:`page-state`,children:`Loading reviews…`},void 0,!1,{fileName:P,lineNumber:63,columnNumber:25},this):c.length===0?(0,j.jsxDEV)(`div`,{className:`empty`,children:[(0,j.jsxDEV)(`h2`,{className:`empty__title`,children:`No reviews yet`},void 0,!1,{fileName:P,lineNumber:68,columnNumber:9},this),(0,j.jsxDEV)(`p`,{className:`empty__text`,children:[`A review is an XML file in `,(0,j.jsxDEV)(`code`,{children:r?.directory??`doc/review`},void 0,!1,{fileName:P,lineNumber:70,columnNumber:38},this),` holding one pass over a branch, read by a fresh agent that has not seen the plan. There are two ways in: finish a session and use `,(0,j.jsxDEV)(`strong`,{children:`Request review`},void 0,!1,{fileName:P,lineNumber:72,columnNumber:36},this),` there, or review the branch you are on right now — for work no session of yours covers.`]},void 0,!0,{fileName:P,lineNumber:69,columnNumber:9},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:n,children:`Review a branch`},void 0,!1,{fileName:P,lineNumber:75,columnNumber:9},this)]},void 0,!0,{fileName:P,lineNumber:67,columnNumber:7},this):(0,j.jsxDEV)(j.Fragment,{children:[(0,j.jsxDEV)(`header`,{className:`topbar`,children:[(0,j.jsxDEV)(`div`,{className:`topbar__identity`,children:[(0,j.jsxDEV)(`h1`,{className:`topbar__title`,children:`Reviews`},void 0,!1,{fileName:P,lineNumber:86,columnNumber:11},this),(0,j.jsxDEV)(`span`,{className:`topbar__path`,children:a?.name??r?.directory},void 0,!1,{fileName:P,lineNumber:87,columnNumber:11},this)]},void 0,!0,{fileName:P,lineNumber:85,columnNumber:9},this),(0,j.jsxDEV)(`div`,{className:`topbar__controls`,children:[(0,j.jsxDEV)(`div`,{className:`topbar__counts`,children:[(0,j.jsxDEV)(`span`,{className:`count count--review`,title:`Awaiting triage`,children:[(0,j.jsxDEV)(`span`,{className:`count__value`,children:r?.awaitingTriage??0},void 0,!1,{fileName:P,lineNumber:92,columnNumber:15},this),(0,j.jsxDEV)(`span`,{className:`count__label`,children:`Awaiting triage`},void 0,!1,{fileName:P,lineNumber:93,columnNumber:15},this)]},void 0,!0,{fileName:P,lineNumber:91,columnNumber:13},this),(0,j.jsxDEV)(`span`,{className:`count count--planned`,title:`Staged`,children:[(0,j.jsxDEV)(`span`,{className:`count__value`,children:r?.counts.staged??0},void 0,!1,{fileName:P,lineNumber:96,columnNumber:15},this),(0,j.jsxDEV)(`span`,{className:`count__label`,children:`Staged`},void 0,!1,{fileName:P,lineNumber:97,columnNumber:15},this)]},void 0,!0,{fileName:P,lineNumber:95,columnNumber:13},this)]},void 0,!0,{fileName:P,lineNumber:90,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:n,children:`Review a branch`},void 0,!1,{fileName:P,lineNumber:101,columnNumber:11},this)]},void 0,!0,{fileName:P,lineNumber:89,columnNumber:9},this)]},void 0,!0,{fileName:P,lineNumber:84,columnNumber:7},this),(0,j.jsxDEV)(`div`,{className:`list`,children:(0,j.jsxDEV)(`table`,{className:`list__table`,children:[(0,j.jsxDEV)(`thead`,{children:(0,j.jsxDEV)(`tr`,{children:[(0,j.jsxDEV)(`th`,{scope:`col`,children:`Branch`},void 0,!1,{fileName:P,lineNumber:111,columnNumber:15},this),(0,j.jsxDEV)(`th`,{scope:`col`,children:`Work under review`},void 0,!1,{fileName:P,lineNumber:112,columnNumber:15},this),(0,j.jsxDEV)(`th`,{scope:`col`,children:`Triage`},void 0,!1,{fileName:P,lineNumber:113,columnNumber:15},this),(0,j.jsxDEV)(`th`,{scope:`col`,children:`Runs`},void 0,!1,{fileName:P,lineNumber:114,columnNumber:15},this),(0,j.jsxDEV)(`th`,{scope:`col`,children:`Updated`},void 0,!1,{fileName:P,lineNumber:115,columnNumber:15},this)]},void 0,!0,{fileName:P,lineNumber:110,columnNumber:13},this)},void 0,!1,{fileName:P,lineNumber:109,columnNumber:11},this),(0,j.jsxDEV)(`tbody`,{children:c.map(n=>{let{reviewSession:r,subject:i}=s(n);return(0,j.jsxDEV)(`tr`,{onClick:()=>e(n.slug),children:[(0,j.jsxDEV)(`td`,{children:[(0,j.jsxDEV)(`div`,{className:`list__title`,children:n.branch},void 0,!1,{fileName:P,lineNumber:124,columnNumber:21},this),(0,j.jsxDEV)(`div`,{className:`list__excerpt`,children:n.path},void 0,!1,{fileName:P,lineNumber:125,columnNumber:21},this)]},void 0,!0,{fileName:P,lineNumber:123,columnNumber:19},this),(0,j.jsxDEV)(`td`,{onClick:e=>e.stopPropagation(),children:i?(0,j.jsxDEV)(`button`,{type:`button`,className:`link-button`,onClick:()=>t(i.id),children:i.title},void 0,!1,{fileName:P,lineNumber:129,columnNumber:23},this):r?(0,j.jsxDEV)(`span`,{className:`reviews__standalone`,title:r.parent?`The session this reviewed is no longer on the board`:`This review covers a branch on its own`,children:r.parent?`orphaned`:`standalone`},void 0,!1,{fileName:P,lineNumber:137,columnNumber:23},this):(0,j.jsxDEV)(`span`,{className:`reviews__standalone`,title:`No review session on the board owns this file`,children:`—`},void 0,!1,{fileName:P,lineNumber:148,columnNumber:23},this)},void 0,!1,{fileName:P,lineNumber:127,columnNumber:19},this),(0,j.jsxDEV)(`td`,{onClick:e=>e.stopPropagation(),children:(0,j.jsxDEV)(Pr,{review:n},void 0,!1,{fileName:P,lineNumber:154,columnNumber:21},this)},void 0,!1,{fileName:P,lineNumber:153,columnNumber:19},this),(0,j.jsxDEV)(`td`,{className:`list__meta`,children:n.runCount},void 0,!1,{fileName:P,lineNumber:156,columnNumber:19},this),(0,j.jsxDEV)(`td`,{className:`list__meta`,title:n.updated,children:Dt(n.updated)},void 0,!1,{fileName:P,lineNumber:157,columnNumber:19},this)]},n.slug,!0,{fileName:P,lineNumber:122,columnNumber:17},this)})},void 0,!1,{fileName:P,lineNumber:118,columnNumber:11},this)]},void 0,!0,{fileName:P,lineNumber:108,columnNumber:9},this)},void 0,!1,{fileName:P,lineNumber:107,columnNumber:7},this)]},void 0,!0,{fileName:P,lineNumber:83,columnNumber:5},this)}function Pr({review:e}){return e.counts.open>0?(0,j.jsxDEV)(`span`,{className:`pill pill--review`,title:`${e.counts.total} comment(s) in this review`,children:[e.counts.open,` of `,e.counts.total,` awaiting`]},void 0,!0,{fileName:P,lineNumber:171,columnNumber:7},this):(0,j.jsxDEV)(`span`,{className:`pill pill--executed`,children:[e.counts.staged,` staged · `,e.counts.discarded,` discarded`]},void 0,!0,{fileName:P,lineNumber:177,columnNumber:5},this)}var Fr=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/reviews/ReviewPage.tsx`;function Ir({slug:e,onBack:t,onOpenSession:n}){let{data:r,isLoading:i,error:a}=Fn(e),{data:o}=Cn();return i?(0,j.jsxDEV)(`div`,{className:`page-state`,children:`Loading review…`},void 0,!1,{fileName:Fr,lineNumber:21,columnNumber:25},this):a||!r?(0,j.jsxDEV)(`div`,{className:`page-state`,children:[(0,j.jsxDEV)(`p`,{children:`This review could not be loaded.`},void 0,!1,{fileName:Fr,lineNumber:25,columnNumber:9},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:t,children:`Back to reviews`},void 0,!1,{fileName:Fr,lineNumber:26,columnNumber:9},this)]},void 0,!0,{fileName:Fr,lineNumber:24,columnNumber:7},this):(0,j.jsxDEV)(`div`,{className:`session`,children:[(0,j.jsxDEV)(`header`,{className:`session__head`,children:[(0,j.jsxDEV)(`button`,{type:`button`,className:`icon-button`,onClick:t,title:`Back (Esc)`,"aria-label":`Back`,children:(0,j.jsxDEV)(`svg`,{viewBox:`0 0 16 16`,"aria-hidden":`true`,children:(0,j.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:Fr,lineNumber:36,columnNumber:13},this)},void 0,!1,{fileName:Fr,lineNumber:35,columnNumber:11},this)},void 0,!1,{fileName:Fr,lineNumber:34,columnNumber:9},this),(0,j.jsxDEV)(`div`,{className:`session__identity`,children:[(0,j.jsxDEV)(`h1`,{className:`session__title`,children:r.branch},void 0,!1,{fileName:Fr,lineNumber:42,columnNumber:11},this),(0,j.jsxDEV)(Lr,{review:r,project:o},void 0,!1,{fileName:Fr,lineNumber:43,columnNumber:11},this)]},void 0,!0,{fileName:Fr,lineNumber:41,columnNumber:9},this),(0,j.jsxDEV)(`div`,{className:`session__controls`,children:r.sessionId&&(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--subtle`,onClick:()=>n(r.sessionId),children:`Open session`},void 0,!1,{fileName:Fr,lineNumber:48,columnNumber:13},this)},void 0,!1,{fileName:Fr,lineNumber:46,columnNumber:9},this)]},void 0,!0,{fileName:Fr,lineNumber:33,columnNumber:7},this),(0,j.jsxDEV)(Sr,{review:r,projectDirectory:o?.directory,onPlanned:n},void 0,!1,{fileName:Fr,lineNumber:59,columnNumber:7},this)]},void 0,!0,{fileName:Fr,lineNumber:32,columnNumber:5},this)}function Lr({review:e,project:t}){return(0,j.jsxDEV)(`div`,{className:`session__meta`,children:[(0,j.jsxDEV)(`span`,{children:[`base `,e.base]},void 0,!0,{fileName:Fr,lineNumber:73,columnNumber:7},this),(0,j.jsxDEV)(`span`,{"aria-hidden":`true`,children:`·`},void 0,!1,{fileName:Fr,lineNumber:74,columnNumber:7},this),(0,j.jsxDEV)(`span`,{title:e.scope.baseSha,children:e.scope.baseSha.slice(0,7)},void 0,!1,{fileName:Fr,lineNumber:75,columnNumber:7},this),(0,j.jsxDEV)(`span`,{"aria-hidden":`true`,children:`→`},void 0,!1,{fileName:Fr,lineNumber:76,columnNumber:7},this),(0,j.jsxDEV)(`span`,{title:e.scope.headSha,children:e.scope.headSha.slice(0,7)},void 0,!1,{fileName:Fr,lineNumber:77,columnNumber:7},this),e.runCount>1&&(0,j.jsxDEV)(j.Fragment,{children:[(0,j.jsxDEV)(`span`,{"aria-hidden":`true`,children:`·`},void 0,!1,{fileName:Fr,lineNumber:80,columnNumber:11},this),(0,j.jsxDEV)(`span`,{children:[e.runCount,` runs`]},void 0,!0,{fileName:Fr,lineNumber:81,columnNumber:11},this)]},void 0,!0,{fileName:Fr,lineNumber:79,columnNumber:9},this),t&&(0,j.jsxDEV)(j.Fragment,{children:[(0,j.jsxDEV)(`span`,{"aria-hidden":`true`,children:`·`},void 0,!1,{fileName:Fr,lineNumber:86,columnNumber:11},this),(0,j.jsxDEV)(`span`,{children:t.name},void 0,!1,{fileName:Fr,lineNumber:87,columnNumber:11},this)]},void 0,!0,{fileName:Fr,lineNumber:85,columnNumber:9},this)]},void 0,!0,{fileName:Fr,lineNumber:72,columnNumber:5},this)}var Rr=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/reviews/ReviewBranchModal.tsx`;function zr({busy:e,onClose:t,onSubmit:n}){let{data:r,isLoading:i}=Nn(),[a,o]=(0,A.useState)(``),[s,c]=(0,A.useState)(!1);(0,A.useEffect)(()=>{s||!r?.baseBranch||o(r.baseBranch)},[r?.baseBranch,s]);let l=r!==void 0&&!r.canReview,u=a.trim();return(0,j.jsxDEV)(Jn,{title:`Review a branch`,onClose:t,footer:(0,j.jsxDEV)(j.Fragment,{children:[(0,j.jsxDEV)(`span`,{className:`modal__hint`,children:`This review will not be tied to any session.`},void 0,!1,{fileName:Rr,lineNumber:43,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--ghost`,onClick:t,children:`Cancel`},void 0,!1,{fileName:Rr,lineNumber:44,columnNumber:11},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,disabled:e||l||i,title:l?r?.reason:void 0,onClick:()=>n({base:u.length>0&&u!==r?.baseBranch?u:void 0}),children:e?`Creating…`:`Create review session`},void 0,!1,{fileName:Rr,lineNumber:45,columnNumber:11},this)]},void 0,!0,{fileName:Rr,lineNumber:42,columnNumber:9},this),children:[(0,j.jsxDEV)(`p`,{className:`empty__text`,children:[`A fresh agent reads this branch's diff and writes its findings into`,` `,(0,j.jsxDEV)(`code`,{children:`doc/review/<branch>.xml`},void 0,!1,{fileName:Rr,lineNumber:65,columnNumber:9},this),`. Use this for work no session of yours covers — a branch you pulled from someone else.`]},void 0,!0,{fileName:Rr,lineNumber:63,columnNumber:7},this),i?(0,j.jsxDEV)(`p`,{className:`column__empty`,children:`Reading the branch…`},void 0,!1,{fileName:Rr,lineNumber:70,columnNumber:9},this):l?(0,j.jsxDEV)(`div`,{className:`banner banner--warning`,children:(0,j.jsxDEV)(`div`,{className:`banner__text`,children:r?.reason},void 0,!1,{fileName:Rr,lineNumber:73,columnNumber:11},this)},void 0,!1,{fileName:Rr,lineNumber:72,columnNumber:9},this):(0,j.jsxDEV)(`dl`,{className:`scope`,children:[(0,j.jsxDEV)(`div`,{className:`scope__row`,children:[(0,j.jsxDEV)(`dt`,{className:`scope__term`,children:`Branch`},void 0,!1,{fileName:Rr,lineNumber:78,columnNumber:13},this),(0,j.jsxDEV)(`dd`,{className:`scope__value`,children:r?.branch},void 0,!1,{fileName:Rr,lineNumber:79,columnNumber:13},this)]},void 0,!0,{fileName:Rr,lineNumber:77,columnNumber:11},this),(0,j.jsxDEV)(`div`,{className:`scope__row`,children:[(0,j.jsxDEV)(`dt`,{className:`scope__term`,children:`Diff`},void 0,!1,{fileName:Rr,lineNumber:82,columnNumber:13},this),(0,j.jsxDEV)(`dd`,{className:`scope__value`,children:[r?.changedFileCount,` file`,r?.changedFileCount===1?``:`s`,r?.hasStagedChanges?` · staged changes included`:` · nothing staged`]},void 0,!0,{fileName:Rr,lineNumber:83,columnNumber:13},this)]},void 0,!0,{fileName:Rr,lineNumber:81,columnNumber:11},this),r?.headSha&&(0,j.jsxDEV)(`div`,{className:`scope__row`,children:[(0,j.jsxDEV)(`dt`,{className:`scope__term`,children:`Head`},void 0,!1,{fileName:Rr,lineNumber:90,columnNumber:15},this),(0,j.jsxDEV)(`dd`,{className:`scope__value scope__value--mono`,title:r.headSha,children:r.headSha.slice(0,7)},void 0,!1,{fileName:Rr,lineNumber:91,columnNumber:15},this)]},void 0,!0,{fileName:Rr,lineNumber:89,columnNumber:13},this)]},void 0,!0,{fileName:Rr,lineNumber:76,columnNumber:9},this),(0,j.jsxDEV)(`div`,{className:`field`,children:[(0,j.jsxDEV)(`label`,{className:`field__label`,htmlFor:`review-base`,children:[`Base ref `,(0,j.jsxDEV)(`span`,{className:`field__optional`,children:`— what the diff is measured from`},void 0,!1,{fileName:Rr,lineNumber:101,columnNumber:20},this)]},void 0,!0,{fileName:Rr,lineNumber:100,columnNumber:9},this),(0,j.jsxDEV)(`input`,{id:`review-base`,className:`field__input`,value:a,placeholder:`origin/main`,onChange:e=>{c(!0),o(e.target.value)}},void 0,!1,{fileName:Rr,lineNumber:103,columnNumber:9},this)]},void 0,!0,{fileName:Rr,lineNumber:99,columnNumber:7},this)]},void 0,!0,{fileName:Rr,lineNumber:38,columnNumber:5},this)}var Br=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/palette/CommandPalette.tsx`,Vr=40;function Hr({actions:e,onClose:t}){let[n,r]=(0,A.useState)(``),[i,a]=(0,A.useState)(0),o=(0,A.useRef)(null),s=(0,A.useMemo)(()=>n.trim().length===0?e.slice(0,Vr):e.map(e=>({action:e,score:At(`${e.title} ${e.group} ${e.keywords??``}`,n.trim())})).filter(e=>e.score!==null).sort((e,t)=>t.score-e.score).slice(0,Vr).map(e=>e.action),[e,n]);(0,A.useEffect)(()=>{a(0)},[n]),(0,A.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,j.jsxDEV)(`div`,{className:`overlay overlay--top`,onMouseDown:e=>{e.target===e.currentTarget&&t()},children:(0,j.jsxDEV)(`div`,{className:`palette`,role:`dialog`,"aria-modal":`true`,"aria-label":`Command palette`,children:[(0,j.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:Br,lineNumber:79,columnNumber:9},this),(0,j.jsxDEV)(`div`,{className:`palette__list`,ref:o,role:`listbox`,children:[s.length===0&&(0,j.jsxDEV)(`p`,{className:`palette__empty`,children:`No matches`},void 0,!1,{fileName:Br,lineNumber:90,columnNumber:36},this),s.map((e,n)=>{let r=e.group===l?void 0:e.group;return l=e.group,(0,j.jsxDEV)(`div`,{children:[r&&(0,j.jsxDEV)(`div`,{className:`palette__group`,children:r},void 0,!1,{fileName:Br,lineNumber:98,columnNumber:28},this),(0,j.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,j.jsxDEV)(Tt,{status:e.status},void 0,!1,{fileName:Br,lineNumber:108,columnNumber:37},this),(0,j.jsxDEV)(`span`,{className:`palette__title`,children:e.title},void 0,!1,{fileName:Br,lineNumber:109,columnNumber:19},this),e.hint&&(0,j.jsxDEV)(`span`,{className:`palette__hint`,children:e.hint},void 0,!1,{fileName:Br,lineNumber:110,columnNumber:35},this),e.shortcut&&(0,j.jsxDEV)(`kbd`,{className:`palette__shortcut`,children:e.shortcut},void 0,!1,{fileName:Br,lineNumber:111,columnNumber:39},this)]},void 0,!0,{fileName:Br,lineNumber:99,columnNumber:17},this)]},e.id,!0,{fileName:Br,lineNumber:97,columnNumber:15},this)})]},void 0,!0,{fileName:Br,lineNumber:89,columnNumber:9},this),(0,j.jsxDEV)(`footer`,{className:`palette__foot`,children:[(0,j.jsxDEV)(`kbd`,{children:`↑`},void 0,!1,{fileName:Br,lineNumber:119,columnNumber:11},this),(0,j.jsxDEV)(`kbd`,{children:`↓`},void 0,!1,{fileName:Br,lineNumber:119,columnNumber:23},this),` navigate `,(0,j.jsxDEV)(`kbd`,{children:`↵`},void 0,!1,{fileName:Br,lineNumber:119,columnNumber:45},this),` run `,(0,j.jsxDEV)(`kbd`,{children:`esc`},void 0,!1,{fileName:Br,lineNumber:119,columnNumber:62},this),` close`]},void 0,!0,{fileName:Br,lineNumber:118,columnNumber:9},this)]},void 0,!0,{fileName:Br,lineNumber:78,columnNumber:7},this)},void 0,!1,{fileName:Br,lineNumber:77,columnNumber:5},this)}var Ur=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/features/palette/ShortcutSheet.tsx`,Wr=[{title:`Global`,rows:[[`⌘K`,`Command palette`],[`N`,`New session`],[`⌘B`,`Toggle board / tree`],[`/`,`Focus the filter`],[`⇧⌘R`,`Copy the execute line of the session in front of you`],[`?`,`This sheet`]]},{title:`Dashboard`,rows:[[`J / K`,`Move between sessions`],[`← / →`,`Collapse / expand a session's reviews (tree view)`],[`↵`,`Open the focused session`],[`1 – 5`,`Set status: Review is machine-set, so it is not one of the five`]]},{title:`Review triage`,rows:[[`J / K`,`Move between comments`],[`↵`,`Expand the focused comment`],[`S`,`Stage it`],[`D`,`Discard it`],[`E`,`Edit its wording`],[`⇧S`,`Stage everything matching the filter`]]},{title:`Session`,rows:[[`⇧⌘V`,`Toggle preview / edit`],[`S`,`Split view`],[`⌘S`,`Save now`],[`Esc`,`Back to the dashboard`]]}];function Gr({onClose:e}){return(0,j.jsxDEV)(Jn,{title:`Keyboard shortcuts`,onClose:e,width:520,children:(0,j.jsxDEV)(`div`,{className:`shortcuts`,children:Wr.map(e=>(0,j.jsxDEV)(`section`,{className:`shortcuts__group`,children:[(0,j.jsxDEV)(`h3`,{className:`shortcuts__title`,children:e.title},void 0,!1,{fileName:Ur,lineNumber:52,columnNumber:13},this),e.rows.map(([e,t])=>(0,j.jsxDEV)(`div`,{className:`shortcuts__row`,children:[(0,j.jsxDEV)(`kbd`,{children:e},void 0,!1,{fileName:Ur,lineNumber:55,columnNumber:17},this),(0,j.jsxDEV)(`span`,{children:t},void 0,!1,{fileName:Ur,lineNumber:56,columnNumber:17},this)]},e,!0,{fileName:Ur,lineNumber:54,columnNumber:15},this))]},e.title,!0,{fileName:Ur,lineNumber:51,columnNumber:11},this))},void 0,!1,{fileName:Ur,lineNumber:49,columnNumber:7},this)},void 0,!1,{fileName:Ur,lineNumber:48,columnNumber:5},this)}function Kr(e){if(e===`/`||e===`/sessions`)return{name:`sessions`};let t=e.match(/^\/sessions\/([^/]+)$/);if(t)return{name:`session`,sessionId:decodeURIComponent(t[1])};if(e===`/reviews`)return{name:`reviews`};let n=e.match(/^\/reviews\/([^/]+)$/);return n?{name:`review`,slug:decodeURIComponent(n[1])}:e===`/packages`?{name:`packages`}:{name:`not-found`,path:e}}function qr(e){switch(e.name){case`sessions`:return`/sessions`;case`session`:return`/sessions/${e.sessionId}`;case`reviews`:return`/reviews`;case`review`:return`/reviews/${e.slug}`;case`packages`:return`/packages`;default:return`/`}}function Jr(){let[e,t]=(0,A.useState)(()=>Kr(window.location.pathname));return(0,A.useEffect)(()=>{let e=()=>t(Kr(window.location.pathname));return window.addEventListener(`popstate`,e),()=>window.removeEventListener(`popstate`,e)},[]),{route:e,navigate:(0,A.useCallback)(e=>{let n=qr(e);n!==window.location.pathname&&window.history.pushState({},``,n),t(e)},[]),back:(0,A.useCallback)(()=>window.history.back(),[])}}var F=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/App.tsx`,Yr=`invariant.ui.dashboardView`;function Xr(){try{let e=window.localStorage.getItem(Yr);return e===`board`||e===`tree`?e:`tree`}catch{return`tree`}}function Zr(){let e=_r(),t=Hn(),{route:n,navigate:r}=Jr(),{data:i}=Cn(),{data:a,isLoading:o}=wn(),s=En(),c=kn(),l=Mn(),u=zn(),{data:d}=Pn(),{data:f}=Nn(),[p,m]=(0,A.useState)(Xr),[h,g]=(0,A.useState)(`preview`),[_,v]=(0,A.useState)(``),[y,b]=(0,A.useState)(),[x,ee]=(0,A.useState)(!1),[te,S]=(0,A.useState)(!1),[ne,re]=(0,A.useState)(!1),[ie,C]=(0,A.useState)(!1);(0,A.useEffect)(()=>{try{window.localStorage.setItem(Yr,p)}catch{}},[p]);let w=(0,A.useMemo)(()=>a?.sessions??[],[a]),T=(0,A.useMemo)(()=>{let e=_.trim();return e.length===0?w:w.map(t=>({session:t,score:At(`${t.title} ${t.excerpt} ${t.tags.join(` `)}`,e)})).filter(e=>e.score!==null).sort((e,t)=>t.score-e.score).map(e=>e.session)},[w,_]),ae=(0,A.useMemo)(()=>p===`tree`?pn(T,d?.reviews??[]):T,[p,T,d]),oe=(0,A.useCallback)(e=>{let t=w.find(t=>t.id===e);if(!(!t||!i))return`execute instructions from ${i.sessionsDirectory}/${t.file}`},[w,i]),E=(0,A.useCallback)(()=>{let t=n.name===`session`?n.sessionId:y,r=t?oe(t):void 0;if(!r){e(`No session in focus — open one, or pick one on the board.`,`info`);return}jt(r).then(t=>e(t?`Execute line copied`:`Could not copy`,t?`success`:`danger`))},[n,y,oe,e]),se=(0,A.useCallback)(e=>{b(e),r({name:`session`,sessionId:e})},[r]),ce=(0,A.useCallback)(e=>r({name:`review`,slug:e}),[r]),le=(0,A.useCallback)(t=>{u.mutate(t,{onSuccess:async t=>{re(!1),await jt(t.executeLine),e(t.guidance,`success`),se(t.session.id)},onError:t=>e(t instanceof Error?t.message:`Could not create the review.`,`danger`)})},[u,se,e]),ue=(0,A.useCallback)(e=>le({sessionId:e}),[le]),de=(0,A.useCallback)((t,n)=>{s.mutate({sessionId:t,status:n},{onError:()=>e(`Could not change the status.`,`danger`),onSuccess:t=>{t.status===`executed`&&t.kind!==`review`&&(t.reviewSessionIds.length>0||f&&!f.canReview||e(`Marked done — request a review from the session page.`,`info`))}})},[s,e,f]),fe=(0,A.useCallback)(t=>{c.mutate(t,{onSuccess:async t=>{S(!1),await jt(t.executeLine),e(`Session created — execute line copied`,`success`),g(`edit`),se(t.session.id)},onError:t=>e(t instanceof Error?t.message:`Could not create the session.`,`danger`)})},[c,se,e]),pe=$r({sessions:w,route:n,view:p,project:i?.directory,onOpenSession:se,onChangeStatus:de,onNew:()=>S(!0),onToggleView:()=>m(e=>e===`board`?`tree`:`board`),onSetMode:g,onShortcuts:()=>C(!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`}),onGoToReviews:()=>r({name:`reviews`}),onReviewBranch:()=>re(!0),onCopyExecuteLine:E,onOpenReview:ce,onRequestReview:ue,reviews:d?.reviews??[],canReview:f?.canReview??!1,onStop:async()=>{window.confirm(`Stop this UI server? The page will stop responding.`)&&(await xn.shutdown().catch(()=>void 0),e(`UI stopping…`,`info`))},toast:e});return ti({enabled:!te&&!ie&&!ne,paletteOpen:x,onPalette:()=>ee(e=>!e),onNew:()=>S(!0),onToggleView:()=>m(e=>e===`board`?`tree`:`board`),onShortcuts:()=>C(!0),onCopyExecuteLine:E,onFilter:()=>document.querySelector(`.filter__input`)?.focus(),onTogglePreview:()=>g(e=>e===`edit`?`preview`:`edit`),onSplit:()=>g(`split`),onEscape:()=>{n.name===`session`?r({name:`sessions`}):n.name===`review`&&r({name:`reviews`})},onMove:e=>{if(n.name!==`sessions`||ae.length===0)return;let t=ae.findIndex(e=>e.id===y),r=t===-1?0:Math.min(Math.max(t+e,0),ae.length-1);b(ae[r].id)},onOpenFocused:()=>{n.name===`sessions`&&y&&se(y)},onStatusDigit:e=>{let t=Wt[e],r=n.name===`session`?n.sessionId:y;t&&r&&de(r,t)},isSessionRoute:n.name===`session`}),(0,j.jsxDEV)(`div`,{className:`app`,children:[(0,j.jsxDEV)(Ct,{route:n,onNavigate:r,onOpenPalette:()=>ee(!0),live:t},void 0,!1,{fileName:F,lineNumber:266,columnNumber:7},this),(0,j.jsxDEV)(`main`,{className:`main`,children:n.name===`session`?(0,j.jsxDEV)(Ar,{sessionId:n.sessionId,mode:h,onModeChange:g,onBack:()=>r({name:`sessions`}),onArchived:()=>r({name:`sessions`}),onOpenSession:se},void 0,!1,{fileName:F,lineNumber:270,columnNumber:11},this):n.name===`reviews`?(0,j.jsxDEV)(Nr,{onOpen:ce,onOpenSession:se,onReviewBranch:()=>re(!0)},void 0,!1,{fileName:F,lineNumber:279,columnNumber:11},this):n.name===`review`?(0,j.jsxDEV)(Ir,{slug:n.slug,onBack:()=>r({name:`reviews`}),onOpenSession:se},void 0,!1,{fileName:F,lineNumber:285,columnNumber:11},this):n.name===`packages`?(0,j.jsxDEV)(`div`,{className:`page-state`,children:`Packages management is coming soon.`},void 0,!1,{fileName:F,lineNumber:291,columnNumber:11},this):(0,j.jsxDEV)(j.Fragment,{children:[(0,j.jsxDEV)(`header`,{className:`topbar`,children:[(0,j.jsxDEV)(`div`,{className:`topbar__identity`,children:[(0,j.jsxDEV)(`h1`,{className:`topbar__title`,children:i?.name??`Sessions`},void 0,!1,{fileName:F,lineNumber:296,columnNumber:17},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`topbar__path`,title:i?`${i.directory} — click to copy`:void 0,onClick:async()=>{i&&e(await jt(i.directory)?`Path copied`:`Could not copy`,`success`)},children:i?Mt(i.directory):``},void 0,!1,{fileName:F,lineNumber:297,columnNumber:17},this)]},void 0,!0,{fileName:F,lineNumber:295,columnNumber:15},this),(0,j.jsxDEV)(`div`,{className:`topbar__controls`,children:[(0,j.jsxDEV)(`div`,{className:`topbar__counts`,children:Ht.map(e=>(0,j.jsxDEV)(`span`,{className:`count count--${e}`,title:Ut[e],children:[(0,j.jsxDEV)(`span`,{className:`count__value`,children:a?.counts[e]??0},void 0,!1,{fileName:F,lineNumber:315,columnNumber:23},this),(0,j.jsxDEV)(`span`,{className:`count__label`,children:Ut[e]},void 0,!1,{fileName:F,lineNumber:316,columnNumber:23},this)]},e,!0,{fileName:F,lineNumber:314,columnNumber:21},this))},void 0,!1,{fileName:F,lineNumber:312,columnNumber:17},this),(0,j.jsxDEV)(`div`,{className:`filter`,children:(0,j.jsxDEV)(`input`,{className:`filter__input`,value:_,placeholder:`Filter… /`,onChange:e=>v(e.target.value),onKeyDown:e=>{e.key===`Escape`&&(v(``),e.currentTarget.blur())},"aria-label":`Filter sessions`},void 0,!1,{fileName:F,lineNumber:322,columnNumber:19},this)},void 0,!1,{fileName:F,lineNumber:321,columnNumber:17},this),(0,j.jsxDEV)(`div`,{className:`segmented`,role:`tablist`,"aria-label":`Layout`,children:[`tree`,`board`].map(e=>(0,j.jsxDEV)(`button`,{type:`button`,role:`tab`,"aria-selected":p===e,className:`segmented__item${p===e?` is-active`:``}`,onClick:()=>m(e),children:e===`board`?`Board`:`Tree`},e,!1,{fileName:F,lineNumber:334,columnNumber:21},this))},void 0,!1,{fileName:F,lineNumber:332,columnNumber:17},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:()=>S(!0),children:`New session`},void 0,!1,{fileName:F,lineNumber:347,columnNumber:17},this)]},void 0,!0,{fileName:F,lineNumber:311,columnNumber:15},this)]},void 0,!0,{fileName:F,lineNumber:294,columnNumber:13},this),a&&a.needingMigration>0&&(0,j.jsxDEV)(`div`,{className:`banner banner--warning`,children:[(0,j.jsxDEV)(`div`,{className:`banner__text`,children:[(0,j.jsxDEV)(`strong`,{children:[a.needingMigration,` session(s)`]},void 0,!0,{fileName:F,lineNumber:356,columnNumber:19},this),` have no canonical `,(0,j.jsxDEV)(`code`,{children:`<session-meta>`},void 0,!1,{fileName:F,lineNumber:356,columnNumber:89},this),` header.`]},void 0,!0,{fileName:F,lineNumber:355,columnNumber:17},this),(0,j.jsxDEV)(`div`,{className:`banner__actions`,children:(0,j.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:F,lineNumber:359,columnNumber:19},this)},void 0,!1,{fileName:F,lineNumber:358,columnNumber:17},this)]},void 0,!0,{fileName:F,lineNumber:354,columnNumber:15},this),o?(0,j.jsxDEV)(`div`,{className:`page-state`,children:`Loading sessions…`},void 0,!1,{fileName:F,lineNumber:376,columnNumber:15},this):w.length===0?(0,j.jsxDEV)(Qr,{onNew:()=>S(!0)},void 0,!1,{fileName:F,lineNumber:378,columnNumber:15},this):(0,j.jsxDEV)(un,{sessions:T,allSessions:w,reviews:d?.reviews??[],view:p,filter:_,focusedId:y,onFocus:b,onOpen:se,onStatusChange:de,onNew:()=>S(!0),onRefuseDrop:t=>e(t,`info`)},void 0,!1,{fileName:F,lineNumber:380,columnNumber:15},this)]},void 0,!0,{fileName:F,lineNumber:293,columnNumber:11},this)},void 0,!1,{fileName:F,lineNumber:268,columnNumber:7},this),x&&(0,j.jsxDEV)(Hr,{actions:pe,onClose:()=>ee(!1)},void 0,!1,{fileName:F,lineNumber:398,columnNumber:23},this),te&&(0,j.jsxDEV)(Mr,{busy:c.isPending,onClose:()=>S(!1),onSubmit:fe},void 0,!1,{fileName:F,lineNumber:400,columnNumber:9},this),ne&&(0,j.jsxDEV)(zr,{busy:u.isPending,onClose:()=>re(!1),onSubmit:({base:e})=>le({standalone:!0,base:e})},void 0,!1,{fileName:F,lineNumber:403,columnNumber:9},this),ie&&(0,j.jsxDEV)(Gr,{onClose:()=>C(!1)},void 0,!1,{fileName:F,lineNumber:409,columnNumber:25},this)]},void 0,!0,{fileName:F,lineNumber:265,columnNumber:5},this)}function Qr({onNew:e}){return(0,j.jsxDEV)(`div`,{className:`empty`,children:[(0,j.jsxDEV)(`h2`,{className:`empty__title`,children:`No sessions yet`},void 0,!1,{fileName:F,lineNumber:417,columnNumber:7},this),(0,j.jsxDEV)(`p`,{className:`empty__text`,children:[`A session is a markdown file in `,(0,j.jsxDEV)(`code`,{children:`.invariant/sessions`},void 0,!1,{fileName:F,lineNumber:419,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:F,lineNumber:418,columnNumber:7},this),(0,j.jsxDEV)(`button`,{type:`button`,className:`button button--solid`,onClick:e,children:`New session`},void 0,!1,{fileName:F,lineNumber:422,columnNumber:7},this)]},void 0,!0,{fileName:F,lineNumber:416,columnNumber:5},this)}function $r(e){return(0,A.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`?`tree`:`board`} view`,shortcut:`⌘B`,run:e.onToggleView},{id:`go-sessions`,group:`Actions`,title:`Go to sessions`,keywords:`dashboard home`,run:e.onGoToSessions},{id:`go-reviews`,group:`Actions`,title:`Go to reviews`,keywords:`review comments triage`,run:e.onGoToReviews},{id:`review-branch`,group:`Actions`,title:`Review a branch…`,hint:`Tied to no session`,keywords:`standalone review branch diff someone else`,run:e.onReviewBranch},{id:`copy-execute-line`,group:`Actions`,title:`Copy the execute line`,shortcut:`⇧⌘R`,keywords:`paste agent run session`,run:e.onCopyExecuteLine},{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 jt(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`)}),n.kind===`plan`&&n.status===`executed`&&e.canReview&&r.push({id:`request-review`,group:`This session`,title:`Request review`,keywords:`diff branch code review`,run:()=>e.onRequestReview(n.id)}),n.reviewFile&&r.push({id:`open-review-file`,group:`This session`,title:`Open the review document`,hint:n.reviewFile,run:()=>e.onOpenReview(Zt(n.reviewFile))});for(let t of Wt)t!==n.status&&r.push({id:`status-${t}`,group:`This session`,title:`Set status: ${Ft({kind:n.kind,status:t}).label}`,status:t,run:()=>e.onChangeStatus(n.id,t)});n.status===`review`&&r.push({id:`status-locked`,group:`This session`,title:`Why can I not change this status?`,hint:Gt,keywords:`review status locked triage`,run:()=>e.toast(Gt,`info`)})}for(let t of e.reviews)r.push({id:`open-review-${t.slug}`,group:`Go to review`,title:t.branch,hint:t.counts.open>0?`${t.counts.open} awaiting triage`:`${t.counts.staged} staged`,keywords:`${t.path} review comments`,run:()=>e.onOpenReview(t.slug)});for(let t of e.sessions){let n=Ft(t,rn(t,e.reviews));r.push({id:`open-${t.id}`,group:t.kind===`review`?`Go to review session`:`Go to session`,title:t.title,hint:t.kind===`review`?`${n.label} · ${t.branch??``}`.trim():n.label,status:t.status,keywords:`${t.excerpt} ${t.tags.join(` `)} ${t.branch??``}`,run:()=>e.onOpenSession(t.id)})}return r},[e])}function ei(e){let t=e;return t?t.tagName===`INPUT`||t.tagName===`TEXTAREA`||t.isContentEditable||t.closest(`.cm-editor`)!==null:!1}function ti(e){(0,A.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(n&&t.shiftKey&&t.key.toLowerCase()===`r`){t.preventDefault(),e.onCopyExecuteLine();return}if(!(!e.enabled||e.paletteOpen)){if(n&&t.key.toLowerCase()===`b`){t.preventDefault(),e.onToggleView();return}if(t.key===`Escape`&&!ei(t.target)){e.onEscape();return}if(!ei(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 ni=`/Users/yann/dev/invariant-guru/invariant-cli/apps/cli/ui/src/main.tsx`,ri=new Xe({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1,staleTime:5e3}}});(0,bt.createRoot)(document.getElementById(`root`)).render((0,j.jsxDEV)(A.StrictMode,{children:(0,j.jsxDEV)(nt,{client:ri,children:(0,j.jsxDEV)(yr,{children:(0,j.jsxDEV)(Zr,{},void 0,!1,{fileName:ni,lineNumber:26,columnNumber:9},void 0)},void 0,!1,{fileName:ni,lineNumber:25,columnNumber:7},void 0)},void 0,!1,{fileName:ni,lineNumber:24,columnNumber:5},void 0)},void 0,!1,{fileName:ni,lineNumber:23,columnNumber:3},void 0));export{d as a,l as c,yt as i,lr as n,o,cr as r,s,ur as t};
|